:root {
  color-scheme: light dark;
  --ink: #0f1216;
  --muted: #555d61;
  --signal: #00c389;
  --signal-ink: #063b2e;
  --bone: #f2f1ec;
  --surface: #fafaf7;
  --surface-raised: #ffffff;
  --line: rgba(15, 18, 22, 0.15);
  --line-strong: rgba(15, 18, 22, 0.28);
  --shadow: 0 32px 70px rgba(27, 38, 34, 0.14);
  --radius-card: 18px;
  --radius-frame: 28px;
  --max: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #edf1ed;
    --muted: #aeb7b3;
    --bone: #121619;
    --surface: #171c1f;
    --surface-raised: #1d2326;
    --line: rgba(237, 241, 237, 0.14);
    --line-strong: rgba(237, 241, 237, 0.28);
    --signal-ink: #061f17;
    --shadow: 0 32px 70px rgba(0, 0, 0, 0.3);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bone);
  font-family: "Aptos", "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 30; background: var(--surface-raised); padding: .75rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; }
.wrap { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.narrow { max-width: 810px; margin-left: max(1.25rem, calc((100vw - var(--max)) / 2)); margin-right: 1.25rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bone) 90%, transparent);
  backdrop-filter: blur(18px) saturate(130%);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; flex: 0 0 auto; }
.brand picture { display: flex; }
.brand img { width: 118px; height: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.65rem); font-size: .89rem; font-weight: 680; white-space: nowrap; }
.nav-links a { text-decoration: none; }
.nav-links > a:not(.button) { color: var(--muted); transition: color .2s ease; }
.nav-links > a:not(.button):hover { color: var(--ink); }
.menu-button { display: none; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink); padding: .55rem .85rem; font-weight: 700; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .82rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bone);
  text-decoration: none;
  font-weight: 780;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 195, 137, .15); }
.button:active { transform: translateY(0) scale(.98); }
.button.signal { background: var(--signal); color: var(--signal-ink); }
.button-small { min-height: 42px; padding: .65rem 1rem; }
.text-link { display: inline-flex; gap: .55rem; align-items: center; font-weight: 760; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: .25rem; }

.eyebrow { margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 820; color: color-mix(in srgb, var(--signal) 70%, var(--ink)); }
h1, h2, h3 { margin-top: 0; line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
h1 { margin-bottom: 1.4rem; max-width: 18ch; font-size: clamp(3.25rem, 4.7vw, 4.6rem); font-weight: 760; }
h2 { margin-bottom: 1.35rem; max-width: 14ch; font-size: clamp(2.4rem, 4.7vw, 4.9rem); font-weight: 735; }
h3 { margin-bottom: .75rem; font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 720; }
p { margin-top: 0; }
.lead { max-width: 64ch; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.3rem); }
.asset-caption, figcaption { color: var(--muted); font-size: .82rem; line-height: 1.45; }

.hero { min-height: calc(100dvh - 72px); padding: clamp(2.2rem, 5vw, 4.5rem) 0 1.75rem; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.hero-copy-block { padding-block: 1rem; }
.hero-copy { margin-bottom: 1.75rem; max-width: 20rem; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.32rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
.hero-product { position: relative; justify-self: center; width: min(100%, 355px); transform: rotate(1.3deg); }
.hero-product::before { content: ""; position: absolute; inset: 14% -16% 9% 12%; z-index: -1; border-radius: 40% 56% 47% 42%; background: color-mix(in srgb, var(--signal) 22%, transparent); filter: blur(2px); }
.hero-product .asset-caption { margin: .75rem 0 0; text-align: center; transform: rotate(-1.3deg); }
.phone-frame { overflow: hidden; border: 7px solid color-mix(in srgb, var(--ink) 86%, var(--surface)); border-radius: var(--radius-frame); background: #fff; box-shadow: var(--shadow); }
.phone-frame img { width: 100%; height: auto; }
.care-interval { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.2rem; padding-top: 1.3rem; font-size: .76rem; font-weight: 780; text-transform: uppercase; letter-spacing: .12em; }
.care-track { position: relative; height: 2px; background: var(--line-strong); }
.care-track::before { content: ""; position: absolute; inset: 0 12%; background: var(--signal); transform-origin: left; animation: care-grow 1.2s .35s cubic-bezier(.16, 1, .3, 1) both; }
.care-track i { position: absolute; top: 50%; width: 9px; aspect-ratio: 1; border-radius: 50%; background: var(--signal); transform: translate(-50%, -50%); }
.care-track i:nth-child(1) { left: 22%; }.care-track i:nth-child(2) { left: 50%; }.care-track i:nth-child(3) { left: 78%; }
@keyframes care-grow { from { transform: scaleX(0); } }

.section { padding: clamp(5rem, 10vw, 9rem) 0; border-top: 1px solid var(--line); }
.problem { position: relative; overflow: hidden; }
.problem .narrow { position: relative; z-index: 1; }
.problem-map { margin-top: 4rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; color: var(--muted); font-size: .82rem; font-weight: 730; text-transform: uppercase; letter-spacing: .1em; }
.gap-label { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--ink); }
.gap-label::before, .gap-label::after { content: ""; height: 1px; flex: 1; background: repeating-linear-gradient(90deg, var(--line-strong) 0 7px, transparent 7px 14px); }

.product-proof { overflow: hidden; }
.product-stage { min-height: 870px; margin-top: 4rem; display: grid; grid-template-columns: .72fr .65fr 1.35fr; align-items: end; gap: clamp(1rem, 3vw, 2.5rem); }
figure { margin: 0; }
.product-shot { position: relative; }
.product-shot-main { align-self: start; }
.product-shot-secondary { transform: translateY(5rem); }
.product-shot figcaption, .clinic-shot figcaption { margin-top: .9rem; }
.clinic-shot { align-self: center; transform: translateY(-2rem); }
.desktop-frame { overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow); }
.desktop-frame img { width: 100%; }

.mechanism-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(3rem, 9vw, 9rem); align-items: start; }
.mechanism-intro { position: sticky; top: 120px; }
.mechanism-steps { position: relative; padding-left: 2.5rem; }
.mechanism-steps::before { content: ""; position: absolute; left: 5px; top: 1rem; bottom: 1rem; width: 2px; background: linear-gradient(var(--signal), var(--line)); }
.mechanism-step { position: relative; padding: 0 0 4.5rem; }
.mechanism-step:last-child { padding-bottom: 0; }
.mechanism-step p { max-width: 43ch; color: var(--muted); font-size: 1.08rem; }
.step-marker { position: absolute; left: -2.72rem; top: .25rem; width: 13px; aspect-ratio: 1; border: 3px solid var(--bone); border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 1px var(--line-strong); }

.glp1-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2.5rem, 8vw, 8rem); align-items: center; }
.photo-panel img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-card); box-shadow: var(--shadow); }
.photo-panel .asset-caption { margin: .75rem 0 0; }
.boundary-note { margin-top: 2rem; padding: 1.4rem 0 0; border-top: 2px solid var(--signal); display: grid; gap: .4rem; }
.boundary-note span { color: var(--muted); }

.safety-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 9vw, 9rem); }
.safety-points { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
.safety-points article:last-child { grid-column: 2; }
.safety-points article { padding-top: 1rem; border-top: 1px solid var(--line-strong); }
.safety-points p { color: var(--muted); }

.evidence-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 9vw, 9rem); align-items: center; }
.evidence-number { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.25rem; align-items: baseline; }
.evidence-number strong { font-size: clamp(4rem, 9vw, 8rem); line-height: .85; letter-spacing: -.07em; color: var(--signal); }
.evidence-number span { max-width: 9rem; color: var(--muted); font-weight: 720; line-height: 1.2; }
.evidence-disclaimer { margin-top: 2rem; padding-left: 1rem; border-left: 3px solid var(--signal); font-weight: 680; }

.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 9vw, 9rem); align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list details:first-child { border-top: 1px solid var(--line-strong); }
.faq-list summary { position: relative; padding: 1.4rem 2.5rem 1.4rem 0; list-style: none; cursor: pointer; font-size: 1.15rem; font-weight: 720; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .2rem; top: 1.2rem; color: var(--signal); font-size: 1.6rem; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 58ch; margin: 0 0 1.5rem; color: var(--muted); }

.demo-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(3rem, 9vw, 8rem); align-items: start; }
.demo-copy { position: sticky; top: 120px; }
.demo-form { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface-raised); box-shadow: var(--shadow); }
.form-field { display: grid; gap: .45rem; margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field label { font-weight: 720; }
.form-field label span { color: var(--muted); font-weight: 500; }
.form-field input { width: 100%; min-height: 50px; padding: .7rem .85rem; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bone); color: var(--ink); }
.form-field input:hover { border-color: color-mix(in srgb, var(--signal) 50%, var(--line-strong)); }
.form-field input[aria-invalid="true"] { border-color: #b54735; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: .75rem; align-items: start; margin: .5rem 0 .35rem; color: var(--muted); font-size: .92rem; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--signal); }
.field-error { min-height: 1.1rem; color: #b54735; font-size: .82rem; font-weight: 680; }
.form-submit { width: 100%; margin-top: .75rem; border: 0; }
.form-note { margin: .9rem 0 0; color: var(--muted); font-size: .82rem; text-align: center; }

.site-footer { padding: 3.5rem 0 2rem; border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: .6fr 1fr auto; gap: 2rem; align-items: start; }
.footer-brand img { width: 130px; }
.footer-main p { max-width: 33ch; color: var(--muted); }
.footer-links { display: grid; gap: .55rem; justify-items: end; }
.footer-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .82rem; }

/* Shared editorial pages */
.section-grid, .profile-intro, .cv-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 8vw, 8rem); align-items: start; }
.profile-intro { grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); }
.portrait-placeholder { aspect-ratio: 4 / 5; border-radius: var(--radius-frame); background: var(--ink); color: var(--bone); display: grid; place-items: center; font-size: clamp(4rem, 10vw, 8rem); font-weight: 800; letter-spacing: -.08em; }
.facts { display: grid; margin: 2.5rem 0; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.fact dt { font-weight: 800; }
.fact dd { margin: 0; color: var(--muted); }
.article-list { display: grid; }
.article-link { display: grid; grid-template-columns: 8rem 1fr auto; gap: 1.5rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.article-link time { color: var(--muted); font-size: .9rem; }
.article { width: min(calc(100% - 2rem), 760px); margin-inline: auto; padding: clamp(4rem, 9vw, 8rem) 0; }
.article h1, .cv-hero h1, .profile-intro h1 { max-width: none; font-size: clamp(2.7rem, 7vw, 5.6rem); }
.article h2 { max-width: none; margin-top: 3.5rem; font-size: 2rem; }
.article p, .article li { font-size: 1.12rem; }
.article-meta, .cv-meta { margin: 1.5rem 0 3rem; color: var(--muted); }
.note { border-left: 4px solid var(--signal); padding: .25rem 0 .25rem 1.25rem; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .9rem; }
.cv-hero { padding: clamp(4rem, 9vw, 8rem) 0; }
.cv-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; margin-top: 2rem; }
.cv-copy { max-width: 65ch; color: var(--muted); font-size: 1.2rem; }
.interest-list { columns: 2; column-gap: 3rem; padding-left: 1.2rem; }

.reveal { opacity: 1; transform: none; }
.hero .reveal { animation: hero-enter .75s cubic-bezier(.16, 1, .3, 1) both; }
.hero .hero-product { animation-delay: .12s; }
.product-shot-secondary.reveal, .product-shot-secondary.reveal.is-visible { transform: translateY(5rem); }
.clinic-shot.reveal, .clinic-shot.reveal.is-visible { transform: translateY(-2rem); }
@keyframes hero-enter { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 980px) {
  .nav-links { gap: 1rem; }
  .nav-links > a:nth-child(3) { display: none; }
  .hero-grid { grid-template-columns: 1.05fr .75fr; gap: 2rem; }
  .product-stage { grid-template-columns: 1fr 1fr; min-height: auto; }
  .clinic-shot { grid-column: 1 / -1; width: 82%; margin: 2rem auto 0; transform: none; }
  .clinic-shot.reveal, .clinic-shot.reveal.is-visible { transform: translateY(0); }
  .safety-points { grid-template-columns: 1fr; }
  .safety-points article:last-child { grid-column: auto; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .wrap { width: min(calc(100% - 2rem), var(--max)); }
  .narrow { margin-inline: 1rem; }
  .nav { min-height: 68px; }
  .brand img { width: 108px; }
  .menu-button { display: inline-flex; }
  #menu-principal { display: none; position: absolute; left: 0; right: 0; top: 68px; padding: 1.1rem 1rem 1.3rem; border-bottom: 1px solid var(--line); background: var(--bone); flex-direction: column; align-items: stretch; gap: 0; }
  #menu-principal.is-open { display: flex; }
  #menu-principal > a, #menu-principal > a:nth-child(3) { display: block; padding: .8rem .25rem; }
  #menu-principal .button { display: inline-flex; margin-top: .65rem; }
  .nav-links:not(#menu-principal) > a:not(.button) { display: none; }
  .hero { min-height: auto; padding-top: 3.2rem; }
  .hero-grid, .mechanism-grid, .glp1-grid, .safety-grid, .evidence-grid, .faq-grid, .demo-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); max-width: 9ch; }
  h2 { font-size: clamp(2.35rem, 11vw, 3.7rem); }
  .hero-copy { max-width: 26rem; }
  .hero-product { width: min(78vw, 330px); margin-top: 1.5rem; }
  .care-interval { margin-top: 2rem; gap: .65rem; font-size: .65rem; letter-spacing: .08em; }
  .section { padding: 5rem 0; }
  .problem-map { grid-template-columns: 1fr; gap: .8rem; align-items: start; }
  .gap-label { justify-content: start; }
  .gap-label::before { display: none; }
  .product-stage { grid-template-columns: 1fr 1fr; align-items: start; gap: 1rem; margin-top: 2.5rem; }
  .product-shot-secondary, .product-shot-secondary.reveal, .product-shot-secondary.reveal.is-visible { transform: translateY(2.5rem); }
  .clinic-shot { grid-column: 1 / -1; width: 100%; margin-top: 4rem; }
  .mechanism-intro, .demo-copy { position: static; }
  .mechanism-steps { padding-left: 2.1rem; }
  .step-marker { left: -2.3rem; }
  .photo-panel { order: 2; }
  .glp1-copy { order: 1; }
  .evidence-number { grid-template-columns: auto 1fr; }
  .evidence-number strong { font-size: clamp(4.5rem, 22vw, 7rem); }
  .faq-grid { gap: 2rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-links { justify-items: start; }
  .footer-legal { flex-direction: column; }
  .section-grid, .profile-intro, .cv-grid { grid-template-columns: 1fr; }
  .article-link { grid-template-columns: 1fr auto; }
  .article-link time { grid-column: 1 / -1; }
  .fact { grid-template-columns: 1fr; gap: .25rem; }
  .footer-grid { flex-direction: column; }
  .interest-list { columns: 1; }
}

@media (max-width: 430px) {
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .product-stage { grid-template-columns: 1fr; }
  .product-shot { width: min(82vw, 330px); }
  .product-shot-secondary, .product-shot-secondary.reveal, .product-shot-secondary.reveal.is-visible { justify-self: end; transform: translateY(0); }
  .clinic-shot { margin-top: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal.is-visible, .product-shot-secondary.reveal, .product-shot-secondary.reveal.is-visible, .clinic-shot.reveal, .clinic-shot.reveal.is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bone); backdrop-filter: none; }
}
