/* Revision 12: one typographic scale, controls and spacing rhythm. */
#main :is(#advantages,#mechanism,#results) {
  --blue:#174df5; --blue-dark:#1038c1; --navy:#111c39;
  --muted:#52617b; --stroke:#d6deee; --soft:#eef3ff; --button-radius:4px;
}
#main section.section { padding-block:80px; }
#main section.section h2 {
  font-size:clamp(36px,4.35vw,60px); line-height:1.12;
  font-weight:700; letter-spacing:-.035em; text-transform:none; text-wrap:balance;
}
#main section.section h2 .blue { color:#174df5; }
#main #about h2 { max-width:10ch; }
#main #advantages .compare-copy h2 { max-width:23ch; }
#main #mechanism h2 { max-width:28ch; margin-inline:auto; }
#main #results h2 { max-width:24ch; }
#main #kit .intro { margin-bottom:0; }
#main #kit .kit-grid { margin-top:36px; }
#main #advantages .receptor-evolution { margin-block:32px 36px; }
#main #about .signal-network { margin-top:48px; }
#main #pain .pain-heading .lead { margin-top:24px; }
#main #pain .pain-layout { margin-top:32px; }
#main .btn, #floating .btn, #backdrop .btn {
  border-radius:4px; min-height:56px; padding:15px 24px;
  font-size:15px; line-height:1.5; font-weight:700;
  background:#174df5; color:white; border:1px solid transparent;
  box-shadow:none;
}
#main .btn:hover, #floating .btn:hover, #backdrop .btn:hover { background:#1038c1; box-shadow:none; }
#main .btn.secondary, #backdrop .btn.secondary { background:transparent; color:#1038c1; border-color:#a9b9ca; }
#main .btn.secondary:hover, #backdrop .btn.secondary:hover { background:#eef3ff; }
.site-header .btn { border-radius:4px; }
:where(a,button,summary,[tabindex]):focus-visible { outline:3px solid #729bff; outline-offset:4px; }
::selection { color:#fff; background:#174df5; }
input,select { caret-color:#174df5; }

/* Compact product poster. Original photograph remains unmodified. */
#hero { padding-top:24px; }
#hero .hero-title .first { font-size:clamp(64px,7.5vw,104px); margin-bottom:10px; }
#hero .hero-title { font-size:23px; }
#hero .hero-visual.product-stage { height:220px; margin:28px 0 54px; }
#hero .hero-sub { font-size:18px; line-height:1.5; max-width:45ch; }
#hero .hero-desc { font-size:14px; margin-top:8px; }
#hero .hero-commerce .btn { min-width:300px; justify-content:space-between; }
#hero .hero-benefits { margin-top:24px; padding-top:20px; }
#hero .facts { margin-top:20px; padding-block:20px; }
#hero .pen-reveal { position:relative; width:min(1080px,96%); flex-shrink:0; transform:rotate(-5deg); }
#hero .product-stage .pen-reveal img { display:block; width:100%; max-width:100%; transform:none; animation:none; }
#hero .pen-reveal::after {
  content:''; position:absolute; inset:28% 24% 21% 27%; pointer-events:none;
  border-radius:12px; opacity:0;
  background:linear-gradient(108deg,transparent 38%,rgba(255,255,255,.45) 49%,transparent 60%);
  background-size:300% 100%; background-position:100% 0;
}
@media (prefers-reduced-motion:no-preference) {
  #hero .product-stage::before { animation:surface-reveal 850ms cubic-bezier(.16,1,.3,1) both; }
  #hero .product-stage::after { animation:surface-reveal 950ms cubic-bezier(.16,1,.3,1) both; }
  #hero .pen-reveal { animation:pen-reveal 900ms cubic-bezier(.16,1,.3,1) both; }
  #hero .pen-reveal::after { animation:label-light 850ms ease-in-out 350ms both; }
}
@keyframes surface-reveal { from { clip-path:inset(0 18% 0 0); } to { clip-path:inset(0); } }
@keyframes pen-reveal { from { opacity:.75; transform:translateX(32px) rotate(-5deg); } to { opacity:1; transform:translateX(0) rotate(-5deg); } }
@keyframes label-light { 0% { opacity:0; background-position:100% 0; } 25% { opacity:1; } 75% { opacity:1; } 100% { opacity:0; background-position:0% 0; } }

/* Real horizontal navigation, with the criterion always in view. */
#main #advantages .table-scroll { scrollbar-color:#8298c6 #eef3ff; scrollbar-width:thin; border-radius:4px; }
#main #advantages .compare-table { font-variant-numeric:tabular-nums; }
.comparison-navigation { display:none; }
#main #advantages .scroll-hint { margin:0; }
@media (max-width:1020px) and (min-width:761px) {
  #hero .hero-visual.product-stage { height:190px; margin-bottom:44px; }
  #hero .hero-commerce .btn { min-width:250px; padding-inline:18px; font-size:14px; }
}
@media (max-width:760px) {
  #main section.section { padding-block:56px; }
  #main section.section h2 { font-size:clamp(30px,8.2vw,40px); line-height:1.13; letter-spacing:-.035em; }
  #main #advantages .compare-copy h2 { max-width:none; }
  #main #mechanism h2 { max-width:25ch; }
  #main #kit .kit-grid { margin-top:28px; }
  #main #about .signal-network { margin-top:32px; }
  #main #advantages .receptor-evolution { margin:4px 0 0; }
  #main .btn,#backdrop .btn { min-height:54px; font-size:14px; padding:14px 18px; }
  #hero { padding-top:22px; }
  #hero .hero-title .first { font-size:10.3vw; margin-bottom:12px; }
  #hero .hero-title span:not(.first) { font-size:21px; }
  #hero .hero-visual.product-stage { height:108px; margin:26px 0 30px; }
  #hero .pen-reveal { width:108%; }
  #hero .hero-sub { font-size:16px; line-height:1.5; max-width:35ch; }
  #hero .hero-desc { font-size:13px; margin-top:8px; }
  #hero .hero-commerce { margin-top:18px; }
  #hero .hero-commerce .btn { min-width:0; width:100%; }
  #hero .hero-benefits { margin-top:22px; padding-top:18px; }
  #hero .facts { margin-top:18px; padding-block:18px; }
  #main #advantages .comparison-detail .table-scroll { margin-top:12px; }
  #main #advantages .compare-table { table-layout:fixed; border-collapse:separate; border-spacing:0; min-width:690px; width:690px; font-size:14px; }
  #main #advantages .compare-table th, #main #advantages .compare-table td { padding:16px 12px; }
  #main #advantages .compare-table thead th { font-size:14px; }
  #main #advantages .compare-table th:first-child {
    position:sticky; left:0; z-index:2; width:140px;
    background:#f5f7fc; color:#111c39; font-size:13px; line-height:1.5;
    border-right:1px solid #bdc9e1; box-shadow:5px 0 8px -7px #111c3966;
  }
  #main #advantages .compare-table thead th:first-child { z-index:3; background:#e9effa; }
  #main #advantages .compare-table td[colspan] { font-weight:400; }
  #main #advantages .comparison-navigation { display:flex; align-items:center; gap:10px; margin:12px 0 0; }
  #main #advantages .scroll-hint { flex:1; font-size:12px; line-height:1.5; color:#52617b; }
  .comparison-arrows { display:flex; gap:6px; flex-shrink:0; }
  .comparison-arrows button { width:44px; height:44px; display:grid; place-items:center; background:#eef3ff; color:#174df5; border:1px solid #bdc9e1; border-radius:4px; }
  .comparison-arrows button:disabled { opacity:.35; cursor:default; }
  .comparison-arrows .icon { width:20px; height:20px; }
  .comparison-arrows [data-table-back] .icon { transform:rotate(180deg); }
}
@media (prefers-reduced-motion:reduce) {
  #hero .pen-reveal,#hero .pen-reveal::after,#hero .product-stage::before,#hero .product-stage::after { animation:none; }
}
/* Clearance for the diagonal band and narrow-screen intrinsic sizing. */
#hero .hero-visual.product-stage { margin-bottom:82px; }
#main #advantages .compare-copy h2 { font-size:clamp(36px,4.35vw,60px); }
@media (max-width:1020px) and (min-width:761px) {
  #hero .hero-visual.product-stage { margin-bottom:64px; }
}
@media (max-width:760px) {
  #hero .hero-visual.product-stage { margin-bottom:48px; }
  #main #advantages .compare-copy h2 { font-size:clamp(30px,8.2vw,40px); }
  #social .review-placeholder { width:100%; min-width:0; }
  #main #mechanism .tech-stat > span { min-width:0; overflow-wrap:anywhere; }
}
@media (max-width:370px) {
  .site-header .header-inner { gap:5px; }
  .site-header .logo { width:90px; flex-basis:90px; }
  .site-header .nav-cta { padding-inline:6px; max-width:112px; }
  .site-header .header-tg { width:26px; }
  .site-header .menu-toggle { width:28px; }
}
@media (max-width:370px) {
  #main #kit .kit-parts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 12px; }
  #main #kit .kit-part { grid-column:auto; min-width:0; }
  #main #kit .kit-part h3 { font-size:13px; }
  #main #kit .kit-part p { font-size:12px; }
  #main #laboratory .lab-highlight strong { font-size:62px; }
}
