:root {
  color-scheme: dark;
  --bg: #07100c;
  --bg-deep: #040a07;
  --surface: #0b1711;
  --surface-raised: #102019;
  --surface-soft: #14271e;
  --surface-hover: #193126;
  --line: rgba(226, 255, 238, 0.09);
  --line-strong: rgba(226, 255, 238, 0.18);
  --surface-2: var(--surface-soft);
  --card: var(--surface);
  --border: var(--line);
  --border-2: var(--line-strong);
  --text: #f1f7f3;
  --text-soft: #c9d6ce;
  --muted: #8fa49a;
  --muted-2: #667a70;
  --brand: #25d366;
  --brand-hover: #4ade80;
  --brand-deep: #169c4b;
  --brand-2: var(--brand-deep);
  --brand-ink: #03170b;
  --danger: #ff716a;
  --danger-soft: rgba(255, 113, 106, 0.12);
  --warning: #e9b95e;
  --warning-soft: rgba(233, 185, 94, 0.12);
  --gold: var(--warning);
  --info: #79b8d1;
  --radius-xs: 7px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --shadow-sm: 0 10px 30px rgba(1, 10, 5, 0.18);
  --shadow-lg: 0 26px 80px rgba(1, 10, 5, 0.42);
  --container: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 88% -12%, rgba(37, 211, 102, 0.11), transparent 62%),
    radial-gradient(700px 460px at -10% 35%, rgba(37, 211, 102, 0.05), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
  font-family: "Segoe UI Variable", "Aptos", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.24;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(255,255,255,.012) 80px);
}
::selection { color: var(--brand-ink); background: var(--brand); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #294337; border: 2px solid var(--bg-deep); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #385a49; }

a { color: var(--brand); text-decoration: none; transition: color .18s var(--ease), opacity .18s var(--ease); }
a:hover { color: var(--brand-hover); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.34);
  outline-offset: 3px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--text); line-height: 1.08; letter-spacing: -0.045em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4vw, 4rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.65rem); }
h3 { font-size: 1.08rem; letter-spacing: -0.025em; }
p { text-wrap: pretty; }
svg { display: block; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(100%, calc(var(--container) + 48px)); margin: 0 auto; padding: 0 24px 72px; }
.muted { color: var(--muted); font-size: .86rem; }
.spacer { flex: 1; }
.num, .stat .num, .zstat b, .metric-value, .price .val { font-variant-numeric: tabular-nums; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-weight: 780; font-size: 1rem; letter-spacing: -.025em; }
.brand:hover { color: var(--text); }
.brand .logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--brand);
  border: 1px solid rgba(37,211,102,.36);
  border-radius: 12px 12px 12px 4px;
  background: linear-gradient(145deg, rgba(37,211,102,.16), rgba(37,211,102,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.brand small { display: block; margin-top: -2px; color: var(--muted); font-size: .67rem; font-weight: 600; letter-spacing: .03em; }

/* Buttons and form controls */
.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  border: 1px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 8px 24px rgba(37, 211, 102, .14);
  cursor: pointer;
  font-weight: 760;
  font-size: .91rem;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { color: var(--brand-ink); background: var(--brand-hover); border-color: var(--brand-hover); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(37, 211, 102, .21); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn:disabled { cursor: not-allowed; opacity: .52; transform: none; box-shadow: none; }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn.sec { color: var(--text-soft); border-color: var(--line-strong); background: rgba(255,255,255,.025); box-shadow: none; }
.btn.sec:hover { color: var(--text); border-color: rgba(37,211,102,.42); background: rgba(37,211,102,.07); box-shadow: none; }
.btn.del { color: #ffc2bf; border-color: rgba(255,113,106,.28); background: var(--danger-soft); box-shadow: none; }
.btn.del:hover { color: #fff0ef; border-color: rgba(255,113,106,.5); background: rgba(255,113,106,.19); box-shadow: none; }
.btn.sm { min-height: 34px; padding: 7px 11px; border-radius: 8px; font-size: .79rem; }
.btn.lg { min-height: 50px; padding: 14px 22px; font-size: .96rem; }
.btn.block { width: 100%; }
.icon-btn { width: 42px; padding: 0; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--text-soft); font-weight: 700; }
.text-link:hover { color: var(--brand); }

label { display: block; margin: 14px 0 6px; color: var(--text-soft); font-size: .78rem; font-weight: 690; letter-spacing: .01em; }
input, select, textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  outline: none;
  background: rgba(3, 12, 7, .52);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: rgba(226,255,238,.27); }
input:focus, select:focus, textarea:focus { border-color: var(--brand); background: rgba(5,17,10,.78); box-shadow: 0 0 0 4px rgba(37,211,102,.11); }
input::placeholder, textarea::placeholder { color: #587066; }
input[type=checkbox], input[type=radio] { width: 17px; min-height: 17px; accent-color: var(--brand); }
textarea { min-height: 104px; resize: vertical; line-height: 1.55; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field-row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.field-help { margin: 7px 0 0; color: var(--muted); font-size: .79rem; line-height: 1.5; }

/* Shared surfaces */
.card, .panel, .section-frame {
  position: relative;
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(11, 23, 17, .82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.card { transition: border-color .2s var(--ease), background .2s var(--ease); }
.card:hover { border-color: rgba(226,255,238,.14); }
.card .h, .card > h2, .panel-title { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; font-size: .98rem; font-weight: 760; letter-spacing: -.02em; }
.card .h .ic, .top h1 .ic, .panel-title .ic { color: var(--brand); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.panel-head h2, .panel-head h3 { margin: 0; }
.panel-head p { margin: 6px 0 0; color: var(--muted); }
.inset { padding: 16px; border-radius: var(--radius-sm); background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.divider, .zsep { height: 1px; margin: 20px 0; background: var(--line); }

.ok, .err, .notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  padding: 13px 15px;
  border: 1px solid;
  border-radius: var(--radius-sm);
  font-size: .88rem;
}
.ok { color: #baf2ce; border-color: rgba(37,211,102,.3); background: rgba(37,211,102,.1); }
.err { color: #ffc7c4; border-color: rgba(255,113,106,.32); background: var(--danger-soft); }
.notice { color: var(--text-soft); border-color: var(--line-strong); background: rgba(255,255,255,.025); }
.notice.warning { color: #f3d99e; border-color: rgba(233,185,94,.3); background: var(--warning-soft); }
.notice.brand { color: #c9f6d8; border-color: rgba(37,211,102,.28); background: rgba(37,211,102,.08); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255,255,255,.025);
  font-size: .69rem;
  font-weight: 760;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.tag.on { color: #aef0c4; border-color: rgba(37,211,102,.3); background: rgba(37,211,102,.1); }
.tag.off { color: #ffaaa5; border-color: rgba(255,113,106,.3); background: var(--danger-soft); }
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgba(37,211,102,.1); }
.empty-state { padding: 30px 20px; color: var(--muted); text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius-md); background: rgba(255,255,255,.015); }
.empty-state strong { display: block; margin-bottom: 5px; color: var(--text-soft); }
.skeleton { overflow: hidden; position: relative; min-height: 18px; border-radius: 6px; background: var(--surface-soft); }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent); animation: skeleton 1.5s infinite; }
@keyframes skeleton { to { transform: translateX(100%); } }

/* Public shell */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0 -24px;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 10, 7, .84);
  backdrop-filter: blur(18px);
}
.site-nav { min-height: 72px; max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 22px; }
.site-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-links .link { padding: 9px 11px; color: var(--muted); font-size: .84rem; font-weight: 700; }
.site-links .link:hover { color: var(--text); }
.nav-menu { display: none; }
.nav-menu summary { min-height: 36px; display: flex; align-items: center; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: 9px; color: var(--text-soft); cursor: pointer; font-size: .78rem; font-weight: 720; list-style: none; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu-panel { position: absolute; top: calc(100% + 8px); right: 0; width: 220px; padding: 8px; border: 1px solid var(--line-strong); border-radius: 13px; background: #0c1912; box-shadow: var(--shadow-lg); }
.nav-menu-panel a { display: block; padding: 10px; border-radius: 8px; color: var(--text-soft); font-size: .83rem; font-weight: 680; }
.nav-menu-panel a:hover { color: var(--text); background: var(--surface-hover); }

.hero-v2 { min-height: min(820px, calc(100dvh - 72px)); display: grid; grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr); align-items: center; gap: clamp(44px, 7vw, 96px); padding: 86px 0 104px; border-bottom: 1px solid var(--line); }
.hero-copy h1 { max-width: 720px; margin: 20px 0 24px; font-size: clamp(3.2rem, 6.5vw, 6.5rem); font-weight: 760; line-height: .91; letter-spacing: -.07em; }
.hero-copy h1 span { color: var(--brand); }
.hero-copy .sub { max-width: 620px; margin: 0; color: var(--text-soft); font-size: clamp(1.02rem, 1.7vw, 1.23rem); line-height: 1.62; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.proof-row { display: flex; gap: 20px; margin-top: 36px; color: var(--muted); font-size: .8rem; flex-wrap: wrap; }
.proof-row span { display: inline-flex; align-items: center; gap: 7px; }
.proof-row svg { color: var(--brand); }

.command-stage { position: relative; min-height: 520px; }
.command-stage::before { content: ""; position: absolute; width: 72%; aspect-ratio: 1; right: 6%; top: 2%; border-radius: 50%; background: rgba(37,211,102,.09); filter: blur(70px); }
.command-window { position: relative; z-index: 2; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 28px 28px 28px 8px; background: rgba(8, 19, 13, .94); box-shadow: var(--shadow-lg); transform: perspective(1200px) rotateY(-5deg) rotateX(2deg); transform-origin: right center; }
.command-top { min-height: 58px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.command-top strong { font-size: .82rem; }
.live-status { display: inline-flex; align-items: center; gap: 7px; color: #b7efca; font-size: .74rem; font-weight: 720; }
.command-body { display: grid; grid-template-columns: 104px 1fr; min-height: 410px; }
.command-rail { padding: 20px 14px; border-right: 1px solid var(--line); background: rgba(255,255,255,.018); }
.rail-mark { height: 9px; margin-bottom: 21px; border-radius: 3px; background: #1b3528; }
.rail-mark.active { width: 70%; background: var(--brand); }
.command-main { padding: 26px; }
.command-main h3 { max-width: 360px; font-size: 1.55rem; }
.signal-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 24px; }
.signal { padding: 16px; border-top: 2px solid var(--brand); background: var(--surface-raised); }
.signal small { display: block; color: var(--muted); font-size: .73rem; font-weight: 700; }
.signal strong { display: block; margin-top: 6px; font-size: 1.3rem; }
.signal-bar { height: 6px; margin-top: 12px; overflow: hidden; background: #25392f; }
.signal-bar i { display: block; width: 62%; height: 100%; background: var(--brand); }
.event-stream { margin-top: 22px; padding-left: 17px; border-left: 1px solid rgba(37,211,102,.28); }
.event-stream p { margin: 0 0 14px; color: var(--muted); font-size: .78rem; }
.event-stream b { color: var(--text-soft); }
.floating-note { position: absolute; z-index: 3; left: -28px; bottom: 18px; width: 210px; padding: 15px; border: 1px solid rgba(37,211,102,.28); border-radius: 14px 14px 14px 4px; background: #102219; box-shadow: var(--shadow-sm); }
.floating-note span { display: block; color: var(--muted); font-size: .72rem; }
.floating-note strong { display: block; margin-top: 4px; font-size: .91rem; }

.section-v2 { padding: 96px 0 112px; border-bottom: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: .42fr .58fr; gap: 36px; align-items: end; margin-bottom: 48px; }
.section-intro p { max-width: 620px; margin: 0; color: var(--muted); font-size: 1rem; }
.section-intro h2 { margin: 12px 0 0; max-width: 760px; }
.capability-list { border-top: 1px solid var(--line); }
.capability-row { display: grid; grid-template-columns: 64px minmax(180px,.65fr) 1.35fr 32px; gap: 22px; align-items: center; padding: 27px 8px; border-bottom: 1px solid var(--line); transition: background .2s var(--ease), padding .2s var(--ease); }
.capability-row:hover { padding-left: 18px; padding-right: 18px; background: rgba(37,211,102,.035); }
.capability-row .index { color: var(--brand); font-size: .74rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.capability-row h3 { margin: 0; font-size: 1.18rem; }
.capability-row p { max-width: 680px; margin: 0; color: var(--muted); }
.capability-row .arrow { color: var(--muted-2); transition: transform .2s var(--ease), color .2s var(--ease); }
.capability-row:hover .arrow { color: var(--brand); transform: translateX(5px); }

.workflow { display: grid; grid-template-columns: .74fr 1.26fr; gap: clamp(36px,7vw,96px); align-items: start; }
.workflow-copy { position: sticky; top: 110px; }
.workflow-copy p { max-width: 480px; color: var(--muted); }
.workflow-steps { counter-reset: flow; border-top: 1px solid var(--line); }
.flow-step { counter-increment: flow; display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.flow-step::before { content: counter(flow, decimal-leading-zero); color: var(--brand); font-size: .76rem; font-weight: 820; }
.flow-step h3 { margin: 0 0 8px; font-size: 1.22rem; }
.flow-step p { max-width: 620px; margin: 0; color: var(--muted); }

.pricing { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; min-height: 390px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(11,23,17,.78); }
.price.pop { border-color: rgba(37,211,102,.48); background: linear-gradient(180deg, rgba(37,211,102,.08), rgba(11,23,17,.9) 38%); box-shadow: 0 20px 60px rgba(1,10,5,.3); }
.price .badge { position: absolute; top: 14px; right: 14px; color: var(--brand); font-size: .64rem; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; }
.price .plabel { color: var(--muted); font-size: .78rem; font-weight: 750; }
.price .val { margin: 20px 0 4px; font-size: clamp(2.2rem,4vw,3.3rem); font-weight: 760; letter-spacing: -.055em; }
.price .val small { color: var(--muted); font-size: .82rem; font-weight: 700; }
.price .per { margin-bottom: 22px; color: var(--muted-2); font-size: .75rem; }
.price .old { min-height: 18px; color: var(--muted-2); font-size: .75rem; text-decoration: line-through; }
.price .capline { display: grid; gap: 8px; margin-bottom: 22px; color: var(--text-soft); font-size: .78rem; }
.price .capline span { display: flex; align-items: center; gap: 8px; }
.price .capline svg { color: var(--brand); }
.price ul { display: grid; gap: 9px; margin: 0 0 24px; padding: 0; list-style: none; color: var(--muted); font-size: .81rem; }
.price li { display: flex; align-items: center; gap: 8px; }
.price li svg { color: var(--brand); }
.price .btn { margin-top: auto; }
.launch { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--warning); font-size: .82rem; font-weight: 720; }
.faq-v2 { display: grid; grid-template-columns: .54fr 1.46fr; gap: 56px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; font-weight: 450; }
.faq details[open] summary::after { content: "−"; }
.faq p { max-width: 720px; margin: -2px 0 22px; color: var(--muted); }
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; margin: 72px 0 0; padding: 40px; border: 1px solid rgba(37,211,102,.28); border-radius: 24px 24px 24px 6px; background: linear-gradient(135deg, rgba(37,211,102,.12), rgba(37,211,102,.035)); }
.cta-band h2 { max-width: 720px; margin-bottom: 10px; }
.cta-band p { margin: 0; color: var(--muted); }
.footer { margin-top: 82px; padding: 30px 0 6px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.footer-in { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.footer-note { max-width: 560px; }
.footer-links { display: flex; gap: 18px; }
.footer a { color: var(--muted); font-weight: 680; }

/* Authentication and legal */
.auth-v2 { min-height: calc(100dvh - 72px); display: grid; grid-template-columns: minmax(360px,.9fr) minmax(440px,1.1fr); padding: 28px 0 42px; }
.auth-aside { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 48px; border: 1px solid rgba(37,211,102,.22); border-radius: 28px 0 0 8px; background: linear-gradient(145deg, rgba(37,211,102,.13), rgba(8,26,16,.86)); }
.auth-aside::after { content: ""; position: absolute; width: 360px; height: 360px; right: -180px; bottom: -180px; border: 1px solid rgba(37,211,102,.15); border-radius: 50%; box-shadow: 0 0 0 44px rgba(37,211,102,.025), 0 0 0 88px rgba(37,211,102,.02); }
.auth-aside h2 { max-width: 520px; margin: 30px 0 18px; font-size: clamp(2.1rem,4vw,4rem); }
.auth-aside p { max-width: 500px; color: var(--text-soft); font-size: 1rem; }
.auth-checks { display: grid; gap: 12px; margin-top: 44px; padding: 0; list-style: none; color: var(--text-soft); }
.auth-checks li { display: flex; align-items: center; gap: 10px; }
.auth-checks li::before { content: ""; width: 8px; height: 8px; border: 2px solid var(--brand); border-radius: 2px; transform: rotate(45deg); }
.auth-form-wrap { display: grid; place-items: center; padding: 48px clamp(28px,7vw,88px); border: 1px solid var(--line); border-left: 0; border-radius: 0 28px 28px 0; background: rgba(8,18,13,.78); }
.auth-form { width: min(100%, 430px); }
.auth-form h1 { margin: 34px 0 8px; font-size: 2rem; }
.auth-form .form-lead { margin-bottom: 26px; color: var(--muted); }
.switch { margin-top: 20px; color: var(--muted); font-size: .85rem; }
.auth { max-width: 960px; margin: 54px auto; }
.auth-shell { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.auth-note { padding: 42px; background: rgba(37,211,102,.08); }
.auth-note h2 { margin: 26px 0 16px; font-size: 2.25rem; }
.auth-note p { color: var(--muted); }
.auth-note ul { display: grid; gap: 10px; padding: 0; list-style: none; color: var(--text-soft); }
.auth-note li::before { content: "✓"; margin-right: 9px; color: var(--brand); }
.auth .card.auth-form { margin: 0; padding: 46px; border: 0; border-radius: 0; background: transparent; }

.legal-shell { display: grid; grid-template-columns: 260px minmax(0,760px); gap: clamp(40px,8vw,110px); align-items: start; padding: 54px 0 80px; }
.legal-aside { position: sticky; top: 104px; }
.legal-aside h1 { margin: 18px 0; font-size: 2.4rem; }
.legal-aside p { color: var(--muted); }
.legal-copy { padding: 32px 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(11,23,17,.72); }
.legal-copy h2 { margin: 34px 0 10px; font-size: 1.18rem; letter-spacing: -.02em; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p, .legal-copy li { color: var(--text-soft); line-height: 1.75; }

/* Product app shell */
.product-bar { position: sticky; top: 0; z-index: 45; margin: 0 -24px; border-bottom: 1px solid var(--line); background: rgba(4,10,7,.9); backdrop-filter: blur(18px); }
.admin-product-bar { background: #040a07; box-shadow: 0 12px 34px rgba(1,10,5,.24); }
.admin-product-bar .product-bar-main, .admin-product-bar .workspace-nav-inner { max-width: calc(var(--container) + 48px); }
.product-bar-main { min-height: 66px; max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 20px; }
.product-meta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.connection-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: rgba(255,255,255,.02); font-size: .75rem; font-weight: 700; }
.workspace-nav { border-top: 1px solid rgba(226,255,238,.05); }
.workspace-nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.workspace-nav-inner::-webkit-scrollbar { display: none; }
.workspace-nav a, .workspace-nav button { min-height: 46px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; cursor: pointer; white-space: nowrap; font-weight: 690; font-size: .82rem; }
.workspace-nav a:hover, .workspace-nav button:hover { color: var(--text); }
.workspace-nav a.active, .workspace-nav button.active { color: var(--text); border-bottom-color: var(--brand); }
.account-menu { position: relative; }
.account-menu summary { min-height: 38px; display: flex; align-items: center; gap: 9px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; color: var(--text-soft); font-size: .8rem; font-weight: 700; list-style: none; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu[open] summary { border-color: rgba(37,211,102,.3); }
.account-dropdown { position: absolute; top: calc(100% + 9px); right: 0; z-index: 80; width: 220px; padding: 8px; border: 1px solid var(--line-strong); border-radius: 13px; background: #0c1912; box-shadow: var(--shadow-lg); }
.account-dropdown a { display: flex; align-items: center; gap: 9px; padding: 10px; border-radius: 8px; color: var(--text-soft); font-size: .82rem; font-weight: 650; }
.account-dropdown a:hover { color: var(--text); background: var(--surface-hover); }
.mobile-dock { display: none; }
.app-main { padding: 32px 0 72px; }
.page-heading { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin: 8px 0 28px; }
.page-heading h1 { margin: 9px 0 0; font-size: clamp(2rem,4vw,3.35rem); }
.page-heading p { max-width: 650px; margin: 10px 0 0; color: var(--muted); }
.page-actions { display: flex; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }

.overview-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr); gap: 16px; align-items: start; }
.status-console { min-height: 250px; padding: 24px; border: 1px solid rgba(37,211,102,.22); border-radius: 22px 22px 22px 7px; background: linear-gradient(145deg, rgba(37,211,102,.08), rgba(11,23,17,.84) 55%); }
.metric-strip, .stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-bottom: 16px; }
.metric, .stat, .zstat { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.02); }
.metric-value, .stat .num, .zstat b { display: block; color: var(--text); font-size: clamp(1.35rem,3vw,2rem); font-weight: 760; letter-spacing: -.045em; line-height: 1; }
.metric-label, .stat .lbl, .zstat span { display: block; margin-top: 7px; color: var(--muted); font-size: .69rem; font-weight: 680; }
.workspace-section { scroll-margin-top: 126px; padding-top: 22px; }
.workspace-section + .workspace-section { margin-top: 20px; border-top: 1px solid var(--line); }
.workspace-title { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.workspace-title h2 { margin: 0; font-size: 1.55rem; }
.workspace-title p { margin: 5px 0 0; color: var(--muted); }
.two-column { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr); gap: 16px; align-items: start; }
.three-column { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.stack { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
.stack > * { min-width: 0; }
.action-bar { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }

.zt { display: flex; gap: 5px; margin-bottom: 18px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.zt div { flex: 1; padding: 10px 14px; border-radius: 8px; color: var(--muted); cursor: pointer; text-align: center; font-size: .83rem; font-weight: 720; transition: color .18s var(--ease), background .18s var(--ease); }
.zt div:hover { color: var(--text); }
.zt div.on { color: var(--brand-ink); background: var(--brand); }
.zstats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-top: 12px; }
.zaviso { margin-top: 14px; padding: 13px 14px; border: 1px solid rgba(233,185,94,.25); border-radius: var(--radius-sm); color: #efd59d; background: var(--warning-soft); font-size: .8rem; line-height: 1.55; }
.zcons { display: flex; align-items: flex-start; gap: 9px; margin-top: 15px; color: var(--text-soft); font-size: .83rem; line-height: 1.5; }
.zcons input { flex: 0 0 auto; margin-top: 3px; }
.seg { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.02); }
.seg .btn { flex: 1; }
.glist { max-height: 290px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(3,12,7,.28); }
.grow { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.grow:last-child { border-bottom: 0; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px 4px 10px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--text-soft); background: rgba(255,255,255,.025); font-size: .75rem; }
.chiprow { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.02); flex-wrap: wrap; }
.chiprow.warn { border-color: rgba(255,113,106,.3); }
.chiprow .av { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(37,211,102,.25); border-radius: 11px 11px 11px 4px; color: var(--brand); background: rgba(37,211,102,.09); }
.chiprow.warn .av { color: var(--danger); border-color: rgba(255,113,106,.25); background: var(--danger-soft); }
.chiprow .who { min-width: 130px; flex: 1; }
.chiprow .who b { font-size: .88rem; }
.chiprow .who div { color: var(--muted); font-size: .75rem; }
.log, #ovLog { max-height: 260px; overflow: auto; padding: 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text-soft); background: rgba(2,9,5,.68) !important; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .76rem; line-height: 1.72; }
.qrbox { display: block; width: 220px; max-width: 100%; margin: 16px auto; padding: 8px; border-radius: 14px; background: #fff; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 11px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-size: .82rem; }
th { color: var(--muted); font-size: .7rem; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
tbody tr { transition: background .16s var(--ease); }
tbody tr:hover { background: rgba(37,211,102,.025); }
.table-shell { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.table-shell table { min-width: 680px; }

.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(1,7,4,.82); backdrop-filter: blur(10px); }
.modalcard { width: min(620px,100%); max-height: 88vh; overflow: auto; padding: 24px; border: 1px solid var(--line-strong); border-radius: 22px 22px 22px 7px; background: #0c1912; box-shadow: var(--shadow-lg); }
.modalcard h2 { margin-bottom: 12px; font-size: 1.28rem; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.toast-stack { position: fixed; top: 18px; right: 18px; z-index: 140; width: min(380px, calc(100% - 30px)); display: grid; gap: 9px; pointer-events: none; }
.toast { display: flex; align-items: flex-start; gap: 10px; padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 13px 13px 13px 5px; color: var(--text-soft); background: #102019; box-shadow: var(--shadow-lg); animation: toast-in .22s var(--ease) both; pointer-events: auto; }
.toast::before { content: ""; width: 8px; height: 8px; margin-top: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--brand); }
.toast button { margin-left: auto; padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }

/* Plans, account, maturator, admin */
.checkout-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); gap: 18px; align-items: start; }
.checkout-aside { position: sticky; top: 132px; }
.coupon-box { margin-top: 12px; padding: 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); }
.pix-checkout-card { overflow: hidden; }
.pix-checkout-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.pix-checkout-head h2 { margin: 5px 0 0; }
.pix-qr { padding: 2px 0 6px; }
.pix-copy { display: grid; gap: 8px; }
.pix-copy textarea { width: 100%; min-height: 78px; resize: vertical; box-sizing: border-box; font: 600 .74rem/1.45 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.pix-help { margin: 12px 0; line-height: 1.55; }
#payRetry { margin-top: 10px; }
.settings-layout { display: grid; grid-template-columns: minmax(260px,.7fr) minmax(0,1.3fr); gap: 18px; align-items: start; }
.settings-layout > *, .admin-overview > *, .two-column > *, .three-column > *, .overview-grid > *, .checkout-layout > *, .maturator-layout > * { min-width: 0; }
.profile-summary { position: sticky; top: 132px; }
.profile-mark { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid rgba(37,211,102,.28); border-radius: 17px 17px 17px 5px; color: var(--brand); background: rgba(37,211,102,.08); font-size: 1.25rem; font-weight: 800; }
.copy-field { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.maturator-layout { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(300px,.82fr); gap: 16px; align-items: start; }
.admin-anchor, .admin-section { scroll-margin-top: 130px; }
.admin-overview { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; align-items: start; }
.admin-overview > *, .admin-overview .card, .admin-overview > .panel { margin-bottom: 0; }
.admin-alerts .card { padding: 18px 22px; }
.admin-revenue-panel .stats { margin-bottom: 18px; }
.admin-revenue-panel .table-shell table { min-width: 720px; }
.admin-section { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.admin-clients-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
.admin-clients-layout > .panel { min-width: 0; margin-bottom: 0; }
.admin-create-grid { display: grid; grid-template-columns: minmax(180px,.72fr) minmax(220px,1fr) minmax(320px,1.28fr); gap: 12px; align-items: end; }
.admin-create-grid label { margin-top: 0; }
.admin-client-panel .table-shell { max-height: min(72vh,760px); overflow: auto; scrollbar-gutter: stable; }
.admin-client-table { min-width: 1080px !important; table-layout: fixed; }
.admin-client-table th:nth-child(1) { width: 13%; }
.admin-client-table th:nth-child(2) { width: 10%; }
.admin-client-table th:nth-child(3) { width: 18%; }
.admin-client-table th:nth-child(4) { width: 12%; }
.admin-client-table th:nth-child(5) { width: 47%; }
.admin-client-table thead th { position: sticky; top: 0; z-index: 2; background: #0b1711; box-shadow: 0 1px 0 var(--line); }
.admin-manage > summary { width: fit-content; min-height: 34px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--text-soft); background: rgba(255,255,255,.025); cursor: pointer; font-size: .75rem; font-weight: 730; list-style: none; }
.admin-manage > summary::-webkit-details-marker { display: none; }
.admin-manage > summary::after { content: "+"; color: var(--brand); font-size: .95rem; line-height: 1; }
.admin-manage[open] > summary { color: var(--text); border-color: rgba(37,211,102,.34); background: rgba(37,211,102,.07); }
.admin-manage[open] > summary::after { content: "−"; }
.admin-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.admin-actions form { max-width: 100%; }
.admin-actions input, .admin-actions select { min-height: 34px; width: auto; padding: 5px 7px; font-size: .75rem; }
.admin-security-form { max-width: 720px; }

.top { display: flex; align-items: center; gap: 10px; margin: 24px 0; flex-wrap: wrap; }
.top h1 { flex: 1; display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.7rem; }
.nav { margin: 0 -24px; border-bottom: 1px solid var(--line); background: rgba(4,10,7,.86); }
.nav-in { min-height: 70px; max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 12px; }
.nav .link { color: var(--muted); font-weight: 700; }
.support-fab { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; border: 1px solid var(--brand); border-radius: 14px 14px 14px 5px; color: var(--brand-ink); background: var(--brand); box-shadow: 0 14px 36px rgba(1,10,5,.35); font-weight: 760; font-size: .82rem; }
.support-fab:hover { color: var(--brand-ink); background: var(--brand-hover); }
.support-fab-admin { position: static; display: flex; width: fit-content; min-height: 44px; margin: 18px 24px 24px auto; justify-content: center; }

@media (max-width: 1040px) {
  .hero-v2 { grid-template-columns: 1fr; min-height: auto; padding-top: 72px; }
  .hero-copy { max-width: 780px; }
  .command-stage { width: min(100%,720px); margin-left: auto; }
  .command-window { transform: none; }
  .section-intro, .workflow, .faq-v2 { grid-template-columns: 1fr; }
  .workflow-copy { position: static; }
  .overview-grid, .checkout-layout, .settings-layout, .maturator-layout, .admin-overview { grid-template-columns: 1fr; }
  .admin-create-grid { grid-template-columns: 1fr 1fr; }
  .admin-create-grid > :last-child { grid-column: 1 / -1; }
  .checkout-aside, .profile-summary { position: static; }
  .three-column { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  body.has-mobile-dock { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .site-links .link { display: none; }
  .site-links .btn.sec { display: none; }
  .nav-menu { position: relative; display: block; }
  .pricing { grid-template-columns: 1fr; }
  .price { min-height: auto; }
  .cta-band { grid-template-columns: 1fr; align-items: start; }
  .footer-in { grid-template-columns: 1fr; gap: 18px; }
  .auth-v2 { grid-template-columns: 1fr; }
  .auth-aside { min-height: 360px; border-radius: 24px 24px 0 0; }
  .auth-form-wrap { border-left: 1px solid var(--line); border-top: 0; border-radius: 0 0 24px 24px; }
  .legal-shell { grid-template-columns: 1fr; }
  .legal-aside { position: static; }
  .workspace-nav { display: none; }
  .product-meta .connection-chip { display: none; }
  .mobile-dock { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 75; display: grid; grid-template-columns: repeat(5,1fr); padding: 7px; border: 1px solid var(--line-strong); border-radius: 17px; background: rgba(5,14,9,.94); backdrop-filter: blur(18px); box-shadow: var(--shadow-lg); }
  .mobile-dock a { min-width: 0; display: grid; place-items: center; gap: 3px; padding: 7px 3px; border-radius: 10px; color: var(--muted); font-size: .62rem; font-weight: 690; }
  .mobile-dock a.active { color: var(--brand); background: rgba(37,211,102,.08); }
  .mobile-dock svg { width: 18px; height: 18px; }
  .app-main { padding-bottom: 96px; }
  .admin-anchor, .admin-section { scroll-margin-top: 76px; }
  .workspace-title { align-items: flex-start; flex-wrap: wrap; }
  .admin-revenue-panel .table-shell table { min-width: 680px; }
  .admin-client-panel .table-shell { max-height: none; overflow: visible; border: 0; }
  .admin-client-table, .admin-client-table tbody, .admin-client-table tr, .admin-client-table td { display: block; width: 100%; min-width: 0 !important; }
  .admin-client-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  .admin-client-table tbody { display: grid; gap: 10px; }
  .admin-client-table tr { padding: 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.018); }
  .admin-client-table td { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 10px; align-items: start; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .admin-client-table td:last-child { border-bottom: 0; }
  .admin-client-table td::before { content: attr(data-label); color: var(--muted); font-size: .66rem; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
  .admin-client-table td[data-label="Ações"] { grid-template-columns: 1fr; }
  .admin-client-table td[data-label="Ações"] .admin-manage { width: 100%; }
  .support-fab-docked { position: static; display: flex; width: fit-content; min-height: 44px; margin: 18px 16px 18px auto; justify-content: center; padding: 11px 15px; border-radius: 13px 13px 13px 4px; font-size: .82rem; }
  .support-fab-admin { margin-top: 100px; }
  .field-row.four { grid-template-columns: 1fr 1fr; }
  .metric-strip, .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 15px 82px; }
  .site-header, .product-bar, .nav { margin: 0 -15px; }
  .site-nav, .product-bar-main, .nav-in { min-height: 62px; padding: 0 15px; }
  .brand { font-size: .91rem; }
  .brand .logo { width: 34px; height: 34px; }
  .site-links { gap: 8px; }
  .hero-v2 { gap: 44px; padding: 58px 0 72px; }
  .hero-copy h1 { font-size: clamp(3rem,16vw,4.75rem); }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .proof-row { display: grid; gap: 10px; }
  .command-stage { min-height: 430px; }
  .command-body { grid-template-columns: 68px 1fr; min-height: 330px; }
  .command-main { padding: 19px 16px; }
  .signal-grid { grid-template-columns: 1fr; }
  .floating-note { left: 12px; bottom: -14px; }
  .section-v2 { padding: 68px 0 78px; }
  .capability-row { grid-template-columns: 40px 1fr 24px; gap: 12px; }
  .capability-row p { grid-column: 2 / 4; }
  .cta-band { padding: 28px 22px; }
  .auth-v2 { padding-top: 16px; }
  .auth-aside { min-height: 320px; padding: 30px 24px; }
  .auth-form-wrap { padding: 34px 24px; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-note { padding: 28px 24px; }
  .auth .card.auth-form { padding: 32px 24px; }
  .legal-copy { padding: 24px 20px; }
  .page-heading { grid-template-columns: 1fr; align-items: start; }
  .page-actions { justify-content: flex-start; }
  .two-column, .three-column { grid-template-columns: 1fr; }
  .admin-create-grid { grid-template-columns: 1fr; }
  .admin-create-grid > :last-child { grid-column: auto; }
  .admin-actions form { display: flex !important; width: 100%; flex-wrap: wrap; }
  .admin-actions input:not([type=hidden]), .admin-actions select { flex: 1 1 90px; width: auto !important; }
  .field-row, .field-row.four { grid-template-columns: 1fr; }
  .card, .panel, .section-frame { padding: 18px; }
  .zstats { grid-template-columns: 1fr 1fr 1fr; }
  .modal { align-items: flex-end; padding: 10px; }
  .modalcard { max-height: 92dvh; border-radius: 20px 20px 7px 7px; }
  .account-menu summary span { display: none; }
}

@media (max-width: 420px) {
  .admin-product-bar .tag { display: none; }
  .admin-product-bar .product-bar-main { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
