/* Rubik (SIL Open Font License), self-hosted: the same face the app uses. Hebrew and Latin subsets, variable weight. */
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("assets/fonts/rubik-hebrew.woff2") format("woff2"); unicode-range: U+307-308, U+590-5FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("assets/fonts/rubik-latin.woff2") format("woff2"); 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; }
/* Metric-matched fallback so the swap to Rubik doesn't shift the layout. */
@font-face { font-family: "Rubik Fallback"; src: local("Arial"); ascent-override: 89.06%; descent-override: 23.81%; line-gap-override: 0%; size-adjust: 104.98%; }

:root {
  /* The app's own palette, so the site and the product look like one thing. */
  --paper: #f6f5fa;
  --surface: #ffffff;
  --ink: #16141f;
  --ink-2: #4f4b63;
  --line: #e3e1ec;
  --accent: #6b4fc0;
  --accent-ink: #ffffff;
  --accent-soft: #ece7fb;
  --c-home: #6b4fc0;
  --c-food: #2a8d52;
  --c-move: #2d7fb8;
  --c-rest: #d9822b;
  --c-alert: #b8336a;
  --ok: #18683a;
  --warn: #8a4b00;
  --code: #1c1928;
  --code-ink: #ece9f7;
  --tg: #e7f0fa;
  --tg-me: #dcefd6;
  --radius-l: 28px;
  --radius-m: 18px;
  --radius-s: 10px;
  --lift: 0 1px 2px rgb(22 20 31 / 5%), 0 18px 40px -24px rgb(50 36 110 / 28%);
  --font: "Rubik", "Rubik Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f0e15;
    --surface: #191724;
    --ink: #f3f2f8;
    --ink-2: #aeaac2;
    --line: #2b2839;
    --accent: #a690f2;
    --accent-ink: #140f24;
    --accent-soft: #241f38;
    --c-home: #8f76e6;
    --c-food: #4fb37c;
    --c-move: #4f9fd6;
    --c-rest: #e59a4a;
    --c-alert: #e77fa9;
    --ok: #79d9a2;
    --warn: #efc18c;
    --code: #0b0a10;
    --tg: #1f2a38;
    --tg-me: #23362a;
    --lift: 0 1px 0 rgb(255 255 255 / 4%) inset, 0 20px 40px -26px rgb(0 0 0 / 90%);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; overflow-x: clip; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
bdi, code, pre { unicode-bidi: isolate; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 16px; top: -80px; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 12px; z-index: 30; }
.skip:focus { top: 12px; }

/* ---------- Top bar ---------- */
/* The bar is night-blue in both themes: it starts over the dark hero and reads as one piece with it. */
.nav { position: sticky; top: 0; z-index: 20; padding-top: 10px; --surface: #17141f; --ink: #f3f2f8; --ink-2: #bdb9d0; --line: #332e48; --accent: #a690f2; --accent-ink: #140f24; --accent-soft: #241f38; color-scheme: dark; }
.nav-bar { display: flex; align-items: center; gap: 8px; min-height: 60px; padding: 8px 8px 8px 8px; padding-inline-start: 16px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 78%, transparent); border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px); box-shadow: 0 10px 30px -22px rgb(30 20 70 / 45%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; margin-inline-end: 8px; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(140deg, #b9a6f0, #6b4fc0); display: inline-flex; align-items: center; justify-content: center; gap: 4px; flex: none; }
.brand-mark span { width: 5px; height: 9px; background: #fff; border-radius: 3px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav-end { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.pill { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 0.92rem; font-weight: 500; background: var(--surface); white-space: nowrap; }
.pill:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.pill svg { width: 17px; height: 17px; flex: none; }
.pill .count { color: var(--ink-2); font-weight: 600; padding-inline-start: 7px; border-inline-start: 1px solid var(--line); }
/* Room for the star count is kept while it loads, so the bar doesn't shift when it arrives. */
.pill .count[hidden] { display: inline; visibility: hidden; }
.pill .count b { display: inline-block; min-width: 2ch; }
.nav .cta-btn { min-height: 44px; padding: 0 20px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.menu-btn[aria-expanded="true"] .bars { display: none; }
.mobile-menu { display: none; }
@media (max-width: 1040px) { .nav-links, .nav .hide-md { display: none; } .menu-btn { display: grid; } }
@media (max-width: 1040px) {
  .mobile-menu:not([hidden]) { display: block; margin-top: 8px; padding: 10px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--lift); max-height: calc(100dvh - 100px); overflow: auto; }
  .mobile-menu ul { list-style: none; margin: 0; padding: 0; }
  .mobile-menu a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 500; }
  .mobile-menu a:not(.btn):hover { background: var(--accent-soft); }
  .mobile-menu .row { display: flex; gap: 8px; padding: 10px 4px 4px; flex-wrap: wrap; }
  .mobile-menu .row .btn { flex: 1 1 160px; }
}
@media (max-width: 460px) { .nav .cta-btn { display: none; } .nav-bar { padding-inline-start: 12px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.btn-ghost { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 22%, transparent); background: var(--surface); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--ink) 45%, transparent); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-dl { min-height: 58px; padding: 0 22px 0 18px; text-align: start; }
.btn-dl span { display: grid; line-height: 1.2; }
.btn-dl b { font-weight: 600; }
.btn-dl small { font-weight: 400; font-size: 0.8rem; opacity: 0.82; }

/* ---------- Hero: a night-blue band in both themes, so the map reads like a lit model ---------- */
/* The band starts under the floating top bar, so there is no light strip above it. */
.hero {
  --paper: #0d0b14; --surface: #17141f; --ink: #f3f2f8; --ink-2: #b4b0c8; --line: #2c2840;
  --accent: #a690f2; --accent-ink: #140f24; --accent-soft: #241f38; --ok: #79d9a2;
  color-scheme: dark; color: var(--ink); background: var(--paper);
  margin-top: -82px; padding: 116px 0 64px; position: relative; overflow-x: clip;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(50% 40% at 50% 62%, rgb(120 90 230 / 22%), transparent 70%), radial-gradient(30% 30% at 12% 8%, rgb(79 179 124 / 8%), transparent 70%); }
.hero > .wrap { position: relative; z-index: 1; width: min(1320px, 100% - 32px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; }
.hero h1 { font-size: clamp(2.3rem, 4vw, 3.5rem); line-height: 1.04; font-weight: 720; letter-spacing: -0.03em; margin: 0 0 18px; }
.hero h1 span { display: block; color: var(--ink-2); font-weight: 500; }
:lang(he) .hero h1, :lang(he) h2 { letter-spacing: 0; }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 36rem; margin: 0; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.more-links { margin: 16px 0 0; font-size: 0.93rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.more-links a { color: var(--ink-2); }
.more-links a:hover { color: var(--ink); }
.proof { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 4px 26px; color: var(--ink-2); font-size: 0.86rem; line-height: 1.3; }
.proof b { display: block; font-size: 1.45rem; font-weight: 650; color: var(--ink); letter-spacing: -0.01em; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 112px; } }
@media (max-width: 560px) { .proof { grid-template-columns: repeat(2, auto); gap: 14px 28px; } .btn-dl { flex: 1 1 100%; } }

/* ---------- The map ---------- */
.hub {
  --n-top: #221e33; --n-top-2: #1b1829; --n-edge: rgb(255 255 255 / 9%);
  --n-side-l: #15121f; --n-side-r: #0f0d17;
  --k-purple: #8f76e6; --k-green: #4fb37c; --k-blue: #4f9fd6; --k-orange: #e59a4a; --k-pink: #e77fa9;
  --k-gold: #e8b64a; --k-paper: #e7e3f4; --k-stone: #5c5776; --k-screen: #2a2440;
  display: grid; grid-template-columns: minmax(0, 1fr) 330px; grid-template-areas: "scene card" "chips chips" "hint hint";
  gap: 0 24px; margin-top: 8px;
}
.hub-stage { display: contents; }
.hub-scene { grid-area: scene; aspect-ratio: 1380 / 920; position: relative; }
.hub-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-cards { grid-area: card; align-self: center; }
.hub-chips { grid-area: chips; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.hub-hint { grid-area: hint; text-align: center; color: var(--ink-2); font-size: 0.88rem; margin: 14px 0 0; }

.hub .grid { fill: none; stroke: rgb(166 144 242 / 10%); stroke-width: 1; }
.hub .glow-in { stop-color: #7b5ce8; stop-opacity: 0.32; }
.hub .glow-out { stop-color: #7b5ce8; stop-opacity: 0; }
.hub .sh-in { stop-color: #000; stop-opacity: 0.55; }
.hub .sh-out { stop-color: #000; stop-opacity: 0; }
.hub .shadow { fill: url(#isl-shadow); }
.hub .s-l { stop-color: var(--n-side-l); }
.hub .s-r { stop-color: var(--n-side-r); }
.hub .m-l { stop-color: #5a43b8; }
.hub .m-r { stop-color: #3f2e8a; }
.hub .isl-side, .hub .hub-side { fill: url(#side-isl); }
.hub .isl-top { fill: var(--n-top); stroke: var(--n-edge); stroke-width: 1.2; }
.hub .hub-top { fill: var(--n-top-2); stroke: rgb(166 144 242 / 22%); stroke-width: 1.4; }
.hub .tile-side { fill: url(#side-isl); }
.hub .tile-top { fill: #262138; stroke: var(--n-edge); stroke-width: 1; }
.hub .mark-side { fill: url(#side-mark); }
.hub .mark-top { fill: #8f76e6; stroke: #b9a6f0; stroke-width: 1; }
.hub .eye { fill: #fff; }
.hub .soon-top { fill: rgb(255 255 255 / 2%); stroke: rgb(166 144 242 / 45%); stroke-width: 1.4; stroke-dasharray: 6 6; }
.hub .soon-side { display: none; }
.hub .m .ft { fill: color-mix(in oklab, var(--c) 82%, white); }
.hub .m .fl { fill: var(--c); }
.hub .m .fr { fill: color-mix(in oklab, var(--c) 62%, black); }
.hub .m polygon, .hub .m path, .hub .m ellipse { stroke: rgb(0 0 0 / 18%); stroke-width: 0.6; stroke-linejoin: round; }
.hub .screen { fill: #3a2f6e; stroke: #8f76e6; stroke-width: 0.8; }
.hub .door { fill: rgb(0 0 0 / 22%); }
.hub .dial { fill: #e8b64a; stroke: rgb(0 0 0 / 30%); }
.hub .line { fill: #b4b0c8; }
.hub .shackle { fill: none; stroke: #b4b0c8; stroke-width: 7; stroke-linecap: round; }
.hub .keyhole { fill: rgb(0 0 0 / 45%); }
.hub .soon .m .ft, .hub .soon .m .fl, .hub .soon .m .fr, .hub .soon .screen, .hub .soon .line { fill: rgb(255 255 255 / 3%); stroke: rgb(185 166 240 / 70%); stroke-width: 1; stroke-dasharray: 3 3; }
.hub .lbl { font: 600 17px/1 var(--font); fill: #ece9f7; letter-spacing: 0.01em; }
.hub .soon .lbl { fill: #b4b0c8; }
.hub .badge-bg { fill: #0d0b14; stroke: rgb(185 166 240 / 70%); }
.hub .badge-t { font: 600 11px/1 var(--font); fill: #cfc4f7; letter-spacing: 0.08em; }
.hub .t-lbl { font: 500 11px/1 var(--font); fill: #a9a4c2; }
.hub .t-val { font: 700 21px/1 var(--font); fill: #f3f2f8; }
.hub .t-area { fill: rgb(166 144 242 / 22%); }
.hub .t-line { fill: none; stroke: #b9a6f0; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.hub .ring-bg { fill: none; stroke: rgb(255 255 255 / 10%); stroke-width: 6; }
.hub .ring { fill: none; stroke: #4fb37c; stroke-width: 6; stroke-linecap: round; }
.hub .link { fill: none; stroke: rgb(166 144 242 / 45%); stroke-width: 1.4; stroke-dasharray: 3 7; stroke-linecap: round; }
.hub .link.soon { stroke: rgb(166 144 242 / 22%); }
.hub .node { fill: #a690f2; }
.hub .flow { fill: #d9cffc; filter: drop-shadow(0 0 4px #a690f2); }

/* Islands: lift on hover, lift higher and outline when chosen. */
.hub .isl { cursor: pointer; }
.hub .isl .lift { transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hub .isl .shadow { transition: opacity 0.3s ease; }
.hub .isl:hover .lift, .hub .isl.hover .lift { transform: translateY(-6px); }
.hub .isl.on .lift { transform: translateY(-12px); }
.hub .isl.on .shadow { opacity: 0.7; }
.hub .isl.on .isl-top, .hub .isl.on .soon-top { stroke: #b9a6f0; stroke-width: 2.6; stroke-dasharray: none; filter: drop-shadow(0 0 10px rgb(166 144 242 / 70%)); }
.hub .mark-float { animation: hub-float 5s ease-in-out infinite; }
@keyframes hub-float { 50% { transform: translateY(-5px); } }

/* Chips */
.chip { font: inherit; font-size: 0.92rem; font-weight: 500; min-height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: rgb(255 255 255 / 3%); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: border-color 0.15s ease, background-color 0.15s ease; }
.chip:hover { border-color: rgb(185 166 240 / 55%); }
.chip[aria-pressed="true"] { background: rgb(166 144 242 / 18%); border-color: #b9a6f0; }
.chip.soon { border-style: dashed; }
.chip small { font-size: 0.7rem; font-weight: 600; color: #cfc4f7; letter-spacing: 0.04em; }
.chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Card */
.hub-card { background: rgb(23 20 31 / 88%); border: 1px solid var(--line); border-radius: 22px; padding: 22px 22px 20px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / 80%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hub.ready .hub-card:not([hidden]) { animation: card-in 0.32s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } }
.hub-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hub-card h2 { font-size: 1.2rem; font-weight: 640; margin: 0; letter-spacing: -0.01em; line-height: 1.25; }
.hub-card > p { color: var(--ink-2); margin: 6px 0 0; font-size: 0.95rem; line-height: 1.5; }
.hub-card .ticks { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); gap: 8px; }
.hub-card .ticks li { font-size: 0.92rem; line-height: 1.45; color: var(--ink); padding-inline-start: 26px; }
.hub-card .ticks li::before { width: 15px; height: 15px; top: 0.2em; background-color: rgb(121 217 162 / 14%); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%2379d9a2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.badge { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.badge.live { color: #79d9a2; background: rgb(121 217 162 / 12%); box-shadow: inset 0 0 0 1px rgb(121 217 162 / 40%); }
.badge.soon { color: #cfc4f7; box-shadow: inset 0 0 0 1px rgb(185 166 240 / 55%); }
:lang(en) .badge { text-transform: uppercase; }

@media (max-width: 1100px) { .hub { grid-template-columns: 1fr; grid-template-areas: "scene" "chips" "card" "hint"; } .hub-cards { margin-top: 18px; max-width: 560px; justify-self: center; width: 100%; } }
@media (max-width: 700px) {
  .hub .lbl, .hub .badge-t, .hub .badge-bg, .hub .t-lbl { display: none; }
  .hub-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px; margin-inline: -16px; padding: 4px 16px 10px; scrollbar-width: none; }
  .hub-chips .chip { scroll-snap-align: start; }
  .hub-scene { margin-inline: -16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hub .isl .lift, .hub .isl .shadow { transition: none; }
  .hub .mark-float, .hub.ready .hub-card:not([hidden]) { animation: none; }
}

/* ---------- Sections ---------- */
section { padding: 104px 0; }
@media (max-width: 760px) { section { padding: 72px 0; } }
.tint { background: var(--surface); border-block: 1px solid var(--line); }
.head { max-width: 46rem; margin-bottom: 44px; }
.head h2, .spread h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 680; margin: 0 0 14px; }
.head p, .spread .copy > p { color: var(--ink-2); font-size: 1.1rem; margin: 0; }
.spread { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.spread.flip > .copy { order: 2; }
.spread + .spread { margin-top: 104px; }
.spread > * { min-width: 0; }
@media (max-width: 960px) { .spread { grid-template-columns: minmax(0, 1fr); gap: 32px; } .spread.flip > .copy { order: 0; } .spread + .spread { margin-top: 72px; } }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-inline-start: 30px; color: var(--ink-2); }
.ticks li b { color: var(--ink); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 0.42em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%236b4fc0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.new { display: inline-block; font-size: 0.72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); vertical-align: 0.15em; margin-inline-start: 6px; }
.beta { display: inline-block; font-size: 0.72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); vertical-align: 0.15em; margin-inline-start: 6px; }

/* Three ways in */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.way { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; display: flex; flex-direction: column; }
.way h3 { margin: 18px 0 8px; font-size: 1.25rem; font-weight: 620; }
.way p { margin: 0; color: var(--ink-2); }
.way .glyph { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, var(--surface)); color: var(--c); }
.way .glyph svg { width: 24px; height: 24px; }
.chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 0.84rem; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.chips li.more { border-style: dashed; }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } }

/* Screen tour */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 32px; }
.tabs [role="tab"] { font: inherit; font-weight: 500; font-size: 0.95rem; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; }
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--paper); }
.panel h3 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.2; margin: 0 0 12px; font-weight: 640; }
.panel .copy > p { font-size: 1.05rem; }
.panel .btn { margin-top: 26px; }
.shot { display: block; border-radius: var(--radius-m); overflow: hidden; background: var(--surface); box-shadow: var(--lift), 0 0 0 1px var(--line); }
.shot img { width: 100%; }

/* Wealth */
.houses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.houses li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: 0.95rem; }
.tint .houses li { background: var(--paper); }
@media (max-width: 420px) { .houses { grid-template-columns: 1fr; } }

/* AI */
.ai-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.ai-modes li { padding: 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.ai-modes b { display: block; font-weight: 620; }
.ai-modes span { font-size: 0.86rem; color: var(--ink-2); line-height: 1.4; display: block; margin-top: 4px; }
pre, .code { background: var(--code); color: var(--code-ink); border-radius: var(--radius-m); padding: 18px 20px; margin: 0; font: 0.86rem/1.6 ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace; overflow-x: auto; direction: ltr; text-align: left; tab-size: 2; }
.code-label { font-size: 0.85rem; color: var(--ink-2); margin: 0 0 8px; }
.c-k { color: #c6b6ff; } .c-s { color: #9fe0b5; }

/* Telegram */
.chat { max-width: 440px; margin-inline: auto; width: 100%; border-radius: 34px; background: var(--surface); box-shadow: var(--lift), 0 0 0 1px var(--line); overflow: hidden; }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-top .avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(140deg, #b9a6f0, #6b4fc0); display: flex; align-items: center; justify-content: center; flex: none; }
.chat-top .avatar span { width: 5px; height: 9px; background: #fff; border-radius: 3px; margin: 0 2px; }
.chat-top b { display: block; line-height: 1.2; }
.chat-top small { color: var(--ink-2); font-size: 0.8rem; }
.chat-body { padding: 16px 14px 18px; display: flex; flex-direction: column; gap: 10px; background: color-mix(in srgb, var(--accent-soft) 45%, var(--paper)); font-size: 0.92rem; line-height: 1.45; }
.day { align-self: center; font-size: 0.76rem; color: var(--ink-2); background: color-mix(in srgb, var(--surface) 80%, transparent); padding: 2px 10px; border-radius: 999px; }
.msg { margin: 0; max-width: 86%; align-self: flex-start; background: var(--surface); padding: 9px 13px 7px; border-radius: 18px; border-end-start-radius: 6px; box-shadow: 0 1px 1px rgb(0 0 0 / 6%); white-space: pre-line; }
.msg.me { align-self: flex-end; background: var(--tg-me); border-radius: 18px; border-end-end-radius: 6px; }
.msg time { display: block; text-align: end; font-size: 0.7rem; color: var(--ink-2); margin-top: 2px; }
.msg b { font-weight: 600; }
.kbd { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 8px; }
.kbd span { text-align: center; font-size: 0.78rem; padding: 6px 4px; border-radius: 9px; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--ink); font-weight: 500; }
.tg-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin: 30px 0 0; padding: 0; list-style: none; }
.tg-list h3 { font-size: 1.02rem; margin: 0 0 4px; font-weight: 620; }
.tg-list p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 560px) { .tg-list { grid-template-columns: 1fr; } }

/* Privacy: what leaves the computer */
.ledger { list-style: none; margin: 0; padding: 0; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.tint .ledger { background: var(--paper); }
.ledger li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 18px 22px; border-top: 1px solid var(--line); }
.ledger li:first-child { border-top: 0; }
.ledger b { font-weight: 600; }
.ledger span { color: var(--ink-2); font-size: 0.92rem; grid-column: 1; }
.ledger em { grid-row: 1 / span 2; grid-column: 2; font-style: normal; font-size: 0.8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.ledger .stay { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.ledger .opt { background: var(--accent-soft); color: var(--accent); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 56px 0 0; padding: 0; list-style: none; }
.facts h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 620; }
.facts p { margin: 0; color: var(--ink-2); font-size: 0.96rem; }
@media (max-width: 820px) { .facts { grid-template-columns: 1fr; gap: 20px; } }

/* Where it runs */
.runs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.runs li { padding: 24px; border-radius: var(--radius-m); background: var(--paper); border: 1px solid var(--line); }
.runs h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 620; }
.runs p { margin: 0; color: var(--ink-2); font-size: 0.96rem; }
.runs code { font-size: 0.86em; background: var(--accent-soft); padding: 1px 6px; border-radius: 6px; }
@media (max-width: 900px) { .runs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .runs { grid-template-columns: 1fr; } }

/* Comparison table */
.compare { overflow-x: auto; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--surface); }
.compare table { border-collapse: collapse; width: 100%; min-width: 1000px; font-size: 0.88rem; }
.compare th, .compare td { padding: 12px 14px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { position: sticky; top: 0; background: var(--surface); font-weight: 600; }
.compare tbody th { font-weight: 600; width: 14%; position: sticky; inset-inline-start: 0; background: var(--surface); }
.compare td:nth-child(2), .compare th:nth-child(2) { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.compare td { color: var(--ink-2); }
.compare .y, .compare .n { display: block; font-weight: 600; }
.compare .y { color: var(--ok); }
.compare .n { color: var(--c-alert); }
.note { font-size: 0.86rem; color: var(--ink-2); margin: 16px 0 0; max-width: 60rem; }
.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.choose > div { padding: 24px; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--line); }
.choose h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 620; }
.choose p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .choose { grid-template-columns: 1fr; } }

/* Honest limits */
.limits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.limits li { padding: 18px 0; border-top: 1px solid var(--line); }
.limits h3 { font-size: 1.02rem; margin: 0 0 4px; font-weight: 620; }
.limits p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 760px) { .limits { grid-template-columns: 1fr; } }

/* Install */
.install { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.install .tabs { flex-direction: column; border-radius: 22px; margin: 0; display: flex; }
.install .tabs [role="tab"] { text-align: start; border-radius: 16px; min-height: 52px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; line-height: 1.25; }
.install .tabs [role="tab"] small { font-size: 0.76rem; font-weight: 400; opacity: 0.85; }
.install .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 32px; }
.install .panel h3 { font-size: 1.4rem; }
.install ol { margin: 0; padding-inline-start: 1.3em; display: grid; gap: 10px; color: var(--ink-2); }
.install ol b { color: var(--ink); }
.install h4 { margin: 26px 0 8px; font-size: 1rem; font-weight: 620; }
.install .panel p { color: var(--ink-2); margin: 0 0 12px; }
.cmd { position: relative; margin: 6px 0 14px; }
.cmd pre { padding-inline-end: 84px; white-space: pre; }
.copy-btn { position: absolute; top: 10px; right: 10px; min-height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid rgb(255 255 255 / 18%); background: rgb(255 255 255 / 8%); color: #fff; font: inherit; font-size: 0.82rem; cursor: pointer; }
.copy-btn:hover { background: rgb(255 255 255 / 16%); }
@media (max-width: 820px) { .install { grid-template-columns: 1fr; } .install .tabs { flex-direction: row; overflow-x: auto; flex-wrap: nowrap; border-radius: 999px; } .install .tabs [role="tab"] { min-height: 44px; border-radius: 999px; white-space: nowrap; } .install .tabs [role="tab"] small { display: none; } .install .panel { padding: 22px; } }

/* FAQ */
.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font-weight: 600; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-inline-end: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-3px) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 46rem; }

/* Closing band */
.closing { text-align: center; }
.closing h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 0 0 14px; letter-spacing: -0.02em; font-weight: 700; }
.closing p { color: var(--ink-2); max-width: 36rem; margin: 0 auto 28px; font-size: 1.1rem; }
.closing .cta { justify-content: center; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 0.92rem; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
footer a { color: var(--ink-2); }
footer a:hover { color: var(--ink); }
footer .disclaimer { flex-basis: 100%; font-size: 0.84rem; margin: 0; }

/* Legal pages (privacy, terms) */
.legal { max-width: 46rem; padding: 48px 0 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.15; margin: 0 0 8px; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 8px; }
.legal li { margin: 6px 0; }
.nav > .wrap:has(> .brand) { display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 8px 16px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 78%, transparent); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.nav > .wrap:has(> .brand) .nav-links { display: flex; margin-inline-start: auto; }
.lang { border: 1px solid var(--line); }
