/* Intrak landing page — Bootstrap 5.3 themed with the app's design tokens
   (institutional navy on cool neutrals, orange from the logo as a spark). */

:root {
  --ink: #142033;
  --ink-2: #364256;
  --muted: #5d6878;
  --line: #dde2ea;
  --bg: #ffffff;
  --bg-alt: #f3f5f8;
  --canvas: #eceef2;          /* the app's own background, behind every screenshot */
  --navy: #1e3a8c;
  --navy-hover: #182f73;
  --navy-deep: #1a2c6b;
  --navy-soft: #e6ebf7;
  --orange: #f08a3c;
  --orange-ink: #a9501a;      /* orange that passes contrast as text on light backgrounds */
  --orange-soft: #fdeee2;
  --orange-light: #f6b07a;    /* orange for text on dark backgrounds */
  --sky: #b6c6f8;
  --dark: #142033;

  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --radius: 1.25rem;
  --shadow: 0 1px 2px rgba(20, 32, 51, .06), 0 16px 40px -18px rgba(20, 32, 51, .28);

  /* Bootstrap hooks */
  --bs-body-font-family: var(--font-sans);
  --bs-body-font-size: 1.0625rem;
  --bs-body-line-height: 1.6;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--bg);
  --bs-emphasis-color: var(--ink);
  --bs-secondary-color: var(--muted);
  --bs-primary: #1e3a8c;
  --bs-primary-rgb: 30, 58, 140;
  --bs-link-color: #1e3a8c;
  --bs-link-color-rgb: 30, 58, 140;
  --bs-link-hover-color: #182f73;
  --bs-link-hover-color-rgb: 24, 47, 115;
  --bs-border-color: var(--line);
  --bs-border-radius: .75rem;
  --bs-border-radius-lg: 1rem;
  --bs-focus-ring-color: rgba(30, 58, 140, .3);
  --bs-form-invalid-color: #c0392b;
  --bs-form-invalid-border-color: #c0392b;
}

html { scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.02;
  color: var(--ink);
}
h1 em, h2 em { font-style: italic; color: var(--navy); }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; margin-bottom: .4rem; }
.lead { font-size: clamp(1.0625rem, 1.2vw, 1.2rem); font-weight: 400; color: var(--ink-2); line-height: 1.6; }
.h-section { font-size: clamp(2.3rem, 4.4vw, 3.5rem); margin-bottom: 1.1rem; }

.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; flex-shrink: 0; }

.skip-link {
  position: absolute; left: 1rem; top: .75rem; z-index: 1100;
  background: var(--navy); color: #fff; padding: .5rem 1rem; border-radius: 999px;
}

/* ── Buttons, forms ──────────────────────────────────────────── */
.btn {
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: 999px;
  --bs-btn-padding-x: 1.15rem;
  --bs-btn-padding-y: .5rem;
  --bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(30, 58, 140, .3);
  display: inline-flex; align-items: center; justify-content: center; gap: .25rem;
}
.btn-lg { --bs-btn-padding-x: 1.5rem; --bs-btn-padding-y: .75rem; --bs-btn-font-size: 1.0625rem; --bs-btn-border-radius: 999px; }
.btn-primary {
  --bs-btn-bg: var(--navy); --bs-btn-border-color: var(--navy);
  --bs-btn-hover-bg: var(--navy-hover); --bs-btn-hover-border-color: var(--navy-hover);
  --bs-btn-active-bg: #142966; --bs-btn-active-border-color: #142966;
  --bs-btn-disabled-bg: var(--navy); --bs-btn-disabled-border-color: var(--navy);
}
.btn-outline-primary {
  --bs-btn-color: var(--navy); --bs-btn-border-color: rgba(30, 58, 140, .3);
  --bs-btn-bg: rgba(255, 255, 255, .7);
  --bs-btn-hover-color: var(--navy); --bs-btn-hover-bg: var(--navy-soft); --bs-btn-hover-border-color: var(--navy);
  --bs-btn-active-color: var(--navy); --bs-btn-active-bg: #d7dff3; --bs-btn-active-border-color: var(--navy);
}
.form-label { font-weight: 500; font-size: .95rem; margin-bottom: .35rem; }
.form-label .optional { color: var(--muted); font-weight: 400; }
.form-control { border-radius: .75rem; padding: .7rem .9rem; border-color: #c3cad6; }
.form-control::placeholder { color: #8a94a3; }
.form-control:focus { border-color: #7d93d0; box-shadow: 0 0 0 .25rem rgba(30, 58, 140, .16); }

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .9); border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20, 32, 51, .4); }
.navbar {
  --bs-navbar-padding-y: .8rem;
  --bs-navbar-color: var(--ink-2);
  --bs-navbar-hover-color: var(--navy);
  --bs-navbar-active-color: var(--navy);
  --bs-navbar-nav-link-padding-x: .85rem;
  --bs-navbar-toggler-border-color: transparent;
  --bs-navbar-toggler-focus-width: .2rem;
}
.navbar .nav-link { font-weight: 500; }
.navbar .nav-link.active { font-weight: 600; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); opacity: .8; }
.brand-word { font-weight: 700; font-size: 1.05rem; letter-spacing: .14em; }
@media (max-width: 991.98px) {
  .navbar-collapse { padding-top: .75rem; }
  .navbar-collapse .btn { width: 100%; }
}

/* ── Shared ──────────────────────────────────────────────────── */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin-bottom: 1rem; }
.section-head .lead { margin-bottom: 0; }
.section-head--center { text-align: center; margin-inline: auto; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  display: flex; align-items: center; flex-wrap: wrap; gap: .6rem;
}
.eyebrow::before { content: ""; width: .55rem; height: .55rem; border-radius: 2px; background: var(--orange); }
.eyebrow--light { color: #aab6cc; }

.badge-soon {
  display: inline-block;
  font-family: var(--font-sans); font-size: .72rem; font-weight: 600; letter-spacing: .02em; text-transform: none;
  color: var(--orange-ink); background: var(--orange-soft);
  border-radius: 999px; padding: .2rem .6rem;
}

.bubble {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: inline-grid; place-items: center; flex-shrink: 0;
  background: var(--navy); color: #fff; font-size: 1.2rem;
}
.bubble--ok { background: #dff3e8; color: #1c7a4a; width: 3.5rem; height: 3.5rem; font-size: 1.6rem; }

.callout {
  display: flex; gap: .75rem; align-items: flex-start;
  margin: 2rem 0 0; padding: 1rem 1.25rem;
  background: var(--navy-soft); color: var(--ink);
  border-radius: 1rem;
}
.callout .icon { color: var(--navy); font-size: 1.25rem; margin-top: .15rem; }

.notes { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.notes li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-2); font-size: 1rem; }
.notes .icon { color: var(--orange-ink); font-size: 1.1rem; margin-top: .25rem; }
.notes strong { color: var(--ink); }

.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-2); }
.checks .icon { color: var(--navy); margin-top: .3rem; }
.checks strong { color: var(--ink); font-weight: 600; }

.screen-canvas {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: .5rem;
  border: 1px solid #dde1e8;
  box-shadow: var(--shadow);
}
.screen-canvas img { display: block; width: 100%; height: auto; border-radius: .6rem; }

/* ── Phone mock (app top bar + screenshots) ──────────────────── */
.device {
  width: 100%;
  background: var(--canvas);
  border: 9px solid #131b2a;
  border-radius: 2.6rem;
  overflow: hidden;
  box-shadow: 0 50px 90px -45px rgba(20, 32, 51, .55), 0 0 0 1px rgba(20, 32, 51, .1);
}
.device-bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .85rem 1rem .7rem;
  background: #f7f8fa; border-bottom: 1px solid #d5dae3;
  font-size: .72rem;
}
.device-brand { font-weight: 700; letter-spacing: .14em; color: var(--ink); }
.device-spacer { flex: 1; }
.device-bar .icon { font-size: .95rem; color: var(--ink); }
.device-avatar {
  width: 1.6rem; height: 1.6rem; border-radius: 50%;
  display: grid; place-items: center;
  background: #e1e4ea; font-size: .6rem; font-weight: 700; color: var(--ink);
}
.device-screen { display: flex; flex-direction: column; gap: .5rem; padding: .55rem; }
.device-screen--flush { padding: 0; }
.device-screen img { display: block; width: 100%; height: auto; border-radius: .5rem; }
.device-screen--flush img { border-radius: 0; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  background:
    radial-gradient(60rem 32rem at 50% -8%, rgba(182, 198, 248, .55), transparent 70%),
    radial-gradient(28rem 22rem at 6% 78%, rgba(240, 138, 60, .16), transparent 70%),
    radial-gradient(28rem 22rem at 96% 70%, rgba(182, 198, 248, .35), transparent 70%),
    #fff;
}
.hero-copy { max-width: 54rem; margin: 0 auto; text-align: center; }
.hero-title { font-size: clamp(3rem, 7vw, 5.6rem); line-height: .95; margin-bottom: 1.5rem; }
.hero-lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-2); max-width: 40rem; margin: 0 auto 2rem; line-height: 1.55; }
.hero-note { margin: 1.5rem 0 0; color: var(--muted); font-size: .95rem; display: flex; align-items: center; justify-content: center; gap: .55rem; }
.live-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #1f9d5a; box-shadow: 0 0 0 4px rgba(31, 157, 90, .15); }

/* Three phones, bottoms fading into the next band. */
.stage {
  display: flex; justify-content: center; align-items: flex-start;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 4vw, 3.25rem);
  height: clamp(420px, 46vw, 600px);
  overflow: hidden;
  padding: 0 1rem;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
}
.stage-item { margin: 0; flex: 0 0 auto; display: flex; flex-direction: column-reverse; align-items: center; gap: .9rem; }
.stage-item figcaption {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
  padding: .3rem .8rem; border-radius: 999px;
}
.stage-item--main { width: 320px; position: relative; z-index: 2; }
.stage-item--side { width: 270px; margin-top: 4.5rem; }
.stage .device-screen { min-height: 760px; }
@media (max-width: 991.98px) {
  .stage-item--main { width: 290px; }
  .stage-item--side { width: 230px; }
}
@media (max-width: 767.98px) {
  .stage-item--side { display: none; }
  .stage { height: 460px; }
}

/* Facts strip under the hero. */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.facts-list {
  list-style: none; margin: 0; padding: 1.5rem 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem;
}
.facts-list li { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; color: var(--muted); line-height: 1.45; }
.facts-list strong { display: block; color: var(--ink); font-weight: 600; }
.facts-list .icon { color: var(--navy); font-size: 1.3rem; margin-top: .1rem; }
@media (max-width: 991.98px) { .facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .facts-list { grid-template-columns: 1fr; gap: 1rem; } }

/* ── Before / after ──────────────────────────────────────────── */
.compare {
  max-width: 66rem; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 1.5rem; overflow: hidden;
  box-shadow: 0 30px 60px -45px rgba(20, 32, 51, .35);
}
.compare-row { display: grid; grid-template-columns: 11rem minmax(0, 1fr) minmax(0, 1fr); }
.compare-row > * { margin: 0; padding: 1.4rem 1.6rem; }
.compare-row + .compare-row { border-top: 1px solid var(--line); }
.compare-row--head > * { padding-top: 1rem; padding-bottom: 1rem; }
.compare-label { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.compare-label--old { color: var(--muted); }
.compare-label--new { color: var(--navy); }
.compare-label--new, .compare-new { background: #f5f7fd; }
.compare-topic { font-size: 1.05rem; font-weight: 600; display: flex; gap: .65rem; align-items: center; }
.compare-topic .icon { color: var(--orange-ink); }
.compare-old, .compare-new { display: flex; gap: .7rem; align-items: flex-start; }
.compare-old { color: var(--muted); }
.compare-old .icon { color: #b3bac6; margin-top: .3rem; font-size: .9rem; }
.compare-new { color: var(--ink); }
.compare-new .icon { color: var(--navy); margin-top: .3rem; }
@media (max-width: 767.98px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-row--head { display: none; }
  .compare-row > * { padding: .9rem 1.25rem; }
  .compare-topic { padding-top: 1.25rem; padding-bottom: .25rem; }
  .compare-new { padding-bottom: 1.25rem; }
}

/* ── Product tour ────────────────────────────────────────────── */
.tour .section-head { margin-bottom: 0; }
.chapter { padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 1px solid #dfe3ea; }
.chapter:first-child { border-top: 0; }
@media (min-width: 992px) {
  .chapter { min-height: 86vh; display: flex; flex-direction: column; justify-content: center; border-top: 0; }
}
.chapter-kicker {
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem;
}
.chapter-kicker > span:first-child { color: var(--orange-ink); }
.chapter-kicker .badge-soon { letter-spacing: .02em; }
.chapter-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.1rem, 3.6vw, 3rem); line-height: 1.04; margin-bottom: 1rem; }
.chapter-lead { font-size: 1.125rem; color: var(--ink-2); max-width: 34rem; margin-bottom: 0; }
.chapter-note { margin: 1rem 0 0; font-size: .85rem; color: var(--muted); }
.mini-steps {
  list-style: none; counter-reset: step; padding: 0; margin: 1.75rem 0 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.75rem;
}
.mini-steps li { counter-increment: step; font-size: .95rem; color: var(--ink-2); line-height: 1.5; }
.mini-steps li::before {
  content: "0" counter(step);
  display: block; margin-bottom: .35rem;
  font-family: var(--font-mono); font-size: .72rem; color: var(--navy); letter-spacing: .1em;
}
.mini-steps strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: .1rem; }
@media (max-width: 575.98px) { .mini-steps { grid-template-columns: 1fr; } }
.chapter-shots { display: grid; gap: .75rem; margin-top: 1.75rem; max-width: 380px; }

.tour-sticky { position: sticky; top: 6rem; display: flex; flex-direction: column; align-items: center; padding: 2rem 0; }
.device--tour { width: 340px; }
.tour-screen { position: relative; height: min(600px, calc(100vh - 15rem)); padding: 0; }
.tour-layer {
  position: absolute; inset: .55rem;
  display: flex; flex-direction: column; gap: .5rem;
  opacity: 0; transform: translateY(18px) scale(.985);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.tour-layer.is-active { opacity: 1; transform: none; }
.tour-layer img { display: block; width: 100%; height: auto; border-radius: .5rem; }
.tour-dots { list-style: none; display: flex; gap: .45rem; padding: 0; margin: 1.5rem 0 .5rem; }
.tour-dots a { display: block; width: .55rem; height: .55rem; border-radius: 999px; background: #a3acbd; transition: width .3s ease, background-color .3s ease; }
.tour-dots a.is-active { width: 1.75rem; background: var(--navy); }
.tour-caption { margin: 0; font-size: .82rem; color: var(--muted); }

/* ── Roles ───────────────────────────────────────────────────── */
@media (min-width: 992px) { .side-sticky { position: sticky; top: 7rem; } }
.roles { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.role { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1.25rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.role-icon {
  width: 3rem; height: 3rem; border-radius: 1rem;
  display: grid; place-items: center;
  background: var(--navy-soft); color: var(--navy); font-size: 1.3rem;
}
.role h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.75rem; line-height: 1.1; margin-bottom: .6rem; }
.role dl { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .4rem 1rem; margin: 0; }
.role dt { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .3rem; }
.role dd { margin: 0; color: var(--ink-2); }

/* ── Management (deep navy band) ─────────────────────────────── */
.section--ink { background: var(--navy-deep); color: #dde4f5; position: relative; overflow: hidden; }
.section--ink::before {
  content: ""; position: absolute; width: 36rem; height: 36rem; border-radius: 50%;
  right: -12rem; top: -14rem; background: radial-gradient(closest-side, rgba(182, 198, 248, .25), transparent);
}
.section--ink .container { position: relative; }
.section--ink h2 { color: #fff; }
.section--ink h2 em { color: var(--orange-light); }
.section--ink .lead { color: #c6d0ea; }
.ledger { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 1.5rem; }
.ledger-row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1.25rem; align-items: center; padding: 1.6rem 1.75rem; }
.ledger-row + .ledger-row { border-top: 1px solid rgba(255, 255, 255, .12); }
.ledger-key { font-size: 2.1rem; color: var(--orange-light); line-height: 1; }
.ledger-key--time { font-family: var(--font-serif); font-size: 2.7rem; color: #fff; }
.ledger h3 { color: #fff; margin-bottom: .25rem; }
.ledger p { color: #c6d0ea; margin: 0; }
@media (max-width: 575.98px) {
  .ledger-row { grid-template-columns: 1fr; gap: .75rem; padding: 1.4rem 1.25rem; }
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem;
  padding: 1.3rem 0; font-weight: 600; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--navy); }
.faq summary .icon { color: var(--navy); margin-top: .3rem; transition: transform .2s ease; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: -.25rem 0 1.4rem; max-width: 46rem; }
.faq-more { margin: 1.5rem 0 0; color: var(--muted); }

/* ── Closing + contact (dark) ────────────────────────────────── */
.section--dark { background: var(--dark); color: #dfe5ef; position: relative; overflow: hidden; }
.section--dark h2 { color: #fff; }
.section--dark h2 em { color: var(--orange-light); }
.section--dark .lead { color: #c3cddd; }
.section--dark a:not(.btn) { color: #fff; }
.closing {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.closing-line { font-family: var(--font-serif); font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1.05; color: #fff; margin: 0; max-width: 20ch; }
.contact-points { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .6rem; }
.contact-points li { display: flex; gap: .6rem; align-items: center; }
.contact-points .icon { color: var(--orange); font-size: 1.15rem; }
.contact-direct { margin: 2rem 0 0; color: #c3cddd; display: flex; align-items: center; flex-wrap: wrap; gap: .25rem; }

.form-card {
  background: #fff; color: var(--ink);
  border-radius: 1.5rem;
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.section--dark .form-card a:not(.btn) { color: var(--navy); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { margin: .9rem 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.confirmation { text-align: center; padding: 2.5rem 1rem; }
.confirmation .bubble { margin-bottom: 1.25rem; }
.confirmation h3 { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; }
.confirmation p { color: var(--ink-2); margin: 0; }
.confirmation:focus { outline: none; }
.btn.sending { opacity: .75; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { background: #0e1726; color: #aab6cc; padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #dfe5ef; }
.site-footer .brand { color: #fff; }
.footer-tagline { margin: .9rem 0 0; }
.footer-head { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #7f8ca3; margin-bottom: .6rem; }
.footer-register { font-size: .85rem; color: #7f8ca3; }
.footer-contact { display: inline-block; margin-top: .75rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .88rem;
}

/* ── Legal + 404 pages ───────────────────────────────────────── */
.legal { max-width: 46rem; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) 1rem; }
.legal h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.legal h2 { font-family: var(--font-sans); font-weight: 600; font-size: 1.25rem; letter-spacing: 0; margin: 2.25rem 0 .75rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal-meta { color: var(--muted); }
.notfound { text-align: center; padding: clamp(4rem, 12vw, 9rem) 1rem; max-width: 40rem; margin: 0 auto; }
.notfound h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 1rem; }
.notfound .eyebrow { justify-content: center; }

/* ── Reveal on scroll (only once JS has confirmed it can reveal) ── */
.reveal-ready .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
  .tour-layer, .tour-dots a, .faq summary .icon { transition: none; }
}
