/* RadiusNest website - radiusnest.net */
:root {
  --bg: #f6f8fb;
  --bg-2: #eef3f8;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #526073;
  --line: #dfe5ee;
  --primary: #0e7490;
  --primary-2: #0b5f77;
  --primary-soft: #e3f3f7;
  --accent: #22d3ee;
  --indigo: #3548c9;
  --ok: #0f7a4f;
  --ok-soft: #e4f6ee;
  --warn: #9a5b00;
  --warn-soft: #fff4e0;
  --bad: #b42318;
  --bad-soft: #fdecea;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --radius: 14px;
  --hero: linear-gradient(135deg, #0b3b4d 0%, #0e2a4d 55%, #22307a 100%);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220; --bg-2: #0f182a; --card: #111b2e; --text: #e6edf6; --muted: #9aa8bb; --line: #22304a;
    --primary: #22b8d6; --primary-2: #4cc9e3; --primary-soft: #0f2d3a; --ok: #3ccf8e; --ok-soft: #0f2b21;
    --warn: #f0b252; --warn-soft: #2e2413; --bad: #ff7a70; --bad-soft: #321a1a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --hero: linear-gradient(135deg, #07202b 0%, #0a1a33 55%, #151f55 100%);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1220; --bg-2: #0f182a; --card: #111b2e; --text: #e6edf6; --muted: #9aa8bb; --line: #22304a;
  --primary: #22b8d6; --primary-2: #4cc9e3; --primary-soft: #0f2d3a; --ok: #3ccf8e; --ok-soft: #0f2b21;
  --warn: #f0b252; --warn-soft: #2e2413; --bad: #ff7a70; --bad-soft: #321a1a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --hero: linear-gradient(135deg, #07202b 0%, #0a1a33 55%, #151f55 100%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
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(--bg); color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-2); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
code, .mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .92em; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.small { font-size: .88rem; }
.hidden { display: none !important; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-weight: 550; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--bg-2); color: var(--primary); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: inline-grid; }
  .nav-links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--card); border-bottom: 1px solid var(--line); padding: 12px 16px 16px; gap: 2px; display: none; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav .btn-login { display: none; }
  .nav-actions { margin-left: auto; }
}
@media (min-width: 901px) { .nav-links .mobile-only { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: background .15s, transform .05s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
:root[data-theme="dark"] .btn-primary { color: #04202a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { color: #04202a; } }
.btn-primary:hover { background: var(--primary-2); color: #fff; }
.btn-ghost { background: var(--card); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: #0b3b4d; }
.btn-light:hover { background: #e7f7fb; color: #0b3b4d; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { background: var(--hero); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -20% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(34, 211, 238, .22), transparent); pointer-events: none; }
.hero .container { position: relative; z-index: 1; padding: 72px 0 80px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: #cfe3ee; max-width: 36em; }
.hero .eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8ee8f7; margin-bottom: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 22px; backdrop-filter: blur(6px); }
.hero-card h2 { font-size: 1rem; color: #bfe9f3; font-weight: 650; letter-spacing: 0; margin-bottom: 14px; }
.product-link { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 12px; color: #fff; text-decoration: none; border: 1px solid transparent; }
.product-link + .product-link { margin-top: 6px; }
.product-link:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: #fff; }
.product-link strong { display: block; font-size: 1.05rem; }
.product-link span { color: #c7dbe6; font-size: .93rem; }
.product-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(34, 211, 238, .16); color: #8ee8f7; }
.product-icon svg { width: 24px; height: 24px; }
.page-hero .container { grid-template-columns: 1fr; padding: 56px 0 60px; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; padding: 48px 0 56px; gap: 28px; } }

.strip { border-bottom: 1px solid var(--line); background: var(--card); }
.strip ul { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; color: var(--muted); font-weight: 550; font-size: .93rem; }
.strip li { display: inline-flex; align-items: center; gap: 8px; }
.strip svg { width: 18px; height: 18px; color: var(--primary); }

/* ---------- sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--bg-2); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.07rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: 4px 10px; border-radius: 99px; margin-bottom: 12px; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } section { padding: 52px 0; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.card h3 { margin-bottom: 6px; }
.card p:last-child { margin-bottom: 0; }
.feature .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 12px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); font-size: .96rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-inline-start: 30px; margin: 8px 0; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7490' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }

.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps .card { position: relative; padding-top: 30px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 26px; } }

/* terminal mockup */
.term { background: #0b1220; color: #d7e3f1; border-radius: 14px; border: 1px solid #1f2b44; box-shadow: var(--shadow); overflow: hidden; }
.term-bar { display: flex; gap: 6px; padding: 10px 12px; background: #111b2e; border-bottom: 1px solid #1f2b44; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.term pre { margin: 0; padding: 16px; font: 13px/1.6 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word; }
.term .c { color: #7dd3fc; } .term .g { color: #86efac; } .term .d { color: #64748b; }

/* chat mockup */
.chat { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); max-width: 420px; margin-inline: auto; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.chat-head .av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #229ed9, #0e7490); display: grid; place-items: center; color: #fff; font-weight: 800; }
.bubble { border-radius: 14px; padding: 10px 12px; margin: 8px 0; font-size: .93rem; max-width: 88%; }
.bubble.me { background: var(--primary); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; width: fit-content; }
.bubble.bot { background: var(--bg-2); border-bottom-left-radius: 4px; }
.kb { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.kb span { text-align: center; font-size: .82rem; padding: 7px 4px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); }

/* ---------- pricing ---------- */
.toggle { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; flex-wrap: wrap; justify-content: center; }
.toggle button { font: inherit; font-weight: 600; font-size: .92rem; border: 0; background: transparent; color: var(--muted); padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.price-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 28px; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan.popular { border: 2px solid var(--primary); }
.plan .badge { position: absolute; top: -12px; right: 18px; background: var(--primary); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.plan .price { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 0; }
.plan .price small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .sub { color: var(--muted); font-size: .9rem; min-height: 1.5em; }
.plan ul { flex: 1; }
.plan .btn { margin-top: 12px; }
.loading { color: var(--muted); text-align: center; padding: 28px; }
.note { border-radius: 12px; padding: 12px 14px; background: var(--primary-soft); color: var(--text); font-size: .95rem; }
.note.warn { background: var(--warn-soft); }
.note.bad { background: var(--bad-soft); }
.note.ok { background: var(--ok-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 650; padding: 16px 28px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--primary); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); }

/* ---------- CTA / footer ---------- */
.cta { background: var(--hero); color: #fff; border-radius: 20px; padding: 44px 32px; text-align: center; }
.cta p { color: #cfe3ee; }
.cta .hero-actions { justify-content: center; }
.site-footer { border-top: 1px solid var(--line); background: var(--card); padding: 44px 0 28px; margin-top: 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h3 { font-size: .95rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 6px 0; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--primary); }
.legal { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; color: var(--muted); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #1faa53; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.wa-float:hover { color: #fff; background: #178f45; }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- forms (bot portal) ---------- */
.portal { max-width: 860px; margin: 0 auto; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; scrollbar-width: thin; }
.tabs button { flex: 1 0 auto; font: inherit; font-weight: 650; font-size: .93rem; border: 0; background: transparent; color: var(--muted); padding: 10px 14px; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--primary); color: #fff; }
.panel { margin-top: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 650; font-size: .92rem; margin-bottom: 6px; }
.field .hint { color: var(--muted); font-size: .84rem; margin-top: 5px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit;
}
.field input:focus, .field select:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent); }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.field .err { color: var(--bad); font-size: .84rem; margin-top: 5px; }
.choice { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.choice label { position: relative; display: block; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: var(--bg); font-weight: 600; }
.choice label small { display: block; color: var(--muted); font-weight: 500; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary) inset; background: var(--primary-soft); }
.choice label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.msg { margin-top: 14px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.summary-line:last-child { border-bottom: 0; }
.pay-box { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
@media (max-width: 640px) { .pay-box { grid-template-columns: 1fr; } }
.qr { background: #fff; border-radius: 12px; padding: 10px; border: 1px solid var(--line); width: 220px; max-width: 100%; margin-inline: auto; }
.qr img, .qr canvas, .qr svg { display: block; width: 100%; height: auto; }
.copy-row { display: flex; gap: 8px; align-items: stretch; margin: 6px 0 14px; }
.copy-row output { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-family: ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere; font-size: .95rem; }
.copy-row .big { font-size: 1.35rem; font-weight: 800; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 99px; font-weight: 700; font-size: .88rem; background: var(--bg-2); }
.status-pill.ok { background: var(--ok-soft); color: var(--ok); }
.status-pill.warn { background: var(--warn-soft); color: var(--warn); }
.status-pill.bad { background: var(--bad-soft); color: var(--bad); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.pulse { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.script-box { position: relative; }
.script-box pre { max-height: 340px; overflow: auto; margin: 0; background: #0b1220; color: #d7e3f1; border-radius: 12px; padding: 14px; font: 12.5px/1.55 ui-monospace, Menlo, Consolas, monospace; white-space: pre; }
.guide ol { padding-left: 1.2em; }
.guide li { margin: 8px 0; }
kbd { font-family: inherit; font-size: .85em; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; background: var(--card); }
.table-wrap { overflow-x: auto; }
table.simple { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.simple th, table.simple td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }

/* ---------- home page (2026-09 refresh) ---------- */
.hero-home .container { grid-template-columns: 1.05fr .95fr; padding: 64px 0 72px; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: #cfe3ee; font-size: .93rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points svg { width: 16px; height: 16px; color: #8ee8f7; }
.mock { background: #0d1628; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); overflow: hidden; color: #dbe7f3; font-size: .85rem; min-width: 0; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #111d33; border-bottom: 1px solid #1f2b44; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.mock-bar span { margin-left: 10px; font-size: .75rem; color: #7f8ea3; background: #0b1426; padding: 2px 10px; border-radius: 6px; }
.mock-body { padding: 16px; display: grid; gap: 12px; }
.mock-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mock-title strong { font-size: 1.05rem; color: #fff; }
.mock-title span { color: #7f8ea3; font-size: .78rem; }
.mock-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mock-stats div { background: #111d33; border: 1px solid #1f2b44; border-radius: 10px; padding: 10px; min-width: 0; }
.mock-stats span { display: block; color: #7f8ea3; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-stats b { display: block; font-size: 1.35rem; color: #fff; line-height: 1.3; }
.mock-stats em { font-style: normal; font-size: .72rem; color: #7f8ea3; }
.mock-stats em.up { color: #4ade80; }
.mock-chart { height: 74px; display: flex; align-items: flex-end; gap: 5px; padding: 8px 10px 0; background: #111d33; border: 1px solid #1f2b44; border-radius: 10px; }
.mock-chart i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #22d3ee, #0e7490); opacity: .9; }
.mock-list { display: grid; gap: 6px; }
.mock-list div { display: grid; grid-template-columns: 10px auto 1fr auto; align-items: center; gap: 8px; background: #111d33; border: 1px solid #1f2b44; border-radius: 9px; padding: 7px 10px; min-width: 0; }
.mock-list b { color: #fff; font-weight: 650; }
.mock-list span:not(.dot) { color: #7f8ea3; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mock-list em { font-style: normal; color: #a9b8cb; font-size: .78rem; white-space: nowrap; }
.mock .dot { width: 8px; height: 8px; }
.mock .dot.on { background: #4ade80; }
.mock .dot.warn { background: #fbbf24; }
@media (max-width: 900px) { .hero-home .container { grid-template-columns: 1fr; padding: 44px 0 52px; gap: 30px; } }

.products .product { display: flex; flex-direction: column; gap: 6px; }
.product-top { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; }
.product-top h3 { margin: 0; }
.product-top p { margin: 0; }
.products .product-icon { background: var(--primary-soft); color: var(--primary); }
.product-price { font-weight: 700; color: var(--primary); margin: 4px 0 8px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.section-cta { margin-top: 28px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.steps-list { list-style: none; counter-reset: st; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.steps-list li { counter-increment: st; position: relative; padding: 16px 16px 16px 62px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.steps-list li::before { content: counter(st); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 9px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; }
.steps-list b, .pay-steps b, .mini-facts b { display: block; margin-bottom: 2px; }
.steps-list span, .pay-steps span, .mini-facts span { color: var(--muted); font-size: .95rem; }

.mini-facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mini-facts li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }

.pay-steps { list-style: none; counter-reset: ps; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pay-steps li { counter-increment: ps; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.pay-steps li::before { content: counter(ps); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 800; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.chips span { padding: 5px 11px; border-radius: 99px; background: var(--primary-soft); color: var(--primary); font-weight: 650; font-size: .88rem; }

.compare { max-width: 940px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; gap: 16px; padding: 13px 20px; border-top: 1px solid var(--line); }
.compare-row:first-child { border-top: 0; }
.compare-row > span:first-child { font-weight: 650; }
.compare-head { background: var(--bg-2); font-weight: 700; }
.compare-head span { color: var(--primary); }

.swipe-hint { display: none; }
.token-line code { overflow-wrap: anywhere; }

@media (max-width: 980px) { .mini-facts, .pay-steps { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .hero p.lead { font-size: 1.05rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .section-head { margin-bottom: 26px; }
  .section-head p { font-size: 1rem; }
  /* one line of highlights that scrolls sideways */
  .strip ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 22px; padding: 12px 16px; width: 100%; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .strip ul::-webkit-scrollbar { display: none; }
  .strip li { white-space: nowrap; }
  /* compact feature rows: icon on the left */
  .features { gap: 10px; }
  .features .feature { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 14px 16px; }
  .features .feature .ic { grid-row: span 2; margin: 0; width: 40px; height: 40px; }
  .features .feature h3 { font-size: 1.02rem; margin: 0 0 2px; }
  .features .feature p { font-size: .9rem; margin: 0; }
  /* price cards: swipe sideways */
  #radius-plans .price-grid, #bot-plans-preview .price-grid, #bot-pricing .price-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin: 14px -16px 0; padding: 16px 16px 8px; scroll-padding: 16px; scrollbar-width: none;
  }
  #radius-plans .price-grid::-webkit-scrollbar, #bot-plans-preview .price-grid::-webkit-scrollbar, #bot-pricing .price-grid::-webkit-scrollbar { display: none; }
  #radius-plans .plan, #bot-plans-preview .plan, #bot-pricing .plan { flex: 0 0 82%; scroll-snap-align: start; }
  .swipe-hint { display: block; text-align: center; color: var(--muted); font-size: .85rem; margin: 6px 0 0; }
  .compare-row { grid-template-columns: 1fr 1fr; gap: 4px 14px; padding: 12px 16px; }
  .compare-row > span:first-child { grid-column: 1 / -1; }
  .compare-row [data-label]::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .04em; }
  .compare-head { display: none; }
  .compare-head + .compare-row { border-top: 0; }
  .cta { padding: 32px 18px; }
  .cta .hero-actions .btn { width: 100%; }
  .wa-float { width: 48px; height: 48px; right: 12px; bottom: 12px; }
  .toggle button { padding: 7px 10px; font-size: .86rem; }
}
@media (max-width: 380px) {
  .mock-stats b { font-size: 1.1rem; }
  .mock-list div { grid-template-columns: 10px auto auto; }
  .mock-list span:not(.dot) { display: none; }
}
.footer-grid .brand { color: var(--text); }
.strip li, .strip svg { flex: none; }
@media (max-width: 640px) {
  .toggle { display: flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .toggle::-webkit-scrollbar { display: none; }
  .toggle button { flex: 1 0 auto; white-space: nowrap; padding: 7px 8px; font-size: .8rem; }
  .product-actions .btn { flex: 1 1 auto; }
  .pay-steps li { position: relative; padding: 14px 16px 14px 58px; box-shadow: none; }
  .pay-steps li::before { position: absolute; left: 16px; top: 14px; margin: 0; }
  .steps-list li { box-shadow: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) { .hero-home .mock { width: 100%; max-width: 560px; justify-self: center; } }
.coin-choice, .method-choice { grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); }
