/* ==========================================================================
   Public landing page (GET /)
   --------------------------------------------------------------------------
   The marketing face of the same product the panel administers, so it inherits
   the panel's tokens — same near-black canvas, same green accent — but not its
   density. The panel is a console read at arm's length by someone who already
   knows what they came for; this page has to explain the bot to a freelancer
   who has never seen it, so the scale is roughly double and the page breathes.

   Deliberately dependency-free: no Tailwind CDN, no font CDN beyond the two the
   panel already pulls, no framework. A landing page that cannot render because a
   CDN is blocked in Iran is worse than a plain one, and this is the page most
   likely to be opened on a bad mobile connection.
   ========================================================================== */

:root {
  --bg:           #0A0A0B;
  --surface:      #101012;
  --surface-2:    #16161A;
  --surface-3:    #1E1E23;

  --fg:           #FAFAFA;
  --fg-muted:     #C4C4CC;
  --fg-subtle:    #8A8A96;

  --line:         #202024;
  --line-strong:  #2E2E36;

  --accent:       #16A34A;
  --accent-fg:    #04140A;
  --accent-hover: #15803D;
  --accent-text:  #4ADE80;
  --accent-wash:  rgba(34, 197, 94, .12);

  --warn-text:    #FBBF24;
  --info-text:    #7DD3FC;

  --radius:       12px;
  --radius-lg:    18px;
  --radius-xl:    28px;

  --dur:  200ms;
  --ease: cubic-bezier(.4, 0, .2, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg-muted);
  font-family: "Vazirmatn", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Latin runs (prices, counts, @handles) inside Persian text. */
.ltr { direction: ltr; unicode-bidi: isolate; }
.num { font-variant-numeric: tabular-nums; }

h1, h2, h3 { color: var(--fg); line-height: 1.45; margin: 0; font-weight: 800; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }

/* --- Ambient light --------------------------------------------------------
   One green wash behind the hero and a second, weaker one behind the pricing.
   Fixed and non-interactive so nothing below has to work around it. */
.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(680px 420px at 78% -6%, rgba(22, 163, 74, .20), transparent 70%),
    radial-gradient(520px 380px at 8% 12%,  rgba(22, 163, 74, .09), transparent 70%);
}

.page { position: relative; z-index: 1; }

/* --- Header --------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }

.nav-in { display: flex; align-items: center; gap: 20px; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--fg); font-size: 1.0625rem; }
.brand-mark {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--accent), #0E7A38);
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 163, 74, .3);
}

.nav-links { display: none; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav-link {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--fg-subtle);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-link:hover { color: var(--fg); background: var(--surface-2); }
.nav-cta { margin-inline-start: auto; }
.nav-links + .nav-cta { margin-inline-start: 0; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding-inline: 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: .9375rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn > svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 8px 24px -8px rgba(22, 163, 74, .65);
}
.btn-primary:hover { background: #18B152; box-shadow: 0 12px 30px -8px rgba(22, 163, 74, .75); }

.btn-ghost { background: var(--surface-2); color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-3); border-color: #3A3A44; }

.btn-sm { height: 38px; padding-inline: 16px; font-size: .8125rem; border-radius: 10px; }
.btn-lg { height: 54px; padding-inline: 30px; font-size: 1rem; border-radius: 14px; }

/* --- Section furniture ---------------------------------------------------- */
.section { padding-block: 84px; }
.section-head { max-width: 660px; margin-inline: auto; text-align: center; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); letter-spacing: -.01em; }
.section-head p { margin: 14px 0 0; color: var(--fg-subtle); font-size: 1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, .24);
  background: var(--accent-wash);
  color: var(--accent-text);
  font-size: .8125rem;
  font-weight: 600;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-text);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .6);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0   rgba(74, 222, 128, 0); }
}

/* --- Hero ----------------------------------------------------------------- */
.hero { padding-block: 64px 88px; }
.hero-grid { display: grid; gap: 52px; align-items: center; }

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.3;
  letter-spacing: -.02em;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent-text), #A7F3D0 55%, #4ADE80);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 22px 0 0;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  color: var(--fg-muted);
  max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* Once they stack, two buttons of different widths read as a mistake rather than as a
   hierarchy — on a narrow screen both take the full column. */
@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
.hero-note { margin: 16px 0 0; font-size: .8125rem; color: var(--fg-subtle); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
  max-width: 520px;
}
.stat {
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 16, 18, .6);
  text-align: center;
}
.stat b { display: block; color: var(--fg); font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.stat span { display: block; margin-top: 4px; font-size: .75rem; color: var(--fg-subtle); }

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; }
}

/* --- The phone mockup (the hero image) ------------------------------------ */
.shot { position: relative; display: flex; justify-content: center; }
.shot::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  background: radial-gradient(closest-side, rgba(22, 163, 74, .30), transparent);
  filter: blur(46px);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: min(340px, 88vw);
  border-radius: 42px;
  padding: 11px;
  background: linear-gradient(165deg, #26262C, #121215 45%, #1C1C21);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .03) inset;
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .phone { animation: none; }
  .eyebrow .dot { animation: none; }
  html { scroll-behavior: auto; }
  /* No autoplay runs in this mode, so nothing should be dimmed waiting for its turn. */
  .slide { opacity: 1; transform: none; transition: none; }
}

.phone-screen {
  border-radius: 32px;
  background: #0E1116;
  overflow: hidden;
  border: 1px solid #000;
}
.phone-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #17212B;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.phone-avatar {
  width: 32px; height: 32px; flex: none;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), #0E7A38);
  display: grid; place-items: center;
  color: #fff; font-size: .875rem; font-weight: 700;
}
.phone-who b { display: block; color: #fff; font-size: .8125rem; line-height: 1.4; font-weight: 700; }
.phone-who span { display: block; color: var(--accent-text); font-size: .6875rem; line-height: 1.4; }

.phone-body { padding: 16px 14px 18px; background: #0E1116; }

.bubble {
  background: #182533;
  border-radius: 16px 16px 16px 6px;
  padding: 13px 14px;
  font-size: .8125rem;
  line-height: 1.95;
  color: #E7EDF3;
}
.bubble .tag { color: var(--accent-text); font-weight: 700; }
.bubble .meta { color: #8FA5B8; font-size: .75rem; }
.bubble hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .07); margin: 10px 0; }

.tg-btns { display: grid; gap: 5px; margin-top: 6px; }
.tg-btn {
  background: #1F2C3A;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 9px;
  padding: 9px;
  text-align: center;
  color: #7FC8FF;
  font-size: .75rem;
  font-weight: 600;
}
.tg-btn.is-accent { color: var(--accent-text); }
.tg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
/* The persistent reply keyboard sits lower and flatter than inline buttons, and packs two
   to a row — which is what makes the menu slide read as the menu rather than as a message. */
.tg-keyboard { grid-template-columns: 1fr 1fr; display: grid; gap: 5px; }
.tg-btn.is-key { background: #26313D; color: #D6E3EE; font-size: .6875rem; padding: 8px 6px; }

/* --- Cards ---------------------------------------------------------------- */
/* align-items defaults to stretch, so every card in a row is the height of the tallest —
   the alternative is a ragged bottom edge that reads as a bug. */
.grid { display: grid; gap: 16px; align-items: stretch; }
/* The minimums are chosen so the two grids that have to hold an awkward count land evenly
   at desktop width: six feature cards as 3+3 (not 4+2), and five category cards as 3+2. */
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }

.card {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(22, 22, 26, .8), rgba(16, 16, 18, .8));
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.card p { margin: 0; font-size: .875rem; color: var(--fg-subtle); line-height: 1.9; }

.card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--accent-wash);
  border: 1px solid rgba(34, 197, 94, .2);
  color: var(--accent-text);
  font-size: 1.25rem;
}
.card-icon svg { width: 21px; height: 21px; }

/* --- Before / after ------------------------------------------------------- */
.compare { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.compare-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; margin-bottom: 16px; }
.compare-icon {
  width: 28px; height: 28px; flex: none;
  display: grid; place-items: center;
  border-radius: 8px;
}
.compare-icon svg { width: 16px; height: 16px; }
.compare-icon.is-bad { background: rgba(220, 38, 38, .12); border: 1px solid rgba(220, 38, 38, .26); color: #F87171; }
.compare-icon.is-ok  { background: var(--accent-wash); border: 1px solid rgba(34, 197, 94, .24); color: var(--accent-text); }
.is-before { opacity: .82; }
.is-after { border-color: rgba(34, 197, 94, .22); }

/* Bulleted lists whose marker is drawn, so the text of every line starts on the same
   vertical rule however long the line above wrapped. */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ticks li {
  position: relative;
  padding-inline-start: 22px;
  font-size: .875rem;
  line-height: 1.85;
  color: var(--fg-subtle);
}
.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 4px;
  top: .78em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}
.ticks.is-ok li { color: var(--fg-muted); }
.ticks.is-ok li::before { background: var(--accent-text); }

/* --- Pipeline diagram ------------------------------------------------------ */
.pipeline { margin: 28px 0 0; }
.pipeline-cap { text-align: center; font-size: .8125rem; color: var(--fg-subtle); margin-bottom: 14px; }
/* The diagram has a natural minimum width; below it the figure scrolls rather than
   squashing the labels into unreadable slivers. */
.pipeline > svg { width: 100%; min-width: 720px; height: auto; }
.pipeline { overflow-x: auto; }
.pipe-node rect { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 1; }
.pipe-node text {
  fill: var(--fg);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-anchor: middle;
}
.pipe-node text.sub { fill: var(--fg-subtle); font-size: 11.5px; font-weight: 500; }
.pipe-node.is-accent rect { fill: rgba(22, 163, 74, .12); stroke: rgba(34, 197, 94, .34); }
.pipe-node.is-accent text { fill: var(--accent-text); }
.pipe-node.is-you rect { fill: var(--accent); stroke: var(--accent); }
.pipe-node.is-you text { fill: #04140A; }
.pipe-node.is-you text.sub { fill: rgba(4, 20, 10, .72); }
.pipeline line { stroke: var(--line-strong); stroke-width: 1.5; }

/* --- Steps timeline --------------------------------------------------------
   A real <ol>, with the numeral in a badge on the rail rather than inside the card, so
   every card's text starts at the same place no matter how long its heading runs. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step-item { position: relative; display: flex; align-items: stretch; gap: 16px; }
.step-dot {
  position: relative;
  flex: none;
  width: 40px; height: 40px;
  margin-top: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--accent-text);
  font-weight: 800;
  font-size: .9375rem;
  z-index: 1;
}
/* The rail: drawn from each badge down to the next, so it never overshoots the last item. */
.step-item:not(:last-child) .step-dot::after {
  content: "";
  position: absolute;
  top: 100%;
  inset-inline-start: 50%;
  width: 1px;
  height: calc(100% + 14px);
  background: linear-gradient(var(--line-strong), transparent);
}
.step-card {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
}
.step-card .card-icon { margin-bottom: 0; }
.step-body { min-width: 0; }
.step-body h3 { margin-bottom: 6px; }

@media (max-width: 620px) {
  .step-item { gap: 12px; }
  .step-dot { width: 34px; height: 34px; font-size: .875rem; margin-top: 20px; }
  /* Once the row is narrow the icon and the text stop fitting side by side, so the card
     falls back to the stacked layout the other cards use. */
  .step-card { flex-direction: column; gap: 12px; padding: 20px; }
  .step-card .card-icon { margin-bottom: 0; }
}

/* --- Slider ----------------------------------------------------------------
   Native scroll-snap: the browser owns swiping, momentum and keyboard scrolling, so the
   script only has to add buttons and dots — and with JS off the track is still usable. */
.slider { position: relative; }
.slides {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 8px;
  padding: 6px 2px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slides::-webkit-scrollbar { display: none; }
.slides:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; border-radius: var(--radius); }

.slide {
  flex: 0 0 min(320px, 82%);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  /* The off-centre slides recede so the eye is told where it is without a hard edge. */
  opacity: .45;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transform: scale(.96);
}
.slide.is-active { opacity: 1; transform: none; }
/* Every slide holds a different amount of chat, and at slide width the five of them wrapped
   to wildly different heights — captions landing on five different lines. A real phone is a
   fixed viewport, so these are too: one height for every screen, with anything past it
   clipped exactly the way a chat continues below the fold. Deterministic, unlike stretching
   the phones to match, which still drifted by a couple of dozen pixels depending on how the
   text happened to wrap. */
.slide .phone { width: 100%; animation: none; }
.slide .phone-screen { height: 500px; overflow: hidden; }

.slide-cap { margin: 0; text-align: center; }
.slide-cap b { display: block; color: var(--fg); font-size: .9375rem; font-weight: 700; }
.slide-cap span { display: block; color: var(--fg-subtle); font-size: .8125rem; margin-top: 2px; }

.slider-ctl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.slider-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--fg-muted);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.slider-btn:hover { background: var(--surface-3); color: var(--fg); border-color: #3A3A44; }
.slider-btn svg { width: 19px; height: 19px; }
/* The control arrows are mirrored with the writing direction, so «next» always points the
   way the next slide actually is. */
[dir="rtl"] .slider-btn svg { transform: scaleX(-1); }

.dots { display: flex; align-items: center; gap: 8px; }
.slider-dot {
  width: 8px; height: 8px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: var(--line-strong);
  cursor: pointer;
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}
.slider-dot:hover { background: var(--fg-subtle); }
.slider-dot.is-on { background: var(--accent-text); width: 22px; border-radius: 999px; }

/* --- The bot's own menu, as chips ------------------------------------------ */
.menu-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.menu-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 22, 26, .8), rgba(16, 16, 18, .8));
  color: var(--fg-muted);
  font-size: .875rem;
  font-weight: 600;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.menu-chip:hover { border-color: rgba(34, 197, 94, .28); color: var(--fg); transform: translateY(-2px); }
.menu-emoji { font-size: 1.0625rem; line-height: 1; }

/* Category cards carry the same emoji the bot's own keyboard uses. */
.cat { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.cat-emoji {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  /* Lifted off the card so the emoji reads as a token rather than fading into the panel. */
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  font-size: 1.5rem;
  line-height: 1;
}
.cat-body { min-width: 0; flex: 1; }
.cat-body b { display: block; color: var(--fg); font-size: .9375rem; font-weight: 700; line-height: 1.6; }
/* The sample subcategories are a hint, not a list: one line, clipped rather than wrapped, so
   every card in the grid keeps the same height however long the field's names are. */
.cat-body > span {
  display: block;
  color: var(--fg-subtle);
  font-size: .78125rem;
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-count {
  flex: none;
  align-self: center;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, .2);
  background: var(--accent-wash);
  color: var(--accent-text);
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 460px) {
  .cat-count { display: none; }
}

/* --- Pricing -------------------------------------------------------------- */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }

.plan { padding: 30px 26px; }
.plan.is-featured {
  border-color: rgba(34, 197, 94, .35);
  background: linear-gradient(180deg, rgba(22, 163, 74, .09), rgba(16, 16, 18, .9));
  box-shadow: 0 24px 60px -34px rgba(22, 163, 74, .8);
}
.plan-badge {
  position: absolute;
  top: -12px;
  inset-inline-start: 26px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: .6875rem;
  font-weight: 800;
}
.plan-name { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; font-weight: 800; color: var(--fg); }
.plan-tagline { margin: 10px 0 0; font-size: .875rem; color: var(--fg-subtle); min-height: 3.4em; }

.plan-prices { margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: .875rem; }
.price-row .dur { color: var(--fg-subtle); }
.price-row .amt { color: var(--fg); font-weight: 700; }
.price-free { font-size: 1.75rem; font-weight: 800; color: var(--accent-text); }

.plan-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.plan-list li { display: flex; align-items: flex-start; gap: 9px; font-size: .875rem; color: var(--fg-muted); line-height: 1.75; }
.plan-list svg { width: 17px; height: 17px; flex: none; margin-top: 5px; color: var(--accent-text); }
.plan-list .off { color: var(--fg-subtle); }
.plan-list .off svg { color: var(--fg-subtle); opacity: .6; }
.plan .btn { width: 100%; margin-top: 24px; }

/* --- Referral / closing banner -------------------------------------------- */
.banner {
  padding: 44px 32px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(34, 197, 94, .22);
  background:
    radial-gradient(520px 200px at 80% 0%, rgba(22, 163, 74, .18), transparent 70%),
    linear-gradient(180deg, rgba(22, 22, 26, .9), rgba(16, 16, 18, .9));
  text-align: center;
}
.banner h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.banner p { margin: 14px auto 0; max-width: 560px; color: var(--fg-subtle); }
.banner .btn { margin-top: 28px; }

/* --- FAQ ------------------------------------------------------------------ */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 16, 18, .7);
  transition: border-color var(--dur) var(--ease);
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  padding: 18px 20px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent-text);
  font-size: 1.25rem;
  font-weight: 700;
  flex: none;
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-q { display: flex; align-items: center; gap: 11px; min-width: 0; }
.faq-emoji {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  font-size: .9375rem;
  line-height: 1;
}
.faq-a { padding: 0 20px 18px; }
/* Answers come from the bot verbatim, where a blank line separates paragraphs; each of
   those becomes a <p> so the spacing survives the trip to the web. */
.faq-a p { margin: 0 0 10px; font-size: .875rem; color: var(--fg-subtle); line-height: 1.95; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-more { text-align: center; margin: 24px 0 0; font-size: .875rem; color: var(--fg-subtle); }
.price-note { font-size: .8125rem; color: var(--fg-subtle); }

/* --- Footer --------------------------------------------------------------- */
.foot { border-top: 1px solid var(--line); padding-block: 34px; margin-top: 40px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot p { margin: 0; font-size: .8125rem; color: var(--fg-subtle); }
.foot a { color: var(--accent-text); font-weight: 600; }
.foot a:hover { text-decoration: underline; }

