/* MyHELIX company site. One stylesheet, no web fonts, no scripts, no third-party requests.
   Layout concept: a quiet reference sheet. Left-aligned text on a narrow measure, a status
   register for the products, and one restrained helix drawing. Brand tokens are the ones
   already in the MyHELIX web app (navy #0A1F44, cyan #0AA8C9, cyan ink #0B6F86, logo cyan #22D3EE). */

:root {
  --bg: #ffffff;
  --surface: #f1f5f9;
  --ink: #1e293b;
  --heading: #0a1f44;
  --muted: #475569;
  --accent: #0b6f86;       /* link and label ink: 5.8:1 on white */
  --accent-fill: #0aa8c9;  /* decorative fills only, never text */
  --line: #d3dce8;
  --focus: #0a1f44;
  --btn-bg: #0a1f44;
  --btn-ink: #ffffff;
  --pill-beta-bg: #dff4f9;
  --pill-beta-ink: #0a4a5c;
  --pill-dev-bg: #e8edf4;
  --pill-dev-ink: #2b3a50;
  --strip-bg: #0a1f44;
  --strip-ink: #e6eef9;
  --warn-bg: #fff3d1;
  --warn-ink: #5a3b00;
  --warn-line: #d9a928;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --measure: 66ch;
  --gutter: 1rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #071731;
    --surface: #0d2549;
    --ink: #dbe5f3;
    --heading: #ffffff;
    --muted: #a9b9d0;
    --accent: #22d3ee;
    --accent-fill: #22d3ee;
    --line: #25406b;
    --focus: #7de3f4;
    --btn-bg: #22d3ee;
    --btn-ink: #04202b;
    --pill-beta-bg: #0c3a4a;
    --pill-beta-ink: #9aeaf8;
    --pill-dev-bg: #1a3258;
    --pill-dev-ink: #cdd9ec;
    --strip-bg: #0d2549;
    --strip-ink: #dbe5f3;
    --warn-bg: #3a2a06;
    --warn-ink: #ffd98a;
    --warn-line: #a47c1d;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #071731;
  --surface: #0d2549;
  --ink: #dbe5f3;
  --heading: #ffffff;
  --muted: #a9b9d0;
  --accent: #22d3ee;
  --accent-fill: #22d3ee;
  --line: #25406b;
  --focus: #7de3f4;
  --btn-bg: #22d3ee;
  --btn-ink: #04202b;
  --pill-beta-bg: #0c3a4a;
  --pill-beta-ink: #9aeaf8;
  --pill-dev-bg: #1a3258;
  --pill-dev-ink: #cdd9ec;
  --strip-bg: #0d2549;
  --strip-ink: #dbe5f3;
  --warn-bg: #3a2a06;
  --warn-ink: #ffd98a;
  --warn-line: #a47c1d;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  padding-inline: var(--gutter);
}
img, svg { max-width: 100%; }

.wrap { max-width: 68rem; margin-inline: auto; }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--btn-bg); color: var(--btn-ink); padding: 0.6rem 1rem; z-index: 10; font-weight: 600;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* status strip: present on every page so availability is never implied */
.status-strip {
  margin-inline: calc(var(--gutter) * -1);
  padding: 0.55rem var(--gutter);
  background: var(--strip-bg);
  color: var(--strip-ink);
  font-size: 0.875rem;
  line-height: 1.45;
}
.status-strip p { margin: 0; max-width: 68rem; margin-inline: auto; }
.status-strip strong { letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.78rem; margin-right: 0.35rem; }

.preview-banner {
  margin-inline: calc(var(--gutter) * -1);
  padding: 0.6rem var(--gutter);
  background: var(--warn-bg); color: var(--warn-ink);
  border-bottom: 2px solid var(--warn-line);
  font-size: 0.9rem; font-weight: 600;
}
.preview-banner p { margin: 0; max-width: 68rem; margin-inline: auto; }
mark.pending { background: var(--warn-bg); color: var(--warn-ink); border: 1px dashed var(--warn-line); padding: 0.1rem 0.4rem; border-radius: 4px; font-weight: 600; }

header.site { padding-block: 1rem; border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--heading); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.01em; }
.brand svg { width: 1.7rem; height: 2.4rem; flex: none; }
nav.primary ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
nav.primary a { display: inline-block; padding: 0.4rem 0; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 2px solid transparent; }
nav.primary a:hover { border-bottom-color: var(--accent-fill); }
nav.primary a[aria-current="page"] { color: var(--heading); font-weight: 700; border-bottom-color: var(--accent-fill); }

main { padding-block: 2.5rem 3.5rem; }
h1, h2, h3 { color: var(--heading); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.25rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.2; letter-spacing: -0.015em; font-weight: 700; }
h3 { font-size: 1.1rem; line-height: 1.3; font-weight: 700; }
p { margin: 0; max-width: var(--measure); }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; }
.lede { font-size: 1.2rem; line-height: 1.6; color: var(--ink); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; padding-block: 0.5rem 1rem; }
.hero .copy { display: grid; gap: 1.25rem; }
.hero .art { width: 9.5rem; color: var(--accent-fill); }
.hero .art svg { width: 100%; height: auto; display: block; }
@media (min-width: 52rem) {
  .hero { grid-template-columns: minmax(0, 1fr) 11rem; gap: 4rem; }
  .hero .art { width: 11rem; justify-self: end; }
}

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn { display: inline-block; padding: 0.7rem 1.15rem; background: var(--btn-bg); color: var(--btn-ink); font-weight: 700; text-decoration: none; border-radius: 6px; border: 2px solid var(--btn-bg); }
.btn:hover { filter: brightness(1.08); }
.btn.quiet { background: transparent; color: var(--heading); border-color: var(--line); }

section + section { margin-top: 3rem; }
.section-head { display: grid; gap: 0.6rem; margin-bottom: 1.25rem; }
.section-head p { color: var(--muted); }

.trio { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
@media (min-width: 46rem) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.trio > div { display: grid; gap: 0.5rem; align-content: start; border-top: 2px solid var(--line); padding-top: 1rem; }
.trio p { color: var(--ink); }

/* products: status register */
.register { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--heading); }
.register > li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.5rem 2rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.register .who { display: grid; gap: 0.15rem; align-content: start; }
.register .who span { color: var(--muted); font-size: 0.95rem; }
.register .what { color: var(--ink); max-width: 46ch; }
@media (min-width: 52rem) {
  .register > li { grid-template-columns: 15rem minmax(0, 1fr) 13rem; align-items: start; }
  .register .state { justify-self: end; text-align: right; }
}
.pill { display: inline-block; padding: 0.25rem 0.7rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700; line-height: 1.3; }
.pill.beta { background: var(--pill-beta-bg); color: var(--pill-beta-ink); }
.pill.dev { background: var(--pill-dev-bg); color: var(--pill-dev-ink); }
.state small { display: block; margin-top: 0.35rem; color: var(--muted); font-size: 0.85rem; line-height: 1.4; }

.notice { background: var(--surface); border-left: 4px solid var(--accent-fill); padding: 1rem 1.25rem; max-width: 46rem; }
.notice p + p { margin-top: 0.5rem; }

ul.plain { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.5rem; max-width: var(--measure); }

dl.facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.15rem 2rem; margin: 0; max-width: 46rem; }
dl.facts dt { font-weight: 700; color: var(--heading); margin-top: 0.9rem; }
dl.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 40rem) {
  dl.facts { grid-template-columns: 12rem minmax(0, 1fr); }
  dl.facts dt { margin-top: 0; padding-block: 0.7rem; border-top: 1px solid var(--line); }
  dl.facts dd { padding-block: 0.7rem; border-top: 1px solid var(--line); }
}

.prose { display: grid; gap: 1.1rem; }
.prose h2 { margin-top: 1.5rem; }
.prose ul { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.4rem; max-width: var(--measure); }
.updated { color: var(--muted); font-size: 0.95rem; }

footer.site { border-top: 1px solid var(--line); background: var(--surface); margin-inline: calc(var(--gutter) * -1); padding: 2rem var(--gutter) 2.5rem; font-size: 0.95rem; color: var(--ink); }
footer.site .wrap { display: grid; gap: 1.25rem; }
footer.site address { font-style: normal; display: grid; gap: 0.2rem; }
footer.site .legal { font-weight: 700; color: var(--heading); }
footer.site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
footer.site p { max-width: 60ch; color: var(--muted); }
@media (min-width: 52rem) { footer.site .wrap { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem 4rem; } footer.site .wide { grid-column: 1 / -1; } }

@media (min-width: 40rem) { :root { --gutter: 1.5rem; } }
@media (min-width: 64rem) { :root { --gutter: 2rem; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print { .status-strip, nav.primary, .skip { display: none; } body { padding: 0; } }

/* helix drawing (the MyHELIX logo geometry, decorative) */
svg.helix { display: block; }
svg.helix .a, svg.helix .b { fill: none; stroke: currentColor; stroke-linecap: round; }
svg.helix .a { stroke-width: 9; opacity: 0.45; }
svg.helix .b { stroke-width: 9; }
svg.helix .rung { stroke: currentColor; stroke-width: 4; stroke-linecap: round; opacity: 0.6; }
svg.helix .node { fill: currentColor; }
.brand svg { color: var(--accent-fill); }
.brand span { line-height: 1; }
.nowrap { white-space: nowrap; }
.stack > * + * { margin-top: 1rem; }
.hero h1 { max-width: 20ch; }
.btn:focus-visible { outline-offset: 3px; }
.notice h2 { font-size: 1.2rem; margin-bottom: 0.4rem; }
