@font-face { font-family: "Geist"; src: url(fonts/geist-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; src: url(fonts/geist-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #fbfaf9;
  --surface: #ffffff;
  --ink: #32292f;
  --muted: #776d73;
  --line: #ebe7e9;
  --soft: #f3f0f1;
  --accent: #99e1d9;
  --accent-ink: #1f4a45;
  --chip-bg: #eef7f6;
  --chip-ink: #2c5c56;
  --shadow-sm: 0 1px 2px rgba(50, 41, 47, .06);
  --shadow: 0 1px 2px rgba(50, 41, 47, .06), 0 10px 30px rgba(50, 41, 47, .08);
  --shadow-lg: 0 2px 4px rgba(50, 41, 47, .05), 0 30px 70px rgba(50, 41, 47, .16);
  --r-xl: 28px; --r-lg: 20px; --r-md: 14px; --r-sm: 9px;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #1f1a1d;
  --surface: #2b2428;
  --ink: #e8ede8;
  --muted: #a69ba1;
  --line: #3d3439;
  --soft: #342c31;
  --accent: #86cfc7;
  --accent-ink: #12302c;
  --chip-bg: #2b3d3b;
  --chip-ink: #bfe9e3;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .3);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 30px 70px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; transition: background .25s var(--ease), color .25s var(--ease); }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: clamp(30px, 4vw, 46px); max-width: 18ch; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
section { padding: 112px 0; }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }
.sec-head p { color: var(--muted); font-size: 18px; max-width: 54ch; }

/* Buttons: one solid per decision, hover is a real shade change */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: background .15s var(--ease), transform .15s var(--ease), border-color .15s; }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn.solid { background: var(--ink); color: var(--bg); }
.btn.solid:hover { background: color-mix(in srgb, var(--ink) 84%, var(--accent)); }
.btn.solid:active { transform: translateY(1px); background: color-mix(in srgb, var(--ink) 92%, #000); }
.btn.ghost { border: 1px solid var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); background: var(--surface); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { height: 68px; display: flex; align-items: center; gap: 22px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; letter-spacing: -.015em; text-decoration: none; }
.mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.mark svg { width: 19px; height: 19px; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .15s; }
.links a:hover { color: var(--ink); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.icon-btn:hover { background: var(--surface); }
.icon-btn svg { width: 18px; height: 18px; grid-area: 1 / 1; transition: opacity .2s, transform .3s var(--ease); }
:root[data-theme="light"] .icon-btn .sun, :root[data-theme="dark"] .icon-btn .moon { opacity: 0; transform: rotate(-40deg) scale(.6); }

/* Hero */
.hero { padding: 72px 0 96px; overflow: clip; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
h1 { font-size: clamp(42px, 5.8vw, 74px); letter-spacing: -.04em; line-height: 1.0; max-width: 11ch; }
h1 span { color: var(--muted); }
.lede { margin-top: 24px; font-size: 19px; color: var(--muted); max-width: 46ch; }
.lede b { color: var(--ink); font-weight: 600; }
.lede .mine { background: var(--chip-bg); color: var(--chip-ink); padding: 1px 7px; border-radius: 7px; white-space: nowrap; }
.cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.fine { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* 3D scene */
.scene { perspective: 1500px; height: 520px; position: relative; }
.stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(9deg + var(--rx, 0deg))) rotateY(calc(-17deg + var(--ry, 0deg))); transition: transform .7s var(--ease); }
.win { position: absolute; left: 6%; top: 9%; width: 86%; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; transform: translateZ(0); }
.win-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 16%, transparent); }
.win-bar .url { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; margin-left: 14px; font-size: 12.5px; color: var(--muted); background: var(--surface); padding: 4px 14px; border-radius: 999px; }
.win-body { padding: 26px 28px 30px; }
.w-kicker { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.w-title { font-size: 25px; font-weight: 650; letter-spacing: -.02em; margin-bottom: 16px; }
.w-text { font-size: 15.5px; line-height: 1.75; color: color-mix(in srgb, var(--ink) 86%, transparent); margin-bottom: 10px; }
.w-text b { font-weight: 600; color: var(--ink); }
.w-line { height: 9px; border-radius: 6px; background: var(--soft); margin-top: 18px; }
.w-line.short { width: 62%; margin-top: 10px; }

.chip { font-style: normal; display: inline-block; font-size: .86em; font-weight: 550; padding: 0 8px; margin-left: 6px; border-radius: 8px; background: var(--chip-bg); color: var(--chip-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--chip-ink) 14%, transparent); white-space: nowrap; transform-origin: left center; animation: pop 9s var(--ease) infinite both; }
.chip.c1 { animation-delay: .6s; } .chip.c2 { animation-delay: 1.1s; } .chip.c3 { animation-delay: 1.6s; } .chip.c4 { animation-delay: 2.1s; }
@keyframes pop {
  0% { opacity: 0; transform: scale(.55) translateY(4px); }
  5% { opacity: 1; transform: scale(1.06); }
  8%, 86% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: scale(.8); }
}

.float { position: absolute; display: flex; flex-direction: column; gap: 1px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 12px 16px 13px; min-width: 176px; animation: drift 7s ease-in-out infinite; }
.fh { font-size: 11.5px; color: var(--muted); }
.fv { font-size: 22px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fd { font-size: 12.5px; color: var(--muted); }
.f1 { --z: 150px; right: -2%; top: 0; animation-delay: -1s; }
.f2 { --z: 110px; left: -4%; bottom: 14%; animation-delay: -3s; }
.f3 { --z: 190px; right: 4%; bottom: 2%; animation-delay: -5s; }
.f1::before, .f2::before, .f3::before { content: ""; position: absolute; left: 16px; top: -1px; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); }
@keyframes drift {
  0%, 100% { transform: translateZ(var(--z)) translateY(0); }
  50% { transform: translateZ(var(--z)) translateY(-10px); }
}

/* Live demo */
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: hidden; }
.demo-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pill { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 6px 13px; font: inherit; font-size: 13.5px; cursor: pointer; transition: border-color .15s, background .15s; }
.pill:hover { border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.demo-edit { display: block; border-top: 1px solid var(--line); padding: 14px 20px 18px; background: var(--bg); }
.demo-edit span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.demo-edit textarea { width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: 15px/1.6 var(--font); padding: 10px 12px; outline: none; transition: border-color .15s; }
.demo-edit textarea:focus { border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.demo-out { padding: 28px 30px 32px; font-size: 19px; line-height: 2.05; white-space: pre-wrap; outline: none; min-height: 180px; }
.demo-out .chip { animation: none; font-size: .82em; user-select: none; }
.demo-out .chip.new { animation: in .35s var(--ease) both; }
@keyframes in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.demo-hint { padding: 0 30px 22px; font-size: 13.5px; color: var(--muted); }

/* Globe */
.globe-sec { padding-top: 40px; }
.globe-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.globe-copy p { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 46ch; }
.cities { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 24px; max-width: 460px; }
.cities li { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; cursor: default; transition: color .15s; }
.cities li span { color: var(--muted); }
.cities li b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cities li.you b { color: var(--chip-ink); background: var(--chip-bg); padding: 0 7px; border-radius: 6px; }
.cities li.hot span { color: var(--ink); }
.globe-wrap { display: grid; place-items: center; }
#globe { width: min(100%, 560px); aspect-ratio: 1; cursor: grab; touch-action: none; }
#globe:active { cursor: grabbing; }

/* Bento: one big tile, two smaller ones */
.bento > * { min-width: 0; }
.bento { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px 28px; box-shadow: var(--shadow-sm); }
.tile.big { grid-row: span 2; display: flex; flex-direction: column; }
.t-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.t-head h3 { font-size: 24px; }
.t-note { font-size: 13.5px; color: var(--muted); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 16.5px; }
.tile.big .rows li { padding: 18px 0; font-size: 19px; }
.rows li b { font-weight: 600; background: var(--chip-bg); color: var(--chip-ink); padding: 2px 10px; border-radius: 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-foot { margin-top: auto; padding-top: 18px; color: var(--muted); font-size: 14.5px; }

/* Privacy */
.privacy { background: var(--ink); color: var(--bg); }
:root[data-theme="dark"] .privacy { background: var(--surface); color: var(--ink); }
.priv-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.priv-in h2 { max-width: 16ch; }
.priv-list { display: flex; flex-direction: column; gap: 22px; font-size: 17px; }
.priv-list p { color: color-mix(in srgb, currentColor 72%, transparent); padding-left: 18px; border-left: 2px solid var(--accent); }
.priv-list b { color: inherit; font-weight: 600; filter: brightness(1.2); }

/* Converters */
.conv-list { display: flex; flex-wrap: wrap; gap: 10px; }
.conv-list a { text-decoration: none; border: 1px solid var(--line); background: var(--surface); padding: 10px 16px; border-radius: 999px; font-size: 15px; transition: border-color .15s, transform .15s var(--ease); }
.conv-list a.all { border-color: transparent; background: transparent; color: var(--muted); }
.conv-list a.all:hover { color: var(--ink); }
.conv-list a:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); transform: translateY(-1px); }

/* FAQ */
.faq-in { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; }
.qs details { border-bottom: 1px solid var(--line); }
.qs details:first-child { border-top: 1px solid var(--line); }
.qs summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 600; font-size: 17.5px; position: relative; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.8px solid var(--muted); border-bottom: 1.8px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.qs details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qs p { padding: 0 36px 22px 0; color: var(--muted); max-width: 62ch; }

/* Final CTA */
.final { padding-top: 40px; }
.final-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 52px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; box-shadow: var(--shadow); }
.final-box p { margin-top: 10px; color: var(--muted); font-size: 17px; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* Small screens */
@media (max-width: 960px) {
  .hero-in, .globe-in, .priv-in, .faq-in { grid-template-columns: 1fr; }
  .scene { height: 440px; margin-top: 8px; }
  .bento { grid-template-columns: 1fr; }
  .tile.big { grid-row: auto; }
  section { padding: 80px 0; }
}
@media (max-width: 720px) {
  .links { display: none; }
  .nav-in { gap: 12px; }
  .icon-btn { margin-left: auto; }
  .scene { height: 430px; }
  .stage { transform: rotateX(6deg) rotateY(-8deg) scale(.92); }
  .win { left: 0; width: 100%; top: 13%; }
  .win-body { padding: 20px 20px 22px; }
  .w-title { font-size: 21px; }
  .f2 { display: none; }
  .f1 { right: -3%; top: 0; }
  .f3 { right: -3%; bottom: 0; }
  .tile { padding: 22px 20px; }
  .tile.big .rows li { font-size: 16px; padding: 14px 0; }
  .rows li b { white-space: normal; text-align: right; }
  .cities { grid-template-columns: 1fr; }
  .final-box { padding: 36px 28px; }
  .demo-out { font-size: 17px; padding: 22px 20px 26px; }
}
@media (max-width: 420px) {
  .float { min-width: 0; padding: 10px 12px; }
  .fv { font-size: 18px; }
  .f3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .chip { opacity: 1; }
  html { scroll-behavior: auto; }
}

.btn.soon { cursor: default; opacity: .85; }
.btn.solid.soon:hover { background: var(--ink); }
