/* Layout: centred editorial column (max 75rem); Signifier headlines over a soft sky, floating devices, tinted cards.
   Deliberately a single light look: a pale, airy page where the only dark objects are the displays and the closing CTA. */
@font-face { font-family: "Diatype"; src: url("fonts/diatype-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Diatype"; src: url("fonts/diatype-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Diatype Extended"; src: url("fonts/diatype-ext-300.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Diatype Extended"; src: url("fonts/diatype-ext-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Signifier"; src: url("fonts/signifier-300.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Diatype Mono"; src: url("fonts/diatype-mono-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Diatype Mono"; src: url("fonts/diatype-mono-500.woff") format("woff"); font-weight: 500; font-display: swap; }

:root {
  --bg: #f7f7f6;
  --white: #ffffff;
  --head: #363636;
  --ink: #1d1d1d;
  --text-2: #6f6f6f;
  --text-3: #9a9a9a;
  --line: #e8e8e6;
  --tint: #eef1f5;
  --chip: #f1f1f0;
  --charcoal: #2a2a2a;
  --sky-1: #c9d8ea;
  --sky-2: #e3e9f1;
  --peach: #f5e7d7;
  --glass: #0b100d;
  --phosphor: #74f0a0;
  --phosphor-dim: #4c9b6a;
  --ok: #2f8a55;
  --fill-bg: #fbf0c9;
  --fill-fg: #5b4700;

  --serif: "Signifier", Georgia, "Times New Roman", serif;
  --wordmark: "Diatype Extended", "Diatype", "Helvetica Neue", Arial, sans-serif;
  --sans: "Diatype", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "Diatype Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --h1: clamp(2.75rem, 7.5vw, 5.5rem);
  --h2: clamp(2.25rem, 5.4vw, 4rem);
  --h3: clamp(1.5rem, 2.4vw, 1.75rem);
  --lead: clamp(1.0625rem, 1.6vw, 1.25rem);
  --wrap: 75rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.5 var(--sans); letter-spacing: -.01em;
  padding-inline: 16px; padding-block: 0;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
.wrap { max-width: var(--wrap); margin-inline: auto; min-width: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 300; font-synthesis: none; color: var(--head); text-wrap: balance; }
h1 { font-size: var(--h1); line-height: 1; letter-spacing: -.03em; }
h2 { font-size: var(--h2); line-height: 1.04; letter-spacing: -.025em; }
h3 { font-size: var(--h3); line-height: 1.3; letter-spacing: -.015em; }
p { margin: 0; }
.lead { font-size: var(--lead); line-height: 1.4; font-weight: 500; letter-spacing: -.03em; color: var(--text-2); }

/* Nav */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; margin-inline: -16px; padding-inline: 16px;
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top .wrap { display: flex; align-items: center; gap: 2.25rem; padding-block: 1rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; font: 500 1.05rem/1 var(--wordmark); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.links { display: flex; gap: 1.75rem; font-weight: 500; font-size: .96875rem; }
.links a { text-decoration: none; color: var(--text-2); }
.links a:hover { color: var(--ink); }
.top .btn { margin-left: auto; }
@media (max-width: 44rem) { .links { display: none; } }
@media (max-width: 30rem) { .top .btn .xl { display: none; } }
.top .btn .xl { white-space: pre; }

/* Buttons & pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; padding: 0 1.4rem;
  border-radius: 999px; font: 500 1rem/1 var(--sans); letter-spacing: -.02em; text-decoration: none; cursor: pointer; border: 0;
  background: var(--charcoal); color: #fff; transition: transform .2s ease, background .2s ease; }
.btn .even { width: 1.05em; height: .875em; flex: none; margin-right: .1rem; shape-rendering: crispEdges; }
.btn:hover { background: #111; transform: translateY(-1px); }
.btn.light { background: var(--white); color: var(--ink); }
.btn.light:hover { background: #f2f2f2; }
.badge { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px; font: 500 .875rem/1 var(--sans);
  color: var(--ink); background: linear-gradient(var(--white), var(--white)) padding-box, linear-gradient(120deg, #d7e3f3, #efe0f3, #f5e2cc) border-box;
  border: 1.5px solid transparent; box-shadow: 0 2px 10px rgba(80, 90, 120, .08); }
.badge .dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(47,138,85,.15); }

/* Footer */
.foot { margin-top: clamp(3rem, 8vw, 6rem); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; padding-block: 2rem 3rem; border-top: 1px solid var(--line); color: var(--text-2); font-size: .9rem; }
.foot nav { display: flex; gap: 1.5rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot p { max-width: 34rem; }

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