/* Velqora — site styles
   Fonts are self-hosted (SIL OFL) so no visitor data is sent to third parties. */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Brand colours sampled from the Velqora logo */
  --blue-900: #0c2da6;
  --blue-700: #0c28e9;
  --blue-600: #1450f0;
  --blue-500: #186bfc;
  --cyan-300: #72f4ff;

  /* Semantic tokens (dark theme). Contrast on --bg: text 18.6:1, muted 9.7:1, link 13.4:1 */
  --bg: #04060d;
  --bg-alt: #070b18;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(140, 170, 255, 0.16);
  --border-strong: rgba(140, 170, 255, 0.32);
  --text: #f2f5ff;
  --muted: #a9b4cc;
  --link: #8fdcff;
  --focus: #72f4ff;
  --error: #ff9b9b;
  --success: #7ff0b8;
  --btn-bg: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  --btn-text: #ffffff;
  --gradient-text: linear-gradient(100deg, #5b8dff 0%, #3fa8ff 45%, var(--cyan-300) 100%);

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-glow: 0 0 0 1px var(--border), 0 20px 60px -20px rgba(24, 107, 252, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--cyan-300); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { display: none; }
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--bg); }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 640px) { .container { padding-inline: 32px; } }
.container.narrow { max-width: 820px; }

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-300);
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (forced-colors: active) {
  .gradient-text { color: CanvasText; background: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.8em 1.5em;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease), border-color 200ms var(--ease);
}
.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-text);
  box-shadow: 0 10px 30px -10px rgba(24, 107, 252, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
  color: var(--btn-text);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(24, 107, 252, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { color: var(--text); background: var(--surface-strong); border-color: var(--cyan-300); }
.btn-small { min-height: 44px; padding: 0.6em 1.2em; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn .icon { transition: transform 200ms var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(4, 6, 13, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  min-height: 44px;
}
.brand:hover { color: var(--text); }
.brand img {
  width: 40px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.14em;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font: 600 0.95rem var(--font-body);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 200ms var(--ease), opacity 200ms;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  transition: color 200ms, background-color 200ms;
}
.site-nav a:not(.btn):hover { color: var(--text); background: var(--surface-strong); }
.site-nav li:last-child { margin-left: 8px; }

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 16px;
    background: rgba(4, 6, 13, 0.97);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; }
  .js .site-nav a:not(.btn) { width: 100%; font-size: 1.05rem; }
  .js .site-nav li:last-child { margin: 8px 0 0; }
  .js .site-nav .btn { width: 100%; }
  /* Without JS the links simply wrap */
  html:not(.js) .site-header { height: auto; padding-block: 8px; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  z-index: -1;
  background:
    radial-gradient(40% 45% at 75% 35%, rgba(24, 107, 252, 0.35), transparent 70%),
    radial-gradient(30% 35% at 90% 15%, rgba(114, 244, 255, 0.18), transparent 70%),
    radial-gradient(35% 40% at 10% 80%, rgba(12, 40, 233, 0.22), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(140, 170, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 36em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 28px;
}
.hero-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points .icon { color: var(--cyan-300); }

/* Decorative browser mock-up */
.hero-visual {
  position: relative;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
  aspect-ratio: 5 / 4;
}
.mock {
  position: absolute;
  inset: 6% 4% 4% 4%;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(20, 30, 70, 0.75), rgba(6, 9, 20, 0.85));
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  animation: float 8s ease-in-out infinite;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.mock-url {
  margin-left: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: var(--muted);
}
.mock-body { padding: 18px 20px; display: grid; gap: 18px; }
.mock-nav { display: flex; align-items: center; gap: 10px; }
.mock-nav i { width: 26px; height: 26px; border-radius: 8px; background: var(--btn-bg); }
.mock-nav b { height: 8px; width: 44px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); }
.mock-nav b:first-of-type { margin-left: auto; }
.mock-hero { display: grid; gap: 10px; padding: 8px 0; }
.mock-line { height: 18px; border-radius: 6px; background: linear-gradient(90deg, rgba(91, 141, 255, 0.9), rgba(114, 244, 255, 0.7)); }
.mock-line.thin { height: 8px; background: rgba(255, 255, 255, 0.14); }
.w80 { width: 80%; } .w60 { width: 60%; } .w70 { width: 70%; }
.mock-btns { display: flex; gap: 10px; margin-top: 6px; }
.mock-btns i { width: 90px; height: 28px; border-radius: 999px; background: var(--btn-bg); }
.mock-btns i.ghost { background: transparent; border: 1px solid var(--border-strong); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards div { height: 72px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); }

.hero-logo {
  position: absolute;
  width: 34%;
  right: -2%;
  bottom: -4%;
  filter: drop-shadow(0 0 40px rgba(24, 107, 252, 0.6));
  animation: float 8s ease-in-out -4s infinite;
}
.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10, 16, 36, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
.chip .icon { color: var(--cyan-300); }
.chip-a { top: 0; left: -2%; animation: float 7s ease-in-out -2s infinite; }
.chip-b { bottom: 14%; left: -6%; animation: float 9s ease-in-out -1s infinite; }
@media (max-width: 480px) {
  .chip { font-size: 0.75rem; padding: 8px 10px; }
  .chip-b { left: 0; }
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-alt {
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(24, 107, 252, 0.1), transparent 70%),
    var(--bg-alt);
  border-block: 1px solid var(--border);
}
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-lead { color: var(--muted); font-size: 1.1rem; }

/* Cards */
.card-grid {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--border);
  transition: transform 300ms var(--ease), border-color 300ms, box-shadow 300ms;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 50px -24px rgba(24, 107, 252, 0.6);
}
.card p { color: var(--muted); margin: 0; }
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(24, 107, 252, 0.3), rgba(114, 244, 255, 0.12));
  border: 1px solid var(--border-strong);
  color: var(--cyan-300);
}

/* Steps */
.steps {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.step p { color: var(--muted); margin: 0; }
.step-num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Promise */
.promise {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) { .promise { grid-template-columns: 1fr 1fr; } }
.promise-copy p { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }
.promise-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.promise-list li {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.promise-list .icon { color: var(--cyan-300); margin-top: 2px; }
.promise-list strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.promise-list span { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 200ms;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  position: relative;
  padding: 20px 56px 20px 24px;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  translate: 0 -50%;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cyan-300);
  transition: rotate 200ms var(--ease);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* Contact */
.contact {
  display: grid;
  gap: 48px;
  align-items: start;
}
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.05fr; } }
.contact-info > p { color: var(--muted); font-size: 1.1rem; }
.contact-links {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.contact-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  min-height: 64px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 200ms, background-color 200ms, transform 200ms var(--ease);
}
.contact-links a:hover { border-color: var(--cyan-300); background: var(--surface-strong); transform: translateX(4px); color: var(--text); }
.contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--btn-bg);
  color: #fff;
  flex: none;
}
.contact-label { display: block; font-size: 0.85rem; color: var(--muted); }
.contact-value { display: block; font-weight: 600; word-break: break-word; }

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(20, 30, 70, 0.55), rgba(6, 9, 20, 0.7));
  box-shadow: 0 30px 80px -40px rgba(24, 107, 252, 0.7);
}
.form-title { font-size: 1.5rem; }
.form-intro { color: var(--muted); }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-weight: 600; }
.req, .opt { font-weight: 400; color: var(--muted); font-size: 0.9em; }
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #5c6b8f; /* 3.4:1 against the card, meets 3:1 non-text contrast */
  background: rgba(4, 6, 13, 0.75);
  color: var(--text);
  font: 400 1rem/1.5 var(--font-body);
  transition: border-color 200ms, box-shadow 200ms;
}
.field select { appearance: auto; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(114, 244, 255, 0.35);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-hint { margin: 6px 0 0; font-size: 0.9rem; color: var(--muted); }
.field-error { margin: 6px 0 0; font-size: 0.9rem; font-weight: 600; color: var(--error); }
.field-error::before { content: "⚠ "; }

.field-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: start;
}
.field-check input {
  width: 24px;
  height: 24px;
  margin: 2px 0 0;
  accent-color: var(--blue-500);
  cursor: pointer;
}
.field-check label { margin: 0; font-weight: 400; color: var(--muted); }
.field-check .field-error { grid-column: 2; }

.error-summary {
  margin-bottom: 20px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--error);
  background: rgba(255, 155, 155, 0.08);
}
.error-summary h4 { margin: 0 0 8px; font-size: 1rem; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: var(--error); }
.form-status { margin: 16px 0 0; color: var(--success); }
.form-status:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand p { color: var(--muted); margin-top: 12px; }
.footer-heading {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}
.site-footer address { font-style: normal; color: var(--muted); line-height: 1.9; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links a, .site-footer address a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover, .site-footer address a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-bottom p { margin: 0; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(48px, 7vw, 88px) 0 96px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal .updated { color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 1.5rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; }
.legal p, .legal li { color: #cfd6e6; }
.legal ul, .legal ol { padding-left: 1.4em; margin: 0 0 1em; }
.legal li { margin-bottom: 0.4em; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px; border: 1px solid var(--border-strong); }
.legal th { background: var(--surface-strong); }
.table-wrap { overflow-x: auto; }
.callout {
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  margin: 0 0 1.5em;
}
.callout p:last-child { margin: 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 16px; }
.back-link .icon { rotate: 180deg; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 700ms var(--ease), translate 700ms var(--ease);
}
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; translate: none; }
  .mock { transform: none; }
}
