/* Generated by _src/build.mjs — do not edit directly. */
:root {
  color-scheme: light dark;
  --accent: #0e6f66;
  --accent-contrast: #ffffff;
  --surface-accent: #eefaf7;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --fg: #16181d;
  --fg-muted: #55606e;
  --border: #dfe3e9;
  --radius: 10px;
  --measure: 72ch;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #3fd0bd;
    --accent-contrast: #10131a;
    --surface-accent: #0f2320;
    --bg: #0e1116;
    --bg-alt: #161a21;
    --fg: #e8eaee;
    --fg-muted: #a3adbb;
    --border: #2a3038;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 10px 16px;
  z-index: 10;
}
.skip:focus { left: 0; }

a { color: var(--accent); }
a:hover { text-decoration: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 5;
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 1.02rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  flex: none;
  object-fit: cover;
}
.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 0.92rem;
}
.header-nav a { color: var(--fg-muted); text-decoration: none; }
.header-nav a:hover { color: var(--accent); text-decoration: underline; }
.header-nav .locale-link { color: var(--accent); }

/* Main */
main { padding-top: 40px; padding-bottom: 56px; }

h1 {
  font-size: clamp(1.85rem, 1.2rem + 2.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.022em;
  margin: 0 0 12px;
}
h2 {
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.012em;
  margin: 2.2em 0 0.5em;
  padding-top: 0.2em;
}
h3 { font-size: 1.05rem; margin: 1.6em 0 0.4em; }
p, ul, ol, table { margin: 0 0 1.1em; }
li { margin-bottom: 0.4em; }
li:last-child { margin-bottom: 0; }
strong { font-weight: 650; }
em { font-style: normal; font-weight: 600; color: var(--fg); }

.lede { font-size: 1.08rem; color: var(--fg-muted); }
.updated {
  font-size: 0.86rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.6em;
}
.note { font-size: 0.94rem; color: var(--fg-muted); }

section { margin-bottom: 8px; }
section + section { margin-top: 8px; }

/* Hero */
.hero { margin-bottom: 8px; }
.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.tagline {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.7em;
}
.audience { font-size: 0.94rem; color: var(--fg-muted); }

.store {
  margin: 1.4em 0 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-accent);
  font-size: 0.95rem;
}
.store p { margin: 0; }
.store-links { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; }
.store-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-contrast);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

/* Cards */
.cards { display: grid; gap: 14px; margin-bottom: 1.1em; }
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: var(--bg-alt);
}
.card h3 { margin: 0 0 4px; font-size: 1rem; }
.card p { margin: 0; font-size: 0.95rem; color: var(--fg-muted); }

/* Steps */
ol.steps { padding-left: 0; list-style: none; counter-reset: step; }
ol.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 38px;
  margin-bottom: 0.7em;
}
ol.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Callouts */
.callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface-accent);
  padding: 4px 18px 14px;
  margin: 1.6em 0;
}
.callout h2 { margin-top: 0.9em; }
.callout > :last-child { margin-bottom: 0; }
p.callout { padding: 14px 18px; }
.callout-warn { border-left-color: var(--accent); font-weight: 500; }

/* FAQ */
.faq { border-top: 1px solid var(--border); margin-bottom: 1.1em; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  padding: 13px 0;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { margin: 0 0 14px; color: var(--fg-muted); font-size: 0.96rem; }

/* Tables */
table { border-collapse: collapse; width: 100%; font-size: 0.94rem; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-weight: 650; background: var(--bg-alt); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 26px 0 44px;
  background: var(--bg-alt);
  font-size: 0.9rem;
  color: var(--fg-muted);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
.footer-nav a { color: var(--fg-muted); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); text-decoration: underline; }
.footer-meta { margin: 0 0 6px; }
.footer-meta a { color: var(--fg-muted); }

/* Apex portfolio page */
.apps { display: grid; gap: 14px; margin-bottom: 1.4em; }
.app-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: var(--bg-alt);
  text-decoration: none;
  color: var(--fg);
}
.app-card:hover { border-color: var(--accent); }
.app-card h2 { margin: 0 0 4px; font-size: 1.08rem; color: var(--accent); }
.app-card p { margin: 0; font-size: 0.95rem; color: var(--fg-muted); }
.app-card .status {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--fg-muted);
}

@media (min-width: 620px) {
  .cards, .apps { grid-template-columns: 1fr 1fr; }
}
