:root {
  --bg: #0A0C0F;
  --bg-2: #0F1318;
  --card: #13181F;
  --card-2: #192029;
  --line: #242D38;
  --text: #F3F6F8;
  --muted: #A3AEBA;
  --accent: #D4FF3A;
  --on-accent: #0A0C0F;
  --fail: #FF6B6B;
  --warn: #FFB547;
  --pass: #3DDC84;
  --info: #6CB6FF;
  --radius: 22px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(1200px 600px at 80% -10%, rgba(212, 255, 58, 0.07), transparent 60%), var(--bg); color: var(--text); font: 400 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; padding: 10px 14px; background: var(--accent); color: var(--on-accent); border-radius: 10px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.hl { color: var(--accent); }

/* ───────────── buttons ───────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 16px; background: var(--accent); color: var(--on-accent); font: 700 17px var(--sans); text-decoration: none; cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(212, 255, 58, 0.55); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 13px; }
.btn--big { min-height: 64px; padding: 0 32px; font-size: 19px; border-radius: 18px; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.link-btn { display: block; margin: 28px auto 0; padding: 12px 16px; border: 0; background: none; color: var(--muted); font: 600 16px var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link-btn:hover { color: var(--text); }

/* ───────────── header ───────────── */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(10, 12, 15, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.logo b { color: var(--accent); margin-left: 2px; }
.top__nav { display: flex; gap: 28px; font-size: 16px; font-weight: 600; }
.top__nav a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.top__nav a:hover { color: var(--text); }

/* ───────────── hero ───────────── */
.hero { width: min(1080px, 100% - 32px); margin: 0 auto; padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 96px); text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 9px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--muted); font-size: 15px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pass); box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.18); }
.hero h1 { margin: 0 auto; max-width: 15ch; font-size: clamp(42px, 8vw, 92px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 850; text-wrap: balance; }
.lead { max-width: 36rem; margin: 26px auto 0; font-size: clamp(18px, 2vw, 21px); color: var(--muted); text-wrap: pretty; }

.check { max-width: 760px; margin: 40px auto 0; }
.check__row { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 22px; border-radius: 26px; background: var(--card); border: 1.5px solid var(--line); transition: border-color 0.2s, box-shadow 0.2s; }
.check__row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 6px rgba(212, 255, 58, 0.12); }
.check__icon { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.check input { flex: 1; min-width: 0; height: 64px; border: 0; background: transparent; color: var(--text); font: 600 21px var(--sans); }
.check input:focus { outline: none; }
.check input::placeholder { color: #5D6874; }
.check__note { min-height: 1.5em; margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.check__note.is-error { color: var(--fail); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.chips li { padding: 9px 16px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--muted); }

/* ───────────── progress ───────────── */
.progress { width: min(640px, 100% - 32px); margin: 0 auto; padding: clamp(40px, 8vw, 96px) 0; }
.progress__card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.progress__url { margin: 0 0 22px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; word-break: break-all; }
.steps { display: grid; gap: 14px; margin: 0 0 26px; padding: 0; list-style: none; }
.steps li { display: flex; align-items: center; gap: 14px; font-size: 17px; color: #5D6874; transition: color 0.3s; }
.steps li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--line); transition: all 0.3s; }
.steps li.is-now { color: var(--text); }
.steps li.is-now::before { border-color: var(--accent); border-right-color: transparent; animation: spin 0.9s linear infinite; }
.steps li.is-done { color: var(--muted); }
.steps li.is-done::before { border-color: var(--pass); background: var(--pass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230A0C0F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
@keyframes spin { to { transform: rotate(360deg); } }
.bar { height: 8px; border-radius: 8px; background: var(--bg-2); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--accent); transition: width 0.6s var(--ease); }

/* ───────────── report ───────────── */
.report { width: min(1080px, 100% - 32px); margin: 0 auto; padding: clamp(40px, 7vw, 88px) 0; }
.report__head { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 30px; background: var(--card); border: 1px solid var(--line); }
.score { position: relative; width: clamp(150px, 22vw, 200px); aspect-ratio: 1; }
.score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score circle { fill: none; stroke-width: 11; stroke-linecap: round; }
.score__track { stroke: var(--bg-2); }
.score__val { stroke: var(--accent); stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.2s var(--ease), stroke 0.3s; }
.score__num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.score__num b { font-size: clamp(48px, 7vw, 64px); line-height: 1; font-weight: 850; letter-spacing: -0.04em; }
.score__num span { font-size: 15px; color: var(--muted); font-weight: 600; }
.report__summary h2 { margin: 0; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 850; }
.report__summary h2:focus { outline: none; }
.report__lead { margin: 14px 0 0; color: var(--muted); font-size: 18px; }
.tally { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.tally__item { margin: 0; padding: 14px 16px; border-radius: 16px; background: var(--bg-2); font-size: 15px; color: var(--muted); font-weight: 600; }
.tally__item b { display: block; font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; }
.tally__item--fail b { color: var(--fail); }
.tally__item--warn b { color: var(--warn); }
.tally__item--pass b { color: var(--pass); }

.groups { display: grid; gap: 18px; margin-top: 22px; }
.group { border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.group > summary { display: flex; align-items: center; gap: 14px; padding: 22px clamp(18px, 3vw, 28px); cursor: pointer; list-style: none; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.group > summary::-webkit-details-marker { display: none; }
.group > summary::after { content: ""; margin-left: auto; width: 12px; height: 12px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform 0.25s var(--ease); }
.group[open] > summary::after { transform: rotate(-135deg) translateY(-3px); }
.badges { display: flex; gap: 6px; }
.badge { min-width: 30px; padding: 3px 10px; border-radius: 999px; font-size: 14px; font-weight: 800; text-align: center; }
.badge--fail { background: rgba(255, 107, 107, 0.15); color: var(--fail); }
.badge--warn { background: rgba(255, 181, 71, 0.15); color: var(--warn); }
.badge--pass { background: rgba(61, 220, 132, 0.13); color: var(--pass); }
.items { display: grid; gap: 10px; padding: 0 clamp(12px, 2vw, 18px) clamp(12px, 2vw, 18px); }
.item { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 18px; border-radius: 18px; background: var(--bg-2); }
.item__icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.item__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.item--fail .item__icon { background: rgba(255, 107, 107, 0.15); color: var(--fail); }
.item--warn .item__icon { background: rgba(255, 181, 71, 0.15); color: var(--warn); }
.item--pass .item__icon { background: rgba(61, 220, 132, 0.13); color: var(--pass); }
.item--na .item__icon, .item--info .item__icon { background: rgba(108, 182, 255, 0.12); color: var(--info); }
.item h4 { margin: 3px 0 6px; font-size: 18px; line-height: 1.3; }
.item p { margin: 0; color: var(--muted); font-size: 16px; }
.item__fix { margin-top: 12px !important; padding: 12px 14px; border-radius: 12px; background: rgba(212, 255, 58, 0.06); border-left: 3px solid var(--accent); color: var(--text) !important; }
.item__law { margin-top: 10px !important; font-size: 14px !important; font-weight: 600; }
.item ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; word-break: break-all; }

.item__blur { position: relative; filter: blur(6px); opacity: 0.55; user-select: none; pointer-events: none; }
.item__unlock { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(212, 255, 58, 0.1); color: var(--accent); font-size: 15px; font-weight: 700; text-decoration: none; }
.item__unlock:hover { background: rgba(212, 255, 58, 0.18); }
.item__unlock svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gate { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 18px; padding: 20px 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--accent); }
.gate p { margin: 0; max-width: 44rem; color: var(--text); font-size: 17px; }
.gate .btn { flex: none; }
.upsell { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; padding: clamp(24px, 4vw, 40px); border-radius: 30px; background: var(--accent); color: var(--on-accent); }
.upsell h3 { margin: 0 0 8px; font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -0.03em; line-height: 1.05; }
.upsell p { margin: 0; max-width: 40rem; font-size: 17px; opacity: 0.8; }
.upsell .btn { background: var(--on-accent); color: var(--accent); flex: none; }

/* ───────────── sections ───────────── */
.section { width: min(1080px, 100% - 32px); margin: 0 auto; padding: clamp(64px, 10vw, 120px) 0 0; }
.section__title { margin: 0 0 clamp(28px, 4vw, 44px); max-width: 18ch; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 850; text-wrap: balance; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { grid-column: span 1; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color 0.25s, transform 0.25s var(--ease); }
.tile:hover { border-color: #3A4654; transform: translateY(-3px); }
.tile--wide { grid-column: span 2; background: linear-gradient(140deg, var(--card-2), var(--card)); }
.tile h3 { margin: 0 0 10px; font-size: 21px; letter-spacing: -0.02em; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: how; }
.how li { position: relative; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); counter-increment: how; }
.how li::before { content: counter(how); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px; background: var(--accent); color: var(--on-accent); font-weight: 850; font-size: 20px; }
.how b { display: block; margin-bottom: 8px; font-size: 21px; letter-spacing: -0.02em; }
.how span { color: var(--muted); font-size: 16px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.plan--hot { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 24px 60px -30px rgba(212, 255, 58, 0.5); }
.plan__badge { position: absolute; top: -13px; left: 24px; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 800; }
.plan h3 { margin: 0; font-size: 20px; }
.plan__price { margin: 12px 0 18px; font-size: 36px; font-weight: 850; letter-spacing: -0.03em; line-height: 1.1; }
.plan__price span { display: block; font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: 16px; }
.plan li { padding-left: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23D4FF3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 0 4px/16px no-repeat; }
.plan .btn { margin-top: auto; width: 100%; }

.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.faq details { transition: border-color 0.2s var(--ease); }
.faq details:hover, .faq details[open] { border-color: rgba(212, 255, 58, 0.35); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; cursor: pointer; font-size: 19px; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
/* Round chevron button: points down when closed, turns up when the answer is open. */
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--line) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23E6EBF0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.2s var(--ease); }
.faq summary:hover::after { background-color: #34404D; }
.faq details[open] summary::after { transform: rotate(180deg); background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%230A0C0F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.faq p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

.foot { width: min(1080px, 100% - 32px); margin: clamp(64px, 10vw, 120px) auto 0; padding: 28px 0 40px; border-top: 1px solid var(--line); color: #6F7B87; font-size: 14px; }
.foot p { margin: 0 0 6px; }

/* ───────────── mobile ───────────── */
@media (max-width: 900px) {
  .top__nav { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 34rem; margin: 0 auto; }
  .how { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { text-align: left; }
  .hero h1 { margin: 0; }
  .lead { margin-left: 0; }
  .chips { justify-content: flex-start; }
  .check__row { flex-wrap: wrap; padding: 8px; border-radius: 24px; }
  .check__icon { display: none; }
  .check input { flex-basis: 100%; height: 60px; padding: 0 14px; font-size: 20px; }
  .check .btn--big { width: 100%; }
  .report__head { grid-template-columns: 1fr; justify-items: start; }
  .score { width: 150px; }
  .tally__item { padding: 12px; font-size: 13px; }
  .tally__item b { font-size: 26px; }
  .group > summary { font-size: 19px; flex-wrap: wrap; }
  .item { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
  .upsell, .gate { flex-direction: column; align-items: stretch; }
  .gate .btn { width: 100%; }
  .upsell .btn { width: 100%; }
  .bento, .plans { grid-template-columns: 1fr; }
  .tile--wide { grid-column: span 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ───────────── cookie banner + settings ───────────── */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 20px; max-width: 980px; margin: 0 auto; padding: 18px 20px 18px 24px; border-radius: 22px; background: rgba(19, 24, 31, 0.96); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: cookie-in 0.45s var(--ease) both; }
.cookie[hidden] { display: none; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } }
.cookie__text { flex: 1; font-size: 15px; color: var(--muted); }
.cookie__text p { margin: 0; }
.cookie__title { margin-bottom: 4px !important; color: var(--text); font-weight: 800; font-size: 17px; }
.cookie__text a { color: var(--accent); }
.cookie__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.cookie__more { margin: 0; padding: 10px 6px; }

.consent { width: min(560px, 100% - 32px); max-height: min(720px, 100% - 32px); padding: 0; border: 1px solid var(--line); border-radius: 26px; background: var(--card); color: var(--text); }
.consent::backdrop { background: rgba(5, 7, 9, 0.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.consent__body { padding: clamp(22px, 4vw, 32px); }
.consent h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -0.03em; }
.consent__lead { margin: 0 0 20px; color: var(--muted); font-size: 16px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); cursor: pointer; }
.opt p { margin: 0; color: var(--muted); font-size: 15px; }
.opt .opt__name { margin-bottom: 4px; color: var(--text); font-size: 17px; font-weight: 700; }
.opt__always { flex: none; font-size: 14px; font-weight: 700; color: var(--pass); }
.switch { appearance: none; flex: none; position: relative; width: 52px; height: 32px; margin: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: background 0.2s; }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--text); transition: transform 0.25s var(--ease); }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(20px); background: var(--on-accent); }
.consent__actions { display: flex; gap: 10px; margin-top: 22px; }
.consent__actions .btn { flex: 1; }

.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 14px !important; }
.foot__links a, .foot__links button { padding: 0; border: 0; background: none; color: var(--muted); font: 600 15px var(--sans); text-decoration: none; cursor: pointer; }
.foot__links a:hover, .foot__links button:hover { color: var(--text); }

/* ───────────── document pages ───────────── */
.doc { width: min(780px, 100% - 32px); margin: 0 auto; padding: clamp(40px, 7vw, 80px) 0 0; }
.doc h1 { margin: 0 0 12px; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.04em; }
.doc__meta { margin: 0 0 36px; color: var(--muted); font-size: 15px; }
.doc h2 { margin: 40px 0 12px; font-size: 24px; letter-spacing: -0.02em; }
.doc p, .doc li { color: #C9D1D9; font-size: 17px; }
.doc ul { padding-left: 22px; }
.doc a { color: var(--accent); }
.doc .fill { padding: 1px 6px; border-radius: 6px; background: rgba(255, 181, 71, 0.15); color: var(--warn); font-weight: 700; }
.table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.table th, .table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { color: var(--muted); font-weight: 700; }
.table td { color: #C9D1D9; }
.back { display: inline-block; margin-bottom: 24px; color: var(--muted); font-weight: 700; text-decoration: none; }
.back:hover { color: var(--text); }

@media (max-width: 640px) {
  .cookie { flex-direction: column; align-items: stretch; gap: 14px; left: 10px; right: 10px; bottom: 10px; padding: 18px; }
  .cookie__actions { flex-direction: column; align-items: stretch; }
  .cookie__actions .btn { min-height: 52px; width: 100%; }
  .cookie__more { text-align: center; }
  .consent__actions { flex-direction: column; }
  .table { font-size: 14px; }
  .table th:nth-child(3), .table td:nth-child(3) { display: none; }
}

/* ───────────── checkout + order ───────────── */
.pay { width: min(1080px, 100% - 32px); margin: 0 auto; padding: clamp(32px, 6vw, 64px) 0 0; }
.pay--narrow { width: min(680px, 100% - 32px); }
.pay h1 { margin: 0 0 28px; font-size: clamp(34px, 5vw, 52px); line-height: 1.04; letter-spacing: -0.04em; }
.test-flag { display: inline-block; margin: 0 0 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 181, 71, 0.14); color: var(--warn); font-size: 14px; font-weight: 800; }
.test-flag[hidden] { display: none; }
.pay__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 18px; align-items: start; }
.summary { position: sticky; top: 88px; padding: 28px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
.summary h2 { margin: 0; font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; }
.summary__price { margin: 12px 0 18px; font-size: 44px; font-weight: 850; letter-spacing: -0.03em; line-height: 1; }
.summary__price span { display: block; margin-top: 6px; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.summary__list { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: 16px; }
.summary__list li { padding-left: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23D4FF3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 0 4px/16px no-repeat; }
.plan-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan-switch button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 64px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg-2); color: var(--muted); font: 600 14px var(--sans); text-align: left; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.plan-switch button b { color: var(--text); font-size: 16px; }
.plan-switch button[aria-checked="true"] { border-color: var(--accent); color: var(--text); }
.pay__form { display: grid; gap: 16px; padding: 28px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
.field { display: grid; gap: 8px; font-size: 15px; font-weight: 700; color: var(--muted); }
.field input { height: 60px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--bg-2); color: var(--text); font: 600 19px var(--sans); transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 5px rgba(212, 255, 58, 0.12); }
.tick { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 4px 0; font-size: 16px; color: var(--muted); cursor: pointer; }
.tick input { appearance: none; width: 28px; height: 28px; margin: 0; border: 2px solid var(--line); border-radius: 9px; background: var(--bg-2); cursor: pointer; transition: all 0.2s; }
.tick input:checked { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230A0C0F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.tick a { color: var(--accent); }
.pay__form .btn { width: 100%; margin-top: 6px; }
.form-msg { min-height: 1.4em; margin: 0; font-size: 15px; color: var(--muted); }
.form-msg.is-error { color: var(--fail); font-weight: 700; }
.pay__safe { margin: 0; font-size: 14px; color: #6F7B87; }

.status { padding: clamp(28px, 5vw, 44px); border-radius: 30px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.status__icon { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 26px; background: var(--bg-2); }
.status__icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.status[data-kind="paid"] .status__icon { background: rgba(61, 220, 132, 0.14); color: var(--pass); }
.status[data-kind="pending"] .status__icon { color: var(--accent); }
.status[data-kind="fail"] .status__icon { background: rgba(255, 107, 107, 0.14); color: var(--fail); }
.spin { animation: spin 1s linear infinite; }
.status h1 { margin: 0 0 10px; }
.status__lead { max-width: 30rem; margin: 0 auto; color: var(--muted); font-size: 18px; }
.status__facts { display: grid; gap: 0; margin: 26px 0 0; text-align: left; }
.status__facts[hidden] { display: none; }
.status__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.status__facts dt { color: var(--muted); }
.status__facts dd { margin: 0; font-weight: 700; text-align: right; word-break: break-all; }
.status__actions { margin-top: 24px; }
.status__actions .btn { min-width: 220px; }

@media (max-width: 860px) {
  .pay__grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 640px) {
  .summary, .pay__form { padding: 20px; border-radius: 22px; }
  .summary__price { font-size: 38px; }
  .status__actions .btn { width: 100%; }
}

/* ───────────── nomenclature ───────────── */
.summary__meta { display: grid; margin: 0 0 18px; }
.summary__meta div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.summary__meta dt { color: var(--muted); }
.summary__meta dd { margin: 0; font-weight: 700; text-align: right; }
.summary__more, .plans__more { margin: 0 0 18px; font-size: 15px; }
.summary__more a, .plans__more a { color: var(--accent); font-weight: 700; }
.plans__more { margin: 22px 0 0; }
.nom { display: grid; gap: 14px; margin: 18px 0; }
.nom article { padding: 20px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.nom h3 { margin: 0 0 4px; font-size: 20px; }
.nom .nom__code { margin: 0 0 12px !important; font-size: 14px !important; color: var(--muted) !important; }
.nom ul { margin: 0 0 12px; }
.nom dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.nom dt { color: var(--muted); }
.nom dd { margin: 0; color: var(--text); font-weight: 600; }

/* ───────────── requisites on checkout ───────────── */
.req { display: grid; gap: 14px; margin: 4px 0 6px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); min-width: 0; }
.req[hidden] { display: none; }
.req legend { padding: 0 8px; margin-left: -8px; font-weight: 800; font-size: 17px; }
.req__hint { margin: -4px 0 0; color: var(--muted); font-size: 15px; }
.field span em { font-style: normal; color: var(--muted); font-weight: 500; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.req .field { min-width: 0; } .req .field input { width: 100%; min-width: 0; }
.seg { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); justify-self: start; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer; }
.seg input:checked + span { background: var(--accent); color: var(--on-accent); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } .req { padding: 16px; } }
.req .field input { background: var(--card); height: 52px; padding: 0 14px; font-size: 16px; }

/* suggestions dropdown under a field */
.req .field { position: relative; }
.req__hint--accent { color: var(--accent); font-weight: 600; }
.sugg { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 6px 0 0; padding: 6px; list-style: none; max-height: 320px; overflow: auto;
  border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7); }
.sugg li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; cursor: pointer; color: var(--text); font-size: 15px; font-weight: 600; }
.sugg li b { font-weight: 700; }
.sugg li span { color: var(--muted); font-size: 13px; font-weight: 500; }
.sugg li em { justify-self: start; margin-top: 2px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 107, 107, 0.15); color: var(--fail); font-style: normal; font-size: 12px; font-weight: 700; }
.sugg li:hover, .sugg li.is-active { background: var(--bg-2); }
.field-row > .field:first-child .sugg { right: auto; width: calc(200% + 12px); }
@media (max-width: 640px) { .field-row > .field:first-child .sugg { right: 0; width: auto; } }
.req__hint--accent span { display: block; margin-top: 2px; color: var(--muted); font-weight: 500; font-size: 13px; }
.req__hint--accent a { color: inherit; }
