/* XR Academy (gap) - Reel Motion look: pale mist page, floating white pill header,
   big gradient hero card, white radius-24 cards, indigo brand, dark ink footer.
   All tokens live in :root. No blur filters, no backdrop-filter: gradients are
   pre-softened radial stops. */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/inter-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:'Inter Tight';font-style:normal;font-weight:500 800;font-display:swap;src:url(/assets/fonts/inter-tight-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 {
  --ink: #0e1116;
  --white: #ffffff;
  --mist: #f5f7fb;
  --mist-2: #edf2f7;
  --line: #e3e8ee;
  --muted: #5b6472;
  --muted-2: #8a93a3;
  --brand: #5b5fe6;
  --lift: #787ff6;
  --deep: #3f47d6;
  --tint: #eff0ff;
  --glow: rgba(74, 222, 222, 0.3);
  --danger: #c8321f;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 10px 30px rgba(14, 17, 22, 0.07), 0 2px 6px rgba(14, 17, 22, 0.04);
  --shadow-lift: 0 24px 60px rgba(63, 71, 214, 0.18), 0 4px 12px rgba(14, 17, 22, 0.06);
  --header-h: 64px;
  --font-display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', 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; }
body {
  margin: 0; overflow-x: hidden;
  background: var(--mist); color: var(--ink);
  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(--deep); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.03em; line-height: 1.08; margin: 0; color: var(--ink); }
h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--brand); 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-display); font-weight: 650; font-size: 16px; letter-spacing: -0.01em;
  text-decoration: none; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #262c36; color: var(--white); transform: translateY(-1px); }
.btn-brand { background: var(--brand); color: var(--white); }
.btn-brand:hover { background: var(--deep); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--tint); color: var(--ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 34px; font-size: 17px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- header (floating white pill) ---------- */
.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(--brand); outline-offset: 3px; }
.site-header { direction: ltr; position: fixed; top: 14px; left: 0; right: 0; z-index: 900; pointer-events: none; }
.header-pill {
  pointer-events: auto; width: min(1160px, calc(100% - 32px)); margin-inline: auto;
  min-height: var(--header-h); padding: 6px 8px 6px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--white); border-radius: 999px; box-shadow: var(--shadow-soft);
}
.logo { display: inline-flex; align-items: center; color: var(--ink); min-height: 44px; flex: none; }
.logo-mark { display: block; width: 168px; }
.logo-mark svg { width: 100%; height: auto; fill: currentColor; }
.site-nav-desktop { display: flex; align-items: center; gap: 2px; }
.site-nav-desktop a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  color: var(--muted); font-weight: 500; font-size: 15px; text-decoration: none;
}
.site-nav-desktop a:hover { background: var(--mist); color: var(--ink); }
.site-nav-desktop a.active { color: var(--ink); background: var(--tint); }
.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: 600; letter-spacing: .04em; text-decoration: none; color: var(--muted);
}
a.lang-pill:hover { background: var(--mist); color: var(--ink); }
.lang-active { color: var(--ink); background: var(--tint); }
.nav-burger {
  width: 48px; height: 48px; border-radius: 50%; background: var(--mist); 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(--ink); 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: calc(var(--header-h) + 26px); left: 16px; right: 16px; z-index: 800;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift);
  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(--ink); font-weight: 550; text-decoration: none; }
.site-nav a:not(.btn):hover { background: var(--mist); }
.site-nav .lang-switcher { padding: 6px 8px; }
.site-nav .btn { width: 100%; margin-top: 6px; }

/* ---------- page frames ---------- */
main { display: block; padding-top: calc(var(--header-h) + 36px); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { text-align: center; width: min(720px, 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-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px; margin-bottom: 22px;
  background: var(--white); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; font-weight: 600; color: var(--deep);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--tint); }

.page-hero { text-align: center; padding: clamp(36px, 7vw, 84px) 0 clamp(8px, 2vw, 24px); }
.page-hero h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 750; margin-bottom: 16px; }
.page-hero .lede, .page-hero p { color: var(--muted); font-size: clamp(17px, 2vw, 20px); }

/* ---------- home hero ---------- */
.hero-card {
  position: relative; overflow: hidden; text-align: center;
  width: min(1240px, calc(100% - 24px)); margin: 0 auto; border-radius: var(--radius-xl);
  padding: clamp(40px, 7vw, 88px) clamp(18px, 4vw, 56px) 0;
  background:
    radial-gradient(60% 70% at 12% 8%, rgba(120, 127, 246, 0.42), rgba(120, 127, 246, 0) 70%),
    radial-gradient(55% 65% at 92% 18%, var(--glow), rgba(74, 222, 222, 0) 70%),
    radial-gradient(70% 60% at 50% 110%, rgba(91, 95, 230, 0.16), rgba(91, 95, 230, 0) 70%),
    linear-gradient(180deg, #f1f0ff 0%, #eaf6fb 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.hero-card h1 { font-size: clamp(40px, 7.4vw, 84px); font-weight: 780; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
.hero-card h1 .h1-line { display: block; color: var(--deep); }
.hero-lead { color: var(--muted); font-size: clamp(17px, 2.2vw, 21px); width: min(680px, 100%); margin: 22px 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(--ink); font-weight: 650; }
.billing-note a { color: var(--deep); }

.fan { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 2.4vw, 32px); margin-top: clamp(36px, 6vw, 64px); }
.dev { margin: 0; overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lift); flex: none; }
.dev img { width: 100%; height: 100%; object-fit: cover; }
.dev-poster { width: 24%; aspect-ratio: 3 / 4; border: 5px solid var(--white); border-radius: 22px; transform: rotate(-7deg) translateY(28px); margin-bottom: -44px; }
.dev-tablet { width: 40%; aspect-ratio: 4 / 3; border: clamp(6px, 1.2vw, 12px) solid var(--ink); border-radius: clamp(16px, 2.4vw, 28px); margin-bottom: -56px; position: relative; z-index: 2; }
.dev-phone { width: 19%; aspect-ratio: 9 / 17; border: clamp(5px, .9vw, 9px) solid var(--ink); border-radius: clamp(16px, 2.6vw, 30px); transform: rotate(7deg) translateY(28px); margin-bottom: -44px; position: relative; }
.dev-phone::after { content: ""; position: absolute; top: 6px; left: 50%; width: 30%; height: 5px; margin-left: -15%; border-radius: 4px; background: var(--ink); }

/* ---------- showcase ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; }
.gallery-item { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist-2); aspect-ratio: 4 / 5; box-shadow: var(--shadow-soft); }
.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: 16px;
  background: rgba(255, 255, 255, 0.94); display: flex; flex-direction: column; gap: 1px;
}
.cap-title { font-family: var(--font-display); font-weight: 650; font-size: 15.5px; line-height: 1.2; letter-spacing: -0.01em; }
.cap-cat { font-size: 13px; color: var(--muted); }

/* ---------- feature cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.feature {
  background: var(--white); border-radius: var(--radius-lg); padding: 30px 28px 32px;
  box-shadow: var(--shadow-soft); box-shadow: 0 0 0 1px var(--line), var(--shadow-soft);
}
.feature:nth-child(3n + 2) { background: var(--tint); transform: translateY(-14px); box-shadow: 0 0 0 1px #dfe1ff, var(--shadow-lift); }
.chip {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--tint); color: var(--brand); margin-bottom: 22px;
}
.feature:nth-child(3n + 2) .chip { background: var(--white); }
.chip svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- how it works band ---------- */
.band { background: var(--mist-2); border-radius: var(--radius-xl); width: min(1240px, calc(100% - 24px)); margin: 0 auto; padding: clamp(48px, 7vw, 88px) 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 0 0 1px var(--line); }
.step-n {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 18px;
  background: var(--brand); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 17px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }
.band-cta { text-align: center; margin-top: 36px; }

/* ---------- why us ---------- */
.why-card { background: var(--white); border-radius: var(--radius-xl); box-shadow: 0 0 0 1px var(--line), var(--shadow-soft); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.why-card h2 { font-size: clamp(28px, 3.6vw, 44px); 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: 12px; background: var(--tint); color: var(--brand); 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: 17.5px; font-weight: 650; letter-spacing: -0.015em; 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(--white); border-radius: 20px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s ease; }
.faq-item[open] { box-shadow: 0 0 0 1.5px var(--brand), 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: 650; font-size: 18px; letter-spacing: -0.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--brand);
  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(--brand); color: var(--white); }
.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(--white);
  width: min(1240px, calc(100% - 24px)); margin: 0 auto; border-radius: var(--radius-xl);
  padding: clamp(48px, 8vw, 96px) 20px;
  background:
    radial-gradient(50% 80% at 88% 0%, rgba(74, 222, 222, 0.34), rgba(74, 222, 222, 0) 70%),
    radial-gradient(60% 90% at 6% 100%, rgba(120, 127, 246, 0.7), rgba(120, 127, 246, 0) 70%),
    linear-gradient(135deg, var(--brand), var(--deep));
}
.cta-band h2 { color: var(--white); font-size: clamp(32px, 5.2vw, 60px); margin-bottom: 14px; }
.cta-band .lede { color: rgba(255, 255, 255, 0.86); width: min(620px, 100%); margin: 0 auto 28px; }
.cta-band .billing-note, .cta-band .billing-note strong, .cta-band .billing-note a { color: rgba(255, 255, 255, 0.92); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; gap: 20px; }
.price-card { background: var(--white); border-radius: var(--radius-xl); padding: 34px 30px 32px; box-shadow: 0 0 0 1.5px var(--brand), var(--shadow-lift); display: flex; flex-direction: column; }
.price-op { margin-bottom: 18px; }
.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: 780; font-size: clamp(40px, 6vw, 56px); letter-spacing: -0.04em; line-height: 1; margin: 0; }
.price-freq { color: var(--muted); font-size: 18px; margin: 0; }
.price-intro { background: var(--tint); color: var(--deep); font-weight: 550; 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(--white); border-radius: var(--radius-xl); box-shadow: 0 0 0 1px var(--line), var(--shadow-soft); padding: clamp(24px, 4vw, 40px); width: min(820px, 100%); margin: 0 auto 20px; }
.optout h3 { margin-bottom: 14px; }
.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: var(--tint); color: var(--deep); 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(--white); box-shadow: 0 0 0 1px var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14.5px; color: var(--muted); }
.panel { background: var(--white); border-radius: var(--radius-xl); box-shadow: 0 0 0 1px var(--line), var(--shadow-soft); 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(--tint); box-shadow: inset 0 0 0 4px var(--brand); }

/* ---------- about ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: 0 0 0 1px var(--line), var(--shadow-soft); }
.value-card .step-n { background: var(--tint); color: var(--brand); }
.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(--ink); }
.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(--white); border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: 0 0 0 1px var(--line); }
.fact h3 { margin-bottom: 8px; }
.fact p { color: var(--muted); margin: 0; word-break: break-word; }

/* ---------- forms ---------- */
.form-card, .contact-form { background: var(--white); 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; }
.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: 600; font-size: 15px; margin-bottom: 6px; }
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(--mist); font: inherit; color: var(--ink); 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(--brand); background: var(--white); box-shadow: 0 0 0 4px var(--tint); }
.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: #1b7a43; 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(--white); 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: 650; 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: var(--white); border-radius: var(--radius-xl); padding: clamp(22px, 5vw, 56px); box-shadow: 0 0 0 1px var(--line), 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: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--deep); 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; }
.legals ul { margin: 0.5rem 0 1rem; padding-inline-start: 1.2rem; }
.legals li { margin-bottom: 0.4rem; line-height: 1.7; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: clamp(48px, 10vw, 120px) 0; }
.big-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(96px, 22vw, 220px); line-height: 1; letter-spacing: -0.06em; margin: 0 0 8px; color: var(--brand); }
.not-found h1 { font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 12px; }
.not-found p { color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(56px, 8vw, 104px); background: var(--ink); color: #c4cad6; border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: clamp(40px, 6vw, 72px) 0 28px; }
.site-footer a { color: #e6e9f0; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.site-footer .logo { color: var(--white); }
.footer-tagline { margin: 16px 0 18px; color: #aab2c0; font-size: 15.5px; }
.footer-col-title { font-family: var(--font-display); font-size: 15px; font-weight: 650; letter-spacing: 0; color: var(--white); 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: 15.5px; }
.site-footer .lang-pill { color: #c4cad6; }
.site-footer .lang-active { color: var(--ink); background: var(--white); }
.site-footer a.lang-pill:hover { background: rgba(255, 255, 255, 0.12); text-decoration: none; }
.footer-legal { padding-top: 26px; font-size: 14.5px; color: #aab2c0; 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-copy { margin-top: 12px; color: #8f98a8; }

/* ---------- 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; }
html.js .feature:nth-child(3n + 2).reveal.in { transform: translateY(-14px); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .card-grid, .steps, .values-grid { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(3n + 2), html.js .feature:nth-child(3n + 2).reveal.in { transform: none; }
  .gallery { grid-template-columns: repeat(3, 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; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-item { aspect-ratio: 3 / 4; border-radius: 18px; }
  .gallery-item figcaption { left: 6px; right: 6px; bottom: 6px; padding: 8px 10px; }
  .cap-title { font-size: 14px; }
  .footer-top { grid-template-columns: 1fr; }
  .header-pill { padding-left: 18px; }
  .logo-mark { width: 148px; }
  .faq-item summary { font-size: 16.5px; padding: 12px 18px; }
  .faq-body { padding: 0 18px 18px; }
  .dev-poster { width: 26%; } .dev-phone { width: 22%; }
  .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; }
  html.js .feature:nth-child(3n + 2).reveal { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 960px) { html.js .feature:nth-child(3n + 2).reveal { transform: none; } }

.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 720px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 20px; background: var(--white); color: var(--ink); border-radius: var(--radius-md); box-shadow: var(--shadow-lift), inset 0 0 0 1px var(--line); font-size: 15px; line-height: 1.5; }
.cookie-banner p { flex: 1 1 280px; margin: 0; }
.cookie-banner a { color: var(--deep); }
.cookie-banner-actions { display: flex; gap: 10px; flex: 0 0 auto; }
@media (max-width: 480px) { .cookie-banner-actions { width: 100%; } .cookie-banner-actions .btn { flex: 1; } }
