/* Town site remake. Brand: ink #111019, paper #F1F0F5, gold #FCD740, Geist only. */
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111019;
  --ink-2: #16151f;
  --ink-3: #1d1c28;
  --paper: #f1f0f5;
  --paper-2: #e6e5ed;
  --gold: #fcd740;
  --green: #35c47a;
  --red: #ff6b5e;
  --text: #f1f0f5;
  --muted: rgba(241, 240, 245, 0.66);
  --faint: rgba(241, 240, 245, 0.44);
  --line: rgba(241, 240, 245, 0.12);
  --line-2: rgba(241, 240, 245, 0.22);
  --card: rgba(241, 240, 245, 0.035);
  --card-2: rgba(241, 240, 245, 0.06);
  --radius: 18px;
  --radius-sm: 11px;
  --wrap: 1240px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.55 "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 28px; }
.sec { padding: 112px 0; position: relative; }
.sec-sm { padding: 72px 0; }
.sec-top0 { padding-top: 0; }
.bg-ink2 { background: var(--ink-2); }
.bg-paper {
  --text: #111019;
  --muted: rgba(17, 16, 25, 0.64);
  --faint: rgba(17, 16, 25, 0.44);
  --line: rgba(17, 16, 25, 0.12);
  --line-2: rgba(17, 16, 25, 0.22);
  --card: #ffffff;
  --card-2: #fbfbfd;
  background: var(--paper);
  color: var(--text);
}
.center { text-align: center; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.mt0 { margin-top: 0 !important; }
.mt1 { margin-top: 12px; } .mt2 { margin-top: 24px; } .mt3 { margin-top: 36px; } .mt4 { margin-top: 56px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.035em; }
.display { font-size: clamp(46px, 7.4vw, 112px); line-height: 0.93; letter-spacing: -0.052em; font-weight: 850; }
.display-sm { font-size: clamp(42px, 6vw, 84px); line-height: 0.95; letter-spacing: -0.048em; font-weight: 850; }
.display-md { font-size: clamp(40px, 5vw, 76px); line-height: 0.95; letter-spacing: -0.048em; font-weight: 850; }
.h2 { font-size: clamp(36px, 5vw, 72px); line-height: 0.97; letter-spacing: -0.045em; font-weight: 850; }
.h2-sm { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 820; }
.h3 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 700; }
.hl { color: var(--gold); }
.bg-paper .hl { color: var(--ink); background: linear-gradient(transparent 58%, var(--gold) 58%, var(--gold) 92%, transparent 92%); padding: 0 0.04em; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; }
.eyebrow::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); margin-right: 10px; vertical-align: 1px; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--muted); max-width: 640px; }
.head { max-width: 860px; }
.head .lead { margin-top: 22px; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.head-center { margin: 0 auto 48px; text-align: center; }
.head-center .lead { margin-left: auto; margin-right: auto; }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; color: var(--faint); }
.src { font-size: 12.5px; color: var(--faint); margin-top: 18px; }
.src a { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 11px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ghost { border-color: var(--line-2); background: var(--card); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn .arr { transition: transform 0.15s; }
.btn:hover .arr { transform: translateX(3px); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.center-ctas, .head-center + .ctas { justify-content: center; }
.link-arrow { font-weight: 700; text-decoration: none; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- pills, tags ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 13px; font-weight: 600; color: var(--muted); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.pill-green .dot { background: var(--green); box-shadow: 0 0 0 4px rgba(53, 196, 122, 0.18); }
.tag { display: inline-block; font-size: 11px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); }
.tag-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.tag-green { color: var(--green); border-color: rgba(53, 196, 122, 0.4); }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); }
.ticks li b, .ticks li strong { color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 5px; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.5' fill='none' stroke='%23111019' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks-inline { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin-top: 26px; font-size: 14px; font-weight: 600; color: var(--muted); }
.checks-inline li::before { content: "✓"; color: var(--gold); margin-right: 8px; font-weight: 800; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; padding: 12px 16px 0; }
.nav-bar {
  max-width: 1280px; margin: 0 auto; height: 62px; display: flex; align-items: center; gap: 18px;
  padding: 0 10px 0 18px; border: 1px solid var(--line); border-radius: 15px;
  background: rgba(17, 16, 25, 0.78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
}
.nav-logo { display: flex; align-items: center; flex: none; }
.nav-logo img { height: 30px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 2px; margin: 0 auto; list-style: none; }
.nav-item { position: static; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer; opacity: 0.9; }
.nav-link:hover, .nav-item:focus-within > .nav-link, .nav-item.open > .nav-link { background: var(--card-2); opacity: 1; }
.nav-link .chev { width: 10px; height: 10px; opacity: 0.6; transition: transform 0.15s; }
.nav-item.open .chev { transform: rotate(180deg); }
.mega {
  position: absolute; left: 50%; top: 70px; transform: translateX(-50%); width: min(1060px, calc(100vw - 32px));
  background: #17161f; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  padding: 18px; display: none; grid-template-columns: 1.15fr 1.15fr 0.9fr; gap: 10px;
}
.nav-item.open .mega { display: grid; }
@media (min-width: 1041px) {
  /* each menu item fills the bar's full height and the panel carries an invisible bridge above it,
     so the pointer never crosses a gap between "Products" and its panel */
  .nav-menu { align-self: stretch; align-items: stretch; }
  .nav-item { display: flex; align-items: center; }
  .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
}
@media (hover: hover) and (min-width: 1041px) { .nav-item:hover .mega { display: grid; } .nav-item:hover > .nav-link { background: var(--card-2); } .nav-item:hover .chev { transform: rotate(180deg); } }
.mega-col h4 { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 700; padding: 8px 12px 6px; }
.mega-links { list-style: none; display: grid; gap: 2px; }
.mega-links a { display: block; padding: 10px 12px; border-radius: 11px; text-decoration: none; }
.mega-links a:hover { background: var(--card-2); }
.mega-links b { display: block; font-size: 14.5px; font-weight: 650; letter-spacing: -0.01em; }
.mega-links span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega-feature { align-self: start; border-radius: 14px; overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; }
.mega-feature img { width: 100%; height: 150px; object-fit: cover; object-position: top; }
.mega-feature div { padding: 14px 16px 16px; }
.mega-feature b { display: block; font-size: 15px; }
.mega-feature span { font-size: 13px; color: var(--muted); }
.mega-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 18px; border-top: 1px solid var(--line); padding: 14px 12px 4px; margin-top: 6px; font-size: 14px; font-weight: 650; }
.mega-foot a { text-decoration: none; color: var(--muted); }
.mega-foot a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-phone { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 0 8px; }
.nav-phone:hover { color: var(--text); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 1120px) { .nav-phone { display: none; } }
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu, .nav-cta .btn-ghost { display: none; }
  .nav-cta { margin-left: auto; }
  .nav.open .nav-menu {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 16px; right: 16px; top: 82px;
    background: #17161f; border: 1px solid var(--line); border-radius: 16px; padding: 10px; max-height: calc(100vh - 100px); overflow: auto; box-shadow: var(--shadow);
  }
  .nav.open .nav-link { width: 100%; justify-content: space-between; font-size: 16px; padding: 14px 12px; }
  .mega { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 4px 0 10px; grid-template-columns: 1fr; background: transparent; }
  .mega-feature { display: none; }
}
@media (max-width: 520px) { .nav-cta .btn-gold { padding: 0 14px; } .nav-logo img { height: 26px; } }

/* ---------- breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--faint); margin-bottom: 26px; list-style: none; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--faint); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 84px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 900px; pointer-events: none;
  background: radial-gradient(60% 55% at 72% 30%, rgba(252, 215, 64, 0.13), transparent 70%), radial-gradient(45% 45% at 15% 10%, rgba(241, 240, 245, 0.06), transparent 70%);
}
.hero-bgimg { position: absolute; inset: 0; z-index: 0; }
.hero-bgimg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; filter: grayscale(0.2); }
.hero-bgimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 16, 25, 0.5), var(--ink) 92%); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 48px; align-items: center; }
.hero-center { text-align: center; max-width: 980px; margin: 0 auto; }
.hero-center .lead { margin-left: auto; margin-right: auto; }
.hero-center .ctas, .hero-center .checks-inline { justify-content: center; }
.hero h1 { margin-top: 6px; }
.hero .lead { margin-top: 26px; }
.hero .ctas { margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--faint); }
.hero-note a { color: var(--muted); }
.hero-form { display: flex; gap: 8px; margin-top: 34px; max-width: 520px; padding: 6px; border-radius: 14px; background: var(--paper); }
.hero-form input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 0 12px; color: var(--ink); }
.hero-form input:focus { outline: none; }
.hero-form .btn { height: 46px; }

/* device mockups */
/* everything in the device mockup scales with its column, so nothing runs off the screen at any width */
.devices { position: relative; aspect-ratio: 1 / 0.96; }
.dev-browser {
  position: absolute; right: 0; top: 0; width: 90%; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line-2); background: #0d0c13; box-shadow: var(--shadow);
}
.dev-browser .bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #1b1a24; border-bottom: 1px solid var(--line); }
.dev-browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(241, 240, 245, 0.2); }
.dev-browser .bar span { margin-left: 10px; font-size: 11.5px; color: var(--faint); }
.dev-browser img { width: 100%; }
/* Phones: an iPhone 15 Pro frame sized in container units, so every size keeps the same proportions.
   Screens are 393 x 852 captures of live Town sites with the status bar and home indicator built in. */
.dev-phone { position: relative; width: 250px; container-type: inline-size; }
.dev-phone .fr {
  position: relative; padding: 3.4cqw; border-radius: 16.6cqw;
  background: linear-gradient(140deg, #6b6a72 0%, #2c2b32 9%, #141318 32%, #1a1920 68%, #2f2e35 90%, #5d5c64 100%);
  box-shadow: inset 0 0 0 .35cqw rgba(255, 255, 255, .22), inset 0 0 0 1.3cqw #060509,
              0 8cqw 16cqw -6cqw rgba(0, 0, 0, .7), 0 2cqw 5cqw -2cqw rgba(0, 0, 0, .5);
}
.dev-phone .fr::before, .dev-phone .fr::after { content: ""; position: absolute; width: 1.1cqw; background: linear-gradient(90deg, #45444c, #1c1b21); }
.dev-phone .fr::before { left: -.9cqw; top: 21%; height: 8%; border-radius: 1cqw 0 0 1cqw; }
.dev-phone .fr::after { right: -.9cqw; top: 27%; height: 13%; border-radius: 0 1cqw 1cqw 0; background: linear-gradient(270deg, #45444c, #1c1b21); }
.dev-phone .screen { position: relative; aspect-ratio: 393 / 852; border-radius: 13.2cqw; overflow: hidden; clip-path: inset(0 round 13.2cqw); background: #000; }
.dev-phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.dev-phone .screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 .3cqw rgba(0, 0, 0, .35); background: linear-gradient(115deg, rgba(255, 255, 255, .08), transparent 36%); }
.dev-phone .island { position: absolute; top: 2.6cqw; left: 50%; transform: translateX(-50%); width: 29.8cqw; height: 8.8cqw; border-radius: 99cqw; background: #000; z-index: 2; }
.devices .dev-phone { position: absolute; left: 0; top: 17%; width: 37%; z-index: 2; }
.devices .dev-phone.p2 { left: 31%; top: 27%; width: 31%; transform: rotate(4deg); z-index: 1; }
.hero-phones { display: flex; justify-content: center; align-items: flex-end; gap: 22px; margin-top: 64px; }
.hero-phones .dev-phone:nth-child(2) { width: 270px; }
.hero-phones .dev-phone:nth-child(1) { transform: rotate(-4deg) translateY(18px); }
.hero-phones .dev-phone:nth-child(3) { transform: rotate(4deg) translateY(18px); }
.hero-shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- belt (restaurant names) ---------- */
.belt { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; position: relative; }
.belt-label { text-align: center; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 700; margin-bottom: 14px; }
.belt-track { display: flex; gap: 56px; width: max-content; animation: belt 48s linear infinite; }
.belt:hover .belt-track { animation-play-state: paused; }
.belt-track span { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--muted); white-space: nowrap; }
.belt-track span:nth-child(3n+1) { font-style: italic; font-weight: 650; }
.belt-track span:nth-child(4n+2) { text-transform: uppercase; letter-spacing: 0.06em; font-size: 18px; }
.belt::before, .belt::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.belt::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.belt::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
@keyframes belt { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .belt-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 18px 36px; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stats.stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { border: 1px solid var(--line-2); border-radius: 16px; padding: 24px 22px 22px; background: var(--card); }
.stat b { display: block; font-size: clamp(34px, 3.6vw, 52px); font-weight: 850; letter-spacing: -0.05em; line-height: 1; }
.stat span { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.stat small { display: block; margin-top: 8px; font-size: 12px; color: var(--faint); }
.stat-gold b { color: var(--gold); }

/* ---------- rail (horizontal cards) ---------- */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 0 14px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-4 { grid-auto-columns: calc((100% - 48px) / 4); }
.rail-3 { grid-auto-columns: calc((100% - 32px) / 3); }
.rail-arrows { display: flex; gap: 8px; }
.rail-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); cursor: pointer; display: grid; place-items: center; font-size: 18px; }
.rail-arrows button:hover { border-color: var(--text); }
.rcard { scroll-snap-align: start; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: var(--card); display: flex; flex-direction: column; text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
a.rcard:hover { border-color: var(--text); transform: translateY(-2px); }
.rcard .media { aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--ink-3); position: relative; }
.rcard .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.rcard .media.top img { object-position: top; }
a.rcard:hover .media img { transform: scale(1.03); }
.rcard .body { padding: 18px 18px 20px; border-top: 1px solid var(--line); flex: 1; }
.rcard h3 { font-size: 17px; font-weight: 750; letter-spacing: -0.02em; }
.rcard p { margin: 6px 0 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.rcard .more { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 700; }

/* ---------- split rows ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); }
.split + .split { margin-top: 112px; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media > img, .split-media .shot { width: 100%; border-radius: var(--radius); border: 1px solid var(--line-2); }
.split-media .shot { overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.shot .bar { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #1b1a24; border-bottom: 1px solid var(--line); }
.shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(241, 240, 245, 0.2); }
.split-media .shot img { width: 100%; }
.split-media .photo { aspect-ratio: 5 / 4.4; object-fit: cover; }
.split-copy .h2, .split-copy .h2-sm { margin-bottom: 22px; }
.split-copy p { color: var(--muted); font-size: 17px; }
.split-copy .ticks { margin: 26px 0 30px; }
.split-media .dev-phone { margin: 0 auto; }
.phone-on-photo { position: relative; }
.phone-on-photo > img { width: 100%; border-radius: var(--radius); aspect-ratio: 5 / 4.6; object-fit: cover; border: 1px solid var(--line-2); }
.phone-on-photo .dev-phone { position: absolute; width: 190px; right: 8%; bottom: -36px; }

/* ---------- phones gallery ---------- */
.phones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; align-items: start; }
.phones figure { margin: 0; }
.phones .dev-phone { width: 100%; }
.phones figcaption { margin-top: 16px; font-size: 14px; }
.phones figcaption b { display: block; font-weight: 750; }
.phones figcaption span { color: var(--muted); font-size: 13px; }

/* ---------- logos ---------- */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.logo-tile { height: 92px; border-radius: 14px; border: 1px solid rgba(17, 16, 25, 0.08); background: #fff; color: var(--ink); display: grid; place-items: center; padding: 18px 22px; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; position: relative; }
a.logo-tile:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--gold); }
.logo-tile img { max-height: 36px; max-width: 100%; width: auto; }
.logo-tile .wordmark { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; text-align: center; line-height: 1.15; color: var(--ink); }

/* ---------- results ---------- */
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.result { position: relative; border-radius: 18px; overflow: hidden; min-height: 400px; border: 1px solid var(--line-2); background: var(--ink-3); display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; isolation: isolate; }
.result > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.5s; }
a.result:hover > img { transform: scale(1.04); }
.result::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17, 16, 25, 0.05) 30%, rgba(17, 16, 25, 0.92) 88%); }
.result .r-body { padding: 24px; }
.result .r-num { font-size: clamp(38px, 3.8vw, 56px); font-weight: 850; letter-spacing: -0.05em; line-height: 1; color: var(--gold); }
.result .r-label { margin-top: 8px; font-size: 15px; font-weight: 650; color: var(--paper); }
.result .r-name { margin-top: 14px; font-size: 13px; color: rgba(241, 240, 245, 0.7); }
.result.no-img { background: linear-gradient(160deg, #24232f, #15141c); min-height: 300px; }
.result.no-img::before { display: none; }
.result.no-img .r-mark { position: absolute; top: 24px; left: 24px; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; color: var(--muted); }

/* ---------- cards ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card { border: 1px solid var(--line-2); border-radius: 16px; background: var(--card); padding: 26px 24px; display: flex; flex-direction: column; text-decoration: none; transition: border-color 0.15s, transform 0.15s; position: relative; }
a.card:hover { border-color: var(--text); transform: translateY(-2px); }
.card .c-media { margin: -26px -24px 22px; aspect-ratio: 16 / 9.5; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--ink-3); border-radius: 15px 15px 0 0; }
.card .c-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team .card .c-media { aspect-ratio: 4 / 4.4; }
.team .card .c-media img { object-position: 50% 30%; }
.card .c-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 20px; margin-bottom: 18px; }
.card .c-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.card h3 { font-size: 19px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.25; }
.card p { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.card .ticks { margin-top: 16px; font-size: 14.5px; }
.card .c-more { margin-top: auto; padding-top: 18px; font-size: 13.5px; font-weight: 750; letter-spacing: 0.02em; }
.card .c-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.card .c-badge { position: absolute; top: 16px; right: 16px; }

/* ---------- pains (problem and fix) ---------- */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pain { border: 1px solid var(--line-2); border-radius: 16px; padding: 24px; background: var(--card); display: flex; flex-direction: column; }
.pain .num { font-size: 13px; font-weight: 750; color: var(--gold); letter-spacing: 0.06em; }
.bg-paper .pain .num { color: var(--muted); }
.pain h3 { margin-top: 14px; font-size: 19px; font-weight: 750; letter-spacing: -0.02em; }
.pain p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.pain .fix { margin-top: auto; padding-top: 18px; }
.pain .fix div { border-top: 1px dashed var(--line-2); padding-top: 16px; font-size: 14.5px; }
.pain .fix b { display: inline-block; margin-right: 8px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 3px 7px; border-radius: 5px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps.s4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { border: 1px solid var(--line-2); border-radius: 16px; padding: 26px 24px 28px; background: var(--card); }
.step .k { font-size: 40px; font-weight: 850; letter-spacing: -0.05em; line-height: 1; }
.step .k small { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-weight: 700; margin-bottom: 10px; }
.step h3 { margin-top: 26px; font-size: 19px; font-weight: 750; letter-spacing: -0.02em; }
.step p { margin: 8px 0 0; font-size: 15px; color: var(--muted); }

/* ---------- timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; max-width: 860px; }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 26px 0; border-top: 1px solid var(--line); }
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-item .t { font-weight: 800; font-size: 15px; color: var(--gold); letter-spacing: -0.01em; }
.bg-paper .tl-item .t { color: var(--text); }
.tl-item h3 { font-size: 20px; font-weight: 750; letter-spacing: -0.02em; }
.tl-item p { margin: 8px 0 0; color: var(--muted); }

/* ---------- plan / pricing ---------- */
.plan-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 16px; }
.plan { border: 1px solid var(--line-2); border-radius: 20px; padding: 34px; background: var(--card); position: relative; overflow: hidden; }
.plan.featured { border-color: rgba(252, 215, 64, 0.55); background: linear-gradient(180deg, rgba(252, 215, 64, 0.08), rgba(252, 215, 64, 0.015) 40%, var(--card)); }
.plan .p-name { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 750; color: var(--muted); }
.plan .p-price { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan .p-price b { font-size: clamp(64px, 7vw, 96px); font-weight: 850; letter-spacing: -0.06em; line-height: 0.9; color: var(--gold); }
.plan .p-price span { font-size: 17px; color: var(--muted); font-weight: 600; }
.plan .p-sub { margin-top: 14px; font-size: 15.5px; color: var(--muted); }
.plan .ticks { margin: 26px 0 30px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.plan-rows { display: grid; gap: 10px; }
.plan-row { border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--card); }
.plan-row small { display: block; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.plan-row span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 3px; }
.plan-row b { font-size: 24px; font-weight: 850; letter-spacing: -0.04em; white-space: nowrap; text-align: right; }
.plan-row b.ok { color: var(--green); }
.plan-row b.x { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }

/* ---------- calculators ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.calc-in, .calc-out { border: 1px solid var(--line-2); border-radius: 20px; padding: 30px; background: var(--card); }
.calc-out { background: var(--gold); color: var(--ink); border-color: var(--gold); display: flex; flex-direction: column; }
.calc label { display: flex; justify-content: space-between; font-weight: 650; font-size: 15px; margin-top: 24px; }
.calc label:first-of-type { margin-top: 8px; }
.calc label output { font-weight: 800; }
.calc input[type=range] { width: 100%; margin-top: 12px; accent-color: var(--gold); }
.calc-out small { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }
.calc-out .big { font-size: clamp(52px, 6vw, 84px); font-weight: 850; letter-spacing: -0.055em; line-height: 0.95; margin: 12px 0 8px; }
.calc-out .rows { margin-top: auto; display: grid; gap: 8px; border-top: 1px solid rgba(17, 16, 25, 0.18); padding-top: 16px; font-size: 15px; }
.calc-out .rows div { display: flex; justify-content: space-between; gap: 12px; }
.calc-out .rows b { font-weight: 800; }
.calc-out .btn { margin-top: 22px; align-self: flex-start; }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 18px; background: var(--card); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.tbl th, .tbl td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-weight: 750; background: var(--card-2); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 650; color: var(--text); }
.tbl td { color: var(--muted); }
.tbl .t { background: rgba(252, 215, 64, 0.07); color: var(--text); font-weight: 650; }
.bg-paper .tbl .t { background: rgba(252, 215, 64, 0.22); }
.tbl thead .t { color: var(--gold); }
.bg-paper .tbl thead .t { color: var(--ink); }
.tbl a { color: var(--text); }

/* ---------- bills (comparison) ---------- */
.bills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 980px; }
.bill { border: 1px solid var(--line-2); border-radius: 18px; padding: 26px; background: var(--card); }
.bill.town { border-color: rgba(252, 215, 64, 0.6); }
.bill small { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-weight: 750; }
.bill h3 { margin: 8px 0 18px; font-size: 20px; }
.bill .ln { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.bill .ln strong { color: var(--text); text-align: right; font-weight: 700; }
.bill .ln strong.bad { color: var(--red); }
.bill .ln strong.ok { color: var(--green); }
.bill .tot { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; padding-top: 16px; border-top: 2px solid var(--line-2); font-weight: 800; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq .head { position: sticky; top: 110px; }
.acc details { border-bottom: 1px solid var(--line-2); }
.acc details:first-child { border-top: 1px solid var(--line-2); }
.acc summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: 17.5px; font-weight: 700; letter-spacing: -0.015em; position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--text), var(--text)) center/14px 2px no-repeat, linear-gradient(var(--text), var(--text)) center/2px 14px no-repeat; transition: transform 0.2s; opacity: 0.8; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .a { padding: 0 44px 24px 0; color: var(--muted); font-size: 16px; }
.acc .a p:last-child { margin-bottom: 0; }

/* ---------- cta band ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; background: var(--ink-2); }
.cta-band .cb-media { min-height: 380px; position: relative; }
.cta-band .cb-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band .cb-copy { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; }
.cta-band .cb-copy p { color: var(--muted); font-size: 17px; margin-top: 18px; }
.cta-band .cb-copy .ctas, .cta-band .hero-form { margin-top: 28px; }
.cta-band.gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.cta-band.gold .cb-copy p { color: rgba(17, 16, 25, 0.72); }
.cta-band.solo { grid-template-columns: 1fr; text-align: center; }
.cta-band.solo .cb-copy { align-items: center; padding: 80px 40px; }

/* ---------- integrations directory ---------- */
.dir-bar { position: sticky; top: 86px; z-index: 20; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: rgba(22, 21, 31, 0.92); backdrop-filter: blur(12px); margin-bottom: 40px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line); background: transparent; font-size: 13.5px; font-weight: 650; cursor: pointer; color: var(--muted); }
.chip b { font-weight: 650; opacity: 0.55; margin-left: 4px; }
.chip.on { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.dir-search { flex: none; width: 280px; height: 38px; border-radius: 9px; border: 1px solid var(--line); background: var(--ink); color: var(--text); font: inherit; font-size: 14px; padding: 0 12px; }
.dir-group { margin-bottom: 52px; }
.dir-group > h2 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 750; margin-bottom: 18px; }
.int-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 12px; }
.int-card { border: 1px solid var(--line-2); border-radius: 16px; background: var(--card); text-decoration: none; display: flex; flex-direction: column; overflow: hidden; transition: border-color 0.15s, transform 0.15s; }
.int-card:hover { border-color: var(--text); transform: translateY(-2px); }
.int-card .lg { height: 108px; display: grid; place-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); position: relative; background: #fff; color: var(--ink); }
.int-card .lg img { height: 40px; width: 72%; object-fit: contain; }
.int-card.featured .lg img { height: 50px; }
.int-card .lg .wordmark { font-weight: 800; font-size: 19px; letter-spacing: -0.03em; text-align: center; color: var(--ink); }
.int-card .lg .tag { position: absolute; top: 10px; left: 10px; }
.int-card .lg .tag:not(.tag-gold):not(.tag-green) { background: #f1f0f5; color: #3a3946; border-color: rgba(17, 16, 25, 0.14); }
.int-card .in { padding: 14px 16px 16px; }
.int-card b { font-size: 15px; font-weight: 750; }
.int-card p { margin: 4px 0 0; font-size: 13px; color: var(--muted); line-height: 1.4; }
.int-card.featured .lg { height: 140px; }
.int-pair { display: flex; align-items: center; justify-content: center; padding: 56px 28px; min-height: 380px; border: 1px solid var(--line-2); border-radius: var(--radius); background: radial-gradient(ellipse at 50% 45%, rgba(252, 215, 64, 0.12), transparent 62%), var(--card); }
.pair-tile { flex: none; width: 168px; height: 168px; border-radius: 34px; background: #fff; display: grid; place-items: center; padding: 28px; box-shadow: var(--shadow); }
.pair-tile img { width: 100%; height: 62px; object-fit: contain; }
.pair-tile .wordmark { color: var(--ink); font-weight: 850; font-size: 22px; letter-spacing: -0.03em; text-align: center; line-height: 1.1; }
.pair-town { background: var(--ink); border: 1px solid var(--line-2); }
.pair-town img { height: 54px; }
.pair-link { flex: 1 1 auto; max-width: 170px; min-width: 70px; height: 2px; position: relative; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); }
.pair-link span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--ink); color: var(--muted); font-size: 11.5px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.int-hero-logo { width: 132px; height: 132px; border-radius: 28px; background: #fff; color: var(--ink); display: grid; place-items: center; padding: 20px; margin-bottom: 28px; box-shadow: var(--shadow); }
.int-hero-logo img { max-height: 46px; }
.int-hero-logo .wordmark { font-weight: 850; font-size: 19px; letter-spacing: -0.03em; text-align: center; line-height: 1.1; }
.int-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* stack builder */
.sb { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 18px; align-items: start; }
.sb-step { border: 1px solid var(--line-2); border-radius: 18px; padding: 24px; background: var(--card); margin-bottom: 14px; }
.sb-step h3 { font-size: 17px; }
.sb-step p { margin: 6px 0 14px; color: var(--muted); font-size: 14.5px; }
.sb-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-opt { height: 38px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text); }
.sb-opt.on { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.sb-out { position: sticky; top: 100px; border: 1px solid rgba(252, 215, 64, 0.55); border-radius: 20px; padding: 28px; background: linear-gradient(180deg, rgba(252, 215, 64, 0.08), var(--card)); }
.sb-out h3 { font-size: 22px; }
.sb-out ul { list-style: none; margin: 18px 0; display: grid; gap: 10px; }
.sb-out li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.sb-out li span { color: var(--muted); }
.sb-out li b.ok { color: var(--green); }
.sb-out li b.soon { color: var(--gold); }

/* ---------- prose (articles, docs, legal) ---------- */
.prose { font-size: 17.5px; line-height: 1.7; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose p { color: color-mix(in srgb, var(--text) 86%, transparent); }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.55em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.035em; margin-top: 2em; font-weight: 800; }
.prose h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; margin-top: 1.6em; font-weight: 750; }
.prose h4 { font-size: 17px; margin-top: 1.4em; font-weight: 750; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--faint); }
.prose a { color: var(--text); text-decoration-color: var(--gold); text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.prose strong, .prose b { font-weight: 700; color: var(--text); }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.prose caption { text-align: left; font-weight: 700; padding-bottom: 10px; }
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: 14px; border: 1px solid var(--line); }
.prose figcaption { font-size: 13.5px; color: var(--faint); margin-top: 10px; }
.prose code { font-size: 0.88em; background: var(--card-2); padding: 2px 6px; border-radius: 6px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose .note, .note { border: 1px solid var(--line-2); border-left: 4px solid var(--gold); border-radius: 12px; padding: 18px 20px; background: var(--card); font-size: 16px; }
.note h4, .note .note-title { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 8px; font-weight: 750; }
.prose img { border-radius: 12px; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.toc { border: 1px solid var(--line-2); border-radius: 16px; padding: 20px 22px; background: var(--card); font-size: 15px; }
.toc b { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); display: block; margin-bottom: 10px; }
.toc ol { padding-left: 1.2em; display: grid; gap: 6px; }
.toc a { text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--text); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
.article-side { position: sticky; top: 104px; display: grid; gap: 16px; }
.side-cta { border-radius: 16px; padding: 22px; background: var(--ink); color: var(--paper); }
.side-cta b { font-size: 18px; letter-spacing: -0.02em; display: block; }
.side-cta p { font-size: 14px; color: rgba(241, 240, 245, 0.7); margin: 8px 0 16px; }

/* blog index */
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post { border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: var(--card); text-decoration: none; display: flex; flex-direction: column; transition: border-color 0.15s, transform 0.15s; }
.post:hover { border-color: var(--text); transform: translateY(-2px); }
.post .p-media { aspect-ratio: 16 / 9; background: var(--ink-3); overflow: hidden; }
.post .p-media img { width: 100%; height: 100%; object-fit: cover; }
.post .p-media.ph { display: grid; place-items: center; background: linear-gradient(135deg, #22212d, #14131b); }
.post .p-media.ph span { font-size: 44px; font-weight: 850; letter-spacing: -0.05em; color: var(--gold); padding: 0 24px; text-align: center; line-height: 1; }
.post .p-in { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.post small { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.post h3 { margin-top: 10px; font-size: 18.5px; line-height: 1.28; letter-spacing: -0.02em; font-weight: 750; }
.post p { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.post .p-foot { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--faint); }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 270px minmax(0, 1fr) 220px; gap: 48px; align-items: start; padding: 40px 0 120px; }
.docs.no-toc { grid-template-columns: 270px minmax(0, 1fr); }
.docs-nav { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; padding-right: 8px; font-size: 14px; }
.docs-nav input { width: 100%; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); font: inherit; font-size: 14px; padding: 0 12px; color: var(--text); margin-bottom: 18px; }
.docs-nav h4 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin: 18px 0 6px; font-weight: 750; }
.docs-nav ul { list-style: none; display: grid; gap: 1px; }
.docs-nav a { display: block; padding: 6px 10px; border-radius: 8px; text-decoration: none; color: var(--muted); line-height: 1.35; }
.docs-nav a:hover { color: var(--text); background: var(--card-2); }
.docs-nav a.on { color: var(--text); background: var(--card-2); font-weight: 650; box-shadow: inset 2px 0 0 var(--gold); }
.docs-toc { position: sticky; top: 96px; font-size: 13.5px; }
.docs-toc b { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); display: block; margin-bottom: 10px; }
.docs-toc a { display: block; padding: 4px 0; color: var(--muted); text-decoration: none; }
.docs-toc a:hover { color: var(--text); }
.docs-main h1 { font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -0.04em; line-height: 1.05; }
.docs-main .lead { margin-top: 16px; font-size: 18px; }
.docs-main .prose { margin-top: 36px; font-size: 16.5px; }
.docs-main .prose h2 { font-size: 26px; }
.docs-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; }
.docs-pager a { border: 1px solid var(--line-2); border-radius: 14px; padding: 16px 18px; text-decoration: none; }
.docs-pager a:hover { border-color: var(--text); }
.docs-pager small { display: block; font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.docs-pager .next { text-align: right; }
.key { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; background: #e5484d; color: #fff; font-size: 12.5px; font-weight: 800; vertical-align: 1px; }
.keylist { list-style: none; display: grid; gap: 8px; padding: 0 !important; }
.keylist li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.docs-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 80px 0 40px; background: var(--ink); margin-top: 0; }
.foot-top { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-brand img { height: 34px; width: auto; }
.foot-brand p { margin-top: 18px; color: var(--muted); font-size: 14.5px; max-width: 290px; }
.foot-brand .contact { display: grid; gap: 6px; font-size: 14.5px; margin-top: 18px; }
.foot-brand .contact a { color: var(--text); text-decoration: none; }
.foot h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 750; margin-bottom: 16px; }
.foot ul { list-style: none; display: grid; gap: 10px; font-size: 14.5px; }
.foot ul a { color: var(--muted); text-decoration: none; }
.foot ul a:hover { color: var(--text); text-decoration: underline; }
.ask-ai { margin-top: 56px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.ask-ai b { font-size: 17px; letter-spacing: -0.02em; display: block; }
.ask-ai p { margin: 4px 0 0; color: var(--muted); font-size: 14px; max-width: 520px; }
.ask-ai .ctas { gap: 8px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 26px; font-size: 13px; color: var(--faint); }
.foot-legal nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot-legal a { color: var(--muted); text-decoration: none; }
.foot-legal a:hover { color: var(--text); }

/* ---------- related links ---------- */
.rel { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.rel a { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); display: inline-flex; align-items: center; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.rel a:hover { color: var(--text); border-color: var(--text); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .docs, .docs.no-toc { grid-template-columns: 240px minmax(0, 1fr); }
  .docs-toc { display: none; }
  .phones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phones figure:nth-child(n+4) { display: none; }
}
@media (max-width: 980px) {
  .sec { padding: 84px 0; }
  .hero { padding: 56px 0 72px; }
  .hero-grid, .split, .split.rev, .faq, .calc, .plan-wrap, .cta-band, .sb, .article-grid { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .split + .split { margin-top: 84px; }
  .split.rev .split-media { order: 0; }
  .devices { width: 100%; max-width: 560px; margin: 12px auto 0; }
  .stats, .steps.s4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards, .pains, .results, .post-list, .cards.c4, .docs-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.c5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .rail-4, .rail-3 { grid-auto-columns: minmax(260px, 46%); }
  .faq .head, .article-side { position: static; }
  .head-row { flex-direction: column; align-items: start; }
  .cta-band .cb-media { min-height: 260px; }
  .cta-band .cb-copy { padding: 40px 30px; }
  .docs, .docs.no-toc { grid-template-columns: 1fr; padding-top: 24px; }
  .docs-nav { position: static; max-height: none; border: 1px solid var(--line-2); border-radius: 14px; padding: 14px; }
  .dir-bar { flex-direction: column; align-items: stretch; top: 82px; }
  .dir-search { width: 100%; }
  .bills { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .sec { padding: 68px 0; }
  .cards, .cards.c2, .cards.c4, .pains, .results, .post-list, .docs-home-grid { grid-template-columns: 1fr; }
  .cards.c5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats, .stats.stats-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 18px 16px 16px; }
  .stat b { font-size: clamp(26px, 8vw, 34px); }
  .stat { padding: 18px 16px; }
  .plan .ticks, .steps.s4 { grid-template-columns: 1fr; }
  .plan { padding: 26px 22px; }
  .rail-4, .rail-3, .rail { grid-auto-columns: 82%; }
  .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phones figure:nth-child(n+3) { display: none; }
  .hero-phones .dev-phone { width: 150px !important; }
  .hero-phones .dev-phone:nth-child(3) { display: none; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .hero-form { flex-direction: column; }
  .hero-form input { height: 46px; }
  .result { min-height: 340px; }
}

/* ---------- hero variants ---------- */
.devices.no-phone { aspect-ratio: auto; }
.devices.no-phone .dev-browser { position: relative; right: auto; top: auto; width: 100%; }
.hero-pp > img { aspect-ratio: 5 / 4.4; }
.hero-pp .dev-phone { width: 200px; right: -4%; bottom: -40px; }
.hero-shot img { max-height: 560px; object-fit: cover; object-position: top; }
.hero-shot.trim-bottom img { aspect-ratio: 1024 / 450; }  /* video still: hides the burned-in subtitle along the bottom */

/* ---------- help center content ---------- */
.prose .hc-where { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 14px; background: var(--card); }
.prose .hc-where span { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 750; color: var(--faint); margin-right: 6px; }
.prose .hc-where i { font-style: normal; color: var(--faint); }
.prose .hc-where b { color: var(--text); }
.prose .hc-note { border: 1px solid var(--line-2); border-left: 4px solid var(--gold); border-radius: 12px; padding: 14px 18px; background: var(--card); font-size: 15.5px; }
.prose .hc-note.warn { border-left-color: var(--red); }
.prose .hc-note b { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.prose .hc-note p { margin: 0; }
.prose .hc-fields { display: grid; grid-template-columns: minmax(140px, 0.4fr) 1fr; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; font-size: 15px; }
.prose .hc-fields dt, .prose .hc-fields dd { margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.prose .hc-fields dt { font-weight: 700; background: var(--card-2); }
.prose .hc-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; background: #e5484d; color: #fff; font-size: 12.5px; font-weight: 800; vertical-align: 1px; }
.prose ol.hc-legend { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.prose ol.hc-legend li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: start; margin: 0; }
.prose ol.hc-legend li b { margin-right: 6px; }
.prose ol.hc-steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 10px; }
.prose ol.hc-steps li { counter-increment: s; position: relative; padding-left: 40px; margin: 0; }
.prose ol.hc-steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 8px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.prose figure.hc-shot { margin: 1.4em 0 0.8em; }
.prose figure.hc-shot img { width: 100%; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.docs-main .prose { color: var(--text); }
@media (max-width: 640px) { .int-pair { min-height: 0; padding: 32px 14px; } .pair-tile { width: 108px; height: 108px; border-radius: 24px; padding: 16px; } .pair-tile img { height: 40px; } .pair-town img { height: 34px; } .pair-link { min-width: 56px; } .pair-link span { font-size: 10px; padding: 4px 8px; } }

/* ---------------- lead forms (same fields as town.club; leads.js sends them) ---------------- */
.hero-grid.hero-grid-form { align-items: start; }
.form-card { background: linear-gradient(180deg, rgba(241, 240, 245, .055), rgba(241, 240, 245, .025)); border: 1px solid var(--line-2);
  border-radius: 22px; padding: 28px 28px 24px; box-shadow: var(--shadow); scroll-margin-top: 110px; }
.form-card .form-title { font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.form-card .form-sub { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.form-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form-copy .form-aside { margin-top: 22px; color: var(--muted); font-size: 15px; }
.lead-form label { display: block; font-size: 13.5px; font-weight: 650; color: var(--paper); margin: 14px 0 7px; }
.lead-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form input:not([type=checkbox]), .lead-form textarea {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(17, 16, 25, .55); color: var(--text); font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.lead-form textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--faint); }
.lead-form input:not([type=checkbox]):focus, .lead-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(252, 215, 64, .2); }
.lead-form .sms-optin { margin-top: 16px; padding: 14px 14px 12px; border-radius: 13px; background: rgba(241, 240, 245, .03); border: 1px solid var(--line); }
.lead-form .sms-optin label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 13px; line-height: 1.45; color: var(--muted); margin: 0 0 10px; cursor: pointer; }
.lead-form .sms-optin input { flex: none; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--gold); }
.lead-form .sms-optin p { font-size: 11.5px; line-height: 1.5; color: var(--faint); margin: 2px 0 0; }
.lead-form button[type=submit] { width: 100%; justify-content: center; margin-top: 20px; }
.lead-form button[type=submit]:disabled { opacity: .7; cursor: progress; }
.lead-form .fine { font-size: 12px; line-height: 1.5; color: var(--faint); margin-top: 12px; }
.lead-form a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.lead-form .note { padding: 8px 2px; }
.lead-form .note h4 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--paper); }
.lead-form .note p { margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (max-width: 980px) { .form-split { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .lead-form .form-row { grid-template-columns: 1fr; gap: 0; } .form-card { padding: 22px 18px 20px; } }

/* ---------- login help (/login) ---------- */
.login-help { max-width: 640px; margin: 40px auto 0; }
.addr { display: flex; align-items: center; height: 66px; padding: 0 24px; border-radius: 999px; background: #fff; color: #111019; font-size: 25px; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(241, 240, 245, 0.14), 0 0 0 8px rgba(252, 215, 64, 0.08), 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.addr-lock { width: 16px; height: 16px; margin-right: 12px; flex: none; color: #8a8993; }
.addr-domain { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.addr-path { flex: none; margin-left: 3px; padding: 1px 9px 3px; border-radius: 9px; background: var(--gold); color: #111019; }
.login-go { margin-top: 30px; text-align: left; }
.login-go label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.login-go-row { display: flex; gap: 10px; }
.login-go-field { flex: 1; min-width: 0; display: flex; align-items: center; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 12px; transition: border-color .15s; }
.login-go-field:focus-within { border-color: var(--gold); }
.login-go-field input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: inherit; font-size: 16px; padding: 14px 0 14px 16px; outline: none; }
.login-go-field input::placeholder { color: var(--faint); }
.login-go-suffix { padding: 0 16px 0 1px; color: var(--muted); font-weight: 600; }
.login-go-msg { min-height: 1.5em; margin: 10px 0 0; font-size: 14px; color: var(--gold); }
@media (max-width: 600px) {
  .addr { font-size: 19px; height: 56px; padding: 0 18px; }
  .login-go-row { flex-direction: column; }
  .login-go-row .btn { width: 100%; justify-content: center; }
}

/* ---------- help center video guides ---------- */
.prose .vg-list { display: grid; gap: 16px; margin: 26px 0 10px; }
.vg-card { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 22px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.vg-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: #000; }
.vg-play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.vg-play:hover img { transform: scale(1.03); }
.vg-icon { position: absolute; left: 50%; top: 50%; width: 60px; height: 42px; margin: -21px 0 0 -30px; border-radius: 12px; background: rgba(17, 16, 25, 0.86); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); transition: background .15s; }
.vg-icon::after { content: ""; position: absolute; left: 25px; top: 13px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--gold); }
.vg-play:hover .vg-icon, .vg-play:focus-visible .vg-icon { background: var(--gold); }
.vg-play:hover .vg-icon::after, .vg-play:focus-visible .vg-icon::after { border-left-color: #111019; }
.vg-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; background: #000; }
.docs-main .prose .vg-card h2 { font-size: 20px; letter-spacing: -0.02em; margin: 4px 0 6px; }
.prose .vg-card p { margin: 0 0 10px; font-size: 15.5px; color: var(--muted); }
.prose .vg-yt { font-size: 14px; font-weight: 600; }
.prose .vg-app { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.prose .vg-app span { color: var(--muted); font-size: 15px; }
.prose .vg-related { margin-top: 22px; font-size: 15.5px; color: var(--muted); }
@media (max-width: 680px) { .vg-card { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- nav: log in ---------- */
.nav-login { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 0 8px; }
.nav-login:hover { color: var(--text); }
.nav-menu .nav-m-only { display: none; }
@media (max-width: 1040px) {
  .nav-cta .nav-login { display: none; }
  .nav.open .nav-menu .nav-m-only { display: block; }
}
