:root {
  --ink: #080a0f;
  --ink-2: #11151c;
  --ink-3: #171c25;
  --paper: #f3f0e8;
  --paper-2: #ebe7dd;
  --white: #f7f8fb;
  --text: #11151c;
  --muted: #969da8;
  --muted-dark: #5f6670;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(17, 21, 28, 0.15);
  --blue: #3e73d5;
  --orange: #dd8734;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) - 1px);
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
blockquote,
figure {
  margin-top: 0;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 3px solid #8ab2ff;
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(96px, 11vw, 160px) 0;
  overflow: clip;
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-light {
  background: var(--paper);
  color: var(--text);
}

.section-heading {
  max-width: 900px;
}

.section-heading h2,
.faq-intro h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 620;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--accent, var(--blue));
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 52px;
  height: 1px;
  background: currentColor;
}

.lead {
  font-size: clamp(1.28rem, 2.1vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.42;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 720;
  letter-spacing: -0.01em;
  transition: transform 180ms var(--ease), background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: scale(0.97);
}

.button-primary,
.button-buy {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 32px rgba(62, 115, 213, 0.25);
}

.button-primary:hover,
.button-buy:hover {
  background: #4a80df;
  box-shadow: 0 15px 40px rgba(62, 115, 213, 0.34);
}

.button-outline {
  border-color: currentColor;
  background: transparent;
}

.button-outline:hover {
  background: var(--text);
  color: var(--paper);
}

.button-small {
  min-height: 42px;
  padding-inline: 20px;
  font-size: 0.9rem;
}

.button-full {
  width: 100%;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 1px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 650;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 250ms var(--ease);
}

.text-link:hover::after {
  transform: scaleX(1);
}

/* Shared header */
.site-header {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background-color 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 15, 0.82);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 12px 12px 16px 16px;
  background: linear-gradient(145deg, rgba(62, 115, 213, 0.28), rgba(62, 115, 213, 0.05));
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  clip-path: polygon(10% 0, 90% 0, 100% 78%, 50% 100%, 0 78%);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-copy strong {
  font-weight: 800;
}

.brand-copy span {
  color: #96b8ff;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
}

.brand-copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  position: relative;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.83rem;
  font-weight: 620;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transition: transform 200ms var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: #fff;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.language-switcher a,
.language-switcher span {
  display: grid;
  min-width: 30px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
}

.language-switcher a {
  color: rgba(255, 255, 255, 0.58);
  transition: color 180ms ease, background-color 180ms ease;
}

.language-switcher a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.language-switcher [aria-current="page"] {
  background: rgba(150, 184, 255, 0.18);
  color: #cbdcff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  width: 17px;
  height: 1px;
  background: #fff;
  transition: transform 220ms var(--ease);
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  min-height: 100svh;
  padding: calc(var(--header-height) + 44px) 24px 44px;
  background: rgba(8, 10, 15, 0.98);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav {
  display: grid;
  width: min(100%, 520px);
  margin: 0 auto;
}

.mobile-menu a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: clamp(1.7rem, 7vw, 2.5rem);
  font-weight: 580;
  letter-spacing: -0.04em;
}

.mobile-menu a span {
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 760;
  letter-spacing: 0.12em;
}

/* Storefront hero foundation */
.hero {
  --accent: var(--blue);
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: calc(var(--header-height) + 78px) 0 34px;
  background: var(--ink);
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: calc(100svh - var(--header-height) - 150px);
  align-items: center;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.77fr);
  gap: clamp(50px, 8vw, 112px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding-bottom: 20px;
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 16px;
  font-size: clamp(3.9rem, 8vw, 8.2rem);
  font-weight: 590;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.hero-kicker {
  margin-bottom: 36px;
  color: #96b8ff;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0 0 34px;
}

.hero-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.product-frame {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  box-shadow: none;
}

.product-frame::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 15, 0.98), transparent 78%);
  content: "";
  pointer-events: none;
}

.product-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-footer-line {
  width: 55px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* Live formula controls */
.use-heading,
.shop-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(48px, 9vw, 128px);
}

.use-heading > p,
.shop-heading > p {
  margin-bottom: 6px;
  color: var(--muted-dark);
  font-size: 1.08rem;
}

.formula-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(54px, 7vw, 86px);
  padding: 18px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.32);
}

.segmented-control {
  display: grid;
  padding: 4px;
  border-radius: 13px;
  background: rgba(17, 21, 28, 0.08);
  grid-template-columns: repeat(2, 1fr);
}

.segmented-control button {
  min-width: 150px;
  padding: 11px 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted-dark);
  cursor: pointer;
  text-align: left;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 150ms ease;
}

.segmented-control button:active {
  transform: scale(0.98);
}

.segmented-control button span,
.segmented-control button small {
  display: block;
}

.segmented-control button span {
  color: inherit;
  font-weight: 750;
}

.segmented-control button small {
  opacity: 0.7;
  font-size: 0.68rem;
}

.segmented-control button[aria-pressed="true"] {
  background: var(--paper);
  box-shadow: 0 5px 18px rgba(17, 21, 28, 0.1);
  color: var(--text);
}

.formula-status {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.86rem;
  text-align: right;
}

/* Live usage controls */
.use-heading > p {
  color: rgba(255, 255, 255, 0.62);
}

.schedule {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--ink-2);
}

.schedule-tabs {
  display: grid;
  padding: 8px;
  border-bottom: 1px solid var(--line-dark);
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.schedule-tabs button {
  min-height: 52px;
  padding: 8px 14px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease, transform 150ms ease;
}

.schedule-tabs button:active {
  transform: scale(0.98);
}

.schedule-tabs button[aria-selected="true"] {
  background: var(--orange);
  color: #fff;
}

.schedule-panel {
  min-height: 270px;
  padding: clamp(28px, 5vw, 58px);
}

.schedule-panel[hidden] {
  display: none;
}

.schedule-panel > p {
  max-width: 680px;
  margin: 40px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.86rem;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.timeline-track {
  position: absolute;
  top: 29px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(to right, var(--orange), rgba(255, 255, 255, 0.18));
}

.timeline-point {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.45);
}

.timeline-point::before {
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: var(--ink-2);
  box-shadow: inset 0 0 0 8px var(--ink-2);
  content: "";
}

.timeline-point.is-dose::before {
  border-color: var(--orange);
  background: var(--orange);
}

.timeline-point.is-triple::before {
  box-shadow: inset 0 0 0 6px var(--ink-2), inset 0 0 0 12px var(--orange);
}

.timeline-point span {
  color: #fff;
  font-size: 0.84rem;
  font-weight: 750;
}

.timeline-point small {
  margin-top: 3px;
  font-size: 0.66rem;
}

.flexible-visual {
  display: grid;
  align-items: center;
  grid-template-columns: auto auto auto 1fr auto auto;
  gap: 15px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.flexible-visual strong {
  color: var(--orange);
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  font-weight: 620;
  letter-spacing: -0.07em;
}

.flexible-visual i {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.limit-grid {
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.limit-grid article {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  border: 1px solid rgba(221, 135, 52, 0.32);
  border-radius: var(--radius);
  background: rgba(221, 135, 52, 0.06);
}

.limit-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(221, 135, 52, 0.5);
  border-radius: 50%;
  color: #f2a864;
  font-size: 0.66rem;
  font-weight: 800;
}

.limit-grid strong {
  display: block;
  font-size: 1.05rem;
}

.limit-grid p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.83rem;
}

.safety-note {
  display: grid;
  margin-top: 68px;
  padding-top: 32px;
  border-top: 1px solid var(--line-dark);
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 50px;
}

.safety-note > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.safety-note > div p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

/* Live shop cards */
.pack-grid {
  display: grid;
  margin-top: clamp(58px, 8vw, 96px);
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pack-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.33);
  transition: transform 230ms var(--ease), border-color 230ms ease, box-shadow 230ms ease;
}

.pack-card:hover {
  border-color: rgba(62, 115, 213, 0.45);
  box-shadow: 0 22px 55px rgba(17, 21, 28, 0.1);
  transform: translateY(-5px);
}

.pack-card.is-featured {
  border-color: var(--blue);
  background: #e8edf7;
}

.popular-tag {
  position: absolute;
  top: -13px;
  left: 20px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pack-top {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  margin-bottom: 54px;
}

.pack-top span {
  color: var(--blue);
  font-size: clamp(3.1rem, 5vw, 5rem);
  font-weight: 620;
  letter-spacing: -0.075em;
  line-height: 0.8;
}

.pack-top small {
  color: var(--muted-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pack-card h3 {
  margin-bottom: 24px;
  font-size: 1.1rem;
  letter-spacing: -0.025em;
}

.pack-price {
  display: flex;
  flex-direction: column;
  margin: auto 0 14px;
}

.pack-price strong {
  font-size: 1.75rem;
  letter-spacing: -0.045em;
}

.pack-price span {
  color: var(--muted-dark);
  font-size: 0.72rem;
}

.pack-card .button {
  width: 100%;
}

.pack-promise {
  margin-bottom: 20px;
  color: #315dba;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.shop-note {
  margin: 24px 0 0;
  color: var(--muted-dark);
  font-size: 0.72rem;
  text-align: center;
}

/* Compact promise disclosure */
.promise-terms {
  margin-top: 24px;
}

.promise-terms summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 4px 0;
  color: #fff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 760;
  list-style: none;
}

.promise-terms summary::-webkit-details-marker {
  display: none;
}

.promise-terms summary i {
  color: #e2bd53;
  font-size: 1.35rem;
  font-style: normal;
  transition: transform 220ms var(--ease);
}

.promise-terms[open] summary i {
  transform: rotate(45deg);
}

.promise-terms > div {
  padding-top: 13px;
}

.promise-terms ul {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.7rem;
}

.promise-terms li + li {
  margin-top: 8px;
}

/* FAQ */
.faq-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(60px, 10vw, 145px);
}

.faq-intro {
  position: sticky;
  top: 130px;
}

.faq-intro h2 {
  margin-bottom: 30px;
  font-size: clamp(3.2rem, 6vw, 6rem);
}

.faq-intro > p:last-child {
  max-width: 330px;
  color: rgba(255, 255, 255, 0.57);
}

.faq-list {
  border-top: 1px solid var(--line-dark);
}

.faq-list details {
  border-bottom: 1px solid var(--line-dark);
}

.faq-list summary {
  display: grid;
  align-items: center;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  grid-template-columns: 1fr 28px;
  gap: 20px;
  font-size: clamp(1.02rem, 1.7vw, 1.3rem);
  font-weight: 620;
  letter-spacing: -0.025em;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary i {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.faq-list summary i::before,
.faq-list summary i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: #fff;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 220ms var(--ease);
}

.faq-list summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary {
  color: #c6d0de;
}

.faq-list details[open] summary i::after {
  transform: translate(-50%, -50%);
}

.faq-answer {
  max-width: 690px;
  padding: 0 48px 30px 0;
  color: rgba(255, 255, 255, 0.6);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: #d5b65e;
  text-decoration: underline;
  text-decoration-color: rgba(213, 182, 94, 0.45);
  text-underline-offset: 3px;
}

/* Shared footer */
.site-footer {
  padding: 72px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #05070b;
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 0.6fr 1fr;
  gap: clamp(40px, 8vw, 110px);
}

.brand-footer {
  margin-bottom: 24px;
}

.footer-top > div:first-child > p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.83rem;
}

.footer-top nav,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-top nav > p,
.footer-legal > p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-top nav a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.83rem;
}

.footer-top nav a:hover {
  color: #fff;
}

.footer-legal span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.75rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 66px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Purchase drawer */
.buy-drawer {
  width: min(510px, 100%);
  max-width: none;
  max-height: none;
  height: 100%;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  transform: translateX(102%);
  transition: transform 330ms var(--ease), display 330ms allow-discrete, overlay 330ms allow-discrete;
}

.buy-drawer[open] {
  transform: translateX(0);
}

@starting-style {
  .buy-drawer[open] {
    transform: translateX(102%);
  }
}

.buy-drawer::backdrop {
  background: rgba(2, 4, 8, 0.72);
  backdrop-filter: blur(8px);
}

.drawer-shell {
  min-height: 100%;
  padding: 34px;
  overflow-y: auto;
  background: var(--paper);
  box-shadow: -20px 0 80px rgba(0, 0, 0, 0.3);
}

.drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.drawer-header .eyebrow {
  margin-bottom: 12px;
  color: var(--blue);
}

.drawer-header h2 {
  margin-bottom: 32px;
  font-size: 2.35rem;
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 1;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.drawer-form fieldset {
  display: grid;
  padding: 0;
  border: 0;
  gap: 10px;
}

.drawer-option {
  position: relative;
  display: grid;
  align-items: center;
  padding: 17px;
  border: 1px solid var(--line-light);
  border-radius: 13px;
  cursor: pointer;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  transition: background-color 180ms ease, border-color 180ms ease, transform 150ms ease;
}

.drawer-option:active {
  transform: scale(0.99);
}

.drawer-option:has(input:checked) {
  border-color: var(--blue);
  background: rgba(62, 115, 213, 0.08);
}

.drawer-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
}

.drawer-option span {
  display: flex;
  flex-direction: column;
}

.drawer-option strong,
.drawer-option b {
  font-size: 0.9rem;
}

.drawer-option small {
  color: var(--muted-dark);
  font-size: 0.68rem;
}

.drawer-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding: 20px 0;
  border-top: 1px solid var(--line-light);
  font-size: 0.9rem;
}

.drawer-summary strong {
  font-size: 1.3rem;
}

.checkout-message {
  margin: 14px 0 0;
  padding: 12px;
  border-radius: 10px;
  background: rgba(62, 115, 213, 0.1);
  color: #315dba;
  font-size: 0.73rem;
}

.drawer-footnote {
  margin: 13px 0 0;
  color: var(--muted-dark);
  font-size: 0.66rem;
  text-align: center;
}

.mobile-buy-bar {
  display: none;
}

/* Motion */
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease) var(--delay, 0ms), transform 700ms var(--ease) var(--delay, 0ms);
}

.reveal-delay-100 {
  --delay: 100ms;
}

.reveal-delay-120 {
  --delay: 120ms;
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
    gap: 50px;
  }

  .hero h1 {
    font-size: clamp(3.9rem, 7.8vw, 6.4rem);
  }

  .pack-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pack-card {
    min-height: 365px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 72px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    width: min(100%, 560px);
    margin: 20px auto 30px;
  }

  .product-frame {
    width: min(85%, 430px);
  }

  .use-heading,
  .faq-grid,
  .shop-heading {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .formula-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .formula-status {
    text-align: left;
  }

  .faq-intro {
    position: static;
  }

  .safety-note {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-legal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 77px;
  }

  .shell {
    width: min(100% - 32px, 1180px);
  }

  .section {
    padding: 88px 0;
  }

  .header-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand-copy {
    font-size: 0.76rem;
  }

  .header-actions > .button-buy {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: var(--header-height) 0 48px;
  }

  .hero-grid {
    display: block;
    min-height: 0;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 16vw, 5.5rem);
    line-height: 0.89;
  }

  .hero-kicker {
    font-size: 1.2rem;
  }

  .hero-actions {
    display: none;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(300px, 82vw, 350px);
    margin: 0 0 30px;
  }

  .hero-copy {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 0;
  }

  .product-frame {
    width: 100%;
    height: 100%;
  }

  .product-frame img {
    object-position: 72% 50%;
  }

  .hero-footer {
    display: none;
  }

  .section-heading h2,
  .faq-intro h2 {
    font-size: clamp(2.85rem, 14vw, 4.4rem);
  }

  .formula-tools {
    margin-top: 45px;
    padding: 11px;
  }

  .segmented-control {
    width: 100%;
  }

  .segmented-control button {
    min-width: 0;
    padding: 11px 9px;
    text-align: center;
  }

  .segmented-control button span {
    font-size: 0.75rem;
  }

  .segmented-control button small {
    font-size: 0.56rem;
  }

  .limit-grid,
  .pack-grid,
  .safety-note > div {
    grid-template-columns: 1fr;
  }

  .schedule-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .schedule-panel {
    min-height: 285px;
    padding: 30px 18px;
  }

  .timeline-track {
    right: 12%;
    left: 12%;
  }

  .timeline-point::before {
    width: 44px;
    height: 44px;
  }

  .timeline-point span {
    font-size: 0.66rem;
  }

  .timeline-point small {
    font-size: 0.55rem;
  }

  .flexible-visual {
    grid-template-columns: auto 1fr;
    gap: 6px 12px;
  }

  .flexible-visual > span:first-child {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }

  .flexible-visual i {
    display: none;
  }

  .flexible-visual strong {
    font-size: 3.3rem;
  }

  .pack-card {
    min-height: 330px;
  }

  .faq-answer {
    padding-right: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .buy-drawer {
    width: 100%;
    height: min(88svh, 760px);
    margin: auto 0 0;
    transform: translateY(102%);
  }

  .buy-drawer[open] {
    transform: translateY(0);
  }

  @starting-style {
    .buy-drawer[open] {
      transform: translateY(102%);
    }
  }

  .drawer-shell {
    padding: 24px 18px 32px;
    border-radius: 22px 22px 0 0;
  }

  .drawer-header h2 {
    font-size: 1.9rem;
  }

  .mobile-buy-bar {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 77px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(8, 10, 15, 0.91);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .mobile-buy-bar > div {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }

  .mobile-buy-bar > div span {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-buy-bar > div strong {
    font-size: 1.2rem;
  }

  .mobile-buy-bar .button {
    min-height: 48px;
    padding-inline: 18px;
    font-size: 0.78rem;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 3.2rem;
  }

  .segmented-control button small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
