/* Roomery website.
   Colours follow ios/App/Design/RoomeryDesign.swift: white ground, soft chalk
   cards, ink type, one Roomery blue. Type is Geist (SIL Open Font Licence),
   self-hosted so the page makes no third-party requests. The wordmark uses the
   app's own SF Pro Expanded on Apple devices and Geist elsewhere. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; 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-style: normal; 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: #ffffff;
  --chalk: #f3f3f5;
  --chalk-deep: #e9e9ed;
  --ink: #0e0e12;
  --ink-soft: #5e6068;
  --line: #e4e4e8;
  --brand: #4a63ff;          /* fills */
  --accent: #4259ee;         /* blue text on white */
  --dark: #0b0b0f;
  --dark-card: #16161b;
  --dark-line: #2a2a31;
  --dark-soft: #a1a1a8;
  --dark-accent: #8a9bff;

  --r-xl: 28px;
  --r-l: 22px;
  --r-m: 16px;
  --gutter: 20px;
  --frame: 10px;
  --nav-h: 64px;
  --max: 1240px;

  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mark: -apple-system, BlinkMacSystemFont, "Geist", "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 760px) { :root { --gutter: 40px; --frame: 16px; --nav-h: 72px; --r-xl: 36px; --r-l: 26px; } }
@media (min-width: 1280px) { :root { --gutter: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(74, 99, 255, 0.18); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ── Type ─────────────────────────────────────────── */
.h2 {
  font-size: clamp(2.25rem, 5.2vw, 4.25rem);
  font-weight: 600; letter-spacing: -0.045em; line-height: 1;
  text-wrap: balance;
}
.line { display: block; text-wrap: balance; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.9375rem; font-weight: 500; color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.eyebrow--dark { color: var(--dark-accent); }
.eyebrow--dark::before { background: var(--dark-accent); }
.lede { font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.5; color: var(--ink-soft); max-width: 36em; text-wrap: pretty; }
.lede a { color: var(--accent); text-underline-offset: 3px; }

/* Wordmark: the app's own "roomery" with the blue dot (RootView heroBar). */
.wordmark {
  display: inline-flex; align-items: baseline; gap: 3px;
  font-family: var(--font-mark); font-weight: 900; font-stretch: 125%;
  font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1; text-decoration: none; color: var(--ink);
}
.wordmark__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: none; }
.wordmark--light { color: #fff; }

/* ── Nav ──────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color 0.25s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__row { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav__row .wordmark { margin-right: auto; }
.nav__links { display: none; gap: 4px; }
.nav__links a {
  text-decoration: none; font-size: 0.9375rem; font-weight: 500; color: var(--ink-soft);
  padding: 9px 14px; border-radius: 999px; transition: color 0.2s, background-color 0.2s;
}
.nav__links a:hover { color: var(--ink); background: var(--chalk); }
.nav__end { display: flex; align-items: center; gap: 8px; }
.nav__menu {
  width: 44px; height: 44px; border-radius: 50%; background: var(--chalk);
  display: grid; place-content: center; gap: 5px;
}
.nav__menu span { display: block; width: 16px; height: 1.75px; border-radius: 2px; background: var(--ink); transition: transform 0.25s var(--ease); }
.nav__menu[aria-expanded="true"] span:first-child { transform: translateY(3.4px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:last-child { transform: translateY(-3.4px) rotate(-45deg); }
@media (min-width: 900px) { .nav__links { display: flex; } .nav__menu { display: none; } }

.sheet {
  position: absolute; inset: var(--nav-h) 0 auto 0; background: #fff;
  border-bottom: 1px solid var(--line); padding: 8px 0 24px;
  box-shadow: 0 24px 48px -24px rgba(14, 14, 18, 0.25);
}
.sheet__links { display: grid; }
.sheet__links a {
  text-decoration: none; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.sheet__links a:last-child { border-bottom: 0; }
@media (min-width: 900px) { .sheet { display: none; } }

/* ── Buttons and status ──────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 550; font-size: 1rem; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  transition: transform 0.2s, background-color 0.2s, color 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #26262c; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #ececf0; }
.btn--glass {
  background: rgba(255, 255, 255, 0.14); color: #fff;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.24); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }

.soon {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 550; font-size: 1rem; letter-spacing: -0.01em; white-space: nowrap;
}
.soon__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--dark-accent); flex: none; }
.soon__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; background: currentColor; opacity: 0;
  color: var(--dark-accent); animation: ping 2.4s var(--ease) infinite;
}
.soon--small { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }
.soon--light { background: #fff; color: var(--ink); }
.soon--light .soon__dot, .soon--light .soon__dot::after { background: var(--brand); color: var(--brand); }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.55; } 80%, 100% { transform: scale(1.9); opacity: 0; } }

/* ── Hero ─────────────────────────────────────────── */
.hero { padding: 0 var(--frame); }
.hero__frame {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); background: #2a2622; color: #fff;
  height: clamp(580px, calc(100svh - var(--nav-h) - var(--frame)), 940px);
}
.hero__media, .hero__img { position: absolute; inset: 0; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
  opacity: 0; transform: scale(1.07);
  transition: opacity 1.4s ease, transform 0s linear 1.4s;
}
.hero__img.is-on { opacity: 1; transform: scale(1); transition: opacity 1.4s ease, transform 8s linear; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(8, 8, 12, 0.82) 0%, rgba(8, 8, 12, 0.5) 34%, rgba(8, 8, 12, 0) 66%),
    linear-gradient(to bottom, rgba(8, 8, 12, 0.32), rgba(8, 8, 12, 0) 22%);
}
@media (min-width: 1000px) {
  .hero__shade {
    background:
      linear-gradient(to top, rgba(8, 8, 12, 0.66) 0%, rgba(8, 8, 12, 0.16) 42%, rgba(8, 8, 12, 0) 66%),
      linear-gradient(to right, rgba(8, 8, 12, 0.55) 0%, rgba(8, 8, 12, 0.18) 42%, rgba(8, 8, 12, 0) 64%),
      linear-gradient(to bottom, rgba(8, 8, 12, 0.3), rgba(8, 8, 12, 0) 22%);
  }
}

.hero__tag {
  position: absolute; top: clamp(16px, 2.4vw, 28px); left: clamp(16px, 2.4vw, 28px); z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 16px 5px 5px; border-radius: 999px; font-size: 0.875rem;
  background: rgba(14, 14, 18, 0.32); color: #fff;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.hero__tag strong { font-weight: 600; }
.hero__tag-note { color: rgba(255, 255, 255, 0.72); }
.hero__toggle {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.18); transition: background-color 0.2s;
}
.hero__toggle:hover { background: rgba(255, 255, 255, 0.3); }
.hero__toggle svg { width: 14px; height: 14px; fill: #fff; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero__toggle .i-pause { fill: none; }
.hero__toggle .i-play, .hero__toggle[aria-pressed="true"] .i-pause { display: none; }
.hero__toggle[aria-pressed="true"] .i-play { display: block; }
.no-motion .hero__toggle { display: none; }
.no-motion .hero__tag { padding-left: 16px; }

.hero__content {
  position: absolute; z-index: 1;
  left: clamp(20px, 4.4vw, 72px); right: clamp(20px, 4.4vw, 72px); bottom: clamp(24px, 4.4vw, 72px);
  display: grid; gap: 20px; justify-items: start;
}
.hero__eyebrow { font-size: 0.9375rem; font-weight: 500; color: rgba(255, 255, 255, 0.78); }
.hero__title {
  font-size: clamp(3.1rem, 8.6vw, 7.5rem);
  font-weight: 600; letter-spacing: -0.055em; line-height: 0.92;
  margin-left: -0.04em;
}
.hero__lede { font-size: clamp(1.0625rem, 1.45vw, 1.3125rem); line-height: 1.45; color: rgba(255, 255, 255, 0.82); max-width: 30em; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (min-width: 1000px) { .hero__content { right: auto; max-width: 58%; } }

.hero__phone { display: none; }
@media (min-width: 1000px) {
  .hero__phone {
    display: block; position: absolute; z-index: 1;
    right: clamp(40px, 6vw, 112px); bottom: 0; width: clamp(230px, 20vw, 300px);
    transform: translateY(24%);
  }
  .hero__phone .device { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 50px 90px -30px rgba(0, 0, 0, 0.7); }
}

/* A real screenshot in a plain bezel; nothing on the screen is drawn here. */
.device {
  background: #050507; padding: 2.8%; border-radius: 15.5% / 7.2%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 30px 60px -30px rgba(14, 14, 18, 0.5);
}
.device img { width: 100%; height: auto; aspect-ratio: 603 / 1311; object-fit: cover; border-radius: 13% / 6%; background: var(--chalk); }

/* ── Figures ──────────────────────────────────────── */
.figures { padding: clamp(48px, 7vw, 96px) 0 0; }
.figures__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
.figures__row li { display: grid; gap: 10px; align-content: start; }
.figures__row strong {
  font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.figures__row span { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.4; max-width: 20ch; }
@media (min-width: 900px) {
  .figures__row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .figures__row li { padding: 4px 28px; border-left: 1px solid var(--line); }
  .figures__row li:first-child { padding-left: 0; border-left: 0; }
  .figures__row span { font-size: 1rem; }
}

/* ── Sections ─────────────────────────────────────── */
.section { padding: clamp(88px, 11vw, 152px) 0; }
.section--flush-top { padding-top: 0; }
.section--tint { background: var(--chalk); }
.head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
.head .eyebrow { margin-bottom: 18px; }
@media (min-width: 900px) {
  .head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: end; }
  .head--split .lede { justify-self: end; max-width: 26em; }
}
.head--center { justify-items: center; text-align: center; }
.head--center .lede { max-width: 32em; }
.head--rail { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.head--rail .lede { margin-top: 20px; max-width: 32em; }

/* ── Before / after ──────────────────────────────── */
.stage {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  aspect-ratio: 4 / 3; background: var(--chalk);
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  isolation: isolate;
}
@media (min-width: 760px) { .stage { aspect-ratio: 16 / 10; } }
@media (min-width: 1100px) { .stage { aspect-ratio: 16 / 9; } }
.stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.stage__fade { opacity: 0; transition: opacity 0.45s ease; }
.stage__fade.is-in { opacity: 1; }
.stage__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.stage__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 44px; margin-left: -22px;
  display: grid; place-items: center; outline: none;
}
.stage__handle::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
}
.stage__grip {
  position: relative; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 8px 26px rgba(0, 0, 0, 0.3); transition: transform 0.2s;
}
.stage__grip svg { width: 24px; height: 24px; }
.stage:active .stage__grip { transform: scale(0.94); }
.stage__handle:focus-visible .stage__grip { outline: 3px solid var(--brand); outline-offset: 3px; }
.stage.is-settling .stage__before { transition: clip-path 0.9s cubic-bezier(0.65, 0, 0.35, 1); }
.stage.is-settling .stage__handle { transition: left 0.9s cubic-bezier(0.65, 0, 0.35, 1); }

.tag {
  position: absolute; top: 16px; z-index: 2; padding: 7px 14px; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 550; color: #fff; pointer-events: none;
  background: rgba(14, 14, 18, 0.45);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.tag--before { left: 16px; }
.tag--after { right: 16px; }
@media (min-width: 760px) { .tag { top: 24px; font-size: 0.875rem; } .tag--before { left: 24px; } .tag--after { right: 24px; } }

.picker { margin-top: 20px; display: grid; gap: 16px; }
.chips {
  position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter);
  scroll-snap-type: x proximity;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: center;
  min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--chalk);
  font-size: 0.9375rem; font-weight: 550; color: var(--ink); white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.chip:hover { background: var(--chalk-deep); }
.chip[aria-checked="true"] { background: var(--ink); color: #fff; }
@media (min-width: 1100px) {
  .chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; gap: 6px; }
}
.picker__note { color: var(--ink-soft); font-size: 0.9375rem; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.picker__note > :first-child { color: var(--ink); font-weight: 500; }

/* ── Steps ────────────────────────────────────────── */
.steps { display: grid; gap: 16px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { background: var(--chalk); border-radius: var(--r-l); padding: 10px; display: flex; flex-direction: column; }
.step__media { border-radius: calc(var(--r-l) - 8px); overflow: hidden; aspect-ratio: 4 / 3; background: var(--chalk-deep); }
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step__media--quad { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; background: var(--chalk); }
.step__media--quad img { min-height: 0; }
.step__body { padding: 22px 16px 18px; }
.step__n { display: block; font-size: 0.875rem; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.step h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 8px; }
.step p { color: var(--ink-soft); max-width: 36ch; }

/* ── The app (dark) ───────────────────────────────── */
.dark { padding: 0 var(--frame); }
.dark__panel {
  position: relative; overflow: hidden; border-radius: var(--r-xl); color: #fff;
  padding: clamp(80px, 10vw, 136px) 0 clamp(64px, 8vw, 112px);
  background:
    radial-gradient(55% 45% at 50% 100%, rgba(74, 99, 255, 0.34), rgba(74, 99, 255, 0) 100%),
    radial-gradient(40% 35% at 85% 0%, rgba(138, 155, 255, 0.12), rgba(138, 155, 255, 0) 100%),
    var(--dark);
}
.dark .lede { color: var(--dark-soft); }
.phones {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(64vw, 250px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px;
}
.phones::-webkit-scrollbar { display: none; }
.phone { scroll-snap-align: center; }
.phone .device { background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 70px -30px rgba(0, 0, 0, 0.8); }
.phone h3 { margin-top: 26px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.phone p { margin-top: 6px; color: var(--dark-soft); font-size: 1rem; }
@media (min-width: 980px) {
  .phones { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; overflow: visible; margin-inline: 0; padding: 0; }
  .phone:nth-child(even) { transform: translateY(40px); }
  .js .phone:nth-child(even)[data-reveal] { transform: translateY(64px); }
  .js .phone:nth-child(even)[data-reveal].is-in { transform: translateY(40px); }
  .dark__panel { padding-bottom: clamp(104px, 11vw, 152px); }
}

/* ── Walk in and paint ────────────────────────────── */
.walk { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .walk { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; } }
.walk__text .lede { margin-top: 22px; }
.walk__list { margin-top: 32px; }
.walk__list li { position: relative; padding: 15px 0 15px 34px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.walk__list li:last-child { border-bottom: 1px solid var(--line); }
.walk__list li::before {
  content: ""; position: absolute; left: 0; top: 18px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.8 10.4 2.7 2.7 5.7-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.walk__list strong { color: var(--ink); font-weight: 600; }
.walk__phones {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); align-items: start;
  border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px) clamp(20px, 3.5vw, 48px) clamp(56px, 6vw, 88px);
  background:
    radial-gradient(70% 60% at 50% 100%, rgba(74, 99, 255, 0.18), rgba(74, 99, 255, 0) 100%),
    var(--chalk);
}
.walk__phones .device:nth-child(2) { margin-top: clamp(28px, 4vw, 56px); }

/* ── Styles rail ──────────────────────────────────── */
.rail-nav { display: none; gap: 8px; }
@media (min-width: 760px) { .rail-nav { display: flex; } }
.round {
  width: 48px; height: 48px; border-radius: 50%; background: var(--chalk); display: grid; place-items: center;
  transition: background-color 0.2s, opacity 0.2s;
}
.round:hover:not(:disabled) { background: var(--chalk-deep); }
.round:disabled { opacity: 0.35; cursor: default; }
.round svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.rail {
  --edge: max(var(--gutter), (100% - var(--max)) / 2);
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 460px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px var(--edge) 8px; scroll-padding-inline: var(--edge);
}
.rail::-webkit-scrollbar { display: none; }
.rail > li { scroll-snap-align: start; }
@media (min-width: 760px) { .rail { gap: 18px; grid-auto-columns: clamp(300px, 34vw, 460px); } }
.card {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3.3; text-align: left; text-decoration: none;
  border-radius: var(--r-l); overflow: hidden; background: var(--chalk); isolation: isolate; color: #fff;
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover img { transform: scale(1.045); }
.card__text {
  position: absolute; inset: auto 0 0 0; padding: 64px 22px 20px;
  background: linear-gradient(to top, rgba(10, 10, 14, 0.74), rgba(10, 10, 14, 0));
  display: grid; gap: 4px;
}
.card__text strong { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.card__text span { font-size: 0.9375rem; line-height: 1.4; color: rgba(255, 255, 255, 0.82); }
.card__go {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.92); color: var(--ink);
  opacity: 0; transform: scale(0.85); transition: opacity 0.25s, transform 0.25s var(--ease);
}
.card__go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card__go, .card:focus-visible .card__go { opacity: 1; transform: none; }
@media (hover: none) { .card__go { opacity: 1; transform: none; } }
.card--yours {
  background: var(--brand); display: flex; flex-direction: column; justify-content: space-between; padding: 26px;
}
.card--yours .wordmark { color: #fff; }
.card--yours .wordmark__dot { background: #fff; }
.card--yours strong { font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }

/* ── Real pieces ──────────────────────────────────── */
.slab {
  background: var(--chalk); border-radius: var(--r-xl);
  padding: clamp(32px, 5.5vw, 80px); display: grid; gap: 40px;
}
.slab__lead .lede { margin-top: 22px; }
.slab__facts li { padding: 22px 0; border-top: 1px solid #dcdce1; }
.slab__facts li:last-child { padding-bottom: 0; }
.slab__facts h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.slab__facts p { color: var(--ink-soft); }
@media (min-width: 980px) {
  .slab { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 88px; align-items: center; }
  .slab__facts li:first-child { border-top: 0; padding-top: 0; }
}

/* ── Bento ────────────────────────────────────────── */
.bento { display: grid; gap: 14px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cell--wide { grid-column: span 2; } }
.cell { background: var(--chalk); border-radius: var(--r-l); padding: 28px; display: flex; flex-direction: column; min-height: 248px; }
.cell__icon {
  width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin-bottom: auto;
}
.cell__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.cell h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; margin: 40px 0 8px; }
.cell p { color: var(--ink-soft); font-size: 1rem; max-width: 46ch; }
.langs { margin-top: 28px; color: var(--ink-soft); font-size: 0.9375rem; }

/* ── Pricing ──────────────────────────────────────── */
.plans { display: grid; gap: 16px; max-width: 1040px; margin-inline: auto; }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--bg); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); }
.plan__name { font-size: 1.0625rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 20px; }
.plan__amount { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 600; letter-spacing: -0.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__per { font-size: 1.125rem; font-weight: 500; color: var(--ink-soft); }
.plan__alt { margin-top: 10px; color: var(--ink-soft); }
.plan--pro {
  color: #fff;
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(74, 99, 255, 0.4), rgba(74, 99, 255, 0) 100%),
    var(--dark);
}
.plan--pro .plan__name { color: var(--dark-accent); }
.plan--pro .plan__per, .plan--pro .plan__alt { color: var(--dark-soft); }
.ticks { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.plan--pro .ticks { border-top-color: rgba(255, 255, 255, 0.14); }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.8 10.4 2.7 2.7 5.7-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.fine { margin: 28px auto 0; max-width: 760px; color: var(--ink-soft); font-size: 0.9375rem; text-align: center; text-wrap: pretty; }

/* ── FAQ ──────────────────────────────────────────── */
.faq { display: grid; gap: 8px; }
@media (min-width: 980px) {
  .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 80px; align-items: start; }
  .faq__head { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 32px); }
}
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 26px 56px 26px 0; position: relative;
  font-size: 1.1875rem; font-weight: 550; letter-spacing: -0.02em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%;
  background: var(--chalk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 4v10M4 9h10' stroke='%230e0e12' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.faq__list summary:hover::after { background-color: var(--chalk-deep); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 56px 28px 0; color: var(--ink-soft); max-width: 62ch; }
.faq__list a { color: var(--accent); text-underline-offset: 3px; }

/* ── Closing ──────────────────────────────────────── */
.closing { padding: 0 var(--frame) var(--frame); }
.closing__frame {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); color: #fff;
  min-height: clamp(460px, 56vw, 680px); display: grid; place-items: center; text-align: center;
  background: #2a2622;
}
.closing__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.closing__frame::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 70% at 50% 55%, rgba(8, 8, 12, 0.62), rgba(8, 8, 12, 0.38));
}
.closing__content { display: grid; justify-items: center; gap: 22px; padding: 48px 24px; }
.closing__title { font-size: clamp(2.6rem, 7vw, 5.75rem); letter-spacing: -0.055em; line-height: 0.95; }
.closing__lede { color: rgba(255, 255, 255, 0.82); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); max-width: 28em; }
.closing .soon { margin-top: 6px; }

/* ── Footer ───────────────────────────────────────── */
.foot { background: var(--dark); color: #fff; padding: clamp(56px, 7vw, 88px) 0 40px; }
.foot__lang { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em; color: var(--dark-soft); margin-left: 4px; }
.foot__top { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; padding-bottom: 48px; border-bottom: 1px solid var(--dark-line); }
.foot__brand { grid-column: 1 / -1; display: grid; gap: 16px; align-content: start; }
.foot__brand p { color: var(--dark-soft); max-width: 28ch; }
.foot__col { display: grid; gap: 12px; align-content: start; }
.foot__col h2 { font-size: 0.875rem; font-weight: 500; color: var(--dark-soft); margin-bottom: 6px; }
.foot__col a { text-decoration: none; font-size: 0.9375rem; color: #fff; opacity: 0.9; justify-self: start; }
.foot__col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.foot__col p { font-size: 0.9375rem; color: #fff; opacity: 0.9; max-width: 24ch; }
@media (min-width: 900px) {
  .foot__top { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: auto; }
}
.foot__small { padding-top: 28px; display: grid; gap: 10px; color: var(--dark-soft); font-size: 0.8125rem; line-height: 1.5; }
.foot__small p { max-width: 80ch; }
.foot__small a { text-underline-offset: 2px; }

/* ── Reveal on scroll ─────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .phone:nth-child(even)[data-reveal] { transform: none; }
  .hero__img, .hero__img.is-on { transition: none; transform: none; }
  .soon__dot::after { animation: none; }
  .stage__fade, .card img, .stage.is-settling .stage__before, .stage.is-settling .stage__handle { transition: none; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 980px) {
  .js .phone:nth-child(even)[data-reveal] { transform: translateY(40px); }
}
