/* Binkav — site styles. Right-to-left first; dark by default, light on request. */

@font-face { font-family: Vazirmatn; font-weight: 400; font-display: swap; src: url(/fonts/vazirmatn-arabic-400-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: Vazirmatn; font-weight: 500; font-display: swap; src: url(/fonts/vazirmatn-arabic-500-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: Vazirmatn; font-weight: 700; font-display: swap; src: url(/fonts/vazirmatn-arabic-700-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: Vazirmatn; font-weight: 800; font-display: swap; src: url(/fonts/vazirmatn-arabic-800-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: Vazirmatn; font-weight: 400; font-display: swap; src: url(/fonts/vazirmatn-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Vazirmatn; font-weight: 500; font-display: swap; src: url(/fonts/vazirmatn-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Vazirmatn; font-weight: 700; font-display: swap; src: url(/fonts/vazirmatn-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Vazirmatn; font-weight: 800; font-display: swap; src: url(/fonts/vazirmatn-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }

:root {
  --bg: #0d0c0b;
  --bg-2: #121110;
  --surface: #171614;
  --surface-2: #1e1c19;
  --surface-3: #272420;
  --line: #2b2824;
  --line-soft: #211f1c;
  --line-strong: #3a3631;
  --fg: #f6f3ee;
  --fg-2: #d9d4cb;
  --muted: #a8a196;
  --subtle: #857e73;
  --brand: #f5a524;
  --brand-2: #de8b25;
  --brand-fg: #1a1206;
  --brand-soft: rgba(245, 165, 36, 0.12);
  --brand-softer: rgba(245, 165, 36, 0.06);
  --brand-text: #f5a524;
  --ok: #3fcf8e;
  --ok-soft: rgba(63, 207, 142, 0.12);
  --warn: #f5c451;
  --warn-soft: rgba(245, 196, 81, 0.12);
  --danger: #f2555a;
  --danger-soft: rgba(242, 85, 90, 0.12);
  --info: #8ab4ff;
  --info-soft: rgba(138, 180, 255, 0.12);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 12px 32px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1160px;
  color-scheme: dark;
}
:root[data-theme='light'] {
  --bg: #fbfaf7;
  --bg-2: #f5f3ee;
  --surface: #ffffff;
  --surface-2: #f6f4ef;
  --surface-3: #eeebe4;
  --line: #e7e2d8;
  --line-soft: #efebe3;
  --line-strong: #d6d0c4;
  --fg: #1c1a17;
  --fg-2: #3b3731;
  --muted: #6b645a;
  --subtle: #8a8378;
  --brand: #e8940f;
  --brand-2: #c9760c;
  --brand-fg: #1a1206;
  --brand-soft: rgba(232, 148, 15, 0.12);
  --brand-softer: rgba(232, 148, 15, 0.06);
  --brand-text: #a35c05;
  --ok: #16a34a;
  --ok-soft: rgba(22, 163, 74, 0.1);
  --warn: #b7791f;
  --warn-soft: rgba(183, 121, 31, 0.1);
  --danger: #dc2626;
  --danger-soft: rgba(220, 38, 38, 0.08);
  --info: #2563eb;
  --info-soft: rgba(37, 99, 235, 0.08);
  --shadow: 0 1px 2px rgba(28, 26, 23, 0.04), 0 12px 32px rgba(28, 26, 23, 0.06);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Vazirmatn, Tahoma, system-ui, sans-serif;
  font-size: 15.5px;
  line-height: 1.8;
  background: var(--bg);
  color: var(--fg);
  font-feature-settings: 'ss01';
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
/* height:auto keeps an image's own proportions when max-width narrows it;
   without it the width/height attributes squash it. */
img { max-width: 100%; height: auto; display: block; }
svg { width: 18px; height: 18px; flex: none; }
.pay-option > svg { width: 26px; height: 26px; color: var(--brand); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
p { margin: 0 0 12px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 0.92em; direction: ltr; unicode-bidi: isolate; }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.small { font-size: 13.5px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: 20px; }
.stack > * + * { margin-block-start: 16px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 500; font-size: 14.5px;
  padding: 10px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--fg);
  cursor: pointer; transition: background .15s, border-color .15s, transform .05s; white-space: nowrap;
}
.btn:hover { background: var(--surface-3); color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-brand { background: linear-gradient(180deg, #f8b440, var(--brand)); border-color: transparent; color: var(--brand-fg); font-weight: 700; box-shadow: 0 6px 20px rgba(245, 165, 36, .25); }
.btn-brand:hover { background: linear-gradient(180deg, #fbc25c, #f7ad33); color: var(--brand-fg); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-outline { background: transparent; }
.btn-danger { background: var(--danger-soft); border-color: transparent; color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-lg { padding: 13px 24px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-google { background: #fff; color: #1f1f1f; border-color: #dadce0; font-weight: 500; }
.btn-google:hover { background: #f8f8f8; color: #1f1f1f; }
.btn-google svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--fg); }
.logo img { width: 32px; height: 32px; border-radius: 9px; }
.logo:hover { color: var(--fg); }
.nav { display: flex; gap: 4px; }
.nav a { padding: 7px 12px; border-radius: 8px; color: var(--fg-2); font-size: 14.5px; }
.nav a:hover { background: var(--surface-2); color: var(--fg); }
.nav a.active { color: var(--fg); background: var(--surface-2); }
.header-actions { margin-inline-start: auto; display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--fg-2); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); color: var(--fg); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; inset-inline: 0; top: 66px; flex-direction: column; background: var(--bg); padding: 12px 20px 18px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-grid; }
  .header-actions .btn-outline { display: none; }
}

/* ------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 40px; }
.hero::before {
  content: ''; position: absolute; inset: -30% -10% auto; height: 720px; pointer-events: none;
  background: radial-gradient(600px 360px at 50% 20%, rgba(245, 165, 36, .18), transparent 70%), radial-gradient(500px 300px at 80% 0%, rgba(222, 139, 37, .10), transparent 70%);
}
.hero-grid::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--fg-2); }
.eyebrow .pill { background: var(--brand-soft); color: var(--brand); padding: 1px 9px; border-radius: 999px; font-weight: 700; font-size: 12px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; line-height: 1.35; margin: 22px auto 16px; max-width: 900px; }
.hero h1 .accent { background: linear-gradient(90deg, #ffd27a, var(--brand) 55%, var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 680px; margin: 0 auto 30px; line-height: 1.9; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 14px; font-size: 13px; color: var(--subtle); }
.shot { margin: 56px auto 0; max-width: 1080px; border-radius: 18px; padding: 8px; background: linear-gradient(180deg, var(--line-strong), transparent 70%); box-shadow: 0 40px 120px rgba(0, 0, 0, .5); }
.shot-inner { border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line); direction: ltr; }
.shot-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); display: block; }
.shot-bar span { margin-inline: auto; font-size: 12px; color: var(--subtle); }
.shot-tabs { display: flex; justify-content: center; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.shot-tabs button { font: inherit; font-size: 13.5px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.shot-tabs button[aria-selected='true'] { background: var(--surface-2); color: var(--fg); border-color: var(--line-strong); }
.shot img { width: 100%; height: auto; aspect-ratio: 1360 / 860; object-fit: cover; }
.shot img[hidden] { display: none; }
.hero .lead b { color: var(--fg); font-weight: 700; }
/* The privacy promise: said plainly, in bold, before anything else is asked of the reader. */
.promise { max-width: 640px; margin: -8px auto 30px; padding: 18px 22px; border-radius: 18px; background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); text-align: start; }
.promise-head { display: flex; align-items: center; gap: 10px; font-size: clamp(17px, 2.1vw, 21px); color: var(--fg); }
.promise-head b { font-weight: 800; }
.promise-head svg { width: 26px; height: 26px; color: var(--ok); flex: none; }
.promise ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.promise li { display: flex; gap: 9px; align-items: flex-start; font-size: 15px; line-height: 1.8; color: var(--fg-2); }
.promise li svg { width: 17px; height: 17px; color: var(--ok); flex: none; margin-top: 5px; }
.promise li b { color: var(--fg); font-weight: 700; }
.feature p b, .faq b, .site-footer p b, .plan li b { color: var(--fg); font-weight: 700; }

/* ------------------------------------------------------------ sections */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .kicker { color: var(--brand-text); font-weight: 700; font-size: 13.5px; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 16.5px; }
.sources { padding: 28px 0; border-block: 1px solid var(--line-soft); background: var(--bg-2); }
.sources .wrap { display: flex; align-items: center; justify-content: center; gap: 34px; flex-wrap: wrap; color: var(--subtle); font-size: 14px; }
.sources b { color: var(--fg-2); font-weight: 700; font-size: 15px; direction: ltr; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
/* An odd card out at the end takes the whole row. */
.features > .feature:last-child:nth-child(4n+1) { grid-column: 1 / -1; }
@media (max-width: 1180px) { .features { grid-template-columns: repeat(2, 1fr); } .features > .feature:last-child:nth-child(4n+1) { grid-column: auto; } .features > .feature:last-child:nth-child(2n+1) { grid-column: 1 / -1; } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.feature { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.feature:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature .ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }
.feature .more { margin-top: auto; padding-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--brand); }
.feature:hover .more { text-decoration: underline; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px 26px 24px; border-radius: var(--radius); border: 1px dashed var(--line-strong); }
.step::before { counter-increment: step; content: counter(step, persian); position: absolute; top: -16px; inset-inline-start: 22px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--brand-fg); font-weight: 800; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }
.tier { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.tier .tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.tier .tag .dot { width: 10px; height: 10px; border-radius: 50%; }
.tier.flash .dot { background: #7dd3fc; } .tier.pro .dot { background: var(--brand); } .tier.ultra .dot { background: #c4b5fd; }
.tier .model { font-size: 13.5px; color: var(--fg-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; display: inline-block; margin: 10px 0 12px; direction: ltr; }
.tier p { color: var(--muted); font-size: 14.5px; margin: 0; }
.privacy-note { margin-top: 20px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--ok-soft); color: var(--fg-2); font-size: 14.5px; }
.upcoming { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.upcoming-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--line-strong, var(--line)); }
.upcoming-card .ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand-2); }
.upcoming-card .ic svg { width: 22px; height: 22px; }
.upcoming-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.upcoming-title h3 { margin: 0; font-size: 18px; }
.upcoming-card .soon { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-2); }
.upcoming-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.9; }
@media (max-width: 760px) { .upcoming { grid-template-columns: 1fr; } .upcoming-card { padding: 20px; } }
.privacy-note svg { width: 22px; height: 22px; color: var(--ok); flex: none; margin-top: 3px; }

/* ------------------------------------------------------------ pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.plan.highlight { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 20px 60px rgba(245, 165, 36, .12); background: linear-gradient(180deg, var(--brand-softer), var(--surface) 40%); }
.plan .badge { position: absolute; top: -12px; inset-inline-start: 50%; transform: translateX(50%); background: var(--brand); color: var(--brand-fg); font-size: 12px; font-weight: 800; padding: 3px 12px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 19px; font-weight: 800; }
.plan .sub { color: var(--muted); font-size: 13.5px; margin: 2px 0 18px; min-height: 24px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan .price b { font-size: 34px; font-weight: 800; letter-spacing: -.5px; }
.plan .price span { color: var(--muted); font-size: 14px; }
.plan .credit { font-size: 13.5px; color: var(--fg-2); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; font-size: 14px; color: var(--fg-2); }
.plan li { display: flex; gap: 9px; align-items: flex-start; }
.plan li svg { width: 17px; height: 17px; color: var(--ok); flex: none; margin-top: 4px; }
.plan .btn { margin-top: auto; }
.plan .installments { margin-top: 10px; font-size: 12.5px; color: var(--muted); text-align: center; }
.trial { margin: 0 auto 28px; max-width: 760px; display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 16px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); flex-wrap: wrap; }
.trial b { font-weight: 800; }

.referral-band { border-radius: 22px; padding: 38px; background: radial-gradient(500px 240px at 90% 0%, rgba(245, 165, 36, .18), transparent 70%), var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 860px) { .referral-band { grid-template-columns: 1fr; } }
.referral-band h2 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.referral-band .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.referral-band .stat { padding: 18px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); text-align: center; }
.referral-band .stat b { display: block; font-size: 30px; font-weight: 800; color: var(--brand); }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }

.cta-band { text-align: center; padding: 56px 24px; border-radius: 22px; border: 1px solid var(--line); background: radial-gradient(600px 260px at 50% 0%, rgba(245, 165, 36, .16), transparent 70%), var(--surface); }
.cta-band h2 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }

.site-footer { border-top: 1px solid var(--line-soft); padding: 48px 0 28px; margin-top: 40px; color: var(--muted); font-size: 14px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 28px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: var(--fg); font-size: 14.5px; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.trust-seals { display: flex; gap: 10px; margin-top: 14px; }
.trust-seals .seal { width: 92px; height: 92px; padding: 6px; border-radius: 12px; border: 1px dashed var(--line-strong); display: grid; place-items: center; font-size: 10.5px; line-height: 1.6; color: var(--subtle); text-align: center; }

/* ------------------------------------------------------------ cards, forms */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h2 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-head p { margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 6px; color: var(--fg-2); }
.input, input[type='text'], input[type='number'], input[type='search'], input[type='email'], select, textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 10px 13px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--fg); transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
input.ltr-input { direction: ltr; text-align: left; font-family: ui-monospace, Menlo, monospace; letter-spacing: .5px; }
.field { margin-bottom: 16px; }
.hint { font-size: 12.5px; color: var(--subtle); margin-top: 6px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 400; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.inline-form { display: inline; }

.alert { padding: 13px 16px; border-radius: 12px; font-size: 14.5px; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; }
.alert svg { width: 19px; height: 19px; flex: none; margin-top: 3px; }
.alert-ok { background: var(--ok-soft); color: var(--fg); }
.alert-ok svg { color: var(--ok); }
.alert-warn { background: var(--warn-soft); color: var(--fg); }
.alert-warn svg { color: var(--warn); }
.alert-error { background: var(--danger-soft); color: var(--fg); }
.alert-error svg { color: var(--danger); }
.alert-info { background: var(--info-soft); color: var(--fg); }
.alert-info svg { color: var(--info); }

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--fg-2); white-space: nowrap; }
.chip.ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.chip.warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
.chip.bad { background: var(--danger-soft); border-color: transparent; color: var(--danger); }
.chip.brand { background: var(--brand-soft); border-color: transparent; color: var(--brand); }
.chip.info { background: var(--info-soft); border-color: transparent; color: var(--info); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 16px; text-align: start; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
th { font-weight: 500; color: var(--muted); font-size: 13px; background: var(--bg-2); }
tr:last-child td { border-bottom: 0; }
td.num { white-space: nowrap; }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.empty svg { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--subtle); }

/* ------------------------------------------------------------ panel */
.panel { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - 66px); }
.sidebar { border-inline-end: 1px solid var(--line-soft); padding: 22px 14px; background: var(--bg-2); position: sticky; top: 66px; height: calc(100vh - 66px); overflow-y: auto; }
.sidebar .who { display: flex; gap: 10px; align-items: center; padding: 6px 10px 18px; border-bottom: 1px solid var(--line-soft); margin-bottom: 12px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; flex: none; }
.sidebar .who div { min-width: 0; }
.sidebar .who b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar .who span { display: block; font-size: 12px; color: var(--subtle); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; text-align: right; }
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--fg-2); font-size: 14.5px; }
.side-nav a svg { width: 18px; height: 18px; color: var(--subtle); }
.side-nav a:hover { background: var(--surface-2); color: var(--fg); }
.side-nav a.active { background: var(--surface-2); color: var(--fg); font-weight: 500; }
.side-nav a.active svg { color: var(--brand); }
.side-nav .sep { height: 1px; background: var(--line-soft); margin: 10px 4px; }
.side-nav .label { font-size: 12px; color: var(--subtle); padding: 8px 12px 2px; }
.main { padding: 30px 34px 60px; min-width: 0; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: 24px; font-weight: 800; }
.page-head p { color: var(--muted); margin: 4px 0 0; }
@media (max-width: 900px) {
  .panel { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; border-inline-end: 0; border-bottom: 1px solid var(--line-soft); padding: 12px; }
  .sidebar .who { display: none; }
  .side-nav { display: flex; overflow-x: auto; gap: 4px; }
  .side-nav a { white-space: nowrap; }
  .side-nav .sep, .side-nav .label { display: none; }
  .main { padding: 22px 16px 48px; }
}

.balance-card { position: relative; overflow: hidden; padding: 28px; border-radius: 18px; border: 1px solid var(--line); background: radial-gradient(420px 200px at 100% 0%, rgba(245, 165, 36, .20), transparent 70%), var(--surface); }
.balance-card .label { color: var(--muted); font-size: 14px; }
.balance-card .amount { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.balance-card .amount b { font-size: 42px; font-weight: 800; }
.balance-card .amount span { color: var(--muted); }
.balance-card .live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); }
.balance-card .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: block; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.meter { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; margin: 14px 0 8px; }
.meter > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-2), var(--brand)); }
.stat-card { padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat-card .k { color: var(--muted); font-size: 13px; }
.stat-card .v { font-size: 24px; font-weight: 800; margin-top: 4px; }
.stat-card .v small { font-size: 13px; font-weight: 400; color: var(--muted); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.copy-field { display: flex; gap: 8px; align-items: stretch; }
.copy-field input { direction: ltr; text-align: left; font-family: ui-monospace, Menlo, monospace; }
.code-big { font-size: 30px; font-weight: 800; letter-spacing: 6px; direction: ltr; font-family: ui-monospace, Menlo, monospace; color: var(--brand); }
.device { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.device:last-child { border-bottom: 0; }
.device .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--fg-2); flex: none; }
.device .ic svg { width: 20px; height: 20px; }
.slots { display: flex; gap: 8px; }
.slots i { width: 34px; height: 8px; border-radius: 999px; background: var(--surface-3); display: block; }
.slots i.on { background: var(--brand); }
.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 14px; border: 1px solid var(--line-strong); cursor: pointer; background: var(--bg-2); }
.pay-option:has(input:checked) { border-color: var(--brand); background: var(--brand-softer); box-shadow: 0 0 0 1px var(--brand); }
.pay-option input { width: 18px; height: 18px; accent-color: var(--brand); }
.pay-option .t b { display: block; font-size: 15px; }
.pay-option .t span { font-size: 13px; color: var(--muted); }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; }
.summary-row + .summary-row { border-top: 1px dashed var(--line); }
.summary-row.total { font-weight: 800; font-size: 17px; }
.plan-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 900px) { .plan-pick { grid-template-columns: 1fr 1fr; } }
.plan-pick label { margin: 0; padding: 16px; border-radius: 14px; border: 1px solid var(--line-strong); cursor: pointer; background: var(--bg-2); display: block; }
.plan-pick label:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); background: var(--brand-softer); }
.plan-pick input { position: absolute; opacity: 0; pointer-events: none; }
.plan-pick b { display: block; font-size: 16px; }
.plan-pick span { color: var(--muted); font-size: 13.5px; }
.result { max-width: 560px; margin: 40px auto; text-align: center; }
.result .ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; }
.result .ic svg { width: 34px; height: 34px; }
.result.ok .ic { background: var(--ok-soft); color: var(--ok); }
.result.bad .ic { background: var(--danger-soft); color: var(--danger); }
.result.wait .ic { background: var(--warn-soft); color: var(--warn); }
.result h1 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }

/* ------------------------------------------------------------ auth */
.auth { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: 100%; max-width: 420px; padding: 34px 30px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.auth-card img.mark { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 16px; }
.auth-card h1 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.auth-card .legal { font-size: 12.5px; color: var(--subtle); margin-top: 18px; }

/* ------------------------------------------------------------ prose (legal) */
.prose { max-width: 780px; margin: 0 auto; padding: 56px 20px; }
.prose h1 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.prose h2 { font-size: 19px; font-weight: 800; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--fg-2); }
.prose ul { padding-inline-start: 20px; }

.qr svg { width: 200px; height: 200px; background: #fff; padding: 10px; border-radius: 12px; }
.toast-live { position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 90; }
.inline-ic { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; }
.stat-card .ltr { display: block; text-align: right; }
:root[data-theme='light'] .hero h1 .accent { background: linear-gradient(90deg, #f0a21c, #c9760c); -webkit-background-clip: text; background-clip: text; }
.test-banner { background: #b45309; color: #fff; text-align: center; font-size: 13.5px; padding: 6px 12px; font-weight: 500; }

/* ---------------------------------------------------------------- feature pages */
.promise-more { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--ok); text-decoration: none; }
.promise-more:hover { text-decoration: underline; }
.feature-hero h1 { font-size: clamp(30px, 4.6vw, 50px); }
.crumbs { display: flex; justify-content: center; gap: 8px; font-size: 13px; color: var(--subtle); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.feature-badge { width: 58px; height: 58px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 16px; background: var(--brand-soft); color: var(--brand); }
.feature-badge svg { width: 28px; height: 28px; }
.steps.numbered { list-style: none; margin: 0; padding: 0; }
.details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 720px) { .details { grid-template-columns: 1fr; } }
.detail { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.detail h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.detail p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.9; }
.detail p b { color: var(--fg); }
.feature-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface-2, var(--surface)); border: 1px solid var(--line); color: var(--fg-2); font-size: 14.5px; line-height: 1.9; }
.feature-note svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--brand); }
.feature-note a { color: var(--brand); }
.feature-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.feature-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--fg); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: border-color .2s; }
.feature-link:hover { border-color: var(--line-strong); }
.feature-link .ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand); flex: none; }
.feature-link .ic svg { width: 18px; height: 18px; }
.feature-link .go { margin-inline-start: auto; color: var(--subtle); }
.ltr-inline { direction: ltr; unicode-bidi: isolate; }
.flow { display: flex; align-items: stretch; gap: 10px; }
.flow-stop { flex: 1; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.flow-stop h3 { font-size: 16.5px; font-weight: 700; margin: 10px 0 6px; }
.flow-stop p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.9; }
.flow-stop p b { color: var(--ok); }
.flow-ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--ok-soft); color: var(--ok); }
.flow-ic svg { width: 22px; height: 22px; }
.flow-arrow { display: grid; place-items: center; color: var(--subtle); }
.flow-arrow svg { width: 22px; height: 22px; }
@media (max-width: 760px) { .flow { flex-direction: column; } .flow-arrow svg { transform: rotate(-90deg); } }

/* ---------------------------------------------------------------- admin feedback */
.feedback-list { display: grid; gap: 10px; }
.feedback.done { opacity: .65; }
.feedback-text { margin: 10px 0 0; white-space: pre-wrap; line-height: 1.9; }
.pill-bad { background: var(--danger-soft, rgba(220,60,60,.12)); color: var(--danger, #d44); padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.pill-ok { background: var(--ok-soft); color: var(--ok); padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }

/* ---------------------------------------------------------------- marketplace */
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--surface-2); color: var(--fg-2); border: 1px solid var(--line); }
.pill svg { width: 13px; height: 13px; }
.pill-ok, .pill-bad { border: 0; display: inline-flex; align-items: center; gap: 4px; }
.market-bar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.tabs-inline { display: flex; gap: 6px; flex-wrap: wrap; }
.tab-link { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg-2); font-size: 14px; }
.tab-link.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.market-search input { min-width: 260px; }
.market-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.market-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: inherit; transition: border-color .15s, transform .15s; }
.market-card:hover { border-color: var(--brand-soft); transform: translateY(-2px); }
.market-card h3 { margin: 4px 0 0; font-size: 17px; }
.market-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; flex: 1; }
.market-card-top { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.market-card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--line); }
.market-price { font-size: 26px; font-weight: 800; margin: 14px 0 6px; }
.market-detail { text-align: center; }
.stars { letter-spacing: 1px; font-size: 14px; }
.stars .on { color: var(--brand); }
.stars .off { color: var(--line-strong, var(--line)); }
.reviews { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.review { padding: 12px 0; border-bottom: 1px solid var(--line); }
.review p { margin: 6px 0 0; line-height: 1.8; }
.review.hidden-review { opacity: .55; }
.wrap.narrow { max-width: 820px; }
.narrow-form { max-width: 640px; }
.narrow-form fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.narrow-form legend { font-weight: 600; margin-bottom: 8px; }
.checks { display: flex; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 10px; }
.rating { display: inline-flex; align-items: center; gap: 6px; }
.market-meta { display: flex; gap: 8px 22px; justify-content: center; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.market-desc { white-space: pre-line; line-height: 2; margin-top: 10px; color: var(--fg-2); }
.outline { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
.outline-mod h3 { margin: 0 0 8px; font-size: 17px; }
.outline-lessons { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 10px; }
.outline-lessons li::marker { color: var(--muted); }
.or-line { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--muted); font-size: 13px; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.email-login input[type="email"] { width: 100%; }
.code-input { font-size: 26px !important; letter-spacing: 8px; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.link-brand { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
.danger-zone { margin-top: 16px; border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); }

/* ------------------------------------------------------------ guides (/docs) */
.doc-hero { padding: 48px 0 12px; text-align: center; }
.doc-hero h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; }
.doc-hero .lead { max-width: 720px; margin-inline: auto; }
.doc-body { padding-top: 12px; }
.doc-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.doc-toc { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 14px; }
.doc-toc ol { margin: 0; padding: 0; list-style: none !important; display: flex; flex-direction: column; gap: 6px; }
.doc-toc a { color: var(--fg-2); text-decoration: none; }
.doc-toc a:hover { color: var(--brand); }
.doc-other { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line-soft); color: var(--brand) !important; font-weight: 600; }
.doc-article { max-width: 780px; line-height: 2; font-size: 16px; }
.doc-section { padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line-soft); scroll-margin-top: 90px; }
.doc-section:last-child { border-bottom: 0; }
.doc-section h2 { font-size: 24px; margin: 0 0 14px; }
.doc-section h3 { font-size: 18px; margin: 22px 0 8px; }
.doc-section ul, .doc-section ol { padding-inline-start: 22px; }
.doc-tip { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--brand-softer); border: 1px solid var(--brand-soft); font-size: 15px; }
.doc-tip svg { flex: none; margin-top: 6px; color: var(--brand); }
.doc-example { margin: 18px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 14px 18px; }
.doc-example-title { font-size: 13px; font-weight: 700; color: var(--brand); margin-bottom: 6px; }
.doc-example p { margin: 6px 0; }
.doc-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.doc-compare > div { border-radius: var(--radius-sm); padding: 12px 14px; font-size: 15px; }
.doc-bad { background: var(--danger-soft); border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent); }
.doc-good { background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); }
.doc-bad b { color: var(--danger); } .doc-good b { color: var(--ok); }
.doc-compare b { display: block; font-size: 13px; margin-bottom: 4px; }
.doc-why { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 14.5px; }
.doc-table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.doc-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 0; font-size: 14.5px; line-height: 1.8; }
.doc-table th, .doc-table td { border-bottom: 1px solid var(--line); border-inline-start: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; overflow-wrap: break-word; white-space: normal; }
.doc-table th:first-child, .doc-table td:first-child { border-inline-start: 0; }
.doc-table tbody tr:last-child td { border-bottom: 0; }
.doc-table th { background: var(--surface-2); font-size: 14px; font-weight: 700; color: var(--fg); }
.doc-table tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.doc-dl dt { font-weight: 700; margin-top: 12px; }
.doc-dl dd { margin: 2px 0 0; color: var(--fg-2); }
.doc-steps li, .doc-flow li { margin-bottom: 8px; }
.doc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.doc-two > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; background: var(--surface); }
.doc-two h3 { margin-top: 0; font-size: 16px; }
.doc-plan { padding-inline-start: 22px; }
.doc-plan li { margin-bottom: 10px; }
.doc-plan .k { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; margin-inline-end: 6px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); }
.doc-syllabus h4 { margin: 10px 0 4px; }
.doc-syllabus ol { margin: 0; }
.doc-check { list-style: none; padding: 0 !important; }
.doc-check li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.doc-check .box { flex: none; width: 18px; height: 18px; margin-top: 5px; border: 2px solid var(--brand); border-radius: 5px; }
.doc-code { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14px; white-space: pre-wrap; }
.doc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.doc-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--fg); text-decoration: none; }
.doc-card:hover { border-color: var(--brand); }
.doc-card .ic { color: var(--brand); }
.doc-card h2 { margin: 0; font-size: 20px; }
.doc-card p { margin: 0; color: var(--fg-2); line-height: 1.9; }
.doc-card .go { color: var(--brand); font-weight: 600; margin-top: auto; }
.doc-toc { max-height: calc(100vh - 110px); overflow-y: auto; }
.doc-related { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.doc-related strong { font-size: 13px; }
.doc-all { font-size: 13px; color: var(--muted) !important; }
.doc-goto { margin: 14px 0 0; }
.doc-goto .btn { text-decoration: none; }
.doc-hub-docs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.doc-hub-docs a { color: var(--brand); }
.doc-hub-docs span { color: var(--muted); }
.doc-field { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.doc-field:last-child { border-bottom: 0; }
.doc-field-label { font-weight: 700; font-size: 14.5px; text-align: left; overflow-wrap: anywhere; line-height: 1.7; }
.doc-field-body p { margin: 0; }
.doc-field-sample { margin-top: 8px; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--surface-2); font-size: 14.5px; overflow-wrap: anywhere; }
.doc-field-sample span { color: var(--muted); margin-inline-end: 4px; }
.doc-article code { overflow-wrap: anywhere; }
@media (max-width: 700px) { .doc-field { grid-template-columns: 1fr; gap: 6px; } .doc-field-label { text-align: right; } }
.doc-hub-group { margin-top: 36px; }
.doc-hub-group h2 { margin: 0 0 4px; font-size: 20px; }
.doc-hub-group > p { margin: 0 0 12px; }
.doc-hub-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.doc-hub-link { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--fg); text-decoration: none; }
.doc-hub-link:hover { border-color: var(--brand); }
.doc-hub-link b { color: var(--brand); }
.doc-hub-link span { color: var(--fg-2); font-size: 14.5px; line-height: 1.8; }
.doc-article pre { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14px; white-space: pre-wrap; overflow-x: auto; }
@media (max-width: 860px) {
  .doc-grid { grid-template-columns: 1fr; }
  .doc-toc { position: static; }
  .doc-compare, .doc-two { grid-template-columns: 1fr; }
}
.doc-grid > * { min-width: 0; }
.doc-article ol { list-style-type: persian; }
@media (max-width: 860px) {
  .doc-table-wrap { border: 0; overflow: visible; }
  .doc-table, .doc-table tbody, .doc-table tr, .doc-table td { display: block; width: 100%; }
  .doc-table colgroup, .doc-table thead { display: none; }
  .doc-table tr { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; }
  .doc-table td, .doc-table tbody tr:nth-child(even) td { border-inline-start: 0; background: none; padding: 8px 12px; }
  .doc-table td:first-child { background: var(--surface-2); }
  .doc-table td:not(:first-child)::before { content: attr(data-label); display: block; font-size: 12.5px; color: var(--muted); }
  .doc-article { font-size: 15px; }
}
.doc-card-sample { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; }
.doc-card-sample + .doc-card-sample { border-top: 1px dashed var(--line-soft); }
.doc-card-sample b { font-weight: 700; margin-inline-end: 4px; }
.doc-compare .doc-card-sample b { display: inline; font-size: inherit; margin-bottom: 0; color: inherit; }

/* ================================================================ home page */
.section-tight { padding: 0 0 96px; }
.home-hero { padding-bottom: 64px; }
.home-hero .lead { max-width: 720px; margin-bottom: 22px; }
.eyebrow-go { color: var(--subtle); margin-inline-start: 2px; }
.eyebrow:hover .eyebrow-go { color: var(--brand); }
.trust-row { list-style: none; margin: 0 auto 28px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.trust-row li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 14px; border-radius: 999px; font-size: 13.5px; color: var(--fg-2); background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--ok) 28%, transparent); }
.trust-row svg { width: 16px; height: 16px; color: var(--ok); }
.home-hero .shot-tabs { margin-top: 46px; }
.home-hero .shot { margin-top: 18px; position: relative; }
.home-hero .shot::before { content: ''; position: absolute; inset: 12% 6% -4%; z-index: -1; border-radius: 40px; background: radial-gradient(closest-side, rgba(245, 165, 36, .22), transparent); filter: blur(30px); pointer-events: none; }
.shot-tabs button { transition: background .15s, color .15s, border-color .15s; }
.shot-tabs button:hover { color: var(--fg); border-color: var(--line-strong); }
:root[data-theme='light'] .shot { box-shadow: 0 30px 80px rgba(28, 26, 23, .18); }

/* The story: five chapters, in the order research actually runs. */
.features-story { padding-bottom: 72px; }
.features-story .wrap { max-width: 1240px; }
.features-story .section-head { margin-bottom: 28px; }
.chapter-nav { position: sticky; top: 66px; z-index: 30; padding: 10px 0; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(160%) blur(12px); border-block: 1px solid var(--line-soft); }
.chapter-nav-inner { display: flex; gap: 6px; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.chapter-nav-inner::-webkit-scrollbar { display: none; }
.chapter-nav a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px; font-size: 14px; color: var(--muted); border: 1px solid transparent; white-space: nowrap; transition: color .15s, background .15s, border-color .15s; }
.chapter-nav a:hover { color: var(--fg); background: var(--surface-2); }
.chapter-nav a[aria-current='true'] { color: var(--fg); background: var(--surface); border-color: var(--line-strong); }
.cn-num { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11.5px; font-weight: 800; background: var(--surface-3); color: var(--fg-2); }
.chapter-nav a[aria-current='true'] .cn-num { background: var(--brand); color: var(--brand-fg); }
.chapter { padding-top: 96px; scroll-margin-top: 110px; }
.chapter-head { display: flex; gap: 22px; align-items: flex-start; max-width: 820px; margin-bottom: 44px; }
.chapter-num { flex: none; font-size: 64px; line-height: .9; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--brand) 70%, transparent); margin-top: 6px; }
.chapter-kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--brand-text); margin-bottom: 6px; }
.chapter-kicker svg { width: 16px; height: 16px; }
.chapter-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-bottom: 10px; }
.chapter-head p { color: var(--muted); font-size: 16.5px; margin: 0; max-width: 640px; }

.frow { display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); gap: 56px; align-items: center; }
.frow + .frow { margin-top: 88px; }
.frow.flip { grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr); }
.frow.flip .frow-text { order: 2; }
.frow-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--fg-2); padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 14px; }
.frow-kicker svg { width: 15px; height: 15px; color: var(--brand); }
.frow h3 { font-size: clamp(22px, 2.5vw, 28px); font-weight: 800; line-height: 1.45; margin-bottom: 10px; }
.frow-lead { color: var(--muted); font-size: 15.5px; line-height: 1.95; margin-bottom: 18px; }
.ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.85; color: var(--fg-2); }
.ticks svg { flex: none; width: 18px; height: 18px; margin-top: 4px; padding: 3px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); stroke-width: 2.6; }
.frow-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.link-more, .link-soft { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; }
.link-more { color: var(--brand-text); }
.link-soft { color: var(--muted); font-weight: 500; }
.link-more span, .link-soft span { transition: transform .2s; }
.link-more:hover span, .link-soft:hover span { transform: translateX(-3px); }
.link-soft:hover { color: var(--fg); }
.frow-media { position: relative; }
.frow-media::before { content: ''; position: absolute; inset: 8% 4% -6%; z-index: 0; border-radius: 32px; background: radial-gradient(closest-side, rgba(245, 165, 36, .16), transparent); filter: blur(28px); pointer-events: none; }
.frame { position: relative; z-index: 1; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: #0d0c0b; box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 24px 60px rgba(0, 0, 0, .35); }
:root[data-theme='light'] .frame { border-color: #d9d3c8; box-shadow: 0 24px 60px rgba(28, 26, 23, .16), 0 2px 6px rgba(28, 26, 23, .06); }
.frame img { width: 100%; height: auto; }
.frow-media.has-float { padding-bottom: 56px; }
.frame-float { position: absolute; z-index: 2; bottom: 0; inset-inline-end: -28px; width: 50%; border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
:root[data-theme='light'] .frame-float { box-shadow: 0 24px 60px rgba(28, 26, 23, .25); }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 72px; }
.tile { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); color: inherit; transition: border-color .2s, transform .2s; }
.tile:hover { color: inherit; border-color: var(--line-strong); transform: translateY(-2px); }
.tile-text { padding: 26px 26px 20px; }
.tile-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.tile-ic svg { width: 20px; height: 20px; }
.tile h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.tile p { color: var(--muted); font-size: 14.5px; line-height: 1.9; margin-bottom: 12px; }
.tile .link-more { font-size: 14px; }
.tile-media { margin: auto 26px 0; height: 230px; overflow: hidden; border-radius: 12px 12px 0 0; border: 1px solid var(--line-strong); border-bottom: 0; background: #0d0c0b; }
.tile-media img { width: 100%; height: auto; transform: scale(1.75); }
.tile-reader img { transform-origin: 18% 14%; }
.tile-chat img { transform-origin: 44% 22%; }

.privacy-grid { display: grid; gap: 18px; }
.privacy-grid .promise ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 16px; }
.privacy-grid .promise { max-width: none; margin: 0; padding: 26px 28px; }
.privacy-side { padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.privacy-sub { font-size: 15px; font-weight: 700; color: var(--fg-2); margin-bottom: 14px; }
.privacy-side .flow { gap: 8px; }
.privacy-side .flow-stop { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; padding: 14px 16px; background: var(--bg-2); }
.privacy-side .flow-ic { grid-row: span 2; width: 38px; height: 38px; }
.privacy-side .flow-stop h3 { margin: 0; font-size: 15px; }
.privacy-side .flow-stop p { font-size: 13.5px; line-height: 1.8; }
.privacy-side .flow-arrow svg { width: 18px; height: 18px; }
.netlog { display: flex; gap: 14px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; border-radius: var(--radius); border: 1px dashed var(--line-strong); }
.netlog .flow-ic { flex: none; width: 38px; height: 38px; }
.netlog p { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--muted); }
.netlog b { color: var(--fg); }

.feature-index { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.feature-index-label { width: 100%; text-align: center; font-size: 13px; color: var(--subtle); margin-bottom: 4px; }
.feature-index a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 11px; border-radius: 999px; font-size: 13.5px; color: var(--fg-2); background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, color .15s; }
.feature-index a:hover { color: var(--fg); border-color: var(--line-strong); }
.feature-index svg { width: 15px; height: 15px; color: var(--brand); }
.cta-row { justify-content: center; margin-top: 18px; }
.cta-mark { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; }

@media (max-width: 960px) {
  .frow, .frow.flip { grid-template-columns: 1fr; gap: 28px; }
  .frow.flip .frow-text { order: 0; }
  .frow + .frow { margin-top: 64px; }
  .frame-float { inset-inline-end: -8px; width: 56%; }
  .privacy-grid .promise ul { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr; margin-top: 48px; }
  .chapter { padding-top: 72px; }
  .chapter-head { gap: 14px; margin-bottom: 30px; }
  .chapter-num { font-size: 44px; }
  .chapter-nav-inner { justify-content: flex-start; }
  .section-tight { padding-bottom: 72px; }
}
@media (max-width: 480px) {
  .home-hero { padding-top: 56px; }
  .trust-row li { font-size: 12.5px; }
  .tile-text { padding: 22px 20px 16px; }
  .tile-media { margin-inline: 20px; height: 180px; }
  .privacy-side, .privacy-grid .promise { padding: 20px 18px; }
  .frame-float { position: relative; inset: auto; width: 82%; margin: -40px auto 0 0; }
  .frow-media.has-float { padding-bottom: 0; }
  .feature-index { margin-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .tile:hover, .feature:hover, .market-card:hover { transform: none; }
}

/* ================================================================ home: copy revision */
.home-hero .eyebrow .pill { display: inline-grid; place-items: center; padding: 3px 7px; }
.home-hero .eyebrow .pill svg { width: 15px; height: 15px; }
.home-hero h1 { max-width: 980px; font-size: clamp(30px, 4.6vw, 52px); }
.home-hero .trust-row { margin: 22px auto 0; }
.btn-dl { gap: 10px; }
.btn-dl > span { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.35; }
.btn-dl small { font-size: 11.5px; font-weight: 600; opacity: .75; }
.btn-dl svg { width: 20px; height: 20px; }

/* The research cycle: four stages and a way back to the start. */
.cycle { list-style: none; margin: 0 auto 40px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: none; position: relative; max-width: 1100px; }
.cycle > li:not(.cycle-back) { position: relative; }
.cycle > li:not(.cycle-back):not(:nth-child(4))::after { content: '←'; position: absolute; inset-inline-end: -13px; top: 50%; transform: translate(0, -50%); z-index: 2; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-strong); color: var(--brand-text); font-size: 13px; font-weight: 800; }
.cycle a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 18px 16px; border-radius: 16px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); color: inherit; transition: border-color .2s, transform .2s; }
.cycle a:hover { color: inherit; border-color: var(--brand); transform: translateY(-2px); }
.cycle-ic { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--brand-soft); color: var(--brand); margin-bottom: 6px; }
.cycle-ic svg { width: 19px; height: 19px; }
.cycle-n { font-size: 12px; font-weight: 800; color: var(--subtle); }
.cycle b { font-size: 17px; font-weight: 800; }
.cycle small { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.cycle-back { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: -2px; }
.cycle-back span { position: relative; padding: 4px 14px; font-size: 12.5px; color: var(--muted); border: 1px dashed var(--line-strong); border-top: 0; border-radius: 0 0 14px 14px; min-width: 60%; text-align: center; }
.cycle-back span::before { content: '↻'; margin-inline-end: 6px; color: var(--brand-text); font-weight: 800; }

/* The researcher's problem, before the answer. */
.frow-pain { display: flex; gap: 10px; align-items: baseline; margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--surface); border-inline-start: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.frow-pain span { flex: none; font-size: 12px; font-weight: 800; color: var(--brand-text); }

/* Why a desktop app. */
.why-desktop { margin-bottom: 18px; padding: 26px 28px; border-radius: 18px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); }
.why-desktop h3 { font-size: clamp(18px, 2.1vw, 22px); font-weight: 800; margin-bottom: 18px; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.why-grid .flow-ic { width: 38px; height: 38px; margin-bottom: 10px; }
.why-grid b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.why-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }

/* Use cases. */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case { display: flex; flex-direction: column; padding: 24px 24px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.case-head { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.case-head .tile-ic { margin: 0; flex: none; }
.case-head b { display: block; font-size: 17px; font-weight: 800; }
.case-head span { font-size: 13.5px; color: var(--muted); }
.case ol { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; counter-reset: cs; }
.case li { position: relative; padding-inline-start: 34px; font-size: 14.5px; line-height: 1.9; color: var(--fg-2); }
.case li::before { counter-increment: cs; content: counter(cs, persian); position: absolute; inset-inline-start: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; background: var(--brand-soft); color: var(--brand-text); }
.case .link-more { margin-top: auto; font-size: 14px; }

/* The free tier, first and large. */
.free-plan { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; margin: 0 auto 40px; padding: 28px 30px; border-radius: 20px; border: 1px solid color-mix(in srgb, var(--ok) 35%, var(--line)); background: linear-gradient(180deg, var(--ok-soft), var(--surface) 70%); }
.free-tag { display: inline-block; font-size: 12.5px; font-weight: 800; padding: 3px 12px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); margin-bottom: 10px; }
.free-plan h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; margin-bottom: 6px; }
.free-plan-head p { margin: 0 0 16px; font-size: 14.5px; }
.free-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.free-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.free-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; line-height: 1.8; color: var(--fg-2); }
.free-list svg { flex: none; width: 17px; height: 17px; margin-top: 4px; color: var(--ok); }
.free-list .free-gift { grid-column: 1 / -1; padding-top: 10px; border-top: 1px dashed var(--line-strong); }
.free-list .free-gift svg { color: var(--brand); }
.plans-title { text-align: center; font-size: 19px; font-weight: 800; margin: 0 0 20px; }
.plan .sub.fit { display: flex; gap: 7px; align-items: flex-start; color: var(--fg-2); font-size: 13.5px; line-height: 1.75; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.plan .sub.fit svg { flex: none; width: 15px; height: 15px; margin-top: 3px; color: var(--brand-text); }

@media (max-width: 960px) {
  .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cycle > li:nth-child(2)::after { display: none; }
  .why-grid, .cases { grid-template-columns: 1fr; }
  .free-plan { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cycle { grid-template-columns: 1fr; }
  .cycle > li:not(.cycle-back)::after { display: none !important; }
  .free-list { grid-template-columns: 1fr; }
  .free-plan, .why-desktop { padding: 22px 18px; }
}

/* Why a desktop app: three distinct advantages, then a comparison. */
.why3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.why3-col { padding: 26px 24px; border-radius: 18px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); }
.why3-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.why3-ic svg { width: 22px; height: 22px; }
.why3-kicker { font-size: 12.5px; font-weight: 800; color: var(--brand-text); margin-bottom: 4px; }
.why3-col h3 { font-size: 18px; font-weight: 800; line-height: 1.6; margin-bottom: 8px; }
.why3-col p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.95; }
.compare-wrap { margin-top: 22px; overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.compare caption { text-align: start; padding: 18px 22px 6px; font-weight: 800; font-size: 16px; color: var(--fg); }
.compare th, .compare td { text-align: start; padding: 13px 22px; border-top: 1px solid var(--line-soft); border-bottom: 0; vertical-align: top; line-height: 1.8; white-space: normal; overflow-wrap: anywhere; }
.compare tbody th { background: transparent; }
.compare thead th { border-top: 0; font-size: 13px; color: var(--muted); font-weight: 700; }
.compare tbody th { font-weight: 700; color: var(--fg-2); width: 30%; }
.compare td { color: var(--muted); }
.compare td.us { color: var(--fg); font-weight: 600; background: var(--brand-softer); }
.compare thead th.us { color: var(--brand-text); background: var(--brand-softer); }
.compare td.us svg { width: 16px; height: 16px; color: var(--ok); vertical-align: -3px; margin-inline-end: 6px; }
.why3-more { margin-top: 18px; }
@media (max-width: 960px) { .why3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .compare th, .compare td { padding: 11px 14px; font-size: 13.5px; } .compare tbody th { width: 34%; } }
/* On a phone the comparison becomes one card per row, so Binkav's column is never off-screen. */
@media (max-width: 640px) {
  .compare-wrap { overflow: visible; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { display: none; }
  .compare caption { display: block; padding: 16px 16px 4px; }
  .compare tr { padding: 12px 16px; border-top: 1px solid var(--line-soft); }
  .compare tbody th, .compare td { border: 0; padding: 3px 0; width: auto; }
  .compare tbody th { font-size: 14.5px; color: var(--fg); margin-bottom: 4px; }
  .compare td::before { content: attr(data-label) ': '; font-weight: 700; color: var(--subtle); font-size: 12.5px; }
  .compare td.us { background: transparent; display: block; }
  .compare td.us svg { display: none; }
}
