/* Self-hosted brand fonts (Latin subsets, SIL Open Font License — see assets/fonts/) */
@font-face { font-family: 'Michroma'; font-weight: 400; font-display: swap; src: url('/assets/fonts/Michroma-Regular.woff') format('woff'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-display: swap; src: url('/assets/fonts/IBMPlexSans-Regular.woff') format('woff'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 500; font-display: swap; src: url('/assets/fonts/IBMPlexSans-Medium.woff') format('woff'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 600; font-display: swap; src: url('/assets/fonts/IBMPlexSans-SemiBold.woff') format('woff'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-display: swap; src: url('/assets/fonts/IBMPlexMono-Regular.woff') format('woff'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-display: swap; src: url('/assets/fonts/IBMPlexMono-Medium.woff') format('woff'); }

/* Kosmova — pre-launch splash
   Palette: Cobalt × International Orange (approved pairings only) */

:root {
  --cobalt: #12306B;
  --night: #081636;
  --orange: #FF4F00;        /* logo, orbit, icons, rules only — never text */
  --orange-300: #FF9A66;    /* large accent text on cobalt (24px+) */
  --orange-deep: #C43D00;   /* button background, white text */
  --orange-700: #A93400;    /* links on paper */
  --peach: #FFC3A1;         /* small accent text on cobalt */
  --peach-100: #FFE3D3;     /* tag background, cobalt text */
  --paper: #F6F7F9;
  --surface: #FFFFFF;
  --alt: #ECEEF2;
  --line: #D9DDE4;
  --body: #3C4350;
  --muted: #535B6B;
  --muted-on-cobalt: #B7C6E6;

  --display: 'Michroma', 'Eurostile', 'Arial Narrow', sans-serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --gutter: clamp(20px, 8vw, 120px);
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--cobalt);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--paper); color: var(--cobalt); padding: 8px 12px; z-index: 10;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { background: var(--cobalt); }
.site-header .wrap {
  height: 88px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--paper);
}
.brand svg { width: 42px; height: 42px; }
.brand span {
  font-family: var(--display);
  font-size: 18px; letter-spacing: 0.18em;
}
.nav { display: flex; gap: 40px; font-size: 15px; }
.nav a { color: var(--paper); text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--cobalt); color: var(--paper);
  padding: 112px 0 120px;
}
.hero-art {
  position: absolute; right: 0; bottom: 0;
  width: min(1100px, 90vw); height: auto;
  pointer-events: none;
}
.hero .wrap { position: relative; }
.eyebrow {
  margin: 0 0 28px;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.22em; color: var(--peach);
}
.hero h1 {
  margin: 0 0 28px;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(26px, 3.4vw, 44px); line-height: 1.3;
  color: var(--paper);
}
.hero h1 span { display: block; }
.lede {
  margin: 0 0 40px; max-width: 640px;
  font-size: clamp(17px, 1.6vw, 20px); color: var(--muted-on-cobalt);
}

.signup label {
  display: block; margin-bottom: 10px;
  font-size: 14px; font-weight: 500; color: var(--paper);
}
.signup-row { display: flex; gap: 12px; flex-wrap: wrap; }
.signup input[type="email"] {
  flex: 0 1 360px; min-width: 0; height: 52px; padding: 0 16px;
  font: inherit; font-size: 16px; color: var(--cobalt);
  background: var(--paper); border: 1px solid var(--paper); border-radius: 4px;
}
.btn {
  height: 52px; padding: 0 28px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 16px; font-weight: 600;
  border: 0; border-radius: 4px; cursor: pointer; text-decoration: none;
}
.btn-action { background: var(--orange-deep); color: #FFFFFF; }
.btn-action:hover { background: #A93400; }
.btn-solid { background: var(--cobalt); color: var(--paper); }
.btn-solid:hover { background: var(--night); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup-msg { min-height: 1.6em; margin: 12px 0 0; font-size: 15px; color: var(--peach); }
.quote-link { display: inline-block; margin-top: 12px; font-size: 15px; color: var(--paper); }

/* ---------- LC Vertical ---------- */
.product { padding: 112px 0; }
.product .wrap {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px; align-items: center;
}
.drawing {
  background: var(--alt); border: 1px solid var(--line); border-radius: 6px;
}
.drawing svg { width: 100%; height: auto; }
.drawing .mobile { display: none; }
.tag {
  display: inline-block; margin: 0 0 20px; padding: 6px 12px; border-radius: 4px;
  background: var(--peach-100); color: var(--cobalt);
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.2em;
}
.product h2, .build h2 {
  margin: 0 0 20px;
  font-family: var(--display); font-weight: 400; letter-spacing: 0.04em;
  font-size: clamp(24px, 2.4vw, 34px); color: var(--cobalt);
}
.product p { margin: 0 0 24px; font-size: 18px; color: var(--body); }
.specs {
  margin: 0 0 32px; padding-top: 20px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 160px minmax(0, 1fr); row-gap: 12px; column-gap: 12px;
  font-size: 16px; color: var(--cobalt);
}
.specs dt { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--muted); padding-top: 2px; }
.specs dd { margin: 0; }

/* ---------- What we build ---------- */
.build { background: var(--alt); padding: 96px 0; }
.cards {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.card {
  padding: 32px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 6px;
}
.card svg { width: 28px; height: 28px; margin-bottom: 14px; }
.card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; color: var(--cobalt); }
.card p { margin: 0; font-size: 16px; color: var(--body); }
.card a { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--orange-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--cobalt); color: var(--muted-on-cobalt); padding: 64px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.site-footer .word { font-family: var(--display); font-size: 16px; letter-spacing: 0.18em; color: var(--paper); }
.site-footer p { margin: 10px 0 0; font-size: 14px; }
.site-footer .contact { text-align: right; font-size: 15px; }
.site-footer .contact a { color: var(--paper); }

/* ---------- Trademark + fine print ---------- */
.tm {
  font-family: var(--sans); font-size: max(9px, 0.55em); font-weight: 500;
  letter-spacing: 0; vertical-align: 0; position: relative; top: -0.8em;
  margin-left: -0.1em; color: var(--muted-on-cobalt);
}
.signup-fine { margin: 10px 0 0; font-size: 13px; color: var(--muted-on-cobalt); }
.signup-fine a, .site-footer p a { color: var(--peach); }
.site-footer .tm-note { font-size: 12px; opacity: 0.85; }
.site-footer .addr { margin-top: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .product .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .site-header .wrap { height: 64px; }
  .brand svg { width: 32px; height: 32px; }
  .brand span { font-size: 14px; }
  .nav { gap: 18px; font-size: 14px; }
  .nav .hide-sm { display: none; }
  .hero { padding: 56px 0 64px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.2em; margin-bottom: 22px; }
  .signup-row { flex-direction: column; }
  .signup input[type="email"], .signup .btn { flex: none; width: 100%; }
  .product, .build { padding: 64px 0; }
  .drawing .desktop { display: none; }
  .drawing .mobile { display: block; }
  .specs { grid-template-columns: 124px minmax(0, 1fr); font-size: 15px; }
  .product p { font-size: 17px; }
  .card { padding: 24px; }
  .site-footer .contact { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
