/* HyperActives website. The app's tokens (web/src/styles/tokens.css) and house style: grey ground, white
   cards as the one container, quiet type (500 at most), hierarchy by size and colour. Nothing loads from
   a third party; Jost 500 is the wordmark's face and nothing else. */

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/jost-500-latin.woff2") format("woff2");
}

:root {
  --ha-sky: #1e9be9;
  --ha-midnight: #0b1f3a;
  --ha-gold: #b87a21;
  --ha-accent: #1177c9;
  --ha-ink: #0b1f3a;
  --ha-ground: #ffffff;
  --ha-card: #ffffff;
  --ha-ground-soft: #f7f8fa;
  --ha-secondary: #5b6878;
  --ha-faint: #8a94a3;
  --ha-rule: #e3e7ec;
  --ha-hairline: #eef1f5;
  --ha-ok: #1b7a3e;
  --ha-band: #0b1f3a;
  --ha-on-band: #ffffff;
  --ha-on-band-accent: #8ed0ff;
  --ha-button: #0b1f3a;
  --ha-button-text: #ffffff;
  --ha-font: -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ha-wordmark: "Jost", var(--ha-font);
  --ha-radius-card: 16px;
  --ha-radius-band: 22px;
  --ha-focus: 0 0 0 3px rgb(17 119 201 / 0.4);
  color-scheme: light;
}

/* The site is light only (owner, 12 Oct 2026: the logo must read; a white ground). The app follows the phone. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ha-ground);
  color: var(--ha-ink);
  font-family: var(--ha-font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.2; }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.1rem; }
a { color: var(--ha-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: none; box-shadow: var(--ha-focus); border-radius: 6px; }
img { display: block; max-width: 100%; height: auto; }
strong { font-weight: 500; }

.wrap { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 36px); } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ha-card); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 10; }

/* The wordmark: Jost 500 capitals, tracked, HYPER in the accent. */
.wordmark {
  font-family: var(--ha-wordmark);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 15px;
  color: var(--ha-midnight);
  white-space: nowrap;
}
.wordmark-hyper { color: var(--ha-accent); }
.lockup { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.lockup:hover { text-decoration: none; }
.lockup-mark { width: 34px; height: 34px; }

.site-header { padding: 22px 0; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-nav { display: flex; gap: 26px; }
.site-nav a { color: var(--ha-secondary); font-size: 15px; }
.site-nav a:hover { color: var(--ha-ink); text-decoration: none; }
/* The group's phone header (agreed 29 Sep 2026): a 60px bar, 16px inset, 32px mark, 10px gap, wordmark 20px. */
@media (max-width: 640px) {
  .site-header { padding: 0; }
  .header-row { height: 60px; width: calc(100% - 32px); }
  .lockup { gap: 10px; }
  .lockup-mark { width: 32px; height: 32px; }
  .site-header .wordmark { font-size: 14px; }
  .site-nav { gap: 16px; }
}

/* Sections: a small grey heading outside, white cards inside. */
.band { padding: 40px 0; }
.eyebrow { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ha-faint); margin-bottom: 14px; }
.lede { font-size: 1.2rem; color: var(--ha-secondary); max-width: 34rem; }
.quiet { color: var(--ha-secondary); }
.small { font-size: 14px; color: var(--ha-faint); }
.gap-top { margin-top: 18px; }
.table-caption { text-align: left; padding-bottom: 6px; }

.card {
  background: var(--ha-card);
  border: 1px solid var(--ha-rule);
  border-radius: var(--ha-radius-card);
  padding: 22px 24px;
}
.card h3 { margin-bottom: 6px; }
.card p { color: var(--ha-secondary); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* Home */
.hero { padding: 36px 0 24px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } h1 { font-size: 2rem; } }
.hero h1 { max-width: 12em; margin-bottom: 16px; }
.hero .lede { margin-bottom: 26px; }
.hero-note { color: var(--ha-faint); font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 14px; }
.button {
  display: inline-block;
  background: var(--ha-button);
  color: var(--ha-button-text);
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 500;
  font-size: 16px;
}
.button:hover { text-decoration: none; opacity: 0.92; }
.button-quiet { background: transparent; color: var(--ha-ink); border: 1px solid var(--ha-rule); }

/* A phone: the screen inside a thin midnight frame, no chrome drawn. */
.phone { width: min(300px, 100%); margin: 0 auto; border-radius: 40px; padding: 10px; background: #0b1f3a; border: 1px solid rgb(255 255 255 / 0.14); box-shadow: 0 30px 60px -30px rgb(11 31 58 / 0.45); }
.phone img { border-radius: 32px; }
.phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; align-items: start; }
.phones .phone { width: min(260px, 100%); }
.phones figcaption { text-align: center; margin-top: 14px; color: var(--ha-secondary); font-size: 15px; }
.phones figure { margin: 0; }

.points { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* The midnight band on the home page: the live view line. */
.dark-band { background: var(--ha-band); color: var(--ha-on-band); border-radius: var(--ha-radius-band); padding: 36px 40px; }
.dark-band h2 { color: var(--ha-on-band); margin-bottom: 10px; }
.dark-band p { color: #b8c0cc; max-width: 40rem; }
.dark-band .accent { color: var(--ha-on-band-accent); }
@media (max-width: 600px) { .dark-band { padding: 26px 22px; } }

/* Long pages: privacy, terms, support. */
.doc { max-width: 44rem; }
.narrow { max-width: 44rem; }
.doc-head { padding: 28px 0 8px; }
.doc-head h1 { margin-bottom: 12px; }
.doc-meta { color: var(--ha-faint); font-size: 15px; }
.doc .card { margin-top: 20px; }
.doc h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.doc h3 { margin: 22px 0 6px; }
.doc p { margin: 0 0 12px; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 12px; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--ha-faint); }
.contents { columns: 2; column-gap: 24px; font-size: 15px; list-style: none; padding: 0; }
@media (max-width: 600px) { .contents { columns: 1; } }
.contents li { break-inside: avoid; margin-bottom: 4px; }
.notice { border-left: 3px solid var(--ha-sky); padding: 4px 0 4px 16px; color: var(--ha-secondary); margin: 18px 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 8px 0 16px; }
.doc th, .doc td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--ha-hairline); vertical-align: top; }
.doc th { font-weight: 500; color: var(--ha-secondary); }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ha-hairline); }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(step); color: var(--ha-faint); font-size: 15px; padding-top: 2px; }

/* Footer */
.site-footer { margin-top: 56px; padding: 40px 0 36px; border-top: 1px solid var(--ha-rule); background: var(--ha-ground-soft); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-blurb { color: var(--ha-secondary); margin-top: 14px; max-width: 28rem; }
.footer-note { color: var(--ha-faint); font-size: 15px; margin-top: 6px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--ha-secondary); font-size: 15px; }
.footer-col a:hover { color: var(--ha-ink); }
.footer-head { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ha-faint); margin-bottom: 4px; }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--ha-rule); color: var(--ha-faint); font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.footer-bottom a { color: var(--ha-faint); text-decoration: underline; }
.footer-bottom .footer-disclaimer { max-width: 50rem; }
