:root {
  color-scheme: light;
  --ink: #17362d;
  --muted: #566a63;
  --paper: #f4f1e8;
  --card: #fffdf7;
  --accent: #c86e45;
  --line: #d9d4c8;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, sans-serif; }
.pilot-shell { min-height: 100vh; display: flex; flex-direction: column; }
header, footer { width: min(1160px, calc(100% - 40px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; }
.brand { font: 700 24px/1 Georgia, serif; color: var(--ink); text-decoration: none; }
nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
a { color: var(--ink); text-underline-offset: 4px; }
.language { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; text-decoration: none; }
main { width: min(1160px, calc(100% - 40px)); margin: auto; flex: 1; }
.hero { padding: clamp(64px, 10vw, 130px) 0 70px; max-width: 860px; }
.eyebrow { color: var(--accent); font-weight: 750; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
h1 { font: 700 clamp(44px, 7vw, 86px)/.98 Georgia, serif; letter-spacing: -.04em; margin: 18px 0 28px; }
.lede { font-size: clamp(19px, 2.4vw, 27px); color: var(--muted); max-width: 760px; }
.offer { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin: 30px 0 22px; }
.price { font: 700 44px/1 Georgia, serif; white-space: nowrap; }
button { border: 0; border-radius: 10px; background: var(--accent); color: white; padding: 15px 22px; font: 700 16px/1.2 inherit; cursor: pointer; transition: opacity .2s ease, transform .2s ease; }
button:not(:disabled):hover { transform: translateY(-1px); }
button:disabled { background: #8b9692; cursor: not-allowed; opacity: .8; }
.offer-detail { margin: -7px 0 20px; color: var(--muted); font-weight: 650; }
.status { font-size: 14px; color: var(--muted); min-height: 1.6em; }
.status[data-state="error"] { color: #8a2f2a; }
.status[data-state="success"] { color: #246249; }
.payment-success { margin: 70px auto; }
.payment-success h1 { font-size: clamp(42px, 6vw, 68px); }
.payment-success .disclaimer { margin-bottom: 28px; }
.return-link { display: inline-block; font-weight: 700; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-grid article, .purchase-explainer, .disclaimer, .info, .faq { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.value-grid h2, .purchase-explainer h2, .disclaimer h2, .faq h2 { font: 700 22px/1.2 Georgia, serif; }
.purchase-explainer, .disclaimer, .faq { margin: 18px 0; max-width: 920px; }
.disclaimer, .faq { margin-bottom: 70px; }
.info { max-width: 780px; margin: 70px 0; }
.info h1 { font-size: 52px; }
.legal-draft section { padding-top: 12px; border-top: 1px solid var(--line); }
.legal-draft h2 { font-size: 18px; text-transform: capitalize; }
.legal-draft p { overflow-wrap: anywhere; }
.review-date { color: var(--muted); font-size: 14px; }
.legal-crosslinks { padding: 20px 0; margin: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.draft-warning { display: inline-block; background: #742f2b; color: #fff; padding: 7px 11px; border-radius: 6px; letter-spacing: .04em; }
.review { padding: 60px 0; }
.review h1 { font-size: 60px; }
.review-filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; position: sticky; top: 0; background: var(--paper); padding: 16px 0; z-index: 2; }
.review-filters label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; }
.review-filters input, .review-filters select { width: 100%; min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.review-list { display: grid; gap: 12px; }
.review-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; overflow-wrap: anywhere; }
.review-card h2 { font: 700 18px/1.3 ui-monospace, monospace; }
.review-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.review-badges span { background: #e5ebe7; border-radius: 999px; padding: 3px 8px; font-size: 11px; }
.review-card .muted { color: var(--muted); }
footer { border-top: 1px solid var(--line); margin-top: 30px; }
footer nav { font-size: 14px; }

@media (max-width: 900px) {
  .review-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  header { align-items: flex-start; flex-direction: column; gap: 14px; }
  header nav { gap: 10px 14px; font-size: 14px; }
  .value-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  h1 { font-size: 48px; }
  .offer { align-items: flex-start; flex-direction: column; gap: 10px; }
  .review h1 { font-size: 42px; }
}

@media (max-width: 420px) {
  header, footer, main { width: min(100% - 28px, 1160px); }
  h1 { font-size: 42px; }
  .price { font-size: 40px; }
  footer { align-items: flex-start; flex-direction: column; }
  .review-filters { grid-template-columns: 1fr; }
  .review-card { padding: 14px; }
  .info { margin-top: 42px; }
  .info h1 { font-size: 40px; }
  .purchase-explainer, .disclaimer, .faq, .info { padding: 22px; }
}
