/* Uptika landing — Fosfor palette, Geist, night hero then light sections. No external requests. */
@font-face { font-family: 'Geist'; src: url('/fonts/Geist-Variable.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/GeistMono-Variable.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }

/* Colour tokens. Night sections (hero, facts, API band, final CTA, footer) are night in both themes; every light section
   reads the second group, which is redefined for dark mode: system preference unless the visitor picked one
   (html[data-theme], set before paint by the inline script in <head>, toggled by landing.js, saved as 'uptika.theme'). */
:root {
  --night: #0A1020; --night-2: #111a2c; --night-3: #18223600;
  --night-line: rgba(246, 250, 255, .09); --night-line-2: rgba(246, 250, 255, .16);
  --night-ink: #F6FAFF; --night-mute: #A6AFBC; --night-faint: #7E8796;
  --green: #3BEA9E; --green-hover: #6FF0B7; --green-dark: #00C680;
  --indigo: #7C8CFF; --indigo-text: #5A65D3;
  --on-green: #0A1020;
  --r: 14px; --r-lg: 20px;
  --wrap: 1180px; --gut: 24px;
  --shadow-night: 0 30px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(246, 250, 255, .06);
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --bg: #FFFFFF; --bg-2: #F6FAFF; --surface: #FFFFFF; --surface-2: #F1F5FB;
  --line: #E1E8F2; --line-2: #D2DBE7;
  --ink: #1C2532; --ink-2: #414A57; --mute: #5F6875; --faint: #6B7481;
  --green-text: #006F46; --green-soft: #E8FDF0;
  --warn-bg: #FFF4E0; --warn-ink: #8A5A00;
  --soon-ink: #5A65D3; --soon-bg: #F3F4FF; --soon-line: #D9DDFB;
  --pop-line: #0A1020; --chip: #0A1020; --chip-ink: #3BEA9E;
  --btn-ink-bg: #1C2532; --btn-ink-fg: #FFFFFF; --btn-ink-hover: #2E3745;
  --code-bg: #F1F5FB;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -12px rgba(16, 24, 40, .14);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1020; --bg-2: #0D1424; --surface: #121A29; --surface-2: #172133;
    --line: #1F2A3D; --line-2: #2A3549;
    --ink: #F6FAFF; --ink-2: #D2DBE7; --mute: #A6AFBC; --faint: #8C95A3;
    --green-text: #3BEA9E; --green-soft: rgba(59, 234, 158, .12);
    --warn-bg: rgba(220, 151, 51, .14); --warn-ink: #E4A548;
    --soon-ink: #A9B4FF; --soon-bg: rgba(142, 158, 255, .12); --soon-line: rgba(142, 158, 255, .3);
    --pop-line: #3BEA9E; --chip: #172133; --chip-ink: #3BEA9E;
    --btn-ink-bg: #F6FAFF; --btn-ink-fg: #0A1020; --btn-ink-hover: #D2DBE7;
    --code-bg: #172133;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 12px 32px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A1020; --bg-2: #0D1424; --surface: #121A29; --surface-2: #172133;
  --line: #1F2A3D; --line-2: #2A3549;
  --ink: #F6FAFF; --ink-2: #D2DBE7; --mute: #A6AFBC; --faint: #8C95A3;
  --green-text: #3BEA9E; --green-soft: rgba(59, 234, 158, .12);
  --warn-bg: rgba(220, 151, 51, .14); --warn-ink: #E4A548;
  --soon-ink: #A9B4FF; --soon-bg: rgba(142, 158, 255, .12); --soon-line: rgba(142, 158, 255, .3);
  --pop-line: #3BEA9E; --chip: #172133; --chip-ink: #3BEA9E;
  --btn-ink-bg: #F6FAFF; --btn-ink-fg: #0A1020; --btn-ink-hover: #D2DBE7;
  --code-bg: #172133;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 12px 32px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 16px/1.6 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: 'ss01'; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .01em; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--green); color: var(--on-green); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; font: 600 15px/1 'Geist', sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s, color .15s; }
.btn:active { transform: translateY(1px); }
.btn-green { background: var(--green); color: var(--on-green); }
.btn-green:hover { background: var(--green-hover); }
.btn-ghost { color: var(--night-ink); border-color: var(--night-line-2); background: rgba(246, 250, 255, .02); }
.btn-ghost:hover { border-color: rgba(246, 250, 255, .32); background: rgba(246, 250, 255, .06); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn svg { width: 16px; height: 16px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--night); color: var(--night-ink); overflow: hidden; isolation: isolate; padding: calc(var(--promo-h) + var(--bar-h) + 88px) 0 0; }   /* the fixed header (promo + bar) sits over it */
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 220px; background: linear-gradient(to bottom, rgba(10, 16, 32, 0), var(--night) 70%); z-index: -1; pointer-events: none; }
.radar { position: absolute; left: 50%; top: -296px; width: 1240px; height: 1240px; margin-left: -620px; z-index: -2; pointer-events: none; }
.radar svg { width: 100%; height: 100%; }
.radar .ring { fill: none; stroke: rgba(246, 250, 255, .055); stroke-width: 1; }
.radar .axis { stroke: rgba(246, 250, 255, .04); stroke-width: 1; }
.sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(59, 234, 158, 0) 0deg, rgba(59, 234, 158, 0) 290deg, rgba(59, 234, 158, .085) 352deg, rgba(59, 234, 158, .16) 359.6deg, rgba(59, 234, 158, 0) 360deg); animation: sweep 12s linear infinite; -webkit-mask: radial-gradient(circle, #000 0 49.6%, transparent 50%); mask: radial-gradient(circle, #000 0 49.6%, transparent 50%); }
@keyframes sweep { to { transform: rotate(360deg); } }
.blip { position: absolute; width: 0; height: 0; animation: blip 12s linear infinite; opacity: .25; }
.blip i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(59, 234, 158, .12); }
.blip b { position: absolute; left: 12px; top: -9px; font: 500 11.5px/18px var(--mono); color: var(--night-mute); white-space: nowrap; padding: 0 7px; border: 1px solid var(--night-line); border-radius: 6px; background: rgba(10, 16, 32, .6); }
.blip b em { font-style: normal; color: var(--green); }
@keyframes blip { 0% { opacity: 1; } 35% { opacity: .55; } 70%, 100% { opacity: .22; } }
.glow { position: absolute; left: 50%; top: 104px; width: 900px; height: 520px; margin-left: -450px; background: radial-gradient(closest-side, rgba(59, 234, 158, .07), rgba(124, 140, 255, .035) 55%, transparent); z-index: -2; pointer-events: none; }

.hero-c { text-align: center; max-width: 860px; margin: 0 auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px; border: 1px solid var(--night-line-2); border-radius: 999px; font-size: 13px; color: var(--night-mute); background: rgba(10, 16, 32, .5); text-decoration: none; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(59, 234, 158, .16); }
.pill:hover { color: var(--night-ink); }
.hero h1 { font-size: clamp(44px, 7.4vw, 88px); letter-spacing: -.045em; line-height: 1.0; margin: 26px 0 22px; font-weight: 650; }
.hero h1 .g { color: var(--green); }
.hero .sub { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--night-mute); max-width: 680px; margin: 0 auto; }
.hero .sub b { color: var(--night-ink); font-weight: 500; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.cta-row .btn { height: 48px; padding: 0 22px; font-size: 15.5px; }
.hero-meta { margin-top: 18px; color: var(--night-faint); }
.hero-meta span + span::before { content: '·'; margin: 0 10px; color: var(--night-line-2); }

.hero-shot { margin: 64px auto 0; max-width: 1180px; padding: 0 var(--gut); position: relative; }
.frame { border-radius: var(--r-lg); overflow: hidden; background: #0d1424; box-shadow: var(--shadow-night); border: 1px solid var(--night-line); }
.frame-bar { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--night-line); background: #0d1424; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(246, 250, 255, .12); }
.frame-bar span { margin: 0 auto; transform: translateX(-24px); font: 500 12px/1 var(--mono); color: var(--night-faint); padding: 6px 12px; border-radius: 7px; background: rgba(246, 250, 255, .04); }
.frame img { width: 100%; height: auto; }

/* ---------- facts strip ---------- */
.facts { background: var(--night); color: var(--night-ink); padding: 56px 0 72px; }
.facts .grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--night-line); }
.facts .f { padding: 22px 20px 0 0; }
.facts .f + .f { padding-left: 20px; border-left: 1px solid var(--night-line); }
.facts b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.facts span { display: block; margin-top: 6px; color: var(--night-mute); font-size: 14px; line-height: 1.45; }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: 112px 0; background: var(--bg); }
.sec.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--green-text); }
.eyebrow .n { color: var(--faint); }
.head { max-width: 720px; }
.head.c { margin: 0 auto; text-align: center; }
.head h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.04em; margin-top: 16px; }
.head p { margin-top: 16px; font-size: 18px; color: var(--mute); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 56px 0 0; padding: 0; list-style: none; }
.step { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.step .k { font: 500 12.5px/1 var(--mono); color: var(--faint); }
.step h3 { font-size: 20px; margin: 18px 0 8px; letter-spacing: -.02em; }
.step p { color: var(--mute); font-size: 15px; }
.step .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--night); color: var(--green); margin-top: 22px; }
.step .ic svg { width: 20px; height: 20px; }
.step:not(:last-child)::after { content: ''; position: absolute; right: -17px; top: 40px; width: 16px; height: 1px; background: var(--line-2); }
.paste { margin-top: auto; position: relative; top: 0; }
.step p { margin-bottom: 22px; }
.paste { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; font: 500 12.5px/1 var(--mono); color: var(--ink-2); background: var(--bg-2); overflow: hidden; white-space: nowrap; }
.paste svg { width: 15px; height: 15px; color: var(--faint); flex: none; }
.paste span { overflow: hidden; text-overflow: ellipsis; }
.paste em { font-style: normal; color: var(--green-text); }

/* feature rows */
.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.feat + .feat { margin-top: 128px; }
.feat.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feat.flip > .txt { order: 2; }
.feat h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.035em; margin-top: 16px; }
.feat .lead { margin-top: 16px; font-size: 17px; color: var(--mute); }
.list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.list li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--green-text); }
.list b { color: var(--ink); font-weight: 600; }
.finding { margin-top: 26px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--surface); box-shadow: var(--shadow); display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 14px; }
.finding .i { width: 28px; height: 28px; border-radius: 8px; background: var(--warn-bg); color: var(--warn-ink); display: grid; place-items: center; }
.finding .i svg { width: 15px; height: 15px; }
.finding b { display: block; font-weight: 600; color: var(--ink); }
.finding span { color: var(--mute); }
.finding .tag { font-family: var(--mono); font-size: 11.5px; color: var(--faint); display: block; margin-bottom: 4px; letter-spacing: .02em; }

.shot { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow); }
.shot img { width: 100%; height: auto; }
.shot.dark { border-color: #1f2839; background: #0A1020; }
.shot-wrap { position: relative; }
.shot-wrap::before { content: ''; position: absolute; inset: -28px -28px -28px -28px; border-radius: 28px; background: radial-gradient(60% 60% at 70% 30%, rgba(59, 234, 158, .10), transparent 70%), radial-gradient(50% 60% at 20% 90%, rgba(124, 140, 255, .08), transparent 70%); z-index: -1; }
.cap { margin-top: 12px; font: 400 12.5px/1.45 var(--mono); color: var(--faint); }

/* night band (live + TV) */
.band { background: var(--night); color: var(--night-ink); padding: 120px 0; overflow: hidden; position: relative; isolation: isolate; }
.band .eyebrow { color: var(--green); }
.band .eyebrow .n { color: var(--night-faint); }
.band .head p, .band .lead { color: var(--night-mute); }
.band .list li { color: var(--night-mute); }
.band .list b { color: var(--night-ink); }
.band .list li svg { color: var(--green); }
.band-rings { position: absolute; right: -320px; top: -260px; width: 900px; height: 900px; z-index: -1; opacity: .9; pointer-events: none; }
.band-rings circle { fill: none; stroke: rgba(246, 250, 255, .05); }
.tv { margin-top: 56px; }
.tv .frame img { aspect-ratio: 16 / 9; object-fit: cover; }
.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.duo .shot { border-color: #1f2839; }

/* cards row (ideas + api) */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.card .in { padding: 32px 32px 28px; }
.card h3 { font-size: 26px; letter-spacing: -.03em; margin-top: 14px; }
.card p { margin-top: 12px; color: var(--mute); font-size: 15.5px; }
.card .media { margin-top: auto; padding: 0 0 0 32px; }
.card .media .shot { border-radius: 12px 0 0 0; border-right: 0; border-bottom: 0; box-shadow: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font: 500 12px/1 var(--mono); padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); background: var(--bg-2); }
.term { margin: auto 32px 32px; border-radius: 12px; background: var(--night); color: var(--night-ink); font: 400 13px/1.7 var(--mono); padding: 18px 20px; overflow-x: auto; border: 1px solid #1f2839; }
.term .p { color: var(--night-faint); }
.term .g { color: var(--green); }
.term .ix { color: #A9B4FF; }
.term .m { color: var(--night-mute); }
.term .row { white-space: pre; }

/* compare: see the table rules further down */

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 0; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; margin-left: auto; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--faint); border-bottom: 1.5px solid var(--faint); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.qa details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.qa details p { padding: 0 40px 24px 0; color: var(--mute); font-size: 15.5px; }

/* final cta */
.final { background: var(--night); color: var(--night-ink); padding: 128px 0 120px; position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.final .radar { top: auto; bottom: -820px; }
.final h2 { font-size: clamp(36px, 5.4vw, 64px); letter-spacing: -.045em; }
.final h2 .g { color: var(--green); }
.final .sub { color: var(--night-mute); font-size: 18px; margin: 18px auto 0; max-width: 560px; }
.form { margin: 40px auto 0; max-width: 560px; display: grid; gap: 10px; text-align: left; }
.form .fields { display: grid; grid-template-columns: 1fr; gap: 10px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--night-mute); }
.field label i { font-style: normal; color: var(--night-faint); }
.input { height: 48px; width: 100%; padding: 0 14px; border-radius: 10px; border: 1px solid var(--night-line-2); background: rgba(246, 250, 255, .04); color: var(--night-ink); font: 400 15.5px/1 'Geist', sans-serif; transition: border-color .15s, background .15s; }
.input::placeholder { color: #6E7786; }
.input:hover { border-color: rgba(246, 250, 255, .26); }
.input:focus { outline: none; border-color: var(--green); background: rgba(246, 250, 255, .06); box-shadow: 0 0 0 3px rgba(59, 234, 158, .16); }
.form .btn { height: 50px; width: 100%; font-size: 16px; margin-top: 6px; }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.form .fine { font-size: 13px; color: var(--night-faint); text-align: center; margin-top: 4px; }
.form .fine a { color: var(--night-mute); }
.err { min-height: 0; color: #FD7871; font-size: 14px; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { display: none; margin: 40px auto 0; max-width: 520px; border: 1px solid rgba(59, 234, 158, .35); background: rgba(59, 234, 158, .06); border-radius: 16px; padding: 28px 26px; }
.done .ok { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: var(--green); color: var(--on-green); }
.done .ok svg { width: 22px; height: 22px; }
.done b { display: block; font-size: 20px; letter-spacing: -.02em; }
.done p { margin-top: 8px; color: var(--night-mute); font-size: 15px; }
.sent .form { display: none; }
.sent .done { display: block; }

/* outline button on light sections */
.btn-line { color: var(--ink); border-color: var(--line-2); background: var(--surface); }
.btn-line:hover { border-color: var(--ink-2); }

/* ---------- more grid ---------- */
.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.mcard { min-width: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 24px; }
.mcard .mi, .gcard .mi { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--chip); color: var(--chip-ink); flex: none; }
.mcard .mi svg, .gcard .mi svg { width: 19px; height: 19px; }
.mcard .mi svg { width: 19px; height: 19px; }
.mcard h3 { font-size: 18px; letter-spacing: -.02em; margin-top: 18px; }
.mcard p { margin-top: 8px; color: var(--mute); font-size: 15px; }

/* api band */
.band-h { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; margin-top: 16px; }
.band .band-lead { margin-top: 16px; font-size: 17px; }
.band .term { margin: 0; padding: 22px 24px; font-size: 13.5px; background: #0d1424; box-shadow: var(--shadow-night); }

/* ---------- pricing ---------- */
.bill { display: flex; width: max-content; margin: 40px auto 0; padding: 4px; gap: 4px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); }
.bill button { height: 40px; padding: 0 18px; border: 0; border-radius: 9px; background: transparent; color: var(--mute); font: 500 14.5px/1 'Geist', sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.bill button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 0 0 1px var(--line); }
.bill .free { font: 600 11.5px/1 var(--mono); color: var(--green-text); background: var(--green-soft); padding: 5px 7px; border-radius: 6px; letter-spacing: .01em; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 32px; align-items: stretch; }
.plan { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 26px 22px 24px; }
.plan.pop { border-color: var(--pop-line); box-shadow: 0 0 0 1px var(--pop-line), var(--shadow); position: relative; }
.plan.free { background: var(--bg-2); }
.plan-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan h3 { font-size: 20px; letter-spacing: -.02em; }
.plan .tag { font: 600 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--on-green); background: var(--green); padding: 6px 8px; border-radius: 6px; white-space: nowrap; }
.plan .blurb { margin-top: 8px; color: var(--mute); font-size: 14.5px; min-height: 44px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 20px; }
.price b { font-size: 38px; font-weight: 650; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { color: var(--mute); font-size: 15px; }
.pnote { margin-top: 8px; font: 400 12.5px/1.4 var(--mono); color: var(--faint); min-height: 18px; }
.plan .btn { margin-top: 22px; width: 100%; }
.plist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; border-top: 1px solid var(--line); padding-top: 20px; }
.plist li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.plist li svg { width: 15px; height: 15px; margin-top: 2px; color: var(--green-text); }
.plist li.off { color: var(--faint); }
.plist li.off svg { color: var(--faint); }
.plist .soon { font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--soon-ink); border: 1px solid var(--soon-line); background: var(--soon-bg); padding: 3px 5px; border-radius: 5px; margin-left: 4px; vertical-align: 1px; }
.allplans { margin: 22px auto 0; max-width: 760px; text-align: center; color: var(--mute); font-size: 14.5px; }
.pinfo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; margin-top: 40px; }
.pinfo h3 { font-size: 18px; letter-spacing: -.02em; }
.trial { border-radius: var(--r-lg); background: var(--night); color: var(--night-ink); border: 1px solid var(--line); padding: 28px 26px; display: flex; flex-direction: column; align-items: flex-start; }
.trial p { margin-top: 10px; color: var(--night-mute); font-size: 15px; }
.trial .btn { margin-top: auto; }
.trial p + .btn { margin-top: 22px; }
.addons-box { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); padding: 26px; }
.addons-box .muted { margin-top: 6px; color: var(--mute); font-size: 14.5px; }
.addons { margin-top: 16px; display: grid; gap: 8px; }
.addon { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.addon b { display: block; font-size: 15px; font-weight: 600; }
.addon span { display: block; color: var(--mute); font-size: 13.5px; margin-top: 2px; }
.addon .ap { text-align: right; flex: none; }
.addon .ap b { font-variant-numeric: tabular-nums; }
.addon .ap span { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.fine-print { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; line-height: 1.6; }
.fine-print nav { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.fine-print a { color: var(--mute); }
.trx { font: 500 10px/1 var(--mono); letter-spacing: .04em; padding: 2px 4px; border-radius: 4px; border: 1px solid currentColor; opacity: .7; vertical-align: 1px; }
.qa a, .head p a { color: var(--green-text); }

.final .cta-row { margin-top: 36px; }
.final .hero-meta { margin-top: 18px; }

/* reveal */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- legal page ---------- */
.legal { padding: 72px 0 96px; background: var(--bg); color: var(--ink); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -.04em; margin-top: 14px; }
.legal .upd { color: var(--faint); margin-top: 12px; }
.legal h2 { font-size: 21px; letter-spacing: -.02em; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; margin: 10px 0 0; display: grid; gap: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font: 500 12px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--faint); background: var(--bg-2); }
.legal td:first-child { font-weight: 500; color: var(--ink); white-space: nowrap; }
.forget { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.forget .input { flex: 1 1 240px; color: var(--ink); background: var(--surface); border-color: var(--line-2); }
.forget .input:focus { background: var(--surface); }
.forget .btn { height: 48px; background: var(--btn-ink-bg); color: var(--btn-ink-fg); }
.forget .btn:hover { background: var(--btn-ink-hover); }
.forget-msg { margin-top: 10px; font-size: 14px; color: var(--green-text); min-height: 20px; }
.forget-msg.bad { color: #C93436; }
:root[data-theme="dark"] .forget-msg.bad { color: #FD7871; }

/* ---------- screenshots ---------- */
picture { display: block; }
picture img { width: 100%; height: auto; }
.shot figcaption, .frame figcaption { font: 500 11.5px/1.2 var(--mono); letter-spacing: .02em; text-align: right; padding: 8px 12px; }
.shot figcaption { color: var(--faint); background: var(--surface); border-top: 1px solid var(--line); }
.frame { margin: 0; }
.frame figcaption { color: var(--night-faint); background: #0d1424; border-top: 1px solid var(--night-line); }

/* ---------- "what is Uptika" (facts strip) ---------- */
.facts .def { max-width: 860px; margin: 0 0 44px; }
.facts .def h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.03em; }
.facts .def p { margin-top: 12px; font-size: 18px; line-height: 1.6; color: var(--night-mute); }
.facts .def h2 + p { margin-top: 12px; }
.facts .def:only-child { margin: 0 auto; text-align: center; }
.facts .def:only-child p { margin: 0; font-size: clamp(17px, 2vw, 20px); color: var(--night-ink); }

/* ---------- tables (measurement, guides) ---------- */
.tbl { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.tbl table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th, .tbl td { text-align: left; padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.tbl thead th { border-top: 0; font: 500 11.5px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--faint); background: var(--bg-2); }
.tbl tbody th { font-weight: 600; color: var(--ink); }
.tbl td { color: var(--ink-2); }
.mtable { margin-top: 48px; }
.score-note { max-width: 820px; margin: 36px auto 0; text-align: center; }
.score-note h3 { font-size: 20px; letter-spacing: -.02em; }
.score-note p { margin-top: 10px; color: var(--mute); font-size: 16px; }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--green-text); font-weight: 500; font-size: 15px; text-decoration: none; }
.more-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.more-link svg { width: 16px; height: 16px; }

/* ---------- comparison table ---------- */
.cmp { margin-top: 52px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.cmp table { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { text-align: left; padding: 16px 18px; font-size: 15px; line-height: 1.5; vertical-align: top; border-top: 1px solid var(--line); }
.cmp thead th, .cmp thead td { border-top: 0; background: var(--bg-2); font: 500 12px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--faint); padding-top: 14px; padding-bottom: 14px; }
.cmp tbody th { color: var(--ink); font-weight: 500; width: 17%; }
.cmp td { color: var(--mute); }
.cmp .us { color: var(--ink); background: linear-gradient(90deg, rgba(59, 234, 158, .08), rgba(59, 234, 158, .02)); border-left: 1px solid var(--line); width: 33%; }
.cmp thead .us { color: var(--green-text); }
.cmp td.us svg { display: inline-block; width: 16px; height: 16px; margin: 0 8px -3px 0; color: var(--green-text); }

/* ---------- guide cards (landing teaser, hubs, related) ---------- */
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 48px; }
.gcard { display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.gcard:hover { border-color: var(--green-text); }
.gcard h2, .gcard h3 { font-size: 17.5px; line-height: 1.25; letter-spacing: -.02em; margin-top: 16px; }
.gcard p { margin-top: 8px; color: var(--mute); font-size: 14.5px; }
.gcard .go { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px/1.3 var(--mono); color: var(--green-text); }
.gcard .go svg { width: 14px; height: 14px; }
.gcards.hub { margin-top: 18px; }
.gall { margin-top: 26px; text-align: center; }
.gall .more-link { margin-top: 0; }

/* ---------- FAQ: questions are h3 inside <summary> ---------- */
.qa summary h3 { font: inherit; letter-spacing: inherit; line-height: 1.35; margin: 0; }

/* ---------- guide / hub / feature-index pages ---------- */
.page { background: var(--bg); }
.doc { background: var(--bg); color: var(--ink); padding: 36px 0 96px; }
.doc-w { max-width: 800px; }
.hub-w { max-width: 1100px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0; margin: 0; font: 500 12.5px/1.5 var(--mono); color: var(--faint); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs.on-night { margin-bottom: 20px; }
.crumbs.on-night ol { justify-content: center; color: var(--night-faint); }
.crumbs.on-night a { color: var(--night-mute); }
.crumbs.on-night li + li::before { color: var(--night-line-2); }
.doc-h { margin-top: 26px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.doc-h .eyebrow { text-decoration: none; }
.doc-h h1 { font-size: clamp(32px, 4.6vw, 48px); letter-spacing: -.04em; margin-top: 14px; }
.doc-lead { margin-top: 16px; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.doc-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--faint); }
.doc-meta a { color: var(--green-text); }
.toc { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.toc b, .more-guides b { font: 500 12px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.toc ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; color: var(--faint); }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--green-text); }
.prose { margin-top: 8px; }
.prose > h2 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -.03em; margin: 52px 0 0; scroll-margin-top: 84px; }
.prose > h3 { font-size: 19px; letter-spacing: -.02em; margin: 32px 0 0; scroll-margin-top: 84px; }
.prose > p, .prose li { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.prose > p { margin-top: 14px; }
.prose > ul, .prose > ol { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--green-text); text-underline-offset: 2px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose code { font: 500 .86em/1.5 var(--mono); background: var(--code-bg); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink); }
.prose > p > code:only-child { display: block; padding: 14px 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.prose .note { padding: 14px 16px; border-left: 3px solid var(--green); background: var(--bg-2); border-radius: 0 10px 10px 0; }
.prose .tbl { margin-top: 18px; overflow-x: auto; border-radius: var(--r); }
.prose .tbl table { min-width: 480px; }
.terms { margin: 28px 0 0; border-top: 1px solid var(--line); }
.term { padding: 18px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
.term dt { font-weight: 600; font-size: 17px; color: var(--ink); }
.term dfn { font-style: normal; }
.term dd { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.term:target { background: var(--green-soft); }
.doc-qa { margin-top: 12px; }
.sources { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.sources li { font-size: 15px; }
.doc-cta { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: center; justify-content: space-between; padding: 24px; border-radius: var(--r-lg); background: var(--night); color: var(--night-ink); border: 1px solid var(--line); }
.doc-cta b { font-size: 19px; letter-spacing: -.02em; }
.doc-cta p { margin-top: 6px; color: var(--night-mute); font-size: 15px; max-width: 520px; }
.more-guides { margin-top: 40px; }
.more-guides ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.more-guides a { color: var(--green-text); text-underline-offset: 2px; }
.gtools { margin-top: 28px; display: grid; gap: 14px; }
.gsearch { position: relative; max-width: 520px; margin: 0; }
.gsearch svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--faint); }
.gsearch input { width: 100%; height: 46px; padding: 0 14px 0 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 400 15.5px/1 'Geist', sans-serif; }
.gsearch input::placeholder { color: var(--faint); }
.gsearch input:focus { outline: none; border-color: var(--green-text); box-shadow: 0 0 0 3px rgba(59, 234, 158, .16); }
.no-js .gsearch { display: none; }
.gcats { display: flex; flex-wrap: wrap; gap: 8px; }
.gcats a { font: 500 12.5px/1 var(--mono); padding: 8px 11px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); background: var(--bg-2); text-decoration: none; }
.gcats a span { color: var(--faint); margin-left: 4px; }
.gcats a:hover, .gcats a[aria-current="true"] { border-color: var(--green-text); color: var(--green-text); }
.gcat { margin-top: 40px; scroll-margin-top: 84px; }
.gcat h2 { font-size: 22px; letter-spacing: -.02em; }
.gempty { margin-top: 32px; color: var(--mute); }
.gcard[hidden], .gcat[hidden], .gempty[hidden] { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- feature pages ---------- */
.fhero h1 { font-size: clamp(36px, 5.6vw, 64px); letter-spacing: -.045em; }
.fhero .pill { cursor: default; }
.planhint { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 28px 40px; align-items: center; padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); }
.planhint h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; margin-top: 12px; }
.planhint p { margin-top: 12px; color: var(--mute); font-size: 16.5px; }
.planhint-cta { display: grid; gap: 4px; justify-items: start; }
.feature .steps .step p { margin-bottom: 0; }
/* paid-traffic mode (?ad=1, set before paint): logo + CTA only */
.ad .nav, .ad .top-r .langs, .ad .top-r .login, .ad .tseg, .ad .mnav, .ad .promo, .ad .crumbs, .ad .frel, .ad .fcols, .ad .foot-top .langs, .ad .foot-def, .ad .foot-ask .ask, .ad #rehber { display: none !important; }

/* ---------- responsive (content; the header and footer rules are in chrome.css) ---------- */
@media (max-width: 1020px) {
  .feat { grid-template-columns: 1fr; gap: 40px; }
  .feat.flip { grid-template-columns: 1fr; }
  .feat.flip > .txt { order: 0; }
  .feat + .feat { margin-top: 96px; }
  .feat .txt { max-width: 640px; }
  .duo { grid-template-columns: 1fr; gap: 40px; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-left: auto; margin-right: auto; }
  .pinfo { grid-template-columns: 1fr; }
  .more { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .cards { grid-template-columns: 1fr; }
  .facts .grid { grid-template-columns: 1fr 1fr; }
  .facts .f:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts .f:nth-child(n+3) { border-top: 1px solid var(--night-line); margin-top: 22px; }
}
@media (max-width: 600px) {
  :root { --gut: 16px; }
  .hero h1 { margin: 22px 0 18px; }
  .cta-row { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .hero-meta span { display: block; }
  .hero-meta span + span::before { display: none; }
  .hero-shot { margin-top: 44px; }
  .frame { border-radius: 12px; }
  .frame-bar { height: 28px; }
  .frame-bar i { width: 7px; height: 7px; }
  .frame-bar span { font-size: 10.5px; padding: 4px 8px; transform: none; }
  .radar { width: 900px; height: 900px; margin-left: -450px; top: -242px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .blip b { display: none; }
  .sec { padding: 80px 0; }
  .band { padding: 88px 0; }
  .final { padding: 96px 0 88px; }
  .facts { padding: 40px 0 56px; }
  .facts b { font-size: 24px; }
  .facts .f, .facts .f + .f { padding-right: 8px; }
  .facts .f + .f { padding-left: 14px; }
  .facts .f:nth-child(3) { padding-left: 0; }
  .card .in { padding: 24px 20px 22px; }
  .card .media { padding-left: 20px; }
  .term { margin: auto 20px 20px; font-size: 12px; padding: 14px; }
  .term .row { white-space: pre-wrap; }
  .feat + .feat { margin-top: 80px; }
  .shot-wrap::before { inset: -12px; }
  .qa details p { padding-right: 0; }
  .legal td:first-child { white-space: normal; }
  .more { grid-template-columns: 1fr; }
  .bill button { padding: 0 12px; font-size: 14px; }
  .plan { padding: 24px 20px 22px; }
  .addon { flex-direction: column; align-items: flex-start; gap: 6px; }
  .addon .ap { text-align: left; display: flex; gap: 8px; align-items: baseline; }
  .band .term { padding: 16px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sweep, .blip { animation: none; }
  .blip { opacity: .8; }
  .rv { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1180px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 820px) {
  .mtable table, .mtable tbody, .mtable tr, .mtable th, .mtable td { display: block; }
  .mtable thead { display: none; }
  .mtable tr { padding: 14px 16px; border-top: 1px solid var(--line); }
  .mtable tr:first-child { border-top: 0; }
  .mtable tbody th, .mtable td { border: 0; padding: 2px 0; }
  .mtable tbody th { padding-bottom: 6px; }
  .mtable td::before { content: attr(data-l) ' · '; font: 500 11.5px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
  .cmp table, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp thead { display: none; }
  .cmp tr { border-top: 1px solid var(--line); padding: 16px 18px; }
  .cmp tr:first-child { border-top: 0; }
  .cmp tbody th, .cmp td { border: 0; padding: 4px 0; }
  .cmp tbody th { font-weight: 600; padding-bottom: 8px; width: auto; }
  .cmp td::before { content: attr(data-l); display: block; font: 500 11px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--faint); margin-bottom: 3px; }
  .cmp .us { border-left: 0; margin: 8px -18px -16px; padding: 12px 18px 16px; width: auto; }
  .planhint { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 600px) {
  .facts .def { margin-bottom: 32px; }
  .facts .def p { font-size: 16.5px; }
  .doc { padding-top: 24px; }
  .doc-lead { font-size: 17px; }
  .prose > p, .prose li { font-size: 16px; }
  .gcards { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .doc-cta { padding: 20px; }
}

/* =====================================================================================================================
   Site frame v2 (multi-page site): promo bar, header with mega-menus, mobile sheet, home hero, hubs, content blocks,
   pricing page, sitemap, footer. The header is night in both themes; light sections follow the theme tokens.
   ===================================================================================================================== */
.btn-ink { background: var(--btn-ink-bg); color: var(--btn-ink-fg); }
.btn-ink:hover { background: var(--btn-ink-hover); }

/* ---------- home hero ---------- */
.home-hero { padding-top: calc(var(--promo-h) + var(--bar-h) + 76px); }
.home-hero .hero-c { max-width: 1180px; }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border: 1px solid var(--night-line-2); border-radius: 999px; background: rgba(10, 16, 32, .5); font-size: 13.5px; color: var(--night-mute); text-decoration: none; }
.badge:hover { color: var(--night-ink); border-color: rgba(246, 250, 255, .3); }
.badge svg { width: 14px; height: 14px; color: var(--green); }
.home-hero h1 { font-size: clamp(42px, 7.4vw, 104px); letter-spacing: -.05em; line-height: .98; font-weight: 600; margin: 28px 0 26px; }
.home-hero h1 span { display: block; }
.home-hero h1 .m { color: #737D8C; }
.home-hero .sub { max-width: 640px; font-size: clamp(17px, 1.6vw, 21px); }
.xbar { display: flex; align-items: center; gap: 8px; max-width: 660px; margin: 38px auto 0; padding: 6px 6px 6px 18px; border: 1px solid var(--night-line-2); border-radius: 14px; background: rgba(246, 250, 255, .04); transition: border-color .15s, box-shadow .15s; }
.xbar:focus-within { border-color: rgba(59, 234, 158, .55); box-shadow: 0 0 0 3px rgba(59, 234, 158, .14); }
.xbar input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; color: var(--night-ink); font: 400 16px/1 'Geist', sans-serif; outline: none; }
.xbar input::placeholder { color: #6E7786; }
.xbar .btn { flex: none; height: 46px; padding: 0 18px; }
.helper { margin-top: 14px; font-size: 13.5px; color: var(--night-faint); }
.tlinks { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin-top: 20px; }
.tlinks a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--night-ink); text-decoration: none; }
.tlinks a:hover { color: var(--green); }
.tlinks svg { width: 15px; height: 15px; }
.hero-shot.crop { margin-top: 72px; max-height: 600px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.hero-shot.crop .frame { border-radius: 16px 16px 0 0; }

/* ---------- page hero (hubs, solutions, categories, content pages) ---------- */
.phero { padding-top: calc(var(--promo-h) + var(--bar-h) + 56px); }
.phero h1 { font-size: clamp(34px, 5.2vw, 60px); letter-spacing: -.045em; line-height: 1.04; margin: 22px 0 18px; }
.phero .pill { cursor: default; }
.phero.slim { padding-bottom: 72px; }
.phero .hero-meta a { color: var(--night-mute); }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.jump a { font: 500 12.5px/1 var(--mono); padding: 8px 11px; border: 1px solid var(--night-line-2); border-radius: 999px; color: var(--night-mute); text-decoration: none; }
.jump a:hover { color: var(--night-ink); border-color: rgba(246, 250, 255, .3); }
.fhero .cta-row .btn-ghost, .phero .cta-row .btn-ghost { height: 48px; }

/* ---------- home sections ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.pg { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.pg h3 { font-size: 18px; letter-spacing: -.02em; }
.pg p { margin-top: 8px; color: var(--mute); font-size: 14.5px; }
.pg ul { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.pg a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.pg a:hover { color: var(--green-text); }
.feat-h { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.035em; margin-top: 16px; }
.links2 { display: flex; flex-wrap: wrap; gap: 0 24px; }
.links2 .more-link { margin-top: 18px; }
.sgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.scard { position: relative; display: block; padding: 20px 44px 20px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .15s; }
.scard:hover { border-color: var(--green-text); }
.scard b { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -.015em; }
.scard span { display: block; margin-top: 4px; font: 400 12.5px/1.4 var(--mono); color: var(--faint); }
.scard .go { position: absolute; right: 18px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--green-text); }
.cstrip { margin-top: 40px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.cstrip h3 { margin-top: 12px; font-size: 22px; letter-spacing: -.02em; }
.cstrip p { margin-top: 8px; color: var(--mute); font-size: 15px; max-width: 720px; }
.cstrip .more-link { margin-top: 16px; }
.chips.center { justify-content: center; margin-top: 32px; }
.chipl { font: 500 13px/1 'Geist', sans-serif; padding: 9px 13px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); background: var(--bg-2); text-decoration: none; }
.chipl:hover { border-color: var(--green-text); color: var(--green-text); }
.ichips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.ichip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border: 1px solid var(--night-line-2); border-radius: 10px; font-size: 13.5px; color: var(--night-ink-2); background: rgba(246, 250, 255, .03); }
.ichip svg { width: 15px; height: 15px; color: var(--night-faint); }
.band .more-link { color: var(--green); }
.ptiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 44px; }
.ptile { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.ptile.pop { border-color: var(--pop-line); box-shadow: 0 0 0 1px var(--pop-line); }
.ptile b { font-size: 16px; }
.ptile .pp { font-size: 28px; font-weight: 650; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.ptile .pp i { font-style: normal; font-size: 14px; font-weight: 400; color: var(--mute); margin-left: 4px; letter-spacing: 0; }
.ptile .pb { color: var(--mute); font-size: 14px; }
.pteaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 16px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.pteaser b { font-size: 16px; }
.pteaser p { margin-top: 4px; color: var(--mute); font-size: 14.5px; }
.pteaser .more-link { margin-top: 0; }
.more.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.faq .head .more-link { margin-top: 16px; }

/* ---------- hubs, solution and category pages ---------- */
.gcards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.gcard .sub2 { margin-top: 6px; color: var(--faint); font-size: 12px; }
.gcard.big h2 { font-size: 22px; }
.mono-n { font: 500 13px/1 var(--mono) !important; }
.points { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.points li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.points .k { font: 500 13px/1.8 var(--mono); color: var(--faint); }
.points h3 { font-size: 19px; letter-spacing: -.02em; }
.points p { margin-top: 8px; color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: 820px; }
.points a, .bmain .prose a, .bcard p a, .btable a, .tline a, .blinks span a, .cf-fine a { color: var(--green-text); }
sup a { font: 500 11px/1 var(--mono); color: var(--green-text); text-decoration: none; margin-left: 2px; }
.srcs { padding: 56px 0 80px; }
.srcs h2 { font-size: 20px; letter-spacing: -.02em; }
.srcs li { scroll-margin-top: 140px; }
.srcs a { color: var(--green-text); }
.planhint .more-link { margin-top: 6px; }

/* ---------- content pages: blocks ---------- */
.blocks { background: var(--bg); padding: 72px 0 96px; color: var(--ink); }
.blocks .wrap.withtoc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.ptoc { position: sticky; top: calc(var(--promo-h) + var(--bar-h) + 24px); padding: 4px 0; }
.ptoc b { font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.ptoc ol { list-style: none; margin: 14px 0 0; padding: 0 0 0 12px; border-left: 1px solid var(--line); display: grid; gap: 9px; }
.ptoc a { color: var(--mute); text-decoration: none; font-size: 14px; line-height: 1.35; display: block; }
.ptoc a:hover { color: var(--green-text); }
.bmain { min-width: 0; }
.blk { scroll-margin-top: calc(var(--promo-h) + var(--bar-h) + 20px); }
.blk + .blk { margin-top: 72px; }
.blk > .head { max-width: 760px; }
.blk > .head h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 0; }
.blk > .head p { font-size: 16.5px; }
.bp { color: var(--mute); font-size: 16.5px; max-width: 760px; }
.blk .prose { margin-top: 18px; max-width: 800px; }
.blk > .head + .bcards, .blk > .head + .tbl, .blk > .head + .steps, .blk > .head + .qa, .blk > .head + .tline, .blk > .head + .blinks, .blk > .head + .shot, .blk > .head + .cform { margin-top: 28px; }
.bcards { display: grid; gap: 14px; }
.bcards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bcards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bcard { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); text-decoration: none; }
a.bcard:hover { border-color: var(--green-text); }
.bcard .mi { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--chip); color: var(--chip-ink); }
.bcard .mi svg { width: 18px; height: 18px; }
.bcard h3 { margin-top: 16px; font-size: 17px; letter-spacing: -.02em; line-height: 1.3; }
.bcard p { margin-top: 8px; color: var(--mute); font-size: 14.5px; }
.bcard .go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px/1.3 var(--mono); color: var(--green-text); }
.bcard .go svg { width: 14px; height: 14px; }
.tagc { display: inline-block; align-self: flex-start; margin-top: 8px; font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; padding: 5px 7px; border-radius: 6px; color: var(--green-text); background: var(--green-soft); }
.btable { overflow-x: auto; }
.btable table { min-width: 560px; }
.btable td, .ptable td { font-variant-numeric: tabular-nums; }
.bnote { margin-top: 12px; color: var(--faint); font-size: 13.5px; }
.yn { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; vertical-align: middle; }
.yn svg { width: 14px; height: 14px; }
.yn.y { color: var(--green-text); background: var(--green-soft); }
.yn.n { color: var(--faint); }
.bfaq .qa { border-top: 1px solid var(--line); }
.tline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); }
.tline li { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 0 0 32px 26px; }
.tline li::before { content: ''; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.tline time { font: 500 12.5px/1.6 var(--mono); color: var(--faint); }
.tline h3 { font-size: 18px; letter-spacing: -.02em; }
.tline h3 a { color: var(--ink); text-decoration: none; }
.tline h3 a:hover { color: var(--green-text); }
.tline p { margin-top: 6px; color: var(--mute); font-size: 15px; }
.tline .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.blinks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.blinks li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.blinks li > a { color: var(--ink); font-weight: 500; text-decoration: none; }
.blinks li > a:hover { color: var(--green-text); }
.blinks span { color: var(--mute); font-size: 14.5px; }
.bcta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 28px; border-radius: var(--r-lg); background: var(--night); color: var(--night-ink); border: 1px solid var(--line); }
.bcta h2 { font-size: 24px; letter-spacing: -.03em; }
.bcta p { margin-top: 6px; color: var(--night-mute); font-size: 15px; max-width: 560px; }
.bcta a:not(.btn) { color: var(--green); }
/* contact form (light sections) */
.cform { display: grid; gap: 14px; max-width: 680px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform label { display: grid; gap: 6px; font-size: 13.5px; color: var(--mute); }
.cform .input { height: 46px; color: var(--ink); background: var(--bg); border-color: var(--line-2); }
.cform textarea.input { height: auto; min-height: 150px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.cform select.input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--faint) 50%), linear-gradient(135deg, var(--faint) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.cform .input:focus { background: var(--bg); }
.cform .btn { justify-self: start; height: 46px; }
.cform .btn[disabled] { opacity: .65; cursor: progress; }
.cf-msg { min-height: 20px; font-size: 14.5px; color: var(--green-text); }
.cf-msg.bad { color: #C93436; }
:root[data-theme="dark"] .cf-msg.bad { color: #FD7871; }
.cf-fine { font-size: 13px; color: var(--faint); }
.cform.sent label, .cform.sent .btn, .cform.sent .cf-row { display: none; }

/* ---------- pricing page ---------- */
.ptable { overflow-x: auto; margin-top: 40px; }
.ptable table { min-width: 680px; }
.ptable thead th { text-align: center; font: 600 15px/1.2 'Geist', sans-serif; letter-spacing: -.01em; text-transform: none; color: var(--ink); padding: 16px 12px; }
.ptable thead th:first-child { text-align: left; }
.ptable thead th > span { display: block; margin-top: 4px; font: 400 12.5px/1.2 var(--mono); color: var(--faint); }
.ptable thead th.pop { box-shadow: inset 0 3px 0 var(--green); }
.ptable td { text-align: center; }
.ptable thead td { background: var(--bg-2); }
.ptable tbody th { font-weight: 500; }
.ptable tbody th a { color: var(--ink); text-decoration: none; }
.ptable tbody th a:hover { color: var(--green-text); }
.ptable .grp th { font: 500 11.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); background: var(--bg-2); }
.pricing .plans { margin-top: 32px; }

/* ---------- HTML sitemap ---------- */
.smap-g { columns: 3 280px; column-gap: 40px; }
.smap-g section { break-inside: avoid; margin: 0 0 36px; }
.smap-g h2 { font-size: 17px; letter-spacing: -.02em; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.smap-g h2 span { font: 500 12px/1 var(--mono); color: var(--faint); margin-left: 6px; }
.smap-g ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; }
.smap-g a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.smap-g a:hover { color: var(--green-text); }
.smap-m { margin-top: 12px; color: var(--faint); }
.smap-m a { color: var(--green-text); }

.page .doc-cta .btn-light { background: #F6FAFF; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .pgrid, .sgrid { grid-template-columns: 1fr 1fr; }
  .ptiles, .more.four { grid-template-columns: 1fr 1fr; }
  .blocks .wrap.withtoc { grid-template-columns: 1fr; gap: 0; }
  .ptoc { display: none; }
  .bcards.c3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .tline li { grid-template-columns: 1fr; gap: 6px; }
  .cf-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .home-hero { padding-top: calc(var(--promo-h) + var(--bar-h) + 48px); }
  .home-hero h1 { margin: 22px 0 18px; }
  .xbar { flex-direction: column; align-items: stretch; padding: 6px; gap: 6px; }
  .xbar input { padding: 0 10px; font-size: 15px; }
  .xbar .btn { width: 100%; }
  .hero-shot.crop { margin-top: 48px; max-height: 360px; }
  .phero { padding-top: calc(var(--promo-h) + var(--bar-h) + 36px); }
  .phero.slim { padding-bottom: 56px; }
  .pgrid, .sgrid, .ptiles, .more.four, .gcards.two, .bcards.c2, .bcards.c3 { grid-template-columns: 1fr; }
  .points li { grid-template-columns: 1fr; gap: 6px; }
  .blocks { padding: 48px 0 72px; }
  .blk + .blk { margin-top: 56px; }
  .cform { padding: 18px; }
}
@media (max-width: 520px) {
  .smap-g { columns: 1; }
}
