/*
 * aiexecutive.au, production stylesheet.
 *
 * Transcribed from the approved design, design/landing.dc.html (and design/exit-intent.dc.html) in
 * the aiexecutive-site spec; see docs/CLAUDE.md. The design's inline styles and <helmet> rules are
 * reproduced here as classes, with {{accent}} resolved to #C9A86A. Inline styles are not used in the
 * page because the CSP is style-src 'self'.
 */

/* ---------- fonts, self-hosted (assets/fonts/NOTICE.md) ---------- */

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-italic-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-var.woff2) format('woff2');
  font-weight: 400 700;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-latin-var.woff2) format('woff2');
  font-weight: 400 500;
}

/* ---------- brand ---------- */

:root {
  --ink: #0C0E11;        /* main background */
  --panel: #15181D;
  --card: #121519;
  --bone: #F4F0E8;       /* light sections, text on dark */
  --paper: #FBF9F5;
  --brass: #C9A86A;      /* accent, buttons */
  --brass-hover: #E2C894;
  --brass-dark: #7A5B26; /* accent text on light */
  --text: #16181C;

  --on-dark: #B9BEC6;
  --on-dark-2: #A7ADB5;
  --on-dark-lede: #C3C8CF;
  --small: #8E949C;
  --placeholder: #7D838C;
  --on-light: #4E535A;
  --on-light-dim: #6A6F76;
  --rule-light: #DDD6C8;

  --shell: 1240px;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-ui: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: var(--brass); }
a:hover { color: var(--brass-hover); }
img { max-width: 100%; }
h1, h2, h3, p { overflow-wrap: break-word; }

input::placeholder { color: var(--placeholder); opacity: 1; }
input:focus, select:focus { outline: 2px solid var(--brass); outline-offset: 1px; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* The honeypot: off screen rather than display:none, which some bots check for. */
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--brass);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}
.skip:focus { top: 16px; color: var(--ink); }

.shell { max-width: var(--shell); margin: 0 auto; }
.serif { font-family: var(--font-display); font-weight: 400; }
.accent { font-style: italic; color: var(--brass); }
.accent-dark { font-style: italic; color: var(--brass-dark); }
.italic { font-style: italic; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow.on-dark { color: var(--brass); }
.eyebrow.on-light { color: var(--brass-dark); }

/* The radial fade on the pixel portrait, from the design's <helmet>. */
.hero-art {
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 58% 42%, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 58% at 58% 42%, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  max-width: 64%;
  object-fit: cover;
  object-position: 50% 0%;
  image-rendering: pixelated;
  pointer-events: none;
  opacity: 0.42;
}

/*
 * The hero portrait, alive but quiet: it settles in on load, then breathes very slowly, and a few
 * brass pixels catch the light on the portrait's own 10px grid (assets/js/hero.js draws them).
 * The twinkle canvas sits exactly over the image's box and wears the same radial mask, so the edges
 * stay seamless. Only the hero copy animates, not the exit pop-up's portrait.
 */
.hero > .hero-art {
  transform-origin: 58% 42%;
  animation:
    hero-art-in 1.8s cubic-bezier(0.22, 0.61, 0.36, 1) both,
    hero-art-breathe 9s ease-in-out 1.8s infinite alternate;
}
@keyframes hero-art-in {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: 0.42; transform: scale(1); }
}
@keyframes hero-art-breathe {
  from { filter: brightness(1); }
  to { filter: brightness(1.12) saturate(1.06); }
}

.hero-twinkle {
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 58% 42%, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 58% at 58% 42%, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 1040px; /* the img's width attribute: its box is min(1040px, 64%), cropped by object-fit */
  max-width: 64%;
  pointer-events: none;
  opacity: 0;
  animation: hero-twinkle-in 2.4s ease-out 1.4s forwards;
}
@keyframes hero-twinkle-in { to { opacity: 1; } }
@keyframes hero-twinkle-in-soft { to { opacity: 0.5; } }

@media (prefers-reduced-motion: reduce) {
  .hero > .hero-art { animation: none; }
  .hero-twinkle { display: none; }
}

/* ---------- logo ---------- */

.logo { display: flex; align-items: center; gap: 12px; color: var(--bone); text-decoration: none; }
.logo:hover { color: var(--bone); }
.logo-box {
  height: 34px;
  padding: 0 9px;
  background: var(--brass);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.logo-word { font-size: 15px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }

.logo-sm { display: flex; align-items: center; gap: 8px; }
.logo-sm .logo-box { height: auto; padding: 3px 6px; font-size: inherit; }
.logo-sm .logo-word { font-size: inherit; color: var(--bone); }

/* ---------- forms ---------- */

.field {
  flex: 1 1 280px;
  min-width: 0;
  height: 58px;
  padding: 0 20px;
  font: inherit;
  font-size: 16px;
  color: var(--bone);
  background: rgba(21, 24, 29, 0.92);
  border: 1px solid rgba(244, 240, 232, 0.22);
  border-radius: 4px;
}
.btn {
  flex: 0 0 auto;
  height: 58px;
  padding: 0 28px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  background: var(--brass);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.btn:hover { background: var(--brass-hover); }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.form-error { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: #E8A598; }

/* ---------- hero ---------- */

.hero {
  background: var(--ink);
  color: var(--bone);
  position: relative;
  overflow: hidden;
  min-height: 900px;
}

.nav {
  position: relative;
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.nav-cta {
  color: var(--bone);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border: 1px solid rgba(244, 240, 232, 0.28);
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-cta:hover { color: var(--bone); border-color: var(--brass); }

.hero-inner { position: relative; padding: 64px 24px 112px; }
.hero-copy { max-width: 700px; }
.hero-copy .eyebrow { font-weight: 500; margin-bottom: 28px; }
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.hero-lede { margin: 32px 0 0; font-size: 20px; line-height: 1.6; color: var(--on-dark-lede); max-width: 600px; }
.hero-sub { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--small); max-width: 600px; }

.hero-form { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; max-width: 600px; }
.hero-small { margin-top: 16px; font-size: 13px; color: var(--small); }

/* The live status panel. */
.status {
  margin-top: 40px;
  max-width: 600px;
  background: rgba(21, 24, 29, 0.94);
  border: 1px solid rgba(244, 240, 232, 0.16);
  border-radius: 6px;
  overflow: hidden;
}
.status-head {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(244, 240, 232, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--on-dark-2);
}
.status-label { color: var(--brass); }
.status-steps { list-style: none; margin: 0; padding: 8px 20px 16px; }
.step {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  align-items: flex-start;
  opacity: 0.35;
  transition: opacity 0.4s ease;
}
.step-mark {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1px solid rgba(244, 240, 232, 0.3);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--ink);
  font-weight: 700;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.step-mark::after { content: ''; }
.step.is-active, .step.is-done { opacity: 1; }
.step.is-active .step-mark { border-color: var(--brass); }
.step.is-done .step-mark { border-color: var(--brass); background: var(--brass); }
.step.is-done .step-mark::after { content: '\2713'; }
.step-title { font-size: 15px; font-weight: 600; color: var(--bone); }
.step-body { margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--on-dark-2); }

/* ---------- credibility strip ---------- */

.cred { background: var(--bone); border-bottom: 1px solid var(--rule-light); padding: 28px 24px; }
.cred-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--on-light);
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
.cred-name { font-family: var(--font-display); font-size: 22px; color: var(--text); }

/* ---------- shared section bits ---------- */

.section { padding: 120px 24px; }
.section.light { background: var(--paper); }
.section.bone { background: var(--bone); }
.section.dark { background: var(--ink); color: var(--bone); }

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  align-items: flex-end;
  justify-content: space-between;
}
.split-head { flex: 1 1 600px; min-width: 0; }
.split-head.narrow { flex-basis: 560px; }
.h2 {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.split-copy { margin: 0; flex: 1 1 320px; max-width: 440px; font-size: 17px; line-height: 1.65; color: var(--on-light); }
.dark .split-copy, .panel .split-copy { max-width: 420px; color: var(--on-dark); }

/* ---------- about you ---------- */

.pillars {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 0;
  border-top: 1px solid var(--text);
}
.pillar { padding: 32px 32px 8px 0; }
.pillar-num { font-family: var(--font-display); font-size: 22px; color: var(--brass-dark); }
.pillar h3 { margin: 20px 0 12px; font-size: 21px; font-weight: 600; line-height: 1.3; }
.pillar p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--on-light); }
.kicker {
  margin: 72px 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.2;
  color: var(--text);
  max-width: 900px;
}

/* ---------- the team ---------- */

.team {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}
.member { padding: 32px; border: 1px solid rgba(244, 240, 232, 0.14); border-radius: 4px; }
.member.human { border-color: var(--brass); background: var(--card); }
.member-pic { display: block; width: 72px; height: 90px; object-fit: cover; object-position: 50% 0%; image-rendering: pixelated; }
.member-tag { margin-top: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--brass); }
.member h3 { margin: 8px 0 10px; font-family: var(--font-display); font-weight: 400; font-size: 34px; }
.member p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--on-dark-2); }

/* Tony: a 6 x 5 pixel face, the design's TONY array. */
.tony { width: 72px; height: 90px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; }
.tony i { display: block; }
.tony .p0 { background: #15181D; }
.tony .p1 { background: #3A3226; }
.tony .p2 { background: #7A5B26; }
.tony .p3 { background: #C9A86A; }
.tony .p4 { background: #E8D7B0; }

/*
 * Tony, alive but composed: a slow warm breath on the whole face, a natural blink on the two eye
 * pixels (row 3, cells 14 and 17) every 5.6s with a quick double blink every other cycle, and on
 * hover he lifts a touch, warms up and the mouth row picks up a little brass. Nothing bounces.
 */
.tony {
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  animation: tony-breathe 6.5s ease-in-out infinite alternate;
}
.tony i { transition: background-color 0.4s ease; }
.tony i:nth-child(14), .tony i:nth-child(17) { animation: tony-blink 11.2s linear infinite; }
.member:hover .tony { transform: translateY(-2px); }
.member:hover .tony .p1 { background: #7A5B26; }
@keyframes tony-breathe {
  from { filter: brightness(1) drop-shadow(0 0 0 rgba(201, 168, 106, 0)); }
  to { filter: brightness(1.08) drop-shadow(0 0 10px rgba(201, 168, 106, 0.22)); }
}
@keyframes tony-blink {
  0%, 46.4%, 48%, 92.8%, 94.2%, 95.6%, 97%, 100% { background-color: #15181D; }
  46.8%, 47.6%, 93.2%, 93.8%, 96%, 96.6% { background-color: #C9A86A; }
}
@media (prefers-reduced-motion: reduce) {
  .tony, .tony i { animation: none !important; transition: none; }
  .member:hover .tony { transform: none; }
}

/* ---------- systems I have mastered ---------- */

.section.panel { background: var(--panel); color: var(--bone); border-top: 1px solid rgba(244, 240, 232, 0.08); }
.systems-feature {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: center;
  padding: 36px 40px;
  border: 1px solid var(--brass);
  border-radius: 4px;
  background: var(--ink);
}
.systems-feature .system-mark { width: 88px; height: 88px; font-size: 40px; border-color: var(--brass); color: var(--brass); background: rgba(201, 168, 106, 0.06); }
.systems-feature-body { flex: 1 1 360px; min-width: 0; }
.systems-badge {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--brass);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--brass);
}
.systems-feature h3 { margin: 14px 0 8px; font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4vw, 48px); line-height: 1; color: var(--bone); }
.systems-feature p { margin: 0; max-width: 620px; font-size: 16px; line-height: 1.6; color: var(--on-dark); }

.systems-grid {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr));
  gap: 1px;
  background: rgba(244, 240, 232, 0.12);
  border: 1px solid rgba(244, 240, 232, 0.12);
  border-radius: 4px;
  overflow: hidden;
}
.system {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  background: var(--panel);
  transition: background-color 0.3s ease;
}
.system:hover { background: var(--card); }
.system-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 168, 106, 0.45);
  border-radius: 3px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1;
  color: var(--bone);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.system:hover .system-mark { border-color: var(--brass); color: var(--brass); }

/* Brand logos: local single-colour SVGs used as masks, so they paint in currentColor.
   Muted bone at rest, full brass on hover; each SVG is pre-fitted to a square for even optical size. */
.system-logo { color: rgba(244, 240, 232, 0.6); }
.system-logo::before {
  content: "";
  width: 62%;
  height: 62%;
  background-color: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}
.systems-feature .system-logo { color: var(--brass); }
/* Wordmarks and wide marks get the full width of the tile so they stay legible. */
.logo-zapier::before, .logo-runway::before, .logo-fish-audio::before { width: 84%; }
.logo-grok { --logo: url(/assets/logos/grok.svg); }
.logo-claude { --logo: url(/assets/logos/claude.svg); }
.logo-claude-code { --logo: url(/assets/logos/claude-code.svg); }
.logo-openai { --logo: url(/assets/logos/openai.svg); }
.logo-anthropic { --logo: url(/assets/logos/anthropic.svg); }
.logo-elevenlabs { --logo: url(/assets/logos/elevenlabs.svg); }
.logo-heygen { --logo: url(/assets/logos/heygen.svg); }
.logo-synthesia { --logo: url(/assets/logos/synthesia.svg); }
.logo-fish-audio { --logo: url(/assets/logos/fish-audio.svg); }
.logo-granola { --logo: url(/assets/logos/granola.svg); }
.logo-cursor { --logo: url(/assets/logos/cursor.svg); }
.logo-perplexity { --logo: url(/assets/logos/perplexity.svg); }
.logo-gemini { --logo: url(/assets/logos/gemini.svg); }
.logo-notebooklm { --logo: url(/assets/logos/notebooklm.svg); }
.logo-manus { --logo: url(/assets/logos/manus.svg); }
.logo-lovable { --logo: url(/assets/logos/lovable.svg); }
.logo-replit { --logo: url(/assets/logos/replit.svg); }
.logo-zapier { --logo: url(/assets/logos/zapier.svg); }
.logo-higgsfield { --logo: url(/assets/logos/higgsfield.svg); }
.logo-runway { --logo: url(/assets/logos/runway.svg); }
.logo-kling { --logo: url(/assets/logos/kling.svg); }
.logo-attio { --logo: url(/assets/logos/attio.svg); }
.system-text { min-width: 0; }
.system-name { display: block; font-size: 15px; font-weight: 600; color: var(--bone); }
.system-kind { display: block; margin-top: 3px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--small); }
@media (prefers-reduced-motion: reduce) {
  .system, .system-mark { transition: none; }
}

/* ---------- courses vs coach ---------- */

.compare-wrap { max-width: 1040px; margin: 0 auto; }
.compare-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-align: center;
}
.compare-scroll { margin-top: 64px; overflow-x: auto; }
.compare {
  min-width: 600px;
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--text);
  table-layout: fixed;
}
.compare th, .compare td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule-light); width: 50%; }
.compare th {
  padding: 18px 24px 18px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-light-dim);
}
.compare th + th { padding: 18px 0 18px 24px; color: var(--brass-dark); }
.compare td { padding: 22px 24px 22px 0; font-size: 17px; line-height: 1.5; color: var(--on-light-dim); }
.compare td + td { padding: 22px 0 22px 24px; color: var(--text); font-weight: 500; }

/* ---------- secure by design ---------- */

.secure { background: var(--paper); padding: 96px 24px; }
.secure-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.secure-head { flex: 1 1 380px; min-width: 0; }
.secure-head h2 { margin: 20px 0 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4vw, 52px); line-height: 1.05; }
.secure-grid {
  flex: 1 1 480px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 32px;
}
.secure-grid h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.secure-grid p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--on-light); }

/* ---------- FAQ ---------- */

.faq { max-width: 860px; margin: 0 auto; }
.faq h2 { margin: 0 0 48px; font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4.6vw, 60px); line-height: 1.04; }
.faq details { border-top: 1px solid rgba(244, 240, 232, 0.16); padding: 24px 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { flex: 0 0 auto; color: var(--brass); font-size: 24px; font-weight: 300; transition: transform 0.2s ease; }
.faq details[open] .faq-plus { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; max-width: 700px; font-size: 16px; line-height: 1.65; color: var(--on-dark); }

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

.join { background: var(--ink); color: var(--bone); padding: 40px 24px 128px; }
.join-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid rgba(244, 240, 232, 0.16);
  padding-top: 112px;
}
.join h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 6vw, 88px); line-height: 0.98; letter-spacing: -0.02em; }
.join-lede { margin: 28px auto 0; max-width: 540px; font-size: 18px; line-height: 1.6; color: var(--on-dark); }
.join-form { margin: 44px auto 0; max-width: 600px; display: flex; flex-wrap: wrap; gap: 12px; }
.join-form .field { height: 60px; background: var(--panel); }
.join-form .btn { height: 60px; padding: 0 30px; font-size: 17px; }
.join-done { margin: 44px auto 0; max-width: 540px; padding: 28px; border: 1px solid var(--brass); border-radius: 4px; }
.join-done-label { font-family: var(--font-display); font-size: 32px; }
.join-done-body { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--on-dark); }

/* ---------- footer ---------- */

.footer { background: var(--ink); color: var(--small); border-top: 1px solid rgba(244, 240, 232, 0.1); padding: 32px 24px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; }
.footer-inner p { margin: 0; }
.footer .logo-sm .logo-word { font-weight: 600; letter-spacing: 0.2em; }

/* ---------- exit intent ---------- */

.exit {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(6, 7, 9, 0.78);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  animation: exit-fade 0.2s ease;
}
@keyframes exit-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .exit { animation: none; } }

.exit-card {
  position: relative;
  width: 880px;
  max-width: 100%;
  min-height: 500px;
  display: flex;
  flex-wrap: wrap;
  background: var(--ink);
  color: var(--bone);
  border: 1px solid rgba(201, 168, 106, 0.45);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.exit-card .hero-art { max-width: 70%; }
.exit-body { position: relative; flex: 0 1 500px; min-width: 0; padding: 56px 48px 40px; }
.exit .logo-sm { margin-bottom: 32px; font-size: 12px; }
.exit .eyebrow { font-size: 12px; color: var(--brass); }
.exit h2 { margin: 16px 0 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4vw, 48px); line-height: 1.02; letter-spacing: -0.01em; }
.exit-done h2 { font-size: 44px; line-height: 1.05; }
.exit-copy { margin: 20px 0 0; font-size: 16px; line-height: 1.6; color: var(--on-dark); }
.exit-form { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.exit-form .field { flex: 0 0 auto; height: 54px; padding: 0 18px; }
.exit-form .btn { height: 54px; }
.exit-small { margin-top: 12px; font-size: 13px; color: var(--small); }
.exit-no {
  margin-top: 16px;
  padding: 0;
  min-height: 44px;
  background: none;
  border: 0;
  font: inherit;
  font-size: 14px;
  color: var(--on-dark-2);
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.exit-no:hover { color: var(--bone); }
.exit-back {
  margin-top: 24px;
  height: 48px;
  padding: 0 24px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--bone);
  background: none;
  border: 1px solid rgba(244, 240, 232, 0.3);
  border-radius: 4px;
  cursor: pointer;
}
.exit-back:hover { border-color: var(--brass); }
.exit-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: var(--on-dark-2);
  cursor: pointer;
}
.exit-close:hover { color: var(--bone); }
body.has-modal { overflow: hidden; }

/* ---------- phone width ---------- */

@media (max-width: 860px) {
  .hero-art { opacity: 0.18 !important; max-width: 100% !important; }
  .hero-twinkle { max-width: 100%; animation-name: hero-twinkle-in-soft; }
  .hero { min-height: 0; }
  .exit-body { padding: 48px 28px 32px; }
}

@media (max-width: 560px) {
  .hero-inner { padding: 40px 24px 80px; }
  .hero-lede { font-size: 18px; }
  .section { padding: 88px 24px; }
  .secure { padding: 80px 24px; }
  .pillars, .team, .systems-feature { margin-top: 48px; }
  .systems-feature { padding: 28px 24px; }
  .systems-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system { padding: 16px 12px; gap: 10px; }
  .system-mark { width: 36px; height: 36px; font-size: 18px; }
  .kicker { margin-top: 56px; }
  .compare-scroll { margin-top: 48px; }
  .join { padding-bottom: 96px; }
  .join-inner { padding-top: 80px; }
  .btn { width: 100%; }
  .faq summary { font-size: 18px; }
}
