:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1c1d21;
  --muted: #55585f;
  --border: #e2e0da;
  --accent: #1f5fbf;
  --accent-text: #ffffff;
  --accent-soft: #e7eefa;
  --radius: 14px;
  --max: 68rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121316;
    --surface: #1b1d21;
    --text: #ececef;
    --muted: #a7aab2;
    --border: #2e3137;
    --accent: #7fb0ff;
    --accent-text: #0d1526;
    --accent-soft: #1c2a42;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--accent); color: var(--accent-text);
  padding: 0.6rem 1rem; border-radius: 8px; z-index: 10;
}
.skip:focus { top: 1rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--surface); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 1.5rem; padding-top: 0.9rem; padding-bottom: 0.9rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.04em;
}
.brand svg { width: 2rem; height: 2rem; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.1rem; }
.nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--muted); text-decoration: none; padding: 0.3rem 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.lang {
  border: 1px solid var(--border); border-radius: 999px;
  padding: 0.15rem 0.7rem !important; font-size: 0.9rem;
}

/* Main */
main.wrap { padding-top: 3rem; padding-bottom: 4rem; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 1rem; }
h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.lead { font-size: 1.25rem; color: var(--muted); margin: 0 0 2rem; }
.prose { max-width: 46rem; }

.hero { display: grid; gap: 2rem; align-items: center; padding: 1rem 0 1.5rem; }
.portrait { order: -1; width: 12rem; }
.portrait img { display: block; width: 100%; height: auto; border-radius: 50%; background: var(--accent-soft); }
@media (min-width: 52rem) {
  .hero { grid-template-columns: 1fr 18rem; }
  .portrait { order: 0; width: 18rem; }
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--muted); margin: 0 0 0.75rem; font-weight: 600; }

.button {
  display: inline-block; background: var(--accent); color: var(--accent-text);
  text-decoration: none; font-weight: 600; padding: 0.7rem 1.2rem; border-radius: 10px;
}
.button.secondary { background: var(--accent-soft); color: var(--text); }
button.button { border: 0; font-family: inherit; font-size: inherit; line-height: inherit; cursor: pointer; }
button.button:disabled { opacity: 0.55; cursor: not-allowed; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem;
}
.card p { margin: 0; color: var(--muted); }
.card .icon { font-size: 1.6rem; line-height: 1; margin-bottom: 0.8rem; display: block; }

.product { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 46rem) { .product { grid-template-columns: 8rem 1fr; } }
.product img { width: 8rem; height: 8rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.tags li { background: var(--accent-soft); border-radius: 999px; padding: 0.15rem 0.75rem; font-size: 0.9rem; }
.features { padding-left: 1.2rem; }
.features li { margin-bottom: 0.4rem; }

dl.facts { display: grid; grid-template-columns: 1fr; gap: 0.2rem 1.5rem; margin: 0; }
@media (min-width: 40rem) { dl.facts { grid-template-columns: 15rem 1fr; } }
dl.facts dt { font-weight: 600; }
dl.facts dd { margin: 0 0 0.8rem; color: var(--muted); }
address { font-style: normal; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { padding-top: 1.5rem; padding-bottom: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; }
.site-footer a { color: var(--muted); }
.site-footer p { margin: 0; }
.flush { margin-top: 0; }
.product p { margin: 0 0 1rem; color: var(--text); }
.product h3 { margin-top: 1.5rem; }
.product .actions { padding-top: 0.75rem; }
