/* USNEXT — america.gov design language: white paper, navy ink, serif display, quiet sans. */
:root {
  --ink: #000c1f;
  --ink-2: #344054;
  --muted: #667085;
  --line: rgba(0, 12, 31, 0.1);
  --paper: #ffffff;
  --mist: #f3f4f6;
  --navy: #0a2b5c;
  --navy-hover: #123a75;
  --serif: "Newsreader", "Times New Roman", Times, serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 30; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Serif display — tight tracking mirrors america.gov's Rhymes headlines */
h2, .hero-title, .statement-text, .feature h3, .rows h3, .ally h3, .day h3, .sponsor-cta h3, .launch h4 {
  font-family: var(--serif);
  font-weight: 400;
}
h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.03em; }
.section-dek { margin-top: 12px; max-width: 34em; color: var(--muted); font-size: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px;
  border: 0; border-radius: 999px;
  font: 500 16px/1 var(--sans);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease-out;
}
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); }
.btn-quiet { background: var(--mist); color: var(--ink); }
.btn-quiet:hover { background: #e7e9ed; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e7e9ed; }
.btn[disabled] { opacity: .6; cursor: default; }

/* Concept strip */
.concept-strip { text-align: center; font-size: 12px; color: var(--muted); padding: 8px 16px; }

/* Shell — america.gov's rounded hero card */
.shell {
  position: relative;
  margin: 0 16px;
  border-radius: var(--r-xl);
  background: var(--mist);
  padding-bottom: clamp(16px, 3vw, 32px);
}
.site-header { display: flex; align-items: center; gap: 24px; padding: 20px clamp(20px, 3vw, 32px); }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--serif); font-size: 22px;
}
.logo-flag { border-radius: 2px; box-shadow: 0 0 0 .5px rgba(0, 12, 31, .15); }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.menu-btn { display: none; }
.menu {
  position: absolute; z-index: 20; top: 72px; left: 12px; right: 12px;
  background: #fff; border-radius: var(--r-lg);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1), 0 0 0 1px var(--line);
  padding: 8px;
}
.menu a { display: block; padding: 14px 16px; border-radius: 12px; text-decoration: none; font-size: 17px; }
.menu a:hover { background: var(--mist); }
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
}

/* Hero */
.hero { text-align: center; padding: clamp(40px, 7vw, 88px) var(--gutter) 0; }
.hero-title { font-size: clamp(52px, 9vw, 116px); line-height: .98; letter-spacing: -0.04em; }
.hero-dek { max-width: 32em; margin: 24px auto 0; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px; }
.hero-media {
  position: relative;
  max-width: 1120px; margin: clamp(40px, 6vw, 64px) auto 0;
  border-radius: var(--r-lg); overflow: hidden;
  background: #0b1220;
}
.hero-media img { width: 100%; aspect-ratio: 1344 / 752; object-fit: cover; }
.countdown {
  position: absolute; left: 50%; bottom: clamp(12px, 3vw, 24px); transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 24px);
  padding: 12px 22px 10px;
  border-radius: var(--r-md);
  background: #fff;
  text-align: center;
}
.countdown-label { font-size: 12px; color: var(--muted); }
.countdown-units { display: flex; gap: clamp(14px, 3vw, 28px); justify-content: center; margin-top: 2px; }
.countdown-units div { display: flex; flex-direction: column; align-items: center; min-width: 2.4em; }
.countdown-units span { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); line-height: 1.05; font-variant-numeric: tabular-nums; }
.countdown-units small { font-size: 11px; color: var(--muted); }
.countdown.is-live .countdown-units { display: none; }
@media (max-width: 560px) {
  .hero-media { border-radius: var(--r-md); }
  .hero-media img { aspect-ratio: 4 / 3.4; }
  .countdown { padding: 10px 14px 8px; }
}

/* Statement — america.gov word reveal, opacity only */
.statement { max-width: 1000px; margin: 0 auto; padding: clamp(96px, 13vw, 168px) var(--gutter) 0; }
.statement-text { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.1; letter-spacing: -0.03em; text-align: center; }
.js .statement-text .w { opacity: .18; transition: opacity .2s ease-out; }
.js .statement-text .w.on { opacity: 1; }

/* Sections */
.section { padding-top: clamp(96px, 12vw, 152px); }
.section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.wide-media { border-radius: var(--r-lg); overflow: hidden; background: #0b1220; }
.wide-media img { width: 100%; aspect-ratio: 1344 / 576; object-fit: cover; }
@media (max-width: 560px) { .wide-media img { aspect-ratio: 4 / 3; } }

/* Launches */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature-copy { padding: 24px 28px 28px; }
.feature h3 { font-size: clamp(28px, 3vw, 34px); line-height: 1.1; letter-spacing: -0.02em; }
.feature p { margin-top: 8px; color: var(--ink-2); max-width: 28em; }
@media (max-width: 800px) { .feature-grid { grid-template-columns: 1fr; } }

.launch-group { margin-top: clamp(56px, 7vw, 80px); }
.group-title { font-size: 15px; font-weight: 500; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.group-title--spaced { margin-top: 56px; margin-bottom: 20px; }
.launch-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.launch { padding: 20px 24px 0 0; }
.launch + .launch { padding-left: 24px; border-left: 1px solid var(--line); }
.launch h4 { font-size: 24px; line-height: 1.15; letter-spacing: -0.015em; }
.launch p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) {
  .launch-grid { grid-template-columns: 1fr 1fr; }
  .launch:nth-child(3) { padding-left: 0; border-left: 0; }
  .launch:nth-child(n+3) { margin-top: 20px; border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .launch-grid { grid-template-columns: 1fr; }
  .launch, .launch + .launch { padding: 16px 0; margin-top: 0; border-left: 0; }
  .launch + .launch { border-top: 1px solid var(--line); }
}

/* Speakers */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); background: var(--mist); }
.person h3 { margin-top: 14px; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; letter-spacing: -0.015em; }
.person p { margin-top: 4px; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .people { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } }

/* Allies */
.ally-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.ally { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--line); }
.ally:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.flag { width: 36px; height: 24px; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }
.ally h3 { margin-top: 16px; font-size: 26px; letter-spacing: -0.015em; }
.ally p { margin-top: 4px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 800px) {
  .ally-grid { grid-template-columns: 1fr 1fr; }
  .ally, .ally:not(:nth-child(3n+1)) { padding: 20px 16px 24px 0; border-left: 0; }
  .ally:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .ally-grid { grid-template-columns: 1fr; }
  .ally:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* Sponsors */
.sponsor-wall { display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(32px, 5vw, 64px); row-gap: 32px; }
.sponsor-wall img { height: var(--h, 24px); width: auto; filter: brightness(0); opacity: .62; }
@media (max-width: 560px) { .sponsor-wall img { height: calc(var(--h, 24px) * .8); } }
.sponsor-cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
  margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line);
}
.sponsor-cta h3 { font-size: clamp(28px, 3vw, 34px); line-height: 1.1; letter-spacing: -0.02em; }
.inline-form { display: grid; gap: 10px; }
.inline-form .btn { justify-self: start; }
@media (max-width: 800px) { .sponsor-cta { grid-template-columns: 1fr; gap: 20px; } }

input[type="email"], input[type="text"] {
  width: 100%; height: 48px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font: 16px var(--sans); color: var(--ink);
}
input::placeholder { color: #98a2b3; }
input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10, 43, 92, .12); }
input[aria-invalid="true"] { border-color: #b42318; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink-2); padding: 4px 2px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); margin: 0; }
.form-msg { min-height: 1.5em; font-size: 15px; color: var(--ink-2); }
.form-msg.is-error { color: #b42318; }

/* Agenda — hairline columns */
.agenda { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
.day h3 { font-size: 26px; letter-spacing: -0.015em; padding-bottom: 12px; }
.day li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; }
.day time { color: var(--muted); font-variant-numeric: tabular-nums; }
.day li em { display: block; font-style: normal; font-size: 14px; color: var(--muted); margin-top: 2px; }
.day li.hl span { font-weight: 500; }
@media (max-width: 900px) { .agenda { grid-template-columns: 1fr; row-gap: 40px; } }

/* Notify */
.notify { padding: clamp(96px, 12vw, 152px) 16px 0; }
.notify-card {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) var(--gutter);
  border-radius: var(--r-xl);
  background: var(--navy);
  color: #fff; text-align: center;
}
.notify-dek { margin-top: 12px; color: rgba(255, 255, 255, .75); font-size: 18px; }
.notify-form { max-width: 480px; margin: 32px auto 0; }
.field-row { display: flex; gap: 8px; }
.field-row input { flex: 1; border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 0; padding: 0; border: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  font-size: 14px; color: rgba(255, 255, 255, .8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.chips input:checked + span { background: #fff; color: var(--ink); box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.notify-form .form-msg { margin-top: 16px; color: rgba(255, 255, 255, .85); }
.notify-form .form-msg.is-error { color: #fecdca; }
@media (max-width: 480px) { .field-row { flex-direction: column; } }

/* Footer */
.site-footer { padding: 64px 0 40px; }
.footer-inner { display: grid; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.footer-links a { text-decoration: none; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
.footer-note { max-width: 46em; font-size: 13px; color: var(--muted); }

/* Stage photography */
.wide-media--photo { margin-bottom: 32px; }
.wide-media--photo img { aspect-ratio: 16 / 8; }
@media (max-width: 560px) { .wide-media--photo img { aspect-ratio: 4 / 3; } }
.feature-grid { row-gap: 16px; }
.feature-grid--spaced { margin-top: 24px; }
.launch-grid--2 { grid-template-columns: 1fr 1fr; margin-top: 8px; }
.launch-grid--2 .launch:nth-child(n) { margin-top: 0; border-top: 0; }
.launch-grid--2 .launch:nth-child(2) { padding-left: 24px; border-left: 1px solid var(--line); }
@media (max-width: 520px) {
  .launch-grid--2 { grid-template-columns: 1fr; }
  .launch-grid--2 .launch:nth-child(2) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
.notify-card { padding: 0; overflow: hidden; }
.notify-media img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.notify-body { padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(48px, 7vw, 88px); }
@media (max-width: 560px) { .notify-media img { aspect-ratio: 4 / 3; } }

/* Perks — Airbnb-style offer cards */
.perk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.perk {
  display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 16px;
  padding: 16px 20px 16px 16px;
  border-radius: var(--r-lg); background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 6px 16px rgb(0 0 0 / .08);
}
.perk img { width: 72px; height: 72px; object-fit: contain; }
.perk p { font-size: 17px; text-wrap: balance; font-weight: 500; line-height: 1.3; color: var(--ink); }
.pill {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
  border-radius: 999px; background: var(--mist); color: var(--ink);
  font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease-out;
}
.pill:hover { background: #e7e9ed; }
@media (max-width: 700px) { .perk-grid { grid-template-columns: 1fr; } }
@media (max-width: 400px) {
  .perk { grid-template-columns: 56px 1fr; }
  .perk img { width: 56px; height: 56px; }
  .perk .pill { grid-column: 2; justify-self: start; }
}

.perk img { mix-blend-mode: multiply; }
