/* AcademiaVR (academiavr-pt.com) - VR atlas
   Dark, tactile collage surfaces inspired by the source campaign: torn museum
   plates, cyan headset light, Portuguese archive texture, and clean carrier-flow UI. */

:root {
  --bg: #0a0d12;
  --bg-deep: #07090d;
  --surface: #101820;
  --surface-2: #16212b;
  --surface-3: #22303c;
  --text: #edf1f5;
  --muted: #9ba7b5;
  --faint: #6c7886;
  --border: rgba(237, 241, 245, 0.09);
  --border-strong: rgba(237, 241, 245, 0.16);
  --accent: #35b4e4;
  --warm: #d9a760;
  --accent-ink: #04131b;
  --accent-soft: rgba(53, 180, 228, 0.14);
  --accent-line: rgba(53, 180, 228, 0.42);
  --warm-soft: rgba(217, 167, 96, 0.15);
  --error: #ff7a6b;

  /* Plinth light, sampled from the reference product's category tiles. Used only
     as low-opacity glows behind exhibit objects, never as UI colour. */
  --tone-blue: 46, 120, 220;
  --tone-green: 46, 170, 70;
  --tone-violet: 88, 64, 200;
  --tone-teal: 34, 150, 150;
  --tone-red: 210, 44, 44;
  --tone-amber: 196, 128, 46;
  --tone-navy: 24, 64, 150;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --header-h: 72px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: 'Archivo', 'Arial Narrow', sans-serif;
  --font-body: 'Figtree', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body > * {
  position: relative;
  z-index: 1;
}
body::before {
  /* faint hall light from above, fixed so it never repaints on scroll */
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 22px),
    radial-gradient(1100px 520px at 72% -8%, rgba(53, 180, 228, 0.10), transparent 70%),
    radial-gradient(700px 500px at 5% 35%, rgba(217, 167, 96, 0.06), transparent 70%);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(237, 241, 245, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 241, 245, 0.026) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  background-position: center top, center top, 0 0;
  background-size: 96px 96px, 96px 96px, 180px 180px;
  mix-blend-mode: screen;
  opacity: 0.18;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0 0 0.6em;
  color: var(--text);
}
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.2rem; font-stretch: 105%; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: min(1200px, 92vw); margin-inline: auto; }
.container-narrow { width: min(860px, 92vw); margin-inline: auto; }
.section { padding: 6rem 0; }
section[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.section-alt { background: linear-gradient(180deg, var(--bg-deep), var(--bg)); border-block: 1px solid var(--border); }
.section-head { margin-bottom: 2.75rem; }
.section-head.center { text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.lead { color: var(--muted); font-size: 1.15rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons (always full pill) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #57c4ec; color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent-line); color: var(--text); }
.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.92rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header + nav ---------- */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.site-header {
  direction: ltr;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 900;
  background: rgba(10, 13, 18, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.logo { display: inline-flex; align-items: center; color: #fff; }
.logo:hover { text-decoration: none; }
.logo-svg { height: 26px; width: auto; }
.logo-cap { color: inherit; fill: currentColor; }
.site-nav-desktop { flex: 1; display: flex; justify-content: center; }
.site-nav-desktop ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav-desktop a {
  display: block;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav-desktop a:hover { color: var(--text); text-decoration: none; background: rgba(237, 241, 245, 0.05); }
.site-nav-desktop a.active { color: var(--text); background: rgba(237, 241, 245, 0.07); }
.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.lang-switcher { display: inline-flex; gap: 0.2rem; padding: 0.2rem; border: 1px solid var(--border); border-radius: var(--radius-pill); }
.lang-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  color: var(--muted);
}
.lang-pill:hover { color: var(--text); text-decoration: none; }
.lang-active { background: var(--surface-3); color: var(--text); }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; margin-left: auto; }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.25s; }
.site-nav { display: none; }

@media (max-width: 860px) {
  .site-nav-desktop, .header-actions { display: none; }
  .nav-burger { display: inline-flex; }
  .site-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    z-index: 800;
    padding: 1.25rem 4vw 1.75rem;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }
  .site-nav ul { list-style: none; margin: 0; padding: 0; }
  .site-nav a:not(.btn), .site-nav .lang-switcher { padding: 0.6rem 0; }
  .site-nav a:not(.btn) { display: block; color: var(--text); font-weight: 600; font-size: 1.1rem; }
  .site-nav .lang-switcher { align-self: flex-start; padding: 0.2rem; margin: 0.6rem 0 1rem; }
  .site-nav .btn { width: 100%; justify-content: center; }
  .nav-toggle:checked ~ .site-nav { transform: translateY(0); visibility: visible; }
  .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); }
}

main { padding-top: var(--header-h); }

/* ---------- Home: hero ---------- */
/* Leaves room for the price strip, so the price is on the first screen. */
.hero { padding: 3rem 0 3.2rem; min-height: min(calc(100dvh - var(--header-h) - 8rem), 720px); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin-bottom: 1.4rem; }
.hero h1 .brand { display: block; color: var(--accent); }
.hero-copy .lead { font-size: 1.2rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-stage { position: relative; aspect-ratio: 1.25 / 1; justify-self: center; width: min(100%, 600px); }
.stage-halo {
  position: absolute; inset: 4% 0 2%;
  border-radius: 28px;
  background:
    radial-gradient(closest-side at 68% 36%, rgba(53, 180, 228, 0.30), transparent 72%),
    radial-gradient(closest-side at 18% 78%, rgba(217, 167, 96, 0.16), transparent 70%);
  filter: blur(12px);
}
.stage-portal {
  position: absolute; left: 2%; top: 10%; width: 96%; height: 72%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(237, 241, 245, 0.14);
  transform: rotate(-1.5deg);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25), 0 38px 80px -32px rgba(0, 0, 0, 0.9);
}
.stage-plinth {
  position: absolute; left: 8%; right: 8%; bottom: 1%; height: 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(53, 180, 228, 0.28), transparent);
}
.float { position: absolute; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.55)); }
.float-bust { width: 30%; left: -4%; bottom: 8%; }
.float-saturn { width: 46%; right: -10%; top: 6%; }
.float-balloon { width: 30%; right: -2%; bottom: 14%; }

@media (prefers-reduced-motion: no-preference) {
  .float { animation: drift 9s ease-in-out infinite; }
  .float-saturn { animation-duration: 11s; animation-delay: -3s; }
  .float-balloon { animation-duration: 8s; animation-delay: -5s; }
  @keyframes drift {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(0, -14px, 0) rotate(-2deg); }
  }
}

/* ---------- Home: showcase (exhibit rail) ---------- */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 23%);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  --rail-inset: max(4vw, calc((100vw - 1200px) / 2));
  padding: 0.5rem var(--rail-inset) 1.5rem;
  scroll-padding-inline: var(--rail-inset);
  margin: 0;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 6px; }
.exhibit { scroll-snap-align: start; margin: 0; }
.exhibit-case {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.exhibit-case::before {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 55% at 50% 62%, rgba(var(--tone), 0.42), transparent 70%),
    linear-gradient(180deg, transparent 60%, rgba(var(--tone), 0.16));
}
.exhibit-case::after {
  content: '';
  position: absolute; left: 18%; right: 18%; bottom: 9%; height: 7%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), transparent);
  z-index: -1;
}
.exhibit-case img {
  width: 72%;
  max-height: 74%;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.5));
  transition: transform 0.6s var(--ease);
}
.exhibit:hover .exhibit-case img { transform: translateY(-8px) scale(1.04); }
.exhibit figcaption { padding: 1rem 0.25rem 0; }
.exhibit figcaption h3 { margin-bottom: 0.3rem; }
.exhibit figcaption p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.tone-blue { --tone: var(--tone-blue); }
.tone-green { --tone: var(--tone-green); }
.tone-violet { --tone: var(--tone-violet); }
.tone-teal { --tone: var(--tone-teal); }
.tone-red { --tone: var(--tone-red); }
.tone-amber { --tone: var(--tone-amber); }
.tone-navy { --tone: var(--tone-navy); }

.world-grid {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.world-card {
  position: relative;
  margin: 0;
  min-height: 100%;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(16, 24, 32, 0.88);
  border: 1px solid var(--border);
  box-shadow: 0 24px 55px -34px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.world-card::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 22%),
    radial-gradient(80% 60% at 100% 0%, rgba(var(--tone), 0.18), transparent 70%);
  mix-blend-mode: screen;
  opacity: 0.72;
}
.world-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--tone), 0.5);
  box-shadow: 0 32px 75px -38px rgba(var(--tone), 0.55);
}
.world-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}
.world-media::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.25)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09), transparent 12%, transparent 88%, rgba(0, 0, 0, 0.20));
}
.world-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}
.world-card:hover .world-media img { transform: scale(1.03) rotate(-0.6deg); }
.world-card figcaption { padding: 1.25rem 1.25rem 1.4rem; }
.world-card h3 { margin-bottom: 0.45rem; }
.world-card p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ---------- Home: why-us (wall text) ---------- */
.wall { display: grid; grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
.wall-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.wall-intro p { color: var(--muted); font-size: 1.12rem; }
.wall-points { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem 2.2rem; margin: 0; padding: 0; list-style: none; }
.wall-points li { border-top: 1px solid var(--accent-line); padding-top: 1.1rem; }
.wall-points h3 { margin-bottom: 0.45rem; }
.wall-points p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* ---------- Home: features (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.cell {
  position: relative;
  padding: 1.8rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
}
.cell:nth-child(1) { grid-column: span 4; }
.cell:nth-child(2) { grid-column: span 2; }
.cell:nth-child(3) { grid-column: span 2; }
.cell:nth-child(4) { grid-column: span 2; }
.cell:nth-child(5) { grid-column: span 2; }
.cell:nth-child(6) { grid-column: span 6; }
.cell-lit::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 120% at 100% 0%, rgba(var(--tone), 0.38), transparent 60%);
}
.cell:nth-child(1) h3 { font-size: 1.6rem; }
.cell:nth-child(6) { display: grid; grid-template-columns: auto 1fr; gap: 0 1.4rem; align-items: start; }
.cell:nth-child(6) .icon { grid-row: span 2; }
.cell p { color: var(--muted); margin: 0; }
.icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.3rem;
}
.icon svg { width: 24px; height: 24px; }

/* ---------- CTA band (the plinth) ---------- */
.band {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  padding: 3.5rem;
  background: linear-gradient(120deg, rgba(22, 33, 43, 0.96), rgba(16, 24, 32, 0.96));
  border: 1px solid var(--border-strong);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  isolation: isolate;
}
.band::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 13, 18, 0.92) 0%, rgba(10, 13, 18, 0.68) 46%, rgba(10, 13, 18, 0.22) 100%),
    url('/assets/img/gallery-space.jpg') right center / cover no-repeat;
  opacity: 0.86;
}
.band::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(rgba(237, 241, 245, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 241, 245, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.25;
}
.band > * { position: relative; z-index: 1; }
.band h2 { margin-bottom: 0.5rem; }
.band p { color: var(--muted); margin: 0; }
.band-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s var(--ease);
}
.faq-item[open] { border-color: var(--accent-line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 3.5rem 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute; right: 1.5rem; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-body { padding: 0 1.5rem 1.4rem; color: var(--muted); }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 5rem 0 3rem; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.page-hero p { color: var(--muted); font-size: 1.15rem; margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step {
  position: relative;
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.step-n {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-weight: 500;
  margin-bottom: 1.1rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.steps-tight { margin-top: 1.5rem; }
.steps-tight .step { background: var(--surface-2); }

/* ---------- Pricing cards ---------- */
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 420px)); gap: 1.4rem; justify-content: center; }
.price-card {
  position: relative;
  padding: 2.4rem 2.2rem;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--accent-line);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}
.price-card::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(80% 60% at 50% 0%, rgba(53, 180, 228, 0.16), transparent 70%);
}
.price-op { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 1.2rem; }
.price-val { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.4rem); line-height: 1; margin: 0 0 0.4rem; letter-spacing: 0; }
.price-freq { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.4rem; }
.price-trial { color: var(--text); font-size: 0.95rem; }
.price-notes { list-style: none; margin: 0 0 1.8rem; padding: 1.2rem 0 0; border-top: 1px solid var(--border); display: grid; gap: 0.55rem; }
.price-notes li { position: relative; padding-left: 1.6rem; color: var(--muted); font-size: 0.97rem; }
.price-notes li::before {
  content: '';
  position: absolute; left: 0.1rem; top: 0.5em;
  width: 10px; height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Opt-out ---------- */
.optout {
  padding: 1.8rem 2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--accent-line);
  margin-bottom: 1rem;
}
.optout h3 { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 0.9rem; }
.optout-line { font-size: 1.2rem; line-height: 1.7; margin: 0; }
.optout-dest, .optout-kw {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 0.12rem 0.6rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
a.optout-dest:hover { text-decoration: none; background: rgba(53, 180, 228, 0.24); }
.optout-soft { border-color: var(--border); }
.optout-soft .optout-line { font-size: 1.05rem; color: var(--muted); }
.optout-soft .optout-dest { font-size: 1rem; }
.optout-notes { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.optout-notes li {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.93rem;
  text-align: center;
}

/* ---------- Refund ---------- */
.refund-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 2rem; }
.refund-list li { position: relative; padding: 0 0 0.9rem 1.9rem; border-bottom: 1px solid var(--border); color: var(--muted); }
.refund-list li::before {
  content: '';
  position: absolute; left: 0; top: 0.45em;
  width: 12px; height: 12px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--accent);
}

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.value {
  padding: 2rem 1.8rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.value p { color: var(--muted); margin: 0; }
.vision { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: center; }
.vision-figure { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; isolation: isolate; box-shadow: var(--shadow); }
.vision-figure::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.22)),
    radial-gradient(90% 70% at 82% 18%, rgba(53, 180, 228, 0.15), transparent 72%);
}
.vision-figure img { width: 100%; height: 100%; object-fit: cover; }
.vision-copy p { color: var(--muted); font-size: 1.1rem; }
.vision-copy .vision-statement { color: var(--text); font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.3; letter-spacing: 0; }

/* ---------- Contact + forms ---------- */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2rem; align-items: start; }
.care-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  position: sticky; top: calc(var(--header-h) + 1.5rem);
}
.care-card h2 { font-size: 1.6rem; }
.care-card p { color: var(--muted); }
.care-card a { color: var(--accent); font-weight: 600; word-break: break-all; }
.contact-form, .form-card {
  padding: 2.2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-strong);
}
.form-card.narrow { width: min(520px, 100%); margin-inline: 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; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group label { display: block; font-weight: 600; font-size: 0.93rem; margin-bottom: 0.45rem; color: var(--text); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-deep);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--faint); }
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-group textarea { resize: vertical; min-height: 140px; }

.error-msg       { display: none; color: var(--error); font-size: 0.82rem; margin-top: 0.3rem; }
.form-success    { display: none; color: var(--accent, #52c41a); font-weight: 600; margin-top: 1rem; }
.form-disclaimer { color: var(--muted); font-size: 0.82rem; margin-top: 1rem; }
.errorMsg   { display: block; color: var(--error); font-size: 0.85rem; margin-top: 0.4rem; }
.successMsg { color: var(--accent); font-weight: 600; margin-top: 1rem; }

/* ---------- Home price strip (under the hero) ---------- */
.price-strip { border-block: 1px solid var(--border-strong); background: var(--bg-deep); }
.price-strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 2.5rem;
  align-items: center;
  padding-block: 1.9rem;
}
.price-strip-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.price-strip-plan { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.75rem; margin: 0; }
.price-strip-plan + .price-strip-plan { margin-top: 0.4rem; }
.price-strip-op { color: var(--muted); font-weight: 600; }
.price-strip-val { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.1; color: var(--text); }
.price-strip-freq { color: var(--text); font-weight: 600; }
.price-strip-terms { padding-left: 2.5rem; border-left: 1px solid var(--border-strong); }
.price-strip-terms p { margin: 0 0 0.45rem; color: var(--muted); font-size: 0.98rem; }
.price-strip-terms a { color: var(--accent); font-weight: 600; overflow-wrap: anywhere; }
.price-strip-link { display: inline-block; margin-top: 0.35rem; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .price-strip-inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .price-strip-terms { padding-left: 0; padding-top: 1.25rem; border-left: 0; border-top: 1px solid var(--border-strong); }
}

/* ---------- Sign in ---------- */
.signin-page { padding: 4.5rem 0 5.5rem; }
.signin-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 3.5rem;
  align-items: stretch;
}
.signin-main { display: flex; flex-direction: column; justify-content: center; }
.signin-shell .container-narrow { width: 100%; margin: 0 0 2rem; }
.signin-shell .form-card.narrow { width: 100%; max-width: 520px; margin: 0; box-shadow: var(--shadow); }
.signin-shell .form-group input { font-family: var(--font-mono); letter-spacing: 0.04em; }
.signin-alt { margin: 1.4rem 0 0; color: var(--muted); }
.signin-alt a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
.signin-visual {
  position: relative;
  margin: 0;
  min-height: 560px;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  isolation: isolate;
  display: flex;
  align-items: flex-end;
}
.signin-visual img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
}
.signin-visual::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.05) 20%, rgba(7, 9, 13, 0.78) 58%, rgba(7, 9, 13, 0.96));
}
.signin-visual figcaption { padding: 2rem 2rem 1.8rem; width: 100%; }
.signin-visual h2 { font-size: 1.35rem; margin-bottom: 1.2rem; }
.signin-steps { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.85rem; }
.signin-steps li { display: grid; grid-template-columns: 2.1rem 1fr; gap: 0.9rem; align-items: start; }
.signin-steps span {
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: rgba(7, 9, 13, 0.6);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.signin-steps p { margin: 0.2rem 0 0; color: var(--text); font-size: 0.98rem; }
.signin-help { margin: 0; padding-top: 1.1rem; border-top: 1px solid var(--border-strong); color: var(--muted); font-size: 0.92rem; }
.signin-help a { color: var(--accent); font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 960px) {
  .signin-shell { grid-template-columns: 1fr; gap: 2.5rem; }
  .signin-shell .form-card.narrow { max-width: none; }
  .signin-visual { min-height: 460px; }
}
@media (max-width: 640px) {
  .signin-page { padding: 3rem 0 4rem; }
  .signin-visual { display: block; min-height: 0; background: var(--surface); }
  .signin-visual img { position: static; display: block; height: auto; aspect-ratio: 16 / 10; }
  .signin-visual::before { display: none; }
  .signin-visual figcaption { padding: 1.5rem 1.25rem 1.4rem; }
}

/* ---------- 404 ---------- */
.not-found { padding: 8rem 0 7rem; text-align: center; }
.big-num { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(6rem, 18vw, 11rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--accent-line); margin-bottom: 1rem; }
.not-found p:not(.big-num) { color: var(--muted); margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 4rem; border-top: 1px solid var(--border); background: var(--bg-deep); padding: 4rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1.3fr; gap: 3rem; }
.footer-about .logo-svg { height: 28px; margin-bottom: 1.2rem; }
.footer-about p { color: var(--muted); font-size: 0.95rem; }
.footer-col h2 { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--muted); font-size: 0.95rem; }
.footer-col a:hover { color: var(--text); }
.footer-legal { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--border); display: grid; gap: 0.4rem; }
.footer-legal p { margin: 0; color: var(--faint); font-size: 0.88rem; }
.footer-legal a { color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }

/* ---------- Legal pages (shared partials) ---------- */
.legals-wrap { padding: 3.5rem 0; }
.legals { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 5rem; }
.legals .container { width: min(840px, 92vw); margin-inline: auto; }
.legals h1 { display: none; } /* terms-dcb.html injects a hardcoded <h1> - always hide it */
.legals h6 {
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent); margin: 2rem 0 0.5rem;
}
.legals p { margin-bottom: 0.85rem; line-height: 1.75; }
.legals ul { margin: 0.5rem 0 1rem; padding-inline-start: 1.2rem; }
.legals li { margin-bottom: 0.4rem; line-height: 1.7; }
.legals-wrap .legals { padding-top: 0; color: var(--muted); }
.legals strong { color: var(--text); }
.legals table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
.legals th, .legals td { border: 1px solid var(--border); padding: 0.6rem; text-align: left; }

/* ---------- Reveal (only hidden when JS is running) ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .hero-copy.reveal,
html.js .hero-copy.reveal.in {
  opacity: 1;
  transform: none;
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .float, .exhibit-case img, .btn { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: 0; padding-top: 3rem; }
  .hero-stage { width: min(80%, 420px); }
  .rail { grid-auto-columns: minmax(240px, 40%); }
  .world-grid { grid-template-columns: 1fr; }
  .world-media { aspect-ratio: 16 / 8.5; }
  .wall { grid-template-columns: 1fr; gap: 2.5rem; }
  .wall-intro { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .cell:nth-child(n) { grid-column: span 1; }
  .cell:nth-child(1), .cell:nth-child(6) { grid-column: span 2; }
  .steps, .values { grid-template-columns: 1fr; }
  .vision { grid-template-columns: 1fr; gap: 2rem; }
  .vision-figure { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .care-card { position: static; }
  .optout-notes { grid-template-columns: 1fr; }
  .refund-list { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 2.4rem 1.8rem; }
}
@media (max-width: 640px) {
  .section { padding: 4.2rem 0; }
  .hero { padding: 2rem 0 3.5rem; }
  .hero-stage { width: 88%; }
  .rail { grid-auto-columns: 78%; }
  .world-media { aspect-ratio: 4 / 3; }
  .wall-points { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .cell:nth-child(n) { grid-column: span 1; }
  .cell:nth-child(6) { grid-template-columns: 1fr; }
  .cell:nth-child(6) .icon { grid-row: auto; }
  .footer-top { grid-template-columns: 1fr; }
  .optout { padding: 1.4rem 1.2rem; }
  .optout-line { font-size: 1.08rem; }
  .contact-form, .form-card { padding: 1.5rem; }
  .page-hero { padding: 3.2rem 0 2.2rem; }
}

/* ---------- Icons ---------- */
.icon svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
