:root {
  color-scheme: light;
  --red: #c8002f;
  --red-dark: #9d0026;
  --blue: #103d69;
  --ink: #17243a;
  --muted: #647086;
  --line: #dce2e8;
  --surface: #f4f6f8;
  --white: #ffffff;
  --green: #16794a;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
}

.topbar {
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(110deg, var(--red-dark), var(--red));
  color: var(--white);
  box-shadow: 0 6px 22px rgba(112, 0, 28, .2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: .03em;
}

.brand-mark { font-size: 32px; line-height: 1; }
.brand strong, .brand b { display: block; line-height: .95; }
.brand strong { font-size: 22px; }
.brand b { font-size: 13px; color: #dceeff; }
.official { font-size: 13px; opacity: .9; }

main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.hero { padding: 76px 0 40px; max-width: 780px; }
.eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 { margin: 10px 0 18px; font-size: clamp(40px, 7vw, 72px); line-height: .98; letter-spacing: -.045em; }
.hero p { color: var(--muted); font-size: clamp(17px, 2.3vw, 21px); line-height: 1.55; }

.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: #fff8e5;
  border: 1px solid #f0d890;
  border-radius: 16px;
}

.notice-dot { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: #d28b00; box-shadow: 0 0 0 5px rgba(210,139,0,.14); }
.notice p { margin: 4px 0 0; color: #6f5b27; line-height: 1.45; }

.downloads { padding: 54px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading h2 { margin: 7px 0 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.03em; }
.updated { color: var(--muted); font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.card {
  min-height: 270px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(16,61,105,.06);
}

.platform-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #f8e5ea; color: var(--red); font-weight: 900; font-size: 24px; }
.platform-icon.windows { background: #e7f1fa; color: var(--blue); }
.platform-icon.android { background: #e6f5ed; color: var(--green); }
.card-copy { flex: 1; padding: 20px 0; }
.card h3 { margin-bottom: 8px; font-size: 24px; }
.card p { color: var(--muted); line-height: 1.5; }
.status { display: inline-flex; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status.pending { background: #fff2ce; color: #845d00; }
.status.review { background: #e9eff8; color: var(--blue); }

.button {
  width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: var(--red);
  color: var(--white);
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease;
}
.button:hover { background: var(--red-dark); transform: translateY(-1px); }
.button.disabled { background: #e6e9ed; color: #7c8491; cursor: not-allowed; }

.security { margin-bottom: 56px; padding: 28px; background: var(--blue); color: var(--white); border-radius: 20px; }
.security h2 { margin-bottom: 8px; }
.security p { max-width: 760px; margin-bottom: 0; color: #dce9f5; line-height: 1.55; }

footer {
  min-height: 82px;
  padding: 22px max(16px, calc((100vw - 1120px) / 2));
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 720px) {
  .official { display: none; }
  .hero { padding-top: 54px; }
  .grid { grid-template-columns: 1fr; }
  .section-heading, footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
