/* Greyhall Advisory — main stylesheet */

:root {
  --bg: #07080b;
  --bg-2: #0b0d12;
  --surface: #0f1218;
  --surface-2: #141822;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eceef2;
  --muted: #9097a6;
  --dim: #5d6474;
  --accent: #8ea6ff;
  --accent-2: #6ee7d2;
  --accent-3: #f2c47e;
  --grad: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);

  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: var(--font);
  --mono: var(--font);
  --em: #7d879c;

  --r: 20px;
  --r-sm: 12px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(142, 166, 255, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
p { margin: 0; }
em { font-style: normal; color: var(--em); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--text); color: var(--bg); border-radius: 10px;
  transition: top .2s;
}
.skip:focus { top: 16px; }

/* ---------- ambient layers ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  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");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 1; pointer-events: none;
  width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 166, 255, .09), transparent 65%);
  transform: translate3d(var(--mx, -999px), var(--my, -999px), 0);
  transition: opacity .4s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 15px; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background .3s var(--ease), border-color .3s, color .3s, transform .3s var(--ease), box-shadow .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--text); color: #0a0b0f;
  box-shadow: 0 0 0 0 rgba(142, 166, 255, 0), inset 0 -2px 0 rgba(0, 0, 0, .12);
  overflow: hidden;
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
  background: var(--grad); opacity: 0; transition: opacity .4s var(--ease);
}
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary:hover { box-shadow: 0 10px 40px -10px rgba(110, 231, 210, .55); }
.btn--primary:hover::before { opacity: 1; }
.btn--ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }

.link { color: var(--text); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.link:hover { color: var(--accent-2); background-size: 0 1px; background-position: 100% 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s, border-color .4s, backdrop-filter .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 8, 11, .62);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__bg { fill: rgba(255, 255, 255, .04); stroke: var(--line-2); }
.brand__arch, .brand__cols, .brand__base { fill: none; stroke-width: 1.8; stroke-linecap: round; }
.brand__arch { stroke: var(--text); }
.brand__cols { stroke: var(--accent-2); }
.brand__base { stroke: var(--text); opacity: .5; }
.brand__name { font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand__name em { font-weight: 400; color: var(--muted); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--muted);
  transition: color .25s, background .25s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: none; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  display: flex; flex-direction: column; gap: 4px; padding: 8px var(--gutter) 24px;
  background: rgba(7, 8, 11, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 4px; font-size: 22px; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: 140px 0 120px; overflow: hidden; isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__fade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 75% 30%, rgba(142, 166, 255, .16), transparent 70%),
    radial-gradient(45% 40% at 15% 85%, rgba(110, 231, 210, .10), transparent 70%),
    linear-gradient(180deg, rgba(7, 8, 11, 0) 60%, var(--bg) 100%);
}
.hero__inner { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; margin-bottom: 32px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03);
  font-size: 13.5px; color: var(--muted); backdrop-filter: blur(6px);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent-2); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.hero__title {
  max-width: 18ch; font-size: clamp(40px, 6.6vw, 92px); text-wrap: balance; font-weight: 600; line-height: 1; letter-spacing: -.045em;
}
.hero__title em { color: var(--em); }
.hero__lead { max-width: 560px; margin-top: 32px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 64px 0 0; padding: 0; list-style: none; }
.hero__tags li { position: relative; padding-left: 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.hero__tags li::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border: 1px solid var(--accent); transform: rotate(45deg); }
.hero__scroll { position: absolute; left: 50%; bottom: 32px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line-2); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: scroll 2s var(--ease) infinite; }
@keyframes scroll { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line);
  background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; margin: 0; padding: 0; list-style: none; }
.marquee li { display: flex; align-items: center; gap: 40px; padding-right: 40px; font-size: clamp(18px, 2vw, 24px); font-weight: 500; letter-spacing: -.02em; color: var(--muted); white-space: nowrap; }
.marquee li::after { content: "✦"; font-size: 12px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(96px, 13vw, 168px) 0; }
.section--tight { padding: clamp(64px, 8vw, 100px) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.kicker { margin-bottom: 20px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.section__title { font-size: clamp(34px, 4.8vw, 62px); letter-spacing: -.04em; line-height: 1.04; text-wrap: balance; }
.section__lead { margin-top: 24px; max-width: 600px; font-size: clamp(16px, 1.3vw, 18.5px); color: var(--muted); }

/* ---------- cards / bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease);
}
.card:hover { border-color: var(--line-2); }
.card--xl { grid-row: span 2; }
.card--wide { grid-column: span 2; }
.card__icon {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 28px;
  border: 1px solid var(--line-2); border-radius: 14px; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .01));
}
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card__code { margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.card h3 { font-size: clamp(22px, 2.1vw, 28px); margin-bottom: 14px; }
.card p { color: var(--muted); }
.card__viz { margin-top: auto; padding-top: 32px; }
.orbit { width: 100%; height: auto; overflow: visible; }
.orbit circle { fill: none; stroke: var(--line-2); stroke-dasharray: 3 5; }
.orbit .core { fill: var(--accent); stroke: none; filter: drop-shadow(0 0 12px var(--accent)); }
.orbit .sat { transform-origin: 160px 80px; animation: spin 14s linear infinite; }
.orbit .sat circle { fill: var(--accent-2); stroke: none; filter: drop-shadow(0 0 8px var(--accent-2)); }
.orbit .sat--2 { animation-duration: 8s; animation-direction: reverse; }
.orbit .sat--2 circle { fill: var(--accent-3); filter: drop-shadow(0 0 8px var(--accent-3)); }
@keyframes spin { to { transform: rotate(360deg); } }

.ticks { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; color: var(--text); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border-radius: 50%;
  background: rgba(110, 231, 210, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%236ee7d2' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ticks--inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* spotlight effect (mouse-follow border + glow) */
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, -20%), rgba(142, 166, 255, .10), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: radial-gradient(300px circle at var(--x, 50%) var(--y, -20%), rgba(110, 231, 210, .6), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

/* ---------- approach ---------- */
.approach { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.approach__intro { position: sticky; top: 120px; }
.approach__progress { position: relative; height: 2px; margin-top: 48px; max-width: 320px; background: var(--line); border-radius: 2px; overflow: hidden; }
.approach__progress span { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .15s linear; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  transition: border-color .4s, background .4s;
}
.step.is-current { border-color: rgba(142, 166, 255, .35); background: linear-gradient(160deg, rgba(142, 166, 255, .07), var(--surface) 60%); }
.step__num { font-size: 40px; font-weight: 700; letter-spacing: -.04em; line-height: .9; color: var(--dim); font-variant-numeric: tabular-nums; transition: color .4s; }
.step.is-current .step__num { color: var(--accent); }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { color: var(--muted); }
.step__out { margin-top: 16px; font-size: 13.5px; font-weight: 500; color: var(--accent-2) !important; }

/* ---------- tabs ---------- */
.tabs__list { position: relative; display: flex; gap: 4px; padding: 6px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list button { position: relative; z-index: 1; padding: 11px 20px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-size: 15px; white-space: nowrap; cursor: pointer; transition: color .3s; }
.tabs__list button[aria-selected="true"] { color: #0a0b0f; }
.tabs__ink { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--text); transition: transform .5s var(--ease), width .5s var(--ease); }
.panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line); border-radius: var(--r);
  background: radial-gradient(80% 120% at 100% 0%, rgba(142, 166, 255, .08), transparent 60%), var(--surface);
  animation: panel-in .6s var(--ease);
}
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }
.panel h3 { font-size: clamp(26px, 2.8vw, 38px); margin-bottom: 18px; }
.panel p { color: var(--muted); font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14.5px; background: rgba(255, 255, 255, .02); transition: border-color .3s, background .3s, transform .3s var(--ease); }
.chips li:hover { border-color: var(--accent-2); background: rgba(110, 231, 210, .06); transform: translateY(-2px); }

/* ---------- principles ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.principle { padding: 40px 32px 8px 0; border-right: 1px solid var(--line); margin-right: 32px; }
.principle:last-child { border-right: 0; margin-right: 0; }
.principle__glyph { display: block; margin-bottom: 24px; font-size: 22px; color: var(--accent); }
.principle h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -.015em; }
.principle p { font-size: 15px; color: var(--muted); }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.plan .ticks { margin-bottom: 36px; }
.plan .btn { margin-top: auto; }
.plan__tag { align-self: flex-start; margin-bottom: 24px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plan h3 { font-size: 34px; margin-bottom: 12px; }
.plan__desc { color: var(--muted); }
.plan--featured { border-color: transparent; background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.plan--featured .plan__tag { border-color: transparent; background: var(--grad); color: #0a0b0f; }
.plan--featured::before { background: radial-gradient(420px circle at var(--x, 50%) var(--y, 0%), rgba(110, 231, 210, .12), transparent 50%); opacity: 1; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); }
.faq__head .section__lead { margin-top: 20px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; font-size: clamp(18px, 1.6vw, 21px); letter-spacing: -.015em; cursor: pointer; list-style: none; transition: color .25s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent-2); }
.qa__icon { position: relative; flex: none; width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 50%; transition: transform .4s var(--ease), background .3s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .4s var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { transform: rotate(180deg); background: rgba(255, 255, 255, .06); }
.qa[open] .qa__icon::after { transform: rotate(0); }
.qa__body { overflow: hidden; }
.qa__body p { padding: 0 56px 28px 0; color: var(--muted); }

/* ---------- contact ---------- */
.contact { overflow: hidden; border-top: 1px solid var(--line); }
.contact__glow { position: absolute; left: 50%; top: 0; width: 1200px; height: 600px; margin-left: -600px; pointer-events: none; background: radial-gradient(50% 50% at 50% 0%, rgba(142, 166, 255, .14), transparent 70%); }
.contact__grid { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); }
.contact__list { display: grid; gap: 28px; margin: 48px 0 0; }
.contact__list dt { margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.contact__list dd { margin: 0; font-size: 17px; line-height: 1.5; }
.form { display: grid; gap: 18px; padding: clamp(24px, 3.5vw, 44px); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); background: rgba(15, 18, 24, .75); backdrop-filter: blur(10px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 13.5px; color: var(--muted); }
.field i { font-style: normal; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .025); outline: none; font-size: 16px;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%239097a6' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; }
.field select option { background: var(--surface); color: var(--text); }
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .25); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: rgba(142, 166, 255, .04); box-shadow: 0 0 0 4px rgba(142, 166, 255, .12); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff8a8a; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent-2); }
.consent.is-invalid { color: #ff8a8a; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.5em; font-size: 14.5px; text-align: center; }
.form__status.is-ok { color: var(--accent-2); }
.form__status.is-err { color: #ff8a8a; }
.form.is-sending .btn { opacity: .7; pointer-events: none; }

/* ---------- footer ---------- */
.footer { position: relative; padding: 40px 0 32px; border-top: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.footer__big {
  font-size: clamp(64px, 20vw, 300px); font-weight: 800; letter-spacing: -.06em; line-height: 1.05; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 24px 0 64px; user-select: none;
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer__grid nav, .footer__grid > div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__grid a:not(.brand) { color: var(--muted); font-size: 15px; transition: color .2s; }
.footer__grid a:not(.brand):hover { color: var(--text); }
.footer__h { margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.footer__note { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.footer__clock { font-size: 13.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.footer__bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; line-height: 1.7; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }
.footer__top { transition: color .2s; }
.footer__top:hover { color: var(--text); }

/* ---------- reveal / split animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 40ms + var(--d, 0s)); }
.js .split.is-in .w > span { transform: none; }

/* ---------- legal pages ---------- */
.legal { padding: 160px 0 120px; }
.legal .container { max-width: 820px; }
.legal em { color: var(--text); font-weight: 600; }
.legal h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.04em; margin-bottom: 16px; }
.legal .updated { font-size: 13.5px; color: var(--dim); margin-bottom: 56px; }
.legal h2 { font-size: 24px; margin: 48px 0 14px; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--muted); font-size: 16.5px; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }

.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); }
.notfound h1 { font-size: clamp(120px, 24vw, 280px); font-weight: 800; letter-spacing: -.06em; line-height: .9; }
.notfound p { margin: 16px 0 36px; color: var(--muted); font-size: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: block; margin-left: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--xl { grid-row: auto; grid-column: span 2; }
  .card--xl .card__viz { display: none; }
  .principles { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(2) { border-right: 0; margin-right: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .approach, .faq, .contact__grid, .panel { grid-template-columns: 1fr; }
  .approach__intro { position: static; }
  .approach__progress { display: none; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
  .nav__inner { height: 68px; }
  .brand__name { font-size: 16px; }
  .hero { padding: 120px 0 100px; }
  .eyebrow { border-radius: 16px; font-size: 12.5px; align-items: flex-start; }
  .eyebrow .pulse { margin-top: 5px; flex: none; }
  .hero__actions .btn { width: 100%; }
  .hero__tags { margin-top: 48px; }
  .bento { grid-template-columns: 1fr; }
  .card--xl, .card--wide { grid-column: auto; }
  .ticks--inline { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .principles { grid-template-columns: 1fr; }
  .principle { border-right: 0; margin-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 32px; }
  .principle:last-child { border-bottom: 0; }
  .form__row { grid-template-columns: 1fr; }
  .qa__body p { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .js .split .w > span { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
