/* EasyMed™ — main stylesheet
   Sections: tokens, base, layout, components, header, hero, homepage sections,
   footer, placeholder pages, motion, responsive. */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy-950: #071528;
  --navy-900: #0b1f3a;
  --navy-800: #12294b;
  --navy-700: #1b3a66;
  --teal-300: #7fdcd4;
  --teal-400: #3cc7bd;
  --teal-500: #1aa89d;
  --teal-700: #0d7068;
  --white: #ffffff;
  --mist: #f3f7fa;
  --mist-2: #e9f1f6;
  --line: #dbe4ec;
  --ink: #0e1b2e;
  --muted: #4a5b73;
  --on-navy: #e7eef7;
  --on-navy-muted: #a9bad0;

  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06), 0 2px 8px rgba(11, 31, 58, 0.05);
  --shadow: 0 10px 30px -12px rgba(11, 31, 58, 0.22);
  --shadow-lg: 0 30px 60px -24px rgba(7, 21, 40, 0.45);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 700ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0; color: inherit; }
p { margin: 0; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy-900); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }
.section { padding: var(--section-y) 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%); }
.section--navy { background: var(--navy-900); color: var(--on-navy); overflow: hidden; }
.section__header { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); font-weight: 700; color: var(--navy-900); }
.section__title--light { color: var(--white); }
.section__lead { margin-top: 20px; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--muted); max-width: 640px; }
.section__lead--light { color: var(--on-navy-muted); }

/* ---------- Components ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--teal-300); }

.btn {
  --btn-bg: var(--navy-900); --btn-fg: var(--white); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 12px 22px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-family: var(--font-display); font-weight: 650; font-size: 0.98rem; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 0.92rem; }
.btn--lg { min-height: 54px; padding: 15px 28px; font-size: 1.02rem; }
.btn--primary { --btn-bg: var(--navy-900); }
.btn--primary:hover { --btn-bg: var(--navy-700); }
.btn--accent { --btn-bg: var(--teal-400); --btn-fg: var(--navy-950); }
.btn--accent:hover { --btn-bg: var(--teal-300); }
.btn--ghost-light { --btn-bg: rgba(255, 255, 255, 0.04); --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, 0.35); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, 0.1); --btn-bd: rgba(255, 255, 255, 0.7); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display);
  font-weight: 650; color: var(--navy-800); text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform 0.25s var(--ease); color: var(--teal-500); }
.link-arrow:hover::after { transform: translateX(4px); }

.tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal-700); background: rgba(26, 168, 157, 0.1); padding: 4px 10px; border-radius: 999px;
}
.fine-print { font-size: 0.9rem; color: var(--muted); }

/* Placeholder media: clearly labeled stand-ins for imagery EasyMed™ will supply */
.placeholder {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(60, 199, 189, 0.22), transparent 60%),
    linear-gradient(150deg, var(--mist-2), #dbe7ef);
  color: var(--navy-700);
}
.placeholder::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(11, 31, 58, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 31, 58, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}
.placeholder--dark {
  background:
    radial-gradient(90% 80% at 80% 0%, rgba(60, 199, 189, 0.25), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: var(--on-navy);
}
.placeholder--dark::before { background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); }
.placeholder__label {
  position: relative; max-width: 80%; text-align: center;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 7px 14px; border-radius: 999px; border: 1px dashed currentColor; opacity: 0.85;
  background: rgba(255, 255, 255, 0.4);
}
.placeholder--dark .placeholder__label { background: rgba(7, 21, 40, 0.4); }
[data-placeholder] { color: var(--on-navy-muted); font-style: italic; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, height 0.3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__brand { text-decoration: none; flex-shrink: 0; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 34px; height: 34px; }
.logo__mark-a { fill: var(--navy-900); }
.logo__mark-b { fill: var(--teal-400); mix-blend-mode: multiply; opacity: 0.92; }
.logo__word { font-family: var(--font-display); font-weight: 750; font-size: 1.38rem; letter-spacing: -0.03em; color: var(--navy-900); }
.logo__word-accent { color: var(--teal-500); }
.logo__tm { font-size: 0.5em; font-weight: 600; margin-left: 1px; vertical-align: super; line-height: 0; }
.logo--light .logo__mark-a { fill: var(--white); }
.logo--light .logo__mark-b { mix-blend-mode: normal; opacity: 0.85; }
.logo--light .logo__word { color: var(--white); }
.logo--light .logo__word-accent { color: var(--teal-300); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 10px 12px; border-radius: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.94rem;
  color: var(--navy-800); text-decoration: none; white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--teal-400); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--navy-900); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--navy-900); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--white); cursor: pointer; place-items: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy-900);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-950) 70%);
  color: var(--on-navy);
  padding: clamp(56px, 6.5vw, 96px) 0 clamp(40px, 5vw, 64px);
}
.hero__backdrop { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.hero__glow--a { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(60, 199, 189, 0.55), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.hero__glow--b { width: 620px; height: 620px; left: -260px; bottom: -320px; background: radial-gradient(circle, rgba(27, 58, 102, 0.9), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, black 10%, transparent 75%);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.15rem, 1.3rem + 2.5vw, 3.35rem); font-weight: 750; color: var(--white); letter-spacing: -0.03em; }
.hero__title-break { display: block; margin-top: 6px; background: linear-gradient(90deg, var(--white) 0%, var(--teal-300) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 24px; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem); color: var(--on-navy-muted); max-width: 580px; }
.hero__tagline {
  margin-top: 22px; padding-left: 6px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--teal-300);
  display: inline-flex; align-items: center; gap: 12px;
}
.hero__tagline::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 6px rgba(60, 199, 189, 0.15); }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.video-frame { margin: 0; }
.video-frame__screen, .video-frame video {
  aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.video-frame__screen { gap: 18px; align-content: center; }
.video-frame__play {
  position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}
.video-frame__play::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(127, 220, 212, 0.4);
  animation: pulse 2.8s var(--ease) infinite;
}
.video-frame__play svg { width: 28px; height: 28px; fill: var(--white); margin-left: 4px; }
.video-frame__caption { margin-top: 14px; font-size: 0.85rem; color: var(--on-navy-muted); text-align: center; }

.hero__facts {
  list-style: none; margin-top: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__facts li { padding: 22px 24px 0 0; display: grid; gap: 4px; font-size: 0.98rem; color: var(--on-navy); }
.hero__facts li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.hero__fact-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-300); }

/* ---------- Section C: concept ---------- */
.concept__inner { display: grid; gap: clamp(40px, 6vw, 72px); }
.concept__intro { max-width: 760px; }
.concept__story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.concept__visual { position: sticky; top: calc(var(--header-h) + 32px); }
.story-graphic {
  aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(90% 80% at 50% 40%, var(--white), var(--mist-2));
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.story-graphic__svg { width: 88%; height: auto; overflow: visible; }
.story-graphic__ring { fill: none; stroke: var(--line); stroke-width: 1.5; transition: transform 1s var(--ease), opacity 1s; transform-origin: 200px 160px; }
.story-graphic__ring--inner { stroke-dasharray: 4 8; stroke: var(--teal-400); opacity: 0.35; }
.story-graphic__part { transition: transform 1.1s var(--ease), opacity 0.8s; transform-box: fill-box; transform-origin: center; }
.story-graphic__part--b { opacity: 0.88; }
.story-graphic__num { font-family: var(--font-display); font-weight: 750; font-size: 34px; fill: var(--white); transition: transform 1.1s var(--ease), opacity 0.6s; }
.story-graphic__amp { font-family: var(--font-display); font-weight: 700; font-size: 26px; fill: var(--navy-900); opacity: 0; transition: opacity 0.6s 0.3s; }

/* Step 1: parts apart */
.story-graphic[data-step="1"] .story-graphic__part--a,
.story-graphic[data-step="1"] .story-graphic__num--a { transform: translateX(-46px); }
.story-graphic[data-step="1"] .story-graphic__part--b,
.story-graphic[data-step="1"] .story-graphic__num--b { transform: translateX(46px); }
.story-graphic[data-step="1"] .story-graphic__ring--inner { transform: scale(0.85); opacity: 0; }
.story-graphic[data-step="1"] .story-graphic__amp { opacity: 1; }
/* Step 2: parts meet */
.story-graphic[data-step="2"] .story-graphic__ring--inner { transform: rotate(45deg); }
/* Step 3: one experience */
.story-graphic[data-step="3"] .story-graphic__part--a { transform: translateX(26px) scale(1.06); }
.story-graphic[data-step="3"] .story-graphic__part--b { transform: translateX(-26px) scale(1.06); }
.story-graphic[data-step="3"] .story-graphic__num { opacity: 0; }
.story-graphic[data-step="3"] .story-graphic__ring { transform: scale(1.06); }
.story-graphic[data-step="3"] .story-graphic__ring--inner { transform: rotate(120deg) scale(1.1); opacity: 0.6; }

.concept__note { margin-top: 14px; font-size: 0.82rem; color: var(--muted); text-align: center; }
.concept__steps { list-style: none; display: grid; gap: 18px; padding: 4vh 0; }
.story-step {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 30px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
  color: var(--muted); opacity: 0.55;
  transition: opacity 0.5s, border-color 0.5s, box-shadow 0.5s, transform 0.6s var(--ease);
}
.story-step.is-active { opacity: 1; border-color: rgba(26, 168, 157, 0.45); box-shadow: var(--shadow), inset 3px 0 0 var(--teal-400); }
.story-step__num { font-family: var(--font-display); font-weight: 750; font-size: 0.95rem; color: var(--teal-700); padding-top: 3px; }
.story-step__title { font-size: 1.3rem; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; }
.concept__footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding-top: 28px; border-top: 1px solid var(--line); }

/* ---------- Section D: markets ---------- */
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px); }
.market-card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.market-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.market-card__media { aspect-ratio: 4 / 3; transition: transform 0.8s var(--ease); }
.market-card:hover .market-card__media { transform: scale(1.03); }
.market-card__body { display: grid; gap: 14px; align-content: start; padding: 28px; flex: 1; position: relative; background: var(--white); }
.market-card__body .tag { justify-self: start; }
.market-card__title { font-size: 1.4rem; font-weight: 700; color: var(--navy-900); }
.market-card__body p:not(.tag) { color: var(--muted); font-size: 1rem; }
.market-card__body .link-arrow { margin-top: auto; padding-top: 6px; }

/* ---------- Section E: partner ---------- */
.partner__backdrop {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 70% at 100% 0%, rgba(60, 199, 189, 0.2), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(27, 58, 102, 0.8), transparent 70%);
}
.partner__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.partner__copy .btn { margin-top: 36px; }
.partner__panel {
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}
.partner__panel-title { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 20px; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-navy); }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: rgba(60, 199, 189, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%237fdcd4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.process { list-style: none; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.process li { display: grid; gap: 8px; font-size: 0.9rem; color: var(--on-navy-muted); }
.process span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--teal-400); color: var(--teal-300); font-weight: 700; font-size: 0.85rem; }

/* ---------- Section F: demos ---------- */
.demos__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.demos__media { aspect-ratio: 1 / 1; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.demo-formats { list-style: none; margin: 32px 0 36px; display: grid; gap: 4px; }
.demo-formats li { padding: 18px 0 18px 22px; border-left: 2px solid var(--line); transition: border-color 0.3s; }
.demo-formats li:hover { border-color: var(--teal-400); }
.demo-formats h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy-900); margin-bottom: 4px; }
.demo-formats p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Safety band + footer ---------- */
.safety-band { background: var(--mist); border-top: 1px solid var(--line); }
.safety-band__inner { padding-top: 28px; padding-bottom: 28px; display: grid; grid-template-columns: auto 1fr; gap: 8px 32px; font-size: 0.92rem; color: var(--muted); }
.safety-band__title { font-family: var(--font-display); font-weight: 700; color: var(--navy-900); }

.site-footer { background: var(--navy-950); color: var(--on-navy-muted); padding: clamp(56px, 7vw, 88px) 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer__brand a { text-decoration: none; }
.footer__tagline { margin-top: 16px; color: var(--teal-300); font-family: var(--font-display); font-weight: 600; }
.footer__contact { margin-top: 28px; display: grid; gap: 6px; font-size: 0.92rem; }
.footer__heading { display: block; font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.footer__contact .footer__heading { margin-bottom: 4px; }
.footer__links { list-style: none; display: grid; gap: 10px; }
.footer__links a { color: var(--on-navy-muted); text-decoration: none; font-size: 0.96rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--white); }
.footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: 0.84rem; }

/* ---------- Placeholder pages ---------- */
.page-hero { background: linear-gradient(165deg, var(--navy-900), var(--navy-950)); color: var(--on-navy); padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 7vw, 88px); }
.page-hero__title { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); font-weight: 750; color: var(--white); }
.page-hero__lead { margin-top: 20px; max-width: 680px; color: var(--on-navy-muted); font-size: 1.12rem; }
.status-pill { display: inline-block; margin-top: 28px; padding: 6px 14px; border-radius: 999px; border: 1px dashed var(--teal-400); color: var(--teal-300); font-size: 0.82rem; font-weight: 600; }
.placeholder-note { margin-top: 16px; color: var(--muted); }
.contact-list { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.contact-list span { display: inline-block; min-width: 90px; font-weight: 600; color: var(--navy-900); }

/* ---------- Motion ---------- */
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-40px, 30px, 0); } }
@keyframes pulse { 0% { transform: scale(0.9); opacity: 0.8; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Hero entrance (CSS only, staggered via --d) */
.js .hero__anim { opacity: 0; animation: rise 0.9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }

/* Scroll reveals: hidden only when JS runs, so content is never lost without it */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: calc(var(--stagger, 0) * 110ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .hero__anim, .js [data-reveal] { opacity: 1; transform: none; animation: none; }
  .hero__glow, .video-frame__play::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav { gap: 16px; }
  .nav__link { padding: 10px 8px; font-size: 0.9rem; }
  .nav__link::after { left: 8px; right: 8px; }
}

@media (max-width: 1020px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 20px var(--gutter) 28px; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s 0.3s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--teal-700); }
  .nav__cta { min-height: 52px; }

  .hero__inner, .partner__inner, .demos__inner { grid-template-columns: 1fr; }
  .concept__story { grid-template-columns: 1fr; }
  .concept__visual { position: relative; top: 0; max-width: 520px; }
  .concept__steps { padding: 0; }
  .market-grid { grid-template-columns: 1fr 1fr; }
  .market-grid .market-card:last-child { grid-column: 1 / -1; }
  .demos__media { aspect-ratio: 16 / 10; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts li, .hero__facts li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .market-grid { grid-template-columns: 1fr; }
  .story-step { padding: 22px; gap: 14px; }
  .process { grid-template-columns: 1fr; }
  .process li { grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
  .safety-band__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__legal { flex-direction: column; }
}

/* =====================================================================
   Phase 2: product page, presentation, demonstration, applications,
   product information, safety, Treasure Coast, inquiry form.
   ===================================================================== */
:root { --danger: #b42318; --danger-bg: #fef3f2; --ok: #0d7068; --ok-bg: #ecfaf8; }

.btn--outline { --btn-bg: var(--white); --btn-fg: var(--navy-900); --btn-bd: var(--line); }
.btn--outline:hover { --btn-bd: var(--navy-700); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.link-arrow--light { color: var(--white); align-self: center; padding: 0 6px; }
.link-arrow--light::after { color: var(--teal-300); }
.link-arrow--light:hover { color: var(--teal-300); }
.page-hero__link { color: var(--teal-300); }
.page-hero__link:hover { color: var(--white); }
.page-hero .hero__actions { margin-top: 32px; }
.dot-list { list-style: none; display: grid; gap: 8px; }
.dot-list li { position: relative; padding-left: 20px; color: var(--muted); }
.dot-list li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-400); }

/* ---------- Product hero ---------- */
.product-hero__name {
  display: block; margin-bottom: 18px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-300);
}
.product-hero .hero__tagline { margin-top: 18px; }
.product-hero__lead2 { margin-top: 14px; }
.product-hero .hero__actions { align-items: center; }

/* ---------- Animated introduction (HyperFrames section) ---------- */
.intro { margin: 0; }
.intro__stage {
  position: relative; aspect-ratio: 16 / 11; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(80% 70% at 75% 15%, rgba(60, 199, 189, 0.28), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.intro__art { position: absolute; inset: 0; }
.intro__ring, .intro__orb, .intro__chip { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); }
.intro__ring {
  width: 58%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.14);
  transition: transform 1.2s var(--ease), opacity 1s, border-color 1s;
}
.intro__ring--dash { width: 44%; border: 1.5px dashed rgba(127, 220, 212, 0.45); }
.intro__orb {
  width: 24%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%) translateX(var(--x, 0%)) scale(var(--s, 1));
  transition: transform 1.2s var(--ease), opacity 0.9s, filter 1s;
}
.intro__orb--a { background: linear-gradient(145deg, #2a4f86, var(--navy-900)); box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset; }
.intro__orb--b { background: linear-gradient(145deg, var(--teal-300), var(--teal-500)); mix-blend-mode: screen; opacity: 0.9; }
.intro__chip {
  top: 64%; padding: 5px 12px; border-radius: 999px; white-space: nowrap;
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 650; letter-spacing: 0.02em;
  color: var(--white); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0; transform: translate(-50%, -50%) translateX(var(--x, 0)) translateY(8px);
  transition: opacity 0.7s, transform 1.1s var(--ease);
}
.intro__frames { list-style: none; position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(20px, 3vw, 32px) clamp(26px, 3.4vw, 36px); }
.intro__frame { position: absolute; left: clamp(20px, 3vw, 32px); right: clamp(20px, 3vw, 32px); bottom: clamp(26px, 3.4vw, 36px); opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
.intro__frame.is-active { opacity: 1; transform: none; }
.intro__kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-300); }
.intro__line { margin-top: 4px; font-family: var(--font-display); font-weight: 750; letter-spacing: -0.02em; line-height: 1.15; font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); color: var(--white); }
.intro__line span { color: var(--teal-300); }
.intro__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.08); }
.intro__progress span { display: block; height: 100%; width: 0; background: var(--teal-400); }

/* Frame states */
.intro__stage[data-frame="1"] .intro__orb--a { --x: -28%; }
.intro__stage[data-frame="1"] .intro__orb--b { --x: 28%; }
.intro__stage[data-frame="1"] .intro__ring--dash { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
.intro__stage[data-frame="2"] .intro__orb { --s: 1.15; }
.intro__stage[data-frame="2"] .intro__ring { transform: translate(-50%, -50%) scale(1.06); border-color: rgba(127, 220, 212, 0.35); }
.intro__stage[data-frame="2"] .intro__ring--dash { transform: translate(-50%, -50%) rotate(60deg); }
.intro__stage[data-frame="3"] .intro__orb--a, .intro__stage[data-frame="3"] .intro__chip--a { --x: -95%; }
.intro__stage[data-frame="3"] .intro__orb--b, .intro__stage[data-frame="3"] .intro__chip--b { --x: 95%; }
.intro__stage[data-frame="3"] .intro__chip--a { --x: -85%; }
.intro__stage[data-frame="3"] .intro__chip--b { --x: 85%; }
.intro__stage[data-frame="3"] .intro__chip { opacity: 1; transform: translate(-50%, -50%) translateX(var(--x)); }
.intro__stage[data-frame="3"] .intro__ring--dash { opacity: 0; }
.intro__stage[data-frame="4"] .intro__orb { --s: 0.55; }
.intro__stage[data-frame="4"] .intro__ring { transform: translate(-50%, -50%) scale(0.62); border-color: rgba(127, 220, 212, 0.55); }
.intro__stage[data-frame="4"] .intro__ring--dash { transform: translate(-50%, -50%) scale(0.5) rotate(140deg); }
.intro__stage[data-frame="5"] .intro__orb--a { --x: -14%; }
.intro__stage[data-frame="5"] .intro__orb--b { --x: 14%; }
.intro__stage[data-frame="5"] .intro__ring { transform: translate(-50%, -50%) scale(1.12); opacity: 0.6; }
.intro__stage[data-frame="5"] .intro__ring--dash { transform: translate(-50%, -50%) scale(1.05) rotate(200deg); }

.intro__controls { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.intro__toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.25); color: var(--white);
  font: 600 0.84rem var(--font-display); cursor: pointer;
}
.intro__toggle:hover { border-color: rgba(255, 255, 255, 0.6); }
.intro__toggle-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.intro__toggle[data-paused="true"] .intro__toggle-icon { border: 0; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.intro__dots { display: flex; gap: 2px; }
.intro__dots button { width: 28px; height: 40px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.intro__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); transition: background 0.3s, transform 0.3s; }
.intro__dots button[aria-current="true"]::before { background: var(--teal-400); transform: scale(1.3); }
.intro__note { margin-top: 6px; font-size: 0.8rem; color: var(--on-navy-muted); text-align: center; }
/* Without JavaScript, show the final frame as a still */
html:not(.js) .intro__frame[data-intro-frame="5"] { opacity: 1; transform: none; }
html:not(.js) .intro__controls { display: none; }

/* ---------- Presentation: video player ---------- */
.presentation__subhead { margin: clamp(56px, 7vw, 88px) 0 24px; font-size: 1.35rem; font-weight: 700; color: var(--navy-900); }
.player { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-950); box-shadow: var(--shadow-lg); }
.player__frame { position: relative; }
.player__screen, .player__video { aspect-ratio: 16 / 9; width: 100%; }
.player__video { background: #000; }
.player__screen { gap: 18px; align-content: center; }
.player__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 20px clamp(18px, 3vw, 28px); color: var(--on-navy); }
.player__title { font-family: var(--font-display); font-weight: 700; color: var(--white); }
.player__meta { font-size: 0.86rem; color: var(--on-navy-muted); }
.player__chapters { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.player__chapter {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--on-navy);
  font: 600 0.86rem var(--font-display); transition: border-color 0.25s, background 0.25s;
}
.player__chapter span { color: var(--teal-300); font-size: 0.76rem; }
.player__chapter:hover { border-color: var(--teal-400); background: rgba(60, 199, 189, 0.1); }

/* ---------- Interactive information cards ---------- */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.info-card { border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); transition: border-color 0.35s, box-shadow 0.35s var(--ease), transform 0.35s var(--ease); }
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-card.is-open { border-color: rgba(26, 168, 157, 0.45); box-shadow: var(--shadow), inset 3px 0 0 var(--teal-400); }
.info-card__toggle { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 22px; background: none; border: 0; cursor: pointer; text-align: left; border-radius: var(--radius); color: inherit; font: inherit; }
.info-card__num {
  display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 8px; border-radius: 14px;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); color: var(--teal-300);
  font: 750 1.05rem var(--font-display);
}
.info-card__title { font: 700 1.08rem/1.3 var(--font-display); color: var(--navy-900); }
.info-card__plus { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); transition: transform 0.4s var(--ease), background 0.3s; }
.info-card__plus::before, .info-card__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--navy-900); border-radius: 2px; }
.info-card__plus::after { transform: rotate(90deg); transition: transform 0.4s var(--ease); }
.info-card.is-open .info-card__plus { background: var(--teal-400); border-color: var(--teal-400); }
.info-card.is-open .info-card__plus::after { transform: rotate(0deg); }
.info-card__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.45s var(--ease); }
.info-card__panel > p { overflow: hidden; padding: 0 22px 22px; color: var(--muted); font-size: 0.98rem; }
.js .info-card__panel { grid-template-rows: 0fr; }
.js .info-card__panel > p { padding-bottom: 0; transition: padding 0.45s var(--ease); }
.js .info-card.is-open .info-card__panel { grid-template-rows: 1fr; }
.js .info-card.is-open .info-card__panel > p { padding-bottom: 22px; }

/* ---------- Photography gallery ---------- */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, minmax(180px, 1fr)); gap: 18px; }
.gallery__item { margin: 0; border-radius: var(--radius); min-height: 200px; }
.gallery__item--lead { grid-row: 1 / span 2; min-height: 420px; }
.gallery__item:last-child { grid-column: 2 / span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Five-step demonstration ---------- */
.stepper { border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 32px); }
.stepper__tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.stepper__tab {
  display: grid; gap: 2px; justify-items: start; padding: 12px 14px; min-height: 64px; border-radius: 14px; cursor: pointer;
  background: var(--mist); border: 1px solid transparent; color: var(--muted); text-align: left;
  font: 700 1rem var(--font-display); transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.stepper__tab span { font-size: 0.74rem; letter-spacing: 0.12em; color: var(--teal-700); }
.stepper__tab:hover { color: var(--navy-900); border-color: var(--line); }
.stepper__tab[aria-selected="true"] { background: var(--navy-900); color: var(--white); }
.stepper__tab[aria-selected="true"] span { color: var(--teal-300); }
.stepper__track { position: relative; height: 3px; margin: 18px 0 clamp(20px, 3vw, 32px); border-radius: 3px; background: var(--line); overflow: hidden; }
.stepper__track span { position: absolute; inset: 0 auto 0 0; width: 20%; background: linear-gradient(90deg, var(--teal-500), var(--teal-400)); border-radius: 3px; transition: width 0.6s var(--ease); }
.stepper__panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.stepper__panel.is-entering { animation: rise 0.6s var(--ease); }
.stepper__panel[hidden] { display: none; }
.stepper__media { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.stepper__count { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-700); }
.stepper__title { margin: 8px 0 14px; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 750; color: var(--navy-900); }
.stepper__copy p:not(.stepper__count) { color: var(--muted); font-size: 1.06rem; }
.stepper__nav { margin-top: clamp(20px, 3vw, 32px); padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }
html:not(.js) .stepper__panel[hidden] { display: grid; margin-top: 32px; }
html:not(.js) .stepper__nav, html:not(.js) .stepper__track { display: none; }
.demo__note { margin-top: 18px; }

/* ---------- Healthcare applications ---------- */
.app-list { display: grid; gap: clamp(28px, 4vw, 48px); }
.app { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
.app:nth-child(even) .app__media { order: 2; }
.app__media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.app__body { display: grid; gap: 16px; justify-items: start; }
.app__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 750; color: var(--navy-900); }
.app__body > p:not(.tag) { color: var(--muted); }
.app__body .btn { margin-top: 8px; }
.applications__note { margin-top: clamp(40px, 5vw, 56px); padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- B2B product information panel ---------- */
.product-info__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.product-info__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.product-info__intro .btn { margin-top: 32px; }
.spec { border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 36px); }
.spec__group { margin: 0; }
.spec__row { display: grid; grid-template-columns: minmax(150px, 0.8fr) 1.2fr; gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec__group .spec__row:last-child { border-bottom: 0; }
.spec__row dt { font-size: 0.86rem; font-weight: 700; letter-spacing: 0.02em; color: var(--muted); }
.spec__row dd { margin: 0; font-weight: 600; color: var(--navy-900); }
.spec__subhead { margin: 18px 0 4px; padding-top: 22px; border-top: 2px solid var(--navy-900); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-700); }
.tbc { display: inline-block; padding: 2px 10px; border-radius: 999px; border: 1px dashed #9fb2c6; font-size: 0.82rem; font-weight: 600; color: var(--muted); background: var(--mist); }
.spec__docs { list-style: none; display: grid; gap: 6px; }

/* ---------- Product safety ---------- */
.warning {
  display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 18px 22px; border-radius: var(--radius);
  background: #fff8e6; border: 2px solid #b7791f; color: #5f3b00;
}
.warning__icon { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #b7791f; color: var(--white); font: 800 1.2rem var(--font-display); }
.warning__text strong { font-family: var(--font-display); font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem); letter-spacing: 0.02em; }
.safety__body { margin-top: 24px; display: grid; gap: 18px; font-size: 1.05rem; }
.safety__body .dot-list li { color: var(--ink); }

/* ---------- Treasure Coast ---------- */
.coast__inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.coast__cities { list-style: none; margin: 28px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.coast__cities li { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); font-family: var(--font-display); font-weight: 650; color: var(--white); }
.coast__note { margin-top: 22px; font-size: 0.86rem; color: var(--on-navy-muted); max-width: 560px; }
.coast__map { padding: 24px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); }
.coast__map svg { width: 100%; max-width: 340px; margin: 0 auto; overflow: visible; }
.coast__shore { fill: none; stroke: rgba(255, 255, 255, 0.18); stroke-width: 10; stroke-linecap: round; }
.coast__route { fill: none; stroke: var(--teal-400); stroke-width: 2; stroke-dasharray: 520; stroke-dashoffset: 0; }
.js .coast__map .coast__route { stroke-dashoffset: 520; transition: stroke-dashoffset 2.2s var(--ease) 0.3s; }
.js .coast__map.is-visible .coast__route { stroke-dashoffset: 0; }
.coast__ocean { fill: rgba(169, 186, 208, 0.45); font: 700 11px var(--font-display); letter-spacing: 0.3em; }
.coast__pin circle { fill: var(--teal-400); }
.coast__pin .coast__halo { fill: rgba(60, 199, 189, 0.18); }
.coast__pin text { fill: var(--white); font: 650 14px var(--font-display); }
.js .coast__map .coast__pin { opacity: 0; transition: opacity 0.6s calc(0.6s + var(--i) * 0.35s); }
.js .coast__map.is-visible .coast__pin { opacity: 1; }
.coast__map-note { margin-top: 10px; text-align: center; font-size: 0.78rem; color: var(--on-navy-muted); }

/* ---------- Feature grid (distributors, resources) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.feature h3, .feature__title { font-size: 1.2rem; font-weight: 700; color: var(--navy-900); }
.feature p { color: var(--muted); }

/* ---------- Institutional sales inquiry ---------- */
.inquiry__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.inquiry__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.inquiry__steps { list-style: none; margin-top: 32px; display: grid; gap: 18px; }
.inquiry__steps li { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.inquiry__steps li > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--teal-500); color: var(--teal-700); font-weight: 700; font-size: 0.86rem; }
.inquiry__steps strong { font-family: var(--font-display); color: var(--navy-900); }
.inquiry__steps p { color: var(--muted); font-size: 0.95rem; }
.inquiry__phi { margin-top: 28px; padding: 14px 16px; border-radius: 12px; background: var(--mist); border: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }

.inquiry-form, .inquiry-success { border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(22px, 3.5vw, 40px); }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.inquiry-form[hidden], .inquiry-success[hidden] { display: none; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field--split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.field--split > div { display: grid; gap: 6px; align-content: start; min-width: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.field__label { font-family: var(--font-display); font-size: 0.92rem; font-weight: 650; color: var(--navy-900); padding: 0; }
.req { color: var(--danger); }
.field__optional { margin-left: 6px; font-family: var(--font-body); font-weight: 500; font-size: 0.8rem; color: var(--muted); }
.field__hint { font-size: 0.84rem; color: var(--muted); }
.field__error { font-size: 0.86rem; font-weight: 600; color: var(--danger); }
.inquiry-form input[type="text"], .inquiry-form input[type="email"], .inquiry-form input[type="tel"], .inquiry-form select, .inquiry-form textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid #c5d3e0; background: var(--white);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.inquiry-form select { appearance: none; padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%231b3a66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; }
.inquiry-form textarea { resize: vertical; min-height: 120px; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(60, 199, 189, 0.22); }
.inquiry-form [aria-invalid="true"] { border-color: var(--danger) !important; background-color: var(--danger-bg); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.choice-grid[aria-invalid="true"] .choice span { border-color: var(--danger); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #c5d3e0;
  font-family: var(--font-display); font-weight: 650; font-size: 0.95rem; color: var(--navy-800); transition: border-color 0.2s, background 0.2s;
}
.choice span::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #9fb2c6; transition: border 0.2s; }
.choice input:checked + span { border-color: var(--teal-500); background: var(--ok-bg); }
.choice input:checked + span::before { border: 6px solid var(--teal-500); }
.choice input:focus-visible + span { outline: 3px solid var(--teal-400); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 0.94rem; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal-500); }
.consent input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
.field--hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.inquiry-form { position: relative; }
.inquiry-form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 6px; }
.inquiry-form__submit .btn.is-loading { position: relative; color: transparent; }
.inquiry-form__submit .btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.4); border-top-color: var(--white); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.inquiry-form__setup { grid-column: 1 / -1; padding: 12px 14px; border-radius: 12px; border: 1px dashed #b7791f; background: #fff8e6; color: #5f3b00; font-size: 0.88rem; }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; font-size: 0.95rem; font-weight: 500; }
.form-status.is-error { background: var(--danger-bg); border: 1px solid #f4b8b2; color: #7a1a12; }
.form-status strong { display: block; font-family: var(--font-display); margin-bottom: 2px; }
.inquiry-success { display: grid; gap: 12px; justify-items: start; }
.inquiry-success__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230d7068' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 30px no-repeat; }
.inquiry-success h3 { font-size: 1.5rem; font-weight: 750; color: var(--navy-900); }
.inquiry-success p { color: var(--muted); }

/* ---------- Phase 2 responsive ---------- */
@media (max-width: 1020px) {
  .info-cards, .feature-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery__item--lead { grid-row: auto; grid-column: 1 / -1; min-height: 0; aspect-ratio: 16 / 9; }
  .gallery__item { aspect-ratio: 4 / 3; min-height: 0; }
  .gallery__item:last-child { grid-column: auto; }
  .stepper__panel, .app, .product-info__inner, .coast__inner, .inquiry__inner { grid-template-columns: 1fr; }
  .app:nth-child(even) .app__media { order: 0; }
  .app__media { aspect-ratio: 16 / 9; }
  .product-info__intro, .inquiry__intro { position: static; }
  .coast__map { max-width: 460px; }
}
@media (max-width: 680px) {
  .info-cards, .feature-grid, .inquiry-form, .choice-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item:last-child { grid-column: auto; }
  .stepper { padding: 14px; }
  .stepper__tabs { gap: 4px; }
  .stepper__tab { padding: 8px 2px; min-height: 58px; justify-items: center; text-align: center; font-size: 0.66rem; letter-spacing: -0.02em; }
  .stepper__tab span { font-size: 0.8rem; }
  .stepper__nav .btn { flex: 1; }
  .spec__row { grid-template-columns: 1fr; gap: 2px; }
  .coast__cities { grid-template-columns: 1fr; }
  .product-hero .hero__actions .link-arrow { width: 100%; justify-content: center; min-height: 44px; }
  .player__chapters { width: 100%; }
  .intro__stage { aspect-ratio: 4 / 3.4; }
  .intro__orb { width: 26%; }
  .intro__chip { font-size: 0.66rem; padding: 4px 8px; }
  .intro__note { text-align: left; }
  .field--split { grid-template-columns: 1fr 1fr; }
  .warning { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .intro__progress { display: none; }
  .js .coast__map .coast__route { stroke-dashoffset: 0; }
  .js .coast__map .coast__pin { opacity: 1; }
  .stepper__panel.is-entering { animation: none; }
}
@media (min-width: 1021px) {
  .product-hero .hero__title { font-size: clamp(2.1rem, 1.2rem + 2.2vw, 3.05rem); }
  .product-hero .hero__actions { gap: 12px; }
  .product-hero .hero__actions .btn--lg { padding: 15px 22px; }
}
.intro__ring { width: 50%; }
.intro__ring--dash { width: 38%; }
.intro__ring { top: 38%; }
.intro__orb { top: 38%; width: 21%; }
@media (max-width: 440px) {
  .stepper__tab { font-size: 0; min-height: 48px; align-content: center; }
  .stepper__tab span { font-size: 0.95rem; letter-spacing: 0; }
}

/* =====================================================================
   Phase 3: wholesale purchasing, purchase orders, distributor application,
   Treasure Coast sales, sales documents, Where to Buy.
   ===================================================================== */

/* ---------- Header: small consumer link ---------- */
.nav__util { display: grid; line-height: 1.15; padding: 4px 2px; font-size: 0.8rem; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; }
.nav__util:hover, .nav__util[aria-current="page"] { color: var(--teal-700); }
.nav__util-note { font-size: 0.68rem; font-weight: 500; color: #6b7c93; }
/* Phase 5: the eight header items need tighter spacing at every desktop width,
   and a slightly smaller size on laptops (1181-1380 px), so the header never overflows. */
@media (min-width: 1181px) {
  .nav { gap: 16px; }
  .nav__link { padding: 10px 8px; }
  .nav__link::after { left: 8px; right: 8px; }
}
@media (max-width: 1380px) and (min-width: 1181px) {
  .nav { gap: 14px; }
  .nav__link { padding: 10px 7px; font-size: 0.88rem; }
  .nav__link::after { left: 7px; right: 7px; }
}
/* Seven links plus the consumer link: switch to the menu a little earlier than Phase 2. */
@media (max-width: 1180px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 20px var(--gutter) 28px; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s 0.3s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--teal-700); }
  .nav__cta { min-height: 52px; }
  .nav__util { display: flex; align-items: baseline; gap: 8px; padding: 2px 4px; font-size: 0.95rem; }
  .nav__util-note { font-size: 0.8rem; }
}

/* ---------- Commercial functions and audience cards ---------- */
.function-grid { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.function-grid--audiences { grid-template-columns: repeat(5, 1fr); margin-bottom: 24px; }
.function {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 26px 22px 22px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.function:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bfe9e5; }
.function::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--teal-400), var(--navy-700)); transform: scaleX(0.25); transform-origin: left; transition: transform 0.5s var(--ease); }
.function:hover::before { transform: scaleX(1); }
.function__num { font-family: var(--font-display); font-weight: 750; font-size: 0.85rem; color: var(--teal-700); }
.function__title { font-size: 1.08rem; font-weight: 700; color: var(--navy-900); }
.function p { color: var(--muted); font-size: 0.94rem; }
.function .link-arrow { margin-top: 6px; font-size: 0.92rem; }

/* ---------- Form additions ---------- */
.inquiry__form-wrap { min-width: 0; }
.inquiry__notice { margin-top: 20px; padding: 14px 16px; border-radius: 12px; border-left: 4px solid var(--teal-500); background: var(--ok-bg); color: var(--navy-800); font-size: 0.92rem; font-weight: 500; }
.section--tint .inquiry__phi { background: var(--white); }
.inquiry-form input[type="number"], .inquiry-form input[type="date"] {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid #c5d3e0; background: var(--white);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.inquiry-form input[type="file"] { width: 100%; padding: 12px; border-radius: 12px; border: 1.5px dashed #b4c4d4; background: var(--mist); font: inherit; font-size: 0.92rem; color: var(--muted); }
.inquiry-form input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 8px; background: var(--navy-900); color: var(--white); font: inherit; font-weight: 600; cursor: pointer; }
.inquiry-form input[type="file"]:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 2px; }
.choice-grid--multi { grid-template-columns: 1fr 1fr 1fr; }
.choice--checkbox span::before { border-radius: 5px; }
.choice--checkbox input:checked + span::before { border: 2px solid var(--teal-500); background: var(--teal-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.choice-grid--multi .choice span { min-height: 48px; font-size: 0.9rem; }
.inquiry-success__ref { padding: 10px 14px; border-radius: 10px; background: var(--mist); color: var(--navy-800); }
.inquiry-success__ref strong { font-family: var(--font-display); letter-spacing: 0.04em; }
.inquiry-success__ref[hidden] { display: none; }

/* ---------- Distributor application band ---------- */
.apply-band__inner { display: grid; grid-template-columns: 1.4fr auto; gap: 32px 56px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.apply-band__actions { display: grid; gap: 16px; justify-items: start; }

/* ---------- Treasure Coast page ---------- */
.coast__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.coast__actions + .coast__note { margin-top: 20px; }
.coast--page { padding-top: clamp(64px, 8vw, 104px); }
.coast--page .section__title { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.3rem); }

/* ---------- Sales documents ---------- */
.doc-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.doc { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.doc__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.doc__icon { width: 40px; height: 48px; border-radius: 6px 14px 6px 6px; background: linear-gradient(160deg, var(--mist-2), #d6e6f0); border: 1px solid var(--line); position: relative; }
.doc__icon::after { content: ""; position: absolute; left: 9px; right: 9px; top: 16px; height: 14px; background: repeating-linear-gradient(var(--navy-700) 0 2px, transparent 2px 6px); opacity: 0.35; }
.doc__state { padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--muted); font-size: 0.74rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; }
.doc__state--ready { background: var(--ok-bg); color: var(--teal-700); }
.doc__title { font-size: 1.1rem; font-weight: 700; color: var(--navy-900); }
.doc p { color: var(--muted); font-size: 0.94rem; }
.doc__actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 6px; }
.doc__size { opacity: 0.75; font-weight: 500; }
.docs__note { margin-top: 24px; }

/* ---------- Where to Buy, Privacy ---------- */
.page-hero--compact { padding: clamp(56px, 8vw, 96px) 0 clamp(44px, 6vw, 72px); }
.retail-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.retail-empty { margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); border: 1px dashed #b4c4d4; background: var(--mist); }
.retail-empty__title { font-family: var(--font-display); font-weight: 700; color: var(--navy-900); margin-bottom: 6px; }
.retail-empty p { color: var(--muted); }
.prose h2 { font-size: 1.3rem; font-weight: 700; color: var(--navy-900); margin-top: 36px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 10px; color: var(--muted); }

/* ---------- Phase 3 responsive ---------- */
@media (max-width: 1180px) {
  .function-grid, .function-grid--audiences { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1020px) {
  .doc-grid { grid-template-columns: 1fr 1fr; }
  .apply-band__inner { grid-template-columns: 1fr; }
  .choice-grid--multi { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .function-grid, .function-grid--audiences, .doc-grid, .choice-grid--multi { grid-template-columns: 1fr; }
  .coast__actions .btn { width: 100%; }
  .apply-band__actions, .apply-band__actions .btn { width: 100%; }
}

/* =====================================================================
   Phase 4: trade shows, healthcare partners, Treasure Coast local content,
   HyperFrames marketing presentation and QR codes. Appended only; earlier
   phases are unchanged.
   ===================================================================== */

/* ---------- Trade-show hero ---------- */
.ts-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 22px; }
.ts-brand__logo .logo__word { font-size: 1.6rem; }
.ts-brand__logo .logo__mark { width: 40px; height: 40px; }
.ts-brand__text { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, 0.25); font: 650 0.86rem/1.35 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-300); }
.ts-brand__text span { display: block; color: var(--on-navy-muted); letter-spacing: 0.02em; text-transform: none; font-weight: 600; }
.ts-hero .hero__title { font-size: clamp(2.2rem, 1.3rem + 2.8vw, 3.5rem); }
.ts-hero .hero__tagline { margin-top: 18px; }
.ts-hero .hero__actions { flex-wrap: wrap; }

/* ---------- HyperFrames marketing presentation ---------- */
.showcase { margin: 0; }
.showcase__stage {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 70% at 78% 12%, rgba(60, 199, 189, 0.26), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08) inset; color: var(--white);
  container-type: inline-size;
}
.showcase__stage:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 4px; }
.showcase__bg span { position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.5; transition: transform 1.6s var(--ease), opacity 1.2s; }
.showcase__bg span:first-child { width: 46%; aspect-ratio: 1; left: -10%; bottom: -24%; background: radial-gradient(circle, rgba(42, 79, 134, 0.9), transparent 65%); }
.showcase__bg span:last-child { width: 40%; aspect-ratio: 1; right: -8%; top: -18%; background: radial-gradient(circle, rgba(60, 199, 189, 0.45), transparent 65%); }
.showcase__stage[data-scene="2"] .showcase__bg span:first-child { transform: translate(30%, -10%); }
.showcase__stage[data-scene="4"] .showcase__bg span:last-child { transform: translate(-60%, 40%); }
.showcase__stage[data-scene="6"] .showcase__bg span { opacity: 0.8; }
.showcase__scenes { list-style: none; position: absolute; inset: 0; }
.showcase__scene { position: absolute; inset: 0; display: grid; padding: clamp(18px, 4%, 40px); opacity: 0; visibility: hidden; transform: scale(1.02); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), visibility 0s 0.7s; }
.showcase__scene.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), visibility 0s; }
.showcase__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.08); }
.showcase__progress span { display: block; height: 100%; width: 0; background: var(--teal-400); }
.sc { display: grid; align-content: center; gap: 10px; height: 100%; }
.sc__kicker { font: 700 0.72rem var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-300); }
.sc__title { font: 750 clamp(1.15rem, 5cqi, 2.6rem)/1.15 var(--font-display); letter-spacing: -0.02em; }
.sc__kicker { font-size: clamp(0.66rem, 1.6cqi, 0.9rem); }
/* entrance for every element of the active scene */
.showcase__scene .sc > * { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.showcase__scene.is-active .sc > * { opacity: 1; transform: none; }
.showcase__scene.is-active .sc > *:nth-child(2) { transition-delay: 0.15s; }
.showcase__scene.is-active .sc > *:nth-child(3) { transition-delay: 0.3s; }
.showcase__scene.is-active .sc > *:nth-child(4) { transition-delay: 0.45s; }

/* 1. Brand introduction */
.sc--brand { justify-items: center; text-align: center; }
.sc-brand__mark { position: relative; width: clamp(70px, 16%, 120px); aspect-ratio: 1.6; }
.sc-brand__mark span { position: absolute; top: 0; height: 100%; width: 62%; border-radius: 999px; transition: transform 1.1s var(--ease) 0.2s; }
.sc-brand__a { left: 0; background: var(--white); }
.sc-brand__b { right: 0; background: var(--teal-400); opacity: 0.85; }
.showcase__scene:not(.is-active) .sc-brand__a { transform: translateX(-40%); }
.showcase__scene:not(.is-active) .sc-brand__b { transform: translateX(40%); }
.sc-brand__lockup .logo__word { font-size: clamp(1.8rem, 9cqi, 4.6rem); }
.sc-brand__lockup .logo__mark { display: none; }
.sc-brand__product { font: 650 clamp(0.95rem, 3.2cqi, 1.8rem) var(--font-display); color: var(--on-navy); }
.sc-brand__tag { color: var(--teal-300); font-size: clamp(0.9rem, 2.6cqi, 1.4rem); }

/* 2. Animated 2&1 messaging */
.sc--twoone { grid-template-columns: auto 1fr; align-items: center; gap: clamp(16px, 4%, 36px); }
.sc-21__nums { display: flex; align-items: baseline; gap: 4px; font: 800 clamp(3.4rem, 20cqi, 12rem)/1 var(--font-display); letter-spacing: -0.06em; }
.sc-21__amp { color: var(--teal-300); font-size: 0.6em; }
.sc-21__n--1 { color: var(--teal-400); }
.showcase__scene .sc-21__n, .showcase__scene .sc-21__amp { display: inline-block; transition: transform 1s var(--ease), opacity 0.8s; }
.showcase__scene:not(.is-active) .sc-21__n--2 { transform: translateX(-30px); opacity: 0; }
.showcase__scene:not(.is-active) .sc-21__n--1 { transform: translateX(30px); opacity: 0; }
.showcase__scene.is-active .sc-21__n--1 { transition-delay: 0.9s; }
.showcase__scene.is-active .sc-21__amp { transition-delay: 0.5s; }
.sc-21__copy { display: grid; gap: 14px; }
.sc-21__line { font-size: clamp(0.92rem, 2.9cqi, 1.6rem); color: var(--on-navy); opacity: 0; transform: translateX(16px); transition: opacity 0.6s, transform 0.8s var(--ease); }
.sc-21__line strong { display: block; font: 750 clamp(1.1rem, 4.2cqi, 2.3rem) var(--font-display); color: var(--white); }
.showcase__scene.is-active .sc-21__line--a { opacity: 1; transform: none; transition-delay: 0.3s; }
.showcase__scene.is-active .sc-21__line--b { opacity: 1; transform: none; transition-delay: 1.1s; }

/* 3. Demonstration transitions */
.sc--demo { grid-template-rows: 1fr auto auto; align-content: stretch; gap: 12px; }
.sc-demo__media { position: relative; border-radius: 14px; min-height: 0; overflow: hidden; }
.sc-demo__clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s; }
.sc-demo__steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.sc-demo__steps li { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); font: 650 clamp(0.66rem, 2.1cqi, 1.2rem) var(--font-display); }
.sc-demo__steps span { font-size: 0.7em; letter-spacing: 0.12em; color: var(--teal-300); }
.showcase__scene.is-active .sc-demo__steps li { animation: sc-step 5.2s var(--ease) both; animation-delay: calc(var(--i) * 0.85s); }
@keyframes sc-step { 0% { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); } 6%, 18% { background: rgba(60,199,189,0.3); border-color: var(--teal-400); } 30%, 100% { background: rgba(60,199,189,0.1); border-color: rgba(60,199,189,0.45); } }
.sc-demo__note { font-size: 0.74rem; color: var(--on-navy-muted); }

/* 4. Institutional market visuals */
.sc-mk { list-style: none; margin-top: 8px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sc-mk li { display: grid; justify-items: center; gap: 8px; padding: clamp(10px, 2.4cqi, 26px) 6px; border-radius: 14px; text-align: center; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); font: 650 clamp(0.62rem, 2cqi, 1.15rem)/1.25 var(--font-display); opacity: 0; transform: translateY(16px) scale(0.96); transition: opacity 0.5s, transform 0.7s var(--ease); }
.showcase__scene.is-active .sc-mk li { opacity: 1; transform: none; transition-delay: calc(0.3s + var(--i) * 0.14s); }
.mk-icon { width: clamp(28px, 7cqi, 64px); height: auto; color: var(--teal-300); }
.segment__visual { container-type: inline-size; }

/* 5. B2B call to action */
.sc--cta { justify-items: start; }
.sc-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.sc-cta__actions .btn { min-height: 44px; padding: 10px 18px; font-size: 0.9rem; }

/* 6. Contact screen */
.sc--contact { grid-template-columns: 1fr auto; align-items: center; gap: clamp(16px, 4%, 36px); }
.sc-contact__url { font: 800 clamp(1.6rem, 7.4cqi, 4.4rem)/1.05 var(--font-display); letter-spacing: -0.03em; background: linear-gradient(90deg, var(--white), var(--teal-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc-contact__lines { list-style: none; display: grid; gap: 4px; margin-top: 8px; font-size: clamp(0.78rem, 2.2cqi, 1.2rem); color: var(--on-navy); }
.sc-contact__qr { margin: 0; display: grid; justify-items: center; gap: 8px; }
.sc-contact__qr svg { width: clamp(96px, 24cqi, 260px); height: auto; border-radius: 12px; }
.sc-contact__qr figcaption { font-size: 0.74rem; color: var(--on-navy-muted); text-align: center; }

.showcase__controls { margin-top: 14px; display: flex; align-items: center; gap: 10px; }
.showcase__tabs { display: flex; gap: 4px; }
.showcase__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 650 0.84rem var(--font-display); color: var(--teal-300); }
.section .showcase__label { color: var(--teal-700); }
.showcase:fullscreen .showcase__label { color: var(--teal-300); }
.showcase__tabs button { min-width: 40px; }
.showcase__tabs button, .showcase__full {
  min-height: 40px; padding: 4px 11px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: var(--on-navy-muted);
  font: 600 0.76rem var(--font-display);
}
.showcase__tabs button[aria-current="true"] { background: var(--teal-400); border-color: var(--teal-400); color: var(--navy-950); }
.showcase__full:hover, .showcase__tabs button:hover { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.showcase__note { text-align: left; }
/* Light-background placement (product page section) */
.section .showcase__tabs button, .section .showcase__full { color: var(--muted); border-color: var(--line); }
.section .intro__toggle { color: var(--navy-900); border-color: var(--line); background: var(--white); }
.section .showcase__tabs button[aria-current="true"] { color: var(--navy-950); border-color: var(--teal-400); }
.section .showcase__note { color: var(--muted); }
/* Full screen and booth mode */
.showcase:fullscreen { display: grid; align-content: center; padding: 3vw; background: var(--navy-950); }
.showcase:fullscreen .showcase__stage { width: min(100%, calc((100vh - 140px) * 1.6)); margin: 0 auto; }
.showcase:fullscreen .showcase__controls, .showcase:fullscreen .showcase__note { width: min(100%, calc((100vh - 140px) * 1.6)); margin-left: auto; margin-right: auto; }
.showcase:fullscreen .showcase__tabs button, .showcase:fullscreen .showcase__full { color: var(--on-navy-muted); border-color: rgba(255,255,255,0.25); }
.showcase:fullscreen .intro__toggle { color: var(--white); background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.25); }
/* Without JavaScript every scene is readable, stacked */
html:not(.js) .showcase__stage { aspect-ratio: auto; }
html:not(.js) .showcase__scenes { position: static; }
html:not(.js) .showcase__scene { position: relative; opacity: 1; visibility: visible; transform: none; min-height: 260px; }
html:not(.js) .showcase__scene .sc > *, html:not(.js) .sc-21__line, html:not(.js) .sc-mk li { opacity: 1; transform: none; }
html:not(.js) .showcase__controls { display: none; }

/* ---------- Trade-show quick actions ---------- */
.ts-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ts-card {
  display: grid; align-content: start; gap: 10px; height: 100%; min-height: 220px; padding: 26px 24px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm);
  color: var(--ink); text-decoration: none; transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.ts-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal-400); color: var(--ink); }
.ts-card__num { font: 700 0.8rem var(--font-display); letter-spacing: 0.14em; color: var(--teal-700); }
.ts-card__title { font: 750 1.2rem/1.2 var(--font-display); color: var(--navy-900); }
.ts-card__body { color: var(--muted); font-size: 0.98rem; }
.ts-card .link-arrow { margin-top: auto; }
.ts-warning { margin-top: 32px; }
.gallery--compact { grid-template-rows: repeat(2, minmax(150px, 1fr)); }

/* ---------- QR panel ---------- */
.qr-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 24px; }
.qr-list figure { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.qr-list svg { width: 100%; max-width: 180px; height: auto; }
.qr-list figcaption { font: 650 0.95rem var(--font-display); color: var(--navy-900); text-align: center; }

/* ---------- Mobile action dock (trade-show page) ---------- */
.ts-dock { display: none; }

/* ---------- Healthcare partner segments ---------- */
.chip-nav { list-style: none; margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); color: var(--on-navy); text-decoration: none; font: 600 0.88rem var(--font-display); }
.chip-nav a:hover { border-color: var(--teal-300); color: var(--white); }
.segment-list { display: grid; gap: clamp(20px, 3vw, 32px); }
.segment { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 24px); }
.segment__visual { position: relative; display: grid; place-items: center; align-self: start; aspect-ratio: 1; border-radius: var(--radius); background: radial-gradient(90% 80% at 80% 0%, rgba(60, 199, 189, 0.25), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950)); }
.segment__visual .mk-icon { width: 42%; color: var(--teal-300); }
.segment__num { position: absolute; left: 16px; top: 12px; font: 700 0.8rem var(--font-display); letter-spacing: 0.14em; color: var(--on-navy-muted); }
.segment__body { display: grid; gap: 16px; align-content: start; }
.segment__title { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem); font-weight: 750; color: var(--navy-900); }
.segment__body > p { color: var(--muted); }
.segment__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.segments__note { margin-top: clamp(32px, 4vw, 48px); padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- Treasure Coast local content ---------- */
.coast__actions--four { display: grid; grid-template-columns: 1fr 1fr; }
.coast__actions--four .btn { white-space: normal; text-align: center; }
.coast__more { margin-top: 16px; font-size: 0.92rem; color: var(--on-navy-muted); }
.coast__more a { color: var(--teal-300); }
.city-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.city { display: grid; gap: 12px; align-content: start; padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 24px); }
.city .tag { justify-self: start; }
.city__title { font-size: 1.3rem; font-weight: 750; color: var(--navy-900); }
.city p:not(.tag) { color: var(--muted); font-size: 0.98rem; }
.city .link-arrow { margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq__list { margin-top: 28px; display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative; font: 650 1.05rem/1.35 var(--font-display); color: var(--navy-900); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--teal-500); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- Related pages ---------- */
.related { padding-top: 0; }
.related__title { font-size: 1.3rem; font-weight: 700; color: var(--navy-900); margin-bottom: 18px; }
.related__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.related__list a { display: grid; gap: 6px; height: 100%; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); text-decoration: none; color: var(--muted); font-size: 0.92rem; transition: border-color 0.25s; }
.related__list a:hover { border-color: var(--teal-400); color: var(--muted); }
.related__list strong { font: 700 1rem var(--font-display); color: var(--navy-900); }

/* ---------- Phase 4 responsive ---------- */
@media (max-width: 1120px) {
  .ts-grid, .city-grid, .related__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .segment { grid-template-columns: 1fr; }
  .segment__visual { aspect-ratio: 16 / 7; }
  .segment__visual .mk-icon { width: 64px; }
  .qr-list { grid-template-columns: repeat(3, 1fr); }
  .qr-list figure { padding: 12px; }
}
@media (max-width: 680px) {
  .ts-brand__text { border-left: 0; padding-left: 0; }
  .ts-grid, .city-grid, .related__list, .coast__actions--four { grid-template-columns: 1fr; }
  .ts-card { min-height: 0; padding: 20px; }
  .segment__actions .btn { width: 100%; }
  .showcase__stage { aspect-ratio: 4 / 5; }
  .sc--twoone, .sc--contact { grid-template-columns: 1fr; justify-items: start; }
  .sc-mk { grid-template-columns: repeat(2, 1fr); }
  .sc-mk li:last-child { grid-column: 1 / -1; }
  .sc-demo__steps { grid-template-columns: 1fr; gap: 4px; }
  .sc-demo__steps li { grid-template-columns: auto 1fr; gap: 8px; padding: 6px 10px; }
  .sc-cta__actions .btn { width: 100%; }
  .sc-contact__qr { justify-self: center; }
  .showcase__tabs button { min-width: 36px; padding: 4px 6px; }
  .showcase__label, .showcase__full { display: none; }
  .qr-panel { display: none; } /* visitors on a phone are already there */
  /* Trade-show action dock */
  .page-trade-shows { padding-bottom: 76px; }
  .ts-dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    transition: transform 0.3s var(--ease);
  }
  .ts-dock .btn { width: 100%; }
  .ts-dock.is-hidden { transform: translateY(110%); }
}
@media print {
  .ts-dock, .showcase__controls { display: none; }
}

/* ---------- Phase 5 layout fixes ---------- */
/* Grid lists never grow wider than the screen on small phones. */
.segment-list { grid-template-columns: minmax(0, 1fr); }
/* On narrow phones long button labels wrap instead of pushing the page sideways. */
@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .btn--lg { padding-left: 22px; padding-right: 22px; }
}
/* Presentation controls wrap onto two lines on the narrowest phones. */
@media (max-width: 380px) {
  .showcase__controls { flex-wrap: wrap; }
  .showcase__tabs { flex-wrap: wrap; }
}
/* Presentation text stays readable (12 px or larger) when the stage is small. */
.sc__kicker { font-size: clamp(0.75rem, 1.6cqi, 0.9rem); }
.sc-mk li { font-size: clamp(0.75rem, 2cqi, 1.15rem); }
.sc-demo__steps li { font-size: clamp(0.75rem, 2.1cqi, 1.2rem); }
.sc-demo__steps span { font-size: max(0.7em, 0.7rem); }
