/* ============================================================
   視機能セルフチェッカー — Site design system
   Fonts: M PLUS Rounded 1c (display), Noto Sans JP (body), Lato (eyebrow)
   ============================================================ */

/* ---- Brand palette — derived from the official logo.
   Deep forest green #0B623C · Amber #FBB03B · Neutral gray #585858.
   White-based; green as structural accent, amber for highlights/CTAs. ---- */
:root {
  --primary:        #0b623c;  /* logo deep green */
  --primary-600:    #094e30;
  --primary-700:    #073a24;
  --primary-tint:   #f1f7f3;  /* faint sage wash */
  --primary-soft:   #d8e8dd;  /* sage */

  --hero-1: #ffffff;
  --hero-2: #f1f7f3;
  --nav-1:  #ffffff;
  --nav-2:  #ffffff;
  --grad-1: #0b623c;   /* accent divider / page backdrop */
  --grad-2: #fbb03b;   /* amber endstop */
  --mark-hl: #fde8c0;  /* warm amber highlighter behind hero word */

  /* amber accent (logo magnifier dot + sparkles) */
  --accent:     #fbb03b;
  --accent-600: #ef9d1c;
  --accent-ink: #073a24;  /* dark green text on amber for contrast */
  --accent-tint:#fef6e7;
  --eyebrow: #0b623c;     /* eyebrow colour (Variation D overrides) */
  --rule-1: #0b623c; --rule-2: #fbb03b;  /* section rule gradient */

  /* secondary CTAs — amber-led, warm */
  --cta-dl:    #fbb03b;
  --cta-dl-600:#ef9d1c;
  --cta-pink-1:#fbb03b;
  --cta-pink-2:#f6a323;

  /* neutrals — logo gray #585858 family */
  --ink:   #2c3330;
  --ink-2: #1c2420;
  --body:  #585858;
  --muted: #767a78;
  --faint: #a0a4a2;
  --line:  #e6eae8;
  --line-2:#f2f5f3;
  --white: #ffffff;
  --paper: #ffffff;

  --danger:      #dc2626;
  --danger-tint: #fef2f2;
  --danger-line: #fecaca;

  --shadow-sm: 0 2px 4px -2px rgba(0,0,0,.08), 0 4px 6px -1px rgba(0,0,0,.08);
  --shadow-md: 0 4px 6px -4px rgba(0,0,0,.10), 0 10px 15px -3px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 10px -6px rgba(0,0,0,.10), 0 20px 25px -5px rgba(0,0,0,.12);

  --maxw: 1240px;
  --radius: 16px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --ff-display: "M PLUS Rounded 1c", system-ui, sans-serif;
  --ff-body: "Noto Sans JP", system-ui, sans-serif;
  --ff-latin: "Lato", "Noto Sans JP", sans-serif;
}

/* Variation D — accent emphasis. Default "green" = deep forest led.
   "amber" = amber becomes the lead colour for marks/CTAs/eyebrows. */
html[data-accent="amber"] {
  --primary:#0b623c; --primary-600:#094e30; --primary-700:#073a24;
  --primary-tint:#fef6e7; --primary-soft:#fbe6bf;
  --hero-1:#ffffff; --hero-2:#fef6e7;
  --mark-hl:#fbcf7f;
  --eyebrow: #d98a12;        /* amber-led eyebrow */
  --rule-1: #fbb03b; --rule-2:#0b623c;
}

* { 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;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in oklab, var(--primary) 55%, white); outline-offset: 2px; border-radius: 6px; }

/* ============================ Layout ============================ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); position: relative; }
.section--tint { background: linear-gradient(var(--hero-1), var(--hero-2)); }
.section--paper { background: var(--white); }

.sec-head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.eyebrow {
  font-family: var(--ff-latin); font-weight: 700; font-size: 18px;
  letter-spacing: .12em; color: var(--eyebrow); margin: 0 0 10px;
}
.sec-title {
  font-family: var(--ff-display); font-weight: 700; color: var(--ink);
  font-size: clamp(24px, 3.2vw, 30px); line-height: 1.45; letter-spacing: .04em;
  margin: 0 auto; max-width: 22ch; text-wrap: balance;
}
#issues .sec-title { max-width: 34ch; }
#form .sec-title { max-width: 30ch; }
.sec-rule {
  width: 256px; max-width: 70%; height: 4px; border-radius: 4px; margin: 22px auto 0;
  background: linear-gradient(90deg, var(--rule-1), var(--rule-2)); opacity: .85;
}
.sec-lead { text-align: center; color: var(--body); max-width: 78ch; margin: 22px auto 0; font-size: 16px; }

/* ============================ Header ============================ */
.site-header { position: sticky; top: 0; z-index: 60; }
.nav-bar {
  background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 2px 12px -6px rgba(7,58,36,.18);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 9999px;
  font-size: 14px; color: var(--ink-2); transition: background .18s, color .18s; white-space: nowrap;
}
.nav-links a:hover { background: var(--primary-tint); color: var(--primary-700); }
.nav-cta { display: flex; align-items: center; gap: 8px; }

/* logo */
.logo { display: inline-flex; align-items: center; }
.logo__img { height: 42px; width: auto; display: block; }
@media (max-width: 560px) { .logo__img { height: 34px; } }

/* audience switcher pill */
.aud-rail { display: flex; justify-content: center; pointer-events: none; margin-top: 0; padding: 12px 16px 0; position: relative; z-index: 55; }
.aud-pill {
  pointer-events: auto; display: inline-flex; gap: 4px; padding: 4px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px);
  border-radius: 9999px; box-shadow: var(--shadow-md); border: 1px solid var(--line-2);
}
.aud-pill a {
  padding: 7px 18px; border-radius: 9999px; font-size: 14px; color: var(--body);
  font-family: var(--ff-body); transition: all .18s var(--ease); white-space: nowrap;
}
.aud-pill a:hover { color: var(--primary-700); background: var(--primary-tint); }
.aud-pill a[aria-current="page"] { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }

/* mobile menu */
.hamburger { display: none; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.6); border-radius: 12px; place-items: center; }
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink-2); border-radius: 2px; position: relative; transition: .2s;
}
.hamburger span::before { position: absolute; top: -7px; }
.hamburger span::after { position: absolute; top: 7px; }
.mobile-menu { display: none; }

/* ============================ Buttons ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ff-display); font-weight: 500; letter-spacing: .06em;
  border: 0; border-radius: 9999px; padding: 14px 32px; font-size: 16px; line-height: 1;
  transition: transform .15s var(--ease), box-shadow .2s, filter .2s, background .2s; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--primary-600); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn--lg { padding: 18px 44px; font-size: 18px; }
.btn--sm { padding: 9px 22px; font-size: 14px; }
.btn--download { background: var(--cta-dl); color: var(--accent-ink); box-shadow: var(--shadow-md); font-weight: 700; }
.btn--download:hover { background: var(--cta-dl-600); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--pink { background: var(--cta-pink-1); color: var(--accent-ink); box-shadow: var(--shadow-md); font-weight: 700; }
.btn--pink:hover { background: var(--cta-pink-2); filter: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--contact { background: #f28c1e; color: #fff; box-shadow: var(--shadow-md); font-weight: 700; }
.btn--contact:hover { background: #e07f12; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: #fff; color: var(--primary-700); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { background: var(--primary-tint); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn--block { width: 100%; }
.btn--stack { flex-direction: column; gap: 2px; line-height: 1.3; }
.btn--stack small { font-size: 11px; letter-spacing: .1em; opacity: .92; font-weight: 500; }

.tag {
  display: inline-flex; align-items: center; padding: 5px 16px; border-radius: 9999px;
  background: var(--primary); color: #fff; font-family: var(--ff-display); font-size: 14px; letter-spacing: .04em;
}

/* ============================ Hero ============================ */
.hero { background: linear-gradient(var(--hero-1), var(--hero-2)); overflow: clip; position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: clamp(48px, 7vw, 92px); }
.hero__title { font-family: var(--ff-display); font-weight: 700; color: var(--ink-2); font-size: clamp(28px, 4.4vw, 44px); line-height: 1.32; letter-spacing: .03em; margin: 0; text-wrap: balance; }
.hero__title .hl { background: linear-gradient(transparent 58%, var(--mark-hl) 58%); padding-inline: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__title .accent { color: var(--primary); }
.hero__lead { color: var(--ink); margin: 22px 0 0; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.9; }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__hint { font-size: 14px; color: var(--body); margin: 0 0 8px; width: 100%; }
.hero__media { position: relative; }
.blob { position: absolute; inset: -8% -6% -8% -2%; background: var(--primary-soft); border-radius: 46% 54% 58% 42% / 54% 44% 56% 46%; opacity: .8; z-index: 0; }
.hero__media image-slot, .hero__media .ph, .hero__media .media-img { position: relative; z-index: 1; display: block; width: 100%; height: clamp(300px, 38vw, 440px); box-shadow: var(--shadow-lg); }

/* full-bleed KV hero (medical) — image spans the section, copy sits over a soft fade */
.hero--kv { position: relative; overflow: clip; background: var(--hero-2); isolation: isolate; }
.hero-kv__bg { position: absolute; inset: 0; z-index: 0; }
.hero-kv__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero-kv__scrim { position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--hero-1) 0%, rgba(255,255,255,.92) 30%, rgba(255,255,255,.55) 48%, rgba(255,255,255,0) 66%); }
.hero-kv__fade { position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(255,255,255,.28) 100%); }
.hero-kv__inner { position: relative; z-index: 1; display: flex; align-items: center;
  min-height: clamp(440px, 52vw, 620px); padding-block: clamp(40px, 6vw, 80px); }
.hero-kv__copy { max-width: 620px; }
.hero--kv .hero__title { text-shadow: 0 1px 0 rgba(255,255,255,.6); }
@media (max-width: 820px) {
  .hero-kv__bg img { object-position: 74% 38%; }
  .hero-kv__scrim { background: linear-gradient(to bottom, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 42%, rgba(255,255,255,.5) 70%, rgba(255,255,255,.15) 100%); }
  .hero-kv__inner { align-items: flex-start; min-height: clamp(520px, 120vw, 680px); }
  .hero-kv__copy { max-width: 100%; }
}

/* organic hero media treatment (municipality) — gradient ring + blob mask instead of a plain rounded rect */
.hero__media--organic { padding: 22px 10px; }
.hero__media--organic .blob--muni {
  inset: -14% -10% -14% -4%;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-tint));
  border-radius: 42% 58% 60% 40% / 55% 45% 55% 45%;
}
.hero__media--organic .hero__ring {
  position: absolute; z-index: 1; inset: 4% 0% 4% 8%;
  border-radius: 44% 56% 62% 38% / 56% 44% 56% 44%;
  background: conic-gradient(from 220deg, var(--primary), var(--accent), var(--primary));
  filter: blur(1px);
}
.hero__media--organic .media-img {
  position: relative; z-index: 2; height: clamp(320px, 40vw, 460px);
  width: calc(100% - 18px); margin: 9px; box-shadow: var(--shadow-lg);
}
.hero__media--organic .hero__dot {
  position: absolute; z-index: 3; width: 54px; height: 54px; border-radius: 9999px;
  background: var(--accent); bottom: -6px; right: 6%;
  box-shadow: 0 8px 20px -6px rgba(7,58,36,.35), 0 0 0 8px #fff;
}
@media (max-width: 900px) { .hero__media--organic .hero__dot { width: 40px; height: 40px; } }

/* ============================ Cards / grids ============================ */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* usecase scene cards (4 photo scenes) */
.scene-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
.scene-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.scene-card__media { width: 100%; height: 150px; }
.scene-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scene-card__body { padding: 18px 18px 22px; }
.scene-card h3 { display: flex; align-items: center; gap: 8px; font-family: var(--ff-display); font-weight: 700; font-size: 15.5px; color: var(--ink); margin: 0 0 8px; }
.scene-card__n { flex: none; width: 22px; height: 22px; border-radius: 9999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.scene-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-md); border: 1px solid var(--line-2);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.card--lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__num {
  width: 56px; height: 56px; border-radius: 9999px; background: var(--primary); color: #fff;
  display: grid; place-items: center; font-family: var(--ff-latin); font-weight: 700; font-size: 20px; margin-bottom: 20px;
}
.card h3 { font-family: var(--ff-display); font-weight: 500; font-size: 20px; color: var(--ink); margin: 0 0 10px; line-height: 1.4; }
.card p { color: var(--body); margin: 0; font-size: 15px; line-height: 1.8; }

/* feature row (icon + index + text) */
.feat {
  display: flex; gap: 24px; align-items: center; background: var(--primary-tint);
  border-radius: var(--radius); padding: 28px 32px; transition: transform .2s var(--ease), box-shadow .2s;
}
.feat:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.feat__icon { width: 80px; height: 80px; flex: none; border-radius: 9999px; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--primary); }
.feat__icon svg { width: 38px; height: 38px; }
.feat__idx { width: 28px; height: 28px; flex: none; border-radius: 9999px; border: 1px solid var(--primary); color: var(--primary); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.feat__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.feat__head h3 { font-family: var(--ff-display); font-weight: 500; font-size: 20px; color: var(--primary); margin: 0; }
.feat p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.8; }

/* stat / issue cards */
.statpill { width: 96px; height: 96px; flex: none; border-radius: 9999px; background: var(--danger-tint); border: 1px solid var(--danger-line); display: grid; place-items: center; }
.statpill b { font-family: var(--ff-latin); font-weight: 700; font-size: 24px; color: var(--danger); }
.statpill--lg { width: 112px; height: 112px; }
.statpill--lg b { font-size: 30px; }
.chip-danger { display: inline-flex; padding: 4px 16px; border-radius: 9999px; background: var(--danger-tint); color: var(--danger); font-size: 14px; font-weight: 500; }

/* issue-card figures */
.issue-card { display: flex; flex-direction: column; }
.issue-fig { margin-top: auto; padding-top: 22px; }
.issue-fig__note { color: var(--muted) !important; font-size: 13px !important; line-height: 1.7 !important; margin: 14px 0 0 !important; text-align: center; }

/* donut (課題1) */
.issue-fig .donut { display: block; margin: 4px auto 0; }
.donut__track { fill: none; stroke: var(--danger-tint); stroke-width: 18; }
.donut__val {
  fill: none; stroke: var(--danger); stroke-width: 18; stroke-linecap: round;
  stroke-dasharray: 376.99; stroke-dashoffset: 25.3; /* 93.3% of 2πr, r=60 */
}
.donut__pct { font-family: var(--ff-latin); font-weight: 700; font-size: 32px; fill: var(--danger); }
.donut__cap { font-family: var(--ff-display); font-weight: 700; font-size: 15px; fill: var(--ink); letter-spacing: .08em; }
@media (prefers-reduced-motion: no-preference) {
  .reveal .donut__val { stroke-dashoffset: 376.99; transition: stroke-dashoffset 1.1s var(--ease) .2s; }
  .reveal.in .donut__val { stroke-dashoffset: 25.3; }
}

/* burden row (課題2) */
.burden-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.burden-item { display: flex; flex-direction: column; align-items: center; gap: 12px; background: var(--danger-tint); border: 1px solid var(--danger-line); border-radius: 16px; padding: 20px 10px; text-align: center; }
.burden-item__ic { width: 54px; height: 54px; border-radius: 9999px; background: #fff; color: var(--danger); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.burden-item__t { font-family: var(--ff-display); font-weight: 500; font-size: 13.5px; color: var(--ink); line-height: 1.5; }

/* glaucoma facts (3 stat cards) */
.fact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 26px); max-width: 1120px; margin: 0 auto; }
.fact-card { background: #fff; border: 1.5px solid var(--primary-soft); border-radius: 20px; box-shadow: var(--shadow-md); padding: clamp(24px, 2.4vw, 34px) clamp(22px, 2vw, 30px); text-align: center; }
.fact-card__label { font-family: var(--ff-display); font-weight: 700; font-size: clamp(15px, 1.4vw, 17px); color: var(--primary-700); letter-spacing: .02em; }
.fact-card__num { color: var(--accent-600); font-family: var(--ff-display); line-height: 1; margin: clamp(10px, 1.4vw, 18px) 0 clamp(14px, 1.6vw, 20px); display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.fact-card__num b { font-family: var(--ff-latin); font-weight: 700; font-size: clamp(56px, 6.4vw, 84px); }
.fact-card__num .u { font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); align-self: flex-end; margin-bottom: clamp(8px, 1vw, 14px); }
.fact-card p { color: var(--body); font-size: 14px; line-height: 1.85; margin: 0; text-align: left; }
.fact-card p strong { color: var(--ink); font-weight: 700; }
.fact-source { max-width: 1120px; margin: clamp(20px, 2.4vw, 28px) auto 0; color: var(--muted); font-size: 12px; line-height: 1.7; text-align: left; }
@media (max-width: 820px) { .fact-cards { grid-template-columns: 1fr; max-width: 460px; } }

/* burden callout inside comparison */
.burden-callout { background: var(--danger-tint); border: 1px solid var(--danger-line); border-radius: 18px; padding: clamp(20px, 2.2vw, 26px); }
.burden-callout__head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.burden-callout__head .chip-danger { flex: none; }
.burden-callout__head p { margin: 0; color: var(--body); font-size: 14.5px; line-height: 1.7; flex: 1; min-width: 220px; }
.burden-callout .burden-item { background: #fff; }

/* price CTA section */
.price-cta { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: clamp(32px, 3.4vw, 48px); text-align: center; }
.price-cta__ic { width: 82px; height: 82px; margin: 0 auto 20px; border-radius: 9999px; background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; }
.price-cta__lead { color: var(--body); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.9; margin: 0 0 28px; }
.price-cta__btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 480px) { .price-cta__btns { flex-direction: column; } .price-cta__btns .btn { width: 100%; } }

@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; line-height: 1.35; }
  .btn--lg { padding: 15px 24px; font-size: 15.5px; }
  .btn--2line { flex-direction: column; gap: 3px; }
  .btn--2line .btn-sep { display: none; }
}

/* ============================ FAQ ============================ */
.faq { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-inline: auto; }
.faq__item { border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid var(--line-2); }
.faq--tint .faq__item { background: var(--primary-tint); border-color: transparent; box-shadow: none; }
.faq__q { width: 100%; border: 0; background: transparent; display: flex; align-items: center; gap: 12px; padding: 24px; text-align: left; }
.faq__q .q { font-family: var(--ff-display); font-weight: 700; font-size: 18px; color: var(--primary); flex: none; }
.faq__q .txt { font-weight: 500; font-size: 16px; color: var(--ink); flex: 1; }
.faq__q .car { color: var(--primary); transition: transform .25s var(--ease); flex: none; }
.faq__item[data-open="true"] .car { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s var(--ease); }
.faq__item[data-open="true"] .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 24px 24px 50px; color: var(--body); font-size: 15px; line-height: 1.85; }

/* ============================ Comparison table ============================ */
.cmp { width: 100%; border-collapse: collapse; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.cmp th, .cmp td { padding: 16px 20px; text-align: center; font-size: 15px; }
.cmp thead th { background: var(--primary); color: #fff; font-family: var(--ff-display); font-weight: 700; font-size: 16px; }
.cmp thead th:first-child { background: var(--primary); }
.cmp tbody tr:nth-child(odd) { background: var(--primary-tint); }
.cmp tbody td:first-child { font-family: var(--ff-display); font-weight: 500; color: var(--ink); text-align: left; white-space: nowrap; }
.cmp .ours { color: var(--primary-700); font-weight: 700; }
.cmp .legacy { color: var(--muted); }
.cmp-sub { display: block; font-family: var(--ff-body); font-weight: 500; font-size: 11px; letter-spacing: .04em; opacity: .8; margin-top: 3px; }

/* comparison v2 — emphasised "ours" column */
.cmp--v2 { border-collapse: separate; border-spacing: 0; overflow: visible; box-shadow: none; background: transparent; }
.cmp--v2 th, .cmp--v2 td { border-bottom: 1px solid var(--line); }
.cmp--v2 thead th { background: transparent; color: var(--muted); font-size: 14px; padding-bottom: 14px; border-bottom: 2px solid var(--line); }
.cmp--v2 thead th:first-child { background: transparent; }
.cmp--v2 .cmp__ours-h { position: relative; color: var(--primary-700); font-size: 17px; background: var(--primary-tint); border-radius: 14px 14px 0 0; border-bottom: 2px solid var(--primary); }
.cmp__badge { display: block; width: fit-content; margin: 0 auto 6px; font-family: var(--ff-latin); font-weight: 700; font-size: 10.5px; letter-spacing: .1em; color: var(--accent-ink); background: var(--accent); border-radius: 9999px; padding: 3px 12px; }
.cmp--v2 tbody td { background: transparent; padding: 15px 20px; }
.cmp--v2 tbody tr:nth-child(odd) { background: transparent; }
.cmp--v2 tbody td:first-child { font-family: var(--ff-display); font-weight: 700; color: var(--ink); text-align: left; white-space: nowrap; }
.cmp--v2 td.ours { background: var(--primary-tint); color: var(--primary-700); font-weight: 700; }
.cmp--v2 tbody tr:last-child td.ours { border-radius: 0 0 14px 14px; border-bottom: 2px solid var(--primary); }
.ours__check { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 9999px; background: var(--primary); color: #fff; margin-right: 8px; vertical-align: middle; }
.cmp--v2 td.legacy { color: var(--muted); }

/* ABOUT overview (features + result sheet) */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; max-width: 1120px; margin: 0 auto; }
.about-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; }
.about-list__ic { flex: none; width: 28px; height: 28px; border-radius: 9999px; background: var(--primary); color: #fff; display: grid; place-items: center; margin-top: 2px; }
.about-list li b { display: block; font-family: var(--ff-display); font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 3px; }
.about-list li span { display: block; color: var(--body); font-size: 13.5px; line-height: 1.75; }
.about-media { text-align: center; }
.about-media img { width: 100%; max-width: 460px; border-radius: 14px; box-shadow: var(--shadow-md); border: 1px solid var(--line-2); }
.about-media__cap { margin: 14px auto 0; font-size: 12.5px; color: var(--muted); line-height: 1.7; max-width: 40ch; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.about-feats--wide { max-width: 1000px; margin: 0 auto; }
.about-list--2col { grid-template-columns: 1fr 1fr; gap: 16px 40px; }
.features-media { text-align: center; }
@media (max-width: 720px) { .about-list--2col { grid-template-columns: 1fr; } }

/* ABOUT rich list — colored icon cards */
.about-list--rich { gap: 12px; }
.about-list--rich li { align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line-2); border-left: 4px solid var(--primary); border-radius: 12px; padding: 15px 20px; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s; }
.about-list--rich li:hover { transform: translateX(5px); box-shadow: var(--shadow-md); }
.about-list--rich li:nth-child(even) { border-left-color: var(--accent-600); }
.about-list--rich .about-list__ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; margin: 0; }
.about-list--rich li:nth-child(even) .about-list__ic { background: var(--accent-tint); color: var(--accent-600); }
.about-list--rich .about-list__ic svg { width: 22px; height: 22px; }
.about-list--rich li b { display: block; font-family: var(--ff-display); font-weight: 700; font-size: 15.5px; color: var(--ink); margin-bottom: 3px; }
.about-list--rich li span { display: block; color: var(--body); font-size: 12.5px; line-height: 1.7; }

/* ABOUT — creative layout */
.about-grid--creative { grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.about-visual { position: relative; padding: 24px; isolation: isolate; }
.about-visual__blob { position: absolute; inset: 0; z-index: -2; background: var(--primary-soft); border-radius: 62% 38% 55% 45% / 48% 55% 45% 52%; opacity: .55; }
.about-visual__ring { position: absolute; width: 132px; height: 132px; border: 3px dashed var(--accent); border-radius: 9999px; right: -14px; top: -14px; z-index: -1; opacity: .8; }
.about-visual__dot { position: absolute; width: 20px; height: 20px; border-radius: 9999px; background: var(--accent); left: -6px; bottom: 54px; box-shadow: 0 0 0 6px var(--accent-tint); }
.about-visual__frame { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 5px solid #fff; }
.about-visual__frame img { display: block; width: 100%; }
.about-stat { position: absolute; right: -10px; bottom: -18px; background: var(--primary); color: #fff; border-radius: 16px; padding: 14px 22px; box-shadow: var(--shadow-lg); text-align: center; }
.about-stat b { display: block; font-family: var(--ff-display); font-weight: 700; font-size: 30px; line-height: 1; }
.about-stat span { display: block; font-size: 11.5px; margin-top: 6px; opacity: .9; }

.about-list--cards { gap: 10px; grid-template-columns: 1fr 1fr; }
.about-list--cards li { align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s, border-color .18s; }
.about-list--cards li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary-soft); }
.about-list--cards li b { font-size: 14.5px; margin-bottom: 2px; }
.about-list--cards li span { font-size: 12px; line-height: 1.6; }
.about-list__no { flex: none; font-family: var(--ff-latin); font-weight: 700; font-size: 17px; color: var(--accent-600); width: 28px; text-align: center; }
@media (max-width: 820px) { .about-grid--creative { grid-template-columns: 1fr; } .about-stat { right: 12px; } .about-list--cards { grid-template-columns: 1fr; } }

/* EYE-FRAIL — concept flow + disease cards */
.frail-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; }
.frail-flow__step { background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 26px 20px; text-align: center; }
.frail-flow__step--accent { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint), var(--shadow-md); }
.frail-flow__ic { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 9999px; background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; }
.frail-flow__step--accent .frail-flow__ic { background: var(--accent); color: var(--accent-ink); }
.frail-flow__step h4 { font-family: var(--ff-display); font-weight: 700; font-size: 16px; color: var(--ink); margin: 0 0 8px; }
.frail-flow__step p { font-size: 13px; color: var(--body); line-height: 1.7; margin: 0; }
.frail-flow__arrow { display: grid; place-items: center; color: var(--primary-soft); font-size: 28px; }
.frail-lead { text-align: center; font-family: var(--ff-display); font-weight: 700; font-size: clamp(18px, 2vw, 22px); color: var(--ink); margin: 0 0 24px; }
.disease-cards { max-width: 1000px; margin: 0 auto; }
.disease-card { text-align: center; padding: 30px 24px; }
.disease-card__ic { margin: 0 auto 16px; }
.disease-card h3 { font-family: var(--ff-display); font-weight: 700; font-size: 18px; color: var(--primary); margin: 0 0 10px; }
.disease-card p { color: var(--body); font-size: 13.5px; line-height: 1.8; margin: 0; }
.frail-note { max-width: 1000px; margin: 28px auto 0; font-size: 12.5px; color: var(--muted); line-height: 1.8; text-align: center; }
@media (max-width: 760px) {
  .frail-flow { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .frail-flow__arrow { transform: rotate(90deg); }
}

.mgmt { margin-top: 24px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 28px 32px; }
.mgmt h3 { font-family: var(--ff-display); font-weight: 500; font-size: 20px; text-align: center; color: var(--ink); margin: 0 0 16px; }
.mgmt ul { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.mgmt li { color: var(--body); font-size: 15px; }
.mgmt li::before { content: "✓"; color: var(--primary); font-weight: 700; margin-right: 8px; }

/* mgmt features — text + dashboard screenshot */
.mgmt-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(24px, 3vw, 44px); align-items: center; max-width: 1180px; margin: 0 auto; }
.mgmt-grid .mgmt { margin-top: 0; }
.mgmt-grid .mgmt h3 { text-align: left; }
.mgmt-grid .mgmt ul { justify-content: flex-start; }
.mgmt-shot img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); display: block; }
.mgmt-shot__cap { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
@media (max-width: 820px) { .mgmt-grid { grid-template-columns: 1fr; } .mgmt-grid .mgmt h3, .mgmt-grid .mgmt ul { text-align: center; justify-content: center; } }

/* mgmt features v2 — highlights + showcases */
.mgmt-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1000px; margin: 0 auto 36px; }
.mgmt-feat { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow-sm); }
.mgmt-feat__ic { flex: none; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, var(--primary), var(--primary-600)); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--primary-tint), var(--shadow-sm); }
.mgmt-feat__ic svg { width: 24px; height: 24px; display: block; }
.mgmt-feat__ic--check { background: none; color: var(--primary); border-radius: 0; box-shadow: none; }
.mgmt-feat__ic--check svg { width: 34px; height: 34px; stroke-width: 3; }
.mgmt-feat b { display: block; font-family: var(--ff-display); font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.mgmt-feat span { display: block; font-size: 12px; color: var(--muted); line-height: 1.6; }
.mgmt-shots { display: grid; grid-template-columns: 1.35fr .65fr; gap: 24px; max-width: 1120px; margin: 0 auto; align-items: stretch; }
.mgmt-showcase { background: #fff; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); display: flex; flex-direction: column; }
.mgmt-showcase__bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; font-family: var(--ff-display); font-weight: 700; font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.mgmt-showcase__tag { flex: none; font-family: var(--ff-latin); font-weight: 700; font-size: 10.5px; letter-spacing: .08em; color: #fff; background: var(--primary); border-radius: 9999px; padding: 3px 11px; }
.mgmt-showcase__tag--accent { color: var(--accent-ink); background: var(--accent); }
.mgmt-showcase__body { padding: 18px; background: var(--line-2); flex: 1; display: flex; align-items: center; justify-content: center; }
.mgmt-showcase__body img { width: 100%; display: block; border-radius: 8px; box-shadow: var(--shadow-sm); }
.mgmt-showcase__body--paper { background: #eef1f0; }
.mgmt-showcase__body--paper img { width: auto; max-width: 100%; max-height: 300px; border: 1px solid var(--line); }
@media (max-width: 820px) {
  .mgmt-feats { grid-template-columns: 1fr; }
  .mgmt-shots { grid-template-columns: 1fr; }
}

/* ============================ Pricing ============================ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1080px; margin-inline: auto; align-items: start; }
.plan { position: relative; background: var(--primary-tint); border: 1px solid transparent; border-radius: 14px; padding: 32px 28px; box-shadow: var(--shadow-md); transition: transform .2s var(--ease), box-shadow .2s; }
.plan--feature { background: #fff; border-color: var(--primary); transform: translateY(-6px); }
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-family: var(--ff-display); font-size: 14px; padding: 4px 18px; border-radius: 9999px; white-space: nowrap; max-width: calc(100% - 24px); }
@media (max-width: 480px) { .plan__badge { font-size: 12.5px; padding: 4px 14px; } }
.plan h3 { font-family: var(--ff-display); font-weight: 500; font-size: 18px; color: var(--primary); text-align: center; margin: 0; }
.plan__sub { text-align: center; color: var(--muted); font-size: 13px; margin: 6px 0 18px; }
.plan__price { text-align: center; font-family: var(--ff-display); font-weight: 700; font-size: 26px; color: var(--ink); margin-bottom: 20px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan li { color: var(--body); font-size: 15px; }
.plan li::before { content: "✓"; color: var(--primary); margin-right: 10px; font-weight: 700; }
#pricing .plan li { white-space: nowrap; }

/* 5-item measurement grid (flyer-sourced) */
.measure-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.measure-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px 16px; text-align: center; }
.measure-card .feat__icon { width: 68px; height: 68px; margin: 0 auto 16px; background: var(--primary-tint); }
.measure-card .feat__icon svg { width: 30px; height: 30px; }
.measure-card .feat__icon img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.measure-card h3 { font-family: var(--ff-display); font-weight: 700; font-size: 16px; color: var(--ink); margin: 0 0 8px; }
.measure-card p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0; }
@media (max-width: 900px) { .measure-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .measure-grid { grid-template-columns: repeat(2, 1fr); } }

/* pricing band banner */
.price-banner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; background: var(--primary); color: #fff; border-radius: var(--radius); padding: 18px 28px; margin-top: 22px; max-width: 1080px; margin-inline: auto; text-align: center; }
.price-banner b { font-family: var(--ff-display); background: var(--accent); color: var(--accent-ink); border-radius: 9999px; padding: 4px 16px; font-size: 14px; }

/* inline notice / disclaimer box */
.notice-box { display: flex; gap: 16px; align-items: flex-start; background: var(--accent-tint); border: 1px solid var(--accent); border-radius: var(--radius); padding: 22px 26px; max-width: 1080px; margin: 0 auto; }
.notice-box__ic { flex: none; width: 30px; height: 30px; border-radius: 9999px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-family: var(--ff-display); }
.notice-box h4 { margin: 0 0 6px; font-family: var(--ff-display); font-size: 15px; color: var(--ink); }
.notice-box p { margin: 0; color: var(--body); font-size: 13.5px; line-height: 1.8; }

/* アイフレイル signs checklist */
.signs { max-width: 1120px; margin: 32px auto 0; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 32px clamp(24px, 3vw, 40px); }
.signs__head h3 { font-family: var(--ff-display); font-weight: 700; font-size: clamp(18px, 2vw, 21px); color: var(--ink); margin: 0 0 8px; text-align: center; }
.signs__head p { color: var(--body); font-size: 14px; line-height: 1.8; margin: 0 auto 22px; max-width: 60ch; text-align: center; }
.signs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.signs__list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink); background: var(--primary-tint); border-radius: 10px; padding: 12px 16px; }
.signs__check { flex: none; width: 24px; height: 24px; border-radius: 9999px; background: var(--primary); color: #fff; display: grid; place-items: center; }
.signs__note { text-align: center; font-size: 13.5px; color: var(--primary-700); font-weight: 500; margin: 20px 0 0; }
@media (max-width: 820px) { .signs__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .signs__list { grid-template-columns: 1fr; } }

/* flow / steps */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.flow--3 { grid-template-columns: repeat(3, 1fr); }
.flow__step { background: #fff; border-radius: 12px; box-shadow: var(--shadow-md); padding: 28px 22px; text-align: center; position: relative; }
.flow__step .n { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 9999px; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--ff-latin); font-weight: 700; }
.flow__step h3 { font-family: var(--ff-display); font-weight: 500; font-size: 17px; color: var(--ink); margin: 0 0 8px; }
.flow__step p { font-size: 13.5px; color: var(--body); margin: 0; line-height: 1.7; }
.flow__step:not(:last-child)::after {
  content: "▶"; position: absolute; top: 50%; right: -19px; transform: translateY(-50%);
  font-size: 13px; color: var(--primary-soft); z-index: 2; pointer-events: none;
}

/* flow step with illustration (used for measurement-flow scenes) */
.flow__step--illust { padding-top: 22px; }
.flow__illust { width: 100%; height: 128px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.flow__illust img { max-width: 100%; max-height: 100%; object-fit: contain; }
.flow__step--illust .n { width: auto; height: auto; background: none; color: var(--accent-600); font-size: 26px; font-weight: 700; margin: 0 0 8px; }
.flow__step--illust h3 { font-weight: 700; }

/* about step cards (icon + corner number, connected) */
.step-flow { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; }
.step-card { text-align: center; }
.step-card__ic { position: relative; width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 9999px; background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; }
.step-card__ic svg { width: 40px; height: 40px; }
.step-card__n { position: absolute; top: -4px; right: -4px; width: 30px; height: 30px; border-radius: 9999px; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--ff-latin); font-weight: 700; font-size: 14px; box-shadow: var(--shadow-sm); }
.step-flow__arrow { display: grid; place-items: center; color: var(--primary-soft); font-size: 30px; }

/* 検査の流れ — illustrated step cards */
.check-step { text-align: center; padding-top: 40px; position: relative; overflow: visible; }
.check-step__badge { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; font-size: 24px; color: var(--accent-ink); background: var(--accent); border-radius: 9999px; box-shadow: var(--shadow-md); }9999px; padding: 4px 16px; margin-bottom: 16px; }
.check-step__art { width: 100%; height: 108px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.check-step__art svg { max-width: 168px; height: 100%; }
@media (max-width: 720px) {
  .check-step__art { height: 96px; }
}
@media (max-width: 720px) {
  .step-flow { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .step-flow__arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* merits watermark index + tinted icon disc */
.merit-card { position: relative; overflow: hidden; }
.merit-card .wm { position: absolute; top: 2px; right: 16px; font-family: var(--ff-latin); font-weight: 700; font-size: 68px; line-height: 1; color: var(--primary); opacity: .08; pointer-events: none; }
.merit-card__ic { background: var(--primary-tint) !important; }

/* flow step icon + corner number */
.flow__step { padding-top: 34px; overflow: visible; }
.flow__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); display: inline-block; font-family: var(--ff-latin); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; color: var(--accent-ink); background: var(--accent); border-radius: 9999px; padding: 6px 18px; box-shadow: var(--shadow-md); white-space: nowrap; }px; padding: 4px 15px; margin-bottom: 14px; }
.flow__ic { position: relative; width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 9999px; background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; }
.flow__n { position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 9999px; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--ff-latin); font-weight: 700; font-size: 12px; box-shadow: var(--shadow-sm); }

/* expandability chips */
.chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.chip { padding: 12px 26px; border-radius: 9999px; background: #fff; box-shadow: var(--shadow-sm); color: var(--primary-700); font-family: var(--ff-display); font-weight: 500; font-size: 15px; border: 1px solid var(--primary-soft); }

/* audience picker cards (home) */
.aud-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aud-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 30px; text-align: center; display: flex; flex-direction: column; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
.aud-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.aud-card h3 { font-family: var(--ff-display); font-weight: 700; font-size: 18px; color: var(--ink); margin: 0 0 12px; letter-spacing: .03em; }
.aud-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 22px; flex: 1; }
.aud-card__body { display: flex; flex-direction: column; flex: 1; }
.aud-card__media { display: none; }
.aud-card__media img { width: 100%; height: 160px; object-fit: cover; }

/* Variation B — card layout. default = icon. */
html[data-cards="photo"] .aud-card { padding: 0; text-align: left; }
html[data-cards="photo"] .aud-card__icon { display: none; }
html[data-cards="photo"] .aud-card__media { display: block; }
html[data-cards="photo"] .aud-card__body { padding: 26px 28px 28px; }
html[data-cards="photo"] .aud-card h3 { font-size: 19px; }

html[data-cards="band"] .aud-cards { grid-template-columns: 1fr; gap: 16px; max-width: 880px; margin-inline: auto; }
html[data-cards="band"] .aud-card { flex-direction: row; align-items: center; text-align: left; gap: 26px; padding: 24px 30px; }
html[data-cards="band"] .aud-card__icon { margin: 0 !important; flex: none; }
html[data-cards="band"] .aud-card__body { flex-direction: row; align-items: center; gap: 26px; width: 100%; }
html[data-cards="band"] .aud-card p { margin: 0; }
html[data-cards="band"] .aud-card h3 { margin: 0 0 4px; }
html[data-cards="band"] .aud-card .btn { width: auto; flex: none; }
html[data-cards="band"] .aud-card__body > div:first-child { flex: 1; }
@media (max-width: 700px) {
  html[data-cards="band"] .aud-card, html[data-cards="band"] .aud-card__body { flex-direction: column; text-align: center; }
}

/* Variation A — hero layout. default = split. */
html[data-hero="photo"] .hero__grid { grid-template-columns: .82fr 1.18fr; }
html[data-hero="photo"] .hero__media image-slot,
html[data-hero="photo"] .hero__media .media-img { height: clamp(340px, 44vw, 540px); }
html[data-hero="compact"] .hero__grid { grid-template-columns: 1fr; max-width: 920px; text-align: center; justify-items: center; }
html[data-hero="compact"] .hero__media { display: none; }
html[data-hero="compact"] .hero__cta { justify-content: center; }
html[data-hero="compact"] .hero__lead { margin-inline: auto; max-width: 60ch; }

/* Variation C — medical hero CTA. default = dl (single emphasised download). */
.medcta-dual { display: none; }
html[data-medcta="dual"] .medcta-dl { /* keep download but de-emphasise stack copy */ }
html[data-medcta="dual"] .medcta-dl.btn--stack { padding-block: 14px; }
html[data-medcta="dual"] .medcta-dl.btn--stack small { display: none; }
html[data-medcta="dual"] .hero__hint { display: none; }
html[data-medcta="dual"] .medcta-dual { display: inline-flex; }

/* evidence */
.evidence { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: center; }
.ev-card { background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 32px; }
.ev-card h3 { font-family: var(--ff-display); font-weight: 500; font-size: 18px; text-align: center; color: var(--ink); margin: 0 0 20px; }
.ev-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.ev-stat { text-align: center; }
.ev-stat .v { font-family: var(--ff-latin); font-weight: 700; font-size: clamp(26px,3vw,34px); color: var(--primary); }
.ev-stat .k { font-size: 13px; color: var(--muted); }
.ev-note { text-align: center; color: var(--body); font-size: 14px; margin: 20px 0 0; }
.ev-person { text-align: center; }
.ev-photo { width: 150px; height: 150px; border-radius: 9999px; margin: 0 auto 12px; overflow: hidden; }
.ev-person b { font-family: var(--ff-display); font-size: 20px; color: var(--ink); display: block; }
.ev-person small { color: var(--muted); }

.logos-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 24px; }

/* contact band */
.contact { position: relative; overflow: clip; color: #fff; }
.contact__bg { position: absolute; inset: 0; z-index: 0; }
.contact__bg::after { content:""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,35,26,.9) 0%, rgba(13,35,26,.66) 52%, rgba(13,35,26,.32) 100%); }
.contact__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-block: clamp(56px,7vw,80px); }
.contact h2 { font-family: var(--ff-display); font-weight: 700; font-size: clamp(26px,3.4vw,38px); margin: 0; line-height: 1.4; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.contact p.sub { font-size: 17px; margin: 14px 0 0; opacity: .95; }
.contact__cta { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0; }
.contact__phone { margin-top: 18px; }
.contact__phone .lbl { font-size: 16px; opacity: .9; }
.contact__phone .num { font-family: var(--ff-latin); font-weight: 700; font-size: clamp(34px,4.6vw,56px); letter-spacing: .02em; display: flex; align-items: center; gap: 12px; }
.contact__media .ph, .contact__media image-slot, .contact__media .media-img { display: block; width: 100%; height: clamp(360px, 42vw, 520px); }

/* cross-link banner */
.crosslink { background: linear-gradient(var(--hero-1), var(--hero-2)); }
.crosslink a { display: block; max-width: 800px; margin-inline: auto; background: #fff; border-radius: 12px; box-shadow: var(--shadow-md); padding: 22px 24px; text-align: center; font-family: var(--ff-display); font-weight: 500; font-size: 18px; color: var(--primary-700); letter-spacing: .04em; transition: transform .2s var(--ease), box-shadow .2s; }
.crosslink a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ============================ Footer ============================ */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-block: 48px 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.foot-brand__desc { color: var(--muted); font-size: 13px; margin: 16px 0 0; line-height: 1.8; max-width: 32ch; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.foot-extlink { display: inline-flex; align-items: center; gap: 5px; }
.foot-extlink__ic { opacity: .7; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.foot-grid h4 { font-size: 12px; letter-spacing: .12em; color: var(--faint); text-transform: uppercase; margin: 0 0 14px; font-family: var(--ff-latin); }
.foot-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.foot-contact__item { display: flex; flex-direction: column; gap: 2px; }
.foot-contact__lbl { font-size: 12px; color: var(--muted); }
.foot-contact__val { font-family: var(--ff-latin); font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: .01em; text-decoration: none; }
.foot-contact__val:hover { color: var(--primary); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { color: var(--body); font-size: 14px; }
.foot-grid a:hover { color: var(--primary-700); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.foot-bottom small { color: var(--faint); font-size: 12px; }

/* ============================ Placeholder media ============================ */
.ph {
  --c1: color-mix(in oklab, var(--primary) 12%, #eef2f1);
  --c2: color-mix(in oklab, var(--primary) 5%, #f7faf9);
  display: grid; place-items: center; border-radius: var(--radius); overflow: hidden;
  background-color: var(--c2);
  background-image: repeating-linear-gradient(45deg, var(--c1) 0 12px, transparent 12px 24px);
  color: var(--muted); border: 1px dashed color-mix(in oklab, var(--primary) 25%, var(--line));
}
.ph span { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; letter-spacing: .05em; background: rgba(255,255,255,.78); padding: 5px 12px; border-radius: 6px; }
.ph--circle { border-radius: 9999px; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================ Download / Contact form ============================ */
.dl-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 40px; align-items: start; }

.material-cover { height: 220px; margin-bottom: 20px; }
.material-cover--img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.material-cover--trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; height: auto; }
.material-cover--trio img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 560px) { .material-cover--trio { grid-template-columns: 1fr; } }
.material-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.material-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--body); font-size: 14.5px; line-height: 1.65; }
.material-list li::before { content: "✓"; color: var(--primary); font-weight: 700; flex: none; }
.card p.material-card__foot { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); line-height: 1.7; }

.contact-info-card { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card .row { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-card .ic { width: 44px; height: 44px; border-radius: 9999px; background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; flex: none; }
.contact-info-card .lbl { font-size: 12.5px; color: var(--muted); margin-bottom: 3px; }
.contact-info-card .val { font-family: var(--ff-latin); font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: .01em; }
.contact-info-card .val:hover { color: var(--primary); }
.contact-info-card .val.email { font-family: var(--ff-body); font-size: 14.5px; font-weight: 500; word-break: break-all; }
.contact-info-card .hours { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.6; }

.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(28px, 3.2vw, 44px); border: 1px solid var(--line-2); }
.form-grid { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field-label { font-family: var(--ff-display); font-weight: 500; font-size: 14.5px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.field-label .req, .field-label .opt { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 9999px; letter-spacing: .03em; }
.field-label .req { color: #fff; background: var(--danger); }
.field-label .opt { color: var(--muted); background: var(--line-2); font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 16px;
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 14%, transparent);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.8; }
.field-hint { font-size: 12.5px; color: var(--muted); margin: 0; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.radio-card-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.radio-card-group--stack { grid-template-columns: 1fr; }
.radio-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: all .15s var(--ease); }
.radio-card:hover { border-color: var(--primary-soft); }
.radio-card input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.radio-card__dot { width: 20px; height: 20px; border-radius: 9999px; border: 2px solid var(--line); flex: none; display: grid; place-items: center; transition: border-color .15s; }
.radio-card__dot::after { content: ""; width: 10px; height: 10px; border-radius: 9999px; background: var(--primary); transform: scale(0); transition: transform .15s var(--ease); }
.radio-card__label { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.4; }
.radio-card input:checked ~ .radio-card__dot { border-color: var(--primary); }
.radio-card input:checked ~ .radio-card__dot::after { transform: scale(1); }
.radio-card:has(input:checked) { border-color: var(--primary); background: var(--primary-tint); box-shadow: var(--shadow-sm); }
.radio-card:has(input:checked) .radio-card__label { color: var(--primary-700); font-weight: 700; }
.radio-card input:focus-visible ~ .radio-card__dot { outline: 3px solid color-mix(in oklab, var(--primary) 55%, white); outline-offset: 2px; }

.field-check { display: flex; align-items: flex-start; gap: 11px; }
.field-check input[type="checkbox"] { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--primary); flex: none; cursor: pointer; }
.field-check label { font-size: 14px; color: var(--body); line-height: 1.75; }
.field-check a { color: var(--primary-700); text-decoration: underline; }

.form-submit { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 4px; padding-top: 24px; border-top: 1px solid var(--line-2); }

.thanks { text-align: center; padding: clamp(28px, 4vw, 52px) clamp(12px, 3vw, 24px); }
.thanks__ic { width: 88px; height: 88px; border-radius: 9999px; background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; margin: 0 auto 24px; }
.thanks h3 { font-family: var(--ff-display); font-weight: 700; font-size: clamp(21px, 2.4vw, 27px); color: var(--ink); margin: 0 0 14px; }
.thanks p { color: var(--body); font-size: 15.5px; line-height: 1.9; max-width: 44ch; margin: 0 auto 30px; }
.thanks__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .dl-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-grid > * { min-width: 0; }
}
@media (max-width: 560px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

/* ============================ Responsive ============================ */
@media (max-width: 1080px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow__step::after { display: none; }
  .logos-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: grid; }
  .aud-rail { margin-top: 8px; padding-bottom: 4px; }
  .mobile-menu { display: block; background: linear-gradient(var(--nav-1), var(--nav-2)); border-top: 1px solid rgba(255,255,255,.5); max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
  .mobile-menu.open { max-height: 560px; }
  .mobile-menu ul { list-style: none; margin: 0; padding: 12px 24px 20px; display: flex; flex-direction: column; gap: 4px; }
  .mobile-menu a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--ink-2); font-size: 15px; }
  .mobile-menu a:hover { background: rgba(255,255,255,.6); }
  .mobile-menu .mm-cta { display: flex; gap: 10px; padding: 8px 24px 20px; flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__media { order: -1; max-width: 520px; }
  .evidence { grid-template-columns: 1fr; }
  .ev-person { order: -1; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__media { max-width: 420px; }
  .grid-3, .aud-cards, .price-grid { grid-template-columns: 1fr !important; max-width: 460px; margin-inline: auto; }
  #pricing .plan li { white-space: normal; }
  .cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cmp { min-width: 560px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .plan--feature { transform: none; }
}
@media (max-width: 560px) {
  .grid-2 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .foot-nav { grid-template-columns: 1fr 1fr; max-width: 420px; }
  .aud-pill a { padding: 8px 10px; font-size: 12.5px; flex: 1; text-align: center; }
  .section { padding-block: 48px; }
  .feat { flex-direction: column; text-align: center; align-items: center; }
  .feat__head { flex-direction: column; }
}
