/* ---------- fonts ----------
   Figtree variable, self-hosted. Declared as "Figtree" (what tokens.css asks
   for); the fontsource package itself uses the family name 'Figtree Variable',
   so its CSS is not reused. unicode-range values are copied from
   @fontsource-variable/figtree/wght.css — latin-ext carries Slovak diacritics. */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(/fonts/figtree-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(/fonts/figtree-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: var(--size-body);
  line-height: 1.7;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section > .wrap { padding-block: var(--space-section); }
.section { scroll-margin-top: 64px; }
/* Hairline sits on the content column, not the full viewport width. */
.section + .section > .wrap { border-top: 1px solid var(--rule); }
.section--surface { background: var(--surface-1); }
.section--surface + .section > .wrap,
.section--surface > .wrap { border-top: 0; }

/* ---------- typography ---------- */
h1, h2, h3, .wordmark { color: var(--ink); }
h1 {
  font-size: var(--size-h1);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 {
  font-size: var(--size-h2);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h3 { font-size: var(--size-h3); font-weight: 600; line-height: 1.4; }
p + p { margin-top: var(--space-md); }
.lede { font-size: var(--size-lede); line-height: 1.6; max-width: 36em; }
.small { font-size: var(--size-small); line-height: 1.6; }
.eyebrow {
  font-size: var(--size-eyebrow);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--body);
}
.eyebrow + h1, .eyebrow + h2 { margin-top: var(--space-sm); }
h1 + .lede, h2 + .lede, h2 + p, h1 + p { margin-top: var(--space-md); }

/* ---------- button ---------- */
.btn {
  display: inline-block;
  margin-top: var(--space-lg);
  padding: 13px 22px;
  font: inherit;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease;
}
.btn:hover { background: #222; border-color: #222; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.site-head > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-sm);
}
.wordmark {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav { display: flex; gap: var(--space-md); font-size: var(--size-small); }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.site-nav a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.site-head .btn { margin-top: 0; padding: 9px 16px; font-size: var(--size-small); }

/* ---------- hero ---------- */
.hero > .wrap { padding-top: clamp(64px, 10vw, 120px); }
.hero h1 { max-width: 14em; }

/* ---------- logo strip ---------- */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md) var(--space-xl);
  margin-top: var(--space-md);
}
/* Official SVGs untouched; monochrome comes from CSS so no brand asset is
   recoloured. */
.logos img { height: 26px; width: auto; filter: grayscale(1); opacity: .6; }
.logos--compact > .wrap { padding-block: var(--space-xl); }

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-xl);
  align-items: start;
  margin-top: var(--space-lg);
}
.about__photo {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--surface-2);
}

/* ---------- tools ---------- */
.tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}
.tool {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--space-lg) var(--space-md);
  display: grid;
  justify-items: center;
  gap: var(--space-sm);
}
.tool img { height: 28px; width: auto; filter: grayscale(1); opacity: .75; }
.tool span { font-size: var(--size-small); color: var(--ink); }

/* ---------- process (numbered items) ---------- */
.items { margin-top: var(--space-xl); display: grid; gap: var(--space-lg); }
.item { display: grid; grid-template-columns: 4.5rem 1fr; align-items: start; }
.item__num {
  font-size: var(--size-eyebrow);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--body);
  padding-top: 0.32em;
  font-variant-numeric: tabular-nums;
}
.item__body { margin-top: var(--space-xs); }

/* ---------- footer ---------- */
.site-foot > .wrap {
  padding-block: var(--space-lg);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm) var(--space-md);
  font-size: var(--size-small);
}
.site-foot nav { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-md); }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--ink); }
.site-foot .copy { width: 100%; }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .site-nav { display: none; }
  .logos { gap: var(--space-sm) var(--space-lg); }
  .logos img { height: 22px; }
  .about { grid-template-columns: 1fr; gap: var(--space-lg); }
  .about__photo { max-width: 220px; }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .item { grid-template-columns: 4rem 1fr; }
}
