/* NsinNabz landing. One file, no build step. NSIN family design: navy, one cyan, liquid buttons (nsin.ir). */
/* NSIN family base for the Nsincloud and NsinNabz landings (mock v3).
   Tokens and the liquid buttons are nsin.ir's own (landing/src/app/globals.css). */
@font-face { font-family: 'Vazirmatn'; src: url('Vazirmatn-latin.woff2') format('woff2'); font-weight: 400 900; font-display: swap; unicode-range: U+0000-017F, U+2010-2027, U+2030-2044, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Vazirmatn'; src: url('Vazirmatn-arabic.woff2') format('woff2'); font-weight: 400 900; font-display: swap; unicode-range: U+0600-06FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Vazirmatn Mark'; src: url('Vazirmatn-mark.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('IBMPlexMono-Regular-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('IBMPlexMono-Medium-latin.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --canvas: #0c131b; --alt: #0e151e; --inset: #101923; --card: #111a24; --lift: #182634;
  --fg: #e7edf2; --fg-2: #aebccb; --fg-3: #8494a3; --faint: #7d8d9b; --body: #d6e0e9;
  --line: rgba(255, 255, 255, .11); --line-2: rgba(255, 255, 255, .16);
  --cyan: #67e8f9; --cyan-btn: #06b6d4; --on-cyan: #001318;
  --ok: #34d399; --bad: #f87171;
  /* Mono falls back to Vazirmatn for Persian glyphs: Plex has none. */
  --mono: 'IBM Plex Mono', 'Vazirmatn', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--fg); font: 400 16px/1.7 'Vazirmatn', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
[lang="fa"] body { line-height: 1.9; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
code, pre, .mono { font-family: var(--mono); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* Liquid buttons, as on nsin.ir: a slow swirl of cyan inside a pill. */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; border-radius: 999px; font-size: 16px; font-weight: 800; white-space: nowrap; border: 1px solid transparent; transition: transform 200ms cubic-bezier(.2,.8,.2,1), box-shadow 260ms ease, border-color 200ms ease; }
.btn::before { content: ''; position: absolute; inset: -45%; z-index: -2; background: var(--lq-mesh); filter: blur(var(--lq-blur, 16px)) saturate(150%); animation: mesh-swirl var(--lq-speed, 15s) linear infinite; pointer-events: none; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 150% at 50% 50%, rgba(255,255,255,.26), transparent 62%), linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,0) 55%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); opacity: var(--lq-glass, .85); transition: opacity 260ms ease; }
.btn:hover::after { opacity: 1; }
.btn:hover::before { animation-duration: calc(var(--lq-speed, 15s) / 2.5); }
.btn:active { transform: scale(.975); }
.btn-primary { color: #fff; background: var(--cyan-btn); --lq-speed: 15s; --lq-blur: 12px;
  --lq-mesh: radial-gradient(26% 130% at 10% 46%, #cffafe 0%, transparent 60%), radial-gradient(24% 130% at 33% 56%, #075985 0%, transparent 60%), radial-gradient(28% 130% at 56% 42%, #67e8f9 0%, transparent 60%), radial-gradient(24% 130% at 78% 58%, #0c4a6e 0%, transparent 60%), radial-gradient(26% 130% at 96% 44%, #22d3ee 0%, transparent 60%), #0e7490;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset; }
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 8px 26px -10px rgba(34,211,238,.7); }
.btn-ghost { color: var(--cyan); font-weight: 600; border-color: rgba(103,232,249,.35); --lq-speed: 22s; --lq-blur: 16px; --lq-glass: 0;
  --lq-mesh: radial-gradient(26% 130% at 18% 46%, rgba(103,232,249,.34) 0%, transparent 60%), radial-gradient(24% 130% at 52% 56%, rgba(14,165,233,.26) 0%, transparent 60%), radial-gradient(26% 130% at 86% 44%, rgba(34,211,238,.3) 0%, transparent 60%), transparent; }
.btn-ghost:hover { border-color: rgba(103,232,249,.55); }
.btn-sm { height: 38px; padding: 0 20px; font-size: 14px; }
@keyframes mesh-swirl { 0% { transform: rotate(0) scale(1.1); } 50% { transform: rotate(180deg) scale(1.35); } 100% { transform: rotate(360deg) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .btn::before, .btn:hover::before { animation: none; transform: rotate(24deg) scale(1.25); } }
a:focus-visible, .btn:focus-visible, label:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(14,21,30,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 40px; height: 68px; }
.hdr .logo { height: 28px; width: auto; display: block; }
.hdr nav { display: flex; gap: 28px; font-size: 14.5px; color: var(--fg-2); }
.hdr nav a:hover { color: var(--fg); }
.hdr .end { margin-inline-start: auto; display: flex; align-items: center; gap: 20px; font-size: 14.5px; }
.hdr .signin { color: var(--fg-2); }
.hdr .signin:hover { color: var(--fg); }
@media (max-width: 920px) { .hdr nav { display: none; } }
@media (max-width: 480px) { .hdr .signin { display: none; } }

/* EN / فا: one round button showing the other language, pinned bottom-right like nsin.ir. */
.lang { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 48px; height: 48px; padding: 0; font-size: 13px; font-weight: 700; background: rgba(16,25,35,.8); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -12px rgba(0,0,0,.8); }
.lang.to-fa { font-family: 'Vazirmatn Mark', 'Vazirmatn', sans-serif; }

/* Small mono line above a heading: where you are. */
.path { font: 400 13px/1.4 var(--mono); color: var(--fg-3); }
.path b { font-weight: 400; color: var(--cyan); }

.section { padding: 120px 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--alt); }
.section h2 { margin-top: 16px; font-size: 44px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; max-width: 20ch; }
[lang="fa"] .section h2 { letter-spacing: 0; line-height: 1.35; font-size: 40px; }
.lede { margin-top: 18px; font-size: 18px; line-height: 1.75; color: var(--fg-2); max-width: 38rem; }
@media (max-width: 640px) { .section { padding: 80px 0; } .section h2, [lang="fa"] .section h2 { font-size: 30px; } .lede { font-size: 16.5px; } }

/* Hairline tiles */
.tiles { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tiles > * { background: var(--card); padding: 32px; transition: background-color .15s var(--ease); }
.tiles > *:hover { background: var(--lift); }
.tiles h3 { font-size: 18px; font-weight: 700; line-height: 1.4; }
.tiles p { margin-top: 10px; font-size: 15px; line-height: 1.75; color: var(--fg-2); }
.t3 { grid-template-columns: repeat(3, 1fr); }
.t4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .t3, .t4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .t3, .t4 { grid-template-columns: 1fr; } .tiles > * { padding: 24px; } }

.checks { margin-top: 32px; display: grid; gap: 16px; }
.checks li { position: relative; padding-inline-start: 28px; color: var(--fg-2); font-size: 16px; }
.checks li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--ok); font-weight: 700; }

.close { padding: 128px 0; border-top: 1px solid var(--line); text-align: center; }
.close h2 { font-size: 48px; line-height: 1.12; font-weight: 900; letter-spacing: -.02em; max-width: 18ch; margin: 0 auto; }
[lang="fa"] .close h2 { letter-spacing: 0; line-height: 1.4; font-size: 42px; }
.close p { margin: 18px auto 0; font-size: 18px; color: var(--fg-2); max-width: 34rem; }
.close .acts { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) { .close { padding: 88px 0; } .close h2, [lang="fa"] .close h2 { font-size: 32px; } }

.ftr { background: var(--alt); border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 14px; color: var(--fg-2); }
.ftr-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ftr .logo { height: 28px; width: auto; }
.ftr .tagline { margin-top: 14px; color: var(--fg-3); max-width: 28ch; }
.ftr h4 { margin-bottom: 14px; font: 500 12.5px var(--mono); color: var(--cyan); }
.ftr li + li { margin-top: 8px; }
.ftr a:hover { color: var(--cyan); }
.ftr .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font: 400 12px var(--mono); color: var(--faint); }
@media (max-width: 760px) { .ftr-in { grid-template-columns: 1fr 1fr; } .ftr-in > :first-child { grid-column: 1 / -1; } }

/* hero shared */
.hero { padding: 112px 0 120px; }
.hero .kicker { font: 400 13px var(--mono); color: var(--fg-3); }
.hero h1 { margin-top: 20px; font-size: 68px; line-height: 1.04; font-weight: 900; letter-spacing: -.035em; }
[lang="fa"] .hero h1 { letter-spacing: 0; line-height: 1.3; font-size: 60px; }
.hero .sub { margin-top: 24px; font-size: 18.5px; line-height: 1.75; color: var(--fg-2); max-width: 32rem; }
.hero .acts { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
@media (max-width: 1000px) { .hero { padding: 64px 0 80px; } .hero-in { grid-template-columns: 1fr; gap: 48px; } .hero h1 { font-size: 48px; } [lang="fa"] .hero h1 { font-size: 42px; } }

/* A product window */
.win { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); min-width: 0; }
.win-h { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 18px; border-bottom: 1px solid var(--line); font: 400 12.5px var(--mono); color: var(--fg-3); }
.win-h b { font-weight: 400; color: var(--fg); }
.win-h .end { margin-inline-start: auto; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.hero-in > * { min-width: 0; }

/* ---- shared by both landings: code box, FAQ, price table ---- */
.code { background: var(--inset); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; min-width: 0; direction: ltr; }
.code-h { display: flex; justify-content: space-between; height: 38px; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--line); font: 400 11.5px var(--mono); color: var(--faint); }
.code-h b { font-weight: 400; color: var(--cyan); }
.code pre { margin: 0; padding: 20px 16px; font: 400 13px/1.95 var(--mono); color: #a7b7c4; overflow-x: auto; }
.code .c { color: #5f7080; }
.code .g { color: var(--ok); }
.code .y { color: var(--cyan); }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.faq-wrap { max-width: 860px; }
.faq { margin-top: 48px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.faq details { background: var(--card); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: 16.5px; font-weight: 700; transition: background-color .15s var(--ease); }
.faq summary:hover { background: var(--lift); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font: 400 20px/1 var(--mono); color: var(--cyan); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--fg-2); font-size: 15.5px; line-height: 1.8; }
.faq summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }

.rates { margin-top: 48px; border: 1px solid var(--line); background: var(--card); overflow-x: auto; }
.rates table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rates caption { text-align: start; padding: 18px 20px 6px; font-weight: 700; }
.rates th, .rates td { padding: 12px 20px; text-align: start; border-top: 1px solid var(--line); white-space: nowrap; }
.rates thead th { font-size: 13px; font-weight: 500; color: var(--fg-3); border-top: 0; }
.rates tbody th { font-weight: 600; }
.rates td { font-variant-numeric: tabular-nums; font-weight: 600; }
.rates .u { color: var(--fg-3); font-weight: 400; }
@media (max-width: 560px) { .rates th, .rates td { padding: 10px 12px; } .rates .u { display: none; } .rates tbody th { white-space: normal; } }
.price-note { margin-top: 20px; font-size: 14.5px; color: var(--fg-3); }
.price-note a { color: var(--cyan); }
/* Hidden above the page, not beside it: off to one side would widen an RTL page. */
.skip { position: absolute; top: -80px; inset-inline-start: 16px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--cyan-btn); color: var(--on-cyan); font-weight: 700; }
.skip:focus { top: 8px; }
/* NsinNabz page parts (mock v3) */

/* hero: the dashboard card, one chart drawn with care */
.dash .body { padding: 22px 22px 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.kpi span { display: block; font-size: 13px; color: var(--fg-3); }
.kpi b { display: block; margin-top: 4px; font-size: 24px; line-height: 1.2; font-weight: 800; font-variant-numeric: tabular-nums; }
.kpi em { display: block; margin-top: 2px; font-style: normal; font-size: 12.5px; color: var(--ok); }
.kpi em.flat { color: var(--fg-3); }
.kpi.on b { color: var(--cyan); }
.chart { position: relative; margin-top: 24px; direction: ltr; }
.chart svg { display: block; width: 100%; height: 220px; overflow: visible; }
.chart .grid line { stroke: rgba(255,255,255,.07); }
.chart .prev { fill: none; stroke: var(--fg-3); stroke-opacity: .55; stroke-width: 1.5; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.chart .now { fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart .area { fill: url(#fillNow); }
.chart .guide { stroke: rgba(103,232,249,.35); stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.chart .dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--canvas); border: 2px solid var(--cyan); }
.chart .tip { position: absolute; transform: translate(-50%, calc(-100% - 14px)); padding: 8px 12px; border-radius: 8px; background: var(--lift); border: 1px solid var(--line-2); font-size: 12.5px; line-height: 1.5; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(0,0,0,.7); }
.chart .tip b { display: block; font-size: 14px; color: var(--fg); font-variant-numeric: tabular-nums; }
.chart .tip span { color: var(--fg-3); }
[lang="fa"] .chart .tip { direction: rtl; }
.axis { display: flex; justify-content: space-between; margin-top: 10px; font: 400 12px var(--mono); color: var(--faint); }
.legend { display: flex; gap: 20px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--fg-3); }
.legend i { display: inline-block; width: 16px; height: 0; margin-inline-end: 8px; vertical-align: middle; border-top: 2.5px solid var(--cyan); }
.legend i.p { border-top: 1.5px dashed var(--fg-3); }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr 1fr; gap: 16px; } .chart svg { height: 160px; } .axis span:nth-child(even) { visibility: hidden; } }

/* NSIN: one click */
.nsin { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.nsteps { margin-top: 36px; counter-reset: s; display: grid; gap: 24px; }
.nsteps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.nsteps li::before { counter-increment: s; content: '0' counter(s); font: 500 14px/1.8 'IBM Plex Mono', monospace; color: var(--cyan); }
.nsteps b { font-size: 17px; font-weight: 700; }
.nsteps p { margin-top: 2px; color: var(--fg-2); font-size: 15.5px; }
.other { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--fg-3); }
.other code { display: block; margin-top: 10px; padding: 12px 14px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); font-size: 12.5px; color: #a7b7c4; direction: ltr; text-align: left; overflow-x: auto; white-space: nowrap; }
.picker .body { padding: 8px 0; }
.dom { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px 22px; }
.dom + .dom { border-top: 1px solid var(--line); }
.dom b { display: block; font-size: 15px; font-weight: 600; direction: ltr; text-align: start; }
[lang="fa"] .dom b { text-align: right; }
.dom span { display: block; font-size: 13px; color: var(--fg-3); }
.dom span.on { color: var(--ok); }
.sw { position: relative; width: 40px; height: 22px; border-radius: 11px; background: var(--lift); border: 1px solid var(--line-2); }
.sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--fg-3); transition: transform .2s var(--ease); }
.sw.on { background: var(--cyan-btn); border-color: transparent; }
.sw.on::after { transform: translateX(18px); background: #fff; }
.picker .foot { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); }
.picker .foot svg { width: 16px; height: 16px; stroke: var(--ok); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (max-width: 960px) { .nsin { grid-template-columns: 1fr; gap: 48px; } }

/* replay: really plays (replay.js) */
.rp { margin-top: 56px; }
.rp-body { display: grid; grid-template-columns: 1fr 340px; }
.screen { position: relative; padding: 24px; background: var(--inset); border-inline-end: 1px solid var(--line); }
.page { position: relative; background: #fbfaf7; color: #1d1b18; border-radius: 6px; padding: 18px 22px 24px; }
.pg-nav { display: flex; justify-content: space-between; font-size: 12px; color: #76706a; }
.pg-nav b { color: #1d1b18; font-weight: 800; }
.pg-main { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.photo { aspect-ratio: 1 / 1; border-radius: 6px; background: #ebe5da; display: grid; place-items: center; }
.photo svg { width: 76%; }
[dir="rtl"] .photo svg { transform: scaleX(-1); }
.crumb { font-size: 11.5px; color: #76706a; }
.pg-info h3 { margin-top: 6px; font-size: 21px; line-height: 1.3; font-weight: 800; }
.price { margin-top: 6px; font-size: 16px; font-variant-numeric: tabular-nums; }
.sizes { margin-top: 18px; display: flex; gap: 6px; }
.sizes span { width: 40px; height: 34px; display: grid; place-items: center; border-radius: 6px; border: 1px solid rgba(29,27,24,.16); font-size: 12.5px; transition: box-shadow .15s, border-color .15s; }
.sizes .on { border-color: #1d1b18; box-shadow: inset 0 0 0 1px #1d1b18; }
.add { margin-top: 18px; height: 44px; border-radius: 6px; background: #1d1b18; color: #fbfaf7; display: grid; place-items: center; font-size: 14px; font-weight: 700; transition: transform .12s; }
.add.press { transform: scale(.97); }
.err { margin-top: 12px; min-height: 22px; font-size: 12.5px; color: #b42318; opacity: 0; transition: opacity .25s; }
.err.show { opacity: 1; }
.cursor { position: absolute; left: 0; top: 0; width: 18px; height: 20px; z-index: 3; pointer-events: none; transition: transform .9s cubic-bezier(.45,.05,.25,1); }
.cursor path { fill: #1d1b18; stroke: #fff; stroke-width: 1.3; }
.ring { position: absolute; z-index: 2; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid var(--cyan-btn); opacity: 0; pointer-events: none; }
.ring.go { animation: ring .6s ease-out; }
@keyframes ring { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.4); } }
.side { padding: 22px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.who { display: grid; grid-template-columns: 72px 1fr; gap: 6px 12px; font-size: 14px; }
.who dt { color: var(--faint); font-size: 13px; }
.sum { padding: 16px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.75; color: var(--body); }
.sum span { display: block; margin-bottom: 6px; font-size: 12.5px; color: var(--cyan); }
.ev li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; align-items: center; height: 38px; border-top: 1px solid var(--line); font-size: 14px; color: var(--faint); transition: color .2s; }
.ev .t { font: 400 12px var(--mono); font-variant-numeric: tabular-nums; direction: ltr; }
.ev li.done { color: var(--fg); }
.ev li.now { color: var(--cyan); }
.ev li.bad.done, .ev li.bad.now { color: var(--bad); }
.tl { display: flex; align-items: center; gap: 16px; height: 58px; padding: 0 18px; border-top: 1px solid var(--line); direction: ltr; }
.play { width: 32px; height: 32px; border-radius: 50%; background: var(--cyan-btn); display: grid; place-items: center; flex: none; }
.play svg { width: 12px; height: 12px; fill: #fff; }
.track { position: relative; flex: 1; height: 3px; border-radius: 2px; background: var(--line-2); }
.track .done { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 2px; background: var(--fg); }
.tick { position: absolute; top: -5px; width: 2px; height: 13px; border-radius: 1px; background: var(--cyan); }
.tick.bad { background: var(--bad); }
.time { font: 400 12px var(--mono); color: var(--fg-3); font-variant-numeric: tabular-nums; min-width: 84px; text-align: right; }
@media (max-width: 960px) { .rp-body { grid-template-columns: 1fr; } .screen { border-inline-end: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .pg-main { grid-template-columns: 1fr; } .photo { aspect-ratio: 16 / 9; } .screen { padding: 12px; } }

/* pricing: the markup pricing.go writes */
.prices { margin-top: 48px; }
.prices .price { display: flex; flex-direction: column; }
.prices .price:first-child { box-shadow: inset 0 2px 0 var(--cyan); }
.prices h3 { font-size: 20px; }
.price-tag { margin-top: 20px; display: flex; flex-direction: column; gap: 2px; }
.price-tag .amount { font-size: 32px; line-height: 1.15; font-weight: 800; font-variant-numeric: tabular-nums; }
.price-tag .per { font-size: 13.5px; color: var(--fg-3); }
.prices .list { margin: 24px 0 28px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; color: var(--fg-2); flex: 1; }
.prices .list b { color: var(--fg); }
.prices .btn { height: 46px; }
.price-note { margin-top: 20px; font-size: 14.5px; color: var(--fg-3); }
.price-note a { color: var(--cyan); }
.nsin > *, .rp-body > * { min-width: 0; }
.play { cursor: pointer; border: 0; transition: background-color .15s var(--ease); } .play:hover { background: #22d3ee; } .play:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* sources: where visits come from, ranked, with thin share bars */
.src { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.src > * { min-width: 0; }
.src-card .body { padding: 8px 22px 18px; }
.src-tabs { display: flex; gap: 20px; font-size: 13.5px; color: var(--fg-3); }
.src-tabs b { font-weight: 600; color: var(--fg); box-shadow: inset 0 -2px 0 var(--cyan); padding-bottom: 10px; }
.rank { margin-top: 6px; }
.rank li { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; height: 44px; border-top: 1px solid var(--line); font-size: 14.5px; position: relative; }
.rank li:first-child { border-top: 0; }
.rank img, .rank .ic { width: 18px; height: 18px; }
.rank .ic { display: grid; place-items: center; border-radius: 4px; background: var(--lift); font: 600 10px var(--mono); color: var(--fg-2); }
.rank .bar { position: absolute; bottom: 6px; inset-inline-start: 34px; height: 2px; border-radius: 1px; background: rgba(103,232,249,.35); width: var(--w); }
.rank li:first-child .bar { background: var(--cyan); }
.rank b { font-weight: 600; font-variant-numeric: tabular-nums; }
.rank em { font-style: normal; color: var(--faint); font-size: 13px; margin-inline-start: 10px; }
.words { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.words h4 { font-size: 13px; font-weight: 500; color: var(--fg-3); }
.words li { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; height: 36px; align-items: center; font-size: 14px; }
.words li span:not(:first-child) { font: 400 12.5px var(--mono); color: var(--faint); font-variant-numeric: tabular-nums; }
.src .checks li { font-size: 15.5px; }
@media (max-width: 960px) { .src { grid-template-columns: 1fr; gap: 48px; } }
.rank li > span:nth-child(3) { display: flex; align-items: baseline; gap: 10px; } .rank em { margin: 0; min-width: 32px; text-align: end; }
.rank .ic { width: 22px; height: 22px; font-size: 11px; }

/* ---- Terms and Privacy: their own header and footer, one readable column ---- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(14,21,30,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav .logo, .foot .logo { height: 28px; width: auto; }
.logo-light { display: none; }
.nav-cta { margin-inline-start: auto; display: flex; gap: 8px; }
.nav-cta .btn { height: 38px; padding: 0 18px; font-size: 14px; }
.foot { background: var(--alt); border-top: 1px solid var(--line); padding: 48px 0 28px; }
.foot-in { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand p { margin-top: 12px; font-size: 14px; color: var(--fg-3); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--fg-2); }
.foot-links a:hover { color: var(--cyan); }
.foot-legal { margin-top: 28px; font: 400 12px var(--mono); color: var(--faint); }
.legal { padding: 64px 0 96px; }
.legal-in { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4.4vw, 44px); font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
.legal .updated { margin-top: 10px; font: 400 13px var(--mono); color: var(--fg-3); }
.legal .lead { margin-top: 20px; font-size: 17px; color: var(--fg); }
.legal h2 { margin-top: 48px; font-size: 22px; font-weight: 800; }
.legal h3 { margin-top: 24px; font-size: 17px; font-weight: 700; }
.legal p, .legal li { font-size: 16px; line-height: 1.8; color: var(--fg-2); }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-inline-start: 22px; list-style: disc; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.legal code { font-size: .92em; padding: 1px 5px; border-radius: 4px; background: var(--inset); border: 1px solid var(--line); overflow-wrap: anywhere; }
.legal .toc { margin-top: 28px; padding: 18px 22px; border: 1px solid var(--line); background: var(--card); }
.legal .toc ol { margin: 0; padding-inline-start: 20px; list-style: decimal; columns: 2; column-gap: 32px; }
.legal .toc li { font-size: 14.5px; break-inside: avoid; }
.legal .toc a { color: var(--fg-2); text-decoration: none; }
.legal .toc a:hover { color: var(--cyan); }
.legal h2[id] { scroll-margin-top: 84px; }
@media (max-width: 640px) { .legal { padding: 40px 0 64px; } .legal .toc ol { columns: 1; } }
