/* Self-hosted so visiting the site sends nothing to a font CDN. SIL OFL 1.1. */
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 600; font-display: swap; src: url('/assets/fonts/fraunces-italic-latin-ext.woff2') format('woff2'); 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: 'Fraunces'; font-style: italic; font-weight: 300 600; font-display: swap; src: url('/assets/fonts/fraunces-italic-latin.woff2') format('woff2'); 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; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/assets/fonts/fraunces-normal-latin-ext.woff2') format('woff2'); 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: 'Fraunces'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/assets/fonts/fraunces-normal-latin.woff2') format('woff2'); 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; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/inter-normal-latin-ext.woff2') format('woff2'); 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: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/inter-normal-latin.woff2') format('woff2'); 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; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/jetbrains-mono-normal-latin-ext.woff2') format('woff2'); 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: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/jetbrains-mono-normal-latin.woff2') format('woff2'); 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; }

/* Buzl Studio / olly — shared styles. Mirrors the app's editorial system:
   paper and ink, Fraunces for display, Inter for reading, JetBrains Mono for
   meta, and the dashed rule the app uses for every separator. */

:root {
  --paper: #FBF3E1;
  --canvas: #F4EAD8;
  --card: #FFFBF2;
  --ink: #1F1A14;
  --ink-2: #5A4F3F;
  --line: rgba(31, 26, 20, 0.10);
  --dash: rgba(31, 26, 20, 0.22);
  --terracotta: #B5462A;
  --terracotta-2: #D86C3C;
  --olive: #5E6B3A;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --measure: 42rem;
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--terracotta); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--measure); margin: 0 auto; padding: 0 1.5rem; }
.wrap-wide { max-width: 64rem; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px dashed var(--dash); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 1.1rem; padding-bottom: 1.1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--serif); font-size: 1.35rem; color: var(--ink); text-decoration: none;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.site-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-nav a {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--terracotta); }

main { flex: 1; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-2);
}
h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1.1; letter-spacing: -0.015em; margin: 0.6rem 0 0.8rem;
}
h1 em, .display em { font-style: italic; color: var(--terracotta); }
h2 {
  font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.3;
  margin-bottom: 0.75rem; display: flex; gap: 0.75rem; align-items: baseline;
}
h2 .num { font-family: var(--mono); font-size: 0.8rem; color: var(--terracotta); font-weight: 500; }
h3 { font-size: 1rem; font-weight: 600; margin: 1.25rem 0 0.35rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.12rem; color: var(--ink-2); }
.meta { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--ink-2); }
strong { font-weight: 600; }
ul, ol { margin: 0 0 1rem 1.25rem; }
li { margin-bottom: 0.45rem; padding-left: 0.2rem; }
li::marker { color: var(--terracotta); }

/* ---------- legal document ---------- */
.doc { padding-top: 3.5rem; padding-bottom: 2rem; }
.doc-head { margin-bottom: 2.25rem; }
.doc section { border-top: 1px dashed var(--dash); padding: 1.75rem 0 0.75rem; }

.summary {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.4rem; margin-bottom: 2.25rem;
}
.summary .eyebrow { margin-bottom: 0.6rem; }
.summary ul { margin-bottom: 0; }
.summary li { margin-bottom: 0.3rem; }

.table-wrap { overflow-x: auto; margin: 0.5rem 0 1.25rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 34rem; }
th, td { text-align: left; vertical-align: top; padding: 0.7rem 0.75rem; border-bottom: 1px dashed var(--dash); }
th {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid var(--line);
}
td:first-child { font-weight: 600; }
th:nth-child(1) { width: 17%; } th:nth-child(2) { width: 37%; }
th:nth-child(3) { width: 27%; } th:nth-child(4) { width: 19%; }
@media (min-width: 62rem) { .doc .table-wrap { margin-left: -5rem; margin-right: -5rem; } }

.steps { counter-reset: step; list-style: none; margin-left: 0; }
.steps li {
  counter-increment: step; position: relative; padding-left: 2.6rem; margin-bottom: 0.9rem;
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.05rem;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  border: 1.5px solid var(--ink-2); color: var(--ink-2);
  font-family: var(--mono); font-size: 0.78rem; display: grid; place-items: center;
}

/* ---------- landing ---------- */
.hero { text-align: center; padding-top: 4.5rem; padding-bottom: 3rem; }
.app-icon {
  width: 112px; height: 112px; border-radius: 26px; display: block; margin: 0 auto 1.75rem;
  box-shadow: 0 1px 2px rgba(31, 26, 20, 0.08), 0 12px 32px rgba(181, 70, 42, 0.18);
}
.hero .lead { max-width: 34rem; margin: 0 auto 2rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.4rem; border-radius: 999px;
  background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 500;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--terracotta); color: var(--paper); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem; padding: 1rem 0 3rem;
}
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem;
}
.feature h3 { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; margin: 0.35rem 0 0.4rem; }
.feature p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }

.link-row { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; padding-bottom: 3rem; }
.chip {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.55rem 0.95rem; border: 1px solid var(--dash); border-radius: 999px;
  color: var(--ink-2); text-decoration: none;
}
.chip:hover { border-color: var(--terracotta); color: var(--terracotta); }

.app-card {
  display: flex; align-items: center; gap: 1rem; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 1rem 1.25rem; text-decoration: none; color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.app-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(31, 26, 20, 0.08); color: var(--ink); }
.app-card img { width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0; }
.app-card .name { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; }
.app-card .desc { color: var(--ink-2); font-size: 0.92rem; }

/* ---------- footer: the business details Dutch law asks every page to carry ---------- */
.site-footer { border-top: 1px dashed var(--dash); padding: 2rem 0 2.5rem; margin-top: 2rem; }
.site-footer .wrap { display: grid; gap: 1rem; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.9rem; color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--terracotta); }
.legal-id { font-family: var(--mono); font-size: 0.72rem; line-height: 1.8; letter-spacing: 0.03em; color: var(--ink-2); }
.legal-id a { color: var(--ink-2); }

@media (max-width: 560px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 3rem; }
  .doc { padding-top: 2.5rem; }
}

/* Narrow screens: each row of a data table becomes a labelled card. */
@media (max-width: 640px) {
  .table-wrap { overflow: visible; }
  table { min-width: 0; }
  table, tbody, tr, td { display: block; width: auto !important; }
  thead { display: none; }
  tr { border-bottom: 1px dashed var(--dash); padding: 0.9rem 0; }
  td { border: 0; padding: 0.2rem 0; }
  td:first-child { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; padding-bottom: 0.35rem; }
  td[data-label]::before {
    content: attr(data-label); display: block;
    font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink-2); margin-top: 0.45rem;
  }
}
