:root {
  --ink: #21233a;
  --ink-soft: #55586e;
  --sky-top: #5ab8ff;
  --sky-bottom: #a0dcff;
  --paper: #fffaf0;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-edge: rgba(255, 255, 255, 0.8);
  --flags: #00a3a8;
  --states: #fa7833;
  --capitals: #7d54ed;
  --gold: #ffc22e;
  --radius: 32px;
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f4f5fb; --ink-soft: #c3c6d8; --sky-top: #102a55; --sky-bottom: #1d4e86;
    --paper: #12142a; --glass: rgba(255, 255, 255, 0.12); --glass-edge: rgba(255, 255, 255, 0.25);
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.sky { position: relative; overflow: hidden; background: linear-gradient(var(--sky-top), var(--sky-bottom)); padding-bottom: 72px; }
.clouds span { position: absolute; width: 180px; height: 60px; background: rgba(255,255,255,.4); border-radius: 60px; z-index: 0; animation: drift 18s ease-in-out infinite alternate; }
.clouds span::before { content: ""; position: absolute; width: 90px; height: 90px; left: 30px; top: -40px; background: inherit; border-radius: 50%; }
.clouds span:nth-child(1) { top: 90px; left: 6%; }
.clouds span:nth-child(2) { top: 260px; right: 8%; transform: scale(1.3); animation-duration: 24s; }
.clouds span:nth-child(3) { top: 420px; left: 30%; transform: scale(.8); animation-duration: 21s; }
@keyframes drift { from { translate: -30px 0; } to { translate: 40px 0; } }

.nav { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding-top: 20px; }
.logo { font-weight: 900; font-size: 28px; color: #fff; text-decoration: none; text-shadow: 0 3px 8px rgba(0,0,0,.15); }
.pill, .soon, .card, .how .grid > div, .promise li {
  background: var(--glass); border: 1px solid var(--glass-edge);
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
}
.pill { padding: 8px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }

.hero { position: relative; z-index: 1; text-align: center; padding-top: 40px; }
.globe { font-size: 112px; line-height: 1; animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-6deg); } }
h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; font-weight: 900; color: #fff; margin: 16px 0; text-shadow: 0 4px 12px rgba(0,0,0,.15); }
.lead { font-size: clamp(18px, 2.4vw, 22px); color: #fff; max-width: 640px; margin: 0 auto; font-weight: 600; }
.badge-row { margin: 28px 0 0; }
.soon { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 800; font-size: 18px; }
.promise { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.promise li { padding: 8px 16px; border-radius: 999px; font-weight: 800; }
.promise li::before { content: "✓ "; color: #19a85b; }

.lands { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: -44px; position: relative; }
.card { border-radius: var(--radius); padding: 20px; box-shadow: 0 12px 30px rgba(0,0,0,.08); background: var(--paper); }
.card .art { height: 140px; border-radius: 24px; display: grid; place-items: center; font-size: 48px; }
.flags .art { background: linear-gradient(#00a3a8cc, #ff736b88); }
.states .art { background: linear-gradient(#fa7833cc, #84b07888); }
.capitals .art { background: linear-gradient(#7d54edcc, #fac23d88); }
.card h2 { margin: 16px 0 4px; font-size: 26px; font-weight: 900; }
.card p { margin: 0; color: var(--ink-soft); font-weight: 600; }

.how { padding: 72px 20px 24px; }
.how h2, .promise-block h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; text-align: center; margin: 0 0 28px; }
.how .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.how .grid > div { border-radius: 24px; padding: 20px; background: color-mix(in srgb, var(--sky-bottom) 18%, var(--paper)); }
.how h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.how p { margin: 0; color: var(--ink-soft); }

.promise-block { text-align: center; padding: 56px 20px; }
.promise-block p { max-width: 640px; margin: 0 auto; font-size: 19px; color: var(--ink-soft); }

.doc { max-width: 760px; padding: 40px 20px 60px; }
.doc h1 { color: var(--ink); text-shadow: none; font-size: 40px; }
.doc h2 { margin-top: 32px; }
.foot { padding: 32px 20px 48px; color: var(--ink-soft); text-align: center; }

@media (prefers-reduced-motion: reduce) { .globe, .clouds span { animation: none; } }
