/* Proxima Labs — proximalabs.us. Direction A · The Studio, approved by Justin 2026-10-07.
   The frames: docs/specs/design/proxima-brand/ProximaHomeA*.dc.html (generator: docs/specs/design/gen/gen_proxima_brand.py).
   Every colour is a token defined once below; nothing below 9.5px. Fonts are self-hosted (fonts/LICENSE.md). */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/archivo-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/public-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/public-sans-latin-500-normal.woff2') format('woff2');
}

/* ---- the tokens: five per theme, plus two hairlines mixed from ink2 ------------------------------------------ */
:root {
  color-scheme: light dark;
  --ground: #f5f3ee;
  --raised: #ffffff;
  --ink: #131313;
  --ink2: #67635c;
  --accent: #e2401c;
  --line: color-mix(in srgb, var(--ink2) 30%, transparent);       /* the card's border */
  --line-link: color-mix(in srgb, var(--ink2) 35%, transparent);  /* the footer links' underline */

  /* Maivu's own inks, used only inside its card (templates/tokens.css --brand-1..4) */
  --maivu-1: #6d55e6;
  --maivu-2: #c9628f;
  --maivu-3: #f2895a;
  --maivu-4: #f6b04d;

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Public Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #151412;
    --raised: #1f1d1a;
    --ink: #f3f0ea;
    --ink2: #a39e95;
    --accent: #ff6a3f;
    --maivu-1: #8a74f5;
    --maivu-2: #dd7aa6;
    --maivu-3: #ff9a6a;
    --maivu-4: #f6b04d;
  }
}

/* ---- the page ----------------------------------------------------------------------------------------------- */
html { background: var(--ground); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---- the header: the lockup, which is the link home --------------------------------------------------------- */
.site-header {
  padding: 22px 24px 0 24px;
  height: 54px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  flex: none;
}
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.lockup-name {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.03em;
  font-size: 15px;
  white-space: nowrap;
}
.mark { display: block; width: 12px; height: 12px; flex: none; }
.mark .ink { fill: var(--ink); }
.mark .accent { fill: var(--accent); }

/* ---- main --------------------------------------------------------------------------------------------------- */
main {
  flex-grow: 1;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  box-sizing: border-box;
}
.hero { display: flex; flex-direction: column; gap: 14px; }
h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
}
.headline { font-size: 34px; line-height: 1.02; }
.headline > span { display: inline-block; }   /* a line never breaks mid-sentence */
.support { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink2); }

.block { display: flex; flex-direction: column; gap: 12px; }
.block-contact { gap: 10px; }
.eyebrow {
  margin: 0;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink2);
}

/* the one action on a page: the accent, underlined */
.action {
  display: inline-block;
  align-self: flex-start;
  font-size: 17px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
}

/* ---- the Maivu card: Maivu as itself, quiet, the whole card is the link ------------------------------------ */
.maivu {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 6px;
  background: var(--raised);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.maivu-mark { display: block; width: 40px; height: 40px; flex: none; }
.maivu-mark path { fill: none; stroke-width: 15; stroke-linecap: round; }
.maivu-mark .m1 { stroke: var(--maivu-1); }
.maivu-mark .m2 { stroke: var(--maivu-2); }
.maivu-mark .m3 { stroke: var(--maivu-3); }
.maivu-mark .sun { fill: var(--maivu-4); }
.maivu-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex-grow: 1; }
.maivu-wordmark { display: block; width: 53.88px; height: 14.74px; }
.maivu-line { font-size: 14px; line-height: 1.4; color: var(--ink2); }
.maivu-go { font-size: 13px; color: var(--ink2); white-space: nowrap; }

/* ---- the footer ------------------------------------------------------------------------------------------------ */
.site-footer {
  padding: 0 24px 24px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink2);
  flex: none;
}
.site-footer nav { display: flex; gap: 16px; }
.site-footer nav a { color: var(--ink2); text-decoration: none; border-bottom: 1px solid var(--line-link); }

/* ---- privacy: a page you read, so it starts at the top --------------------------------------------------- */
main.reading { justify-content: flex-start; padding-top: 20px; gap: 28px; }
.reading .hero { gap: 10px; }
.title { font-size: 28px; line-height: 1.1; }
.intro { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.prose { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink); }
.reading .block { gap: 8px; }
.reading .block-contact { gap: 10px; }
.reading .action { font-size: 16px; }

/* ---- not found ------------------------------------------------------------------------------------------------ */
main.lost { gap: 24px; }
.lost .hero { gap: 12px; }
.lost-title { font-size: 26px; line-height: 1.1; }

/* ---- wide: the 1280 frame (ProximaHomeWideA) ---------------------------------------------------------------- */
@media (min-width: 768px) {
  .site-header { padding: 28px 64px 0 64px; height: 64px; }
  .lockup-name { font-size: 17px; }
  .mark { width: 13px; height: 13px; }
  main { padding: 40px 64px; gap: 40px; max-width: 800px; }
  .hero { gap: 16px; }
  .headline { font-size: 52px; }
  .support { font-size: 18px; }
  .action { font-size: 18px; }
  .maivu { gap: 18px; padding: 20px; max-width: 460px; }   /* content-box, as the frame: 502px outside */
  .maivu-mark { width: 44px; height: 44px; }
  .maivu-wordmark { width: 59.26px; height: 16.21px; }
  .maivu-line { font-size: 15px; }
  .site-footer { padding: 0 64px 28px 64px; }

  /* privacy and not found have no wide frame: the home's wide measure, the same type steps */
  main.reading { padding-top: 40px; max-width: 768px; }
  .title { font-size: 40px; }
  .intro { font-size: 17px; }
  .prose { font-size: 16px; }
  .lost-title { font-size: 40px; }
  .lost .support { font-size: 18px; }
}
