/* ===========================================================================
   AZZA Medical — one stylesheet, generated-adjacent but hand-authored.
   Miami ocean: deep Atlantic navy, Miami aqua, sunset coral, warm sand.

   Two rules that are load-bearing here, both learned the hard way:
   1. Reveal animations FAIL VISIBLE. The hidden state is only ever applied
      under html.reveal-on, which JS sets after it has proven it can also turn
      things back on. No JS, a throttled IntersectionObserver in a hidden tab,
      or a script error all leave the page fully readable.
   2. Nothing here relies on a third-party stylesheet or font host.
   ========================================================================= */

:root {
  --canvas: #FAF6EF;
  --card: #FFFCF7;
  --mist: #F2ECE1;
  --raised: #EBE3D5;
  --stone: #E1D6C3;

  --ink: #0A1F33;
  --hero: #0C2439;
  --hero-deep: #071726;
  --navy: #123350;
  --navy-soft: #20445F;
  --slate: #4B5B6B;
  --fog: #7E8D9C;
  --fog-light: #A7B3BF;
  --ink-inverse: #F6F2EA;

  --aqua: #00C2C7;
  --aqua-deep: #00969C;
  --aqua-text: #00686E;
  --coral: #FF7A5C;
  --coral-deep: #E0512F;
  --sun: #FFB35C;

  --ok: #00807A;
  --warn: #B26B00;
  --bad: #C33A22;

  --border: rgba(10, 31, 51, 0.11);
  --border-strong: rgba(10, 31, 51, 0.20);
  --border-dark: rgba(246, 242, 234, 0.16);

  --container: 1240px;
  --reading: 700px;
  --r: 14px;
  --r-sm: 10px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
          Roboto, 'Helvetica Neue', Arial, sans-serif;

  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --shadow-1: 0 1px 2px rgba(10, 31, 51, .05), 0 12px 30px -18px rgba(10, 31, 51, .18);
  --shadow-2: 0 2px 4px rgba(10, 31, 51, .06), 0 22px 46px -22px rgba(10, 31, 51, .26);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

a { color: var(--aqua-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--aqua-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--aqua); color: var(--hero-deep); }

/* -------------------------------------------------- skip link */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--ink-inverse);
  padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; }

/* -------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.read { max-width: var(--reading); }
.sec { padding: clamp(56px, 8vw, 112px) 0; }
.sec--tight { padding: clamp(40px, 5vw, 72px) 0; }
.sec--dark { background: var(--hero); color: var(--ink-inverse); }
.sec--deep { background: var(--hero-deep); color: var(--ink-inverse); }
.sec--mist { background: var(--mist); }
.sec--dark a, .sec--deep a { color: var(--aqua); }
.sec--dark h2, .sec--deep h2 { color: var(--ink-inverse); }

.grid { display: grid; gap: var(--s5); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

@media (max-width: 960px) {
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
}

/* -------------------------------------------------- type */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--aqua-text); margin-bottom: var(--s4);
}
.sec--dark .eyebrow, .sec--deep .eyebrow { color: var(--aqua); }

.d1 { font-family: var(--display); font-size: clamp(42px, 8.4vw, 104px); font-weight: 500;
      line-height: .96; letter-spacing: -0.03em; }
.d2 { font-family: var(--display); font-size: clamp(30px, 4.6vw, 56px); font-weight: 500;
      line-height: 1.04; letter-spacing: -0.022em; }
.d3 { font-family: var(--display); font-size: clamp(24px, 3vw, 36px); font-weight: 500;
      line-height: 1.12; letter-spacing: -0.018em; }
.h4 { font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; letter-spacing: -0.01em; }

.lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; color: var(--slate); }
.sec--dark .lede, .sec--deep .lede { color: var(--fog-light); }
.body { color: var(--slate); }
.sec--dark .body, .sec--deep .body { color: var(--fog-light); }
.small { font-size: 14px; line-height: 1.6; color: var(--slate); }
.sec--dark .small, .sec--deep .small { color: var(--fog-light); }
.micro { font-size: 12.5px; line-height: 1.55; color: var(--fog); }
.sec--dark .micro, .sec--deep .micro { color: var(--fog); }
.num { font-variant-numeric: tabular-nums; }

.stack > * + * { margin-top: var(--s4); }
.stack-lg > * + * { margin-top: var(--s5); }
.head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 56px); }
.head .lede { margin-top: var(--s4); }

/* -------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 26px;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  font: inherit; font-size: 15.5px; font-weight: 700; letter-spacing: -0.005em;
  cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease),
    border-color .2s var(--ease), transform .12s var(--ease);
  text-decoration: none !important; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--aqua); color: var(--hero-deep); }
.btn--primary:hover { background: #00B0B5; }
.btn--coral { background: var(--coral-deep); color: #fff; }
.btn--coral:hover { background: #CB4526; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--mist); }
.sec--dark .btn--ghost, .sec--deep .btn--ghost, .hero .btn--ghost {
  color: var(--ink-inverse); border-color: var(--border-dark);
}
.sec--dark .btn--ghost:hover, .sec--deep .btn--ghost:hover, .hero .btn--ghost:hover {
  background: rgba(246, 242, 234, .1);
}
.btn--sm { min-height: 40px; padding: 9px 18px; font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

.tlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 700;
         font-size: 15px; color: var(--aqua-text); }
.sec--dark .tlink, .sec--deep .tlink { color: var(--aqua); }

/* -------------------------------------------------- header */
.hdr {
  position: sticky; top: 0; z-index: 90;
  background: rgba(250, 246, 239, .88);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.hdr--on-dark {
  background: rgba(12, 36, 57, .78); border-bottom-color: var(--border-dark);
}
.hdr__in { display: flex; align-items: center; gap: var(--s5); min-height: 72px; }
.hdr__logo { display: flex; align-items: center; flex: 0 0 auto; }
.hdr__logo img { height: 30px; width: auto; }
.hdr__nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.hdr__nav a {
  padding: 9px 13px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 600;
  color: var(--ink); transition: background .18s var(--ease);
}
.hdr--on-dark .hdr__nav a { color: var(--ink-inverse); }
.hdr__nav a:hover { background: var(--mist); text-decoration: none; }
.hdr--on-dark .hdr__nav a:hover { background: rgba(246, 242, 234, .12); }
.hdr__nav a[aria-current="page"] { color: var(--aqua-text); }
.hdr--on-dark .hdr__nav a[aria-current="page"] { color: var(--aqua); }
.hdr__end { display: flex; align-items: center; gap: var(--s2); flex: 0 0 auto; }
.lang {
  display: inline-flex; align-items: center; gap: 5px; min-height: 40px;
  padding: 8px 14px; border-radius: var(--r-pill); border: 1.5px solid var(--border-strong);
  font-size: 13.5px; font-weight: 700; color: var(--ink);
}
.hdr--on-dark .lang { color: var(--ink-inverse); border-color: var(--border-dark); }
.lang:hover { background: var(--mist); text-decoration: none; }
.hdr--on-dark .lang:hover { background: rgba(246, 242, 234, .12); }

.burger {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--border-strong);
  border-radius: var(--r-pill); cursor: pointer; color: inherit;
}
.hdr--on-dark .burger { border-color: var(--border-dark); }
.burger span { display: block; width: 18px; height: 1.8px; background: currentColor;
               position: relative; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1.8px; background: currentColor;
}
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

@media (max-width: 1080px) {
  .hdr__nav { display: none; }
  .burger { display: inline-flex; }
}

/* Below this the header row genuinely does not fit: logo 182 + lang + Join +
   burger came to 468px inside a 375px viewport. The Join button is the one to
   drop, because the mobile panel already carries a full-width one. */
@media (max-width: 640px) {
  .hdr__end .btn { display: none; }
}
@media (max-width: 430px) {
  .hdr__logo img { height: 26px !important; }
  .lang { padding: 8px 11px; font-size: 13px; }
  .hdr__in { gap: var(--s3); min-height: 64px; }
}

.mnav {
  border-top: 1px solid var(--border); background: var(--canvas);
  padding: var(--s4) 0 var(--s6);
}
.hdr--on-dark .mnav { background: var(--hero); border-top-color: var(--border-dark); }
.mnav a { display: block; padding: 13px 4px; font-size: 18px; font-weight: 600;
          color: var(--ink); border-bottom: 1px solid var(--border); }
.hdr--on-dark .mnav a { color: var(--ink-inverse); border-bottom-color: var(--border-dark); }
.mnav .btn { margin-top: var(--s5); width: 100%; }

/* -------------------------------------------------- hero */
.hero {
  position: relative; background: var(--hero-deep); color: var(--ink-inverse);
  overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video {
  width: 100%; height: 100%; object-fit: cover;
}
/* Scrim is banded to the text zone rather than a flat wash over the whole
   photograph, so the image still reads as an image. */
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,23,38,.82) 0%, rgba(7,23,38,.62) 34%,
                    rgba(7,23,38,.38) 62%, rgba(7,23,38,.72) 100%),
    linear-gradient(94deg, rgba(7,23,38,.70) 0%, rgba(7,23,38,.28) 56%, rgba(7,23,38,.05) 100%);
}
.hero__in { position: relative; z-index: 1; padding: clamp(80px, 13vh, 150px) 0 clamp(56px, 8vh, 96px); }
.hero__copy { max-width: 780px; }
.hero .d1 { color: #fff; }
.hero__az { display: block; }
.hero__az--b { color: var(--aqua); margin-left: clamp(0px, 6vw, 92px); }
.hero__sub {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(19px, 2.5vw, 30px); color: var(--fog-light);
  margin-top: var(--s4); line-height: 1.25;
}
.hero__lede { margin-top: var(--s5); max-width: 620px; color: #E4E9EE; font-size: clamp(17px, 1.6vw, 20px); }
.hero .btns { margin-top: var(--s6); }
.hero__price { margin-top: var(--s5); max-width: 560px; color: var(--fog-light); font-size: 14px; }
.hero__plans { margin-top: var(--s2); font-size: 14px; font-weight: 700; color: var(--aqua); }

/* the A→Z→A arc */
.arc { margin-top: var(--s6); max-width: 420px; }
.arc svg { width: 100%; height: auto; overflow: visible; }
.arc__path { fill: none; stroke: var(--aqua); stroke-width: 1.6; opacity: .85; }
.arc__label { font-family: var(--display); font-size: 17px; fill: #fff; }
.arc__tick { fill: var(--aqua); }

/* -------------------------------------------------- ticker */
.ticker { background: var(--ink); color: var(--ink-inverse); padding: 14px 0; overflow: hidden; }
.ticker__row { display: flex; gap: 0; width: max-content; animation: slide 34s linear infinite; }
.ticker__set { display: flex; gap: 0; flex: 0 0 auto; }
.ticker__i {
  display: inline-flex; align-items: center; gap: 10px; padding: 0 26px;
  font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--fog-light); white-space: nowrap;
}
.ticker__i::before { content: ''; width: 5px; height: 5px; border-radius: 50%;
                     background: var(--aqua); flex: 0 0 auto; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker__row { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .ticker__set + .ticker__set { display: none; }
}

/* -------------------------------------------------- cards */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  padding: clamp(20px, 2.4vw, 30px); box-shadow: var(--shadow-1);
  transition: box-shadow .22s var(--ease), transform .22s var(--ease);
}
a.card:hover, .card--hover:hover { box-shadow: var(--shadow-2); transform: translateY(-2px);
                                   text-decoration: none; }
.sec--dark .card, .sec--deep .card {
  background: rgba(246, 242, 234, .05); border-color: var(--border-dark); box-shadow: none;
}
.card__ic { width: 40px; height: 40px; color: var(--aqua-deep); margin-bottom: var(--s4); }
.sec--dark .card__ic, .sec--deep .card__ic { color: var(--aqua); }
.card h3 { margin-bottom: var(--s3); }
.card .small { margin-top: var(--s3); }

/* definition rows inside a category card */
.dl { border-top: 1px solid var(--border); margin-top: var(--s5); }
.sec--dark .dl { border-top-color: var(--border-dark); }
.dl__r { display: grid; grid-template-columns: 152px minmax(0, 1fr); gap: var(--s4);
         padding: var(--s4) 0; border-bottom: 1px solid var(--border); }
.sec--dark .dl__r { border-bottom-color: var(--border-dark); }
.dl__k { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--fog); }
.dl__v { font-size: 15px; color: var(--slate); }
.sec--dark .dl__v { color: var(--fog-light); }
@media (max-width: 620px) { .dl__r { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* -------------------------------------------------- goal chips */
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px;
  border-radius: var(--r-pill); border: 1.5px solid var(--border-strong);
  background: var(--card); font-size: 14.5px; font-weight: 600; color: var(--ink);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.chip:hover { border-color: var(--aqua-deep); background: var(--card); text-decoration: none; }
.sec--dark .chip, .sec--deep .chip {
  background: rgba(246, 242, 234, .06); border-color: var(--border-dark); color: var(--ink-inverse);
}
.sec--dark .chip:hover { border-color: var(--aqua); }

/* -------------------------------------------------- numbered steps */
.steps { counter-reset: s; display: grid; gap: var(--s5); }
.step { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: var(--s5);
        padding-bottom: var(--s5); border-bottom: 1px solid var(--border); }
.sec--dark .step { border-bottom-color: var(--border-dark); }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step__n {
  font-family: var(--display); font-size: 34px; line-height: 1; color: var(--aqua-deep);
  font-variant-numeric: tabular-nums;
}
.sec--dark .step__n, .sec--deep .step__n { color: var(--aqua); }
.step h3 { margin-bottom: 6px; }
@media (max-width: 620px) { .step { grid-template-columns: 44px minmax(0, 1fr); gap: var(--s4); }
  .step__n { font-size: 26px; } }

/* -------------------------------------------------- checklists */
.ticks { display: grid; gap: var(--s3); }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--s3);
            font-size: 15.5px; color: var(--slate); }
.sec--dark .ticks li, .sec--deep .ticks li { color: var(--fog-light); }
.ticks svg { width: 18px; height: 18px; margin-top: 4px; color: var(--aqua-deep); flex: 0 0 auto; }
.sec--dark .ticks svg, .sec--deep .ticks svg { color: var(--aqua); }
.ticks--x svg { color: var(--fog); }

/* -------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
.stat__n { font-family: var(--display); font-size: clamp(36px, 4.4vw, 60px); line-height: 1;
           color: var(--aqua-deep); font-variant-numeric: tabular-nums; }
.sec--dark .stat__n, .sec--deep .stat__n { color: var(--aqua); }
.stat__l { margin-top: var(--s2); font-size: 13.5px; color: var(--slate); }
.sec--dark .stat__l, .sec--deep .stat__l { color: var(--fog-light); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* -------------------------------------------------- pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5);
         align-items: start; }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { display: flex; flex-direction: column; height: 100%; position: relative; }
.plan--best { border-color: var(--aqua-deep); border-width: 2px; }
.plan__flag {
  position: absolute; top: -13px; left: 24px; background: var(--aqua); color: var(--hero-deep);
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--r-pill);
}
.plan__name { font-family: var(--display); font-size: 27px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin: var(--s3) 0 var(--s4); }
.plan__amt { font-family: var(--display); font-size: 52px; line-height: 1;
             font-variant-numeric: tabular-nums; }
.plan__per { font-size: 15px; color: var(--fog); font-weight: 600; }
.plan__tag { color: var(--slate); font-size: 15px; min-height: 72px; }
.plan .ticks { margin: var(--s5) 0; }
.plan .btn { margin-top: auto; width: 100%; }

/* -------------------------------------------------- panel systems */
.sys { border-top: 1px solid var(--border); }
.sys__r { display: grid; grid-template-columns: 210px 54px minmax(0, 1fr); gap: var(--s5);
          padding: var(--s5) 0; border-bottom: 1px solid var(--border); align-items: start; }
.sys__n { font-family: var(--display); font-size: 21px; }
.sys__c { font-size: 13px; font-weight: 700; color: var(--aqua-text);
          font-variant-numeric: tabular-nums; padding-top: 5px; }
.sys__m { font-size: 15px; color: var(--slate); }
@media (max-width: 760px) {
  .sys__r { grid-template-columns: minmax(0, 1fr) 54px; gap: var(--s2) var(--s4); }
  .sys__m { grid-column: 1 / -1; }
}

/* -------------------------------------------------- gauge illustration */
.gauge { background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
         padding: clamp(20px, 2.4vw, 30px); box-shadow: var(--shadow-1); }
.gauge__top { display: flex; justify-content: space-between; align-items: baseline;
              margin-bottom: var(--s5); }
.gauge__name { font-weight: 700; font-size: 15px; }
.gauge__sys { font-size: 12.5px; color: var(--fog); }
.gauge__bar { height: 10px; border-radius: var(--r-pill); overflow: hidden; display: flex; }
.gauge__seg { height: 100%; }
.gauge__scale { display: flex; justify-content: space-between; margin-top: var(--s2);
                font-size: 11.5px; color: var(--fog); font-weight: 600; }
.gauge__val { display: flex; align-items: baseline; gap: 6px; margin-top: var(--s5); }
.gauge__num { font-family: var(--display); font-size: 42px; line-height: 1;
              font-variant-numeric: tabular-nums; }
.gauge__unit { font-size: 14px; color: var(--fog); }
.gauge__pill { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s4);
               background: rgba(0, 128, 122, .1); color: var(--ok); border-radius: var(--r-pill);
               padding: 5px 13px; font-size: 13px; font-weight: 700; }

/* -------------------------------------------------- phone mock */
.phone { width: 100%; max-width: 330px; margin: 0 auto; background: var(--hero-deep);
         border-radius: 34px; padding: 11px; box-shadow: var(--shadow-2); }
.phone__scr { background: var(--canvas); border-radius: 25px; padding: var(--s5) var(--s4);
              color: var(--ink); }
.phone__bar { display: flex; justify-content: space-between; font-size: 11px;
              color: var(--fog); font-weight: 700; margin-bottom: var(--s5); }
.phone__hi { font-family: var(--display); font-size: 22px; margin-bottom: var(--s4); }
.dose { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) 0;
        border-top: 1px solid var(--border); font-size: 13.5px; }
.dose__k { font-weight: 700; letter-spacing: .06em; font-size: 11.5px; }
.dose__s { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--ok); }
.dose__s--due { color: var(--warn); }
.ring { width: 30px; height: 30px; flex: 0 0 auto; }
.week { display: flex; gap: 5px; margin-top: var(--s4); }
.week i { flex: 1; height: 5px; border-radius: var(--r-pill); background: var(--stone); }
.week i.on { background: var(--aqua-deep); }

/* -------------------------------------------------- chat mock */
.chat { background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
        padding: var(--s5); box-shadow: var(--shadow-1); }
.chat__top { display: flex; align-items: center; gap: var(--s3); padding-bottom: var(--s4);
             border-bottom: 1px solid var(--border); }
.chat__av { width: 34px; height: 34px; border-radius: 50%; background: var(--aqua);
            color: var(--hero-deep); display: grid; place-items: center;
            font-weight: 800; font-size: 15px; flex: 0 0 auto; }
.chat__b { margin-top: var(--s4); padding: var(--s4); border-radius: var(--r-sm);
           font-size: 14.5px; line-height: 1.55; }
.chat__b--me { background: var(--mist); }
.chat__b--ai { background: rgba(0, 194, 199, .1); border: 1px solid rgba(0, 150, 156, .25); }
.chat__note { display: flex; gap: var(--s2); margin-top: var(--s4); font-size: 12.5px;
              color: var(--fog); }

/* -------------------------------------------------- two-column compare */
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
@media (max-width: 760px) { .vs { grid-template-columns: minmax(0, 1fr); } }
.vs__col--old { background: var(--mist); }
.vs__col--new { border-color: var(--aqua-deep); border-width: 2px; }
.vs__h { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
         color: var(--fog); }
.vs__col--new .vs__h { color: var(--aqua-text); }
.vs__s { font-family: var(--display); font-size: 24px; margin: var(--s2) 0 var(--s5); }

/* -------------------------------------------------- accordion */
.acc { border-top: 1px solid var(--border); }
.acc details { border-bottom: 1px solid var(--border); }
.acc summary {
  display: flex; gap: var(--s4); align-items: flex-start; justify-content: space-between;
  padding: var(--s5) 0; cursor: pointer; font-weight: 700; font-size: 17px;
  list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ''; flex: 0 0 auto; width: 13px; height: 13px; margin-top: 7px;
  border-right: 2px solid var(--aqua-deep); border-bottom: 2px solid var(--aqua-deep);
  transform: rotate(45deg); transition: transform .22s var(--ease);
}
.acc details[open] summary::after { transform: rotate(-135deg); }
.acc__a { padding: 0 0 var(--s5); max-width: var(--reading); color: var(--slate); }
.acc h3 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
          color: var(--aqua-text); margin: var(--s7) 0 0; }

/* -------------------------------------------------- disclaimers */
.disc { background: var(--mist); border-radius: var(--r); padding: var(--s5);
        border-left: 3px solid var(--aqua-deep); }
.disc p { font-size: 13.5px; line-height: 1.6; color: var(--slate); }
.disc p + p { margin-top: var(--s3); }
.fda { font-size: 12.5px; color: var(--fog); line-height: 1.55; }

/* -------------------------------------------------- CTA band */
.cta { background: var(--hero-deep); color: var(--ink-inverse); text-align: center; }
.cta__in { padding: clamp(64px, 9vw, 120px) 0; max-width: 720px; margin: 0 auto; }
.cta .d2 { color: #fff; }
.cta .btns { justify-content: center; margin-top: var(--s6); }

/* -------------------------------------------------- footer */
.ftr { background: var(--ink); color: var(--ink-inverse); padding: clamp(56px, 7vw, 88px) 0 var(--s7); }
.ftr__top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: var(--s6);
            padding-bottom: var(--s7); border-bottom: 1px solid var(--border-dark); }
@media (max-width: 1080px) { .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ftr__top { grid-template-columns: minmax(0, 1fr); } }
.ftr__brand img { height: 32px; margin-bottom: var(--s4); }
.ftr__brand p { font-size: 14px; color: var(--fog-light); max-width: 330px; }
.ftr__ch { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
           color: var(--fog); margin-bottom: var(--s4); }
.ftr__c a { display: block; padding: 5px 0; font-size: 14px; color: var(--ink-inverse); }
.ftr__c a:hover { color: var(--aqua); }
.ftr__legal { padding-top: var(--s6); display: grid; gap: var(--s4); }
.ftr__legal p { font-size: 12.5px; line-height: 1.6; color: var(--fog); max-width: 92ch; }
.ftr__bot { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--border-dark);
            display: flex; flex-wrap: wrap; gap: var(--s4); justify-content: space-between;
            align-items: center; font-size: 12.5px; color: var(--fog); }
.ftr__bot a { color: var(--fog); }
.ftr__bot a:hover { color: var(--aqua); }
.ftr__dev { display: inline-flex; align-items: center; gap: 7px; }
.ftr__dev svg { width: 15px; height: 15px; color: var(--aqua); }

/* -------------------------------------------------- learning centre */
.lc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
@media (max-width: 960px) { .lc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .lc { grid-template-columns: minmax(0, 1fr); } }
.lc__cat { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
           color: var(--aqua-text); margin-bottom: var(--s3); }
.lc__t { font-family: var(--display); font-size: 21px; line-height: 1.18; margin-bottom: var(--s3); }
.lc__d { font-size: 14.5px; color: var(--slate); }
.lc__m { margin-top: var(--s4); font-size: 12.5px; color: var(--fog); font-weight: 600; }

.art { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(32px, 5vw, 72px);
       align-items: start; }
@media (max-width: 1000px) { .art { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: var(--reading); }
.prose > * + * { margin-top: var(--s5); }
.prose h2 { font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 500;
            margin-top: var(--s8); letter-spacing: -0.018em; }
.prose h3 { font-size: 19px; font-weight: 700; margin-top: var(--s7); }
.prose p { font-size: 17.5px; line-height: 1.7; color: #223546; }
.prose ul, .prose ol { display: grid; gap: var(--s3); padding-left: 0; }
.prose li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--s3);
            font-size: 17px; line-height: 1.65; color: #223546; }
.prose li::before { content: ''; width: 6px; height: 6px; border-radius: 50%;
                    background: var(--aqua-deep); margin-top: 11px; }
.prose ol { counter-reset: p; }
.prose ol li::before { counter-increment: p; content: counter(p); width: auto;
                       background: none; border-radius: 0; margin-top: 0;
                       font-weight: 700; color: var(--aqua-text); font-size: 15px; }
.prose blockquote { margin: var(--s7) 0; padding: var(--s5); background: var(--mist);
                    border-left: 3px solid var(--aqua-deep); border-radius: 0 var(--r) var(--r) 0; }
.prose blockquote p { font-size: 16.5px; color: var(--slate); }
.prose strong { font-weight: 700; color: var(--ink); }
.toc { position: sticky; top: 96px; border-left: 2px solid var(--border); padding-left: var(--s4); }
.toc__h { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
          color: var(--fog); margin-bottom: var(--s3); }
.toc a { display: block; padding: 5px 0; font-size: 13.5px; color: var(--slate); }
.toc a:hover { color: var(--aqua-text); }
@media (max-width: 1000px) { .toc { display: none; } }

.crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px;
         color: var(--fog); margin-bottom: var(--s5); }
.crumb a { color: var(--slate); }
.crumb span { color: var(--fog-light); }

/* -------------------------------------------------- forms */
.form { display: grid; gap: var(--s5); max-width: 620px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 700; }
.field .hint { font-size: 12.5px; color: var(--fog); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; min-height: 50px; padding: 13px 15px;
  border: 1.5px solid var(--border-strong); border-radius: var(--r-sm);
  background: var(--card); color: var(--ink); width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--aqua-deep); outline: 3px solid rgba(0, 150, 156, .2); outline-offset: 0;
}
.req { color: var(--bad); }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--s3);
         align-items: start; font-size: 14.5px; color: var(--slate); }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; }

/* -------------------------------------------------- contact cards */
.cc { display: grid; gap: var(--s2); }
.cc__t { font-weight: 700; font-size: 15.5px; }
.cc__e { font-weight: 700; color: var(--aqua-text); font-size: 15px; word-break: break-word; }

/* -------------------------------------------------- reveal (fails visible) */
.reveal-on .rv { opacity: 0; transform: translateY(18px); }
.reveal-on .rv.in,
.reveal-on .rv:focus-within { opacity: 1; transform: none; }
.reveal-on .rv { transition: opacity .55s var(--ease), transform .55s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal-on .rv { opacity: 1 !important; transform: none !important; transition: none; }
}

/* -------------------------------------------------- utilities */
.center { text-align: center; }
.mt0 { margin-top: 0 !important; }
.mt4 { margin-top: var(--s4); }
.mt5 { margin-top: var(--s5); }
.mt6 { margin-top: var(--s6); }
.mt7 { margin-top: var(--s7); }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.scrollx { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rule { height: 1px; background: var(--border); border: 0; margin: 0; }
.sec--dark .rule { background: var(--border-dark); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
         border-radius: var(--r-pill); background: rgba(0, 194, 199, .13);
         color: var(--aqua-text); font-size: 12.5px; font-weight: 700; }
.sec--dark .badge, .sec--deep .badge { background: rgba(0, 194, 199, .18); color: var(--aqua); }

/* ---------------------------------------------------------------- no inline styles
   The Content-Security-Policy on this host is style-src 'self', which blocks
   style="" attributes outright — the first deploy shipped a broken layout for
   exactly this reason. Everything that used to be an inline style lives here. */
.hdr__logo img { height: 30px; width: auto; }
.ftr__brand img { height: 34px; width: auto; }

.photo { border-radius: var(--r); box-shadow: var(--shadow-1); width: 100%; height: auto; }
.svg-fluid { width: 100%; height: auto; overflow: visible; }
.loop-wrap { max-width: 520px; margin: 0 auto; }

.d1--page  { font-size: clamp(36px, 5.6vw, 68px); }
.d1--sub   { font-size: clamp(34px, 5.2vw, 64px); }
.d1--cat   { font-size: clamp(32px, 5vw, 58px); }
.d1--art   { font-size: clamp(30px, 4.6vw, 54px); }
.d1--legal { font-size: clamp(30px, 4.4vw, 52px); }
.d2--cat   { font-size: clamp(26px, 3.4vw, 40px); }
.d2--sec   { font-size: clamp(26px, 3.2vw, 38px); }
.d3--quote { font-size: clamp(20px, 2.2vw, 27px); }

.lnk-plain { color: inherit; }
.lnk-plain:hover { color: var(--aqua-text); }
.dl--flush { margin-top: 0; border-top: 0; }
.mb6 { margin-bottom: var(--s6); }

.pullquote { margin: var(--s7) 0 0; padding: var(--s5); background: var(--mist);
             border-left: 3px solid var(--aqua-deep);
             border-radius: 0 var(--r) var(--r) 0; }

/* honeypot — present for bots, off-screen and unreachable for everyone else */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* evidence grades. Each is a fixed pair, so they are classes not computed styles. */
.badge--established { background: rgba(0, 128, 122, .12); color: var(--ok); }
.badge--emerging    { background: rgba(178, 107, 0, .12); color: var(--warn); }
.badge--mechanism   { background: rgba(224, 81, 47, .12); color: var(--coral-deep); }

.gauge__seg--opt  { width: 34%; background: var(--ok); }
.gauge__seg--norm { width: 40%; background: var(--sun); }
.gauge__seg--high { width: 26%; background: var(--coral); }
.pad7 { padding: var(--s7) 0; }
.chat__name { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
