/* monaxion.com apex page — mobile-first. Palette: dark navy / bright blue / lime. */
:root {
  --navy: #0b1530;
  --navy-2: #101c3d;
  --navy-3: #16244d;
  --blue: #2f6ff5;
  --blue-2: #1f55d6;
  --blue-soft: #e9f0ff;
  --blue-line: #cfdcff;
  --lime: #c8f542;
  --amber: #ffb347;
  --ink: #0f1a33;
  --ink-2: #44506b;
  --muted: #6b7690;
  --paper: #ffffff;
  --paper-2: #f5f8ff;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(11, 21, 48, 0.10);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --gutter: 20px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: light; }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img, canvas { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; }
.h2, h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.accent { color: var(--blue); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.9em;
}
.eyebrow-lime { color: var(--lime); }
.lead { font-size: 1.05rem; color: var(--ink-2); max-width: 36rem; }
.lead-wide { max-width: 52rem; }
.fineprint { font-size: 0.8rem; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--navy); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.85em 1.4em; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(47, 111, 245, 0.35); }
.btn-primary:hover { background: var(--blue-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--blue-line); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-sm { padding: 0.6em 1.1em; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---- placeholder tokens (operator-owed) ---- */
  display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em; font-weight: 700; color: var(--navy); background: var(--lime);
  border: 2px dashed var(--navy); border-radius: 8px; padding: 0.15em 0.5em; letter-spacing: 0.02em;
}

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--blue-line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.wordmark { text-decoration: none; display: inline-flex; align-items: baseline; }
.wordmark-text { font-weight: 800; font-size: 1.45rem; letter-spacing: -0.04em; color: var(--navy); }
.wordmark-dot { font-weight: 800; font-size: 1.45rem; color: var(--blue); margin-left: 1px; }
.nav { position: relative; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--blue-line); border-radius: 10px; background: #fff; cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; content: "";
}
.nav-toggle-bar::before { position: absolute; top: -6px; }
.nav-toggle-bar::after { position: absolute; top: 6px; }
.nav-links {
  display: none; position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px;
  background: #fff; border: 1px solid var(--blue-line); border-radius: 14px; box-shadow: var(--shadow); padding: 10px;
}
.nav-links.open { display: block; }
.nav-links a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 8px; }
.nav-links a:hover { background: var(--blue-soft); }
.nav-cta { margin-top: 6px; }
.nav-cta .btn { width: 100%; }
@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; position: static; min-width: 0; background: none; border: 0; box-shadow: none; padding: 0; align-items: center; gap: 4px; }
  .nav-links a { padding: 8px 12px; }
  .nav-cta { margin: 0 0 0 8px; }
  .nav-cta .btn { width: auto; }
  .nav-cta .btn:hover { background: var(--blue-2); }
}

/* ---- hero ---- */
.hero { padding: 48px 0 24px; background:
  radial-gradient(60% 50% at 100% 0%, rgba(47, 111, 245, 0.10), transparent 70%),
  linear-gradient(180deg, #fff 0%, var(--paper-2) 100%); }
.hero-grid { display: grid; gap: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-note { display: inline-flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 600; color: var(--ink-2);
  border: 1px solid var(--blue-line); border-radius: 999px; padding: 8px 14px; background: #fff; }
.pill-star { color: var(--blue); }
.hero-art { display: flex; justify-content: center; }
.hero-blob {
  width: min(100%, 560px); aspect-ratio: 640 / 520; overflow: hidden;
  border-radius: 48% 52% 60% 40% / 55% 45% 55% 45%;
  background: radial-gradient(circle at 35% 40%, #1b3a8a 0%, var(--navy) 60%, #070d20 100%);
  box-shadow: 0 30px 60px rgba(11, 21, 48, 0.35);
}
.hero-blob canvas { width: 100%; height: 100%; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 40px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
}

/* ---- bands ---- */
.band { position: relative; padding: 24px 0 56px; }
.band-engine { background: linear-gradient(180deg, var(--paper-2) 0 90px, var(--navy) 90px); color: #fff; }
.engine-card {
  display: grid; gap: 20px; padding: 26px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-2) 45%, var(--navy-3) 100%);
  box-shadow: 0 20px 50px rgba(47, 111, 245, 0.35);
}
.engine-badge {
  width: 150px; height: 150px; border-radius: 50%; background: var(--navy); border: 3px solid #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; flex: none;
}
.engine-badge-top { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
.engine-badge-name { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.engine-badge-sub { font-size: 0.78rem; font-weight: 600; opacity: 0.9; }
.engine-copy h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); }
.engine-copy p { margin: 0; opacity: 0.95; }
@media (min-width: 760px) { .engine-card { grid-template-columns: auto 1fr; align-items: center; gap: 32px; padding: 34px 40px; } }
.pillars { display: grid; gap: 22px; margin-top: 36px; }
.pillars li { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 4px; align-items: start; }
.pillars li .icon { grid-row: 1 / span 2; }
.pillars h3 { margin-bottom: 0.25em; }
.pillars p { margin: 0; color: #c9d4f1; font-size: 0.95rem; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* ---- icons: pure CSS glyph tiles ---- */
.icon { display: inline-flex; width: 48px; height: 48px; border-radius: 12px; background: var(--blue); position: relative; flex: none; box-shadow: 0 6px 14px rgba(47, 111, 245, 0.35); }
.icon::before, .icon::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.icon-lg { width: 80px; height: 80px; border-radius: 50%; background: var(--navy); border: 3px solid #fff; box-shadow: none; }
.icon-chip::before { width: 18px; height: 18px; border: 2.5px solid #fff; border-radius: 4px; }
.icon-chip::after { width: 8px; height: 8px; background: #fff; border-radius: 2px; }
.icon-apps::before { width: 20px; height: 20px; border: 2.5px solid #fff; border-radius: 50%; }
.icon-apps::after { width: 20px; height: 20px; border: 2.5px solid #fff; border-radius: 50%; transform: translate(-30%, -70%); }
.icon-shield::before { width: 18px; height: 20px; border: 2.5px solid #fff; border-radius: 9px 9px 10px 10px / 6px 6px 14px 14px; }
.icon-shield::after { width: 8px; height: 4px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translate(-50%, -70%) rotate(-45deg); }
.icon-bell::before { width: 16px; height: 16px; border: 2.5px solid #fff; border-radius: 8px 8px 2px 2px; transform: translate(-50%, -60%); }
.icon-bell::after { width: 22px; height: 2.5px; background: #fff; transform: translate(-50%, 110%); }
.icon-send::before { width: 0; height: 0; border-left: 18px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.icon-send::after { width: 8px; height: 2.5px; background: var(--blue); transform: translate(-80%, -50%); }
.icon-calendar::before { width: 20px; height: 18px; border: 2.5px solid #fff; border-radius: 4px; border-top-width: 6px; }
.icon-calendar::after { width: 6px; height: 6px; background: #fff; border-radius: 1px; transform: translate(-150%, 20%); }
.icon-chart::before { width: 5px; height: 12px; background: #fff; transform: translate(-200%, -30%); box-shadow: 9px 4px 0 0 #fff, 18px -6px 0 0 #fff; }
.icon-chart::after { width: 24px; height: 2.5px; background: #fff; transform: translate(-50%, 500%); }
.icon-check::before { width: 20px; height: 20px; border: 2.5px solid #fff; border-radius: 5px; }
.icon-check::after { width: 9px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translate(-50%, -70%) rotate(-45deg); }
.icon-flow::before { width: 8px; height: 8px; border: 2.5px solid #fff; border-radius: 2px; box-shadow: -11px 10px 0 -0.5px #fff, 11px 10px 0 -0.5px #fff; transform: translate(-50%, -110%); }
.icon-flow::after { width: 22px; height: 2.5px; background: #fff; transform: translate(-50%, 70%); }
.icon-team::before { width: 14px; height: 14px; background: #fff; border-radius: 50%; transform: translate(-50%, -110%); box-shadow: -18px 4px 0 -2px #fff, 18px 4px 0 -2px #fff; }
.icon-team::after { width: 42px; height: 14px; background: #fff; border-radius: 14px 14px 4px 4px; transform: translate(-50%, 40%); }

/* ---- sections & cards ---- */
.section { padding: 64px 0; }
.cards { display: grid; gap: 18px; margin-top: 28px; }
.card {
  background: #fff; border: 1px solid var(--blue-line); border-radius: var(--radius); padding: 22px;
  box-shadow: 0 6px 18px rgba(11, 21, 48, 0.05); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card .icon { margin-bottom: 14px; }
.card h3 { font-size: 1.1rem; }
.card p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
@media (min-width: 680px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---- how it works ---- */
.band-dark { background: linear-gradient(180deg, #fff 0 70px, var(--navy) 70px); color: #fff; padding-bottom: 64px; }
.team-card {
  display: grid; gap: 18px; padding: 26px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-2) 50%, var(--navy-3) 100%);
  box-shadow: 0 20px 50px rgba(47, 111, 245, 0.35);
}
.team-card h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); }
.team-card p { margin: 0; opacity: 0.95; }
@media (min-width: 760px) { .team-card { grid-template-columns: auto 1fr; align-items: center; gap: 30px; padding: 34px 40px; } }
.flow { display: grid; gap: 22px; margin-top: 44px; counter-reset: step; }
.flow li { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.flow-num {
  grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.flow strong { font-size: 1rem; }
.flow span:last-child { color: #c9d4f1; font-size: 0.9rem; }
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
  .flow::before { content: ""; position: absolute; left: 6%; right: 6%; top: 26px; border-top: 2px dashed rgba(255, 255, 255, 0.35); }
  .flow li { grid-template-columns: 1fr; grid-template-rows: auto auto auto; justify-items: center; text-align: center; row-gap: 8px; position: relative; }
  .flow-num { grid-row: auto; }
}

/* ---- stats band ---- */
.stats { background: var(--navy-2); color: #fff; padding: 36px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.stats-grid { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
.stats-grid div { display: grid; gap: 4px; }
.stats-grid strong { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--lime); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.stats-grid span { color: #c9d4f1; font-size: 0.92rem; }
@media (min-width: 860px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---- integrations ---- */
.compare { display: grid; margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.compare > div { padding: 26px; }
.compare-dark { background: var(--navy); color: #fff; }
.compare-light { background: var(--paper-2); }
.compare h3 { padding-bottom: 10px; border-bottom: 2px solid var(--blue); display: inline-block; margin-bottom: 16px; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 0.95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); }
.ticks li::after { content: ""; position: absolute; left: 4.5px; top: 0.55em; width: 7px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.ticks-muted li { color: var(--ink-2); }
@media (min-width: 820px) { .compare { grid-template-columns: 1fr 1fr; } .compare > div { padding: 32px 36px; } }

.wheel { position: relative; margin: 44px auto 0; display: grid; gap: 18px; justify-items: center; }
.wheel-center {
  width: 150px; height: 150px; border-radius: 50%; background: var(--navy); color: #fff; border: 4px solid var(--blue);
  display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(47, 111, 245, 0.12), 0 20px 40px rgba(11, 21, 48, 0.3);
}
.wheel-center-name { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.wheel-center-sub { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; opacity: 0.85; }
.wheel-ring { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.wheel-ring li {
  background: #fff; border: 1px solid var(--blue-line); border-radius: 999px; padding: 8px 14px 8px 12px; font-weight: 600; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 12px rgba(11, 21, 48, 0.06);
}
.wheel-ring li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
@media (min-width: 900px) {
  .wheel { width: 760px; height: 520px; display: block; }
  .wheel-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .wheel-ring { display: block; }
  .wheel-ring li { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; }
  /* 11 chips on an ellipse, with dashed spokes drawn by the ring's background */
  .wheel-ring::before {
    content: ""; position: absolute; inset: 0;
    background:
      repeating-conic-gradient(from 0deg, transparent 0 14.5deg, rgba(47, 111, 245, 0.25) 14.5deg 15deg, transparent 15deg 30deg);
    -webkit-mask: radial-gradient(ellipse 46% 42% at 50% 50%, transparent 0 20%, #000 21% 100%);
    mask: radial-gradient(ellipse 46% 42% at 50% 50%, transparent 0 20%, #000 21% 100%);
    opacity: 0.6; pointer-events: none;
  }
  .wheel-ring li:nth-child(1) { left: 50.0%; top: 6.0%; }
  .wheel-ring li:nth-child(2) { left: 70.5%; top: 13.0%; }
  .wheel-ring li:nth-child(3) { left: 84.6%; top: 31.7%; }
  .wheel-ring li:nth-child(4) { left: 87.6%; top: 56.3%; }
  .wheel-ring li:nth-child(5) { left: 78.7%; top: 78.8%; }
  .wheel-ring li:nth-child(6) { left: 60.7%; top: 92.2%; }
  .wheel-ring li:nth-child(7) { left: 39.3%; top: 92.2%; }
  .wheel-ring li:nth-child(8) { left: 21.3%; top: 78.8%; }
  .wheel-ring li:nth-child(9) { left: 12.4%; top: 56.3%; }
  .wheel-ring li:nth-child(10) { left: 15.4%; top: 31.7%; }
  .wheel-ring li:nth-child(11) { left: 29.5%; top: 13.0%; }
}


/* ---- CTA ---- */
.cta {
  display: grid; gap: 22px; padding: 28px 24px; border-radius: var(--radius-lg); color: #fff;
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-2) 45%, var(--navy) 100%);
  box-shadow: 0 24px 60px rgba(47, 111, 245, 0.35);
}
.cta h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.cta-copy p:last-child { margin: 0; opacity: 0.95; }
.cta-card { background: var(--navy); border-radius: var(--radius); padding: 20px; }
.contact-list { margin: 18px 0 0; display: grid; gap: 10px; }
.contact-list div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding-bottom: 8px; font-size: 0.92rem; flex-wrap: wrap; }
.contact-list dt { color: #c9d4f1; }
.contact-list dd { margin: 0; font-weight: 600; }
.cta a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 860px) { .cta { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 40px 44px; } }

/* ---- legal pages (privacy.html, terms.html) ---- */
.legal { padding: 48px 0 72px; }
.legal .wrap { max-width: 46rem; }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.legal h2 { font-size: 1.2rem; margin-top: 2.2em; }
.legal .meta { color: var(--muted); font-size: 0.9rem; margin: 0 0 1.6em; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.65; }
.legal .lead { max-width: none; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 0.5em; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---- footer ---- */
.site-footer { background: var(--navy); color: #c9d4f1; padding: 36px 0 28px; text-align: center; }
.site-footer .wordmark-text { color: #fff; }
.site-footer .fineprint { color: #94a3c7; max-width: 52rem; margin-inline: auto; }
.footer-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #fff; font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-phone { margin: 0.2rem 0 0.85rem; }
.footer-phone a { color: #fff; font-weight: 600; text-decoration: none; }
.footer-phone a:hover { text-decoration: underline; }
.company-phone-note { font-size: 0.75em; font-weight: 500; margin-left: 0.35rem; color: var(--muted); }
.site-footer .company-phone-note,
.contact-list .company-phone-note { color: #94a3c7; }
.contact-list a { color: #fff; }

/* ---- Call me back form ---- */
.btn-callback { margin-top: 10px; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-callback:hover { border-color: #fff; }
.callback { margin-top: 32px; padding: 28px 24px; border: 1px solid var(--blue-line); border-radius: var(--radius-lg); background: var(--blue-soft); scroll-margin-top: 90px; }
.callback h3 { margin: 0 0 6px; font-size: 1.4rem; }
.callback > p { margin: 0 0 18px; color: var(--ink-2); }
.callback a { text-decoration: underline; text-underline-offset: 3px; }
.cb-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .cb-grid { grid-template-columns: 1fr 1fr; } }
.cb-field { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.cb-field small { font-weight: 500; color: var(--muted); }
.cb-field input { font: inherit; font-weight: 400; padding: 0.75em 0.9em; border: 1px solid var(--blue-line); border-radius: 12px; background: #fff; color: var(--ink); min-height: 46px; }
.cb-field input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.cb-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cb-consents { margin: 18px 0 6px; padding: 0; border: 0; min-width: 0; }
.cb-consents legend { padding: 0; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.cb-consent { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0 0; }
.cb-consent input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; accent-color: var(--blue); }
.cb-consent label { font-size: 0.85rem; line-height: 1.5; color: var(--ink-2); }
.cb-consent-error { margin: 4px 0 0 34px; font-size: 0.85rem; font-weight: 600; color: #b3261e; }
.cb-consent input[aria-invalid="true"] { outline: 2px solid #b3261e; outline-offset: 2px; }
.cb-links { margin: 12px 0 16px; }
.cb-dialog { width: min(420px, calc(100vw - 32px)); padding: 32px 28px 28px; border: 0; border-radius: var(--radius-lg); background: #fff; color: var(--ink); text-align: center; box-shadow: 0 24px 60px rgba(10, 20, 50, 0.35); }
.cb-dialog::backdrop { background: rgba(10, 20, 50, 0.6); }
.cb-dialog h3 { margin: 0 0 8px; font-size: 1.4rem; }
.cb-dialog p { margin: 0 0 22px; color: var(--ink-2); }
.cb-dialog .btn { min-width: 120px; }
.cb-dialog-mark { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: #1b6e3a; color: #fff; font-size: 1.8rem; line-height: 56px; }
.cb-submit[disabled], .cb-submit[aria-disabled="true"] { background: #b9c3dc; box-shadow: none; color: #fff; cursor: not-allowed; transform: none; }
.cb-status { margin: 12px 0 0; font-weight: 600; min-height: 1.4em; }
.cb-status.err { color: #b3261e; }
.cb-status.ok { color: #1b6e3a; }
.cb-field input.invalid { border-color: #b3261e; }
.legal blockquote { margin: 1em 0; padding: 0.9em 1.1em; border-left: 4px solid var(--blue); background: var(--blue-soft); border-radius: 8px; color: var(--ink-2); line-height: 1.6; }
.cb-status[data-state="error"] { color: #b3261e; }
.cb-status[data-state="success"] { color: #1b6e3a; }
.cb-field input.invalid { border-color: #b3261e; }

/* disabled-submit hint */
.cb-submit-wrap { position: relative; display: inline-block; }
.cb-tip { display: none; position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 5; max-width: 80vw; width: max-content; background: var(--navy); color: #fff; font-size: 0.85rem; font-weight: 600; padding: 0.55em 0.9em; border-radius: 10px; box-shadow: var(--shadow); }
.cb-tip::after { content: ""; position: absolute; left: 22px; top: 100%; border: 6px solid transparent; border-top-color: var(--navy); }
.cb-submit-wrap.cb-blocked:hover .cb-tip, .cb-submit-wrap.cb-blocked:focus-within .cb-tip, .cb-submit-wrap.cb-show .cb-tip { display: block; }
.cb-submit-wrap.cb-blocked { cursor: not-allowed; }
