  :root {
    --bg: #F4F7FB;
    --surface: #FFFFFF;
    --surface-2: #EAEFF6;
    --ink: #17202E;
    --muted: #5A6678;
    --line: #DCE3EC;
    --wind: #237693;
    --wind-soft: rgba(46, 147, 180, 0.12);
    --zeus: #6D5AE6;
    --iris: #C54983;
    --amelia: #A26B1B;
    --shadow: 0 1px 2px rgba(23, 32, 46, 0.06), 0 8px 24px rgba(23, 32, 46, 0.07);
    --serif: "Palatino Linotype", Palatino, "URW Palladio L", "Book Antiqua", Georgia, serif;
    --sans: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #0E1420;
      --surface: #161F2E;
      --surface-2: #1B2636;
      --ink: #E9EEF5;
      --muted: #93A0B4;
      --line: #263245;
      --wind: #6FC9E2;
      --wind-soft: rgba(111, 201, 226, 0.10);
      --zeus: #9D8DF7;
      --iris: #EF87B4;
      --amelia: #E4A84E;
      --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 10px 30px rgba(0, 0, 0, 0.35);
    }
  }
  :root[data-theme="dark"] {
    --bg: #0E1420;
    --surface: #161F2E;
    --surface-2: #1B2636;
    --ink: #E9EEF5;
    --muted: #93A0B4;
    --line: #263245;
    --wind: #6FC9E2;
    --wind-soft: rgba(111, 201, 226, 0.10);
    --zeus: #9D8DF7;
    --iris: #EF87B4;
    --amelia: #E4A84E;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 10px 30px rgba(0, 0, 0, 0.35);
  }
  :root[data-theme="light"] {
    --bg: #F4F7FB;
    --surface: #FFFFFF;
    --surface-2: #EAEFF6;
    --ink: #17202E;
    --muted: #5A6678;
    --line: #DCE3EC;
    --wind: #237693;
    --wind-soft: rgba(46, 147, 180, 0.12);
    --zeus: #6D5AE6;
    --iris: #C54983;
    --amelia: #A26B1B;
    --shadow: 0 1px 2px rgba(23, 32, 46, 0.06), 0 8px 24px rgba(23, 32, 46, 0.07);
  }

  * { box-sizing: border-box; }
  [hidden] { display: none !important; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
  a { color: inherit; }
  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--wind);
    outline-offset: 3px;
    border-radius: 2px;
  }
  h1, h2, h3, h4 { text-wrap: balance; margin: 0; }
  p { margin: 0; max-width: 62ch; }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
  }

  /* ---------- nav ---------- */
  .nav { border-bottom: 1px solid var(--line); }
  .nav-inner {
    display: flex; align-items: center; gap: 28px;
    padding-top: 18px; padding-bottom: 18px;
  }
  .mark {
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: 0.02em;
    text-decoration: none;
    font-style: italic;
  }
  .nav-links { display: flex; gap: 22px; margin-left: auto; }
  .nav-links a {
    text-decoration: none;
    font-size: 14.5px;
    color: var(--muted);
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-links a.active { color: var(--ink); border-bottom-color: var(--wind); }
  .mock-tag {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 2px 7px;
    white-space: nowrap;
  }

  /* ---------- buttons ---------- */
  .btn {
    display: inline-block;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  }
  .btn-primary { background: var(--wind); color: #FFFFFF; }
  :root[data-theme="dark"] .btn-primary { color: #0E1420; }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .btn-primary { color: #0E1420; }
  }
  .btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
  .btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
  .btn-ghost:hover { border-color: var(--wind); color: var(--wind); }
  .btn-hue {
    border: 1px solid var(--hue);
    color: var(--hue);
    background: transparent;
  }
  .btn-hue:hover {
    background: var(--hue);
    color: var(--bg);
    transform: translateY(-1px);
  }

  /* ---------- hero ---------- */
  .hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
  .hero canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
  }
  .hero-inner {
    position: relative;
    padding-top: 110px;
    padding-bottom: 96px;
    display: flex;
    flex-direction: column;
    gap: 26px;
  }
  .hero h1 {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(58px, 11vw, 116px);
    line-height: 1.02;
    letter-spacing: -0.01em;
    margin-left: -4px;
  }
  .tagline {
    font-family: var(--serif);
    font-size: clamp(20px, 3vw, 27px);
    line-height: 1.4;
    max-width: 30ch;
  }
  .tagline .z { color: var(--zeus); }
  .tagline .i { color: var(--iris); }
  .tagline .a { color: var(--amelia); }
  .lede { color: var(--muted); font-size: 18px; }
  .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
  .hero-status { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
  .hero-status a {
    text-decoration: none;
    font-size: 13px;
    color: var(--muted);
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 999px;
    padding: 6px 14px;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .hero-status a:hover { border-color: var(--wind); color: var(--ink); }
  .hero-status .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }

  /* ---------- strata (home product bands) ---------- */
  .stratum {
    position: relative;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
  }
  .stratum::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--hue);
  }
  .stratum:nth-of-type(even) { background: var(--surface); }
  .stratum.s-iris::before {
    background: linear-gradient(90deg,
      #B65C8A 0%, #C08A5A 22%, #A9A25E 44%, #5FA98E 66%, #5E8FB6 84%, #8878C0 100%);
    opacity: 0.85;
  }
  .stratum-grid {
    display: grid;
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: 56px;
    padding-top: 78px;
    padding-bottom: 84px;
  }
  .product {
    font-family: var(--serif);
    font-size: clamp(44px, 6vw, 64px);
    font-weight: 500;
    line-height: 1;
    margin: 14px 0 8px;
  }
  .epithet {
    font-family: var(--serif);
    font-style: italic;
    color: var(--muted);
    font-size: 17px;
  }
  .chip {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hue);
    border: 1px solid color-mix(in srgb, var(--hue) 40%, transparent);
    border-radius: 999px;
    padding: 5px 13px;
  }
  .chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hue); flex: none; }
  @media (prefers-reduced-motion: no-preference) {
    .chip.live .dot { animation: pulse 2.4s ease-in-out infinite; }
    @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
  }
  .stratum-body { display: flex; flex-direction: column; gap: 18px; }
  .stratum-body h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(24px, 3.2vw, 31px);
    line-height: 1.25;
  }
  .stratum-body > p { color: var(--muted); }
  .feats {
    list-style: none; margin: 4px 0 6px; padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 10px 26px;
  }
  .feats li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    color: var(--ink);
  }
  .feats li::before {
    content: "";
    position: absolute; left: 0; top: 0.62em;
    width: 9px; height: 2px;
    background: var(--hue);
  }
  .stratum .btn-hue { align-self: flex-start; }
  .zeus-note {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--muted);
    border-left: 2px solid var(--hue);
    padding: 4px 0 4px 14px;
  }

  /* ---------- architecture / identity band ---------- */
  .arch { background: var(--surface-2); border-bottom: 1px solid var(--line); }
  .arch-inner {
    padding-top: 84px; padding-bottom: 88px;
    display: grid;
    grid-template-columns: 1fr minmax(280px, 420px);
    gap: 60px;
    align-items: center;
  }
  .arch h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(30px, 4.4vw, 42px);
    line-height: 1.18;
    margin: 14px 0 16px;
  }
  .arch p { color: var(--muted); }
  .diagram { display: flex; flex-direction: column; gap: 10px; }
  .diagram-row { display: flex; gap: 10px; }
  .node {
    flex: 1;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 6px;
    padding: 14px 16px;
    text-align: center;
    box-shadow: var(--shadow);
  }
  .node b { font-family: var(--serif); font-weight: 500; font-size: 18px; display: block; }
  .node span { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
  .node.n-iris { border-top: 3px solid var(--iris); }
  .node.n-amelia { border-top: 3px solid var(--amelia); }
  .node.n-zeus { border-top: 3px solid var(--zeus); }
  .node.n-id { background: transparent; box-shadow: none; border-style: dashed; }
  .down { text-align: center; color: var(--muted); font-size: 13px; line-height: 1; }

  /* ---------- pricing ---------- */
  .pricing { border-bottom: 1px solid var(--line); }
  .pricing-inner {
    padding-top: 84px; padding-bottom: 88px;
    display: grid;
    grid-template-columns: 1fr minmax(280px, 400px);
    gap: 60px;
    align-items: center;
  }
  .pricing h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(30px, 4.4vw, 42px);
    line-height: 1.18;
    margin: 14px 0 16px;
  }
  .pricing .pitch { color: var(--muted); }
  .bill {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 6px;
    box-shadow: var(--shadow);
    padding: 22px 24px;
    font-family: var(--mono);
    font-size: 13.5px;
  }
  .bill-head {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
  }
  .bill-row {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
  }
  .bill-row .val {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--ink);
  }
  .bill-row .val.zero { color: var(--wind); font-weight: 700; }
  .bill-note {
    font-family: var(--sans);
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 12px;
  }

  .price-strip {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 6px;
    padding: 24px 28px;
    display: flex; flex-direction: column; gap: 8px;
  }
  .price-strip .eyebrow { color: var(--hue); }
  .price-strip b { font-size: 17px; }
  .price-strip p { font-size: 15px; color: var(--muted); }

  /* ---------- trust ---------- */
  .trust { border-bottom: 1px solid var(--line); }
  .trust-inner { padding-top: 78px; padding-bottom: 84px; }
  .trust h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(28px, 4vw, 38px);
    margin: 14px 0 30px;
  }
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
  }
  .trust-card {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 6px;
    padding: 22px 22px 24px;
    display: flex; flex-direction: column; gap: 8px;
  }
  .trust-card b { font-size: 16px; }
  .trust-card p { font-size: 14.5px; color: var(--muted); }

  /* ---------- product pages ---------- */
  .ppage-hero {
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    position: relative;
  }
  .ppage-hero::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--hue);
  }
  .ppage-hero.s-iris::before {
    background: linear-gradient(90deg,
      #B65C8A 0%, #C08A5A 22%, #A9A25E 44%, #5FA98E 66%, #5E8FB6 84%, #8878C0 100%);
    opacity: 0.85;
  }
  .ppage-hero-inner {
    padding-top: 64px; padding-bottom: 60px;
    display: flex; flex-direction: column; gap: 14px;
  }
  .crumb {
    text-decoration: none;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.06em;
    margin-bottom: 14px;
  }
  .crumb:hover { color: var(--ink); }
  .ppage-hero .chip { align-self: flex-start; }
  .pp-name {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(54px, 8.5vw, 88px);
    line-height: 1;
    margin: 6px 0 0;
  }
  .pp-headline {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(24px, 3.4vw, 33px);
    line-height: 1.25;
    margin-top: 18px;
    max-width: 24ch;
  }
  .pp-subhead { color: var(--muted); font-size: 17px; }
  .legend {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .legend-note { font-size: 13px; color: var(--muted); }
  .tag {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 4px 11px;
    white-space: nowrap;
  }
  .tag .g {
    width: 9px; height: 9px; border-radius: 50%;
    border: 1.5px solid var(--hue);
    flex: none;
  }
  .tag-live {
    color: var(--hue);
    border: 1px solid color-mix(in srgb, var(--hue) 40%, transparent);
    background: color-mix(in srgb, var(--hue) 9%, transparent);
  }
  .tag-live .g { background: var(--hue); }
  .tag-built { color: var(--ink); border: 1px solid var(--line); }
  .tag-built .g { background: linear-gradient(90deg, var(--hue) 0 50%, transparent 50%); }
  .tag-design { color: var(--muted); border: 1px dashed var(--line); }
  .tag-design .g { background: transparent; }

  .cap-section { border-bottom: 1px solid var(--line); }
  .cap-inner { padding-top: 58px; padding-bottom: 64px; }
  .cap-head { max-width: 640px; margin-bottom: 30px; display: flex; flex-direction: column; gap: 10px; }
  .cap-head h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(24px, 3.2vw, 30px);
  }
  .cap-head p { color: var(--muted); }
  .cap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 16px;
  }
  .cap-card {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 6px;
    padding: 20px 22px 22px;
    display: flex; flex-direction: column; gap: 10px;
  }
  .cap-card .tag { align-self: flex-start; }
  .cap-card h4 { font-size: 16.5px; font-weight: 650; }
  .cap-card p { font-size: 14.5px; color: var(--muted); }

  .today-wrap {
    padding-top: 64px; padding-bottom: 8px;
    display: flex; flex-direction: column; gap: 18px;
  }
  .today-panel {
    border: 1px solid var(--line);
    border-left: 3px solid var(--hue);
    background: var(--surface);
    border-radius: 0 6px 6px 0;
    padding: 28px 30px;
    display: flex; flex-direction: column; gap: 12px;
  }
  .today-panel .eyebrow { color: var(--hue); }
  .today-panel p {
    font-family: var(--serif);
    font-size: 17.5px;
    line-height: 1.65;
    max-width: 68ch;
  }

  .page-cta { text-align: center; padding: 72px 24px 76px; }
  .page-cta h3 {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(26px, 4vw, 36px);
    margin-bottom: 24px;
  }

  .xlinks { border-top: 1px solid var(--line); background: var(--surface-2); }
  .xlinks-inner { padding-top: 52px; padding-bottom: 60px; }
  .xlinks .eyebrow { display: block; margin-bottom: 20px; }
  .xgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
  }
  .xcard {
    text-decoration: none;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 6px;
    padding: 20px 22px;
    display: flex; flex-direction: column; gap: 6px;
    transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
  }
  .xcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--hue); }
  .xcard b { font-family: var(--serif); font-weight: 500; font-size: 22px; }
  .xcard .xep { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 14.5px; }
  .xcard p { font-size: 14px; color: var(--muted); }
  .xcard .go { font-size: 13.5px; font-weight: 600; color: var(--hue); margin-top: 6px; }

  /* ---------- beta form ---------- */
  .nav-cta { padding: 8px 16px; font-size: 14px; margin-left: 4px; }
  .beta-grid {
    display: grid;
    grid-template-columns: 1fr minmax(250px, 330px);
    gap: 56px;
    padding-top: 64px;
    padding-bottom: 84px;
    align-items: start;
  }
  .beta-form, .form-success { display: flex; flex-direction: column; gap: 20px; }
  .seg {
    display: inline-flex;
    align-self: flex-start;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 999px;
    padding: 3px;
    gap: 3px;
  }
  .seg button {
    border: 0; background: transparent;
    padding: 8px 20px; border-radius: 999px;
    font: inherit; font-size: 14px; font-weight: 600;
    color: var(--muted); cursor: pointer;
  }
  .seg button.on { background: var(--wind); color: #FFFFFF; }
  :root[data-theme="dark"] .seg button.on { color: #0E1420; }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .seg button.on { color: #0E1420; }
  }
  .fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field > label { font-size: 13px; font-weight: 600; }
  .field .opt { color: var(--muted); font-weight: 400; }
  .field input, .field select, .field textarea {
    font: inherit; font-size: 15px; color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 10px 12px;
    width: 100%;
  }
  .field textarea { min-height: 96px; resize: vertical; }
  .field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
    outline: 2px solid var(--wind);
    outline-offset: 1px;
  }
  .biz-fields { display: flex; flex-direction: column; gap: 14px; }
  .prods { display: flex; gap: 10px; flex-wrap: wrap; }
  .prod {
    display: inline-flex; align-items: center; gap: 9px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 14.5px;
    cursor: pointer;
  }
  .prod input { accent-color: var(--phue); margin: 0; }
  .prod:has(input:checked) {
    border-color: var(--phue);
    background: color-mix(in srgb, var(--phue) 7%, transparent);
  }
  .form-note { font-size: 12.5px; color: var(--muted); }
  .beta-aside {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 6px;
    padding: 24px 26px;
    display: flex; flex-direction: column; gap: 14px;
    position: sticky; top: 24px;
  }
  .beta-aside h4 { font-family: var(--serif); font-weight: 500; font-size: 20px; }
  .beta-aside ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .beta-aside li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--muted); }
  .beta-aside li::before {
    content: "";
    position: absolute; left: 0; top: 0.62em;
    width: 9px; height: 2px;
    background: var(--wind);
  }
  .req-out {
    width: 100%; min-height: 190px;
    font-family: var(--mono); font-size: 13px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 12px 14px;
    color: var(--ink);
  }
  .form-success h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(26px, 3.6vw, 34px);
  }

  /* ---------- footer ---------- */
  .footer { padding: 44px 0 56px; }
  .footer-inner {
    display: flex; flex-wrap: wrap; gap: 18px 32px;
    align-items: baseline;
    color: var(--muted);
    font-size: 14px;
  }
  .footer .mark { font-size: 19px; color: var(--ink); }
  .footer .domain { font-family: var(--mono); font-size: 13px; }
  .footer .spacer { flex: 1; }

  @media (max-width: 760px) {
    .nav-links { gap: 14px; }
    .nav-links a { font-size: 13px; }
    .mock-tag { display: none; }
    .hero-inner { padding-top: 72px; padding-bottom: 64px; }
    .stratum-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 58px; padding-bottom: 62px; }
    .arch-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 62px; padding-bottom: 66px; }
    .pricing-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 62px; padding-bottom: 66px; }
    .ppage-hero-inner { padding-top: 44px; padding-bottom: 44px; }
    .beta-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 64px; }
    .fields-2 { grid-template-columns: 1fr; }
    .beta-aside { position: static; }
    .nav-cta { padding: 7px 12px; font-size: 13px; }
    .nav-inner { gap: 16px; }
  }

/* ---------- site chrome (production additions, not in the mockup) ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--surface); color: var(--ink);
  padding: 10px 16px; border: 1px solid var(--wind); border-radius: 4px;
  font-size: 14px; text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--muted);
  cursor: pointer; padding: 0; flex: none;
  transition: color 120ms ease, border-color 120ms ease;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--wind); }
.theme-toggle .moon { display: none; }
.theme-toggle .sun { display: inline; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .moon { display: inline; }
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
}
:root[data-theme="dark"] .theme-toggle .moon { display: inline; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: inline; }

.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

/* ---------- prose pages (legal, accessibility, 404) ---------- */
.prose-wrap { padding-top: 64px; padding-bottom: 88px; }
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 18px; }
.prose h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 5vw, 46px); line-height: 1.15;
}
.prose h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(21px, 3vw, 26px); margin-top: 22px;
}
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--wind); }
.draft-banner {
  border: 1px dashed var(--line);
  border-left: 3px solid var(--amelia);
  background: var(--surface);
  padding: 14px 18px; font-size: 14.5px; color: var(--muted);
}
.notfound { text-align: center; padding: 100px 24px 110px; }
.notfound h1 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(40px, 7vw, 68px); }
.notfound p { margin: 16px auto 26px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}

/* honeypot: off-screen rather than display:none, which bots skip */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* success panel shows one message depending on how the request reached us */
.form-success .via-backend, .form-success .via-mailto { color: var(--muted); }
.form-success .via-mailto { display: none; }
.form-success[data-via="mailto"] .via-backend { display: none; }
.form-success[data-via="mailto"] .via-mailto { display: block; }
.form-success[data-via="backend"] #beta-mailto { display: none; }
.req-details { border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; }
.req-details summary { cursor: pointer; font-size: 14px; color: var(--muted); }
.req-details .req-out { margin-top: 12px; }

/* hue assignment by class, not inline style, so a strict CSP needs no
   style-src-attr 'unsafe-inline' */
.h-iris { --hue: var(--iris); }
.h-zeus { --hue: var(--zeus); }
.h-amelia { --hue: var(--amelia); }
.h-wind { --hue: var(--wind); }
.p-iris { --phue: var(--iris); }
.p-zeus { --phue: var(--zeus); }
.p-amelia { --phue: var(--amelia); }
.dot-iris { background: var(--iris); }
.dot-zeus { background: var(--zeus); }
.dot-amelia { background: var(--amelia); }
.field-legend { font-size: 13px; font-weight: 600; }
.notfound .cta-row { justify-content: center; }
.form-success .via-backend, .form-success .via-mailto { color: var(--muted); }
.form-success h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.6vw, 34px); }
.beta-aside h2 { font-family: var(--serif); font-weight: 500; font-size: 20px; }
.form-success:focus { outline: none; }
.form-success:focus-visible { outline: 2px solid var(--wind); outline-offset: 4px; }

/* --hue-text: darker variants used ONLY where the hue is small text.
   Borders, dots, bars and gradients keep the brighter value (3:1 suffices). */
:root {
  --iris-text: #A8306A; --zeus-text: #5847C4; --amelia-text: #8A5A16;
}
@media (prefers-color-scheme: dark) {
  :root { --iris-text: var(--iris); --zeus-text: var(--zeus); --amelia-text: var(--amelia); }
}
:root[data-theme="dark"] { --iris-text: var(--iris); --zeus-text: var(--zeus); --amelia-text: var(--amelia); }
:root[data-theme="light"] { --iris-text: #A8306A; --zeus-text: #5847C4; --amelia-text: #8A5A16; }
.h-iris { --hue-text: var(--iris-text); }
.h-zeus { --hue-text: var(--zeus-text); }
.h-amelia { --hue-text: var(--amelia-text); }
.h-wind { --hue-text: var(--wind); }
.chip, .tag-live, .btn-hue, .xcard .go, .today-panel .eyebrow, .price-strip .eyebrow {
  color: var(--hue-text, var(--hue));
}
.tagline .z { color: var(--zeus-text); }
.tagline .i { color: var(--iris-text); }
.tagline .a { color: var(--amelia-text); }
