/* XR Academy (ccgb) - "Night Signal" look: charcoal ground, concentric-ring hero glow,
   Roboto Condensed uppercase display type with a blue-to-salmon gradient headline,
   rounded dark cards, sky-blue pill buttons, wave-topped feature band, charcoal footer.
   All tokens live in :root. No blur filters, no backdrop-filter: gradients are plain stops. */
@font-face{font-family:'Roboto Condensed';font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/roboto-condensed-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Roboto';font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/roboto-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root {
  --bg: #17181c;
  --bg-2: #1c1d21;
  --surface: #202225;
  --surface-2: #2a2c30;
  --line: #3f4146;
  --text: #ffffff;
  --muted: #b9bbbe;
  --muted-2: #8f9094;
  --blue: #00aef0;
  --blue-2: #129bf2;
  --blue-deep: #0077cc;
  --salmon: #f77d7a;
  --violet: #9280ff;
  --teal: #80ffe8;
  --on-blue: #06202e;
  --danger: #ff8d85;
  --ok: #6bd364;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --grad: linear-gradient(170deg, #129bf2 14%, #f77d7a 88%);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 24px 60px rgba(0, 0, 0, 0.5);
  --header-h: 64px;
  --font-display: 'Roboto Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; background: var(--bg); }
body {
  margin: 0; overflow-x: hidden;
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: #6fd4f8; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: 0.01em; line-height: 1.1; margin: 0; color: var(--text); font-weight: 700; }
h2 { font-size: clamp(30px, 4.2vw, 48px); text-transform: uppercase; }
h3 { font-size: 24px; font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.container { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.container-narrow { width: min(760px, calc(100% - 32px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* responsive duplicates: kept in the DOM, parked out of view and out of the a11y tree */
@media (max-width: 1040px) { .only-wide { position: absolute; visibility: hidden; pointer-events: none; width: 0; height: 0; overflow: hidden; } }
@media (min-width: 1041px) { .only-narrow { position: absolute; visibility: hidden; pointer-events: none; width: 0; height: 0; overflow: hidden; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-primary:hover { background: #3cc4f6; color: var(--on-blue); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 13.5px; }
.btn-lg { min-height: 56px; padding: 0 34px; font-size: 16px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- header (charcoal bar, pill nav) ---------- */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.nav-toggle:focus-visible + .site-header .nav-burger { outline: 3px solid var(--blue); outline-offset: 3px; }
.site-header { direction: ltr; position: fixed; top: 0; left: 0; right: 0; z-index: 900; background: var(--surface); box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 8px 24px rgba(0,0,0,.28); }
.header-pill {
  width: min(1240px, calc(100% - 32px)); margin-inline: auto;
  min-height: 72px; padding: 8px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: inline-flex; align-items: center; color: var(--text); min-height: 44px; flex: none; }
.logo-mark { display: block; width: 214px; }
.logo-mark svg { width: 100%; height: auto; }
.site-nav-desktop { display: flex; align-items: center; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 999px; }
.site-nav-desktop a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px;
  color: var(--muted); font-weight: 500; font-size: 15px; text-decoration: none;
}
.site-nav-desktop a:hover { background: var(--line); color: var(--text); }
.site-nav-desktop a.active { color: var(--text); background: var(--line); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-switcher { display: inline-flex; align-items: center; gap: 2px; }
.lang-pill {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-decoration: none; color: var(--muted);
}
a.lang-pill:hover { background: var(--surface-2); color: var(--text); }
.lang-active { color: var(--text); background: var(--line); }
.nav-burger {
  width: 48px; height: 48px; border-radius: 50%; background: var(--surface-2); cursor: pointer; flex: none;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle:checked + .site-header .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked + .site-header .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .site-header .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: fixed; top: 80px; left: 16px; right: 16px; z-index: 800;
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); border: 1px solid var(--line);
  padding: 10px; display: flex; flex-direction: column; gap: 2px;
  transform: translateY(-14px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .22s ease, opacity .22s ease, visibility .22s ease;
}
.nav-toggle:checked ~ .site-nav { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
@media (min-width: 1041px) { .nav-toggle:checked ~ .site-nav { visibility: hidden; } .nav-toggle { visibility: hidden; } }
.site-nav a:not(.btn) { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-radius: 14px; color: var(--text); font-weight: 500; text-decoration: none; }
.site-nav a:not(.btn):hover { background: var(--surface-2); }
.site-nav .lang-switcher { padding: 6px 8px; }
.site-nav .btn { width: 100%; margin-top: 6px; }

/* ---------- page frames ---------- */
main { display: block; padding-top: 0; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { text-align: center; width: min(760px, 100%); margin: 0 auto clamp(32px, 5vw, 56px); }
.section-head h2 { margin-bottom: 14px; }
.lede { color: var(--muted); font-size: clamp(17px, 2vw, 19px); }
.eyebrow {
  display: inline-block; margin: 0 0 18px; font-family: var(--font-body);
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2);
}

/* concentric ring glow behind every hero */
.hero-card, .page-hero {
  position: relative; overflow: hidden; text-align: center;
  background:
    repeating-radial-gradient(circle at 50% 38%, rgba(255,255,255,.05) 0 2px, transparent 2px 90px),
    radial-gradient(ellipse 70% 60% at 50% 30%, #2a2c33 0%, var(--bg) 72%);
}
.page-hero { padding: calc(72px + 72px) 0 clamp(32px, 5vw, 64px); }
.page-hero h1 {
  font-size: clamp(38px, 6vw, 68px); text-transform: uppercase; margin-bottom: 16px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: var(--blue); -webkit-text-fill-color: transparent;
}
.page-hero .lede, .page-hero p { color: var(--muted); font-size: clamp(17px, 2vw, 20px); }

/* ---------- home hero ---------- */
.hero-card { padding: calc(72px + 88px) clamp(16px, 4vw, 56px) clamp(56px, 8vw, 96px); }
.hero-card h1 {
  font-size: clamp(40px, 7.4vw, 84px); text-transform: uppercase; line-height: 1.02; text-wrap: balance;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: var(--blue); -webkit-text-fill-color: transparent;
  width: min(980px, 100%); margin-inline: auto;
}
.hero-card h1 .h1-line { display: block; }
.hero-lead { color: var(--muted); font-size: clamp(17px, 2.2vw, 21px); width: min(700px, 100%); margin: 24px auto 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.billing-note { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 18px 0 0; }
.billing-note strong { color: var(--text); font-weight: 700; }
.billing-note a { color: var(--blue); }

.tiles { display: flex; justify-content: center; gap: clamp(12px, 2.4vw, 28px); list-style: none; margin: clamp(40px, 6vw, 64px) auto 0; padding: 0; flex-wrap: wrap; }
.tile {
  position: relative; width: clamp(104px, 22vw, 168px); aspect-ratio: 1; border-radius: 26px; overflow: hidden;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-soft);
}
.tile:nth-child(1) { transform: rotate(-4deg); }
.tile:nth-child(3) { transform: rotate(4deg); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-label {
  position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 6px 8px; border-radius: 12px; text-align: center;
  background: rgba(23, 24, 28, 0.9); color: var(--text); font-family: var(--font-display); font-weight: 700;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}

/* ---------- showcase (scroll rail) ---------- */
.gallery {
  display: flex; gap: 16px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 4px max(16px, calc((100% - 1160px) / 2)) 22px; margin: 0; scrollbar-width: thin; scrollbar-color: var(--blue) var(--surface-2);
}
.gallery > li { flex: none; width: clamp(220px, 26vw, 300px); scroll-snap-align: start; }
.gallery-item { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); aspect-ratio: 4 / 5; box-shadow: 0 0 0 1px var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 14px; border-radius: 14px;
  background: rgba(23, 24, 28, 0.92); display: flex; flex-direction: column; gap: 1px;
}
.cap-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase; color: var(--text); }
.cap-cat { font-size: 13px; color: var(--blue); font-weight: 500; }

/* ---------- feature cards (dark tool cards) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.feature { background: var(--surface); border-radius: var(--radius-lg); padding: 32px 30px 36px; min-height: 270px; box-shadow: 0 0 0 1px var(--line); text-align: left; transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--blue); }
.chip {
  display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%;
  background: #14354a; color: var(--blue); margin-bottom: 28px;
}
.feature:nth-child(3n + 2) .chip { background: #3a2342; color: #e58bf0; }
.feature:nth-child(3n + 3) .chip { background: #2c2a55; color: var(--violet); }
.chip svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: 12px; text-transform: uppercase; letter-spacing: .03em; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- platform band (wave-topped) ---------- */
.band { position: relative; background: var(--surface); color: var(--text); padding: clamp(80px, 10vw, 136px) 0 clamp(64px, 9vw, 120px); margin-top: clamp(48px, 6vw, 88px); }
.band::before {
  content: ""; position: absolute; left: 0; right: 0; top: -39px; height: 40px; background: var(--surface);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C20 22 20 6 40 6S60 22 80 22 100 6 120 6 140 22 160 22V40Z'/%3E%3C/svg%3E") repeat-x bottom / 160px 40px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C20 22 20 6 40 6S60 22 80 22 100 6 120 6 140 22 160 22V40Z'/%3E%3C/svg%3E") repeat-x bottom / 160px 40px;
}
.band h2, .band h3 { color: var(--text); }
.band .lede { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; counter-reset: step; }
.step { background: var(--bg-2); border-radius: var(--radius-lg); padding: 32px 30px; box-shadow: 0 0 0 1px var(--line); }
.step-n {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 22px;
  background: var(--grad); color: #0d1219; font-family: var(--font-display); font-weight: 700; font-size: 20px;
}
.step h3 { margin-bottom: 10px; color: var(--text); text-transform: uppercase; letter-spacing: .03em; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }
.band-cta { text-align: center; margin-top: 36px; }
.band .vision-text p { color: var(--muted); }
.band .vision-art { background: var(--bg-2); }

/* ---------- why us ---------- */
.why-card { background: var(--surface); border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 64px); align-items: start; box-shadow: 0 0 0 1px var(--line); }
.why-card h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; list-style: none; }
.why-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.tick { width: 36px; height: 36px; border-radius: 50%; background: #14354a; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.tick svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.why-list strong { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; margin-bottom: 2px; }
.why-list span.why-text { color: var(--muted); font-size: 15.5px; line-height: 1.5; display: block; }

/* ---------- FAQ ---------- */
.faq-list { width: min(820px, 100%); margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border-radius: 18px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s ease; }
.faq-item[open] { box-shadow: 0 0 0 1.5px var(--blue), var(--shadow-soft); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 24px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #14354a; color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; font-weight: 500;
}
.faq-item[open] summary::after { content: "\2212"; background: var(--blue); color: var(--on-blue); }
.faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 16.5px; }

/* ---------- closing CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center; color: var(--text);
  width: min(1240px, calc(100% - 24px)); margin: 0 auto; border-radius: var(--radius-xl);
  padding: clamp(56px, 9vw, 112px) 20px;
  background:
    repeating-radial-gradient(circle at 50% 100%, rgba(255,255,255,.06) 0 2px, transparent 2px 80px),
    linear-gradient(160deg, #1d2a4a 0%, #2f2250 55%, #4a2646 100%);
  box-shadow: 0 0 0 1px var(--line);
}
.cta-band h2 { font-size: clamp(32px, 5.2vw, 60px); margin-bottom: 16px; }
.cta-band .lede { color: #d6d8ee; width: min(620px, 100%); margin: 0 auto 28px; }
.cta-band .billing-note, .cta-band .billing-note strong { color: #d6d8ee; }
.cta-band .billing-note a { color: #8fdcfa; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 400px)); justify-content: center; gap: 20px; }
.price-card { background: var(--surface); border-radius: var(--radius-xl); padding: 34px 30px 32px; box-shadow: 0 0 0 1.5px var(--blue), var(--shadow-lift); display: flex; flex-direction: column; }
.price-op { margin-bottom: 18px; text-transform: uppercase; letter-spacing: .03em; }
.price-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 8px; }
.price-val { font-family: var(--font-display); font-weight: 700; font-size: clamp(42px, 6vw, 60px); letter-spacing: 0; line-height: 1; margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: var(--blue); -webkit-text-fill-color: transparent; }
.price-freq { color: var(--muted); font-size: 18px; margin: 0; }
.price-intro { background: #14354a; color: #bfeaff; font-weight: 500; font-size: 15px; border-radius: 14px; padding: 10px 14px; margin: 10px 0 14px; }
.price-meta { color: var(--muted); font-size: 15.5px; }
.price-includes { list-style: none; display: grid; gap: 10px; margin: 8px 0 26px; }
.price-includes li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: 16px; }
.price-includes .tick { width: 26px; height: 26px; border-radius: 9px; }
.price-includes .tick svg { width: 14px; height: 14px; }
.price-card .btn { margin-top: auto; width: 100%; }
.price-note { text-align: center; color: var(--muted); font-size: 15px; margin: 24px auto 0; }

/* ---------- opt-out + refund ---------- */
.optout { background: var(--surface); border-radius: var(--radius-xl); box-shadow: 0 0 0 1px var(--line); padding: clamp(24px, 4vw, 40px); width: min(820px, 100%); margin: 0 auto 20px; }
.optout h3 { margin-bottom: 14px; text-transform: uppercase; }
.optout-line { font-size: clamp(18px, 2.4vw, 22px); line-height: 1.5; margin: 0; }
.optout-dest { display: inline-block; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-weight: 600; background: #14354a; color: #bfeaff; padding: 2px 12px; border-radius: 10px; margin: 2px 4px; word-break: break-all; }
.optout-dest a { color: inherit; text-decoration: none; }
.optout-notes { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; width: min(820px, 100%); margin: 0 auto 24px; justify-content: center; }
.optout-notes li { background: var(--surface); box-shadow: 0 0 0 1px var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14.5px; color: var(--muted); }
.panel { background: var(--surface); border-radius: var(--radius-xl); box-shadow: 0 0 0 1px var(--line); padding: clamp(24px, 4vw, 40px); width: min(820px, 100%); margin: 0 auto; }
.bullets { list-style: none; display: grid; gap: 14px; }
.bullets li { position: relative; padding-left: 32px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); box-shadow: inset 0 0 0 4px var(--surface); outline: 2px solid var(--blue); outline-offset: -2px; }

/* ---------- about ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: var(--surface); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: 0 0 0 1px var(--line); }
.value-card h3 { text-transform: uppercase; letter-spacing: .03em; }
.value-card p { color: var(--muted); margin: 10px 0 0; }
.vision { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.vision h2 { margin-bottom: 20px; }
.vision-text p { color: var(--muted); }
.vision-art { margin: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 4 / 3.4; background: var(--bg-2); }
.vision-art img { width: 100%; height: 100%; object-fit: cover; }
.about-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.fact { background: var(--surface); border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: 0 0 0 1px var(--line); }
.fact h3 { margin-bottom: 8px; text-transform: uppercase; letter-spacing: .03em; }
.fact p { color: var(--muted); margin: 0; word-break: break-word; }

/* ---------- forms ---------- */
.form-card, .contact-form { background: var(--surface); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 44px); box-shadow: 0 0 0 1px var(--line), var(--shadow-soft); }
.form-card.narrow { width: min(520px, 100%); margin: 0 auto; }
.form-group { margin-bottom: 1.1rem; }
.contact-form h3, .form-card h3 { margin-bottom: 1.5rem; text-transform: uppercase; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.signin-card button, .form-card button { margin-top: 0.5rem; }
label { display: block; font-weight: 500; font-size: 15px; margin-bottom: 6px; color: var(--text); }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--bg); font: inherit; color: var(--text); transition: border-color .15s ease, background-color .15s ease;
}
textarea { min-height: 150px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted-2); }
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 174, 240, 0.22); }
.error-msg, .errorMsg { display: none; color: var(--danger); font-size: 0.86rem; margin-top: 0.35rem; font-weight: 500; }
.form-success, .successMsg { display: none; color: var(--ok); font-weight: 600; margin-top: 1rem; }
.form-disclaimer { color: var(--muted); font-size: 0.86rem; margin-top: 1rem; }
.btn-block { width: 100%; }
.side-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: min(520px, 100%); margin: 20px auto 0; }
.side-links .fact { padding: 20px 22px; }
.side-links a { font-weight: 600; }
.care-card { display: grid; gap: 4px; background: var(--surface); border-radius: var(--radius-lg); padding: 26px 28px; margin-bottom: 20px; box-shadow: 0 0 0 1px var(--line); }
.care-card h2 { font-size: 26px; margin-bottom: 8px; }
.care-card p { margin: 0; color: var(--muted); }
.care-card a { font-weight: 700; word-break: break-all; }

/* ---------- legal pages ---------- */
.legals-wrap { padding: 1.5rem 0 4rem; }
.legals { padding-top: 0; padding-bottom: 1rem; }
.legals .container { width: min(840px, calc(100% - 32px)); margin-inline: auto; background: #ffffff; color: #1d1f23; border-radius: var(--radius-xl); padding: clamp(22px, 5vw, 56px); box-shadow: var(--shadow-soft); overflow-wrap: anywhere; }
.legals h1 { display: none; } /* terms-dcb.html injects a hardcoded <h1>: the page hero carries the title */
.legals h6 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #0d4f78; margin: 2rem 0 0.5rem; }
.legals h6:first-child { margin-top: 0; }
.legals p { margin-bottom: 0.85rem; line-height: 1.75; font-size: 16px; color: #1d1f23; }
.legals ul { margin: 0.5rem 0 1rem; padding-inline-start: 1.2rem; }
.legals li { margin-bottom: 0.4rem; line-height: 1.7; color: #1d1f23; }
.legals a { color: #0a6fb0; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: calc(72px + clamp(48px, 10vw, 120px)) 0 clamp(48px, 10vw, 120px); }
.big-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(96px, 22vw, 220px); line-height: 1; margin: 0 0 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: var(--blue); -webkit-text-fill-color: transparent; }
.not-found h1 { font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 12px; text-transform: uppercase; }
.not-found p { color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(56px, 8vw, 104px); background: var(--surface); color: var(--text); padding: clamp(44px, 6vw, 80px) 0 28px; border-top: 1px solid var(--line); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.site-footer .logo { color: var(--text); }
.footer-tagline { margin: 16px 0 18px; color: var(--muted); font-size: 16px; }
.footer-col-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.footer-col ul { list-style: none; display: grid; gap: 2px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
.site-footer .lang-pill { color: var(--muted); }
.site-footer .lang-active { color: var(--text); background: var(--line); }
.site-footer a.lang-pill:hover { background: var(--surface-2); text-decoration: none; }
.footer-legal { padding-top: 26px; font-size: 14.5px; color: var(--muted); overflow-wrap: anywhere; }
.footer-legal p { margin: 0 0 8px; }
.footer-channels { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 6px 0 12px; }
.footer-legal a { color: var(--blue); }
.footer-copy { margin-top: 12px; color: var(--muted-2); }

/* ---------- reveals (content stays visible without JS) ---------- */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .card-grid, .steps, .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .why-card, .vision { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .card-grid, .steps, .values-grid, .why-list, .form-row, .side-links { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .gallery > li { width: 66vw; }
  .gallery-item { border-radius: 18px; }
  .gallery-item figcaption { left: 6px; right: 6px; bottom: 6px; padding: 8px 10px; }
  .cap-title { font-size: 15px; }
  .footer-top { grid-template-columns: 1fr; }
  .logo-mark { width: 176px; }
  .header-pill { min-height: 64px; }
  .site-nav { top: 72px; }
  .hero-card { padding-top: calc(64px + 56px); }
  .page-hero { padding-top: calc(64px + 48px); }
  .faq-item summary { font-size: 17px; padding: 12px 18px; }
  .faq-body { padding: 0 18px 18px; }
  .btn-lg { padding: 0 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
