/* Fonts are self-hosted so no visitor data is sent to Google. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500 800; font-stretch: 112% 125%; font-display: swap;
  src: url("../fonts/archivo-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500 800; font-stretch: 112% 125%; font-display: swap;
  src: url("../fonts/archivo-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: "IBM Plex Sans"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/plex-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/plex-sans-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: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/plex-mono-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/plex-mono-400-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: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/plex-mono-500-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/plex-mono-500-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; }

/* Layout: one narrow column of text beside a "switchboard" of the live products; the product index reads like a directory listing. */
:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --ink: #0d1526;
  --muted: #5a6478;
  --line: #d9dee8;
  --accent: #1f3fd1;     /* Rhine blue */
  --accent-ink: #ffffff;
  --signal: #c8102e;     /* flag red, used once or twice */
  --live: #12a150;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2.4rem, 1.6rem + 3.6vw, 4.6rem);
  --wrap: 72rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0f1c; --surface: #121a2c; --ink: #e9edf6; --muted: #98a2b8; --line: #243049;
    --accent: #8197ff; --accent-ink: #0a0f1c; --signal: #ff5a6e; --live: #3ddc84;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0f1c; --surface: #121a2c; --ink: #e9edf6; --muted: #98a2b8; --line: #243049;
  --accent: #8197ff; --accent-ink: #0a0f1c; --signal: #ff5a6e; --live: #3ddc84;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

.label {
  font: 500 0.75rem/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
header.site {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.mark { display: grid; grid-template-columns: repeat(3, 7px); gap: 2px; }
.mark i { width: 7px; height: 7px; background: var(--ink); display: block; }
.mark i:nth-child(5) { background: var(--accent); }
.brand b { font: 800 1.05rem/1 var(--display); font-stretch: 125%; letter-spacing: 0.01em; }
.brand span { font: 400 0.8rem/1 var(--mono); color: var(--muted); }
nav.main { display: flex; gap: clamp(0.9rem, 3vw, 2rem); font-weight: 500; font-size: 0.95rem; }
nav.main a { text-decoration: none; color: var(--muted); }
nav.main a:hover { color: var(--ink); }
@media (max-width: 460px) { .brand span { display: none; } }

/* Hero */
.hero .wrap {
  display: grid; gap: clamp(2.5rem, 6vw, 4.5rem);
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.25fr 1fr; align-items: center; } }
.hero h1 {
  font: 800 var(--step-3)/0.98 var(--display);
  font-stretch: 112%;
  letter-spacing: -0.02em;
  margin: 1.1rem 0 1.4rem;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lede { font-size: var(--step-1); color: var(--muted); max-width: 34ch; margin: 0 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.25rem; border-radius: 999px;
  font: 500 0.95rem/1 var(--body); text-decoration: none;
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .15s ease, border-color .15s ease;
}
.btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.board {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.25rem; min-width: 0;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px color-mix(in srgb, var(--accent) 45%, transparent);
}
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.board ul { list-style: none; margin: 0; padding: 0; }
.board li { display: grid; grid-template-columns: auto 1fr auto; gap: 0.85rem; align-items: center; padding-block: 0.7rem; border-bottom: 1px dashed var(--line); }
.board li:last-child { border-bottom: 0; padding-bottom: 0.1rem; }
.board .dom { font: 500 0.92rem/1.3 var(--mono); overflow-wrap: anywhere; min-width: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 22%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .dot { animation: pulse 2.6s ease-in-out infinite; }
  .board li:nth-child(2) .dot { animation-delay: .4s; } .board li:nth-child(3) .dot { animation-delay: .8s; }
  .board li:nth-child(4) .dot { animation-delay: 1.2s; } .board li:nth-child(5) .dot { animation-delay: 1.6s; }
  .board li:nth-child(6) .dot { animation-delay: 2s; }
}
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--live) 0%, transparent); } }

/* Sections */
section { border-top: 1px solid var(--line); }
section > .wrap { padding-block: clamp(3.5rem, 8vw, 6rem); }
.sec-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1fr 1.6fr; align-items: end; } }
h2 { font: 700 var(--step-2)/1.1 var(--display); font-stretch: 112%; letter-spacing: -0.01em; margin: 0.6rem 0 0; text-wrap: balance; }
.sec-head p { margin: 0; color: var(--muted); max-width: 52ch; }

/* Products */
.products { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
@media (min-width: 640px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .products { grid-template-columns: repeat(3, 1fr); } }
.product {
  background: var(--surface); padding: 1.5rem; text-decoration: none;
  display: flex; flex-direction: column; gap: 0.6rem; min-height: 13rem; min-width: 0;
  transition: background .2s ease;
}
.product:hover { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.product .top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.product h3 { font: 700 1.35rem/1.15 var(--display); font-stretch: 112%; margin: 0.8rem 0 0; }
.product p { margin: 0; color: var(--muted); }
.product .url { margin-top: auto; padding-top: 1rem; display: flex; justify-content: space-between; align-items: center; font: 400 0.85rem/1 var(--mono); color: var(--muted); }
.product .arrow { transition: transform .2s ease; color: var(--accent); font-family: var(--body); }
.product:hover .arrow { transform: translate(3px, -3px); }
.tag { font: 500 0.7rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 0.35rem 0.55rem; border-radius: 4px; border: 1px solid var(--line); color: var(--muted); }

/* About */
.about-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1.6fr; } }
.about-copy p { margin: 0 0 1.1rem; max-width: 60ch; }
.about-copy p:first-child { font-size: var(--step-1); line-height: 1.5; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.5rem; margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.facts dt { margin-bottom: 0.35rem; }
.facts dd { margin: 0; font-weight: 500; }
.what { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.what li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.5rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.what li:first-child { border-top: 1px solid var(--line); }
.what b { font: 700 1.1rem/1.3 var(--display); font-stretch: 112%; display: block; }
.what span { color: var(--muted); font-size: 0.95rem; }
.what .n { font: 500 0.8rem/1.9 var(--mono); color: var(--accent); }

/* Contact */
.contact .wrap { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact .wrap { grid-template-columns: 1.6fr 1fr; align-items: end; } }
.contact h2 { font-size: var(--step-3); line-height: 1; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.75rem; }
.email { font: 500 clamp(1.1rem, 0.9rem + 1.2vw, 1.6rem)/1.2 var(--mono); color: var(--accent); text-decoration: none; overflow-wrap: anywhere; border-bottom: 2px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.email:hover { border-bottom-color: var(--accent); }
.copy { cursor: pointer; font: 500 0.8rem/1 var(--body); padding: 0.55rem 0.85rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.copy:hover { border-color: var(--ink); }
address { font-style: normal; line-height: 1.7; }
address .label { display: block; margin-bottom: 0.6rem; }
.coords { margin-top: 0.8rem; font: 400 0.85rem/1.4 var(--mono); color: var(--muted); }
.coords::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--signal); margin-right: 0.5rem; vertical-align: 0.05em; }

footer .wrap { padding-block: 1.75rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; }

/* Legal notice & privacy, collapsed in the footer */
.legal summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; color: var(--muted); }
.legal summary::-webkit-details-marker { display: none; }
.legal summary::after { content: "+"; font: 500 1rem/1 var(--mono); color: var(--accent); }
.legal[open] summary::after { content: "\2212"; }
.legal[open] { flex-basis: 100%; }
.legal summary:hover { color: var(--ink); }
.legal[open] .legal-body { margin-top: 1.5rem; font-size: 0.95rem; color: var(--ink); }
.legal .updated { color: var(--muted); margin: 0 0 0.5rem; }
.legal-body { max-width: 44rem; }
.legal-body section { border-top: 1px solid var(--line); padding-block: 2rem 0.5rem; }
.legal-body h2 { margin: 0.5rem 0 1rem; }
.legal-body h3 { font: 700 1.1rem/1.3 var(--display); font-stretch: 112%; margin: 1.75rem 0 0.5rem; }
.legal-body p, .legal-body ul { margin: 0 0 1rem; }
.legal-body ul { padding-left: 1.2rem; }
.legal-body li { margin-bottom: 0.35rem; }
.legal-body a { color: var(--accent); }
.details { display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.5rem; margin: 0 0 1rem; }
.details dt { padding-top: 0.2rem; }
.details dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .details { grid-template-columns: 1fr; gap: 0.2rem; } .details dd { margin-bottom: 0.8rem; } }
