/* SkyGuess site. Tokens follow design/clive/SYSTEM.md. Light only, like the app. */

@font-face { font-family: "Shantell Sans"; src: url("/fonts/shantell-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Shantell Sans"; src: url("/fonts/shantell-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Shantell Sans"; src: url("/fonts/shantell-sans-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Caveat Brush"; src: url("/fonts/caveat-brush-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --paper: #FBF6EA;
  --card: #FFFDF6;
  --sand: #EADFC6;
  --ink: #26211D;
  --ink2: #5E554D;
  --signal: #FF5A1F;
  --on-signal: #26211D;
  --signal-deep: #B83A0E;
  --hairline: #D9CDB4;
  --muted: #9E958A;
  --sky: #DCEAF0;
  --disabled: #F4EEDF;
  --shadow: #26211D;
  --error: #A3260B;

  --wobble: 16px 11px 18px 10px / 10px 18px 11px 16px;
  --wobble-sm: 9px 6px 10px 5px / 6px 10px 5px 9px;
  --blob: 52% 48% 55% 45% / 50% 55% 45% 50%;
  --sheet-top: 28px 24px 0 0 / 26px 22px 0 0;
  --panel: 40px 26px 34px 22px / 26px 38px 22px 34px;
  --s1: 2px 3px 0 var(--shadow);
  --s2: 3px 4px 0 var(--shadow);
  --s3: 5px 6px 0 var(--shadow);

  --gutter: 16px;
  --maxw: 1120px;
  --body: "Shantell Sans", ui-rounded, system-ui, sans-serif;
  --display: "Caveat Brush", "Shantell Sans", cursive;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--signal); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
strong, b { font-weight: 800; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 900px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--wobble-sm); font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }

/* Wordmark (SYSTEM 5.14) */
.wordmark { display: inline-flex; align-items: center; font-family: var(--display); font-size: 30px; line-height: 1; text-decoration: none; color: var(--ink); min-height: 44px; }
.wm-guess { display: inline-block; margin-left: 3px; padding: 1px 6px 2px; background: var(--signal); color: var(--on-signal); border: 2px solid var(--ink); border-radius: 12px 5px 10px 4px / 5px 10px 4px 12px; transform: rotate(-3deg); }
.wordmark-sm { font-size: 24px; }

/* Header */
.site-header { background: var(--paper); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.nav-list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-weight: 800; font-size: 16px; text-decoration: none; border-radius: var(--wobble-sm); }
.nav-list a:hover { text-decoration: underline; text-decoration-color: var(--signal); }
.nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--signal); }
@media (max-width: 559px) {
  .header-row { flex-wrap: wrap; gap: 0 16px; padding-top: 4px; }
  .site-header nav { width: 100%; }
  .nav-list { margin-left: -10px; }
  .nav-list a { font-size: 15px; }
}

/* Hero: the page opens like a round, map on top and a panel sliding over it. */
.map-band {
  --mw: max(900px, 150vw);
  --px: 45%;
  --py: 56%;
  position: relative;
  height: clamp(360px, 58vh, 440px);
  overflow: hidden;
  background: #E9EEE2;
  max-width: 1680px;
  margin: 0 auto;
}
.map-canvas { position: absolute; width: var(--mw); aspect-ratio: 1902 / 1338; left: calc(var(--px) - var(--mw) * 0.3151); top: calc(var(--py) - var(--mw) * 0.3892); }
.map-img, .map-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-attrib { position: absolute; left: var(--gutter); bottom: 40px; margin: 0; z-index: 1; font-size: 12px; line-height: 16px; font-weight: 600; color: #5E554D; text-shadow: 0 0 3px #FBF6EA, 0 0 3px #FBF6EA, 0 0 3px #FBF6EA; }
@media (min-width: 900px) {
  .map-band { --mw: clamp(1500px, 118vw, 1990px); --px: 34%; height: 520px; }
  .map-attrib { bottom: 48px; }
}
@media (prefers-reduced-motion: no-preference) {
  .plane-pulse { animation: pulse 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
  @keyframes pulse { 0% { transform: scale(0.72); opacity: 0.9; } 100% { transform: scale(1.18); opacity: 0; } }
}

.hero { overflow: hidden; }
.sheet { position: relative; z-index: 2; margin: -32px -3px 0; background: var(--paper); border: 2.5px solid var(--ink); border-bottom: 0; border-radius: var(--sheet-top); padding: 24px 0 8px; }
.sheet-grid { display: grid; gap: 20px; }
.sheet h1 { font-weight: 800; font-size: clamp(34px, 7.4vw, 62px); line-height: 1.06; letter-spacing: -0.012em; max-width: 15ch; text-wrap: balance; }
.lead { margin: 14px 0 22px; font-size: clamp(17px, 2vw, 20px); line-height: 1.5; max-width: 54ch; color: var(--ink2); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.cta-meta { margin: 12px 0 0; font-size: 14px; color: var(--ink2); font-weight: 600; }
.sheet-clive { display: flex; align-items: flex-end; gap: 10px; }
.sheet-clive .clive { flex: none; }
.sheet-clive .bubble { margin-bottom: 44px; }
@media (min-width: 900px) {
  .sheet { padding-top: 40px; }
  .sheet-grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 40px; }
  .sheet-clive { margin-top: 4px; }
}

/* Speech bubble (SYSTEM 5.5): the tail faces Clive. */
.bubble { position: relative; margin: 0 0 6px; background: var(--card); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--wobble); padding: 8px 12px; font-size: 15px; line-height: 1.35; font-weight: 600; max-width: 30ch; }
.bubble-left::before, .bubble-left::after { content: ""; position: absolute; border-style: solid; border-color: transparent; }
.bubble-left::before { left: -14px; bottom: 9px; border-width: 8px 14px 8px 0; border-right-color: var(--ink); }
.bubble-left::after { left: -10px; bottom: 11.5px; border-width: 5.5px 10px 5.5px 0; border-right-color: var(--card); }

/* App Store badge: Apple's artwork as supplied, no border or shadow added. */
.store-badge { display: inline-flex; border-radius: 9px; }
.store-badge img { width: 150px; height: 50px; }
.store-note { font-size: 14px; font-weight: 800; }

/* Sections */
.section { padding: 56px 0; }
.section h2 { font-family: var(--display); font-size: clamp(38px, 6vw, 56px); line-height: 1.02; }
@media (min-width: 900px) { .section { padding: 80px 0; } }

/* Share decode */
.share-decode { padding-top: 40px; }
.share-grid { display: grid; gap: 24px; align-items: center; }
.share-grid h2 + p { margin-top: 12px; max-width: 46ch; }
.share-card { margin: 0; justify-self: start; background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--wobble); box-shadow: var(--s2); padding: 14px 18px; transform: rotate(-1deg); }
.share-text code { font: inherit; }
.share-text { margin: 0; font-family: var(--body); font-size: 19px; line-height: 1.5; font-weight: 800; font-variant-numeric: tabular-nums; white-space: pre; }
.share-key { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-weight: 600; font-size: 15px; }
.share-key li { display: flex; align-items: center; gap: 8px; }
.sq { font-size: 18px; line-height: 1; }
@media (min-width: 900px) {
  .share-grid { grid-template-columns: 1.1fr auto 1fr; gap: 48px; }
  .share-key { grid-template-columns: 1fr; }
}

/* Modes */
.modes h2 { margin-bottom: 8px; }
.mode { display: grid; gap: 28px; padding: 40px 0; border-top: 2px dashed var(--hairline); }
.modes h2 + .mode { border-top: 0; }
.mode h3 { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-size: 48px; line-height: 1; margin-bottom: 14px; }
.mode-copy p { max-width: 48ch; }
.tab-blob { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 38px; background: var(--signal); color: var(--on-signal); border: 2px solid var(--ink); border-radius: 46% 54% 50% 50% / 55% 45% 55% 45%; transform: rotate(-3deg); flex: none; }
.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 520px; padding: 0 4px 28px; }
.phone { width: 100%; border: 2.5px solid var(--ink); border-radius: 26px; box-shadow: var(--s2); background: var(--paper); transform: rotate(-1.2deg); }
.phone + .phone { transform: rotate(1.4deg) translateY(28px); }
@media (min-width: 900px) {
  .mode { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 56px; padding: 56px 0; }
  .mode-flip .mode-copy { order: 2; }
  .phones { gap: 28px; justify-self: center; width: 100%; }
}

/* Scoring */
.scoring { background: var(--sand); border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); }
.scoring h2 { margin-bottom: 24px; }
.steps { display: grid; gap: 14px; margin: 0 0 44px; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 16px 16px 14px 64px; background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--wobble); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--signal); border: 2px solid var(--ink); border-radius: var(--blob); font-weight: 800; font-size: 17px; transform: rotate(-4deg); }
.steps h3 { font-weight: 800; font-size: 18px; line-height: 1.3; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--ink2); font-weight: 600; font-size: 15px; line-height: 1.45; }
.step-icon { position: absolute; right: 14px; top: 14px; color: var(--ink2); }
.step-icon .icon { width: 20px; height: 20px; }
.scoring-sub { font-weight: 800; font-size: 22px; margin-bottom: 16px; }
.scoring-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps li { padding: 64px 16px 18px; } .steps li::before { top: 16px; left: 16px; } }
.result-card { justify-self: start; width: min(100%, 380px); background: var(--paper); border: 2.5px solid var(--ink); border-radius: var(--sheet-top); border-bottom-left-radius: 18px 12px; border-bottom-right-radius: 12px 18px; padding: 20px 18px 22px; box-shadow: var(--s3); }
.rc-title { display: flex; align-items: center; gap: 10px; }
.rc-title .mark { width: 30px; height: 30px; }
.rc-head { font-family: var(--display); font-size: 34px; line-height: 1; }
.rc-route { margin: 6px 0 16px; font-weight: 800; }
.rc-score { display: flex; align-items: center; gap: 18px; }
.score-blob { display: inline-block; padding: 6px 16px 2px; background: var(--signal); color: var(--on-signal); border: 2px solid var(--ink); border-radius: var(--blob); box-shadow: var(--s2); font-family: var(--display); font-size: 58px; line-height: 1; transform: rotate(-3deg); font-variant-numeric: tabular-nums; }
.rc-break { flex: 1; margin: 0; font-size: 15px; }
.rc-break div { display: flex; justify-content: space-between; gap: 10px; }
.rc-break dt { color: var(--ink2); font-weight: 600; }
.rc-break dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.rc-mult { margin-top: 6px; padding-top: 6px; border-top: 2px dashed var(--hairline); }
.rc-mult dd { color: var(--signal-deep); }
.scoring-copy h2 { margin-bottom: 20px; }
.rules { margin: 0; display: grid; gap: 18px; }
.rules dt { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.rules dt .icon { width: 22px; height: 22px; flex: none; }
.rules dd { margin: 4px 0 0 32px; max-width: 52ch; }
.icon .fill { fill: currentColor; }
.icon .accent { fill: var(--signal); stroke: currentColor; }
@media (min-width: 900px) {
  .scoring-grid { grid-template-columns: 420px minmax(0, 1fr); align-items: center; gap: 72px; }
  .result-card { justify-self: center; }
}

/* Clive and the sky panel (SYSTEM 5.17) */
.clive-grid { display: grid; gap: 32px; align-items: center; }
.sky-panel { position: relative; min-height: 280px; background: var(--sky); border: 2.5px solid var(--ink); border-radius: var(--panel); overflow: hidden; }
.sky-panel .cloud { position: absolute; }
.cloud-a { left: 22px; top: 26px; }
.cloud-b { right: 34px; top: 58px; }
.hill { position: absolute; left: -12%; right: -12%; bottom: -150px; height: 210px; background: #EADFC6; border-top: 2.5px solid #26211D; border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.panel-clive { position: absolute; left: 18px; right: 14px; bottom: 26px; display: flex; align-items: flex-end; gap: 12px; }
.panel-clive .clive { flex: none; margin-bottom: -6px; }
.panel-clive .bubble { margin-bottom: 62px; }
.sky-plane { position: absolute; right: 12%; top: 30px; width: 46%; max-width: 260px; height: auto; }
.clive-copy p { max-width: 46ch; }
.clive-copy h2 { margin-bottom: 14px; }
@media (min-width: 900px) {
  .clive-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .sky-panel { min-height: 320px; }
}

/* First Class */
.fc-head { display: grid; gap: 16px; margin-bottom: 28px; }
.fc-head p { max-width: 50ch; margin: 0; }
.fc-lockup { display: inline-flex; align-items: center; gap: 10px; padding: 4px 16px 6px 12px; background: var(--ink); color: var(--paper); border-radius: var(--wobble-sm); font-family: var(--body); font-weight: 800; font-size: clamp(26px, 4vw, 34px); line-height: 1.2; transform: rotate(-3deg); }
.fc-lockup .seat { width: 0.8em; height: 0.8em; }
.fc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.fc-tiles li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--wobble); font-size: 14px; line-height: 1.3; color: var(--ink2); font-weight: 600; }
.fc-tiles .icon { flex: none; width: 22px; height: 22px; color: var(--ink); }
.fc-tiles strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.fc-plans { margin: 22px 0 0; max-width: 64ch; color: var(--ink2); font-weight: 600; }
@media (min-width: 900px) {
  .fc-head { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 40px; }
  .fc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .fc-tiles li { padding: 16px; font-size: 15px; }
  .fc-tiles strong { font-size: 17px; }
}

.fc-foot { display: grid; gap: 18px; margin-top: 22px; align-items: center; }
.fc-foot .fc-plans { margin: 0; }
.fc-foot .btn { justify-self: start; }
.fc-foot .btn .icon { width: 20px; height: 20px; }
@media (min-width: 900px) { .fc-foot { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; } }

/* Early bird tag (SYSTEM 11.19): the plan tag style, level, never orange. */
.eb-tag { display: inline-block; padding: 1px 8px; margin-right: 6px; background: var(--sand); border: 2px solid var(--ink); border-radius: var(--wobble-sm); font-size: 13px; line-height: 18px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.eb-line { margin: 12px 0 0; font-weight: 600; color: var(--ink2); }
.eb-line-lg { margin: 0 0 18px; font-size: 17px; max-width: 64ch; }

/* Trophies, streaks and the Spotter Book */
.collect-grid { display: grid; gap: 32px; align-items: center; }
.collect h2 { margin-bottom: 20px; max-width: 14ch; }
.collect-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.collect-list li { display: flex; gap: 14px; align-items: flex-start; }
.collect-list .icon { flex: none; width: 26px; height: 26px; margin-top: 2px; }
.collect-list h3 { font-weight: 800; font-size: 19px; line-height: 1.3; margin-bottom: 2px; }
.collect-list p { margin: 0; max-width: 50ch; }
.your-way { margin-top: 26px; padding: 14px 16px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--wobble); max-width: 56ch; }
.your-way h3 { font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.your-way p { margin: 0; font-size: 15px; color: var(--ink2); font-weight: 600; }
@media (min-width: 900px) { .collect-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; } }

/* Closing */
.closing { padding-top: 24px; }
.closing-row { display: grid; gap: 20px; }
.closing h2 { max-width: 18ch; }
@media (min-width: 900px) { .closing-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }

/* Footer, with the tab bar's wavy top line */
.site-footer { position: relative; margin-top: 24px; padding: 40px 0 48px; font-size: 15px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='8' viewBox='0 0 48 8'%3E%3Cpath d='M0 4Q12 0 24 4T48 4' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") repeat-x center / 48px 8px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='8' viewBox='0 0 48 8'%3E%3Cpath d='M0 4Q12 0 24 4T48 4' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") repeat-x center / 48px 8px; }
.footer-grid { display: grid; gap: 24px; }
.footer-brand p { margin: 6px 0 0; color: var(--ink2); font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px 0 0; font-weight: 800; margin-right: 12px; }
.footer-fine { color: var(--ink2); font-size: 13px; line-height: 1.5; max-width: 72ch; }
.footer-fine p { margin: 0 0 6px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr 1.4fr; } .footer-fine { grid-column: 1 / -1; } }

/* Buttons (SYSTEM 5.2) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px; border: 2.5px solid var(--ink); border-radius: var(--wobble); font-family: var(--body); font-size: 18px; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--signal); color: var(--on-signal); box-shadow: var(--s2); }
.btn-primary:active { transform: translate(3px, 4px); box-shadow: none; }
.btn-secondary { background: var(--card); color: var(--ink); }
.btn[aria-disabled="true"], .btn:disabled { background: var(--disabled); color: var(--ink2); border-style: dashed; box-shadow: none; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .btn-primary:active { transform: none; } }

/* Inner pages */
.placeholder { background: #FFE9A8; box-shadow: 0 0 0 2px #FFE9A8; border-radius: 3px; font-weight: 800; }
.page-head { padding: 28px 0 8px; }
.page-head h1 { font-family: var(--display); font-size: clamp(48px, 9vw, 76px); line-height: 1; }
.page-head .lead { margin-top: 12px; }
.doc { max-width: 70ch; }
.doc h2 { margin: 44px 0 12px; font-weight: 800; font-size: 24px; line-height: 1.25; scroll-margin-top: 16px; }
.doc h3 { margin: 26px 0 8px; font-weight: 800; font-size: 18px; line-height: 1.3; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--ink2); }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 2px dashed var(--hairline); }
.doc th { font-weight: 800; }
.table-scroll { overflow-x: auto; }
.meta-line { color: var(--ink2); font-weight: 600; font-size: 15px; }
.draft-note { margin: 18px 0 8px; padding: 12px 16px; background: var(--disabled); border: 2.5px dashed var(--ink); border-radius: var(--wobble); font-size: 15px; max-width: 70ch; }
.draft-note strong { display: block; font-size: 16px; }
.summary-card { margin: 24px 0 8px; padding: 18px 20px 8px; background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--wobble); box-shadow: var(--s2); }
.summary-card h2 { margin-top: 0; font-size: 20px; }
.summary-card ul { padding-left: 1.2em; }
.toc { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 800; font-size: 15px; }
.toc a { display: inline-flex; min-height: 44px; align-items: center; }

/* Support: FAQ */
.support-grid { display: grid; gap: 56px; padding: 24px 0 40px; }
.faq h2, .contact h2 { font-family: var(--display); font-size: clamp(38px, 6vw, 52px); line-height: 1; margin-bottom: 16px; }
.faq h3 { margin: 28px 0 10px; font-weight: 800; font-size: 15px; color: var(--ink2); }
.faq details { background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--wobble); margin-bottom: 10px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 16px; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg) translate(-2px, -2px); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details[open] summary { border-bottom: 2px dashed var(--hairline); }
.faq .answer { padding: 12px 16px 4px; }
.faq .answer p { max-width: 62ch; }
@media (min-width: 1000px) { .support-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; gap: 64px; } .contact-aside { position: sticky; top: 16px; } }

.contact-aside .contact-card h2 { font-family: var(--display); font-size: 40px; line-height: 1; margin-bottom: 10px; }
.contact-aside .btn .icon, .contact .btn .icon { width: 22px; height: 22px; }

/* First Class page */
.fc-page-head { display: grid; gap: 24px; align-items: end; padding-bottom: 16px; }
.fc-lockup-xl { font-size: clamp(34px, 6vw, 48px); padding: 6px 20px 8px 14px; }
.fc-page-head .lead { margin: 18px 0 22px; }
.head-clive { display: flex; align-items: flex-end; gap: 10px; }
.head-clive .clive { flex: none; }
.head-clive .bubble { margin-bottom: 48px; }
@media (min-width: 900px) { .fc-page-head { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; } }
.fc-section { padding: 36px 0; border-top: 2px dashed var(--hairline); }
.fc-section h2 { font-family: var(--display); font-size: clamp(38px, 6vw, 52px); line-height: 1; margin-bottom: 20px; }
.benefits { display: grid; gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
.benefits li { position: relative; padding: 16px 16px 14px 62px; background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--wobble); }
.benefit-icon { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--sand); border: 2px solid var(--ink); border-radius: var(--wobble-sm); }
.benefit-icon .icon { width: 22px; height: 22px; }
.benefits h3 { font-weight: 800; font-size: 18px; line-height: 1.3; margin-bottom: 4px; }
.benefits p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink2); font-weight: 600; }
@media (min-width: 700px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.phones-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 720px; margin: 0 auto; gap: 12px; }
.phones-3 .phone:nth-child(3) { transform: rotate(-1deg) translateY(8px); }
.free-card .free-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.free-list li { display: flex; gap: 10px; align-items: flex-start; }
.free-list .icon { flex: none; width: 22px; height: 22px; margin-top: 3px; }
@media (min-width: 800px) { .free-card .free-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; } }
.plans { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.plan { position: relative; padding: 16px 18px 14px; background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--wobble); }
.plan:first-child { box-shadow: var(--s1); }
.plan h3 { font-weight: 800; font-size: 20px; line-height: 1.3; margin-bottom: 4px; }
.plan p { margin: 0; color: var(--ink2); font-weight: 600; font-size: 15px; }
.plan .plan-tag { position: absolute; right: 14px; top: -13px; padding: 1px 8px; background: var(--sand); border: 2px solid var(--ink); border-radius: var(--wobble-sm); font-size: 13px; line-height: 18px; font-weight: 800; color: var(--ink); transform: rotate(-3deg); }
.plans-note { margin: 18px 0 0; max-width: 64ch; color: var(--ink2); font-weight: 600; font-size: 15px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.faq-more { margin-top: 18px; font-weight: 600; }
.fc-section.faq { max-width: 860px; }

/* Feedback */
.feedback-grid { display: grid; gap: 40px; padding: 8px 0 40px; }
.addresses h2 { font-family: var(--display); font-size: clamp(36px, 5vw, 44px); line-height: 1; margin-bottom: 16px; }
.addr-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.addr-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--wobble); }
.addr-list .icon { flex: none; width: 22px; height: 22px; margin-top: 3px; }
.addr-list a:first-child { font-weight: 800; font-size: 17px; overflow-wrap: anywhere; }
.addr-list span { display: block; color: var(--ink2); font-weight: 600; font-size: 15px; }
@media (min-width: 1000px) { .feedback-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: 56px; } }

/* Feedback: the form */
.contact-card { background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--wobble); box-shadow: var(--s2); padding: 20px 18px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 800; font-size: 16px; }
.field .hint { font-size: 13px; color: var(--ink2); font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; background: var(--paper); color: var(--ink); border: 2.5px solid var(--ink); border-radius: var(--wobble); font: 600 16px/1.4 var(--body); }
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--error); border-style: dashed; }
.field-error { margin: 0; color: var(--error); font-size: 14px; font-weight: 800; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot { min-height: 65px; margin: 4px 0 16px; }
.form-status { margin: 14px 0 0; font-weight: 800; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.form-fallback { margin: 8px 0 0; font-weight: 600; }
.form-fallback:empty { display: none; }
.form-fallback a { font-weight: 800; }
.copy-btn { min-height: 36px; padding: 2px 14px; border: 2px solid var(--ink); border-radius: var(--wobble-sm); background: var(--card); color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.copy-status:empty { display: none; }
.copy-source { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }
.form-fine { margin: 14px 0 0; font-size: 13px; color: var(--ink2); font-weight: 600; }
.sent { text-align: left; }
.sent h3 { font-family: var(--display); font-size: 40px; line-height: 1; margin: 0 0 10px; }

/* Credits and press */
.credit-list { display: grid; gap: 14px; margin: 24px 0; padding: 0; list-style: none; }
.credit-list li { padding: 16px 18px; background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--wobble); }
.credit-list h2 { margin: 0 0 4px; font-size: 20px; }
.credit-list p { margin: 0 0 6px; }
.licence { display: inline-block; padding: 1px 8px; border: 2px solid var(--ink); border-radius: var(--wobble-sm); font-size: 13px; font-weight: 800; }
.press-block { padding: 32px 0; border-top: 2px dashed var(--hairline); }
.press-block:first-of-type { border-top: 0; }
.press-block h2 { font-family: var(--display); font-size: 44px; line-height: 1; margin-bottom: 14px; }
.press-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.press-grid figure { margin: 0; }
.press-grid figcaption { margin-top: 8px; font-size: 14px; font-weight: 600; }
.press-grid a { font-weight: 800; }
.press-shot { width: 100%; border: 2.5px solid var(--ink); border-radius: 22px; }
.press-clive { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; background: var(--sky); border: 2.5px solid var(--ink); border-radius: var(--wobble); }
.press-icon { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.press-icon img { width: 120px; border-radius: 27px; border: 2.5px solid var(--ink); box-shadow: var(--s3); }
.copy-block { padding: 14px 16px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--wobble); margin-bottom: 14px; max-width: 70ch; }
.copy-block h3 { margin: 0 0 6px; font-size: 15px; font-weight: 800; color: var(--ink2); }
.copy-block p:last-child { margin-bottom: 0; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; margin: 0; max-width: 70ch; }
.facts dt { font-weight: 800; }
.facts dd { margin: 0; }
@media (min-width: 900px) { .press-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

/* 404 */
.lost { display: grid; gap: 24px; padding-top: 48px; padding-bottom: 32px; align-items: center; }
.lost h1 { font-family: var(--display); font-size: clamp(48px, 9vw, 76px); line-height: 1; margin-bottom: 12px; }
@media (min-width: 900px) { .lost { grid-template-columns: auto minmax(0, 1fr); gap: 48px; } }

.doc .toc { padding-left: 0; }

.clive-flip { transform: scaleX(-1); }
