/* Tarnua holding page. Tokens from Synect Group/brand/DESIGN-SYSTEM.md (23/09/2026).
   All fonts are self-hosted: no external request on the page. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fbf8f2;
  --bg: #fbf8f2;          /* page */
  --card: #ffffff;
  --text: #18181b;        /* 16.71:1 on paper */
  --muted: #5e5f66;       /* 5.99:1 on paper */
  --line: #e4ded2;        /* decorative hairline */
  --container: 820px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3rem, 7vw, 5rem);
  --lockup-w: 200px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --card: #1c1c1f;
    --text: #fbf8f2;      /* 17.79:1 on ink */
    --muted: #b4b2ac;     /* 8.90:1 on ink */
    --line: #2c2c31;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Links take the text colour and an underline: Persian red is reserved for the
   mark and NUA (DESIGN-SYSTEM.md, 23/09/2026), and it is 3.67:1 on ink. */
a { color: var(--text); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--card);
  color: var(--text);
}
.skip:focus { left: 1rem; top: 1rem; }

/* Header: the wordmark alone until the new symbol passes its picture search
   (Synect Group/docs/tarnua-ie-holding-page-plan.md). */
header.site { padding-top: clamp(2rem, 5vw, 3.5rem); }
.brand { display: inline-block; }
.brand img { display: block; width: var(--lockup-w); height: auto; }
.descriptor {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

h1, h2 {
  font-family: "Nunito", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 7vw, 4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.125rem; font-weight: 600; margin: 0; }

section { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
section.hero { border-top: 0; padding-top: clamp(2.5rem, 6vw, 4.5rem); }

.lead { max-width: 60ch; font-size: 1.1875rem; margin: 1.25rem 0 0; }
.intro { max-width: 60ch; color: var(--muted); margin: 0.75rem 0 0; }

.products { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.products li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
}
.products p { margin: 0.5rem 0 0; max-width: 64ch; }
.products .what { margin-top: 0.125rem; color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem; }
.label {
  font-family: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.125rem 0.625rem;
}

section p { overflow-wrap: anywhere; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.875rem;
}
footer.site p { max-width: 72ch; margin: 0 0 0.75rem; }

@media (max-width: 560px) {
  :root { --section-y: 2.75rem; --lockup-w: 170px; }
  .products li { padding: 1rem 1.125rem; }
}
