/* ==========================================================
   Actico — public stylesheet
   Paper + ink + one signal colour. No gradients, no glass.
   ========================================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-wght.woff2") format("woff2-variations"),
       url("../fonts/Vazirmatn-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #F3F5FA;
  --paper-2: #E7EBF4;
  --card: #FFFFFF;
  --ink: #0C1222;
  --ink-2: #303A50;
  --muted: #596377;
  --line: #D3D9E6;
  --accent: #3463E8;
  --accent-2: #8B5CF6;
  --accent-3: #E3579B;
  --accent-ink: #FFFFFF;
  --spectrum: linear-gradient(90deg, #3D6DF2 0%, #8B5CF6 55%, #E3579B 100%);
  /* deeper stops: white text on it stays ≥ 4.5:1 */
  --spectrum-text: linear-gradient(90deg, #2F5BE0 0%, #7443E6 55%, #C2397B 100%);
  --dark-line: #232C42;
  --dark-muted: #8B95AD;
  --ok: #1E7A4D;
  --warn: #8A560C;
  --bad: #B3261E;

  --font: "Vazirmatn", Tahoma, system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  --r: 10px;
  --r-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(12,18,34,.05), 0 2px 8px rgba(12,18,34,.04);
  --shadow: 0 1px 2px rgba(12,18,34,.06), 0 12px 32px -8px rgba(12,18,34,.14);
  --gut: clamp(16px, 4vw, 40px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 850; letter-spacing: -0.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.muted { color: var(--muted); }

/* ---------- brand mark ---------- */
.mark line { stroke-width: 2.4; stroke-linecap: round; }
.mark line.on { stroke: var(--c, var(--accent)); }
.mark line.off { stroke: var(--line); }
.mark circle { fill: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.25em;
  background: var(--ink); color: #fff;
  border: 1.5px solid var(--ink); border-radius: var(--r);
  font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 0 0 0 var(--accent);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-1px); box-shadow: 0 8px 20px -6px rgba(61,109,242,.55); }
.btn:active { transform: none; box-shadow: none; }
.btn--glow { position: relative; background: var(--ink); border-color: var(--ink); }
.btn--glow::before { content: ""; position: absolute; inset: -2px; border-radius: calc(var(--r) + 2px); background: var(--spectrum); z-index: -1; opacity: .9; filter: blur(10px); transition: opacity .2s; }
.btn--glow:hover::before { opacity: 1; }
.btn--sm { padding: .4em .9em; font-size: .9rem; }
.btn--lg { padding: .95em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { color: var(--accent-ink); }
.btn[disabled] { opacity: .55; pointer-events: none; }

.link-arrow { font-weight: 700; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " ←"; transition: margin .15s; }
.link-arrow:hover::after { margin-inline-start: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .82rem; font-weight: 600; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 100px; padding: .2em .8em;
  margin-bottom: 1.1rem;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--spectrum); animation: pulse 2s infinite; }
.eyebrow--light { color: var(--paper-2); border-color: #2E3852; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- top bar ---------- */
.notice { background: var(--spectrum-text); color: var(--accent-ink); text-align: center; font-size: .9rem; padding: .45em var(--gut); font-weight: 600; }
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand__fa { font-weight: 900; font-size: 1.3rem; letter-spacing: -.02em; }
.brand__en { font-family: var(--mono); font-size: .7rem; color: var(--muted); letter-spacing: .18em; padding-top: 4px; }
.top__nav { display: flex; gap: 1.6rem; margin-inline-start: auto; font-size: .95rem; }
.top__nav a { text-decoration: none; color: var(--ink-2); position: relative; }
.top__nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 1.5px; background: var(--accent); transform: scaleX(0); transition: transform .2s; transform-origin: right; }
.top__nav a:hover::after { transform: scaleX(1); }
@media (max-width: 760px) {
  .top__nav { display: none; }
  .top .btn { margin-inline-start: auto; }
  .brand__en { display: none; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(2.5rem, 7vw, 5.5rem) 2rem; border-bottom: 1px solid var(--line); position: relative; }
.hero::before { /* faint ruled paper */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(to left, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__title { isolation: isolate; font-size: clamp(2.2rem, 4.9vw, 4rem); font-weight: 900; line-height: 1.18; letter-spacing: -.025em; }
.hero__title .u { position: relative; white-space: nowrap; }
.hero__title .u::after { content: ""; position: absolute; inset-inline: -.08em; bottom: .14em; height: .3em; opacity: .9; background: var(--spectrum); z-index: -1; transform: skewX(-12deg); }
.hero__lead { margin-top: 1.4rem; max-width: 36em; font-size: 1.1rem; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 2rem; }
.hero__ticks { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .92rem; color: var(--ink-2); }
.hero__ticks li::before { content: "✓"; color: var(--accent); font-weight: 900; margin-inline-end: .4em; }

.hero__art { position: relative; justify-self: center; width: min(100%, 420px); }
.dial { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.dial__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.dial__ring line { stroke-width: .75; }
.dial__ring circle { display: none; }
.dial__ring line.off { stroke: var(--ink); transition: stroke .35s ease; }
.dial.is-lit .dial__ring line { stroke: var(--accent); }
.dial__num { font-weight: 900; font-size: clamp(7rem, 20vw, 12.5rem); line-height: 1; letter-spacing: -.04em; margin-top: -.12em; }
.dial__unit { position: absolute; bottom: 28%; font-size: 1rem; font-weight: 700; color: var(--muted); }
.hero__stamp {
  position: absolute; inset-inline-start: -6%; bottom: 4%;
  background: var(--spectrum-text); color: var(--accent-ink);
  border-radius: 50%; width: 118px; height: 118px;
  display: grid; place-content: center; text-align: center; line-height: 1.3;
  transform: rotate(-10deg); font-size: .78rem; box-shadow: 0 14px 30px -8px rgba(139,92,246,.6);
}
.hero__stamp b { font-size: 1.7rem; font-weight: 900; line-height: 1.1; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { width: min(62%, 250px); margin-top: .5rem; }
  .hero__stamp { width: 96px; height: 96px; font-size: .7rem; }
  .hero__stamp b { font-size: 1.1rem; }
}

/* 18-month strip */
.months { margin-top: clamp(2.5rem, 6vw, 4rem); }
.months__head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .9rem; font-weight: 700; margin-bottom: .7rem; }
.months__head .muted { font-weight: 400; }
.months__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(18, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.months__row li { position: relative; padding: .6rem .3rem 1.4rem; border-inline-start: 1px solid var(--line); min-height: 86px; display: flex; flex-direction: column; align-items: center; gap: .1rem; background: var(--card); }
.months__row li:first-child { border-inline-start: 0; }
.months__row li::after { content: ""; position: absolute; inset: auto 0 0 0; height: 0; background: var(--c, var(--accent)); transition: height .5s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i) * 55ms); }
.months.is-in .months__row li::after { height: 6px; }
.months__n { font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.months__name { writing-mode: vertical-rl; font-size: .82rem; font-weight: 600; margin-top: .2rem; }
.months__y { position: absolute; top: .35rem; inset-inline-start: .3rem; font-family: var(--mono); font-size: .6rem; color: var(--accent); }
@media (max-width: 760px) {
  .months__row { grid-template-columns: repeat(9, 1fr); }
  .months__row li:nth-child(n+10) { border-top: 1px solid var(--line); }
  .months__row li:nth-child(10) { border-inline-start: 0; }
}

/* ---------- facts ---------- */
.facts { border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 2rem 1.4rem; border-inline-start: 1px solid var(--line); }
.fact:first-child { border-inline-start: 0; padding-inline-start: 0; }
.fact__n { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.fact__n small { font-size: .85rem; font-weight: 600; color: var(--muted); margin-inline-start: .4em; letter-spacing: 0; }
.fact p { margin-top: .7rem; font-size: .92rem; color: var(--ink-2); max-width: 22ch; }
@media (max-width: 760px) {
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 1.4rem 1rem; }
  .fact:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- section head ---------- */
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.sec-head .eyebrow { grid-column: 1 / -1; justify-self: start; margin-bottom: 0; }
.sec-head h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 900; letter-spacing: -.02em; }
.sec-head__aside { max-width: 26ch; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- chapters ---------- */
.chapters { padding-block: clamp(3.5rem, 8vw, 6rem); }
.chap-list { border-top: 1.5px solid var(--ink); }
.chap {
  display: grid; grid-template-columns: 90px 1.3fr 1fr; gap: 1.5rem 2.5rem;
  padding: 2rem 0; border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.chap__no { font-family: var(--mono); font-size: 1.5rem; color: var(--muted); transition: color .2s; }
.chap:hover .chap__no { color: var(--accent); }
.chap h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-bottom: .6rem; }
.chap__main p { color: var(--ink-2); }
.tags { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font-size: .78rem; font-weight: 600; padding: .15em .65em; border: 1px solid var(--ink); border-radius: 100px; }
.chap__prompt { align-self: start; background: var(--ink); color: #E8ECF5; border-radius: var(--r-lg); padding: 1.1rem 1.25rem 1.25rem; position: relative; transition: transform .25s, box-shadow .25s; }
.chap:hover .chap__prompt { transform: translateY(-3px); box-shadow: var(--shadow); }
.chap__label { display: block; font-size: .75rem; font-weight: 700; color: #8FB0FF; margin-bottom: .4rem; }
.chap__prompt p { font-size: .95rem; line-height: 1.85; }
.caret { display: inline-block; width: .5em; height: 1.05em; background: var(--spectrum); margin-inline-start: .25em; vertical-align: -.15em; }
.chap:hover .caret { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 900px) {
  .chap { grid-template-columns: 54px 1fr; }
  .chap__prompt { grid-column: 2; }
  .chap__no { font-size: 1.1rem; }
}

/* ---------- personas (dark) ---------- */
.personas { background: var(--ink); color: var(--paper); padding-block: clamp(3.5rem, 8vw, 6rem); }
.personas__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.personas h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; margin-bottom: 1.6rem; }
.ptabs { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.ptab { background: none; border: 0; padding: .35rem 0; cursor: pointer; font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 700; color: var(--dark-muted); transition: color .2s, padding .2s; text-align: start; }
.ptab::before { content: "— "; color: transparent; transition: color .2s; }
.ptab:hover { color: var(--paper); }
.ptab.is-on { color: var(--paper); padding-inline-start: .3rem; }
.ptab.is-on::before { color: var(--accent); }
.ppanels { position: relative; min-height: 300px; }
.ppanel { list-style: none; margin: 0; padding: 0; display: none; border-top: 1px solid var(--dark-line); }
.ppanel.is-on { display: block; }
.ppanel li { display: flex; gap: 1.2rem; align-items: baseline; padding: 1.15rem 0; border-bottom: 1px solid var(--dark-line); font-size: clamp(1.05rem, 2vw, 1.25rem); opacity: 0; transform: translateX(-12px); animation: slidein .45s forwards; animation-delay: calc(var(--i) * 70ms); }
.ppanel li span { font-family: var(--mono); font-size: .8rem; color: #8FB0FF; }
@keyframes slidein { to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .personas__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .ptabs { flex-direction: row; flex-wrap: wrap; gap: .4rem; }
  .ptab { border: 1px solid #2E3852; border-radius: 100px; padding: .3rem .9rem; font-size: .95rem; }
  .ptab::before { display: none; }
  .ptab.is-on { background: var(--paper); color: var(--ink); padding-inline-start: .9rem; border-color: var(--paper); }
  .ppanels { min-height: 0; }
}

/* ---------- buy ---------- */
.buy { padding-block: clamp(3.5rem, 8vw, 6rem); background: var(--paper-2); border-block: 1px solid var(--line); scroll-margin-top: 64px; }
.buy__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.ticket { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); position: sticky; top: 90px; box-shadow: var(--shadow); }
.ticket__top { display: flex; justify-content: space-between; align-items: center; padding: .9rem 1.3rem; border-bottom: 1.5px dashed var(--line); font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; }
.ticket__brand { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.ticket__code { color: var(--muted); }
.ticket__body { padding: 1.5rem 1.3rem 1.2rem; }
.ticket__title { font-size: 1.9rem; font-weight: 900; letter-spacing: -.02em; direction: ltr; text-align: right; }
.ticket__dur { color: var(--ink-2); margin-top: .1rem; }
.ticket__dur b { color: var(--accent); font-size: 1.2rem; }
.ticket__list { list-style: none; margin: 1.2rem 0 0; padding: 0; font-size: .95rem; }
.ticket__list li { padding: .45rem 0; border-top: 1px solid var(--paper-2); display: flex; gap: .6rem; }
.ticket__list li::before { content: "+"; font-family: var(--mono); color: var(--accent); font-weight: 700; }
.ticket__perf { position: relative; height: 0; border-top: 2px dashed var(--line); margin-inline: 1.3rem; }
.ticket__perf::before, .ticket__perf::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line); }
.ticket__perf::before { right: calc(-1.3rem - 13px); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(45deg); }
.ticket__perf::after { left: calc(-1.3rem - 13px); border-right-color: transparent; border-top-color: transparent; transform: rotate(45deg); }
.ticket__stub { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 1.2rem 1.3rem 1.4rem; }
.ticket__stub s { display: block; color: var(--muted); font-size: .9rem; }
.ticket__price { font-size: 1.9rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.2; }
.ticket__price small { font-size: .85rem; font-weight: 600; }
.stock { font-size: .8rem; font-weight: 700; color: var(--ok); border: 1px solid currentColor; border-radius: 100px; padding: .15em .7em; white-space: nowrap; }
.stock--low { color: var(--accent); }

.order h2 { font-size: 1.9rem; font-weight: 900; margin-bottom: 1.4rem; }
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label { font-size: .9rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: .7em .9em; background: var(--card);
  border: 1.5px solid var(--line); border-radius: var(--r); outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61,109,242,.18); }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.form .field input:not([type=checkbox]):not([type=file]), .form .field select { height: 50px; }
.field-row--qty { grid-template-columns: 140px 1fr; }
@media (max-width: 560px) { .field-row, .field-row--qty { grid-template-columns: 1fr; } }

.qty { display: grid; grid-template-columns: 44px 1fr 44px; height: 50px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.qty button { border: 0; background: none; font-size: 1.2rem; cursor: pointer; }
.qty button:hover { background: var(--ink); color: var(--paper); }
.form .qty input { border: 0; height: 100%; text-align: center; font-weight: 800; padding: 0; background: none; box-shadow: none !important; }

.coupon { display: flex; gap: .5rem; }
.coupon .btn { height: 50px; padding-inline: 1.2rem; flex: none; }
.coupon input { text-transform: uppercase; letter-spacing: .08em; font-family: var(--mono); }
.coupon input::placeholder { font-family: var(--font); letter-spacing: 0; text-transform: none; }
.coupon__msg { font-size: .82rem; min-height: 1.3em; margin-top: -.1rem; }
.coupon__msg.ok { color: var(--ok); }
.coupon__msg.bad { color: var(--bad); }

.sum { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); }
.sum { overflow: hidden; }
.sum > div { display: flex; justify-content: space-between; align-items: center; padding: .7rem 1.1rem; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.sum > div:last-child { border-bottom: 0; }
.sum__off b { color: var(--ok); }
.sum__total { background: var(--ink); color: var(--paper); }
.sum__total span:first-child { font-weight: 600; }
.sum__total b { font-size: 1.3rem; font-weight: 900; }

.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); cursor: pointer; line-height: 1.7; }
.check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--accent); flex: none; }
.form__note { font-size: .82rem; color: var(--muted); text-align: center; }
.soldout { border: 1.5px dashed var(--ink); border-radius: var(--r); padding: 1.5rem; }
.soldout b { font-size: 1.2rem; }

.alert { border-radius: var(--r); padding: .8rem 1rem; font-size: .95rem; border: 1.5px solid; margin-bottom: 1rem; }
.alert--error { border-color: var(--bad); color: var(--bad); background: #fbeceb; }
.alert--ok { border-color: var(--ok); color: var(--ok); background: #e8f3ec; }
.alert--info { border-color: var(--line); background: var(--card); }

@media (max-width: 900px) {
  .buy__grid { grid-template-columns: 1fr; }
  .ticket { position: static; }
}

/* ---------- steps ---------- */
.how { padding-block: clamp(3.5rem, 8vw, 6rem); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { position: relative; padding-top: 3.2rem; }
.steps li::before { content: ""; position: absolute; top: 1.1rem; inset-inline: 2.6rem -1.5rem; border-top: 1.5px dashed var(--line); }
.steps li:last-child::before { display: none; }
.steps__n { position: absolute; top: 0; inset-inline-start: 0; width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-weight: 800; }
.steps li:hover .steps__n { background: var(--accent); }
.steps h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.steps p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 3.4rem 1.6rem 0; }
  .steps li::before { inset: 2.6rem auto 0 auto; right: 1.1rem; border-top: 0; border-right: 1.5px dashed var(--line); }
}

/* ---------- faq ---------- */
.faq { padding-block: clamp(3.5rem, 8vw, 6rem); border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; }
.faq__grid .sec-head { grid-template-columns: 1fr; align-content: start; }
.faq__list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 0; font-weight: 700; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.3rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.3rem; color: var(--ink-2); max-width: 60ch; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; gap: 0; } }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--paper-2); padding-top: 3.5rem; overflow: hidden; }
.foot .mark circle { fill: var(--paper); }
.foot .mark line.off { stroke: #2E3852; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 2rem; }
.foot h4 { font-size: .85rem; color: var(--dark-muted); margin-bottom: .8rem; font-weight: 600; }
.foot__grid a:not(.brand):not(.foot__trust) { display: block; text-decoration: none; padding: .2rem 0; font-size: .95rem; }
.foot__grid a:hover { color: var(--accent); }
.foot__lead { margin-top: .8rem; max-width: 30ch; color: var(--dark-muted); font-size: .95rem; }
.foot__trust { justify-self: end; }
.foot__word { font-size: clamp(5rem, 22vw, 17rem); font-weight: 900; line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--dark-line); margin-top: 2.5rem; white-space: nowrap; text-align: center; user-select: none; }
.foot__legal { border-top: 1px solid var(--dark-line); padding: 1.2rem 0 1.6rem; font-size: .78rem; color: var(--dark-muted); }
@media (max-width: 760px) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > div:first-child { grid-column: 1 / -1; }
  .foot__trust { justify-self: start; }
  body.home { padding-bottom: 72px; }
}

/* ---------- mobile dock ---------- */
.dock { display: none; }
@media (max-width: 760px) {
  .dock {
    position: fixed; z-index: 40; inset: auto 12px 12px 12px;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: var(--ink); color: var(--paper); border-radius: 12px; padding: .6rem .6rem .6rem 1rem;
    padding-inline-start: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.25);
    transition: transform .3s, opacity .3s;
  }
  .dock small { display: block; font-size: .72rem; color: var(--dark-muted); line-height: 1.2; }
  .dock b { font-size: 1.05rem; }
  .dock .btn { background: var(--spectrum-text); border-color: transparent; min-height: 44px; color: var(--accent-ink); }
  .dock.is-hidden { transform: translateY(140%); opacity: 0; }
}

/* ==========================================================
   Inner pages (order, track, pay, terms)
   ========================================================== */
.page { padding-block: clamp(2.5rem, 7vw, 4.5rem); min-height: 60vh; }
.page__narrow { max-width: 760px; margin-inline: auto; }
.page h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 900; margin-bottom: .6rem; letter-spacing: -.02em; }
.page__lead { color: var(--ink-2); margin-bottom: 2rem; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: clamp(1.2rem, 3vw, 2rem); }
.card + .card { margin-top: 1.5rem; }
.card h2 { font-size: 1.25rem; margin-bottom: 1rem; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.5rem; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }

.chip { display: inline-block; font-size: .8rem; font-weight: 700; padding: .15em .75em; border-radius: 100px; border: 1px solid currentColor; }
.chip--ok { color: var(--ok); background: #e8f3ec; }
.chip--wait { color: var(--warn); background: #FBF3E4; }
.chip--warn { color: #B4306D; background: #FCEAF3; }
.chip--off { color: var(--muted); background: var(--paper-2); }

.lic { display: flex; align-items: stretch; border: 1.5px dashed var(--ink); border-radius: var(--r); overflow: hidden; margin-bottom: .8rem; }
.lic__n { background: var(--ink); color: var(--paper); display: grid; place-items: center; padding: 0 .9rem; font-family: var(--mono); font-size: .8rem; }
.lic__code { flex: 1; min-width: 0; padding: .85rem 1rem; font-family: var(--mono); font-size: .95rem; direction: ltr; text-align: left; word-break: break-all; background: #fff; user-select: all; }
.lic__code a { color: #0b57d0; }
.lic__copy { border: 0; border-inline-start: 1.5px dashed var(--ink); background: var(--paper-2); padding: 0 1rem; cursor: pointer; font-weight: 700; font-size: .85rem; }
.lic__copy:hover { background: var(--accent); color: var(--accent-ink); }
.lic__note { font-size: .85rem; color: var(--muted); margin: -.4rem 0 .9rem; }

.guide { white-space: pre-line; color: var(--ink-2); line-height: 2.1; }

.waiting { text-align: center; padding-block: 1rem; }
.waiting .mark { margin: 0 auto 1.2rem; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.waiting p { color: var(--ink-2); }

.prose { color: var(--ink-2); line-height: 2.1; }
.prose h2 { color: var(--ink); font-size: 1.25rem; margin: 2rem 0 .6rem; }
.prose ul, .prose ol { padding-inline-start: 1.3rem; }
.prose li { margin-bottom: .35rem; }

.test-banner { background: repeating-linear-gradient(-45deg, #ffe7a3, #ffe7a3 12px, #ffdf80 12px, #ffdf80 24px); border: 1.5px solid var(--ink); border-radius: var(--r); padding: .8rem 1rem; font-weight: 700; margin-bottom: 1.5rem; }
.err-page { text-align: center; padding-block: 5rem; }
.err-page .big { font-size: clamp(5rem, 18vw, 10rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; }


/* ==========================================================
   v2 — value-first landing
   ========================================================== */
.ico { width: 22px; height: 22px; flex: none; }

/* hero price block */
.hero__lead b { color: var(--ink); font-weight: 800; }
.hero__price { display: flex; flex-wrap: wrap; align-items: stretch; gap: .8rem; margin-top: 1.8rem; }
.hero__was, .hero__now { display: grid; gap: .1rem; padding: .8rem 1.1rem; border-radius: var(--r); }
.hero__was { border: 1px dashed var(--line); color: var(--muted); }
.hero__was span, .hero__now span { font-size: .78rem; }
.hero__was s { font-weight: 700; color: var(--ink-2); text-decoration-color: var(--accent-3); text-decoration-thickness: 2px; }
.hero__was small { font-family: var(--mono); font-size: .75rem; }
.hero__now { background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; }
.hero__now::before { content: ""; position: absolute; inset-inline-start: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--spectrum); }
.hero__now span { color: var(--muted); }
.hero__now b { font-size: 1.6rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.25; }
.hero__now b small { font-size: .85rem; font-weight: 600; }
.hero__stamp span { font-size: .72rem; line-height: 1.35; }

/* trust strip */
.trust { list-style: none; margin: clamp(2rem, 5vw, 3rem) 0 0; padding: .9rem 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); font-size: .92rem; font-weight: 600; color: var(--ink-2); position: relative; }
.trust li { display: flex; align-items: center; gap: .55rem; }
.trust .ico { color: var(--accent); width: 20px; height: 20px; }

/* highlights bento */
.highlights { padding-block: clamp(3.5rem, 8vw, 6rem); border-bottom: 1px solid var(--line); }
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 1.1rem; }
.hl { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; display: flex; flex-direction: column; gap: .45rem; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.hl:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hl__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #EEF2FE; color: var(--accent); margin-bottom: .6rem; }
.hl__kicker { font-size: .8rem; font-weight: 700; color: var(--muted); }
.hl__title { font-size: 1.55rem; font-weight: 900; letter-spacing: -.02em; }
.hl__title[dir="ltr"] { text-align: right; }
.hl__body { color: var(--ink-2); font-size: .95rem; }
.hl__chips { list-style: none; margin: auto 0 0; padding: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.hl__chips li { font-size: .75rem; font-weight: 600; padding: .2em .7em; border-radius: 100px; background: var(--paper); border: 1px solid var(--line); }
.hl:nth-child(2) { grid-column: 2 / 4; }
.hl--hero { grid-row: 1 / 3; background: var(--ink); color: #fff; border-color: var(--ink); position: relative; overflow: hidden; isolation: isolate; padding: 2rem; }
.hl--hero::before { content: ""; position: absolute; width: 420px; height: 420px; inset-inline-end: -160px; top: -170px; border-radius: 50%; background: var(--spectrum); filter: blur(70px); opacity: .55; z-index: -1; }
.hl--hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(to top, #000, transparent 70%); -webkit-mask-image: linear-gradient(to top, #000, transparent 70%); }
.hl--hero .hl__icon { background: rgba(255,255,255,.1); color: #fff; }
.hl--hero .hl__kicker { color: #A9B6FF; }
.hl--hero .hl__title { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.05; background: linear-gradient(90deg, #fff 30%, #C7B5FF 70%, #FFB4D6); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .1em; }
.hl--hero .hl__body { color: #C3CBDD; font-size: 1.02rem; max-width: 34ch; }
.hl--hero .hl__chips li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #E3E8F4; }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .hl--hero { grid-column: 1 / -1; grid-row: auto; }
  .hl:nth-child(2) { grid-column: auto; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .hl { padding: 1.3rem; }
}

/* value / calculation */
.value { padding-block: clamp(3.5rem, 8vw, 6rem); border-bottom: 1px solid var(--line); scroll-margin-top: 64px; }
.value__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.value h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 900; letter-spacing: -.02em; }
.value__lead { margin-top: 1rem; color: var(--ink-2); max-width: 32ch; }
.calc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.calc__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.4rem; border-bottom: 1px solid var(--paper-2); }
.calc__row b { font-weight: 800; }
.calc__row b[dir="ltr"] { font-family: var(--mono); font-size: 1.05rem; }
.calc__row--muted { color: var(--muted); font-size: .9rem; }
.calc__row--strike b { text-decoration: line-through; text-decoration-color: var(--accent-3); text-decoration-thickness: 2px; color: var(--ink-2); }
.calc__row--ours { background: var(--ink); color: #fff; border-bottom: 0; }
.calc__row--ours b { font-size: 1.45rem; font-weight: 900; }
.calc__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1rem; padding: 1rem 1.4rem; background: var(--paper); font-size: .92rem; color: var(--ink-2); }
.calc__save { font-weight: 800; color: #fff; background: var(--spectrum-text); padding: .25em .9em; border-radius: 100px; }
@media (max-width: 860px) { .value__grid { grid-template-columns: 1fr; } }


/* ==========================================================
   v3 — UX audit (ui-ux-pro-max): forms, touch, comparison
   ========================================================== */

/* inline field errors */
.field__err { font-size: .82rem; color: var(--bad); font-weight: 600; margin-top: .1rem; min-height: 0; }
.field__err:empty { display: none; }
.form .field input[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(179,38,30,.12); }
.check.is-invalid span { color: var(--bad); }
.alert:focus { outline: none; box-shadow: 0 0 0 3px rgba(179,38,30,.18); }

/* touch targets */
.check { min-height: 44px; align-items: center; }
.check input { margin-top: 0; }
.faq summary { min-height: 48px; align-items: center; }
@media (max-width: 900px) { .ptab { min-height: 44px; } }

/* mobile header: keep order tracking reachable */
.top__track { display: none; font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--ink-2); padding: .6rem .2rem; }
@media (max-width: 760px) {
  .top__track { display: inline-block; margin-inline-start: auto; }
  .top .btn { margin-inline-start: .6rem; }
  .trust { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; font-size: .85rem; }
}

/* comparison table */
.compare { margin-top: clamp(2rem, 5vw, 3rem); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: .95rem; table-layout: fixed; }
.compare col.c1 { width: 24%; } .compare col.c2, .compare col.c3 { width: 38%; }
.compare th, .compare td { padding: 1rem 1.2rem; text-align: start; border-bottom: 1px solid var(--paper-2); vertical-align: middle; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: .85rem; color: var(--muted); font-weight: 700; background: var(--paper); }
.compare tbody th { font-weight: 600; color: var(--ink-2); }
.compare .is-us { background: #F1F4FF; font-weight: 700; color: var(--ink); position: relative; }
.compare thead .is-us { background: var(--ink); color: #fff; }
.compare .yes::before, .compare .no::before { display: inline-block; width: 1.2em; font-weight: 900; }
.compare .yes::before { content: "✓"; color: var(--ok); }
.compare .no::before { content: "✕"; color: var(--bad); }
.compare__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-top: 1px solid var(--line); background: var(--paper); }
.compare__cta p { color: var(--ink-2); font-size: .92rem; }
@media (max-width: 640px) {
  .compare th, .compare td { padding: .8rem .7rem; font-size: .85rem; }

}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ==========================================================
   v4 — customer accounts (SMS code login)
   ========================================================= */
.linkbtn { background: none; border: 0; padding: .25rem .1rem; color: var(--accent); font-weight: 600; cursor: pointer; font-size: inherit; min-height: 32px; }
.linkbtn:hover { text-decoration: underline; }
.linkbtn[disabled] { color: var(--muted); cursor: default; text-decoration: none; }

/* header account link */
.top__account { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink-2); padding: .5rem .3rem; min-height: 44px; }
.top__account .ico { width: 20px; height: 20px; }
.top__account:hover { color: var(--accent); }
@media (max-width: 760px) {
  .top__account { margin-inline-start: auto; }
  .top__account span { display: none; }
  .top .btn { margin-inline-start: .3rem; }
}

/* purchase stepper */
.stepper { list-style: none; margin: -.4rem 0 1.4rem; padding: 0; display: flex; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.stepper li { flex: 1; display: flex; align-items: center; gap: .45rem; padding-bottom: .6rem; border-bottom: 3px solid var(--line); }
.stepper span { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--ink-2); font-size: .8rem; flex: none; }
.stepper .is-on { color: var(--ink); border-color: var(--accent); }
.stepper .is-on span { background: var(--accent); color: #fff; }
.stepper .is-done { color: var(--ok); border-color: var(--ok); }
.stepper .is-done span { background: var(--ok); color: #fff; }

/* OTP box */
.otp { display: grid; gap: 1rem; }
.otp__title { font-size: 1.15rem; }
.otp__step { display: grid; gap: 1rem; }
.otp__hint, .otp__sent, .otp__resend { font-size: .88rem; color: var(--ink-2); }
.otp__resend { text-align: center; }
.form .field .otp__code, .otp .otp__code { height: 58px; text-align: center; font-family: var(--mono); font-size: 1.6rem; letter-spacing: .6em; padding-inline-start: .6em; font-weight: 700; }
.otp .field input { height: 50px; }
.otp__dev { font-size: .85rem; background: #FBF3E4; color: var(--warn); border-radius: var(--r); padding: .5rem .8rem; text-align: center; }

/* verified number bar inside the order form */
.verified { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .7rem .9rem; border-radius: var(--r); background: #EAF5EF; color: var(--ok); font-size: .9rem; }
.verified span { color: var(--ink-2); }
.verified .linkbtn { margin-inline-start: auto; }

/* account page */
.acc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.acc-sec { font-size: 1.2rem; margin: 2rem 0 1rem; }
.acc-order { display: grid; gap: .9rem; }
.acc-order + .acc-order { margin-top: 1rem; }
.acc-order__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; font-size: .92rem; }
.acc-order .lic { margin-bottom: 0; }
.acc-guide summary { cursor: pointer; font-weight: 600; color: var(--accent); min-height: 32px; }
.acc-guide .guide { margin-top: .6rem; }
.empty { text-align: center; display: grid; gap: 1rem; justify-items: center; }

/* ==========================================================
   v5 — login: brand panel + 5-slot code input
   ========================================================== */
.auth { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.auth__brand { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding: 2.2rem 2rem; display: flex; flex-direction: column; gap: .7rem; }
.auth__brand::before { content: ""; position: absolute; width: 360px; height: 360px; inset-inline-end: -170px; bottom: -170px; border-radius: 50%; background: var(--spectrum); filter: blur(70px); opacity: .55; z-index: -1; }
.auth__brand .mark circle { fill: #fff; }
.auth__brand h1 { font-size: 1.6rem; margin: .6rem 0 0; }
.auth__brand > p { color: #C3CBDD; font-size: .95rem; }
.auth__brand ul { list-style: none; margin: auto 0 0; padding: 1.4rem 0 0; display: grid; gap: .8rem; font-size: .92rem; color: #E3E8F4; }
.auth__brand li { display: flex; align-items: center; gap: .7rem; }
.auth__brand li .ico { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(255,255,255,.08); color: #A9B6FF; }
.auth__form { padding: 2.2rem 2rem; }
.auth__form .eyebrow { margin-bottom: .6rem; }
.auth__title { font-size: 1.35rem; margin-bottom: 1.3rem; }
@media (max-width: 760px) {
  .auth { grid-template-columns: 1fr; }
  .auth__brand { padding: 1.4rem 1.3rem; }
  .auth__brand ul { display: none; }
  .auth__form { padding: 1.4rem 1.3rem; }
}

/* phone input with icon */
.otp__phone { position: relative; }
.otp__phone-ico { position: absolute; inset-inline-start: .85rem; top: 50%; transform: translateY(-50%); color: var(--muted); display: grid; pointer-events: none; }
.otp__phone-ico .ico { width: 20px; height: 20px; }
.otp .otp__phone input { padding-inline-start: 2.6rem; font-size: 1.05rem; letter-spacing: .04em; height: 52px; }
.otp__hint { display: flex; gap: .4rem; align-items: flex-start; }
.otp__hint .ico { width: 16px; height: 16px; flex: none; margin-top: .25rem; color: var(--ok); }

/* five code slots over one real input (keeps one-time-code autofill working) */
.otp__slots-wrap { position: relative; }
.otp__slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: .55rem; }
.otp__slots span { height: 60px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); display: grid; place-items: center; font-family: var(--mono); font-size: 1.6rem; font-weight: 700; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.otp__slots span.is-filled { border-color: var(--ink-2); }
.otp__slots span.is-active { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(52,99,232,.16); }
.otp__slots span.is-active:empty::after { content: ""; width: 2px; height: 26px; background: var(--accent); animation: blink 1s steps(1) infinite; }
.otp__slots-wrap.is-error .otp__slots span { border-color: var(--bad); animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.otp .otp__slots-wrap .otp__code { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; font-size: 16px; letter-spacing: 0; cursor: text; }
.otp__remember { min-height: 0; }

.page__narrow .auth { width: min(940px, calc(100vw - 2 * var(--gut))); margin-inline-start: 50%; transform: translateX(50%); }
@media (max-width: 980px) { .page__narrow .auth { width: auto; margin-inline-start: 0; transform: none; } }

/* code slots: fixed size, centred — no longer stretch with the form width */
.otp__slots-wrap { width: max-content; max-width: 100%; margin-inline: auto; }
.otp__slots { grid-template-columns: repeat(5, 48px); gap: .5rem; }
.otp__slots span { height: 54px; font-size: 1.4rem; border-radius: 10px; }
.otp__slots span.is-active:empty::after { height: 22px; }
@media (max-width: 380px) { .otp__slots { grid-template-columns: repeat(5, 42px); } .otp__slots span { height: 50px; } }

/* payment method choice (only when more than one gateway is on) */
.paywith { border: 1px solid var(--line); border-radius: var(--r); padding: .5rem .9rem .7rem; margin: 0; display: grid; gap: .2rem; background: var(--card); }
.paywith legend { font-size: .9rem; font-weight: 600; padding: 0 .3rem; }
.paywith__opt { display: flex; align-items: center; gap: .6rem; min-height: 44px; cursor: pointer; font-size: .95rem; }
.paywith__opt input { width: 18px; height: 18px; accent-color: var(--accent); }

/* eNamad badge: local image on a white card, links to the eNamad verification page */
.foot__grid .foot__trust { justify-self: end; align-self: start; display: block; box-sizing: content-box; width: 112px; background: #fff; border-radius: 12px; padding: 10px 12px; line-height: 0; transition: transform .2s, box-shadow .2s; }
.foot__grid .foot__trust picture, .foot__grid .foot__trust img { display: block; width: 112px; height: auto; }
.foot__trust:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(0,0,0,.5); }
.foot__trust:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 760px) { .foot__grid .foot__trust { justify-self: start; } }

/* row of trust badges (eNamad + gateways) */
.foot__badges { justify-self: end; align-self: start; display: flex; flex-wrap: wrap; gap: .7rem; justify-content: flex-end; }
.foot__badges .foot__trust { justify-self: auto; }
.foot__grid .foot__trust img { object-fit: contain; height: 118px; }
@media (max-width: 760px) { .foot__badges { justify-self: start; justify-content: flex-start; } }

.foot__badges { flex-wrap: nowrap; }
@media (max-width: 960px) { .foot__badges { flex-wrap: wrap; } }

/* referral, credit, installments */
.ref-in { text-transform: uppercase; letter-spacing: .08em; font-family: var(--mono); }
.ref-in::placeholder { font-family: var(--font); letter-spacing: 0; text-transform: none; }
.credit-use { margin: -.2rem 0 .2rem; }
.paywith__inst { color: var(--ink-3, #6b6b80); font-size: .78rem; margin-inline-start: .25rem; white-space: nowrap; }
.refbox { display: grid; gap: .8rem; }
.refbox__stats { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.refbox__stats > div { background: var(--paper-2, #f4f4f8); border-radius: 12px; padding: .8rem 1rem; display: grid; gap: .2rem; }
.refbox__stats b { font-size: 1.25rem; }
.refbox__rules { color: var(--ink-2); line-height: 1.9; font-size: .92rem; margin: 0; }
.mini-tbl { width: 100%; border-collapse: collapse; font-size: .85rem; margin-top: .5rem; }
.mini-tbl td { padding: .4rem .3rem; border-bottom: 1px solid var(--line); }
.mini-tbl .pos { color: var(--ok); } .mini-tbl .neg { color: var(--bad); }
