/* Pilot Proper — one stylesheet. Brand guide v1 (approved 2026-11-02). */
:root {
  --cream: #F6F1E7;
  --paper: #FFFDF8;
  --sand: #E9C9A3;
  --sand-soft: #EFE6D6;
  --pine: #1F3D33;
  --pine-deep: #14201B;
  --ink: #20241F;
  --ink-soft: #3B433C;
  --orange: #DE7A3D;
  --terracotta: #C05B2C;
  --terracotta-700: #9C4422;
  --line: #D9CDB8;
  --cream-dim: #E9DFCC;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 24px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--sans); }
@media (min-width: 800px) { body { font-size: 18px; } }
img, svg { max-width: 100%; }
a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--terracotta-700); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
h1, h2, h3 { color: var(--pine); margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.08; }
h1 { font-size: clamp(36px, 5.2vw, 60px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
h1 em, h2 em { font-weight: 400; }
p { margin: 0; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; padding: 10px 14px; background: var(--pine); color: var(--cream); z-index: 10; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 800px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--lg { gap: 28px; }

/* Labels */
.eyebrow { font: 600 13px/1.3 var(--cond); letter-spacing: .28em; text-transform: uppercase; color: var(--terracotta-700); }
.on-dark .eyebrow, .eyebrow--light { color: var(--sand); }
.lede { font-size: 19px; line-height: 1.55; max-width: 44em; }
.muted { color: var(--ink-soft); font-size: 15px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 2px; font: 600 15px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn--primary { background: var(--pine); color: var(--cream); }
.btn--primary:hover { background: var(--pine-deep); color: var(--cream); }
.btn--accent { background: var(--orange); color: var(--ink); }
.btn--accent:hover { background: #E68A52; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--cream); border: 1px solid var(--cream); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn--disabled { background: transparent; color: var(--cream-dim); border: 1px solid #A9B3AB; font: 500 14px/1 var(--sans); letter-spacing: 0; text-transform: none; cursor: not-allowed; }

/* Header */
.site-header { background: var(--cream); border-bottom: 1px solid #E2D8C6; }
.site-header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 24px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--pine); text-decoration: none; min-height: 44px; }
.brand__word { font: 600 21px/1 var(--cond); letter-spacing: .14em; }
.tm { font-size: .4em; letter-spacing: 0; vertical-align: top; margin-left: 2px; }
.brand__word { white-space: nowrap; }
.site-nav { grid-column: 2; grid-row: 1; justify-self: end; }
.site-header__cta { grid-column: 3; grid-row: 1; }
.nav { display: flex; gap: 4px 22px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 600; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a[aria-current="page"] { border-bottom-color: var(--terracotta); }
@media (max-width: 1080px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-header__cta { grid-column: 2; grid-row: 1; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 420px) { .brand { gap: 8px; } .brand .mark { width: 28px; height: 28px; } .brand__word { font-size: 16px; letter-spacing: .1em; } .site-header__cta { padding: 0 10px; font-size: 12px; letter-spacing: .08em; } }

.crumbs { padding-block: 20px 0; font-size: 14px; color: var(--ink-soft); }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--sand { background: var(--sand); color: var(--pine); }
.section--soft { background: var(--sand-soft); }
.section--pine, .on-dark { background: var(--pine); color: var(--cream); }
.section--pine h1, .section--pine h2, .section--pine h3, .on-dark h1, .on-dark h2, .on-dark h3 { color: var(--cream); }
.section--pine a, .on-dark a { color: var(--sand); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 44px; }
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; }

/* Photo hero */
.hero { position: relative; overflow: hidden; background: var(--pine); color: var(--cream); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.hero__inner { position: relative; display: flex; justify-content: flex-end; padding-block: clamp(48px, 10vw, 104px); }
.hero--left .hero__inner { justify-content: flex-start; }
.panel { background: rgba(20, 32, 27, .86); border-radius: 4px; padding: clamp(24px, 4vw, 40px); max-width: 620px; display: flex; flex-direction: column; gap: 18px; }
.panel h1, .panel h2 { color: var(--cream); }
.panel--center { margin: 0 auto; align-items: center; text-align: center; }
@media (max-width: 640px) { .hero__inner { padding-top: 220px; padding-bottom: 0; } .hero .panel { margin-inline: calc(var(--gutter) * -1); border-radius: 0; } .hero__img { height: 300px; } }

/* Lockup */
.lockup { display: inline-flex; flex-direction: column; align-items: stretch; gap: 8px; color: var(--cream); }
.lockup__over, .lockup__est { font: 500 14px/1 var(--cond); letter-spacing: .5em; text-align: center; }
.lockup__word { font: 600 clamp(38px, 6vw, 68px)/1 var(--cond); letter-spacing: .12em; }
.lockup__rule { height: 1px; background: currentColor; }
.lockup--footer .lockup__word { font-size: 26px; }
.lockup--footer .lockup__est { font-size: 11px; }

/* Waitlist */
.waitlist { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 560px; }
.waitlist__row { display: flex; flex-wrap: wrap; }
.waitlist__input { flex: 1 1 220px; min-width: 0; height: 56px; padding: 0 16px; border: 1px solid var(--pine); border-right: 0; border-radius: 2px 0 0 2px; background: var(--paper); font: 400 16px var(--sans); color: var(--ink); }
.waitlist--dark .waitlist__input { border-color: var(--cream); background: var(--cream); }
.waitlist__btn { height: 56px; border-radius: 0 2px 2px 0; }
@media (max-width: 480px) { .waitlist__input { flex-basis: 100%; border-right: 1px solid var(--pine); border-radius: 2px; } .waitlist__btn { flex: 1 1 100%; margin-top: 8px; border-radius: 2px; } }
.waitlist__note { font-size: 14px; color: var(--ink-soft); }
.waitlist--dark .waitlist__note { color: var(--cream-dim); }
.waitlist__status { font-weight: 600; min-height: 0; }
.waitlist__status:empty { display: none; }
.waitlist.is-done .waitlist__row { display: none; }
.waitlist--dark .waitlist__status { color: var(--cream); }

/* Grids and cards */
.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--rule { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid--rule > * { background: var(--cream); padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.card-num { font: 600 14px/1 var(--cond); letter-spacing: .2em; color: var(--terracotta-700); }
.card-title { font-family: var(--serif); font-weight: 500; font-size: 25px; color: var(--pine); line-height: 1.2; }
.ruled { border-top: 2px solid var(--pine); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.on-dark .ruled, .section--pine .ruled { border-top: 1px solid var(--terracotta); }
.big-num { font: 500 44px/1 var(--serif); color: var(--terracotta); }
.feature-dark { background: var(--pine); color: var(--cream); }
.feature-dark .card-title { color: var(--cream); }
.feature-dark .eyebrow { color: var(--sand); }

/* Stats */
.stats { display: grid; gap: 1px; background: #C9A97F; border: 1px solid #C9A97F; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stats > div { background: var(--sand); padding: 22px; color: var(--pine); }
.stat-num { font: 500 44px/1 var(--serif); }
.stat-label { font-size: 15px; margin-top: 6px; }
.snapshot { display: grid; gap: 24px; align-items: end; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); padding-block: 40px; }
.snapshot .stat-num { font-size: 48px; }

/* Pricing */
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.price-card--featured { background: var(--pine); color: var(--cream); border-color: var(--pine); }
.price-card--featured .price-name { color: var(--sand); }
.price-name { font: 600 14px/1.3 var(--cond); letter-spacing: .2em; text-transform: uppercase; color: var(--pine); }
.price { font: 500 48px/1 var(--serif); color: var(--pine); }
.price-card--featured .price { color: var(--cream); }
.price small { font-size: 20px; }
.price-sub { font-size: 14px; color: var(--ink-soft); }
.price-card--featured .price-sub { color: var(--cream-dim); }
.price-card ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.honesty { margin-top: 20px; font-size: 15px; color: var(--ink-soft); }

/* Lists, FAQ, articles */
.ruled-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #C9A97F; }
.ruled-list li { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid #C9A97F; }
.faq { border-top: 1px solid #C9BBA3; }
.faq details { border-bottom: 1px solid #C9BBA3; }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 20px; font-weight: 600; color: var(--pine); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--terracotta-700); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding-bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
.faq--static .faq-item { padding: 22px 0; border-bottom: 1px solid #C9BBA3; display: flex; flex-direction: column; gap: 8px; }
.two-col { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.two-col > :first-child { flex: 1 1 260px; }
.two-col > :last-child { flex: 999 1 560px; min-width: 0; }
.toc { position: sticky; top: 16px; max-width: 280px; display: flex; flex-direction: column; border-top: 2px solid var(--pine); padding-top: 14px; }
.toc a { padding: 8px 0; font-size: 15px; }
@media (max-width: 860px) { .toc { position: static; max-width: none; } }
.article { max-width: 780px; display: flex; flex-direction: column; gap: 52px; }
.article section { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 16px; }
.article h2 { font-size: clamp(28px, 3vw, 34px); }
.resource { display: flex; gap: 24px; padding: 30px 0; border-top: 1px solid var(--line); }
.resource:last-child { border-bottom: 1px solid var(--line); }
.resource__num { font: 500 48px/1 var(--serif); color: var(--terracotta); width: 44px; flex-shrink: 0; }
.resource h2 { font-size: 27px; }
.resource .eyebrow { letter-spacing: .18em; }
.links-row { display: flex; flex-wrap: wrap; gap: 12px 32px; font-weight: 600; }
.next-reads { border-top: 1px solid var(--terracotta); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.code-card { background: var(--sand); color: var(--pine); border-radius: 4px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.code-card .code { font: 500 34px/1.1 var(--serif); }
.callout { background: var(--pine); color: var(--cream); border-radius: 4px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.callout .stat-num { color: var(--cream); }
.legal { max-width: 760px; display: flex; flex-direction: column; gap: 18px; padding-block: 24px 96px; }
.legal h2 { font-size: 28px; margin-top: 14px; }
.summary-box { background: var(--sand); color: var(--pine); padding: 22px 24px; border-radius: 4px; }
.placeholder { background: #FCE9B8; color: var(--ink); padding: 0 4px; border-radius: 2px; font-weight: 600; }

/* Mock exam sample (illustrative) */
.sample { background: var(--pine); color: var(--cream); border-radius: 4px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.sample__bar { height: 4px; background: #2F5246; border-radius: 2px; }
.sample__bar span { display: block; width: 22%; height: 4px; background: var(--orange); border-radius: 2px; }
.sample__opt { padding: 14px 16px; border: 1px solid #4C6A5E; border-radius: 3px; }
.sample__meta { display: flex; justify-content: space-between; font: 600 13px/1 var(--cond); letter-spacing: .22em; color: var(--sand); }

/* Footer */
.site-footer { background: var(--pine); color: var(--cream); padding-block: 56px 36px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.site-footer__top nav { flex: 0 1 560px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 28px; }
@media (max-width: 560px) { .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer-links a { color: var(--cream); display: inline-flex; min-height: 40px; align-items: center; font-size: 15px; }
.disclaimer { font-size: 13px; line-height: 1.6; color: var(--cream-dim); max-width: 860px; }
.copyright { font-size: 13px; color: var(--cream-dim); margin-top: 12px; }

/* 404 */
.notfound { min-height: 70vh; display: flex; align-items: center; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print { .site-header, .site-footer, .waitlist, .hero__img { display: none; } body { background: #fff; } }
