/* ==========================================================================
   Motov AI Workforce — design system v2 "Night Shift"
   Direction: dark command-center. The whole site is a mission-control board
   for a digital workforce: deep ink surfaces, hairline grid, grain, glowing
   cobalt signals, duty-green status lights. Typography does the talking:
   Unbounded (display, Cyrillic), Golos Text (body), JetBrains Mono (data).
   ========================================================================== */

:root {
  --bg:       #070B16;
  --bg-2:     #0A1020;
  --surface:  #101830;
  --surface-2:#15203E;
  --line:     rgba(148, 168, 210, .14);
  --line-2:   rgba(148, 168, 210, .26);
  --text:     #EAEEF8;
  --text-2:   #9AA7C4;
  --text-3:   #6B7899;

  --cobalt:   #4666FF;
  --cobalt-2: #7A93FF;
  --cobalt-d: #2E49D8;
  --duty:     #3DDC97;
  --amber:    #FFB454;
  --danger:   #FF6B5E;

  --glow-cobalt: 0 0 44px rgba(70, 102, 255, .45);

  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Golos Text', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  --radius: 16px;
  --radius-s: 10px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain + grid atmosphere, fixed behind everything */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148,168,210,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,168,210,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 78%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.6 0 0 0 0 0.65 0 0 0 0 0.8 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, header, footer, .wrap { position: relative; z-index: 1; }

img { max-width: 100%; }
a { color: var(--cobalt-2); }
:focus-visible { outline: 3px solid var(--cobalt-2); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---- Type ---------------------------------------------------------------- */
h1, h2 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--text); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { margin: 0 0 .4em; }

.eyebrow {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--duty);
  display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--duty); box-shadow: 0 0 12px var(--duty); }

.sub { color: var(--text-2); font-size: 1.1rem; max-width: 640px; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 16px 32px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; position: relative;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cobalt), var(--cobalt-d));
  color: #fff; box-shadow: 0 10px 34px rgba(70,102,255,.38), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(70,102,255,.55), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--text-2); transform: translateY(-2px); background: rgba(148,168,210,.06); }
.btn-lg { padding: 19px 40px; font-size: 1.06rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ---- Header -------------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 11, 22, .78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 30px; height: 72px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text); text-decoration: none; letter-spacing: -.02em; }
.logo b { color: var(--cobalt-2); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--text-2); text-decoration: none; font-size: .92rem; font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--text); }
.head-cta { margin-left: 6px; padding: 11px 22px; font-size: .9rem; }

.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; cursor: pointer; font-family: var(--font-mono); font-size: .76rem;
  padding: 8px 13px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2);
  display: flex; align-items: center; gap: 6px; user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch[open] summary, .lang-switch summary:hover { border-color: var(--text-2); color: var(--text); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); background: var(--surface);
  border: 1px solid var(--line-2); border-radius: var(--radius-s);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  padding: 6px; min-width: 160px; z-index: 70;
}
.lang-menu a { display: block; padding: 9px 13px; border-radius: 7px; text-decoration: none; color: var(--text); font-size: .9rem; }
.lang-menu a:hover { background: var(--surface-2); }
.lang-menu a.active { color: var(--cobalt-2); font-weight: 600; }

/* ---- Hero ---------------------------------------------------------------- */
.hero { padding: 76px 0 0; position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; pointer-events: none; border-radius: 50%; filter: blur(90px); z-index: 0;
}
.hero-glow.g1 { width: 640px; height: 640px; top: -240px; left: -160px; background: rgba(70,102,255,.22); }
.hero-glow.g2 { width: 520px; height: 520px; top: 40px; right: -200px; background: rgba(61,220,151,.10); }

.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; padding-bottom: 90px; }
.hero h1 span { display: block; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--cobalt-2), #B8C6FF 60%, var(--cobalt-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub { margin: 26px 0 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-note { margin-top: 22px; font-size: .82rem; color: var(--text-3); font-family: var(--font-mono); letter-spacing: .02em; }

/* Duty board — hero signature */
.roster {
  background: linear-gradient(165deg, var(--surface), var(--bg-2) 80%);
  border: 1px solid var(--line-2);
  color: var(--text); border-radius: var(--radius);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), var(--glow-cobalt);
  padding: 24px 24px 14px; position: relative;
  transform: rotate(.8deg);
}
.roster::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(122,147,255,.8), transparent);
}
.roster-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 15px; margin-bottom: 6px; }
.roster-title { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; color: var(--text-3); }
.roster-live { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .68rem; color: var(--duty); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--duty); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(61,220,151,.55);} 60% { box-shadow: 0 0 0 8px rgba(61,220,151,0);} }

.roster-row { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.roster-row:last-child { border-bottom: 0; }
.roster-avatar {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: .8rem; font-weight: 700; color: #fff;
}
.av-h { background: linear-gradient(135deg, #4666FF, #7A5CFF); box-shadow: 0 4px 18px rgba(70,102,255,.45); }
.av-c { background: linear-gradient(135deg, #0E8A5F, #2AB58A); box-shadow: 0 4px 18px rgba(42,181,138,.35); }
.roster-name { font-weight: 600; font-size: .93rem; }
.roster-id { font-family: var(--font-mono); font-size: .66rem; color: var(--text-3); }
.roster-task { margin-left: auto; text-align: right; font-size: .8rem; color: var(--text-2); max-width: 52%; line-height: 1.4; }
.roster-task .status { display: block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; color: var(--duty); margin-top: 3px; }

/* ---- Ticker (live task marquee) ------------------------------------------ */
.ticker {
  border-block: 1px solid var(--line); background: var(--bg-2);
  overflow: hidden; padding: 15px 0; position: relative;
}
.ticker::before, .ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.ticker-track { display: flex; gap: 0; width: max-content; animation: ticker 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px; padding: 0 34px;
  font-family: var(--font-mono); font-size: .78rem; color: var(--text-2); white-space: nowrap;
}
.ticker-item::before { content: "▸"; color: var(--duty); }
.ticker-item b { color: var(--text); font-weight: 600; }

/* ---- AI hiring advisor ---------------------------------------------------- */
.advisor-section { padding: 96px 0 0; }
.advisor {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, var(--surface), var(--bg-2) 90%);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 52px 56px 56px;
  box-shadow: 0 40px 90px rgba(0,0,0,.45);
}
.advisor::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61,220,151,.8), transparent);
}
.advisor::after {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: rgba(61,220,151,.06); filter: blur(80px); top: -260px; right: -140px; pointer-events: none;
}
.advisor-head { max-width: 640px; margin-bottom: 30px; position: relative; }
.advisor-head h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.advisor-head .sub { font-size: 1rem; }

.advisor-console {
  display: flex; align-items: stretch; gap: 14px; position: relative;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-s);
  padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s;
}
.advisor-console:focus-within { border-color: var(--duty); box-shadow: 0 0 0 3px rgba(61,220,151,.14); }
.advisor-prompt {
  font-family: var(--font-mono); font-size: .8rem; font-weight: 700; color: var(--duty);
  padding-top: 12px; flex-shrink: 0; letter-spacing: .06em;
}
.advisor-console textarea {
  flex: 1; background: transparent; border: 0; resize: none; outline: none;
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  line-height: 1.5; padding: 9px 0; min-height: 52px;
}
.advisor-console textarea::placeholder { color: var(--text-3); }
.advisor-console .btn { align-self: center; flex-shrink: 0; padding: 14px 26px; font-size: .95rem; }

.advisor-msg { font-family: var(--font-mono); font-size: .8rem; color: var(--text-3); min-height: 1.4em; margin: 12px 0 0; }
.advisor-msg.thinking { color: var(--duty); }
.advisor-msg.error { color: var(--amber); }
.advisor-msg.thinking::after { content: "▮"; animation: blink 1s steps(2) infinite; margin-left: 4px; }
@keyframes blink { 50% { opacity: 0; } }

.advisor-result { margin-top: 26px; }
.advisor-result-label {
  display: inline-block; font-family: var(--font-mono); font-size: .66rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--duty);
  border: 1.5px solid var(--duty); border-radius: 7px; padding: 5px 11px;
  transform: rotate(-2deg); margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(61,220,151,.2);
}
.advisor-result-card {
  background: var(--bg); border: 1px solid rgba(61,220,151,.3); border-radius: var(--radius-s);
  padding: 26px 26px 22px; position: relative; max-width: 640px;
}
.advisor-result-card .badge-top { position: relative; padding-right: 70px; }
.advisor-result-card .badge-id { top: 0; right: 0; position: absolute; }
.advisor-reason { color: var(--text-2); font-size: .95rem; margin: 4px 0 20px; }
.advisor-trial {
  font-family: var(--font-mono); font-size: .78rem; color: var(--amber);
  margin: 0 0 20px; display: flex; align-items: center; gap: 8px;
}
.advisor-trial::before { content: "⚡"; }

/* Trial info on the checkout plan step */
.trial-info {
  background: rgba(255,180,84,.06); border: 1px solid rgba(255,180,84,.28);
  border-radius: var(--radius-s); padding: 16px 20px; margin-top: 22px;
}
.trial-info .trial-scope {
  display: block; font-family: var(--font-mono); font-size: .74rem; font-weight: 600;
  letter-spacing: .05em; color: var(--amber); margin-bottom: 8px;
}
.trial-info p { margin: 0; font-size: .87rem; color: var(--text-2); }

/* ---- Sections ------------------------------------------------------------ */
.section { padding: 110px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(16,24,48,.55) 18%, rgba(16,24,48,.55) 82%, transparent); }
.section-head { max-width: 720px; margin-bottom: 56px; }

/* Departments */
.dept { display: flex; align-items: baseline; gap: 18px; margin: 54px 0 24px; }
.dept h3 { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .18em; margin: 0; color: var(--text); }
.dept h3 b { color: var(--cobalt-2); font-weight: 700; }
.dept.dept-claw h3 b { color: var(--duty); }
.dept p { margin: 0; color: var(--text-3); font-size: .86rem; }
.dept::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }

/* Badge cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.badge-card {
  background: linear-gradient(170deg, var(--surface), var(--bg-2) 115%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 24px; display: flex; flex-direction: column; position: relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.badge-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cobalt), transparent);
  opacity: .8;
}
.badge-card.line-openclaw::before { background: linear-gradient(90deg, transparent, var(--duty), transparent); }
.badge-card:hover {
  transform: translateY(-6px); border-color: rgba(122,147,255,.4);
  box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 40px rgba(70,102,255,.18);
}
.badge-card.line-openclaw:hover { border-color: rgba(61,220,151,.35); box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 40px rgba(61,220,151,.14); }

.badge-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.badge-photo {
  width: 56px; height: 56px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.05rem;
}
.badge-card h3, .co-file h3 { font-size: 1.14rem; margin: 0; font-family: var(--font-body); font-weight: 700; color: var(--text); }
.badge-role { color: var(--text-2); font-size: .84rem; }
.badge-id {
  position: absolute; top: 20px; right: 22px;
  font-family: var(--font-mono); font-size: .62rem; color: var(--text-3);
  border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 8px; letter-spacing: .1em;
}
.badge-pitch { color: var(--text-2); font-size: .93rem; margin: 0 0 18px; }
.badge-feats { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 9px; }
.badge-feats li { display: flex; gap: 10px; font-size: .88rem; align-items: flex-start; color: var(--text-2); }
.badge-feats svg { color: var(--duty); flex-shrink: 0; margin-top: 4px; }
.badge-metric {
  background: rgba(70,102,255,.08); border: 1px solid rgba(70,102,255,.18);
  border-radius: var(--radius-s); padding: 13px 16px; margin-bottom: 20px;
  display: flex; align-items: baseline; gap: 12px;
}
.line-openclaw .badge-metric { background: rgba(61,220,151,.07); border-color: rgba(61,220,151,.16); }
.badge-metric b { font-family: var(--font-mono); font-size: 1.35rem; color: var(--cobalt-2); font-weight: 700; }
.line-openclaw .badge-metric b { color: var(--duty); }
.badge-metric span { font-size: .78rem; color: var(--text-2); line-height: 1.35; }
.trial-pill {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .05em;
  color: var(--amber); text-decoration: none;
  border: 1px solid rgba(255,180,84,.4); background: rgba(255,180,84,.07);
  border-radius: 999px; padding: 7px 14px; margin-bottom: 20px;
  transition: border-color .15s, background .15s, transform .15s;
}
.trial-pill::before { content: "⚡"; font-size: .8rem; }
.trial-pill:hover { border-color: var(--amber); background: rgba(255,180,84,.14); transform: translateY(-1px); }

.badge-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge-price { line-height: 1.15; }
.badge-price .from { display: block; font-size: .66rem; color: var(--text-3); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 3px; }
.badge-price b { font-family: var(--font-mono); font-size: 1.3rem; color: var(--text); }
.badge-price small { color: var(--text-3); font-weight: 400; }
.badge-hire { padding: 12px 26px; font-size: .92rem; }

/* ---- Hosting page ---------------------------------------------------------- */
.host-hero { padding: 88px 0 40px; position: relative; overflow: hidden; }
.host-hero .hero-glow.gh {
  width: 560px; height: 560px; top: -260px; right: -120px;
  background: rgba(255,180,84,.13); position: absolute; border-radius: 50%; filter: blur(90px);
}
.host-hero .eyebrow { color: var(--amber); }
.host-hero .eyebrow::before { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.host-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); }

.host-groupnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.host-groupnav a {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-size: .88rem; font-weight: 600; color: var(--text-2);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 18px;
  transition: all .15s;
}
.host-groupnav a:hover { border-color: var(--amber); color: var(--text); }
.host-groupnav a span {
  font-family: var(--font-mono); font-size: .68rem; color: var(--amber);
  background: rgba(255,180,84,.1); border-radius: 999px; padding: 2px 8px;
}
.host-group { padding: 46px 0; }
.nav-active { color: var(--amber) !important; }

/* Compact rows for large groups */
.host-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(170deg, var(--surface), var(--bg-2) 140%); }
.host-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center;
  padding: 15px 22px; border-bottom: 1px solid var(--line);
}
.host-row:last-child { border-bottom: 0; }
.host-row:hover { background: rgba(148,168,210,.04); }
.host-row-main { min-width: 0; }
.host-row-main b { font-size: .92rem; color: var(--text); font-weight: 600; display: inline; }
.host-row-cfg { color: var(--amber); font-size: .8rem; margin-left: 8px; }
.host-row-price { text-align: right; white-space: nowrap; }
.host-row-price b { font-family: var(--font-mono); font-size: 1rem; color: var(--text); }
.host-row-price small { color: var(--text-3); }
.host-row-btn { padding: 9px 20px; font-size: .85rem; }

/* One-page order modal */
.hmodal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-start; justify-content: center; padding: 4vh 16px; }
.hmodal[hidden] { display: none; }
.hmodal-backdrop { position: absolute; inset: 0; background: rgba(4,7,15,.78); backdrop-filter: blur(6px); }
.hmodal-panel {
  position: relative; width: 100%; max-width: 760px; max-height: 92vh; overflow-y: auto;
  background: linear-gradient(170deg, var(--surface), var(--bg-2) 130%);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 40px 42px 34px;
  box-shadow: 0 50px 120px rgba(0,0,0,.7), 0 0 60px rgba(255,180,84,.08);
}
.hmodal-panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,180,84,.8), transparent);
}
.hmodal-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text-2); font-size: 1rem; cursor: pointer;
}
.hmodal-close:hover { color: var(--text); border-color: var(--text-3); }
.hmodal-panel h2 { font-size: 1.45rem; }
.hmodal-panel .plan-toggle { margin: 18px 0 8px; }
.hm-total {
  display: flex; justify-content: space-between; align-items: baseline;
  background: rgba(255,180,84,.07); border: 1px solid rgba(255,180,84,.25);
  border-radius: var(--radius-s); padding: 15px 20px; margin-top: 18px;
}
.hm-total span { color: var(--text-2); font-size: .9rem; }
.hm-total b { font-family: var(--font-mono); font-size: 1.3rem; color: var(--text); }
#hmOptions .field { margin-bottom: 16px; }
#hmOptions input[type=number] { max-width: 160px; }

/* OS chooser with distro icons */
.os-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.os-tile {
  display: flex; align-items: center; gap: 11px; cursor: pointer;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-s);
  padding: 12px 14px; background: var(--bg-2); min-height: 56px;
  transition: border-color .15s, background .15s;
}
.os-tile:has(input:checked) { border-color: var(--cobalt); background: rgba(70,102,255,.1); box-shadow: 0 0 0 3px rgba(70,102,255,.14); }
.os-tile input { position: absolute; opacity: 0; width: 0; height: 0; }
.os-ico { flex-shrink: 0; display: flex; }
.os-lbl { font-weight: 600; font-size: .9rem; color: var(--text); line-height: 1.2; }

@media (max-width: 640px) {
  .hmodal { padding: 0; }
  .hmodal-panel { max-height: 100vh; border-radius: 0; padding: 28px 18px; }
  .host-row { grid-template-columns: 1fr auto; }
  .host-row-btn { grid-column: 2; }
  .host-row-price { text-align: left; grid-column: 1; }
}

/* Hosting cards */
.host-cards { margin-bottom: 22px; }
.host-card { border-top: 0; }
.host-card::before { background: linear-gradient(90deg, transparent, var(--amber), transparent); }
.host-card:hover { border-color: rgba(255,180,84,.35); box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 40px rgba(255,180,84,.12); }
.host-name { font-family: var(--font-display) !important; font-size: 1.3rem !important; margin-bottom: 16px !important; }
.av-host { background: linear-gradient(135deg, #FFB454, #E8863A); box-shadow: 0 4px 18px rgba(255,180,84,.4); font-size: 1.3rem; }
.dept-host h3 b { color: var(--amber); }
.host-cyclenote { display: block; font-family: var(--font-mono); font-size: .62rem; color: var(--amber); margin-top: 2px; letter-spacing: .06em; }

/* ---- How it works -------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: linear-gradient(170deg, var(--surface), var(--bg-2) 120%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; position: relative;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-mono); font-size: .8rem; font-weight: 700; color: var(--cobalt-2);
  border: 1px solid rgba(122,147,255,.4); background: rgba(70,102,255,.1);
  border-radius: 8px; padding: 6px 11px; display: inline-block; margin-bottom: 22px;
  letter-spacing: .06em;
}
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; color: var(--text); }
.step p { color: var(--text-2); font-size: .93rem; margin: 0; }
.step-connector { display: none; }

/* ---- Stats (count-up row) ------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 60px; }
.stat {
  border-left: 2px solid var(--cobalt); padding: 6px 0 6px 26px;
}
.stat b {
  display: block; font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.05; color: var(--text);
  letter-spacing: -.02em;
}
.stat b .unit { color: var(--cobalt-2); }
.stat span { color: var(--text-2); font-size: .9rem; }

/* ---- ROI table ----------------------------------------------------------- */
.roi-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: linear-gradient(170deg, var(--surface), var(--bg-2) 130%);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.roi-table th, .roi-table td { padding: 17px 24px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.roi-table thead th { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); background: rgba(148,168,210,.05); }
.roi-table tbody tr:last-child td { border-bottom: 0; }
.roi-table td { color: var(--text-2); }
.roi-table td.ai { color: var(--cobalt-2); font-weight: 600; }
.roi-table td.hu { color: var(--text-3); }
.roi-note { margin-top: 20px; font-size: .88rem; color: var(--text-3); max-width: 660px; }

/* ---- Testimonials -------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: linear-gradient(170deg, var(--surface), var(--bg-2) 120%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; margin: 0;
}
.quote p { margin: 0; font-size: .97rem; line-height: 1.7; color: var(--text); }
.quote p::before { content: "“"; color: var(--cobalt-2); font-family: var(--font-display); font-size: 1.5rem; margin-right: 3px; }
.quote footer { font-size: .78rem; color: var(--text-3); font-family: var(--font-mono); margin-top: auto; }

/* ---- Compliance ---------------------------------------------------------- */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sec-item {
  background: linear-gradient(170deg, var(--surface), var(--bg-2) 130%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
}
.sec-item svg { color: var(--duty); margin-bottom: 16px; }
.sec-item h3 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--text); }
.sec-item p { color: var(--text-2); font-size: .88rem; margin: 0; }

/* ---- FAQ ------------------------------------------------------------------ */
.faq { max-width: 800px; }
.faq details {
  background: linear-gradient(170deg, var(--surface), var(--bg-2) 140%);
  border: 1px solid var(--line); border-radius: var(--radius-s); margin-bottom: 12px; overflow: hidden;
  transition: border-color .2s;
}
.faq details[open] { border-color: rgba(122,147,255,.35); }
.faq summary {
  cursor: pointer; padding: 21px 26px; font-weight: 600; font-size: 1rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.25rem; color: var(--cobalt-2); transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 26px 24px; color: var(--text-2); font-size: .95rem; }

/* ---- Final CTA ------------------------------------------------------------ */
.cta-final {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 84px 48px;
}
.cta-final::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: rgba(70,102,255,.16); filter: blur(90px); top: -300px; left: 50%; transform: translateX(-50%);
}
.cta-final::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(122,147,255,.9), transparent);
}
.cta-final h2, .cta-final p, .cta-final a { position: relative; }
.cta-final p { color: var(--text-2); max-width: 540px; margin: 0 auto 36px; }

/* ---- Footer ---------------------------------------------------------------- */
.site-foot { border-top: 1px solid var(--line); padding: 64px 0 36px; margin-top: 60px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 46px; }
.foot-grid h4 { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin: 0 0 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--text-2); text-decoration: none; font-size: .9rem; }
.foot-grid a:hover { color: var(--cobalt-2); }
.foot-tag { color: var(--text-3); font-size: .9rem; max-width: 280px; }
.foot-base { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .78rem; color: var(--text-3); font-family: var(--font-mono); }

/* Cookie notice */
.cookie[hidden] { display: none !important; } /* beats .cookie{display:flex} so the hidden attr actually hides it */
.cookie {
  position: fixed; bottom: 20px; left: 20px; right: 20px; z-index: 90;
  max-width: 540px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--text);
  border-radius: var(--radius-s); padding: 15px 18px; display: flex; align-items: center; gap: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55); font-size: .86rem;
}
.cookie span { flex: 1; }
.cookie a { color: var(--cobalt-2); text-decoration: underline; white-space: nowrap; }
.cookie button { flex-shrink: 0; background: var(--text); color: var(--bg); border: 0; border-radius: 999px; padding: 9px 20px; font-weight: 600; cursor: pointer; font-family: var(--font-body); }

/* ---- Reveal (GSAP-driven; graceful without JS) ---------------------------- */
.gs-reveal { opacity: 0; transform: translateY(30px); }
.no-js .gs-reveal, .gs-done .gs-reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Checkout — same night-shift system
   ========================================================================== */
.co-body { background: var(--bg); min-height: 100vh; }
.co-head { border-bottom: 1px solid var(--line); background: rgba(7,11,22,.8); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 50; }
.co-head .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.co-back { font-size: .88rem; color: var(--text-2); text-decoration: none; }
.co-back:hover { color: var(--text); }

.co-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding: 48px 0 100px; align-items: start; }

/* Stepper */
.stepper { display: flex; gap: 6px; margin: 0 0 36px; flex-wrap: wrap; padding-left: 0; }
.stepper li {
  list-style: none; display: flex; align-items: center; gap: 8px;
  font-size: .78rem; font-family: var(--font-mono); color: var(--text-3);
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
}
.stepper li.active { border-color: rgba(122,147,255,.55); color: var(--cobalt-2); font-weight: 600; box-shadow: 0 0 20px rgba(70,102,255,.15); }
.stepper li.done { color: var(--duty); border-color: rgba(61,220,151,.4); }

.co-panel {
  background: linear-gradient(170deg, var(--surface), var(--bg-2) 130%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 40px;
}
.co-panel h2 { font-size: 1.45rem; }
.co-panel .sub { font-size: .95rem; margin-bottom: 28px; }

/* Sidebar: employee file */
.co-file {
  background: linear-gradient(165deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line-2);
  color: var(--text); border-radius: var(--radius); padding: 28px; position: sticky; top: 92px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 40px rgba(70,102,255,.1);
}
.co-file::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(122,147,255,.8), transparent);
}
.co-file-label { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .18em; color: var(--text-3); text-transform: uppercase; margin-bottom: 18px; display: block; }
.co-file .badge-top { margin-bottom: 8px; }
.co-file .badge-role { color: var(--text-3); }
.co-file-rows { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 6px; }
.co-file-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: .86rem; border-bottom: 1px solid var(--line); }
.co-file-row:last-child { border-bottom: 0; }
.co-file-row .k { color: var(--text-3); }
.co-file-row .v { text-align: right; font-weight: 600; color: var(--text); }
.co-file-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.co-file-total .k { color: var(--text-2); }
.co-file-total b { font-family: var(--font-mono); font-size: 1.35rem; color: var(--text); }
.co-file-vat { font-size: .72rem; color: var(--text-3); margin-top: 12px; line-height: 1.55; }

/* Plan chooser */
.plan-toggle { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 28px; }
.plan-toggle button {
  border: 0; background: transparent; padding: 11px 24px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: .92rem; color: var(--text-2);
}
.plan-toggle button.active { background: var(--cobalt); color: #fff; box-shadow: 0 4px 18px rgba(70,102,255,.4); }
.plan-toggle .note { font-size: .68rem; color: var(--duty); display: block; font-weight: 700; }
.plan-toggle button.active .note { color: #C7F5E3; }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.plan-price b { font-family: var(--font-mono); font-size: 2.6rem; color: var(--text); }
.plan-price span { color: var(--text-2); }

/* Wizard */
.wiz-progress { display: flex; gap: 6px; margin: 0 0 28px; }
.wiz-progress i { height: 3px; flex: 1; background: var(--line-2); border-radius: 2px; transition: background .3s; }
.wiz-progress i.done { background: var(--cobalt); box-shadow: 0 0 10px rgba(70,102,255,.6); }
.wiz-step-title { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cobalt-2); margin-bottom: 20px; }

.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 8px; color: var(--text); }
.field label small { color: var(--text-3); font-weight: 400; }
.field input[type=text], .field input[type=email], .field input[type=url], .field input[type=tel],
.field input[type=password], .field input[type=number],
.field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--radius-s);
  font-family: var(--font-body); font-size: .96rem; background: var(--bg-2); color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field select option { background: var(--surface); color: var(--text); }
.field ::placeholder { color: var(--text-3); }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cobalt); outline: none; box-shadow: 0 0 0 3px rgba(70,102,255,.18);
}
.btn, .field input, .field select, .field textarea, .choice, .pay-method, .plan-toggle button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.field .hint { font-size: .78rem; color: var(--text-3); margin-top: 7px; }
.field.error input, .field.error select, .field.error textarea { border-color: var(--danger); }
.field .err-msg { color: var(--danger); font-size: .8rem; margin-top: 7px; display: none; }
.field.error .err-msg { display: block; }

.choice-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 19px; font-size: .9rem;
  background: var(--bg-2); color: var(--text-2); user-select: none; transition: all .15s;
}
.choice:hover { border-color: var(--text-3); }
.choice:has(input:checked) {
  border-color: var(--cobalt); background: rgba(70,102,255,.14); color: var(--cobalt-2); font-weight: 600;
  box-shadow: 0 0 16px rgba(70,102,255,.15);
}
.choice input { accent-color: var(--cobalt); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .span2 { grid-column: span 2; }

.wiz-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 32px; }

.security-note {
  display: flex; gap: 12px; background: rgba(61,220,151,.06); border: 1px solid rgba(61,220,151,.18);
  border-radius: var(--radius-s); padding: 15px 17px; font-size: .82rem; color: var(--text-2);
  margin-top: 28px; align-items: flex-start;
}
.security-note svg { color: var(--duty); flex-shrink: 0; margin-top: 2px; }

/* VAT status */
.vat-status { font-size: .8rem; margin-top: 7px; display: none; }
.vat-status.ok { display: block; color: var(--duty); }
.vat-status.bad { display: block; color: var(--danger); }
.vat-status.warn { display: block; color: var(--amber); }

/* Review */
.rev-block { border: 1px solid var(--line); background: rgba(148,168,210,.03); border-radius: var(--radius-s); padding: 19px 22px; margin-bottom: 16px; }
.rev-block .rev-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.rev-block .rev-head b { font-size: .95rem; color: var(--text); }
.rev-block .rev-head a { font-size: .8rem; }
.rev-block p { margin: 0; color: var(--text-2); font-size: .9rem; }

.consents { margin: 26px 0; display: grid; gap: 15px; }
.consent { display: flex; gap: 13px; align-items: flex-start; font-size: .88rem; color: var(--text-2); cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--cobalt); width: 17px; height: 17px; flex-shrink: 0; }

.next-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; }
.next-list li { display: flex; gap: 11px; font-size: .88rem; color: var(--text-2); align-items: flex-start; }
.next-list svg { color: var(--duty); flex-shrink: 0; margin-top: 3px; }

.whats-next { background: rgba(70,102,255,.06); border: 1px solid rgba(70,102,255,.16); border-radius: var(--radius-s); padding: 18px 22px; margin-bottom: 24px; }
.whats-next > b { font-size: .9rem; color: var(--text); }

.pay-note { font-size: .8rem; color: var(--text-3); margin-top: 14px; text-align: center; }

.co-error {
  background: rgba(255,107,94,.08); border: 1px solid rgba(255,107,94,.4);
  color: var(--danger); border-radius: var(--radius-s); padding: 15px 19px; font-size: .9rem;
  margin-bottom: 22px; display: none;
}
.co-error.show { display: block; }

.spinner {
  width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Thank-you */
.ty-panel { max-width: 680px; margin: 80px auto; }
.ty-stamp {
  display: inline-block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em;
  color: var(--duty); border: 2px solid var(--duty); border-radius: 8px; padding: 7px 14px;
  transform: rotate(-3deg); text-transform: uppercase; margin-bottom: 24px; font-weight: 700;
  box-shadow: 0 0 24px rgba(61,220,151,.25);
}

/* ---- Auth / confirm / payment screens (mobile-first) ---------------------- */
.auth-wrap {
  min-height: calc(100dvh - 68px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 6vh 18px calc(6vh + env(safe-area-inset-bottom));
}
.auth-card {
  width: 100%; max-width: 480px;
  background: linear-gradient(170deg, var(--surface), var(--bg-2) 130%);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 34px 28px 30px; position: relative;
  box-shadow: 0 40px 90px rgba(0,0,0,.45);
}
.auth-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(122,147,255,.8), transparent);
}
.auth-card h1 { font-size: clamp(1.5rem, 5vw, 1.9rem); margin: 8px 0 8px; }
.auth-card .sub { font-size: .95rem; margin-bottom: 22px; }
.auth-card .field input[readonly] { color: var(--text-3); background: rgba(148,168,210,.04); }
.auth-submit { width: 100%; margin-top: 6px; }
.auth-links { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; margin-top: 20px; }
.auth-links a { font-size: .85rem; color: var(--text-2); text-decoration: none; }
.auth-links a:hover { color: var(--cobalt-2); }

/* Confirm summary */
.confirm-card { max-width: 520px; }
.confirm-summary {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 16px 18px; margin: 6px 0 4px;
}
.confirm-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.confirm-row:last-of-type { border-bottom: 0; }
.confirm-row span { color: var(--text-3); }
.confirm-row b { color: var(--text); text-align: right; }
.confirm-row.total b { font-family: var(--font-mono); font-size: 1.15rem; }
.confirm-ref { font-family: var(--font-mono); font-size: .72rem; color: var(--text-3); margin-top: 10px; }

/* Payment method chooser */
.pay-methods { display: grid; gap: 10px; margin-bottom: 22px; }
.pay-method {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-s);
  padding: 15px 16px; cursor: pointer; background: var(--bg-2);
  transition: border-color .15s, background .15s; min-height: 60px;
}
.pay-method:has(input:checked) { border-color: var(--cobalt); background: rgba(70,102,255,.1); box-shadow: 0 0 0 3px rgba(70,102,255,.14); }
.pay-method.pay-lead:has(input:checked) { border-color: var(--amber); background: rgba(255,180,84,.1); box-shadow: 0 0 0 3px rgba(255,180,84,.14); }
.pay-method input { position: absolute; opacity: 0; width: 0; height: 0; }
.pay-ico { color: var(--text-2); display: flex; }
.pay-method:has(input:checked) .pay-ico { color: var(--cobalt-2); }
.pay-method.pay-lead .pay-ico { color: var(--amber); }
.pay-name { font-weight: 600; color: var(--text); font-size: .98rem; }
.pay-kind { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
.pay-method.pay-lead .pay-kind { color: var(--amber); border-color: rgba(255,180,84,.4); }

/* Legal */
.legal-body { max-width: 780px; padding: 70px 28px 100px; margin: 0 auto; }
.legal-body h1 { font-size: 2rem; }
.legal-body h2 { font-size: 1.1rem; margin-top: 2.2em; font-family: var(--font-body); font-weight: 700; color: var(--text); }
.legal-body p, .legal-body li { color: var(--text-2); font-size: .95rem; }
.legal-note { background: rgba(255,180,84,.08); border: 1px solid rgba(255,180,84,.35); color: var(--amber); border-radius: var(--radius-s); padding: 15px 19px; font-size: .85rem; }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 1020px) {
  .cards, .quotes, .steps { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .roster { transform: none; }
  .co-layout { grid-template-columns: 1fr; }
  .co-file { position: static; order: -1; }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .cards, .quotes, .steps, .sec-grid, .stats { grid-template-columns: 1fr; }
  .nav { display: none; }
  .logo-suffix { display: none; }
  .head-cta { padding: 10px 16px; font-size: .84rem; }
  .section { padding: 72px 0; }
  .hero { padding: 60px 0 0; }
  .hero .wrap { padding-bottom: 56px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span2 { grid-column: span 1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .co-panel { padding: 28px 20px; }
  .cta-final { padding: 56px 24px; }
  .roster-task { max-width: 48%; }
  .stat b { font-size: 2.2rem; }
}
