/* APGO US Amazon referral prototype — visual lane */

:root {
  color-scheme: dark light;
  --apgo-orange: #f08417;
  --apgo-orange-bright: #ff9a31;
  --apgo-orange-dark: #a64b00;
  --apgo-orange-soft: #fdf0e3;
  --d204-pink: #e99495;
  --d204-pink-soft: #fcf2f2;
  --d204-pink-dark: #875658;
  --d215-green: #72b636;
  --d215-green-soft: #eef6e7;
  --d215-green-dark: #4c7a27;
  --ink: #080a0c;
  --ink-raised: #101318;
  --carbon: #15191f;
  --dark-border: #2b3038;
  --white: #fff;
  --warm-white: #fbf8f4;
  --warm-raised: #f5f0e9;
  --light-border: #e3ddd5;
  --text-dark: #171717;
  --muted-dark: #68635e;
  --text-light: #f8f6f2;
  --muted-light: #a8afb8;
  --display: "SFMono-Regular", "SF Mono", "Roboto Mono", "IBM Plex Mono", Consolas, monospace;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: 1248px;
  --gutter: 24px;
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 8px;
  --header-height: 80px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --motion-fast: 180ms;
  --motion: 240ms;
  --shadow-card: 0 26px 75px rgba(37, 25, 11, .11);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--ink);
  color: var(--text-dark);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.04em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.5rem, 5vw, 4.65rem);
  line-height: .98;
}

h2 {
  font-size: clamp(2.4rem, 3.4vw, 3.25rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.65rem;
  line-height: 1.17;
}

::selection {
  background: var(--apgo-orange);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--apgo-orange-bright);
  outline-offset: 4px;
}

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

.section-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--ink);
  color: var(--text-light);
}

.section-dark::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  pointer-events: none;
}

.section-light {
  position: relative;
  background: var(--warm-white);
  color: var(--text-dark);
}

.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: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-180%);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  transition: transform var(--motion-fast) var(--ease);
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--muted-light);
  font-family: var(--display);
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .21);
  border-radius: 50%;
  color: var(--apgo-orange);
  font-size: .62rem;
  letter-spacing: 0;
}

.eyebrow--dark {
  color: var(--muted-dark);
}

.eyebrow--dark span {
  border-color: rgba(23, 23, 23, .2);
  color: var(--apgo-orange-dark);
}

.micro-label {
  margin-bottom: 8px;
  color: var(--muted-dark);
  font-family: var(--display);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-heading h2 {
  margin-bottom: 22px;
}

.section-heading > p:last-child {
  max-width: 650px;
  color: var(--muted-light);
  font-size: 1.09rem;
  line-height: 1.65;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-light .section-heading > p:last-child {
  margin-inline: auto;
  color: var(--muted-dark);
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 15px 22px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--apgo-orange);
  box-shadow: 0 10px 34px rgba(240, 132, 23, .2);
  color: var(--ink);
  cursor: pointer;
  font-size: .93rem;
  font-weight: 800;
  line-height: 1;
  transition:
    transform var(--motion-fast) var(--ease),
    background-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--apgo-orange-bright);
  box-shadow: 0 14px 38px rgba(240, 132, 23, .28);
}

.button:hover .button__arrow {
  transform: translate(2px, -2px);
}

.button[aria-disabled="true"] {
  cursor: default;
}

.button[aria-disabled="true"]:hover {
  transform: none;
}

.button__arrow {
  font-size: 1.04rem;
  transition: transform var(--motion-fast) var(--ease);
}

.button--small {
  min-height: 46px;
  padding: 12px 18px;
  font-size: .82rem;
}

.button--dark {
  background: var(--ink);
  box-shadow: 0 10px 30px rgba(8, 10, 12, .14);
  color: var(--white);
}

.button--dark:hover {
  background: #252a31;
  box-shadow: 0 14px 36px rgba(8, 10, 12, .2);
}

.text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  color: var(--text-light);
  font-size: .91rem;
  font-weight: 700;
  transition: border-color var(--motion-fast) ease, color var(--motion-fast) ease;
}

.text-link:hover {
  border-color: var(--apgo-orange);
  color: var(--apgo-orange-bright);
}

.text-link--dark {
  border-color: rgba(23, 23, 23, .25);
  color: var(--text-dark);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  background: rgba(8, 10, 12, .86);
  color: var(--text-light);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header__inner {
  display: grid;
  height: 100%;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
}

.brand-mark {
  display: block;
  width: 112px;
}

.brand-mark img {
  width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.7vw, 40px);
}

.site-nav a {
  position: relative;
  padding-block: 12px;
  color: var(--muted-light);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .035em;
  transition: color var(--motion-fast) ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  background: var(--apgo-orange);
  content: "";
  transition: transform var(--motion-fast) var(--ease);
}

.site-nav a:hover {
  color: var(--white);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--white);
}

/* 01 — Hero */
.hero {
  min-height: 920px;
  padding: calc(var(--header-height) + 98px) 0 0;
  background-image:
    linear-gradient(90deg, rgba(8, 10, 12, .98) 0%, rgba(8, 10, 12, .9) 42%, rgba(8, 10, 12, .48) 100%),
    url("../assets/generated/hero-studio-bg.webp");
  background-position: center, center;
  background-size: cover, cover;
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -12%;
  bottom: 3%;
  width: 56vw;
  height: 56vw;
  max-width: 900px;
  max-height: 900px;
  border: 1px solid rgba(233, 148, 149, .14);
  border-radius: 50%;
  box-shadow:
    0 0 0 88px rgba(233, 148, 149, .025),
    0 0 0 176px rgba(233, 148, 149, .018);
  content: "";
}

.hero__ambient {
  position: absolute;
  z-index: -2;
  top: -24%;
  right: -4%;
  width: 68%;
  height: 108%;
  background:
    radial-gradient(circle at 62% 43%, rgba(233, 148, 149, .24), transparent 29%),
    radial-gradient(circle at 48% 62%, rgba(240, 132, 23, .11), transparent 35%);
  filter: blur(30px);
  opacity: .83;
}

.hero__grid {
  display: grid;
  min-height: 650px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  column-gap: var(--gutter);
}

.hero__copy {
  z-index: 2;
  grid-column: 1 / span 6;
  padding-bottom: 42px;
}

.hero h1 {
  max-width: 680px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.hero h1 em {
  display: block;
  margin-top: 8px;
  color: var(--d204-pink);
  font-style: normal;
}

.hero__lead {
  max-width: 570px;
  margin-bottom: 28px;
  color: var(--muted-light);
  font-size: 1.14rem;
  line-height: 1.65;
}

.fact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
}

.fact-chips span {
  padding: 7px 11px;
  border: 1px solid rgba(233, 148, 149, .27);
  border-radius: 999px;
  background: rgba(233, 148, 149, .06);
  color: #e8c8ca;
  font-family: var(--display);
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.hero__alternate {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--muted-light);
  font-size: .82rem;
  transition: color var(--motion-fast) ease;
}

.hero__alternate:hover {
  color: var(--d215-green);
}

.hero-product {
  position: relative;
  grid-column: 7 / -1;
  height: 650px;
  margin: 0;
}

.hero-product > img {
  position: absolute;
  z-index: 3;
  right: -2%;
  bottom: 36px;
  width: min(100%, 650px);
  filter: drop-shadow(0 46px 34px rgba(0, 0, 0, .38));
}

.hero-product__halo {
  position: absolute;
  top: 9%;
  right: 1%;
  width: 77%;
  aspect-ratio: 1;
  border: 1px solid rgba(233, 148, 149, .23);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 148, 149, .16), transparent 66%);
  box-shadow:
    inset 0 0 90px rgba(233, 148, 149, .09),
    0 0 80px rgba(233, 148, 149, .06);
}

.hero-product__index {
  position: absolute;
  z-index: 0;
  top: -2%;
  right: -8%;
  color: rgba(255, 255, 255, .027);
  font-family: var(--display);
  font-size: clamp(9rem, 18vw, 17rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.08em;
}

.hero-product figcaption {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 25px;
  display: flex;
  width: min(92%, 560px);
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(8, 10, 12, .76);
  backdrop-filter: blur(14px);
  color: var(--white);
  font-size: .75rem;
}

.hero-product figcaption span:last-child {
  color: var(--muted-light);
}

.hero-facts {
  display: grid;
  min-height: 88px;
  grid-template-columns: 1fr 1fr 1.25fr;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.hero-facts > div {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 11px;
  padding: 18px 28px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.hero-facts > div:first-child {
  padding-left: 0;
}

.hero-facts > div:last-child {
  border-right: 0;
}

.hero-facts strong {
  font-family: var(--display);
  font-size: .78rem;
  letter-spacing: .06em;
}

.hero-facts span {
  color: var(--muted-light);
  font-size: .77rem;
}

.hero-facts__key {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.d204-key { background: var(--d204-pink); }
.d215-key { background: var(--d215-green); }

.hero-facts__amazon {
  grid-template-columns: auto 1fr !important;
  justify-content: flex-end;
  text-align: right;
}

/* 02 — Routine selector */
.routine {
  padding: 112px 0 128px;
}

.routine::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--light-border);
  content: "";
}

.routine-switch {
  display: grid;
  max-width: 780px;
  margin: 0 auto 42px;
  padding: 6px;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  border: 1px solid var(--light-border);
  border-radius: 14px;
  background: var(--warm-raised);
}

.routine-option {
  position: relative;
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  transition: border-color var(--motion) ease, background var(--motion) ease, box-shadow var(--motion) ease;
}

.routine-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.routine-option__check {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 1px solid #aaa39b;
  border-radius: 50%;
  background: var(--white);
}

.routine-option__check::after {
  position: absolute;
  inset: 5px;
  transform: scale(0);
  border-radius: 50%;
  content: "";
  transition: transform var(--motion-fast) var(--ease);
}

.routine-option strong,
.routine-option small {
  display: block;
}

.routine-option strong {
  font-size: .86rem;
  line-height: 1.35;
}

.routine-option small {
  margin-top: 3px;
  color: var(--muted-dark);
  font-family: var(--display);
  font-size: .66rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.routine-option:focus-within {
  outline: 3px solid var(--apgo-orange);
  outline-offset: 3px;
}

.routine-option--d204:has(input:checked) {
  border-color: var(--d204-pink);
  background: var(--d204-pink-soft);
  box-shadow: 0 10px 30px rgba(233, 148, 149, .1);
}

.routine-option--d204:has(input:checked) .routine-option__check {
  border-color: var(--d204-pink-dark);
}

.routine-option--d204:has(input:checked) .routine-option__check::after {
  transform: scale(1);
  background: var(--d204-pink-dark);
}

.routine-option--d215:has(input:checked) {
  border-color: var(--d215-green);
  background: var(--d215-green-soft);
  box-shadow: 0 10px 30px rgba(114, 182, 54, .1);
}

.routine-option--d215:has(input:checked) .routine-option__check {
  border-color: var(--d215-green-dark);
}

.routine-option--d215:has(input:checked) .routine-option__check::after {
  transform: scale(1);
  background: var(--d215-green-dark);
}

.product-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform var(--motion) var(--ease), border-color var(--motion) ease, box-shadow var(--motion) ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
}

.product-card--d204::before { background: var(--d204-pink); }
.product-card--d215::before { background: var(--d215-green); }

body[data-selected-sku="d204"] .product-card--d204 {
  border-color: rgba(135, 86, 88, .5);
  box-shadow: 0 28px 78px rgba(117, 61, 63, .15);
}

body[data-selected-sku="d215"] .product-card--d215 {
  border-color: rgba(76, 122, 39, .5);
  box-shadow: 0 28px 78px rgba(61, 104, 28, .15);
}

.product-card__topline {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--light-border);
}

.product-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1;
  text-transform: uppercase;
}

.product-badge--d204 {
  background: var(--d204-pink-soft);
  color: var(--d204-pink-dark);
}

.product-badge--d215 {
  background: var(--d215-green-soft);
  color: var(--d215-green-dark);
}

.selected-badge {
  display: none;
  align-items: center;
  gap: 6px;
  color: var(--text-dark);
  font-family: var(--display);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.selected-badge i {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-size: .7rem;
  font-style: normal;
}

body[data-selected-sku="d204"] .product-card--d204 .selected-badge,
body[data-selected-sku="d215"] .product-card--d215 .selected-badge {
  display: inline-flex;
}

.product-card__body {
  display: grid;
  min-height: 410px;
  grid-template-columns: 43% 57%;
  align-items: center;
}

.product-card__image {
  align-self: stretch;
  display: grid;
  min-height: 360px;
  place-items: center;
  overflow: hidden;
}

.product-card--d204 .product-card__image {
  background: radial-gradient(circle at 50% 48%, rgba(233, 148, 149, .25), transparent 50%), var(--d204-pink-soft);
}

.product-card--d215 .product-card__image {
  background: radial-gradient(circle at 50% 48%, rgba(114, 182, 54, .24), transparent 50%), var(--d215-green-soft);
}

.product-card__image img {
  width: 92%;
  filter: drop-shadow(0 25px 20px rgba(28, 24, 20, .16));
  transition: transform 380ms var(--ease);
}

.product-card:hover .product-card__image img {
  transform: scale(1.025);
}

.product-card__content {
  padding: 30px 30px 30px 26px;
}

.product-card__content h3 {
  margin-bottom: 15px;
}

.product-card__content > p:not(.micro-label) {
  margin-bottom: 22px;
  color: var(--muted-dark);
  font-size: .91rem;
  line-height: 1.55;
}

.mini-specs {
  margin-bottom: 24px;
}

.mini-specs > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-top: 1px solid var(--light-border);
  font-size: .77rem;
}

.mini-specs dt {
  color: var(--muted-dark);
}

.mini-specs dd {
  font-weight: 700;
  text-align: right;
}

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

/* 03 — Comparison */
.comparison {
  padding: 120px 0 132px;
  background-color: var(--carbon);
}

.comparison__glow {
  position: absolute;
  z-index: -1;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .085;
}

.comparison__glow--pink {
  top: 6%;
  left: -14%;
  background: var(--d204-pink);
}

.comparison__glow--green {
  right: -14%;
  bottom: 3%;
  background: var(--d215-green);
}

.comparison-matrix {
  overflow: hidden;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  background: rgba(8, 10, 12, .64);
  box-shadow: 0 36px 90px rgba(0, 0, 0, .25);
}

.comparison-row {
  display: grid;
  min-height: 76px;
  grid-template-columns: 1.05fr 1fr 1fr;
  border-bottom: 1px solid var(--dark-border);
}

.comparison-row:last-child {
  border-bottom: 0;
}

.comparison-row > div {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 20px 28px;
  border-right: 1px solid var(--dark-border);
  color: #dde0e4;
  font-size: .91rem;
}

.comparison-row > div:last-child {
  border-right: 0;
}

.comparison-row--head {
  min-height: 128px;
  background: rgba(255, 255, 255, .025);
}

.comparison-product {
  position: relative;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: center;
  gap: 8px;
}

.comparison-product::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
}

.comparison-product--d204::before { background: var(--d204-pink); }
.comparison-product--d215::before { background: var(--d215-green); }

.comparison-product span {
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.comparison-product--d204 span { color: var(--d204-pink); }
.comparison-product--d215 span { color: var(--d215-green); }

.comparison-product strong {
  color: var(--white);
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.3;
}

.comparison-label {
  color: var(--muted-light) !important;
  font-size: .76rem !important;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.comparison-row--actions {
  min-height: 102px;
}

.comparison-row--actions .button {
  width: 100%;
}

/* 04 + 05 — Product spotlights */
.spotlight {
  padding: 124px 0;
}

.spotlight--d215 {
  background-color: var(--ink);
}

.spotlight__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: var(--gutter);
}

.spotlight-visual {
  position: relative;
  min-height: 620px;
  grid-column: 1 / span 7;
  overflow: hidden;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  background: var(--ink);
}

.spotlight-visual--d204 {
  background:
    radial-gradient(circle at 55% 50%, rgba(233, 148, 149, .2), transparent 40%),
    linear-gradient(145deg, rgba(22, 22, 26, .9), rgba(9, 11, 14, .74) 75%),
    url("../assets/generated/d204-context-bg.webp");
  background-position: center, center, center;
  background-size: cover, cover, cover;
}

.spotlight-visual--d215 {
  grid-column: 6 / -1;
  border-color: var(--dark-border);
  background:
    radial-gradient(circle at 55% 50%, rgba(114, 182, 54, .17), transparent 40%),
    linear-gradient(145deg, rgba(23, 27, 23, .88), rgba(9, 11, 14, .72) 75%),
    url("../assets/generated/d215-context-bg.webp");
  background-position: center, center, center;
  background-size: cover, cover, cover;
}

.spotlight-visual > img {
  position: absolute;
  z-index: 2;
  right: 3%;
  bottom: 1%;
  width: min(90%, 590px);
  filter: drop-shadow(0 36px 32px rgba(0, 0, 0, .4));
}

.spotlight-visual__label {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 24px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  background: rgba(8, 10, 12, .62);
  color: var(--text-light);
  font-family: var(--display);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.spotlight-visual__rings {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 68%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, .018),
    0 0 0 140px rgba(255, 255, 255, .012);
}

.spotlight-visual figcaption {
  position: absolute;
  z-index: 4;
  right: 26px;
  bottom: 24px;
  left: 26px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: var(--muted-light);
  font-size: .75rem;
}

.spotlight-copy {
  grid-column: 9 / -1;
}

.spotlight__grid--reverse .spotlight-copy {
  grid-column: 1 / span 4;
}

.spotlight-copy h2 {
  margin-bottom: 25px;
}

.spotlight-copy__lead {
  margin-bottom: 30px;
  color: var(--muted-dark);
  font-size: 1.04rem;
}

.spotlight--d215 .spotlight-copy__lead {
  color: var(--muted-light);
}

.spec-list {
  margin-bottom: 32px;
  border-top: 1px solid var(--light-border);
}

.spec-list > div {
  display: grid;
  min-height: 60px;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--light-border);
  font-size: .82rem;
}

.spec-list dt {
  color: var(--muted-dark);
}

.spec-list dd {
  font-weight: 700;
  text-align: right;
}

.spec-list--dark {
  border-color: var(--dark-border);
}

.spec-list--dark > div {
  border-color: var(--dark-border);
}

.spec-list--dark dt {
  color: var(--muted-light);
}

.amazon-note {
  margin-top: 13px;
  color: var(--muted-dark);
  font-size: .69rem;
}

.amazon-note--dark {
  color: var(--muted-light);
}

/* 06 — How to apply */
.how-to {
  padding: 122px 0 118px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.workflow {
  overflow: hidden;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.workflow__header {
  min-height: 194px;
  padding: 34px 36px 28px;
  border-bottom: 1px solid var(--light-border);
}

.workflow__header h3 {
  margin: 20px 0 9px;
  font-size: 1.82rem;
}

.workflow__header p {
  color: var(--muted-dark);
  font-size: .91rem;
}

.step-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  min-width: 0;
  border-right: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}

.step-list li:nth-child(even) {
  border-right: 0;
}

.step-list li:last-child {
  border-right: 0;
  border-bottom: 0;
}

.step-list--three,
.step-list--four {
  grid-template-columns: 1fr 1fr;
}

.step-list--three li:last-child {
  grid-column: 1 / -1;
}

@media (min-width: 720px) {
  .step-list--three li:last-child img {
    aspect-ratio: 2.96 / 1;
  }
}

.step-list figure {
  height: 100%;
  background: var(--warm-white);
}

.step-list img {
  width: 100%;
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
  background: var(--warm-raised);
}

.step-list figcaption {
  display: grid;
  min-height: 132px;
  padding: 18px;
  grid-template-columns: auto 1fr;
  align-content: start;
  column-gap: 11px;
}

.step-list figcaption > span {
  grid-row: 1 / span 2;
  color: var(--apgo-orange);
  font-family: var(--display);
  font-size: .64rem;
  font-weight: 700;
}

.step-list figcaption strong {
  font-size: .82rem;
  line-height: 1.3;
}

.step-list figcaption small {
  margin-top: 5px;
  color: var(--muted-dark);
  font-size: .71rem;
  line-height: 1.45;
}

.safety-note {
  display: flex;
  max-width: 760px;
  align-items: center;
  gap: 13px;
  margin: 36px auto 0;
  color: var(--muted-dark);
  font-size: .77rem;
  text-align: center;
}

.safety-note span {
  display: inline-grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  border: 1px solid #aaa39b;
  border-radius: 50%;
  font-family: var(--display);
  font-size: .67rem;
  font-style: normal;
}

/* 07 — Videos */
.videos {
  padding: 120px 0 130px;
  background-color: var(--carbon);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  background: var(--ink);
  transition: transform var(--motion) var(--ease), border-color var(--motion) ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: #454c56;
}

.video-poster {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #0c0f13;
  cursor: pointer;
}

.video-poster::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 10, 12, .62), transparent 55%);
  content: "";
}

.video-poster img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: .84;
  transition: transform 500ms var(--ease), opacity var(--motion) ease;
}

.video-poster:hover img {
  transform: scale(1.025);
  opacity: .94;
}

.play-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 68px;
  height: 68px;
  transform: translate(-50%, -50%);
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .44);
  border-radius: 50%;
  background: rgba(8, 10, 12, .64);
  backdrop-filter: blur(8px);
  transition: transform var(--motion) var(--ease), background var(--motion) ease;
}

.video-poster:hover .play-button {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--apgo-orange);
}

.play-button i {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--white);
}

.video-poster:hover .play-button i {
  border-left-color: var(--ink);
}

.video-poster__label {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 18px;
  color: var(--white);
  font-family: var(--display);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.video-mount:empty {
  display: none;
}

.video-mount video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-card__caption {
  min-height: 210px;
  padding: 28px 30px 32px;
}

.video-card__caption h3 {
  margin: 18px 0 10px;
  color: var(--white);
  font-size: 1.45rem;
}

.video-card__caption p {
  max-width: 480px;
  color: var(--muted-light);
  font-size: .88rem;
}

/* 08 — Why APGO */
.why-apgo {
  padding: 122px 0;
  overflow: hidden;
}

.why-apgo__grid {
  display: grid;
  min-height: 500px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: var(--gutter);
}

.why-apgo__copy {
  grid-column: 1 / span 5;
}

.why-apgo__copy h2 {
  margin-bottom: 26px;
}

.why-apgo__copy > p:not(.eyebrow) {
  margin-bottom: 24px;
  color: var(--muted-dark);
  font-size: 1.08rem;
}

.origin-mark {
  position: relative;
  display: grid;
  min-height: 500px;
  grid-column: 7 / -1;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--light-border);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(240, 132, 23, .13), transparent 55%),
    var(--warm-raised);
  text-align: center;
}

.origin-mark::before,
.origin-mark::after {
  position: absolute;
  border: 1px solid rgba(23, 23, 23, .08);
  border-radius: 50%;
  content: "";
}

.origin-mark::before { inset: 12%; }
.origin-mark::after { inset: 25%; }

.origin-mark img {
  position: relative;
  z-index: 2;
  width: 190px;
  align-self: end;
  margin-bottom: 2px;
  filter: brightness(0);
}

.origin-mark p {
  position: relative;
  z-index: 2;
  align-self: start;
  margin-top: 18px;
  color: var(--muted-dark);
  font-size: .78rem;
  line-height: 1.6;
}

.origin-mark__orbit {
  position: absolute;
  inset: 4%;
  border: 1px dashed rgba(240, 132, 23, .26);
  border-radius: 50%;
}

.origin-mark__orbit span {
  position: absolute;
  top: 5%;
  left: 50%;
  width: 70%;
  transform: translateX(-50%);
  color: var(--apgo-orange);
  font-family: var(--display);
  font-size: .6rem;
  letter-spacing: .12em;
  text-align: center;
}

/* 09 — FAQ */
.faq {
  padding: 122px 0 132px;
  background-color: var(--ink);
}

.faq__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}

.faq__intro {
  position: sticky;
  top: 126px;
  align-self: start;
  grid-column: 1 / span 4;
}

.faq__intro h2 {
  margin-bottom: 25px;
}

.faq__intro > p:not(.eyebrow):not(.support-line) {
  color: var(--muted-light);
  font-size: .98rem;
}

.support-line {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--dark-border);
}

.support-line span:first-child {
  color: var(--muted-light);
  font-family: var(--display);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.support-line span:last-child {
  color: var(--white);
  font-size: .79rem;
}

.faq-list {
  grid-column: 6 / -1;
  border-top: 1px solid var(--dark-border);
}

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

.faq-list summary {
  display: grid;
  min-height: 86px;
  align-items: center;
  padding: 20px 4px;
  grid-template-columns: 1fr 28px;
  gap: 24px;
  cursor: pointer;
  color: var(--text-light);
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.4;
  list-style: none;
}

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

.faq-list summary span {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  border: 1px solid #454b53;
  border-radius: 50%;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  transform: translate(-50%, -50%);
  background: var(--apgo-orange);
  content: "";
  transition: transform var(--motion-fast) var(--ease);
}

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

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

.faq-list details[open] summary {
  color: var(--apgo-orange-bright);
}

.faq-answer {
  max-width: 710px;
  padding: 0 58px 30px 4px;
  color: var(--muted-light);
  font-size: .92rem;
}

/* 10 — Final choice */
.final-choice {
  padding: 120px 0;
}

.final-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px;
  border: 1px solid #232831;
  border-radius: 24px;
  background: var(--ink);
  box-shadow: 0 42px 100px rgba(33, 22, 10, .21);
  color: var(--text-light);
}

.final-panel::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .026) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
}

.final-panel__halo {
  position: absolute;
  z-index: -1;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .11;
}

.final-panel__halo--pink {
  top: -20%;
  left: 5%;
  background: var(--d204-pink);
}

.final-panel__halo--green {
  right: 3%;
  bottom: -25%;
  background: var(--d215-green);
}

.final-panel__heading {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}

.final-panel__heading .eyebrow {
  justify-content: center;
}

.final-panel__heading h2 {
  margin-bottom: 20px;
}

.final-panel__heading > p:last-child {
  color: var(--muted-light);
  font-size: .94rem;
}

.final-products {
  display: grid;
  max-width: 880px;
  margin-inline: auto;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .025);
}

.final-product {
  display: grid;
  justify-items: center;
  padding: 36px 42px;
  border-right: 1px solid var(--dark-border);
  text-align: center;
}

.final-product:last-child {
  border-right: 0;
}

.final-product > img {
  width: 210px;
  margin-block: 10px 4px;
  filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .35));
}

.final-product h3 {
  margin-bottom: 6px;
  font-size: 1.16rem;
}

.final-product p {
  color: var(--muted-light);
  font-size: .75rem;
}

.final-product .button {
  width: 100%;
  margin-top: 22px;
}

.final-product > small {
  margin-top: 11px;
  color: #7f8791;
  font-size: .63rem;
}

/* Footer */
.site-footer {
  padding: 68px 0 30px;
  border-top: 1px solid var(--dark-border);
  background: var(--ink);
  color: var(--text-light);
}

.site-footer__top {
  display: grid;
  padding-bottom: 58px;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 72px;
}

.site-footer__brand img {
  width: 112px;
  margin-bottom: 18px;
}

.site-footer__brand p {
  max-width: 300px;
  color: var(--muted-light);
  font-size: .78rem;
}

.site-footer nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 10px 20px;
}

.site-footer nav a {
  color: var(--muted-light);
  font-size: .76rem;
  transition: color var(--motion-fast) ease;
}

.site-footer nav a:hover {
  color: var(--apgo-orange);
}

.site-footer__support {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.site-footer__support span:first-child {
  color: var(--muted-light);
  font-family: var(--display);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-footer__support span:last-child {
  font-size: .76rem;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 27px;
  border-top: 1px solid var(--dark-border);
  color: #727983;
  font-size: .66rem;
}

.mobile-purchase {
  display: none;
}

/* Progressive entrance motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: reveal-in 560ms var(--ease) both;
    animation-timeline: view();
    animation-range: entry 4% cover 28%;
  }

  .reveal--delay {
    animation-delay: 70ms;
  }
}

@keyframes reveal-in {
  from {
    transform: translateY(14px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Wide tablet */
@media (max-width: 1199px) {
  :root {
    --header-height: 72px;
  }

  .shell {
    width: min(var(--shell), calc(100% - 96px));
  }

  .site-header__inner {
    gap: 30px;
  }

  .hero {
    min-height: 850px;
    padding-top: calc(var(--header-height) + 72px);
  }

  .hero-product {
    height: 600px;
  }

  .hero-product > img {
    right: -6%;
  }

  .product-card__body {
    grid-template-columns: 40% 60%;
  }

  .product-card__content {
    padding: 26px 24px 28px;
  }

  .spotlight-copy {
    grid-column: 8 / -1;
  }

  .spotlight__grid--reverse .spotlight-copy {
    grid-column: 1 / span 5;
  }

  .spotlight-visual--d215 {
    grid-column: 6 / -1;
  }
}

/* Tablet */
@media (max-width: 959px) {
  .shell {
    width: calc(100% - 64px);
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    gap: 19px;
  }

  .site-nav a {
    font-size: .71rem;
  }

  .header-purchase {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 78px);
  }

  .hero__grid {
    min-height: 620px;
  }

  .hero__copy {
    grid-column: 1 / span 7;
  }

  .hero-product {
    grid-column: 7 / -1;
    height: 540px;
  }

  .hero-product > img {
    width: 114%;
    max-width: none;
  }

  .hero-product figcaption {
    display: none;
  }

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

  .hero-facts__amazon {
    display: none !important;
  }

  .product-card-grid,
  .workflow-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .product-card__body {
    min-height: 390px;
    grid-template-columns: 44% 56%;
  }

  .comparison-row {
    grid-template-columns: .85fr 1fr 1fr;
  }

  .comparison-row > div {
    padding: 18px;
  }

  .spotlight__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .spotlight-visual,
  .spotlight-visual--d215 {
    min-height: 560px;
    grid-column: 1 / span 5;
  }

  .spotlight-copy,
  .spotlight__grid--reverse .spotlight-copy {
    grid-column: 6 / -1;
  }

  .spotlight__grid--reverse .spotlight-copy {
    grid-column: 1 / span 3;
  }

  .spotlight__grid--reverse .spotlight-visual {
    grid-column: 4 / -1;
  }

  .workflow {
    display: grid;
    grid-template-columns: 260px 1fr;
  }

  .workflow__header {
    min-height: auto;
    border-right: 1px solid var(--light-border);
    border-bottom: 0;
  }

  .why-apgo__grid {
    min-height: 450px;
  }

  .why-apgo__copy {
    grid-column: 1 / span 6;
  }

  .origin-mark {
    min-height: 400px;
    grid-column: 7 / -1;
  }

  .origin-mark__orbit,
  .origin-mark::before,
  .origin-mark::after {
    display: none;
  }

  .final-panel {
    padding: 58px 42px;
  }
}

/* Mobile */
@media (max-width: 719px) {
  :root {
    --header-height: 60px;
  }

  html {
    scroll-padding-top: calc(var(--header-height) + 16px);
  }

  body {
    font-size: 16px;
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.15rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(1.88rem, 8.3vw, 2.45rem);
    line-height: 1.12;
  }

  h3 {
    font-size: 1.35rem;
  }

  .shell {
    width: calc(100% - 48px);
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: .64rem;
  }

  .eyebrow span {
    width: 25px;
    height: 25px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2 {
    margin-bottom: 16px;
  }

  .section-heading > p:last-child {
    font-size: .96rem;
  }

  .site-header {
    background: rgba(8, 10, 12, .94);
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .brand-mark {
    width: 88px;
  }

  .nav-toggle {
    display: block;
    grid-column: 3;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    padding: 18px 24px 26px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--dark-border);
    background: rgba(8, 10, 12, .98);
  }

  .site-nav.is-open,
  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--dark-border);
    font-size: .78rem;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + 58px);
  }

  .hero::after {
    right: -55%;
    bottom: 10%;
    width: 128vw;
    height: 128vw;
  }

  .hero__ambient {
    top: 26%;
    right: -50%;
    width: 150%;
    height: 75%;
  }

  .hero__grid {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .hero__copy {
    order: 1;
    padding-bottom: 12px;
  }

  .hero h1 {
    margin-bottom: 22px;
  }

  .hero__lead {
    margin-bottom: 23px;
    font-size: 1rem;
  }

  .fact-chips {
    margin-bottom: 26px;
  }

  .fact-chips span {
    font-size: .59rem;
  }

  .button-row {
    display: grid;
    gap: 10px;
  }

  .button-row .button,
  .button-row .text-link {
    width: 100%;
  }

  .button-row .text-link {
    justify-content: center;
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
  }

  .hero__alternate {
    display: none;
  }

  .hero-product {
    order: 2;
    width: 100%;
    height: auto;
    min-height: 430px;
    margin-top: 24px;
  }

  .hero-product__halo {
    top: 6%;
    right: 2%;
    left: 2%;
    width: auto;
  }

  .hero-product__index {
    top: 6%;
    right: -8%;
    font-size: 8rem;
  }

  .hero-product > img {
    right: 50%;
    bottom: 12px;
    width: 118%;
    max-width: 490px;
    transform: translateX(50%);
  }

  .hero-facts {
    min-height: 74px;
    grid-template-columns: 1fr 1fr;
  }

  .hero-facts > div {
    display: grid;
    padding: 14px;
    grid-template-columns: auto 1fr;
    gap: 5px 8px;
  }

  .hero-facts > div:first-child {
    padding-left: 0;
  }

  .hero-facts > div:nth-child(2) {
    padding-right: 0;
    border-right: 0;
  }

  .hero-facts > div > span:last-child {
    grid-column: 2;
  }

  .routine,
  .comparison,
  .spotlight,
  .how-to,
  .videos,
  .why-apgo,
  .faq,
  .final-choice {
    padding: 72px 0;
  }

  .routine-switch {
    margin-bottom: 24px;
  }

  .routine-option {
    min-height: 88px;
    padding: 10px 11px;
    gap: 9px;
  }

  .routine-option__check {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }

  .routine-option strong {
    font-size: .71rem;
  }

  .routine-option small {
    font-size: .57rem;
  }

  .product-card-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    border-radius: var(--radius);
  }

  .product-card__topline {
    min-height: 59px;
    padding: 14px 16px;
  }

  .product-card__body {
    display: block;
  }

  .product-card__image {
    min-height: 0;
    aspect-ratio: 1.18 / 1;
  }

  .product-card__image img {
    width: 78%;
    max-width: 330px;
  }

  .product-card__content {
    padding: 25px 20px 22px;
  }

  .product-card__content h3 {
    font-size: 1.45rem;
  }

  .selected-badge {
    font-size: .54rem;
  }

  .comparison .section-heading br {
    display: none;
  }

  .comparison-matrix {
    border-radius: var(--radius);
  }

  .comparison-row {
    display: block;
    min-height: 0;
    padding: 0 18px 20px;
  }

  .comparison-row > div {
    min-height: 58px;
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .comparison-row > div:last-child {
    border-bottom: 0;
  }

  .comparison-row:not(.comparison-row--head):not(.comparison-row--actions) > div[role="cell"] {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 14px;
    font-size: .83rem;
  }

  .comparison-row:not(.comparison-row--head):not(.comparison-row--actions) > div[role="cell"]::before {
    color: var(--muted-light);
    content: attr(data-mobile-label);
    font-family: var(--display);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .05em;
  }

  .comparison-label {
    min-height: 52px !important;
    padding-bottom: 3px !important;
    border-bottom: 0 !important;
    color: var(--apgo-orange) !important;
  }

  .comparison-row--head {
    display: grid;
    padding: 0;
    grid-template-columns: 1fr 1fr;
  }

  .comparison-row--head > div:first-child {
    display: none;
  }

  .comparison-row--head > div {
    min-height: 114px;
    padding: 20px 16px;
    border-right: 1px solid var(--dark-border);
    border-bottom: 0;
  }

  .comparison-product strong {
    font-size: .77rem;
  }

  .comparison-row--actions {
    display: grid;
    padding: 18px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .comparison-row--actions > div:first-child {
    display: none;
  }

  .comparison-row--actions > div {
    min-height: 0;
    padding: 0;
    border: 0;
  }

  .spotlight__grid,
  .spotlight__grid--reverse {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .spotlight__grid--reverse .spotlight-copy {
    order: 2;
  }

  .spotlight__grid--reverse .spotlight-visual {
    order: 1;
  }

  .spotlight-visual,
  .spotlight-visual--d215 {
    width: 100%;
    min-height: 450px;
  }

  .spotlight-visual > img {
    right: 50%;
    width: 108%;
    max-width: 500px;
    transform: translateX(50%);
  }

  .spotlight-visual__rings {
    width: 76%;
  }

  .spotlight-copy h2 {
    margin-bottom: 20px;
  }

  .spotlight-copy__lead {
    font-size: .96rem;
  }

  .spotlight-copy .button {
    width: 100%;
  }

  .workflow {
    display: block;
    border-radius: var(--radius);
  }

  .workflow__header {
    min-height: auto;
    padding: 25px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--light-border);
  }

  .workflow__header h3 {
    margin-top: 16px;
    font-size: 1.45rem;
  }

  .step-list--three,
  .step-list--four {
    display: block;
  }

  .step-list li,
  .step-list li:nth-child(even),
  .step-list li:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--light-border);
  }

  .step-list li:last-child {
    border-bottom: 0;
  }

  .step-list figure {
    display: grid;
    grid-template-columns: 42% 58%;
  }

  .step-list img {
    height: 100%;
    aspect-ratio: auto;
  }

  .step-list figcaption {
    min-height: 150px;
    align-content: center;
    padding: 16px;
  }

  .safety-note {
    align-items: flex-start;
    margin-top: 28px;
    text-align: left;
  }

  .video-grid {
    gap: 18px;
  }

  .video-card {
    border-radius: var(--radius);
  }

  .play-button {
    width: 58px;
    height: 58px;
  }

  .video-card__caption {
    min-height: 0;
    padding: 23px 20px 26px;
  }

  .video-card__caption h3 {
    margin-top: 14px;
    font-size: 1.25rem;
  }

  .why-apgo__grid {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 44px;
  }

  .why-apgo__copy > p:not(.eyebrow) {
    font-size: .96rem;
  }

  .origin-mark {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1;
  }

  .origin-mark::before,
  .origin-mark::after {
    display: block;
  }

  .origin-mark img {
    width: 135px;
  }

  .faq__grid {
    display: block;
  }

  .faq__intro {
    position: static;
    margin-bottom: 44px;
  }

  .support-line {
    margin-top: 28px;
  }

  .faq-list summary {
    min-height: 72px;
    padding: 17px 0;
    grid-template-columns: 1fr 26px;
    gap: 16px;
    font-size: .87rem;
  }

  .faq-list summary span {
    width: 26px;
    height: 26px;
  }

  .faq-answer {
    padding: 0 40px 24px 0;
    font-size: .84rem;
  }

  .final-choice {
    padding-bottom: 88px;
  }

  .final-panel {
    margin-inline: -8px;
    padding: 44px 16px 20px;
    border-radius: var(--radius-lg);
  }

  .final-panel__heading {
    margin-bottom: 36px;
  }

  .final-panel__heading > p:last-child {
    font-size: .84rem;
  }

  .final-products {
    display: block;
  }

  .final-product {
    padding: 28px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--dark-border);
  }

  .final-product:last-child {
    border-bottom: 0;
  }

  .final-product > img {
    width: 190px;
  }

  .site-footer {
    padding: 52px 0 28px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer nav {
    max-width: 280px;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-purchase {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    transform: translateY(calc(100% + 12px));
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: rgba(8, 10, 12, .94);
    backdrop-filter: blur(14px);
    transition: transform var(--motion) var(--ease);
  }

  .mobile-purchase.is-visible,
  .mobile-purchase[data-visible="true"] {
    transform: translateY(0);
  }

  .mobile-purchase .button {
    width: 100%;
    min-height: 50px;
  }
}

@media (max-width: 374px) {
  .shell {
    width: calc(100% - 32px);
  }

  h1 {
    font-size: 2.25rem;
  }

  .hero-product {
    min-height: 390px;
  }

  .routine-switch {
    grid-template-columns: 1fr;
  }

  .routine-option {
    min-height: 72px;
  }

  .product-card__topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .step-list figure {
    display: block;
  }

  .step-list img {
    aspect-ratio: 1.7 / 1;
  }

  .step-list figcaption {
    min-height: 122px;
  }

  .spec-list > div {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 12px 0;
  }

  .spec-list dd {
    text-align: left;
  }

  .spotlight-visual,
  .spotlight-visual--d215 {
    min-height: 405px;
  }
}

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

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

@media print {
  .site-header,
  .mobile-purchase,
  .video-poster .play-button,
  .button {
    display: none !important;
  }

  body,
  .section-dark,
  .section-light {
    background: var(--white) !important;
    color: var(--text-dark) !important;
  }
}
