/* BoardHawk website. Fonts: Barlow Condensed, IBM Plex Sans, IBM Plex Mono (SIL Open Font Licence, assets/fonts/OFL.txt) */
@font-face { font-family: "BH Display"; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "BH Display"; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "BH Sans"; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BH Sans"; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "BH Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BH Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --night: #0B1320; --night-2: #121D2E; --night-3: #1A2840; --night-line: #26364F;
  --sky-ink: #E8EDF5; --sky-muted: #9DABC0;
  --amber: #F1A73B; --amber-deep: #9E5600; --amber-soft: #FBEBD4;
  --green: #1B7443; --green-bright: #62D093; --purple: #6B3FC9; --purple-bright: #B79BFF;
  --bg: #F4F6F9; --surface: #FFFFFF; --surface-2: #E9EDF3; --line: #CFD7E2; --ink: #132034; --muted: #4A586D; --link: #1C4C86;
  --radius: 14px; --shadow: 0 1px 2px rgba(11, 19, 32, .06), 0 8px 24px rgba(11, 19, 32, .08);
  --f-display: "BH Display", "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-sans: "BH Sans", "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "BH Mono", "IBM Plex Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0E1726; --surface: #152132; --surface-2: #1C2A3F; --line: #2B3A50; --ink: #E6EBF2; --muted: #A3B0C3; --link: #8EBBF2; --amber-deep: #F1A73B; --amber-soft: #3A2911; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0E1726; --surface: #152132; --surface-2: #1C2A3F; --line: #2B3A50; --ink: #E6EBF2; --muted: #A3B0C3; --link: #8EBBF2; --amber-deep: #F1A73B; --amber-soft: #3A2911; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-sans); }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.05; letter-spacing: .005em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.55rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--amber); color: #1A1206; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.eyebrow { font: 500 .8rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 14px; display: inline-block; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.mono { font-family: var(--f-mono); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 19, 32, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--night-line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 1.55rem/1 var(--f-display); letter-spacing: .01em; }
.brand svg { width: 30px; height: 30px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--sky-ink); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--night-3); }
.nav .btn { margin-left: 6px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--night-line); color: #fff; border-radius: 8px; padding: 8px 12px; font: 600 .95rem var(--f-sans); min-height: 44px; }
@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--night); border-bottom: 1px solid var(--night-line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 10px; font: 600 1rem/1.1 var(--f-sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-amber { background: var(--amber); color: #1A1206; }
.btn-amber:hover { background: #FFB955; }
.btn-ghost { border-color: rgba(232, 237, 245, .4); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }
.nav .btn { min-height: 40px; padding: 8px 16px; }

/* hero */
.hero { background: radial-gradient(1200px 600px at 75% 40%, #16264099, transparent 70%), linear-gradient(180deg, var(--night) 0%, #0D1828 100%); color: var(--sky-ink); overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { font-size: 1.2rem; color: var(--sky-ink); max-width: 36ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.hero .fine { color: var(--sky-muted); font-size: .9rem; }
.hero .was { margin-top: 28px; padding: 14px 16px; border: 1px dashed var(--night-line); border-radius: 12px; color: var(--sky-muted); font-size: .95rem; max-width: 48ch; }
.hero .was b { color: var(--sky-ink); font-weight: 600; }
.stars { position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image: radial-gradient(1px 1px at 10% 20%, #fff8, transparent), radial-gradient(1px 1px at 30% 70%, #fff6, transparent), radial-gradient(1px 1px at 55% 15%, #fff7, transparent), radial-gradient(1.5px 1.5px at 80% 35%, #fff5, transparent), radial-gradient(1px 1px at 90% 80%, #fff6, transparent), radial-gradient(1px 1px at 45% 90%, #fff4, transparent), radial-gradient(1px 1px at 20% 50%, #fff5, transparent), radial-gradient(1px 1px at 70% 60%, #fff4, transparent); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; gap: 36px; } .hero .lead { max-width: none; } }

/* radar */
.radar { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle, #13233A 0%, #0E1A2C 62%, #0B1320 100%); box-shadow: 0 0 0 1px #2A3D5C, 0 0 80px #F1A73B14, inset 0 0 60px #000a; overflow: hidden; }
.radar .ring { position: absolute; border: 1px solid #F1A73B2E; border-radius: 50%; inset: var(--i); }
.radar .axis { position: absolute; background: #F1A73B22; }
.radar .axis.h { left: 0; right: 0; top: 50%; height: 1px; }
.radar .axis.v { top: 0; bottom: 0; left: 50%; width: 1px; }
.radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, #F1A73B00 0deg, #F1A73B00 300deg, #F1A73B40 350deg, #F1A73Bb0 360deg); animation: sweep 6s linear infinite; }
.radar .sweep::after { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 50%; background: linear-gradient(#FFD08A, #F1A73B00); transform: translateX(-1px); }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar .centre { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); }
.blip { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.blip .plane, .blip .load { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); }
.blip .plane { width: 26px; height: 26px; color: #9DB4D6; opacity: .9; animation: plane 6s linear infinite; animation-delay: var(--d); }
.blip .load { white-space: nowrap; font: 500 12px/1.2 var(--f-mono); padding: 6px 9px; border-radius: 8px; background: #0B1320E6; border: 1px solid var(--c); color: #fff; box-shadow: 0 0 18px color-mix(in srgb, var(--c) 45%, transparent); opacity: 0; animation: load 6s linear infinite; animation-delay: var(--d); }
.blip .load b { color: var(--c); font-weight: 500; }
.blip .load::before { content: ""; position: absolute; left: -5px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
@keyframes plane { 0%, 2% { opacity: .9; } 6%, 92% { opacity: 0; } 100% { opacity: .9; } }
@keyframes load { 0%, 2% { opacity: 0; transform: translate(-50%, -50%) scale(.9); } 6% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 92%, 100% { opacity: 0; } }
@media (max-width: 600px) {
  .blip { left: calc(50% + (var(--x) - 50%) * 0.62); top: calc(50% + (var(--y) - 50%) * 0.62); }
  .blip .load { font-size: 10.5px; padding: 4px 7px; }
  .radar .centre { width: 32px; height: 32px; }
}
.blip { z-index: 2; }
.radar-cap { text-align: center; color: var(--sky-muted); font: 400 .8rem/1.4 var(--f-mono); margin-top: 14px; }
.legend { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 10px; font-size: .85rem; color: var(--sky-muted); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; background: var(--c); vertical-align: -1px; }
@media (prefers-reduced-motion: reduce) {
  .radar .sweep { animation: none; transform: rotate(40deg); }
  .blip .plane { animation: none; opacity: 0; }
  .blip .load { animation: none; opacity: 1; transform: translate(-50%, -50%); }
}

/* sections */
section { padding: 84px 0; }
section.tight { padding: 56px 0; }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head p { color: var(--muted); font-size: 1.1rem; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--night); color: var(--sky-ink); }
.dark h2, .dark h3 { color: #fff; }
.dark .muted, .dark .sec-head p { color: var(--sky-muted); }
.dark a { color: #8EBBF2; }
.dark a.btn-amber, .hero a.btn-amber { color: #1A1206; }
.dark a.btn-ghost, .hero a.btn-ghost { color: #fff; }
.hero .eyebrow, .dark .eyebrow, .page-head .eyebrow { color: var(--amber); }
.shot a { display: block; cursor: zoom-in; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fact { border-left: 3px solid var(--amber); padding: 4px 0 4px 16px; }
.fact b { display: block; font: 600 1.25rem/1.2 var(--f-display); letter-spacing: .01em; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--night); color: var(--amber); font: 700 1.3rem var(--f-display); margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; padding: 36px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .shot { order: -1; }
.feature ul { padding-left: 1.1em; margin: 0 0 1em; color: var(--muted); }
.feature li { margin: .35em 0; }
.shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface-2); }
.shot figcaption { font-size: .85rem; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); background: var(--surface); }
figure { margin: 0; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 24px; } .feature.flip .shot { order: 0; } }

.tag { display: inline-block; font: 500 .78rem/1 var(--f-mono); padding: 5px 8px; border-radius: 6px; vertical-align: 2px; }
.tag.green { background: #DCF0E3; color: var(--green); }
.tag.purple { background: #ECE4FF; color: var(--purple); }
.tag.amber { background: var(--amber-soft); color: var(--amber-deep); }

.callout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; background: var(--amber-soft); border: 1px solid #E8C48C; border-radius: var(--radius); padding: 24px; }
.callout svg { width: 40px; height: 40px; color: var(--amber-deep); }
.callout h3 { margin-bottom: .3em; }
.callout p:last-child { margin: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .callout { border-color: #5A4220; } }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card .ico { width: 36px; height: 36px; color: var(--amber-deep); margin-bottom: 12px; }

/* download */
.dl { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.dl-box { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius); padding: 28px; }
.dl-box h3 { color: #fff; }
.tickrow { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0; padding: 14px; border-radius: 10px; background: var(--night-3); cursor: pointer; }
.tickrow input { width: 24px; height: 24px; margin: 2px 0 0; flex: none; accent-color: var(--amber); cursor: pointer; }
.tickrow span { font-size: .95rem; line-height: 1.5; }
.dl-meta { font: 400 .82rem/1.5 var(--f-mono); color: var(--sky-muted); margin-top: 14px; word-break: break-all; }
.disclaimer-short { border: 1px solid var(--night-line); border-radius: var(--radius); padding: 22px; }
.disclaimer-short ul { margin: 0; padding-left: 1.1em; color: var(--sky-muted); }
.disclaimer-short li { margin: .5em 0; }
@media (max-width: 860px) { .dl { grid-template-columns: 1fr; } }

/* videos */
.vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.vid { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.vid video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.vid.tall video { aspect-ratio: 9 / 16; max-height: 560px; }
.vid .meta { padding: 14px 16px 16px; }
.vid .meta h3 { font-size: 1.3rem; margin-bottom: .2em; }
.vid .meta p { color: var(--muted); margin: 0; font-size: .95rem; }
details.tx { border-top: 1px solid var(--line); }
details.tx summary { cursor: pointer; padding: 10px 16px; font-size: .9rem; color: var(--link); }
details.tx div { padding: 0 16px 14px; font-size: .92rem; color: var(--muted); }

/* prose pages */
.page-head { background: var(--night); color: var(--sky-ink); padding: 56px 0 44px; }
.page-head h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); }
.page-head p { color: var(--sky-muted); font-size: 1.1rem; max-width: 62ch; margin: 0; }
.prose { max-width: 780px; }
.prose h2 { font-size: 2rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .4em 0; }
.prose .shot { margin: 18px 0 26px; }
.prose code, kbd { font: 500 .9em var(--f-mono); background: var(--surface-2); padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 32px; }
.toc ol { margin: 0; }
.note { border-left: 4px solid var(--amber); background: var(--surface); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 18px 0; }
.note.green { border-left-color: var(--green); }
.note.red { border-left-color: #AE2A21; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; } }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }

/* faq */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 1.4rem/1 var(--f-display); color: var(--amber-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 16px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* footer */
.foot { background: var(--night); color: var(--sky-muted); padding: 48px 0 32px; font-size: .92rem; border-top: 1px solid var(--night-line); }
.foot .cols4 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot a { color: var(--sky-ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 6px 0; }
.foot .legal { border-top: 1px solid var(--night-line); margin-top: 32px; padding-top: 20px; font-size: .84rem; line-height: 1.55; }
@media (max-width: 760px) { .foot .cols4 { grid-template-columns: 1fr; } }
/* anchors land below the sticky header */
h2[id], h3[id], section[id], details[id], article[id] { scroll-margin-top: 84px; }

.tour { max-width: 960px; margin: 0 0 22px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.tour video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
