/* Do by Businlog: marketing + account site. One file, no framework. */

/* ---------- tokens ---------- */
:root {
  --accent: #6a5cff;
  --accent-2: #3fa8ff;
  --accent-ink: #4f3ff0;           /* accent used as text on light surfaces (AA) */
  --btn-a: #5b4dff;                /* primary button gradient, white text passes AA at both ends */
  --btn-b: #4f63ff;
  --grad-text: linear-gradient(100deg, #5b4dff 0%, #2b7fe0 100%);
  --ink: #0a0f1c;
  --ink-2: #3b4256;
  --ink-3: #5c637a;
  --bg: #eceef3;
  --bg-2: #e3e6ee;
  --surface: #ffffff;
  --surface-2: #f6f7fa;
  --line: rgba(10, 15, 28, .09);
  --line-2: rgba(10, 15, 28, .16);
  --ok: #22c55e;
  --ok-ink: #15803d;
  --ok-soft: rgba(34, 197, 94, .12);
  --bad: #ef4444;
  --bad-ink: #c81e1e;
  --bad-soft: rgba(239, 68, 68, .1);
  --warn-ink: #9a5b00;
  --warn-soft: rgba(245, 158, 11, .14);
  --info-soft: rgba(106, 92, 255, .1);
  --focus: #2563eb;
  --shadow-sm: 0 1px 2px rgba(10, 15, 28, .06), 0 1px 1px rgba(10, 15, 28, .04);
  --shadow: 0 1px 2px rgba(10, 15, 28, .05), 0 8px 24px -8px rgba(10, 15, 28, .14);
  --shadow-lg: 0 2px 4px rgba(10, 15, 28, .04), 0 30px 60px -20px rgba(30, 27, 90, .30), 0 12px 24px -12px rgba(10, 15, 28, .18);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --gutter: clamp(16px, 4.5vw, 32px);
  --maxw: 1180px;
  --head-h: 64px;
  --f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-display: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent-ink: #a49bff;
    --grad-text: linear-gradient(100deg, #9d93ff 0%, #5cb8ff 100%);
    --ink: #eef0f7;
    --ink-2: #c3c8d8;
    --ink-3: #959cb3;
    --bg: #070a14;
    --bg-2: #0b1020;
    --surface: #10162a;
    --surface-2: #151c33;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .16);
    --ok-ink: #4ade80;
    --ok-soft: rgba(34, 197, 94, .14);
    --bad-ink: #f87171;
    --bad-soft: rgba(239, 68, 68, .14);
    --warn-ink: #fbbf24;
    --warn-soft: rgba(245, 158, 11, .14);
    --info-soft: rgba(106, 92, 255, .16);
    --focus: #3fa8ff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -10px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 40px 80px -24px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .06);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.4rem + 4.2vw, 4.4rem); letter-spacing: -.04em; font-weight: 750; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.85rem); letter-spacing: -.035em; }
h3 { font-size: 1.2rem; letter-spacing: -.015em; font-weight: 650; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong, b { font-weight: 650; }
small { font-size: .875em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(106, 92, 255, .25); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); font-weight: 600; }
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: calc(760px + var(--gutter) * 2); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 14px; }
.lead { font-size: clamp(1.06rem, 1rem + .4vw, 1.25rem); color: var(--ink-2); line-height: 1.6; max-width: 40em; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 46rem; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head .lead { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 18px; border-radius: 999px;
  font: 600 .95rem/1 var(--f-body); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; background: none; color: var(--ink);
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--btn-a), var(--btn-b)); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 20px -8px rgba(91, 77, 255, .65); }
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 12px 28px -10px rgba(91, 77, 255, .8); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-quiet { color: var(--ink-2); padding: 0 12px; }
.btn-quiet:hover { color: var(--ink); background: var(--surface); }
.btn-danger { background: var(--surface); color: var(--bad-ink); border-color: rgba(239, 68, 68, .35); }
.btn-danger:hover { border-color: var(--bad); }
.btn-lg { --h: 54px; padding: 0 26px; font-size: 1.02rem; }
.btn-sm { --h: 36px; padding: 0 14px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .7; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.head-in { display: flex; align-items: center; gap: 24px; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; border-radius: 12px; }
.brand svg { width: 34px; height: 34px; filter: drop-shadow(0 4px 10px rgba(91, 77, 255, .35)); }
.wm { display: flex; flex-direction: column; line-height: 1; }
.wm b { font: 750 1.28rem/1 var(--f-display); letter-spacing: -.03em; }
.wm small { font: 500 .7rem/1 var(--f-body); color: var(--ink-3); margin-top: 3px; letter-spacing: .01em; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .94rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm); }
.head-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.signin { color: var(--ink-2); font-weight: 550; font-size: .94rem; text-decoration: none; padding: 8px 12px; border-radius: 999px; }
.signin:hover { color: var(--ink); background: var(--surface); }
.mnav { display: none; position: relative; }
.mnav > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
.mnav > summary::-webkit-details-marker { display: none; }
.mnav .ic-close { display: none; }
.mnav[open] .ic-open { display: none; }
.mnav[open] .ic-close { display: block; }
.mnav-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 8px; display: grid; gap: 2px; }
.mnav-panel a:not(.btn) { color: var(--ink); text-decoration: none; padding: 12px 14px; border-radius: 10px; font-weight: 550; }
.mnav-panel a:not(.btn):hover { background: var(--surface-2); }
.mnav-panel .btn { margin-top: 6px; }
@media (max-width: 820px) {
  .nav, .head-cta .signin, .head-cta .btn-ghost { display: none; }
  .mnav { display: block; }
  .head-cta { gap: 8px; }
}
@media (max-width: 420px) {
  .head-cta .btn-primary { padding: 0 14px; font-size: .88rem; }
  .head-in { gap: 10px; }
  .wm small { display: none; }
}

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 0; color: var(--ink-3); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h2 { font: 650 .8rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin: 6px 0 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--ink-2); text-decoration: none; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-about p { margin: 14px 0 0; max-width: 28em; }
.foot-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0 -10% 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 85%);
  background:
    radial-gradient(40% 50% at 22% 30%, rgba(106, 92, 255, .22), transparent 70%),
    radial-gradient(35% 45% at 78% 20%, rgba(63, 168, 255, .22), transparent 70%),
    radial-gradient(30% 40% at 55% 75%, rgba(106, 92, 255, .12), transparent 70%);
  filter: blur(10px);
}
.hero-copy { text-align: center; max-width: 52rem; margin: 0 auto; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy .lead { margin: 0 auto 30px; }
.hero-copy .btn-row { justify-content: center; }
.hero-note { margin: 18px 0 0; color: var(--ink-3); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { color: var(--ok); }
.pill-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .86rem; color: var(--ink-2); margin-bottom: 26px; text-decoration: none; }
.pill-badge b { background: linear-gradient(135deg, var(--btn-a), var(--btn-b)); color: #fff; font-size: .75rem; padding: 4px 10px; border-radius: 999px; font-weight: 650; }
.pill-badge:hover { color: var(--ink); }
.hero-visual { position: relative; margin: clamp(44px, 6vw, 72px) auto 0; max-width: 1120px; }
.hero-visual .frame { position: relative; z-index: 1; }
.hero-phone { position: absolute; z-index: 2; left: -2.5%; bottom: -8%; width: 19%; min-width: 120px; }
.hero-call { position: absolute; z-index: 2; right: -2.5%; bottom: -6%; width: 25%; min-width: 150px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--surface); }
@media (max-width: 760px) {
  .hero-phone { width: 27%; left: -1%; bottom: -12%; }
  .hero-call { display: none; }
  .hero-visual { margin-bottom: 30px; }
}

/* ---------- product frames ---------- */
.frame { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.frame-dots { display: flex; gap: 6px; flex: none; }
.frame-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.frame-url { flex: 1; max-width: 360px; margin: 0 auto; height: 24px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 6px; font: 500 .76rem/1 var(--f-body); color: var(--ink-3); white-space: nowrap; overflow: hidden; padding: 0 10px; }
.frame-url svg { color: var(--ok); flex: none; }
.frame-url b { color: var(--ink); font-weight: 600; }
.frame img { width: 100%; }
.phone { border-radius: 30px; padding: 7px; background: #0a0f1c; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.phone img { border-radius: 24px; width: 100%; }
@media (max-width: 560px) { .frame-bar { height: 30px; padding: 0 10px; } .frame-dots i { width: 7px; height: 7px; } .frame-url { height: 19px; font-size: .64rem; } .frame { border-radius: 14px; } .phone { border-radius: 20px; padding: 4px; } .phone img { border-radius: 16px; } }

/* ---------- chips row ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-weight: 550; font-size: .92rem; box-shadow: var(--shadow-sm); }
.chips svg { color: var(--accent-ink); }

/* ---------- feature rows ---------- */
.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.feat + .feat { margin-top: clamp(72px, 10vw, 128px); }
.feat.flip .feat-copy { order: 2; }
.feat-copy h2 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.4rem); }
.feat-copy .lead { font-size: 1.06rem; }
.feat-media { min-width: 0; }
.feat-media.narrow { max-width: 380px; justify-self: center; width: 100%; }
@media (max-width: 900px) {
  .feat { grid-template-columns: minmax(0, 1fr); }
  .feat.flip .feat-copy { order: 0; }
}
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 7px; background: var(--info-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%236a5cff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.ticks li b { color: var(--ink); }
.ticks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
@media (max-width: 640px) { .ticks.two { grid-template-columns: minmax(0, 1fr); } }

.mini-ui { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--ok); }
.dot.red { background: var(--bad); }

/* ---------- cards grid ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-sm); min-width: 0; }
.card h3 { margin: 16px 0 8px; }
.card p { color: var(--ink-2); margin: 0; font-size: .96rem; }
.card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--btn-a), var(--accent-2)); box-shadow: 0 8px 18px -8px rgba(91, 77, 255, .6); }
.card .ic.g2 { background: linear-gradient(135deg, #0ea5e9, #22c55e); box-shadow: 0 8px 18px -8px rgba(14, 165, 233, .55); }
.card .ic.g3 { background: linear-gradient(135deg, #f97316, #ec4899); box-shadow: 0 8px 18px -8px rgba(236, 72, 153, .55); }
.card .ic.g4 { background: linear-gradient(135deg, #8b5cf6, #ec4899); box-shadow: 0 8px 18px -8px rgba(139, 92, 246, .55); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: minmax(0, 1fr); } }

.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.private { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .private { grid-template-columns: minmax(0, 1fr); } }
.addr-demo { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 12px; }
.addr-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; }
.addr-row .av { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font: 700 .85rem/1 var(--f-display); flex: none; }
.addr-row .meta { min-width: 0; flex: 1; }
.addr-row .meta b { display: block; font-size: .95rem; }
.addr-row .meta span { display: block; color: var(--ink-3); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addr-row .db { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--ok-ink); background: var(--ok-soft); padding: 5px 10px; border-radius: 999px; }
@media (max-width: 420px) { .addr-row .db span { display: none; } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm); position: relative; min-width: 0; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 700 1rem/1 var(--f-display); color: #fff; background: linear-gradient(135deg, var(--btn-a), var(--btn-b)); margin-bottom: 16px; }
.steps h3 { margin: 0 0 8px; }
.steps p { color: var(--ink-2); margin: 0; font-size: .96rem; }
.steps code, .mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .9em; background: var(--surface-2); border: 1px solid var(--line); padding: 2px 7px; border-radius: 7px; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- pricing ---------- */
.price-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.price-amount { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; }
.price-amount .num { font: 750 clamp(3rem, 2.2rem + 3vw, 4.4rem)/1 var(--f-display); letter-spacing: -.05em; }
.price-amount .per { color: var(--ink-3); font-weight: 500; }
.price-sub { color: var(--ink-2); margin: 0 0 22px; min-height: 1.6em; }
.save { display: inline-flex; align-items: center; font: 650 .74rem/1 var(--f-body); color: var(--ok-ink); background: var(--ok-soft); padding: 4px 8px; border-radius: 999px; letter-spacing: .01em; }
.teaser { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .teaser { grid-template-columns: minmax(0, 1fr); } }
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: minmax(0, 1fr); } }

[data-pricing] [data-cycle="yearly"] { display: none; }
[data-pricing]:has(#bill-y:checked) [data-cycle="yearly"] { display: block; }
[data-pricing]:has(#bill-y:checked) [data-cycle="monthly"] { display: none; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); gap: 2px; position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-2); cursor: pointer; user-select: none; }
.seg input:checked + label { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.seg input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 1px; }

.calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 32px); box-shadow: var(--shadow); }
.calc h2 { font-size: 1.35rem; margin-bottom: 4px; }
.calc-row { display: flex; align-items: center; gap: 14px; margin: 22px 0 10px; }
.calc-row input[type="range"] { flex: 1; min-width: 0; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--surface); flex: none; }
.stepper button { width: 40px; height: 44px; border: 0; background: var(--surface-2); color: var(--ink); font: 600 1.2rem/1 var(--f-body); cursor: pointer; }
.stepper button:hover { background: var(--bg-2); }
.stepper input { width: 64px; height: 44px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font: 650 1.05rem/1 var(--f-body); background: var(--surface); color: var(--ink); -moz-appearance: textfield; appearance: textfield; border-radius: 0; padding: 0; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-out { margin-top: 18px; padding: 20px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); display: grid; gap: 6px; }
.calc-out .big { font: 750 2.4rem/1.05 var(--f-display); letter-spacing: -.04em; }
.calc-out .big small { font: 500 .95rem/1 var(--f-body); color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.calc-out .line { color: var(--ink-2); font-size: .94rem; }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) 0 var(--fill, 10%), var(--bg-2) var(--fill, 10%) 100%); outline-offset: 6px; border: 1px solid var(--line); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(10, 15, 28, .25); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(10, 15, 28, .25); cursor: grab; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font: 600 1.02rem/1.4 var(--f-display); letter-spacing: -.01em; position: relative; border-radius: var(--r); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%236a5cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .ans { padding: 0 22px 20px; color: var(--ink-2); }
.faq .ans p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: clamp(20px, 3vw, 32px); padding: clamp(40px, 7vw, 80px) clamp(22px, 5vw, 64px); text-align: center; color: #fff; background: radial-gradient(60% 120% at 15% 0%, #7d6dff 0%, transparent 60%), radial-gradient(60% 120% at 100% 100%, #2f8fe8 0%, transparent 60%), linear-gradient(135deg, #4c3fe6, #3b5be8); box-shadow: var(--shadow-lg); isolation: isolate; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .2; background-image: radial-gradient(rgba(255, 255, 255, .7) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .9); max-width: 36em; margin: 0 auto 28px; font-size: 1.08rem; }
.cta .btn-row { justify-content: center; }
.cta .btn-white { background: #fff; color: #2d23b8; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); }
.cta .btn-white:hover { transform: translateY(-1px); }
.cta .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .55); }
.cta .btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.cta small { display: block; margin-top: 18px; color: rgba(255, 255, 255, .85); }

/* ---------- page heads ---------- */
.page-head { padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 4vw, 48px); text-align: center; position: relative; isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: -40% 0 auto; height: 600px; z-index: -1; pointer-events: none; background: radial-gradient(35% 50% at 35% 40%, rgba(106, 92, 255, .16), transparent 70%), radial-gradient(30% 45% at 68% 30%, rgba(63, 168, 255, .16), transparent 70%); }
.page-head h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); }
.page-head .lead { margin: 0 auto; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; list-style: none; padding: 0; }
.toc a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .9rem; }
.toc a:hover { color: var(--ink); border-color: var(--accent); }

/* ---------- forms ---------- */
.auth { padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 8vw, 96px); }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.auth-grid.single { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
@media (max-width: 900px) { .auth-grid { grid-template-columns: minmax(0, 1fr); } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); min-width: 0; }
.panel > h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem); margin-bottom: 8px; }
.panel > h2 { font-size: 1.35rem; margin-bottom: 6px; }
.panel-sub { color: var(--ink-2); margin: 0 0 24px; }
.panel.soft { background: transparent; box-shadow: none; border-style: dashed; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 7px; min-width: 0; }
.field > label, .legend { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field .opt { color: var(--ink-3); font-weight: 500; }
.hint { color: var(--ink-3); font-size: .85rem; margin: 0; }
.input, .field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="number"], .field input[type="date"], .field select {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  font: 400 16px/1.3 var(--f-body); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%235c637a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input::placeholder { color: var(--ink-3); opacity: .8; }
.field input:hover, .field select:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line-2)); }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(106, 92, 255, .2); }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.suffix { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.suffix:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(106, 92, 255, .2); }
.suffix.ok { border-color: var(--ok); }
.suffix.bad { border-color: var(--bad); }
.suffix input[type="text"] { border: 0 !important; box-shadow: none !important; border-radius: 0; flex: 1; min-width: 0; padding-right: 4px; text-align: right; font-weight: 550; }
.suffix span { display: flex; align-items: center; padding: 0 14px 0 2px; color: var(--ink-3); font-weight: 500; white-space: nowrap; background: var(--surface); }
.suffix.prefix input[type="text"] { text-align: left; padding-left: 4px; }
.suffix.prefix span:first-child { padding: 0 2px 0 14px; }
.status { display: flex; align-items: center; gap: 7px; font-size: .86rem; margin: 0; min-height: 1.4em; color: var(--ink-3); }
.status.ok { color: var(--ok-ink); }
.status.bad { color: var(--bad-ink); }
.status .spin { width: 14px; height: 14px; border-width: 2px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 76px !important; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 36px; padding: 0 12px; border: 0; border-radius: 9px; background: var(--surface-2); color: var(--ink-2); font: 600 .82rem/1 var(--f-body); cursor: pointer; }
.pw-toggle:hover { color: var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent); cursor: pointer; }
.hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 8px; }
@media (max-width: 420px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { position: relative; display: block; cursor: pointer; }
.plan input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.plan .box { display: grid; gap: 3px; padding: 14px 16px 14px 46px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--surface); transition: border-color .15s, box-shadow .15s, background .15s; height: 100%; position: relative; }
.plan .box::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); }
.plan input:checked + .box { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); box-shadow: 0 0 0 3px rgba(106, 92, 255, .14); }
.plan input:checked + .box::before { border: 5px solid var(--accent); }
.plan input:focus-visible + .box { outline: 3px solid var(--focus); outline-offset: 2px; }
.plan .name { font-weight: 650; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.plan .pr { color: var(--ink-2); font-size: .9rem; }
.form-foot { display: grid; gap: 12px; margin-top: 4px; }
.reassure { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--info-soft); color: var(--ink-2); font-size: .9rem; margin: 0; }
.reassure svg { color: var(--accent-ink); flex: none; margin-top: 2px; }
.alt { text-align: center; color: var(--ink-3); font-size: .94rem; margin: 18px 0 0; }

/* ---------- alerts ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid; font-size: .95rem; margin: 0 0 20px; }
.alert svg { flex: none; margin-top: 1px; }
.alert p { margin: 0; }
.alert strong { display: block; color: inherit; }
.alert-error { background: var(--bad-soft); border-color: rgba(239, 68, 68, .35); color: var(--bad-ink); }
.alert-info { background: var(--info-soft); border-color: rgba(106, 92, 255, .3); color: var(--ink); }
.alert-ok { background: var(--ok-soft); border-color: rgba(34, 197, 94, .35); color: var(--ok-ink); }
.alert-warn { background: var(--warn-soft); border-color: rgba(245, 158, 11, .35); color: var(--warn-ink); }
.alert-info svg { color: var(--accent-ink); }

/* side panel on auth pages */
.aside-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.aside-list li { display: flex; gap: 14px; }
.aside-list .n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 .85rem/1 var(--f-display); color: var(--accent-ink); background: var(--info-soft); }
.aside-list b { display: block; color: var(--ink); }
.aside-list span { color: var(--ink-2); font-size: .94rem; }
.side-shot { margin-top: 28px; }

/* ---------- account ---------- */
.acct-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.acct-head h1 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); margin: 0; }
.acct-head p { margin: 6px 0 0; color: var(--ink-3); }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .acct-grid { grid-template-columns: minmax(0, 1fr); } }
.ws-card { position: relative; overflow: hidden; }
.ws-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.ws-top { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; min-width: 0; }
.ws-av { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; font: 750 1.4rem/1 var(--f-display); background: linear-gradient(135deg, var(--btn-a), var(--accent-2)); box-shadow: 0 10px 22px -10px rgba(91, 77, 255, .7); }
.ws-name { min-width: 0; }
.ws-name h2 { font-size: 1.4rem; margin: 0 0 4px; overflow-wrap: anywhere; }
.ws-url { color: var(--ink-3); font-size: .94rem; overflow-wrap: anywhere; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font: 650 .78rem/1 var(--f-body); letter-spacing: .01em; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.b-ok { color: var(--ok-ink); background: var(--ok-soft); }
.b-trial { color: var(--accent-ink); background: var(--info-soft); }
.b-warn { color: var(--warn-ink); background: var(--warn-soft); }
.b-bad { color: var(--bad-ink); background: var(--bad-soft); }
.b-mute { color: var(--ink-3); background: var(--surface-2); border: 1px solid var(--line); }
.ws-open { display: grid; gap: 10px; }
.ws-open .btn { --h: 58px; font-size: 1.05rem; }
.provision { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.provision b { display: block; }
.provision span { color: var(--ink-3); font-size: .9rem; }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--accent) 22%, transparent); border-top-color: var(--accent); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.lock { padding: 22px; border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), color-mix(in srgb, var(--accent-2) 10%, var(--surface))); border: 1px solid rgba(106, 92, 255, .3); }
.lock h3 { font-size: 1.2rem; margin: 0 0 6px; }
.lock p { color: var(--ink-2); margin: 0 0 16px; }
.kv { display: grid; gap: 0; margin: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }
.total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); margin: 16px 0 18px; flex-wrap: wrap; }
.total .calcline { color: var(--ink-2); font-size: .94rem; }
.total .sum { font: 750 1.9rem/1 var(--f-display); letter-spacing: -.03em; }
.total .sum small { font: 500 .85rem/1 var(--f-body); color: var(--ink-3); letter-spacing: 0; }
.trial-meter { margin: 6px 0 18px; }
.trial-meter .bar { height: 8px; border-radius: 999px; background: var(--bg-2); overflow: hidden; border: 1px solid var(--line); }
.trial-meter .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: inherit; }
.trial-meter p { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 0; font-size: .9rem; color: var(--ink-2); }
.stack { display: grid; gap: 10px; }
.stack form { margin: 0; }
.welcome { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-lg); margin-bottom: 20px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), color-mix(in srgb, var(--accent-2) 12%, var(--surface))); border: 1px solid rgba(106, 92, 255, .28); }
.welcome .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--btn-a), var(--accent-2)); color: #fff; }
.welcome h2 { font-size: 1.35rem; margin: 2px 0 10px; }
.welcome ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink-2); }
.welcome ol b { color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 520px) { .welcome { grid-template-columns: minmax(0, 1fr); } }
.note-calm { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); font-size: .94rem; }
.note-calm svg { flex: none; color: var(--accent-ink); margin-top: 2px; }
.note-calm p { margin: 0; }
.signout { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; color: var(--ink-3); font-size: .92rem; }

/* ---------- message / 404 / paused ---------- */
.msg { min-height: 60vh; display: grid; place-items: center; padding: clamp(48px, 8vw, 96px) 0; text-align: center; }
.msg .panel { max-width: 560px; margin: 0 auto; padding: clamp(28px, 5vw, 48px); }
.msg h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.msg p { color: var(--ink-2); }
.msg .btn-row { justify-content: center; margin-top: 24px; }
.big-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin: 0 auto 22px; color: #fff; background: linear-gradient(135deg, var(--btn-a), var(--accent-2)); box-shadow: 0 14px 30px -12px rgba(91, 77, 255, .7); }
.big-ic.warn { background: linear-gradient(135deg, #f59e0b, #f97316); box-shadow: 0 14px 30px -12px rgba(249, 115, 22, .6); }
.code404 { font: 800 clamp(4.5rem, 3rem + 8vw, 8rem)/1 var(--f-display); letter-spacing: -.06em; margin: 0 0 8px; }
.min-head { padding: 20px 0; }
.min-head .wrap { display: flex; justify-content: center; }

/* ---------- prose (terms / privacy) ---------- */
.prose { max-width: 720px; margin: 0 auto; padding-bottom: clamp(56px, 8vw, 96px); color: var(--ink-2); }
.prose h2 { font-size: 1.35rem; margin: 2.2em 0 .6em; color: var(--ink); }
.prose h3 { font-size: 1.08rem; margin: 1.6em 0 .5em; }
.prose li { margin-bottom: .45em; }
.prose .meta-line { color: var(--ink-3); font-size: .92rem; }
.prose .summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.prose .summary ul { margin: 0; }

/* ---------- admin ---------- */
.admin-bar { background: var(--ink); color: var(--bg); }
.admin-bar .wrap { display: flex; align-items: center; gap: 12px; height: 46px; font-size: .85rem; font-weight: 600; }
.admin-bar form { margin-left: auto; }
.admin-bar .btn { --h: 32px; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.admin-main { padding: 28px 0 72px; }
.admin-main h1 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); }
.admin-main h2 { font-size: 1.25rem; margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 18px 0 28px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-sm); min-width: 0; }
.tile span { display: block; color: var(--ink-3); font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.tile b { display: block; font: 750 1.7rem/1.15 var(--f-display); letter-spacing: -.03em; margin-top: 6px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.box-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.admin-sec { margin-top: 28px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); max-width: 100%; }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 760px; }
table.data th, table.data td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
table.data th { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); font-weight: 650; background: var(--surface-2); }
table.data tr:last-child td { border-bottom: 0; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data form { margin: 0; }
table.data .empty { text-align: center; color: var(--ink-3); padding: 28px; white-space: normal; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 4px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; min-height: 32px; }
.radio-row input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.upper { text-transform: uppercase; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .rise.in { opacity: 1; transform: none; }
  .hero-visual .frame { animation: lift 1s cubic-bezier(.2, .7, .2, 1) both .1s; }
  .hero-phone { animation: lift 1s cubic-bezier(.2, .7, .2, 1) both .35s; }
  .hero-call { animation: lift 1s cubic-bezier(.2, .7, .2, 1) both .5s; }
  @keyframes lift { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ---------- small-screen polish ---------- */
@media (max-width: 560px) {
  .hero-copy .btn-row { flex-direction: column; align-items: stretch; max-width: 360px; margin: 0 auto; }
  .hero-copy .btn-row .btn { width: 100%; }
  .chips { gap: 8px; }
  .chips li { padding: 7px 12px; font-size: .84rem; gap: 6px; }
  .chips svg { width: 15px; height: 15px; }
  .hero-note { flex-direction: column; align-items: center; gap: 4px; }
  .cta .btn-row { flex-direction: column; align-items: stretch; }
  .feat-copy .lead { font-size: 1rem; }
}
.alert:focus { outline: none; }
