@font-face { font-family: Geist; src: url(Geist-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url(Geist-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(GeistMono-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
:root { --page:#0A0B0B; --surface:#141616; --control:#1B1E1E; --track:#242828; --mint:#5FD3A6; --on-mint:#06140F;
  color-scheme: dark; --header:rgba(10,11,11,.82); --mint-hover:#79DDB6; --link-hover:#8FE3C2; --danger:#F2A7A7;
  --text:#EEF0EF; --text2:#A0A6A4; --text3:#8F9793; --line:rgba(255,255,255,.06); }
html[data-theme="light"] { color-scheme: light; --page:#F2F6F3; --surface:#FFFFFF; --control:#E7EEEA; --track:#D9E5DD;
  --mint:#206B4E; --on-mint:#FFFFFF; --mint-hover:#18543D; --link-hover:#134D36; --danger:#9C312E;
  --text:#13271F; --text2:#314F42; --text3:#496557; --line:rgba(19,39,31,.15); --header:rgba(242,246,243,.9); }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--page); color: var(--text); font-family: Geist, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--mint); text-decoration: none; } a:hover { color: var(--link-hover); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header { display: flex; align-items: center; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
header img { width: 30px; height: 30px; border-radius: 7px; }
header .brand { font-weight: 600; font-size: 16px; }
header nav { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 14px; }
header nav a { color: var(--text2); } header nav a:hover { color: var(--text); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 64px 0 40px;
  background: radial-gradient(60% 50% at 70% 30%, rgba(95,211,166,.10), transparent 70%); }
.hero h1 { font-size: 48px; line-height: 1.06; letter-spacing: -.03em; margin: 0; font-weight: 600; text-wrap: balance; }
.hero p { font-size: 18px; line-height: 1.5; color: var(--text2); margin: 18px 0 28px; text-wrap: pretty; }
.hero img { width: 100%; height: auto; display: block; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 16px; font-size: 16px; font-weight: 600; }
.btn.primary { background: var(--mint); color: var(--on-mint); } .btn.primary:hover { background: var(--mint-hover); color: var(--on-mint); }
.btn.quiet { background: var(--control); color: var(--text); } .btn.quiet:hover { background: var(--track); color: var(--text); }
.btn small { font-weight: 400; color: inherit; opacity: .7; font-size: 13px; }
.note { font-size: 13px; color: var(--text3); margin-top: 14px; }
section { padding: 48px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 28px; letter-spacing: -.02em; margin: 0 0 8px; font-weight: 600; }
section .lead { color: var(--text2); font-size: 16px; line-height: 1.5; margin: 0 0 28px; max-width: 640px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card { background: var(--surface); border-radius: 22px; padding: 22px; }
.card .n { font-family: "Geist Mono", monospace; font-size: 12px; color: var(--text2); width: 26px; height: 26px; border-radius: 99px;
  background: var(--track); display: grid; place-items: center; margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.card p { margin: 0; color: var(--text2); font-size: 14px; line-height: 1.5; }
.card code, .mono { font-family: "Geist Mono", monospace; font-size: 13px; color: var(--mint); }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
footer { padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--text3); font-size: 13px; display: flex; gap: 16px; flex-wrap: wrap; }
.doc { max-width: 720px; padding: 48px 0 64px; }
.doc h1 { font-size: 36px; letter-spacing: -.02em; margin: 0 0 8px; }
.doc h2 { font-size: 20px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--text2); font-size: 15px; line-height: 1.6; }
.doc .meta { color: var(--text3); font-size: 13px; }
/* Landing page */
.define { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.define p { margin: 0; color: var(--text2); font-size: 16px; line-height: 1.65; }
.define p strong { color: var(--text); font-weight: 600; }
.keyfacts { list-style: none; margin: 0; padding: 6px 20px; background: var(--surface); border-radius: 22px; }
.keyfacts li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.keyfacts li:last-child { border-bottom: 0; }
.keyfacts b { font-weight: 600; } .keyfacts span { color: var(--text2); }
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: 22px; }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 13px; color: var(--text2); font-weight: 600; letter-spacing: .02em; }
.compare tbody th { color: var(--text2); font-weight: 400; width: 22%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
html { scroll-behavior: smooth; }
header { position: sticky; top: 0; z-index: 10; background: var(--header); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); }
header > .brand + .theme-toggle { margin-left: auto; }
.theme-toggle { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px;
  padding: 0; color: var(--text); background: var(--control); border: 1px solid var(--line); font: 20px/1 system-ui, sans-serif; cursor: pointer; }
.theme-toggle:hover { background: var(--track); }
.theme-toggle:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.theme-toggle[hidden] { display: none; }
header .logo { display: flex; align-items: center; gap: 10px; color: var(--text); }
.btn.sm { height: 38px; padding: 0 16px; border-radius: 12px; font-size: 14px; }
.head-cta { margin-left: 18px; }
.btn .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn .i.fill { fill: currentColor; stroke: none; width: 17px; height: 17px; margin-top: -2px; }
.btn .i.fill + * { margin-left: 0; }
.btn.static { cursor: default; color: var(--text2); }
.lang-m { display: none; align-items: center; font-family: "Geist Mono", monospace; font-size: 12px; color: var(--text2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; }
header nav a.lang { font-family: "Geist Mono", monospace; font-size: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; }
.note.center { text-align: center; }
.eyebrow { font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); margin-bottom: 16px; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--text3); }
.facts li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 99px; background: var(--mint); margin-right: 8px; vertical-align: 2px; }
.hero-art { position: relative; }
.hero-scene { width: 100%; height: auto; display: block; border-radius: 24px; box-shadow: 0 40px 120px rgba(95,211,166,.12); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.split img { width: 100%; height: auto; border-radius: 24px; display: block; }
.split p { color: var(--text2); font-size: 16px; line-height: 1.65; margin: 0; }
.banner { width: 100%; height: auto; border-radius: 24px; display: block; margin: 0 0 14px; }
.hero-bg { border-radius: 24px; opacity: .92; }
.phone { background: #1A1D1D; border-radius: 42px; padding: 9px; box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone img { display: block; width: 100%; height: auto; border-radius: 34px; }
.hero-phone { position: absolute; width: 38%; right: 4%; bottom: -14%; transform: rotate(4deg); }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 46px 0 34px; color: var(--text3); font-size: 13px; font-family: "Geist Mono", monospace; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card.f { padding: 24px; }
.fi { width: 26px; height: 26px; fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.gallery-section { padding: 36px 0; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery figcaption { color: var(--text2); font-size: 13px; text-align: center; margin-top: 14px; line-height: 1.4; }
.gallery .phone { border-radius: 34px; padding: 7px; box-shadow: 0 18px 50px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08); }
.gallery .phone img { border-radius: 28px; }
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card.dl { display: flex; flex-direction: column; gap: 6px; }
.card.dl .btn { margin-top: 14px; justify-content: center; }
.card.dl .sum { margin-top: 10px; font-size: 12px; color: var(--text3); }
.card.dl .sum a { color: var(--text2); }
.faq { display: grid; gap: 8px; max-width: 760px; }
.faq details { background: var(--surface); border-radius: 16px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text3); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--text2); font-size: 14px; line-height: 1.6; }

@media (max-width: 900px) {
  .features, .downloads { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  header nav { display: none; } .head-cta { margin-left: 10px; }
  .lang-m { display: inline-flex; margin-left: auto; }
  .hero { gap: 28px; padding-bottom: 8px; }
  .cta .btn { flex: 1 1 100%; justify-content: center; }
  .facts { justify-content: center; }
  .platforms { padding: 28px 0 22px; gap: 6px 18px; }
  .compare { min-width: 0; font-size: 13px; }
  .compare th, .compare td { padding: 11px 12px; }
  .compare tbody th { width: 30%; }
  .compare thead th { font-size: 12px; }
  .split { gap: 20px; }
  .features, .downloads, .define, .split { grid-template-columns: 1fr; }
  .gallery { grid-auto-columns: 62%; }
  .hero { grid-template-columns: 1fr; padding-top: 36px; } .hero h1 { font-size: 36px; }
  .steps, .grid2 { grid-template-columns: 1fr; } header nav { gap: 12px; }
}

@media (max-width: 380px) {
  header, header .logo { gap: 7px; }
  header .head-cta { margin-left: 0; padding: 0 10px; font-size: 13px; }
}

/* Hero: two real app screens, the permission request in front. */
.hero-phones { display: flex; justify-content: center; align-items: flex-start; padding: 8px 0 24px; }
.hero-phones .phone { width: 46%; max-width: 236px; }
.hero-phones .back { transform: translate(18%, 26px) rotate(-5deg); opacity: .6; }
.hero-phones .front { position: relative; z-index: 1; transform: translateX(-18%); }
.split-phone { width: 100%; max-width: 280px; justify-self: center; }
.split-phone img { border-radius: 34px; }
@media (max-width: 760px) {
  .hero-phones { padding-bottom: 8px; }
  .hero-phones .phone { width: 44%; }
  .split-phone { max-width: 240px; }
}

/* Pairing and invite links opened without the app (/pair/, /join/). */
.link-page { max-width: 560px; padding: 72px 0 80px; }
.link-page h1 { font-size: 36px; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 12px; font-weight: 600; text-wrap: balance; }
.link-page p { color: var(--text2); font-size: 16px; line-height: 1.55; margin: 0 0 28px; text-wrap: pretty; }
.link-page .btn[hidden], .link-page .note[hidden] { display: none; }
.link-page .note { margin-top: 18px; }
@media (max-width: 760px) { .link-page { padding-top: 44px; } .link-page h1 { font-size: 30px; } }
