/* LYLE — cinematic-tech design system
   Palette: near-black base, ONE amber accent, teal used only as functional glow */

:root {
  --bg: #0A0E14;
  --bg-alt: #0D1320;
  --surface: #111826;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #F2F5F8;
  --text-muted: #93A1B0;
  --text-faint: #5C6B7C;
  --accent: #E8A33D;
  --accent-strong: #F5B84F;
  --accent-dim: rgba(232, 163, 61, 0.14);
  --teal-glow: rgba(45, 212, 191, 0.10);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 760px; }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--accent);
  overflow: hidden;
  padding: 8px 0;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #0A0E14;
  white-space: nowrap;
}
.ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0A0E14;
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--text);
}
.brand__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--accent);
  border: 1px solid rgba(232, 163, 61, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav__link {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav__link:hover { color: var(--text); }
.nav__link--cta {
  color: var(--accent);
  border: 1px solid rgba(232, 163, 61, 0.5);
  border-radius: 8px;
  padding: 7px 14px;
  transition: background 0.2s, color 0.2s;
}
.nav__link--cta:hover { background: var(--accent); color: #0A0E14; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 72px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow--center { text-align: center; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}
.reveal-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.reveal-line > span {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s;
}
.is-visible .reveal-line > span { transform: translateY(0); opacity: 1; }
.reveal-line:nth-child(2) > span { transition-delay: 0.08s; }
.reveal-line:nth-child(3) > span { transition-delay: 0.16s; }
.reveal-line:nth-child(4) > span { transition-delay: 0.24s; }
.hero__sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__checklist {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
}
.hero__checklist li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}
.hero__checklist li::before { content: "✓ "; color: var(--accent); margin-right: 4px; }
.hero__stage { position: relative; text-align: center; }
.hero__stage-glow {
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle at 50% 40%, var(--accent-dim), var(--teal-glow) 60%, transparent 75%);
  border-radius: 50%;
  filter: blur(24px);
  z-index: 0;
}
.video-frame {
  position: relative;
  z-index: 1;
  width: min(288px, 74%);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: #05070b url("../assets/lyle-video-poster.jpg?v=3") center / cover no-repeat;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 6px rgba(232, 163, 61, 0.05);
}
.video-frame__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  background: #05070b;
  cursor: pointer;
}
.video-frame__play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 7, 11, 0.18);
  border: 0;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.25s;
}
.video-frame__play svg {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent);
  fill: #0A0E14;
  padding: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), 0 0 0 10px rgba(232, 163, 61, 0.12);
  transition: transform 0.25s;
}
.video-frame__play:hover svg { transform: scale(1.08); }
.video-frame.is-playing .video-frame__play { opacity: 0; pointer-events: none; }
.video-cta {
  position: relative;
  z-index: 1;
  margin-top: 20px;
}
.hero__caption {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-top: 14px;
}
.scroll-cue {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  margin-top: 40px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn--primary {
  background: var(--accent);
  color: #0A0E14;
}
.btn--primary:hover { background: var(--accent-strong); transform: translateY(-1px); }
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
}
.btn--ghost:hover { color: var(--text); border-color: var(--text-faint); }
.btn--big { padding: 16px 32px; font-size: 16px; }
.btn__arrow { transition: transform 0.2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Stats ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 56px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat { text-align: center; }
.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 52px);
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 12px;
}
.stat__label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.stat__cite {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section__sub {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 48px;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 16px;
}
.card__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.card__body { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin-top: 48px; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding-top: 6px;
}
.step__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step__body { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* ---------- Curtain ---------- */
.curtain { padding: 104px 0; }
.curtain__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.curtain__img-wrap { text-align: center; }
.curtain__img {
  width: min(380px, 90%);
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}
.curtain__body { font-size: 16px; color: var(--text-muted); margin-bottom: 18px; line-height: 1.7; }
.curtain__note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  line-height: 1.8;
}

/* ---------- Mission ---------- */
.mission__body {
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.6;
  color: var(--text);
  text-align: center;
  max-width: 620px;
  margin: 10px auto 8px;
}
.mission__short {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  text-align: center;
  margin-top: 18px;
}

/* ---------- Build in public ---------- */
.build__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.build__img-wrap { text-align: center; }
.build__img {
  width: min(340px, 88%);
  margin: 0 auto;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
}

/* ---------- FAQ ---------- */
.faq { margin-top: 44px; display: grid; gap: 14px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s;
}
.faq__q:hover { color: var(--accent); }
.faq__icon {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a-inner p {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- First Board offer ---------- */
.offer {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(232, 163, 61, 0.08), transparent),
    var(--bg);
}
.section__title--center { text-align: center; }
.offer__sub {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
}
.offer__sub strong { color: var(--text); font-weight: 600; }
.offer__price {
  display: block;
  width: max-content;
  margin: 0 auto 34px;
  border: 1px solid rgba(232, 163, 61, 0.4);
  border-radius: var(--radius);
  padding: 28px 48px 26px;
  background: var(--surface);
}
.offer__amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 72px);
  color: var(--accent);
  line-height: 1.05;
  margin-bottom: 12px;
}
.offer__terms {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  line-height: 1.9;
}
.offer__fine {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-top: 22px;
}

/* ---------- CTA ---------- */
.cta {
  padding: 108px 0;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 90% at 50% 110%, rgba(232, 163, 61, 0.12), transparent),
    var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 18px;
}
.cta__sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 34px;
  line-height: 1.7;
}
.cta__fine {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-top: 22px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 88px 0 48px;
  border-top: 1px solid var(--line);
}
.footer__tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 72px;
  line-height: 1.2;
}
.footer__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.brand__mark--small { font-size: 16px; margin-bottom: 10px; }
.brand__mark--img { height: 26px; width: auto; display: inline-block; vertical-align: middle; }
.brand__mark--img--sm { height: 24px; }
.footer__note { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.footer__note--muted { color: var(--text-faint); }
.footer__head {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  margin-bottom: 12px;
}
.footer__socials { font-size: 14px; color: var(--text-muted); margin-bottom: 6px; }
.footer__socials--links { display: grid; gap: 7px; justify-items: start; }
.footer__link {
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
}
.footer__link:hover { text-decoration: underline; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__stage { order: -1; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .curtain__grid, .build__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__row { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .nav-toggle { display: inline-flex; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 14, 20, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    padding: 6px 24px 14px;
  }
  .nav.open { display: flex; }
  .nav__link { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .nav__link:last-child { border-bottom: none; }
  .nav__link--cta { text-align: center; margin-top: 8px; border-bottom: none; }
  .cards { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .offer__price { width: auto; padding: 24px 20px 22px; }
  .offer__terms { font-size: 9.5px; letter-spacing: 0.08em; }
}

/* ---------- Contact page ---------- */
.contact { padding: 84px 0 72px; }
.contact__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.8vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-align: center;
  margin-bottom: 18px;
}
.contact__sub {
  font-size: 17px;
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 44px;
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 34px 34px 30px;
  text-align: left;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form__row + .contact-form__row,
.contact-form__row + .contact-form__field,
.contact-form__field + .contact-form__row,
.contact-form__field + .contact-form__field,
.contact-form__field + .contact-form__check { margin-top: 18px; }
/* zero the stacked-field margin inside grid rows — it was pushing the
   right column (Email/Phone) 18px below the left (Name/Company) */
.contact-form__row > .contact-form__field { margin-top: 0; }
.contact-form__field { display: block; }
.contact-form__field span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  transition: border-color 0.2s;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form__field input.contact-form__input--error,
.contact-form__field textarea.contact-form__input--error { border-color: #d64545; }
.contact-form__field textarea { resize: vertical; min-height: 120px; }
.contact-form__hp { display: none !important; }
.contact-form__check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(232, 163, 61, 0.35);
  border-radius: 10px;
  background: var(--accent-dim);
  cursor: pointer;
}
.contact-form__check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}
.contact-form__check span { font-size: 14px; color: var(--text); }
.contact-form__submit { margin-top: 26px; width: 100%; }
.contact-form__status { margin-top: 16px; font-size: 14px; min-height: 20px; }
.contact-form__status--success { color: #6fcf97; }
.contact-form__status--error { color: #ff9b9b; }
.contact-form--sent { opacity: 0.75; }
.contact-form--sent input,
.contact-form--sent textarea { opacity: 0.6; }
.contact__alt {
  text-align: center;
  margin-top: 30px;
  color: var(--text-muted);
  font-size: 15px;
}
.contact__alt-link { color: var(--accent); text-decoration: none; }
.contact__alt-link:hover { text-decoration: underline; }
.contact__fine {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-top: 14px;
}
@media (max-width: 600px) {
  .contact-form { padding: 24px 20px 22px; }
  .contact-form__row { grid-template-columns: 1fr; gap: 0; }
  .contact-form__row + .contact-form__row,
  .contact-form__row + .contact-form__field { margin-top: 18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .reveal, .reveal-line > span { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Mission page ---------- */
.mission-hero { padding-top: 96px; }
.mission-detail-section { padding: 40px 0 88px; }
.mission-detail {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.mission-detail:last-child { border-bottom: 1px solid var(--line); }
.mission-detail__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}
.mission-detail__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 25px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}
.mission-detail__body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.mission-detail__body:last-child { margin-bottom: 0; }
.mission-detail__body strong { color: var(--text); }
.mission__link { margin-top: 28px; }

/* ---------- Examples page ---------- */
.examples-hero { padding-top: 96px; }
.section__sub--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 680px; }
.samples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}
.sample { margin: 0; }
.sample-frame {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s, border-color 0.2s;
}
.sample-frame:hover { transform: translateY(-4px); border-color: var(--accent); }
.sample-frame img { width: 100%; height: auto; display: block; }
.sample-cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  text-transform: uppercase;
  text-align: center;
  margin-top: 12px;
}
.sample-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  text-transform: uppercase;
  text-align: center;
  margin-top: 24px;
}
.sample-foot {
  font-size: 15px;
  color: var(--text-muted);
  text-align: center;
  max-width: 660px;
  margin: 36px auto 0;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .samples { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .samples { grid-template-columns: 1fr; }
}

/* ---------- Legal pages + toggle-gated links (js/legal.js) ---------- */
.legal { padding: 72px 0 80px; }
.legal .container { max-width: 780px; }
.legal h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.legal__meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); margin-bottom: 28px; }
.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  margin: 40px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.legal h3 { font-family: var(--font-display); font-weight: 500; font-size: 16px; margin: 24px 0 8px; }
.legal p { color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
.legal ul, .legal ol { color: var(--text-muted); line-height: 1.65; padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal__scroll { overflow-x: auto; margin: 0 0 14px; }
.legal table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 13.5px; }
.legal th, .legal td { text-align: left; padding: 9px 12px; border: 1px solid var(--line); vertical-align: top; color: var(--text-muted); }
.legal th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-faint); }

/* toggle-gated: hidden until html.legal-on (js/legal.js LYLE_LEGAL.enabled) */
.legal-links, .legal-consent { display: none; }
html.legal-on .legal-links { display: block; }
html.legal-on .legal-links--portal {
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
  padding: 18px 16px 8px;
}
html.legal-on .legal-links--portal a { color: var(--text-faint); }
html.legal-on .legal-consent {
  display: block;
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 12px;
}
html.legal-on .legal-consent a { color: var(--text-muted); }

/* ---------- Toggle-gated claim/contact forms (js/legal.js LYLE_LEGAL) ----------
   OFF (default): forms hidden, plain mailto line shown in their place.
   ON: forms + consent lines + footer links all appear together. */
.legal-form { display: none; }
.legal-form-alt {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 8px;
}
.legal-form-alt a { color: var(--accent); font-weight: 600; text-decoration: none; }
.legal-form-alt a:hover { text-decoration: underline; }
html.legal-on .legal-form { display: block; }
html.legal-on .legal-form-alt { display: none; }

/* ---------- Marissa round-2 fixes (v2 send-back) ---------- */
/* generic toggle pairs: legal-only shows when ON, legal-off-only when OFF */
.legal-only { display: none; }
.legal-off-only { display: block; }
html.legal-on .legal-only { display: block; }
html.legal-on .legal-off-only { display: none; }
/* m1: fallback line centered under the centered H1 */
.legal-form-alt { text-align: center; }
/* claim fine print shown while the form is hidden (m2) */
.contact .contact-form__fine { font-size: 13px; color: var(--text-faint); text-align: center; margin: 10px 0 0; line-height: 1.55; }
