/* Inter Tight, self-hosted: the CSP allows fonts and styles from 'self' only.
   SIL Open Font License, see /fonts/OFL.txt. */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-tight-latin.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #6b6b6b;
  --line: #e6e6e6;
  --red: #e3342f;
  --teal: #007c6d;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.g { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.lbl { margin: 0; font-size: 13px; font-weight: 500; color: var(--ink-2); }

/* ── header ── */
.top { height: 72px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.logo { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.mark { width: 26px; height: 26px; display: block; }
.mark rect { fill: var(--red); }
.mark path { fill: none; stroke: #fff; stroke-width: 4.2; stroke-linecap: square; }
.top nav { display: flex; gap: 28px; font-size: 14px; }
.top nav a { color: var(--ink-2); text-decoration: none; }
.top nav a:hover { color: var(--ink); }

/* ── hero ── */
.hero { padding: 120px 0 100px; }
.hero .lbl { grid-column: 1 / 4; padding-top: 18px; }
.hero h1 { grid-column: 4 / 13; margin: 0; font-weight: 600; font-size: clamp(44px, 7.4vw, 104px); line-height: .98; letter-spacing: -.045em; }
.hero h1 span { color: var(--ink-2); }
.hero .sub { grid-column: 4 / 10; margin: 40px 0 0; font-size: 20px; color: var(--ink-2); }
.hero .sub b { color: var(--ink); font-weight: 500; }

/* ── at a glance ── */
.stats { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.stats > div { padding: 22px 0 26px; grid-column: span 3; }
.stats b { display: block; font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.stats > div + div { border-left: 1px solid var(--line); padding-left: 24px; }

/* ── sections ── */
.sec { padding: 96px 0; border-bottom: 1px solid var(--line); }
.sec > .lbl { grid-column: 1 / 4; }
.sec > .body { grid-column: 4 / 13; }

.prow { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.p { border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 14px; min-height: 340px; transition: border-color .2s; text-decoration: none; color: inherit; }
a.p:hover { border-color: var(--ink); }
a.p:hover .arrow { transform: translate(3px, -3px); }
.top-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.live { color: var(--teal); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.p h3 { margin: auto 0 0; font-size: 48px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.p p { margin: 0; color: var(--ink-2); max-width: 28em; }
.arrow { font-size: 22px; display: inline-block; transition: transform .2s; }
.p.soon { background: repeating-linear-gradient(135deg, #fafafa 0 10px, #fff 10px 20px); }
.p.soon h3 { color: #c4c4c4; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.principles div { border-top: 2px solid var(--ink); padding-top: 18px; }
.principles .n { color: var(--red); font-weight: 600; font-size: 14px; }
.principles h3 { margin: 10px 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.principles p { margin: 0; color: var(--ink-2); }

/* ── contact ── */
.cta { padding: 120px 0; }
.cta .lbl { grid-column: 1 / 4; }
.cta h2 { grid-column: 4 / 13; margin: 0; font-size: clamp(36px, 6vw, 80px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; overflow-wrap: anywhere; }
.cta h2 a { color: var(--ink); text-decoration: none; border-bottom: 4px solid var(--red); }
.cta h2 a:hover { color: var(--red); }

.foot { border-top: 1px solid var(--line); padding: 24px 0 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--ink-2); }
.foot p { margin: 0; }

a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .top nav { display: none; }
  .g > * { grid-column: 1 / -1 !important; }
  .hero { padding: 56px 0; }
  .hero .lbl, .sec > .lbl, .cta .lbl { padding: 0 0 14px; }
  .stats > div { grid-column: span 6 !important; }
  .stats > div + div { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; }
  .sec { padding: 56px 0; }
  .prow, .principles { grid-template-columns: 1fr; }
  .p { min-height: 260px; }
  .cta { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
