:root {
  --paper: #f7f8f8;
  --surface: #ffffff;
  --ink: #16202a;
  --ink-2: #45535e;
  --ink-3: #5b6a74;
  --rule: #dde4e6;
  --accent: #0b5e63;
  --accent-ink: #ffffff;
  --sans: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e1518; --surface: #161f23; --ink: #e7eded; --ink-2: #b4c1c5;
    --ink-3: #8b9aa0; --rule: #2a373c; --accent: #55c6cc; --accent-ink: #0e1518;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem 5rem; }
header.site {
  border-bottom: 1px solid var(--rule); margin-bottom: 3rem;
  padding: 1.5rem 0; display: flex; flex-wrap: wrap; gap: 1rem 1.75rem;
  align-items: center; justify-content: space-between;
}
header.site a.brand { font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
header.site nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; font-size: 1rem; align-items: center; }
header.site nav a { color: var(--ink-3); text-decoration: none; }
header.site nav a:hover, header.site nav a:focus-visible { color: var(--accent); text-decoration: underline; }
header.site nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.12; letter-spacing: -0.025em; margin: 2rem 0 1rem; text-wrap: balance; }
h2 { font-size: 1.3rem; letter-spacing: -0.012em; margin: 2.75rem 0 0.75rem; }
h3 { font-size: 1.08rem; margin: 1.75rem 0 0.5rem; }
p, li { color: var(--ink-2); max-width: 42rem; }
p.lead { font-size: 1.15rem; color: var(--ink); }
ul, ol { padding-left: 1.2rem; }
li { margin-bottom: 0.5rem; }
a { color: var(--accent); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
code { font-family: var(--mono); font-size: 1em; background: var(--surface); border: 1px solid var(--rule); border-radius: 3px; padding: 0.1em 0.35em; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 1.25rem 1.4rem; margin: 1.5rem 0; }
.updated { font-family: var(--mono); font-size: 1rem; color: var(--ink-3); }
footer.site { border-top: 1px solid var(--rule); margin-top: 4rem; padding-top: 1.5rem; font-size: 1rem; color: var(--ink-3); }
footer.site a { color: var(--ink-3); }
table { border-collapse: collapse; width: 100%; margin: 1.25rem 0; font-size: 1rem; }
th, td { text-align: left; padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { color: var(--ink-3); font-weight: 600; }
.scroller { overflow-x: auto; }

/* Brand mark — same art as the TikTok app icon and the favicon.
   The reviewer checks that these match; keep them in step. */
header.site a.brand { display: inline-flex; align-items: center; gap: 0.5rem; }
header.site img.brand-mark { border-radius: 6px; display: block; }

/* Buttons: one accent, one filled button per page. */
.button {
  display: inline-block; padding: 0.7rem 1.15rem; border-radius: 4px; font-size: 1rem;
  font-weight: 600; text-decoration: none; border: 1px solid var(--accent);
  color: var(--accent); background: transparent; cursor: pointer; font-family: inherit;
}
.button.primary { background: var(--accent); color: var(--accent-ink); }
.button:hover, .button:focus-visible { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0; }
header.site nav .button { padding: 0.45rem 0.85rem; }

/* Product screenshot. A real capture of the composer, not an illustration. */
figure.shot { margin: 2.5rem 0 0; }
/* On wide screens the screenshot breaks out of the text column so the product is
   seen at poster scale, not brochure scale. */
@media (min-width: 1100px) {
  figure.shot { width: 62vw; max-width: 1100px; position: relative; left: 50%; transform: translateX(-50%); }
}
figure.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 6px; background: var(--surface); }
figure.shot figcaption { font-size: 1rem; color: var(--ink-3); margin-top: 0.6rem; }

/* Numbered steps. */
ol.steps { padding-left: 0; list-style: none; counter-reset: step; }
ol.steps > li { counter-increment: step; position: relative; padding-left: 2.6rem; margin-bottom: 1.4rem; }
ol.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0.1rem; width: 1.8rem; height: 1.8rem;
  border-radius: 50%; border: 1px solid var(--rule); background: var(--surface); color: var(--ink);
  font-size: 0.95rem; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
ol.steps > li strong { color: var(--ink); }

/* Forms (request access). */
form.stack label { display: block; font-weight: 600; margin: 1.1rem 0 0.35rem; color: var(--ink); }
form.stack input, form.stack textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  /* Control borders sit at ≥3:1 against the field (WCAG 1.4.11); the hairline --rule does not. */
  border: 1px solid var(--ink-3); border-radius: 4px; padding: 0.6rem 0.7rem;
}
form.stack input:focus-visible, form.stack textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
form.stack textarea { min-height: 7rem; resize: vertical; }
form.stack .hint { font-size: 1rem; color: var(--ink-3); margin: 0.35rem 0 0; }
form.stack .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.stack .button { margin-top: 1.4rem; }
.notice { border-left: 3px solid var(--accent); padding: 0.6rem 1rem; margin: 1.5rem 0; background: var(--surface); }
.notice p { margin: 0.3rem 0; }
