/* Colour and type tokens come from the app's MONO design kit, Edition 10. */
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/manrope-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #F5F6F2;
  --surface: #FFFFFF;
  --elev: #E8EEE8;
  --primary: #176448;
  --on: #FFFFFF;
  --text: #101414;
  --muted: #56655D;
  --line: #D6DED7;
  --warning: #745600;
  --focus: #2f6fbf;
  --shadow: 0 1px 2px #1014140d, 0 8px 24px #1014140f;
  --shadow-lift: 0 2px 4px #10141414, 0 24px 48px #1014141f;
  --radius: 24px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --header-height: 73px;
  --display: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101414;
    --surface: #1A2020;
    --elev: #242D2C;
    --primary: #B8F3D4;
    --on: #101414;
    --text: #F5F6F2;
    --muted: #A6B5AE;
    --line: #35403A;
    --warning: #F2D48A;
    --focus: #68a6ed;
    --shadow: 0 1px 2px #00000040, 0 8px 24px #00000033;
    --shadow-lift: 0 2px 4px #00000059, 0 24px 48px #00000066;
  }
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
code { font-size: .92em; color: var(--text); background: var(--elev); padding: 2px 7px; border-radius: 7px; white-space: nowrap; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 10px 14px; border-radius: 10px; z-index: 20; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ph { font-style: normal; color: var(--warning); background: color-mix(in srgb, var(--warning) 12%, transparent); border: 1px dashed var(--warning); border-radius: 8px; padding: 1px 7px; font-size: .92em; font-weight: 500; }
.wordmark { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 72px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; }
.brand svg { width: 30px; height: 30px; color: var(--primary); }
.brand .wordmark { font-size: 24px; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 99px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.main-nav a:hover { color: var(--text); background: var(--elev); }
.main-nav .nav-cta { margin-left: 8px; background: var(--text); color: var(--bg); padding: 0 18px; }
.main-nav .nav-cta:hover { background: var(--text); color: var(--bg); opacity: .88; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 8px 26px; border-radius: 99px; text-decoration: none; font-weight: 600; font-size: 16px; }
.btn.primary { background: var(--primary); color: var(--on); padding-right: 8px; box-shadow: inset 0 1px 0 #ffffff26, var(--shadow); }
.btn.primary.plain { padding-right: 26px; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.secondary { border: 1px solid var(--line); color: var(--text); font-weight: 500; background: var(--surface); }
.btn.secondary:hover { border-color: var(--muted); }
.orb { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--on) 14%, transparent); }
.orb .ico { width: 20px; height: 20px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 80px); align-items: center; padding: clamp(48px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--primary); background: color-mix(in srgb, var(--primary) 9%, transparent); border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent); padding: 6px 12px; border-radius: 99px; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hero h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -.035em; margin: 22px 0 20px; max-width: 12ch; }
.hero-lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; color: var(--muted); max-width: 30em; margin-bottom: 32px; }
.hero-art { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero-art figcaption { font-size: 13px; color: var(--muted); }

/* Card art */
.card-stack { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1.3; }
.lyle-card {
  position: absolute;
  width: 78%;
  aspect-ratio: 1.586;
  border-radius: 22px;
  padding: 7% 7.5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
}
.lyle-card.physical {
  top: 0;
  left: 0;
  transform: rotate(-7deg);
  color: #F5F6F2;
  background: linear-gradient(140deg, #2b3931 0%, #19261f 55%, #101414 100%);
  box-shadow: inset 0 0 0 1px #b8f3d42e, inset 0 1px 0 #ffffff1f, var(--shadow-lift);
}
.lyle-card.virtual {
  right: 0;
  bottom: 0;
  transform: rotate(4deg);
  color: #10271d;
  background: linear-gradient(140deg, #dcf7e8 0%, #b8f3d4 50%, #97cfb8 100%);
  box-shadow: inset 0 0 0 1px #17644833, inset 0 1px 0 #ffffffa6, var(--shadow-lift);
}
.lyle-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(118deg, transparent 52%, #ffffff2e 52.3%, transparent 78%); }
.physical::after { background: linear-gradient(118deg, transparent 52%, #b8f3d414 52.3%, transparent 78%); }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lyle-card .wordmark { font-size: 9cqi; }
.card-kind { font-size: 3.6cqi; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: .5em 1em; border: 1px solid currentColor; border-radius: 99px; opacity: .8; }
.card-foot { font-size: 3.6cqi; font-weight: 600; letter-spacing: .14em; opacity: .85; }
.card-number { font-size: 5cqi; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.chip { width: 15cqi; aspect-ratio: 1.25; border-radius: 1.6cqi; background: linear-gradient(120deg, #eff7cf, #abc7a7 60%, #8fb08a); box-shadow: inset 0 0 0 1px #10241b40; }

/* Sections */
.section { padding: var(--section) 0 0; }
.section-head { max-width: 44rem; margin-bottom: clamp(32px, 4vw, 48px); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.section h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -.03em; }
.lead { font-size: 18px; color: var(--muted); margin-top: 16px; max-width: 38em; }
.note { margin-top: 24px; font-size: 14px; color: var(--muted); }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px; box-shadow: var(--shadow); }
.feature-icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 10%, var(--surface)); color: var(--primary); }
.feature h3 { font-size: 19px; letter-spacing: -.01em; margin: 22px 0 8px; }
.feature p { color: var(--muted); font-size: 15px; line-height: 1.55; }


.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.facts div { padding: 22px 26px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); margin: 0 -1px -1px 0; }
.facts .wide { grid-column: 1 / -1; }
.facts dt { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 17px; font-weight: 500; }

/* Contact and corporate band: graphite in light mode, raised surface in dark */
.band {
  --text: #F5F6F2;
  --muted: #A6B5AE;
  --primary: #B8F3D4;
  --on: #101414;
  --focus: #68a6ed;
  --band-line: #ffffff1f;
  background: #101414;
  color: var(--text);
  border-radius: 32px;
  padding: clamp(28px, 6vw, 64px);
  box-shadow: var(--shadow-lift);
}
.band-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.band h2 { margin-bottom: 12px; }
.band-lead { color: var(--muted); font-size: 18px; }
.band .btn { overflow-wrap: anywhere; }
.corporate { margin-top: clamp(32px, 5vw, 48px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--band-line); }
.corporate h3 { font-size: 20px; letter-spacing: -.01em; margin-bottom: 10px; }
.corporate-lead { color: var(--muted); max-width: 44em; margin-bottom: 24px; }
.band .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); background: #ffffff08; border-color: var(--band-line); box-shadow: none; }
@media (max-width: 560px) { .band .facts { grid-template-columns: minmax(0, 1fr); } }
.band .facts div { border-color: var(--band-line); }
.corporate-note { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 52em; }
@media (prefers-color-scheme: dark) {
  .band { background: var(--elev); box-shadow: inset 0 0 0 1px var(--line); }
}

/* Footer */
.site-footer { margin-top: var(--section); border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; padding-top: 40px; padding-bottom: 40px; align-items: start; }
.footer-brand p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 500; }
.site-footer nav a:hover, .site-footer nav a[aria-current="page"] { color: var(--primary); text-decoration: underline; }
.legal-line { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* Legal pages */
.legal-head { padding: clamp(48px, 8vw, 88px) 0 clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.legal-head h1 { font-size: clamp(38px, 5.6vw, 60px); line-height: 1.05; letter-spacing: -.035em; margin-bottom: 14px; }
.legal-head p { color: var(--muted); }
.draft-label { display: inline-block; margin-bottom: 18px; font-size: 13px; font-weight: 600; color: var(--warning); background: color-mix(in srgb, var(--warning) 12%, transparent); border: 1px dashed var(--warning); border-radius: 12px; padding: 8px 14px; }
.legal-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); padding-top: clamp(32px, 5vw, 56px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-height) + 24px); }
.toc p { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; border-left: 1px solid var(--line); }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 15px; line-height: 1.4; }
.toc a::before { content: counter(toc); font-variant-numeric: tabular-nums; min-width: 1.4em; color: var(--muted); }
.toc a:hover { color: var(--text); border-left-color: var(--primary); }
.prose { max-width: 68ch; font-size: 17px; line-height: 1.7; }
.prose h2 { font-size: clamp(22px, 2.4vw, 26px); letter-spacing: -.02em; line-height: 1.25; margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--primary); }
.prose .highlight { margin: 8px 0 16px; padding: 24px 26px 10px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--line)); border-radius: var(--radius); box-shadow: var(--shadow); }

/* 404 */
.not-found { padding: clamp(80px, 14vw, 160px) 0 0; max-width: 36rem; }
.not-found h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 14px; }
.not-found p { color: var(--muted); font-size: 18px; margin-bottom: 32px; }

/* Smaller screens */
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: 2; }
  .card-stack { max-width: 420px; }
  .legal-body { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
}
@media (max-width: 640px) {
  :root { --header-height: 65px; }
  .header-inner { min-height: 64px; }
  .main-nav a { padding: 0 10px; font-size: 14px; }
  .main-nav .nav-cta { margin-left: 4px; padding: 0 14px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .actions .btn.secondary { justify-content: center; }
  .facts div { padding: 18px 20px; }
  .feature { padding: 24px 22px 26px; }
}
@media (max-width: 380px) {
  .header-inner { column-gap: 12px; }
  .brand { gap: 8px; }
  .brand svg { width: 26px; height: 26px; }
  .brand .wordmark { font-size: 21px; }
  .main-nav a { padding: 0 7px; font-size: 13.5px; }
  .main-nav .nav-cta { padding: 0 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
