/* Aura Nexus — site styles */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #07080d;
  --bg-raised: #0c0e15;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-hover: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef0f6;
  --text-soft: #c5c9d6;
  --muted: #8d93a6;
  --periwinkle: #9db4ff;
  --violet: #c3a6ff;
  --teal: #7ae8d6;
  --gradient: linear-gradient(100deg, var(--periwinkle) 0%, var(--violet) 50%, var(--teal) 100%);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  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-sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
::selection { background: rgba(195, 166, 255, 0.35); color: #fff; }

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

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; 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: 10px 16px; border-radius: 10px;
  background: var(--text); color: var(--bg); font-weight: 600;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Ambient aura ---------- */

.aura {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.aura span {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.32;
  will-change: transform;
}
.aura span:nth-child(1) {
  width: 52vmax; height: 52vmax; left: -14vmax; top: -22vmax;
  background: radial-gradient(circle, #4a5fd6 0%, transparent 65%);
  animation: drift-a 28s var(--ease) infinite alternate;
}
.aura span:nth-child(2) {
  width: 44vmax; height: 44vmax; right: -16vmax; top: -6vmax;
  background: radial-gradient(circle, #7a4fd1 0%, transparent 65%);
  animation: drift-b 34s var(--ease) infinite alternate;
}
.aura span:nth-child(3) {
  width: 40vmax; height: 40vmax; left: 20vw; top: 40vh;
  background: radial-gradient(circle, #1f9e8c 0%, transparent 65%);
  opacity: 0.16;
  animation: drift-a 40s var(--ease) infinite alternate-reverse;
}
body:not(.home) .aura span { opacity: 0.18; }

@keyframes drift-a { to { transform: translate3d(6vmax, 4vmax, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(-5vmax, 6vmax, 0) scale(0.94); } }

/* Grain overlay for depth */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 8, 13, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-word {
  font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
}
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 8px 14px; border-radius: 999px;
  font-size: 15px; color: var(--text-soft);
  transition: color 0.25s, background-color 0.25s;
}
.nav a:hover { color: var(--text); background: var(--surface-hover); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px;
  margin-left: -2px; border-radius: 50%; background: var(--violet);
}
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--btn-bg); color: #0a0b10;
  font-weight: 600; font-size: 15.5px; letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 40px -10px rgba(195, 166, 255, 0.55);
}
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-ghost {
  background: transparent; color: var(--text); border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--surface-hover); box-shadow: none; }
.btn-small { padding: 9px 18px; font-size: 14px; }

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.6;
}

.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(48px, 8.4vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.display em, .h2 em, .h1 em {
  font-style: italic;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.h1 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.018em;
}
.h2 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(36px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -0.015em;
}
.h3 {
  font-size: 20px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.3;
}
.lead {
  font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--text-soft);
  max-width: 40em;
}
.muted { color: var(--muted); }

/* ---------- Sections ---------- */

.section { padding-block: clamp(80px, 12vw, 150px); position: relative; }
.section-tight { padding-block: clamp(56px, 8vw, 96px); }
.section-head {
  display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px;
}
.section-head .lead { margin: 0; }
.rule { border: 0; height: 1px; background: var(--line); margin: 0; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  padding-block: 64px 96px;
  overflow: hidden;
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.6s var(--ease);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 30%, transparent 75%);
}
.hero-canvas.is-ready { opacity: 1; }
.hero .container { position: relative; }
.hero-content { max-width: 920px; display: grid; gap: 28px; }
.hero .lead { max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: -64px;
  display: flex; justify-content: space-between; gap: 24px;
  font-size: 13px; color: var(--muted); letter-spacing: 0.02em;
}
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i {
  display: block; width: 1px; height: 28px; background: linear-gradient(var(--muted), transparent);
  animation: cue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Split-word reveal for the hero headline */
.split .w {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  padding-bottom: 0.08em; margin-bottom: -0.08em;
}
.split .w > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i) * 70ms + 120ms);
}
.split.is-in .w > span { transform: none; }

/* Gradient words inside a split headline. WebKit (Safari and every iPhone
   browser) does not paint an ancestor's background-clip:text through
   transformed or overflow-clipped descendants, so the gradient is applied
   to each animated word instead. main.js sizes and offsets each word's
   background so the gradient still runs continuously across the phrase.
   The extra right padding keeps italic overhang inside the painted and
   unclipped area; the matching negative margin keeps word spacing unchanged. */
.split em {
  background: none;
  color: inherit;
  padding-right: 0;
}
.split em .w { margin-right: -0.12em; }
.split em .w > span {
  padding-right: 0.12em;
  background-image: var(--gradient);
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Statement ---------- */

.statement {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.18; letter-spacing: -0.012em;
  max-width: 22em;
  color: var(--text);
}
.statement .dim { color: #5d6275; transition: color 0.6s var(--ease); }

/* ---------- Cards / focus grid ---------- */

.grid-4 {
  display: grid; gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.focus-card {
  position: relative;
  background: var(--bg);
  padding: 36px 28px 40px;
  min-height: 300px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background-color 0.4s var(--ease);
  isolation: isolate;
}
.focus-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(157, 180, 255, 0.10), transparent 60%);
  transition: opacity 0.4s var(--ease);
}
.focus-card:hover::before { opacity: 1; }
.focus-index {
  font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--muted);
}
.focus-icon {
  width: 44px; height: 44px; margin-top: auto; margin-bottom: 8px;
  color: var(--text-soft);
}
.focus-card p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- Product feature ---------- */

.product-feature {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  overflow: hidden;
}
.product-copy {
  padding: clamp(32px, 5vw, 64px);
  display: flex; flex-direction: column; gap: 22px; justify-content: center;
}
.product-copy p { color: var(--text-soft); margin: 0; }
.product-name {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(44px, 5vw, 68px); line-height: 1; letter-spacing: -0.02em;
}
.status {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  padding: 6px 14px 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px; font-weight: 500; color: var(--text-soft);
  background: rgba(255,255,255,0.03);
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #ffcf70;
  box-shadow: 0 0 0 0 rgba(255, 207, 112, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 207, 112, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 207, 112, 0); } }
.product-visual {
  position: relative; min-height: 420px;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(122, 79, 209, 0.28), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(31, 158, 140, 0.22), transparent 60%),
    var(--bg-raised);
  display: grid; place-items: center;
  overflow: hidden;
}
.product-visual svg { width: min(78%, 380px); height: auto; }
.orbit { transform-origin: 200px 200px; animation: spin 60s linear infinite; }
.orbit.reverse { animation-duration: 90s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Principles ---------- */

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.principle { border-top: 1px solid var(--line-strong); padding-top: 26px; }
.principle .h3 { margin-bottom: 12px; }
.principle p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- CTA ---------- */

.cta {
  position: relative; text-align: center;
  padding: clamp(56px, 9vw, 112px) clamp(24px, 5vw, 64px);
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(157, 180, 255, 0.16), transparent 70%),
    var(--bg-raised);
  overflow: hidden;
}
.cta .h2 { margin: 18px auto 18px; max-width: 14em; }
.cta .lead { margin: 0 auto 36px; }
.cta-email {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-serif); font-size: clamp(24px, 3.4vw, 40px);
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 6px;
  transition: border-color 0.3s;
  overflow-wrap: anywhere;
}
.cta-email:hover { border-color: var(--violet); }

/* ---------- Page header (interior pages) ---------- */

.page-hero { padding-block: clamp(72px, 12vw, 150px) clamp(48px, 7vw, 88px); }
.page-hero .eyebrow { margin-bottom: 26px; }
.page-hero .lead { margin-top: 28px; }

/* ---------- Two-column prose ---------- */

.split-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(24px, 6vw, 96px);
  padding-block: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line);
}
.split-row h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.012em; }
.split-row .body { color: var(--text-soft); }
.split-row .body p:last-child { margin-bottom: 0; }
.split-row .body ul { margin: 0; padding-left: 1.1em; }
.split-row .body li { margin-bottom: 0.4em; }

/* Facts table */
.facts { margin: 0; display: grid; grid-template-columns: minmax(140px, max-content) 1fr; }
.facts dt, .facts dd {
  margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--muted); font-size: 15px; padding-right: 32px; }
.facts dd { color: var(--text); }
.facts dt:first-of-type, .facts dd:first-of-type { padding-top: 0; }
.facts a, .prose a, .split-row .body a, .link {
  color: var(--text);
  text-decoration: underline; text-decoration-color: rgba(195,166,255,0.5);
  text-underline-offset: 3px; text-decoration-thickness: 1px;
  transition: text-decoration-color 0.25s;
}
.facts a:hover, .prose a:hover, .split-row .body a:hover, .link:hover { text-decoration-color: var(--violet); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color 0.3s, background-color 0.3s, transform 0.4s var(--ease);
}
.contact-card:hover { border-color: var(--line-strong); background: var(--surface-hover); transform: translateY(-2px); }
.contact-card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.contact-card .go { margin-top: auto; padding-top: 14px; font-size: 14.5px; color: var(--text-soft); }

.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.copy-btn {
  font: inherit; font-size: 14px; color: var(--text-soft); cursor: pointer;
  padding: 9px 16px; border-radius: 999px; background: transparent;
  border: 1px solid var(--line-strong);
  transition: background-color 0.25s, color 0.25s;
}
.copy-btn:hover { background: var(--surface-hover); color: var(--text); }

/* ---------- Legal prose ---------- */

.prose { max-width: 720px; color: var(--text-soft); }
.prose h2 {
  font-size: 22px; font-weight: 600; color: var(--text);
  letter-spacing: -0.012em; margin: 2.4em 0 0.7em;
}
.prose h3 { font-size: 17px; font-weight: 600; color: var(--text); margin: 1.8em 0 0.5em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.45em; }
.prose strong { color: var(--text); font-weight: 600; }
.legal-meta { font-size: 14.5px; color: var(--muted); margin-top: 18px; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 2px; font-size: 14px; }
.toc a { color: var(--muted); padding: 5px 0; transition: color 0.2s; }
.toc a:hover { color: var(--text); }
.toc-title { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding-block: 72px 40px; margin-top: clamp(40px, 6vw, 80px); }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-tagline { margin-top: 18px; color: var(--muted); max-width: 22em; font-size: 15px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(32px, 6vw, 88px); }
.footer-cols div { display: grid; gap: 10px; align-content: start; }
.footer-heading {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  font-weight: 600; margin-bottom: 6px;
}
.footer-cols a { color: var(--text-soft); font-size: 15px; transition: color 0.2s; }
.footer-cols a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.footer-bottom p { margin: 0; }

/* ---------- 404 ---------- */

.not-found { min-height: 60vh; display: grid; align-content: center; gap: 24px; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .focus-card { min-height: 260px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .header-cta { display: none; }
  .nav-toggle {
    display: inline-grid; place-content: center; gap: 6px; margin-left: auto;
    width: 44px; height: 44px; border-radius: 12px;
    background: transparent; border: 1px solid var(--line-strong); cursor: pointer;
  }
  .nav-toggle-bar {
    display: block; width: 18px; height: 1.5px; background: var(--text);
    transition: transform 0.35s var(--ease);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(2) { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(3) { transform: translateY(-3.75px) rotate(-45deg); }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 0; margin: 0;
    height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 12px var(--gutter) 28px;
    background: var(--bg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav a { padding: 16px 0; border-radius: 0; font-size: 22px; font-family: var(--font-serif); color: var(--text); border-bottom: 1px solid var(--line); }
  .nav a:hover { background: none; }
  .nav a[aria-current="page"]::after { left: auto; right: 4px; top: 50%; bottom: auto; margin-top: -2px; }
  .site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .nav { position: static; opacity: 1; visibility: visible; transform: none; flex-direction: row; background: none; border: 0; padding: 0; }

  .product-feature { grid-template-columns: 1fr; }
  .product-visual { min-height: 300px; border-left: 0; border-top: 1px solid var(--line); order: -1; }
  .principles { grid-template-columns: 1fr; }
  .split-row { grid-template-columns: 1fr; gap: 16px; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .hero-meta { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .focus-card { min-height: 0; padding: 28px 24px 32px; }
  .focus-icon { margin-top: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .footer-cols div:last-child { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 2px; border-bottom: 0; }
  .facts dd { padding-top: 0; }
  .facts dt:first-of-type { padding-top: 0; }
  .hero { min-height: auto; padding-block: 56px 72px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .split .w > span { transform: none; }
}

@media print {
  .aura, .site-header, .site-footer, .hero-canvas, body::after { display: none !important; }
  body { background: #fff; color: #000; }
  .prose, .prose h2, .prose strong { color: #000; }
}

/* Reveal stagger (attribute-driven so no inline styles are needed under the CSP) */
[data-delay="100"] { --delay: 100ms; }
[data-delay="200"] { --delay: 200ms; }
[data-delay="500"] { --delay: 500ms; }
[data-delay="650"] { --delay: 650ms; }
