/* Panorama public site - Hi-Vis brand (Build Plan 4.2). Light and dark themes share one set of tokens. */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }

:root {
  /* brand */
  --graphite: #1F2326;
  --hivis: #C8E62E;
  --cloud: #F1F3F2;
  --slate: #5B6266;

  /* light theme */
  --page: #FFFFFF;
  --alt: #F1F3F2;
  --header: rgba(255, 255, 255, 0.94);
  --hero: #F1F3F2;
  --footer: #FFFFFF;
  --card: #FFFFFF;
  --card-line: #DADEDC;
  --line: #DADEDC;
  --line-2: #A9B0B3;
  --ink: #1F2326;
  --body: #3E4447;
  --muted: #5B6266;
  --acc-text: #4F6B00;
  --offcut: #79A800;
  --hero-card: #1F2326;
  --hero-card-line: #1F2326;
  --hero-tile: #2A2F33;
  --panel-line: #1F2326;
  --focus: #4F6B00;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #1F2326; --alt: #24292C; --header: rgba(26, 29, 32, 0.94); --hero: #1F2326; --footer: #1A1D20;
    --card: #2A2F33; --card-line: #3A4044; --line: #3A4044; --line-2: #5B6266;
    --ink: #F1F3F2; --body: #C9CECC; --muted: #A9B0B3; --acc-text: #C8E62E; --offcut: #C8E62E;
    --hero-card: #2A2F33; --hero-card-line: #3A4044; --hero-tile: #1F2326; --panel-line: #C8E62E; --focus: #C8E62E;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #1F2326; --alt: #24292C; --header: rgba(26, 29, 32, 0.94); --hero: #1F2326; --footer: #1A1D20;
  --card: #2A2F33; --card-line: #3A4044; --line: #3A4044; --line-2: #5B6266;
  --ink: #F1F3F2; --body: #C9CECC; --muted: #A9B0B3; --acc-text: #C8E62E; --offcut: #C8E62E;
  --hero-card: #2A2F33; --hero-card-line: #3A4044; --hero-tile: #1F2326; --panel-line: #C8E62E; --focus: #C8E62E;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--hivis); color: var(--graphite); padding: 10px 14px; font-weight: 700; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.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; }

/* type */
h1, h2, h3 { font-family: var(--display); margin: 0; }
h1 { font-size: clamp(48px, 7vw, 84px); font-weight: 800; line-height: 0.92; text-transform: uppercase; }
h2 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1; text-transform: uppercase; }
h3 { font-size: 26px; font-weight: 700; line-height: 1.1; }
p { margin: 0; }
.eyebrow { font-family: var(--display); font-size: 16px; font-weight: 700; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }
.lede { font-size: 19px; color: var(--body); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 20px; border-radius: 4px; font: 600 16px/1.2 var(--text); text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--hivis); color: var(--graphite); font-weight: 700; }
.btn-primary:hover { background: #D4EE4A; }
.btn-ghost { color: var(--ink); border-color: var(--line-2); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { font-size: 17px; padding: 16px 24px; }
.btn-dark { background: var(--graphite); color: var(--cloud); font-weight: 700; border: none; }
.btn-dark:hover { background: #000000; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header); border-bottom: 1px solid var(--line); backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand span { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: 0.02em; }
.mark .board { fill: var(--ink); }
.mark .cut { fill: var(--offcut); }
.nav { display: flex; align-items: center; gap: 8px 22px; font-size: 15px; font-weight: 500; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { text-decoration: none; color: var(--ink); padding: 10px 0; }
.nav-links a:hover { color: var(--acc-text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line-2); border-radius: 4px; color: var(--ink); cursor: pointer; padding: 0; }
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 520px) {
  .brand span { font-size: 22px; }
  .nav-actions .btn-ghost { display: none; }
  .site-header .btn-primary { padding: 10px 14px; }
}

/* hero */
.hero { background: var(--hero); }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.tagline { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.tagline::before { content: ""; width: 36px; height: 4px; background: var(--offcut); flex: none; }
.hero .lede { font-size: 20px; max-width: 560px; }
h1, h2 { text-wrap: balance; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-card { margin: 0; flex: 1 1 420px; min-width: 0; background: var(--hero-card); border: 1px solid var(--hero-card-line); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 14px; color: var(--cloud); }
.hero-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-card-head .label { font-size: 13px; color: #A9B0B3; }
.hero-card-head .title { font-family: var(--display); font-size: 24px; font-weight: 700; }
.pill { background: var(--hivis); color: var(--graphite); font-size: 13px; font-weight: 700; border-radius: 999px; padding: 5px 12px; }
.model { background: var(--cloud); border-radius: 6px; padding: 12px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { background: var(--hero-tile); border-radius: 6px; padding: 12px; }
.tile .k { font-size: 12px; color: #A9B0B3; }
.tile .v { font-family: var(--display); font-size: 24px; font-weight: 700; }
.tile .v.hi { color: var(--hivis); }
@media (max-width: 440px) { .tile .v { font-size: 20px; } .tiles { gap: 6px; } .tile { padding: 10px 8px; } }

/* band */
.band { background: var(--hivis); color: var(--graphite); }
.band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 22px; padding-bottom: 22px; font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* sections */
.section { padding: 96px 0; background: var(--page); }
.section.alt { background: var(--alt); }
.section .wrap { display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
@media (max-width: 640px) { .section { padding: 64px 0; } .section .wrap { gap: 32px; } .hero .wrap { padding-top: 48px; padding-bottom: 56px; gap: 40px; } }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.steps li { border-top: 4px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.steps .num { font-family: var(--display); font-size: 48px; font-weight: 800; color: var(--acc-text); line-height: 1; }
.steps h3 { font-size: 28px; }
.steps p { color: var(--body); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--card-line); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card svg { color: var(--ink); }
.card p { color: var(--body); font-size: 16px; }

.model img { width: 100%; height: auto; border-radius: 4px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.shot { margin: 0; background: var(--card); border: 1px solid var(--card-line); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.shot.wide { grid-column: 1 / -1; }
.shot a { display: block; background: #FFFFFF; border-radius: 4px; overflow: hidden; }
.shot img { width: 100%; height: auto; }
.shot figcaption { font-size: 15px; color: var(--body); padding: 0 4px 4px; }
.shot figcaption strong { color: var(--ink); }
@media (max-width: 760px) { .gallery { grid-template-columns: minmax(0, 1fr); } }

.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.compare > div { border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.compare .usual { border: 1px solid var(--card-line); }
.compare .ours { background: var(--graphite); color: var(--cloud); border: 1px solid var(--panel-line); }
.compare .k { font-family: var(--display); font-size: 24px; font-weight: 700; text-transform: uppercase; }
.compare .usual .k { color: var(--muted); }
.compare .ours .k { color: var(--hivis); }
.compare ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; line-height: 1.45; }
.compare .usual ul { color: var(--body); }

.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.proof .card { gap: 16px; }
.proof-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.proof-head .big { font-family: var(--display); font-size: 32px; font-weight: 800; color: var(--acc-text); }
.rows { display: flex; flex-direction: column; font-size: 16px; }
.rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rows div:last-child { border-bottom: none; }
.rows b { font-weight: 600; white-space: nowrap; }
.caught { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.45; color: var(--body); }
.caught strong { color: var(--ink); }
.footnote { font-size: 14px; color: var(--muted); max-width: 760px; }

.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.people div { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.people p { color: var(--body); font-size: 16px; }

/* pilot */
.pilot { background: var(--hivis); color: var(--graphite); padding: 88px 0; }
.pilot .wrap { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 40px; }
.pilot-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pilot h2 { font-size: clamp(42px, 5.5vw, 60px); line-height: 0.95; }
.pilot-copy p { font-size: 19px; max-width: 520px; }
.pilot-copy .small { font-size: 15px; }
.pilot-form { flex: 1 1 400px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; }
.field .opt { font-weight: 400; }
.field input, .field select, .field textarea { font: 17px/1.3 var(--text); padding: 13px 14px; border: 2px solid var(--graphite); border-radius: 4px; background: #FFFFFF; color: var(--graphite); width: 100%; min-height: 48px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--graphite); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pilot-form .btn-dark { grid-column: 1 / -1; min-height: 52px; font-size: 17px; }
.form-note { grid-column: 1 / -1; font-size: 14px; }
.form-note a { font-weight: 600; }
.form-status { grid-column: 1 / -1; font-weight: 600; min-height: 1.5em; }
.form-status.ok { background: var(--graphite); color: var(--cloud); padding: 14px 16px; border-radius: 4px; }
.form-status.err { background: #FFFFFF; color: #8A1C1C; border: 2px solid #8A1C1C; padding: 12px 14px; border-radius: 4px; }
.form-status:empty { display: none; }
@media (max-width: 520px) { .pilot-form { grid-template-columns: minmax(0, 1fr); } }

/* footer */
.site-footer { background: var(--footer); color: var(--muted); border-top: 1px solid var(--line); font-size: 15px; }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.site-footer .col { display: flex; flex-direction: column; gap: 8px; }
.site-footer .col .h { color: var(--ink); font-weight: 600; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.site-footer .brand, .site-footer .brand:hover { color: var(--ink); text-decoration: none; }
.site-footer .brand span { font-size: 20px; }
.site-footer .legal-line { padding-bottom: 32px; font-size: 13px; }

/* legal pages */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 780px; display: flex; flex-direction: column; gap: 18px; }
.doc h1 { font-size: clamp(40px, 6vw, 60px); }
.doc h2 { font-size: 28px; margin-top: 18px; text-transform: none; }
.doc p, .doc li { color: var(--body); }
.doc ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.draft-banner { background: var(--hivis); color: var(--graphite); border-radius: 4px; padding: 12px 16px; font-weight: 600; font-size: 15px; }
.doc .updated { font-size: 14px; color: var(--muted); }
