/* Matcha coming-soon, the pre-legal-review variant. It carries the look of
 * ../landing/ (the full page, which stays intact and replaces this one after
 * review): same tokens, type, wordmark, and marker block. Only what this page
 * uses is copied, so nothing here depends on the full page's folder.
 */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('assets/archivo-latin-900-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/source-sans-3-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
}

:root {
  --mint: #5bd6ad;
  --mint-deep: #17754c;
  --ink: #06231a;
  --text-body: #3f4f48;
  --surface: #ffffff;
  --border-band: 2px solid #06231a;

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --gutter: 44px;
  --frame-w: 1280px;
}

@media (max-width: 767px) {
  :root { --gutter: 18px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.frame {
  max-width: var(--frame-w);
  margin-inline: auto;
  padding: 0 var(--gutter);
}

.masthead {
  padding: 16px 0;
  border-bottom: var(--border-band);
}

/* The 1px shortfall at the bottom is optical centring, on purpose. */
.wordmark {
  display: inline-block;
  padding: 8px 14px 7px;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.04em;
  line-height: 1;
}

.hero { padding: 64px 0 72px; }

.eyebrow {
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mint-deep);
}

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 7.4vw, 94px);
  letter-spacing: -.04em;
  line-height: .96;
  text-transform: uppercase;
  color: var(--ink);
}
.hero__line { display: block; }

.hero__line--marker {
  align-self: flex-start;
  padding: 4px 14px 0;
  background: var(--mint);
}

.hero__lead {
  max-width: 54ch;
  margin: 36px 0 0;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}

.hero__context {
  max-width: 60ch;
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-body);
  text-wrap: pretty;
}

@media (max-width: 767px) {
  .hero__lead { font-size: 19px; }
  .hero__context { font-size: 16px; }
}
