/* ==========================================================
   VXD TECH — main stylesheet
   ========================================================== */

:root {
  --bg: #F3F4EF;
  --ink: #0B1F1E;
  --ink-2: #16332F;
  --panel: #122A27;
  --line-dark: #1E3632;
  --teal: #0F6B5A;
  --teal-2: #0A5446;
  --lime: #C9F24B;
  --lime-2: #DDFA7A;
  --sage: #E4E8DC;
  --text-2: #33423F;
  --muted: #56655F;
  --grey: #A9B7B2;
  --grey-2: #7D8E89;
  --border: #DDE0D6;
  --input: #CED3C6;
  --white: #FFFFFF;

  --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
  --radius: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
a:hover { color: var(--teal); }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--ink); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: var(--lime); padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section-tight-top { padding-top: 0; }
.mono { font-family: var(--mono); }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.text-teal { color: var(--teal); }

.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.eyebrow-lime { color: var(--lime); }
.h1 { font-size: clamp(42px, 6.4vw, 86px); line-height: .98; letter-spacing: -0.04em; font-weight: 600; text-wrap: balance; }
.h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--text-2); max-width: 560px; text-wrap: pretty; }
.muted { color: var(--muted); font-size: 17px; line-height: 1.6; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head > div { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.section-head > p { max-width: 380px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 16px; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: scale(.98); }
.btn-sm { padding: 11px 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--ink-2); color: var(--lime); }
.btn-dark .arrow { color: var(--lime); }
.btn-outline { background: var(--white); border-color: var(--input); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-lime { background: var(--lime); color: var(--ink); font-weight: 600; }
.btn-lime:hover { background: var(--lime-2); color: var(--ink); }
.btn-ghost-dark { border-color: #2F4A45; color: var(--bg); }
.btn-ghost-dark:hover { border-color: var(--lime); color: var(--lime); }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(243, 244, 239, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(11, 31, 30, .35); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo img { border-radius: 8px; }
.logo-light { color: var(--bg); }
.logo-light:hover { color: var(--bg); }
.logo-light img { outline: 1px solid #2A403C; }
.main-nav { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 500; }
.main-nav > a:not(.btn) { color: var(--text-2); padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.main-nav > a:not(.btn):hover { background: var(--sage); color: var(--ink); }
.main-nav .btn { margin-left: 8px; }

.burger {
  display: none; position: relative; width: 46px; height: 46px; flex: none;
  border: 0; border-radius: 50%; background: var(--ink); cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.burger span {
  position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px;
  background: var(--lime); border-radius: 2px;
  transition: transform .4s var(--ease), opacity .25s, width .3s var(--ease), top .3s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; width: 12px; margin-left: -3px; }
.burger:hover { transform: scale(1.05); }
.menu-open .burger { background: var(--lime); }
.menu-open .burger span { background: var(--ink); }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-open .burger span:nth-child(3) { top: 22px; width: 18px; margin-left: -9px; transform: rotate(-45deg); }
.menu-open .site-header { background: var(--ink); border-color: var(--line-dark); }
.menu-open .site-header .logo { color: var(--bg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  padding-top: calc(var(--header-h) + 1px);
  background: var(--ink); color: var(--bg);
  display: flex; flex-direction: column; overflow-y: auto;
  visibility: hidden; opacity: 0; clip-path: circle(0 at calc(100% - 44px) 32px);
  transition: clip-path .6s var(--ease), opacity .3s, visibility 0s .6s;
}
.menu-open .mobile-menu { visibility: visible; opacity: 1; clip-path: circle(150% at calc(100% - 44px) 32px); transition: clip-path .6s var(--ease), opacity .2s, visibility 0s; }
.mobile-nav { flex: 1; display: flex; flex-direction: column; padding-top: 24px; padding-bottom: 24px; }
.mobile-nav a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line-dark);
  color: var(--bg); font-size: clamp(32px, 9vw, 48px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1;
  opacity: 0; transform: translateY(16px);
  transition: color .2s, opacity .4s var(--ease), transform .5s var(--ease);
}
.menu-open .mobile-nav a { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .05s); }
.mobile-nav a:hover { color: var(--lime); }
.mobile-nav small { font-family: var(--mono); font-size: 13px; color: var(--grey-2); letter-spacing: 0; }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 20px; padding-bottom: 32px; }
.mobile-menu-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--grey); }
.mobile-menu-meta a { color: var(--grey); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(40px, 5vw, 56px); align-items: center; padding-top: clamp(40px, 7vw, 72px); padding-bottom: clamp(56px, 8vw, 88px); }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: var(--sage); border-radius: 999px; padding: 7px 14px 7px 8px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.badge b { background: var(--ink); color: var(--lime); border-radius: 999px; padding: 3px 10px; font-family: var(--mono); font-size: 11px; font-weight: 500; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; min-width: 0; padding-bottom: 56px; }
.hero-visual > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px; }
.session-card {
  position: absolute; left: clamp(-16px, calc(40px - 4vw), 12px); bottom: 0;
  width: min(calc(100% - 24px), 420px);
  background: var(--ink); color: #E8ECE6; border-radius: 20px; padding: 20px;
  box-shadow: 0 30px 60px -24px rgba(11, 31, 30, .55);
  display: flex; flex-direction: column; gap: 14px;
}
.session-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: #8FA19C; }
.live { display: flex; align-items: center; gap: 6px; color: var(--lime); }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: pulse 1.6s infinite; }
.wave { height: 56px; display: flex; align-items: center; gap: 2px; }
.wave span { flex: 1; min-width: 1px; border-radius: 2px; background: #2F4A45; transform-origin: center; }
.wave span.on { background: var(--lime); animation: wave 1.4s ease-in-out infinite; animation-delay: calc(var(--d) * -0.06s); }
.transcript { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.45; }
.transcript div { display: grid; grid-template-columns: 56px 1fr; gap: 10px; }
.transcript b { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--lime); padding-top: 2px; }
.transcript .b b { color: #8FA19C; }
.transcript .b span { color: var(--grey); }

@keyframes wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* ---------- Strip ---------- */
.strip { background: var(--ink); color: var(--bg); }
.strip .container { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; }
.strip .label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8FA19C; white-space: nowrap; }
.strip ul { display: flex; flex-wrap: wrap; gap: 10px 30px; font-size: 18px; font-weight: 500; }
.strip li { display: flex; align-items: center; gap: 10px; }
.strip li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }

.service-card { background: var(--white); border-radius: var(--radius); padding: 10px 10px 26px; display: flex; flex-direction: column; gap: 16px; transition: transform .3s var(--ease), box-shadow .3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(11, 31, 30, .35); }
.service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.service-card .body { padding: 0 16px; display: flex; flex-direction: column; gap: 10px; }
.num { font-family: var(--mono); font-size: 12px; color: var(--teal); }
.service-card p, .tile p { color: var(--muted); font-size: 15px; line-height: 1.6; }

.photo-tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: clamp(320px, 40vw, 420px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.photo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.photo-tile:hover img { transform: scale(1.04); }
.photo-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11, 31, 30, .9) 0%, rgba(11, 31, 30, 0) 62%); }
.photo-tile .body { padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 8px; max-width: 460px; }
.photo-tile h3 { font-size: clamp(24px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
.photo-tile p { font-size: 16px; line-height: 1.55; color: #E2E8E4; }
.tile { background: var(--sage); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.tile p { color: #46554F; }
.use-cases .grid + .grid { margin-top: 20px; }

/* ---------- Process ---------- */
.dark { background: var(--ink); color: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.step { background: var(--panel); border: 1px solid var(--line-dark); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: border-color .3s, transform .3s var(--ease); }
.step:hover { border-color: #2F4A45; transform: translateY(-3px); }
.step-n { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--lime); }
.step h3 { font-size: 20px; font-weight: 600; }
.step p { color: var(--grey); font-size: 15px; line-height: 1.6; }

/* ---------- Consent ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 5vw, 56px); align-items: center; }
.split-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 35% center; border-radius: 28px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.principle { background: var(--white); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.principle h3 { font-size: 18px; font-weight: 600; margin-top: 4px; }
.principle p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.check { width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }

/* ---------- Deliverables ---------- */
.panel { background: var(--white); border-radius: 32px; padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 40px; align-items: stretch; }
.panel-img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; border-radius: 20px; }
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.checklist li::before { content: '✓'; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--sage); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 11px; }
.tree { background: var(--ink); border-radius: 20px; padding: 28px; font-family: var(--mono); font-size: 13px; line-height: 2.1; color: var(--grey); overflow-x: auto; }
.tree .root { color: var(--lime); }
.tree div { display: flex; justify-content: space-between; gap: 16px; white-space: nowrap; }
.tree span:first-child { color: var(--bg); }
.tree span:last-child { color: var(--grey-2); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 56px); align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border-radius: 18px; transition: box-shadow .3s; }
.faq-item.is-open { box-shadow: 0 18px 40px -30px rgba(11, 31, 30, .4); }
.faq-q {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: clamp(16px, 1.6vw, 18px); font-weight: 500; color: var(--ink); transition: color .2s;
}
.faq-q:hover { color: var(--teal); }
.faq-q:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; border-radius: 18px; }
.plus { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--sage); transition: transform .45s var(--ease), background .3s; }
.plus::before, .plus::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--ink); border-radius: 2px; transition: background .3s; }
.plus::before { width: 14px; height: 2px; margin: -1px 0 0 -7px; }
.plus::after { width: 2px; height: 14px; margin: -7px 0 0 -1px; }
.faq-q:hover .plus { transform: rotate(90deg); }
.is-open .plus, .is-open .faq-q:hover .plus { transform: rotate(135deg); background: var(--ink); }
.is-open .plus::before, .is-open .plus::after { background: var(--lime); }
.faq-a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--ease), opacity .3s; }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p { padding: 0 clamp(24px, 6vw, 80px) 22px 24px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.is-open .faq-a { grid-template-rows: 1fr; opacity: 1; }

/* ---------- CTA ---------- */
.cta { background: var(--lime); color: var(--ink); border-radius: 32px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.cta-copy { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.cta-copy .h2 { font-size: clamp(36px, 5vw, 64px); line-height: .98; }
.cta-copy p { font-size: 18px; line-height: 1.55; max-width: 440px; color: #24403B; }
.cta-copy .btn { align-self: flex-start; margin-top: 6px; }
.cta img { width: 100%; height: 100%; min-height: 340px; max-height: 520px; object-fit: cover; object-position: center 40%; }

/* ---------- Contact ---------- */
.page-head { display: flex; flex-direction: column; gap: 20px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(24px, 4vw, 40px); align-items: start; }
.form { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--input); background: #F7F8F4; border-radius: 10px; padding: 13px 14px; font-size: 16px; font-weight: 400;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--grey-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 3px rgba(15, 107, 90, .15); }
.field textarea { resize: vertical; min-height: 130px; }
.field .req { color: var(--teal); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form-foot small { font-size: 13px; color: var(--grey-2); max-width: 320px; line-height: 1.5; }
.form-foot small a { color: var(--text-2); text-decoration: underline; }
.form-status { grid-column: 1 / -1; display: none; padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.form-status.is-error { display: block; background: #FBE9E6; color: #8A2A1B; }
.form-success { background: var(--white); border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; gap: 12px; min-height: 320px; justify-content: center; }
.form-success[hidden], .form[hidden] { display: none; }
.form-success .check { width: 48px; height: 48px; font-size: 20px; animation: pop .5s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.aside { display: flex; flex-direction: column; gap: 16px; }
.aside-dark { background: var(--ink); color: var(--bg); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.aside-dark .label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-2); }
.aside-dark a { color: var(--bg); }
.aside-dark a:hover { color: var(--lime); }
.aside-dark .big { font-size: 22px; font-weight: 500; }
.aside-light { background: var(--white); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.next li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.next li + li { margin-top: 14px; }
.next b { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--teal); color: var(--teal); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; font-weight: 400; }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 40px); display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.legal-nav a { color: var(--text-2); }
.legal-nav a.is-active { color: var(--teal); font-weight: 600; }
.legal-nav .label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-2); margin-bottom: 6px; }
.legal article { max-width: 720px; display: flex; flex-direction: column; gap: 32px; }
.legal h1 { font-size: clamp(38px, 5vw, 60px); letter-spacing: -0.04em; font-weight: 600; line-height: 1; }
.legal .date { font-family: var(--mono); font-size: 13px; color: var(--grey-2); margin-top: 14px; display: block; }
.legal .intro { font-size: 18px; line-height: 1.65; color: var(--text-2); }
.legal section { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--border); padding-top: 28px; }
.legal h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.legal section p { color: var(--text-2); font-size: 16px; line-height: 1.7; }

/* ---------- 404 ---------- */
.nf { background: var(--ink); color: var(--bg); border-radius: 32px; padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 32px; overflow: hidden; }
.nf .wave { height: 80px; gap: 3px; }
.nf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px; align-items: end; }
.nf-code { font-family: var(--serif); font-weight: 400; font-size: clamp(120px, 24vw, 280px); line-height: .8; letter-spacing: -0.04em; color: var(--lime); }
.nf p { font-size: 17px; line-height: 1.6; color: var(--grey); max-width: 420px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--grey); }
.site-footer .container { padding-top: clamp(56px, 7vw, 72px); padding-bottom: 32px; display: flex; flex-direction: column; gap: 56px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; font-size: 15px; line-height: 1.7; }
.footer-grid nav, .footer-grid address { display: flex; flex-direction: column; gap: 8px; font-style: normal; }
.footer-grid h3 { color: var(--bg); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.footer-grid a { color: var(--grey); }
.footer-grid a:hover { color: var(--lime); }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand p { max-width: 260px; }
.footer-mark { font-family: var(--serif); font-size: clamp(64px, 13vw, 200px); line-height: .85; letter-spacing: -0.03em; color: var(--ink-2); user-select: none; white-space: nowrap; overflow: hidden; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--grey-2); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 760px) {
  .legal { grid-template-columns: 1fr; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
  .legal-nav .label { width: 100%; }
}
@media (max-width: 560px) {
  .hero-visual { padding-bottom: 0; }
  .session-card { position: relative; left: auto; width: auto; margin: -48px 12px 0; }
  .btn-row .btn { flex: 1 1 auto; }
  .faq-a p { padding-right: 24px; }
  .form-foot .btn { width: 100%; }
}
@media (min-width: 1600px) {
  :root { --container: 1360px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .site-header, .mobile-menu, .site-footer, .burger { display: none !important; }
}
