/* Mobile funnel: keep the offer easy to find while the story scrolls. */
.restored-header .nav-inner {
  position: relative;
  justify-content: flex-end;
  min-height: 58px;
}
.restored-header .nav-inner .wordmark {
  position: absolute;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.restored-header .countdown-heading > small { white-space: nowrap; }
.hero .hero-signature {
  max-width: 100%;
  width: 100%;
  margin: 14px auto !important;
  font-weight: 600 !important;
  text-align: center;
  text-wrap: balance;
}
.hero .cover-trust {
  position: absolute;
  z-index: 3;
  inset-inline-start: 73%;
  top: 62%;
  transform: translate(-50%, -50%);
  margin: 0;
  max-width: min(240px, 84vw);
  background: #fffffff2;
  border: 1px solid #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px #0003;
}
.hero .cover-trust .trust-brand { width: 82px; }
.hero .cover-trust .trust-stars { width: 88px; }
.stats .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.stats .stat {
  display: grid;
  grid-template-rows: 29px auto 1fr;
  justify-items: center;
  align-items: start;
  min-width: 0;
  text-align: center;
  padding-inline: 8px;
}
.stats .stat svg { width: 26px; height: 26px; margin: 0; }
.stats .stat b { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.stats .stat span { max-width: 100%; }
.reset-section { padding: clamp(42px, 8vw, 88px) 0; }
.reset-section > .wrap { max-width: 1060px; }
.reset-section .h2 { margin-block: 8px 14px; }
.reset-section-lead { max-width: 600px; line-height: 1.55; margin: 0 0 24px; color: #50594e; }
.reset-journey, .reset-timeline { background: #f5f3ec; }
.reset-steps {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.reset-steps li, .compare-pair article {
  background: #fffef9;
  border: 1px solid #d8ddd1;
  border-radius: 18px;
  padding: clamp(16px, 3vw, 28px);
}
.reset-steps li > span { color: #355c4b; font-size: 12px; font-weight: 700; }
.reset-steps h3, .compare-pair h3 { font-size: clamp(18px, 3vw, 24px); margin: 10px 0 8px; line-height: 1.16; }
.reset-steps p, .compare-pair ul { margin: 0; line-height: 1.5; color: #454d43; }
.reset-compare { background: #e9ede4; }
.compare-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.compare-pair article:first-child { background: #fff; border-color: #a7b8a9; }
.compare-pair ul { padding-left: 1.1em; }
.compare-pair li + li { margin-top: 8px; }
.written-proof { background: #fff; }
.reset-text-cta { display: inline-block; font-weight: 650; text-decoration: underline; text-underline-offset: .2em; margin-top: 18px; }
.hero .glass-btn, .reset-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid #ffffff9c;
  border-radius: 999px;
  background: linear-gradient(180deg,#657d70 0%,#324e43 47%,#284539 68%,#688075 100%);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  box-shadow: inset 0 2px 8px #ffffff5e,inset 0 -2px 6px #ffffff45,0 5px 18px #17342830;
  text-shadow: 0 1px 2px #152c24;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.hero .glass-btn { background: linear-gradient(180deg,#ffffff54,#212a2466 55%,#ffffff47); }
.hero .glass-btn:active, .reset-glass:active { transform: scale(.98); }
.reset-glass:focus-visible { outline: 3px solid #d59b0d; outline-offset: 3px; }
.phone-buy-dock { display: none; }
.science-panel .science-link { font-size: 17px !important; box-shadow: 0 6px 16px #1734282e; }
.founder-photo img { object-position: 50% 35% !important; }

@media (min-width: 1024px) {
  .restored-header .nav-inner {
    display: grid;
    grid-template-columns: auto auto auto minmax(150px, 1fr) auto auto auto;
    gap: 18px;
  }
  .restored-header .nav-links { display: contents; }
  .restored-header .nav-inner .wordmark {
    position: static;
    grid-column: 4;
    grid-row: 1;
    justify-self: center;
    transform: none;
  }
}
@media (max-width: 767px) {
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .restored-header .nav-inner { padding-inline: 16px; }
  .restored-header .nav-links { display: none; }
  .restored-header .menu-toggle { margin-left: auto; }
  .hero {
    --photo-height: clamp(330px, 101vw, 430px);
    min-height: 0 !important;
    height: auto !important;
    background: #181b18;
  }
  .hero picture { height: var(--photo-height); }
  .hero .hero-img { object-position: 50% 25% !important; }
  .hero::after {
    height: var(--photo-height);
    background: linear-gradient(180deg, transparent 38%, #181b1840 73%, #181b18 100%);
    pointer-events: none;
  }
  .hero .hero-inner {
    padding: calc(var(--photo-height) - 15px) 20px 30px !important;
    max-width: 540px;
    margin-inline: auto;
    text-align: center;
  }
  .hero .cover-trust { top: calc(var(--photo-height) * .67); inset-inline-start: 54%; }
  .hero .hero-signature { font-size: clamp(22px, 5.4vw, 30px) !important; }
  .hero .sub { margin-inline: auto; }
  .stats .stat b { font-size: clamp(11px, 3.4vw, 16px) !important; }
  .stats .stat span { font-size: clamp(10px, 2.8vw, 12px); }
  .reset-steps { grid-template-columns: minmax(0, 1fr); }
  .compare-pair { gap: 8px; }
  .compare-pair article { padding: 14px 11px; min-width: 0; }
  .compare-pair h3 { font-size: clamp(16px, 4.1vw, 20px); }
  .compare-pair ul { font-size: 13px; }
  .compare-pair .eyebrow { font-size: 9px; }
  .phone-buy-dock {
    position: fixed;
    z-index: 105;
    inset: auto 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: #f7f6eff2;
    border-top: 1px solid #d8ded3;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 -4px 22px #1a302314;
  }
  .phone-buy-dock > div { display: grid; gap: 3px; min-width: 0; font-size: 12px; line-height: 1.2; }
  .phone-buy-dock > div span { font-size: 11px; color: #3b4a40; }
  .phone-buy-dock .reset-glass { min-height: 46px; padding: 10px 17px; font-size: 14px; white-space: nowrap; }
  .chat-toggle { bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important; }
  .chat-panel { bottom: calc(136px + env(safe-area-inset-bottom, 0px)) !important; max-height: calc(100dvh - 160px); }
}
@media (prefers-reduced-motion: reduce) {
  .reset-glass:active, .hero .glass-btn:active { transform: none; }
}
