/* ============================================================
   Coffs Coast Drones — Base element defaults
   Chart-paper ground, cold-black ink, generous body size.
   Light resets + typographic defaults shared by specimen cards
   and kits. Optional for consumers.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base); /* 17px — this is a shop; readability wins */
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-strong);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-heading);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: var(--text-4xl); line-height: var(--lh-tight); font-weight: var(--fw-black); letter-spacing: var(--ls-display); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--text-link); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

code, kbd, samp { font-family: var(--font-mono); font-size: 0.92em; }

/* Eyebrow / overline label — uppercase, tracked-out mono (the aviation tell) */
.ccd-eyebrow {
  font-family: var(--font-mono);
  font-weight: var(--fw-semibold);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--brand);
}

/* Display / wordmark / headline face — condensed grotesque, tight, uppercase */
.ccd-display {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  text-transform: uppercase;
  letter-spacing: var(--ls-display);
  line-height: var(--lh-tight);
}

/* THE identity rule: every number is monospace. Apply to any numeric run —
   prices, SKUs, specs, flight times, payload, range, altitude, quantities. */
.ccd-data, .ccd-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--ls-data);
  font-feature-settings: "tnum" 1;
}

::selection { background: var(--restricted-100); color: var(--restricted-900); }

/* Restricted-magenta focus ring, everywhere */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
