/*
  Piko marketing site — shared stylesheet.
  System fonts only, no external requests. Palette per docs/brand.md.
  Light is the default; dark follows prefers-color-scheme, per brand.md's
  token table. No teal or mint anywhere.
*/

:root {
  --bg: #F7F3EA;            /* Sailcloth */
  --surface: #FFFCF5;       /* Paper */
  --text: #17365B;          /* Navy */
  --text-muted: #52647A;
  --border: #CCD3DA;
  --accent: #456F9F;        /* Piko Blue */
  --on-accent: #FFFFFF;
  --accent-line: #C74138;   /* Signal Red — restrained accent only, never small text */
  --ok: #245C43;
  --ok-soft: #E3F1E8;
  --planned: #52647A;
  --planned-soft: #E7E2D4;
  --focus: #456F9F;
  --shadow: 0 1px 2px rgba(23, 54, 91, 0.08), 0 4px 16px rgba(23, 54, 91, 0.06);

  /* Type scale: display is spent on exactly two moments (the hero headline
     and the editorial numerals) — everything else steps down from h2. */
  --fs-display: clamp(2.375rem, 6vw + 1rem, 6rem);
  --fs-display-2: clamp(2.25rem, 4vw + 1.25rem, 4.5rem);
  --fs-h2: clamp(1.75rem, 1.5vw + 1.25rem, 2.75rem);

  /* A fixed dark pair, independent of prefers-color-scheme, for the one
     section that is deliberately always dark regardless of OS theme. */
  --deep-bg: #101F35;
  --deep-surface: #1B3049;
  --deep-panel: #1B3049;
  --deep-text: #FFFCF5;
  --deep-text-muted: #B9CADD;
  --deep-border: #3C5773;
  --deep-accent: #A6C5E3;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101F35;            /* Deep Ocean */
    --surface: #20364F;       /* Dark Surface */
    --text: #FFFCF5;          /* Paper */
    --text-muted: #B9CADD;
    --border: #526982;
    --accent: #A6C5E3;        /* Sky */
    --on-accent: #101F35;
    --accent-line: #FF9389;   /* Coral — dark-theme accent counterpart */
    --ok: #A2DBB8;
    --ok-soft: #254737;
    --planned: #B9CADD;
    --planned-soft: #2B3F58;
    --focus: #A6C5E3;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.3);

    /* The always-dark section still needs to read as a deliberate accent
       against a dark page, so it steps to the darkest bg and a lighter panel. */
    --deep-bg: #0B1728;
    --deep-surface: #16283F;
    --deep-panel: #1E3652;
    --deep-border: #44607D;

    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
}

a:not(.button) {
  text-underline-offset: 0.15em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--surface);
  color: var(--text);
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  z-index: 100;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wrap-wide {
  max-width: 84rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* .prose caps reading width WITHOUT re-centering the section: the max-width
   goes on the children, not on the .wrap element itself, so the (already
   left-inset, already correctly positioned) .wrap box just holds a narrower
   column that starts flush at the same left edge as every other section —
   instead of the old bug, where max-width on the .wrap.prose element itself
   fought its own `margin: 0 auto` and centred the whole block on the page. */
.prose > * {
  max-width: 40rem;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .site-header .wrap {
    justify-content: flex-start;
  }
  .site-nav {
    width: 100%;
  }
  .site-nav ul {
    gap: 0.5rem 1.25rem;
  }
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}

.brand-mark img,
.brand-mark svg {
  /* The brand guide's floor is 64 CSS px WIDE for the wordmark
     (docs/brand/Brand-Guidelines.md §5). The asset is 330x160, so width is
     height x 2.06 and 28px tall rendered 57.75px wide -- under it. */
  height: 34px;
  width: auto;
}

.brand-mark .dark-mark,
.foot-brand .dark-mark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .brand-mark .light-mark,
  .foot-brand .light-mark {
    display: none;
  }
  .brand-mark .dark-mark,
  .foot-brand .dark-mark {
    display: inline-block;
  }
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.25rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: var(--border);
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
}

/* Buttons */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  font-size: 1rem;
}

.button-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.button-primary:hover {
  opacity: 0.92;
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.button-secondary:hover {
  border-color: var(--accent);
}

.section-dark .button-secondary {
  color: var(--deep-text);
  border-color: var(--deep-border);
}

.section-dark .button-secondary:hover {
  border-color: var(--deep-accent);
}

/* ==========================================================================
   Home hero — asymmetric: eyebrow + left-aligned display headline on the
   left, a real screenshot bleeding to the viewport edge on the right.
   Nothing here is centred and nothing floats in a shadowed card.
   ========================================================================== */

.hero-shell {
  padding: clamp(2rem, 5vw, 3.5rem) 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.hero-copy {
  padding-left: max(1.5rem, calc((100vw - 72rem) / 2 + 1.5rem));
  padding-right: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1.25rem;
}

.hero-copy h1 {
  font-size: var(--fs-display);
  line-height: 0.98;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.hero-copy .support {
  font-size: clamp(1.125rem, 1vw + 1rem, 1.375rem);
  color: var(--text-muted);
  max-width: 30rem;
  margin: 0;
}

.hero-shot {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
}

.hero-shot figure {
  margin: 0;
  width: 100%;
}

.hero-shot img {
  width: 100%;
  display: block;
}

.hero-shot figcaption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (min-width: 861px) {
  .hero-shot {
    /* Bleed past the content column, all the way to the viewport edge. */
    margin-right: calc(-1 * max(1.5rem, calc((100vw - 72rem) / 2 + 1.5rem)));
  }
  .hero-shot figcaption {
    padding-right: max(1.5rem, calc((100vw - 72rem) / 2 + 1.5rem));
  }
}

@media (max-width: 860px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding-left: 1.5rem;
    padding-bottom: 2rem;
    order: 2;
  }
  .hero-shot {
    order: 1;
  }
  .hero-shot figcaption {
    padding: 0 1.5rem;
  }
  .hero-copy h1 {
    max-width: none;
  }
}

.example-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  flex: none;
}

/* ==========================================================================
   Sections generally
   ========================================================================== */

main section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  border-top: 1px solid var(--border);
}

main section:first-of-type {
  border-top: none;
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.12;
  margin: 0 0 1rem;
  max-width: 36rem;
}

h3 {
  font-size: 1.375rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.section-lede {
  color: var(--text-muted);
  max-width: 42rem;
  font-size: 1.0625rem;
  margin: 0 0 2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

/* A section that is always dark, regardless of the reader's OS theme —
   deliberate rhythm-breaking, not a light/dark mode state. */

.section-dark {
  background: var(--deep-bg);
  color: var(--deep-text);
  border-top: none;
}

.section-dark .eyebrow {
  color: var(--deep-accent);
}

.section-dark .section-lede,
.section-dark p {
  color: var(--deep-text-muted);
}

.section-dark h2 {
  color: var(--deep-text);
}

.section-dark a:not(.button) {
  color: var(--deep-accent);
}

/* Split layout: prose on one side, a panel or shot on the other. Used by
   the reissue case (Stripe-style output panel) and the decisions shot. */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split > .split-copy p {
  margin: 0 0 1rem;
}

.split > .split-copy p:last-child {
  margin-bottom: 0;
}

/* Output panel — the reissue case's "what Piko actually emits" panel. */

.output-panel {
  background: var(--deep-panel, var(--deep-surface));
  border: 1px solid var(--deep-border);
  border-radius: 12px;
  padding: 1.5rem 1.5rem 1.75rem;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

.output-panel .op-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--deep-accent);
  margin: 0 0 1.1rem;
}

.op-lines {
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.op-lines > div {
  display: grid;
  grid-template-columns: minmax(7.5rem, 9.5rem) 1fr;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.op-lines dt {
  color: var(--deep-text-muted);
}

.op-lines dd {
  margin: 0;
  color: var(--deep-text);
}

.op-result {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  border-top: 1px solid var(--deep-border);
  padding-top: 1.1rem;
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--deep-text);
  font-style: italic;
}

@media (max-width: 480px) {
  .op-lines > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* Cards / grid (used sparingly — see the editorial list for the pillars) */

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card p {
  color: var(--text-muted);
  margin: 0;
}

.status-pill {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-top: 1rem;
}

.status-available {
  background: var(--ok-soft);
  color: var(--ok);
}

.status-planned {
  background: var(--planned-soft);
  color: var(--planned);
}

/* Illustration / example callout */

.illustration-label {
  color: var(--accent-line);
}

.section-dark .illustration-label {
  color: #FF9389;
}

/* Capability table — dense and quiet: no card chrome, just hairlines. */

.capability-table {
  width: 100%;
  border-collapse: collapse;
}

.capability-table caption {
  text-align: left;
  padding: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.capability-table th,
.capability-table td {
  text-align: left;
  padding: 0.7rem 0.75rem;
  border-top: 1px solid var(--border);
  vertical-align: top;
}

.capability-table tbody tr:last-child {
  border-bottom: 1px solid var(--border);
}

.capability-table thead th {
  border-top: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding-left: 0.75rem;
}

.capability-table td:first-child,
.capability-table th:first-child {
  padding-left: 0;
}

.capability-table td:first-child {
  font-weight: 600;
}

@media (max-width: 640px) {
  .capability-table thead {
    display: none;
  }
  .capability-table,
  .capability-table tbody,
  .capability-table tr,
  .capability-table td {
    display: block;
    width: 100%;
  }
  .capability-table tr {
    border-top: 1px solid var(--border);
    padding: 1rem 0;
  }
  .capability-table td {
    border-top: none;
    padding: 0.2rem 0;
  }
  .capability-table td:before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-top: 0.6rem;
  }
  .capability-table td:first-child:before {
    content: none;
  }
}

/* ==========================================================================
   Editorial numbered list — replaces the old equal-weight card grid for the
   pillars (and doubles as the how-it-works step list). One restrained
   display-scale moment: the numerals, set quiet and pale, not shouting.
   ========================================================================== */

.editorial-list {
  display: grid;
}

.editorial-item {
  display: grid;
  grid-template-columns: minmax(3.5rem, auto) 1fr;
  gap: 0.5rem 1.75rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.editorial-list .editorial-item:last-child {
  border-bottom: 1px solid var(--border);
}

.editorial-num {
  font-size: var(--fs-display-2);
  font-weight: 800;
  line-height: 0.9;
  color: var(--accent);
  opacity: 0.32;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  grid-row: 1 / 3;
}

.editorial-item h3 {
  margin: 0.3rem 0 0.5rem;
}

.editorial-item p {
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  max-width: 40rem;
}

.editorial-item .status-pill {
  margin-top: 0;
}

@media (max-width: 520px) {
  .editorial-item {
    grid-template-columns: 1fr;
  }
  .editorial-num {
    grid-row: auto;
  }
}

/* Measured numbers — a quiet row divided by rules, not three boxes. */

.measures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.measure {
  padding: 0 1.75rem;
  border-left: 1px solid var(--border);
}

.measure:first-child {
  padding-left: 0;
  border-left: none;
}

.measure .number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5rem;
  font-variant-numeric: tabular-nums;
}

.measure p {
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.measure .qualifier {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 640px) {
  .measures {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .measure {
    padding-left: 0;
    border-left: none;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
  }
  .measure:first-child {
    padding-top: 0;
    border-top: none;
  }
}

/* ==========================================================================
   Product shots — real screenshots, thin hairline frame, no drop shadow.
   Every one carries a visible "example data" label.
   ========================================================================== */

.shot {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.shot img {
  width: 100%;
  display: block;
}

.shot-caption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Annotated shot — Rains-style hairline callouts in HTML/CSS, over a real,
   uncropped-by-us screenshot. Degrades to a plain list under 700px. */

.annotated-pad {
  padding: 4rem 0 2.5rem;
}

.annotated-frame {
  position: relative;
}

.annotated-frame img {
  width: 100%;
  display: block;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.callout {
  position: absolute;
  display: flex;
  width: 10.5rem;
}

.callout .dot {
  width: 9px;
  height: 9px;
  min-width: 9px;
  border-radius: 50%;
  background: var(--accent-line);
  box-shadow: 0 0 0 3px var(--surface);
}

.callout .stem {
  background: var(--accent-line);
  flex: none;
}

.callout .callout-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
  line-height: 1.35;
  box-shadow: 0 3px 10px rgba(23, 54, 91, 0.14);
}

.callout .callout-card strong {
  display: block;
  color: var(--text);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.callout .callout-card span {
  color: var(--text-muted);
}

.callout-right,
.callout-left {
  align-items: center;
}

.callout-right .stem {
  width: 1.35rem;
  height: 1px;
}

.callout-left {
  flex-direction: row-reverse;
  transform: translate(-100%, -50%);
}

.callout-right {
  transform: translate(0, -50%);
}

.callout-left .stem {
  width: 1.35rem;
  height: 1px;
}

.callout-down,
.callout-up {
  flex-direction: column;
  align-items: center;
}

.callout-down {
  transform: translate(-50%, 0);
}

.callout-up {
  flex-direction: column-reverse;
  transform: translate(-50%, -100%);
}

.callout-down .stem,
.callout-up .stem {
  width: 1px;
  height: 1.1rem;
}

.callout-list {
  display: none;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  gap: 1.25rem;
}

.callout-list li {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.callout-list strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.callout-list span {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Below ~900px the wrap-wide frame is narrow enough that two fixed-width
   callout cards at nearby left% anchors can collide (or a left-edge callout
   can clip past the viewport edge); shrink the card so the same anchors
   keep clearing each other and the frame all the way down to the 700px
   cutoff, where the plain list takes over. */
@media (max-width: 900px) {
  .callout {
    width: 7.5rem;
  }
  .callout .callout-card {
    font-size: 0.7rem;
    padding: 0.35rem 0.55rem;
  }
}

@media (max-width: 700px) {
  .annotated-pad {
    padding-bottom: 1.5rem;
  }
  .callout {
    display: none;
  }
  .callout-list {
    display: grid;
  }
}

/* Not-for list */

.not-for-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.not-for-list li {
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-muted);
}

.not-for-list li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--accent-line);
}

.not-for-list strong {
  color: var(--text);
}

/* Details / FAQ — a plain accordion, rules not boxes. */

.qa-list {
  display: grid;
}

.qa-list details {
  border-top: 1px solid var(--border);
  padding: 0;
}

.qa-list details:last-child {
  border-bottom: 1px solid var(--border);
}

.qa-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.0625rem;
  padding: 1.25rem 0;
  list-style: none;
}

.qa-list summary::-webkit-details-marker {
  display: none;
}

.qa-list summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--text-muted);
}

.qa-list details[open] summary::after {
  content: "\2212";
}

.qa-list details p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 42rem;
}

/* Final CTA — carries the page's one bird, small and off to the side. */

.cta-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.cta-block .cta-text {
  flex: 1 1 28rem;
}

.cta-bird {
  flex: none;
  width: 92px;
  opacity: 0.92;
}

@media (max-width: 640px) {
  .cta-block {
    align-items: flex-start;
  }
  .cta-bird {
    display: none;
  }
}

/* Page hero (how-it-works, pilot) — already asymmetric two columns. */

.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.5rem, 4vw, 3rem);
}

.page-hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 3vw + 1rem, 3.25rem);
  line-height: 1.12;
  margin: 0 0 1rem;
}

.page-hero .support {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0;
}

.hero-art {
  justify-self: center;
}

.hero-art img {
  width: 100%;
  max-width: 320px;
}

.page-hero .hero-art img {
  max-width: 260px;
}

@media (max-width: 860px) {
  .page-hero .wrap {
    grid-template-columns: 1fr;
  }
  .page-hero .hero-art {
    order: -1;
    max-width: 200px;
    margin: 0 auto;
  }
}

/* Typographic hero marks — how-it-works and pilot lead with information
   instead of the bird illustration; each uses zero or one bird elsewhere
   on the page, never in the hero slot, per "one bird per screen." */

.hero-stat {
  max-width: 280px;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-stat p {
  margin: 0;
}

.hero-stat .hero-stat-number {
  font-size: var(--fs-display-2);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.6rem;
}

.hero-stat .hero-stat-label {
  color: var(--text);
  font-size: 1.0625rem;
  margin-bottom: 0.6rem;
}

.hero-stat .hero-stat-qualifier {
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-style: italic;
}

.hero-marks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 280px;
}

.hero-mark {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin: 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.hero-mark:first-child {
  border-top: none;
  padding-top: 0;
}

.hero-mark-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.45;
  font-variant-numeric: tabular-nums;
}

.hero-mark-label {
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text);
}

/* Pilot page specifics */

.pilot-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.pilot-list li {
  margin-bottom: 0.6rem;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
}

.contact-card .contact-value {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 1.25rem;
  display: inline-block;
  margin: 0.75rem 0 1.25rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 3rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer .foot-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer .foot-brand img,
.site-footer .foot-brand svg {
  /* Same floor as the header mark: 32px tall renders ~66px wide. */
  height: 32px;
  width: auto;
}

.site-footer p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 26rem;
  margin: 0;
}

.site-footer .foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.site-footer .foot-links a {
  color: var(--text);
  text-decoration: none;
}

.site-footer .foot-links a:hover {
  text-decoration: underline;
}

.site-footer .fine-print {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.site-footer .wrap > .fine-print {
  width: 100%;
}
