/* GlucoDial shared styles (extracted from the landing page) */
  :root {
    --ground: #0a0d12;
    --surface: #12161d;
    --surface-2: #171c25;
    --line: #232a35;
    --text: #e7ecf1;
    --muted: #8a94a2;
    --accent: #2ec284;      /* in-range green — the product's own signal colour */
    --accent-dim: #1c8a5e;
    --zone-green: #2ec284;
    --zone-amber: #d6a72c;
    --zone-red: #c6413a;
    --radius: 18px;
    --maxw: 1140px;
    --shadow: 0 24px 60px -28px rgba(0,0,0,.75);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  }
  :root[data-theme="light"] {
    --ground: #eef1f5;
    --surface: #ffffff;
    --surface-2: #f3f6f9;
    --line: #dde3ea;
    --text: #10151b;
    --muted: #586472;
    --accent-dim: #17754f;
    --shadow: 0 24px 50px -30px rgba(20,35,55,.35);
  }
  @media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
      --ground: #eef1f5;
      --surface: #ffffff;
      --surface-2: #f3f6f9;
      --line: #dde3ea;
      --text: #10151b;
      --muted: #586472;
      --accent-dim: #17754f;
      --shadow: 0 24px 50px -30px rgba(20,35,55,.35);
    }
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
  body {
    margin: 0;
    font-family: var(--font);
    background: var(--ground);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  img { max-width: 100%; display: block; }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

  .eyebrow {
    font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
    color: var(--accent-dim); font-weight: 700;
  }
  :root[data-theme="dark"] .eyebrow, :root:not([data-theme="light"]) .eyebrow { color: var(--accent); }
  @media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .eyebrow { color: var(--accent-dim); } }
  h1, h2, h3 { text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
  a { color: inherit; }

  /* ---- top bar ---- */
  header {
    position: sticky; top: 0; z-index: 20;
    backdrop-filter: saturate(140%) blur(12px);
    background: color-mix(in srgb, var(--ground) 80%, transparent);
    border-bottom: 1px solid var(--line);
  }
  .bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
  .brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
  .brand svg { display: block; }
  .brand small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .03em; }
  .nav-actions { display: flex; align-items: center; gap: 10px; }
  .nav-links { display: flex; gap: 26px; margin-right: 8px; }
  .nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 550; }
  .nav-links a:hover { color: var(--text); }
  @media (max-width: 640px) { .nav-links { display: none; } }
  .theme-btn {
    border: 1px solid var(--line); background: var(--surface); color: var(--text);
    border-radius: 999px; height: 36px; padding: 0 14px; font: inherit; font-size: 13px; font-weight: 550;
    cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  }
  .theme-btn:hover { border-color: var(--accent); }
  .theme-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

  /* ---- buttons ---- */
  .btn {
    display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
    border-radius: 999px; padding: 13px 24px; font-weight: 600; font-size: 15px;
    border: 1px solid transparent; transition: transform .12s ease, background .15s ease, border-color .15s ease;
  }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--accent); color: #05100b; }
  .btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, white); }
  .btn-ghost { border-color: var(--line); background: var(--surface); color: var(--text); }
  .btn-ghost:hover { border-color: var(--accent); }
  .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

  /* ---- hero ---- */
  .hero { padding: clamp(40px, 7vw, 84px) 0 clamp(36px, 5vw, 64px); }
  .hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: center; }
  .hero h1 { font-size: clamp(33px, 5vw, 58px); font-weight: 800; line-height: 1.02; }
  .hero .lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); margin: 22px 0 0; max-width: 42ch; }
  .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .disclaim-inline {
    margin-top: 26px; font-size: 13px; color: var(--muted);
    display: flex; gap: 9px; align-items: baseline; max-width: 46ch;
  }
  .disclaim-inline b { color: var(--text); font-weight: 650; }

  .hero-media { position: relative; }
  .shot {
    position: relative; overflow: hidden; border-radius: var(--radius);
    border: 1px solid var(--line); box-shadow: var(--shadow); background: #05070a;
  }
  .shot img { width: 100%; height: 100%; object-fit: cover; }
  .hero-media .shot { aspect-ratio: 16 / 10; }
  .hero-media figcaption {
    position: absolute; left: 14px; bottom: 14px; z-index: 2;
    display: inline-flex; align-items: center; gap: 8px;
    background: color-mix(in srgb, #05070a 62%, transparent); color: #eaf2ee;
    border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px);
    padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 550; letter-spacing: .01em;
  }
  .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--zone-green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--zone-green) 30%, transparent); }

  /* ---- section scaffolding ---- */
  section { padding: clamp(46px, 6.5vw, 84px) 0; border-top: 1px solid var(--line); }
  .sec-head { max-width: 62ch; margin-bottom: 42px; }
  .sec-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 760; margin-top: 12px; }
  .sec-head p { color: var(--muted); font-size: 17px; margin: 14px 0 0; }

  /* ---- alternating feature rows ---- */
  .feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
  .feature + .feature { margin-top: clamp(48px, 6vw, 80px); }
  .feature.flip .feature-media { order: 2; }
  .feature .shot { aspect-ratio: 4 / 3; }
  .feature h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 740; }
  .feature p { color: var(--muted); font-size: 16.5px; margin: 16px 0 0; }
  .feature .kicker { color: var(--accent-dim); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
  :root[data-theme="dark"] .feature .kicker, :root:not([data-theme="light"]) .feature .kicker { color: var(--accent); }
  @media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .feature .kicker { color: var(--accent-dim); } }
  .feature ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
  .feature li { position: relative; padding-left: 26px; color: var(--text); font-size: 15.5px; }
  .feature li::before {
    content: ""; position: absolute; left: 0; top: 8px; width: 11px; height: 11px;
    border-radius: 50%; border: 2px solid var(--accent); }

  /* ---- colour-coding trio ---- */
  .zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .zone {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column;
  }
  .zone .shot { border: 0; border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3; }
  .zone .z-body { padding: 18px 20px 22px; }
  .zone .z-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .04em; }
  .zone h3 { font-size: 17px; margin: 10px 0 6px; font-weight: 700; }
  .zone p { color: var(--muted); font-size: 14.5px; margin: 0; }
  .z-green { color: var(--zone-green); } .z-amber { color: var(--zone-amber); } .z-red { color: var(--zone-red); }
  .z-green .swatch { background: var(--zone-green); } .z-amber .swatch { background: var(--zone-amber); } .z-red .swatch { background: var(--zone-red); }
  .swatch { width: 11px; height: 11px; border-radius: 50%; }

  /* ---- platforms ---- */
  .platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .places .card { min-height: 0; padding: 26px 24px; }
  .card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; display: flex; flex-direction: column; gap: 10px; min-height: 212px;
  }
  .card .ic { width: 38px; height: 38px; color: var(--accent); }
  :root[data-theme="light"] .card .ic { color: var(--accent-dim); }
  @media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .card .ic { color: var(--accent-dim); } }
  .card h3 { font-size: 18px; font-weight: 700; margin-top: 6px; }
  .card p { color: var(--muted); font-size: 14.5px; margin: 0; }
  .card .tag {
    margin-top: auto; align-self: flex-start; font-size: 11px; letter-spacing: .05em;
    text-transform: uppercase; font-weight: 700; padding: 4px 9px; border-radius: 999px;
  }
  .tag.live { color: var(--accent-dim); background: color-mix(in srgb, var(--accent) 16%, transparent); }
  :root[data-theme="dark"] .tag.live, :root:not([data-theme="light"]) .tag.live { color: var(--accent); }
  @media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .tag.live { color: var(--accent-dim); } }
  .tag.soon { color: var(--zone-amber); background: color-mix(in srgb, var(--zone-amber) 16%, transparent); }

  /* ---- how it works ---- */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
  .step { position: relative; padding-top: 18px; }
  .step::before {
    counter-increment: s; content: counter(s, decimal-leading-zero);
    font-variant-numeric: tabular-nums; font-weight: 800; font-size: 13px;
    color: var(--accent-dim); letter-spacing: .1em;
  }
  :root[data-theme="dark"] .step::before, :root:not([data-theme="light"]) .step::before { color: var(--accent); }
  @media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .step::before { color: var(--accent-dim); } }
  .step h3 { font-size: 18px; margin: 8px 0 6px; font-weight: 700; }
  .step p { color: var(--muted); font-size: 15px; margin: 0; }

  /* ---- disclaimer band ---- */
  .band {
    background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 30px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  }
  .band .warn { width: 32px; height: 32px; color: var(--zone-amber); flex: none; }
  .band h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
  .band p { color: var(--muted); font-size: 14.5px; margin: 0 0 10px; }
  .band p:last-child { margin-bottom: 0; }
  .band b { color: var(--text); font-weight: 650; }

  /* ---- footer ---- */
  footer { border-top: 1px solid var(--line); padding: 40px 0 56px; }
  .foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
  .foot small { color: var(--muted); font-size: 13px; }
  .foot .brand small { font-size: 11px; }

  @media (max-width: 940px) {
    .platforms { grid-template-columns: repeat(2, 1fr); }
    .places { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 820px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-media { order: -1; }
    .feature { grid-template-columns: 1fr; gap: 26px; }
    .feature.flip .feature-media { order: -1; }
    .zones { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .band { grid-template-columns: 1fr; }
  }
  @media (max-width: 560px) {
    .places { grid-template-columns: 1fr; }
  }

  /* ================= highlight (use-case) pages ================= */
  .crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
  .crumb a { text-decoration: none; color: var(--muted); }
  .crumb a:hover { color: var(--text); }
  .crumb span { opacity: .5; }

  .uc-hero { padding: clamp(30px,5vw,56px) 0 clamp(26px,4vw,44px); }
  .uc-hero .eyebrow { display: block; margin-bottom: 14px; }
  .uc-hero h1 { font-size: clamp(30px,4.6vw,52px); font-weight: 800; line-height: 1.04; max-width: 16ch; }
  .uc-hero .lede { font-size: clamp(16px,1.5vw,19px); color: var(--muted); margin: 20px 0 0; max-width: 54ch; }

  /* quick "what makes it work here" points under the hero */
  .uc-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 34px; }
  .uc-point { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
  .uc-point .ic { width: 30px; height: 30px; color: var(--accent); margin-bottom: 10px; }
  :root[data-theme="light"] .uc-point .ic { color: var(--accent-dim); }
  @media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .uc-point .ic { color: var(--accent-dim); } }
  .uc-point h3 { font-size: 16px; font-weight: 700; margin: 0 0 5px; }
  .uc-point p { color: var(--muted); font-size: 14px; margin: 0; }

  /* pull quote / scenario line */
  .scene { font-size: clamp(19px,2.3vw,26px); font-weight: 650; line-height: 1.35; letter-spacing: -0.01em; max-width: 24ch; }
  .scene .hl { color: var(--accent); }
  :root[data-theme="light"] .scene .hl { color: var(--accent-dim); }
  @media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .scene .hl { color: var(--accent-dim); } }

  /* "explore the others" strip */
  .others { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
  .other { display: flex; align-items: center; gap: 12px; text-decoration: none;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
  .other:hover { border-color: var(--accent); }
  .other .ic { width: 26px; height: 26px; color: var(--accent); flex: none; }
  :root[data-theme="light"] .other .ic { color: var(--accent-dim); }
  @media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .other .ic { color: var(--accent-dim); } }
  .other b { font-weight: 650; font-size: 15px; }
  .other small { display: block; color: var(--muted); font-size: 12.5px; }

  /* clickable use-case cards on the landing page */
  a.card { text-decoration: none; }
  a.card:hover { border-color: var(--accent); }
  .card .more { margin-top: auto; align-self: flex-start; font-size: 13px; font-weight: 650; color: var(--accent); }
  :root[data-theme="light"] .card .more { color: var(--accent-dim); }
  @media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .card .more { color: var(--accent-dim); } }

  @media (max-width: 820px) { .uc-points { grid-template-columns: 1fr; } .others { grid-template-columns: 1fr; } }

  /* ================= shop / buy page ================= */
  .shop { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
  .product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
  .product .shot { border: 0; border-radius: 0; box-shadow: none; aspect-ratio: 4/3; }
  .product .p-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
  .product h3 { font-size: 18px; font-weight: 700; margin: 0; }
  .product .price { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
  .product p.desc { color: var(--muted); font-size: 14.5px; margin: 0; }
  .product .pp { margin-top: auto; padding-top: 10px; min-height: 46px; }
  .product .soldout { align-self: flex-start; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; font-weight: 700; padding: 4px 9px; border-radius: 999px; color: var(--zone-amber); background: color-mix(in srgb, var(--zone-amber) 16%, transparent); }
  .pp-note { font-size: 13px; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; padding: 11px 13px; }
  .ship { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 8px; }
  .ship .card { min-height: 0; }
  @media (max-width: 940px) { .shop { grid-template-columns: repeat(2,1fr); } .ship { grid-template-columns: 1fr; } }
  @media (max-width: 620px) { .shop { grid-template-columns: 1fr; } }
