:root {
  --paper: oklch(0.975 0.012 50);
  --paper-strong: oklch(0.94 0.022 50);
  --surface: oklch(0.995 0.004 50);
  --ink: oklch(0.22 0.03 40);
  --ink-soft: oklch(0.44 0.03 40);
  --accent: oklch(0.58 0.16 34);
  --accent-deep: oklch(0.22 0.025 34);
  --accent-soft: oklch(0.92 0.04 40);
  --action: oklch(0.58 0.16 34);
  --action-hover: oklch(0.5 0.15 34);
  --conversion: oklch(0.72 0.18 140);
  --conversion-hover: oklch(0.64 0.16 140);
  --line: oklch(0.85 0.02 50);
  --on-accent: oklch(0.985 0.003 50);
  --focus: oklch(0.58 0.16 34);
  --brand-tide: oklch(0.58 0.16 34);
  --display: "Red Hat Display", "Helvetica Neue", sans-serif;
  --sans: "Red Hat Text", "Helvetica Neue", sans-serif;
  --header-h: 68px;
  --radius: 10px;
}

body[data-product="floragut"] {
  --paper: oklch(0.975 0.012 150);
  --paper-strong: oklch(0.935 0.022 150);
  --surface: oklch(0.995 0.004 150);
  --ink: oklch(0.23 0.04 155);
  --ink-soft: oklch(0.44 0.03 155);
  --accent: oklch(0.5 0.12 150);
  --accent-deep: oklch(0.28 0.06 155);
  --accent-soft: oklch(0.91 0.04 150);
  --action: oklch(0.48 0.12 150);
  --action-hover: oklch(0.4 0.1 150);
  --line: oklch(0.84 0.02 150);
  --focus: oklch(0.5 0.12 150);
}

body[data-product="sleepprime"] {
  --paper: oklch(0.97 0.013 307);
  --paper-strong: oklch(0.925 0.025 307);
  --surface: oklch(0.995 0.004 307);
  --ink: oklch(0.23 0.035 300);
  --ink-soft: oklch(0.45 0.035 300);
  --accent: oklch(0.37 0.09 303);
  --accent-deep: oklch(0.255 0.057 303);
  --accent-soft: oklch(0.89 0.042 305);
  --action: oklch(0.38 0.075 158);
  --action-hover: oklch(0.31 0.06 158);
  --line: oklch(0.84 0.018 302);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;
  padding-bottom: 160px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

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

.wrap-narrow {
  width: min(720px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  height: var(--header-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.wordmark {
  color: var(--accent-deep);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
  text-decoration: none;
}

.wordmark-tide {
  color: var(--brand-tide);
}

.header-nav {
  display: flex;
  gap: 26px;
}

.header-nav a,
.header-note {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.header-nav a {
  padding-block: 6px;
}

.header-nav a:hover {
  color: var(--accent);
}

.header-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.header-note::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--action);
  content: "";
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  min-height: min(730px, calc(100svh - var(--header-h)));
  overflow: hidden;
  background: var(--paper);
}

.hero-copy {
  align-self: center;
  width: min(575px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - 1160px) / 2));
  padding: 88px 0 104px;
  animation: arrive 0.55s both;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 580px;
  padding: 48px;
  overflow: hidden;
  background: var(--accent-soft) url("../img/template/editorial-backdrop.png") center / cover no-repeat;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--accent-soft) 30%, transparent);
  content: "";
}

.hero-visual::after {
  display: none;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(440px, 82%);
  max-height: 510px;
  object-fit: contain;
  filter: drop-shadow(0 20px 22px color-mix(in srgb, var(--accent-deep) 19%, transparent));
  animation: arrive 0.65s 0.08s both;
}

.kicker {
  margin: 0 0 15px;
  color: var(--accent);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero h1,
.page-title,
.offer-hero h1,
.thanks h1 {
  color: var(--accent-deep);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.065em;
}

.hero h1 {
  max-width: 10ch;
  margin: 0 0 22px;
  font-size: clamp(3.15rem, 6.2vw, 5.75rem);
  line-height: 0.97;
}

.lede {
  max-width: 38ch;
  margin: 0 0 32px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid var(--action);
  border-radius: var(--radius);
  background: var(--action);
  color: var(--on-accent);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  border-color: var(--action-hover);
  background: var(--action-hover);
}

.btn-block {
  width: 100%;
}

.section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.section h2 {
  max-width: 16ch;
  margin: 0 0 20px;
  color: var(--accent-deep);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-plum {
  position: relative;
  overflow: hidden;
  background-color: var(--accent-deep);
  background-image:
    linear-gradient(
      color-mix(in srgb, var(--accent-deep) 89%, transparent),
      color-mix(in srgb, var(--accent-deep) 89%, transparent)
    ),
    url("../img/template/editorial-backdrop.png");
  background-position: center;
  background-size: cover;
  color: var(--on-accent);
}

.section-plum::after {
  display: none;
}

.section-plum .wrap,
.section-plum .wrap-narrow {
  position: relative;
  z-index: 1;
}

.section-plum h2,
.section-plum p,
.section-plum li {
  color: var(--on-accent);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(240px, 0.88fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
}

.split > div > :first-child {
  margin-top: 0;
}

.split img {
  width: min(300px, 76%);
  margin-inline: auto;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.17));
}

.muted {
  color: var(--ink-soft);
}

.section-plum .muted {
  color: color-mix(in oklch, var(--on-accent) 78%, transparent);
}

.plain-list,
.formula-list {
  max-width: 520px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li,
.formula-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.plain-list li::before {
  flex: 0 0 auto;
  width: 1.1em;
  height: 1.1em;
  margin-top: 0.22em;
  border-radius: 50%;
  background: var(--action);
  content: "";
}

.section-plum .plain-list li,
.section-plum .formula-list li {
  border-color: color-mix(in oklch, var(--on-accent) 20%, transparent);
}

.section-plum .plain-list li::before {
  background: color-mix(in oklch, var(--on-accent) 90%, var(--action));
}

.formula-list {
  margin-top: 24px;
}

.formula-list li {
  border-top: 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.formula-list span {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-weight: 600;
}

.section-plum .formula-list span {
  color: color-mix(in oklch, var(--on-accent) 75%, transparent);
}

.section-plum .kicker {
  color: color-mix(in oklch, var(--on-accent) 82%, var(--accent));
}

.formula-table-wrap {
  margin-top: 30px;
  border: 1px solid color-mix(in oklch, var(--on-accent) 34%, transparent);
  background: color-mix(in oklch, var(--accent-deep) 82%, var(--on-accent));
}

.formula-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--on-accent);
  table-layout: fixed;
}

.formula-table caption {
  caption-side: top;
  padding: 14px 18px;
  background: var(--on-accent);
  color: var(--accent-deep);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: left;
}

.formula-table th,
.formula-table td {
  padding: 15px 18px;
  border-bottom: 1px solid color-mix(in oklch, var(--on-accent) 22%, transparent);
  text-align: left;
}

.formula-table th {
  color: color-mix(in oklch, var(--on-accent) 76%, transparent);
  font-size: 13px;
  font-weight: 700;
}

.formula-table th:last-child,
.formula-table td:last-child {
  width: 30%;
  text-align: right;
  white-space: nowrap;
}

.formula-table td {
  color: var(--on-accent);
  font-size: 16px;
}

.formula-table td:first-child {
  overflow-wrap: break-word;
}

.formula-table td:last-child {
  font-weight: 700;
}

.formula-table tbody tr:last-child td {
  border-bottom: 0;
}

.formula-note {
  max-width: 56ch;
  margin: 15px 0 0;
  color: color-mix(in oklch, var(--on-accent) 74%, transparent) !important;
  font-size: 13px;
}

.formula-actions {
  margin-top: 28px;
}

.disclaimer {
  max-width: 66ch;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.section-plum .disclaimer {
  color: color-mix(in oklch, var(--on-accent) 72%, transparent);
}

.use-section {
  padding-block: clamp(70px, 8vw, 100px);
  background: var(--paper-strong);
}

.use-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: center;
}

.use-copy h2 {
  max-width: 12ch;
}

.use-lede {
  max-width: 47ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.use-steps {
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.use-steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.use-step-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-deep);
  color: var(--on-accent);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
}

.use-steps h3 {
  margin: 1px 0 4px;
  color: var(--accent-deep);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.use-steps p {
  margin: 0;
  color: var(--ink-soft);
}

.use-cta {
  margin-top: 30px;
}

.use-visual {
  display: flex;
  min-height: 420px;
  align-items: center;
  justify-content: center;
  place-items: center;
  padding: 24px;
}

.use-visual img {
  width: min(260px, 76%);
  filter: drop-shadow(0 14px 13px rgba(0, 0, 0, 0.17));
}

.use-safety {
  grid-column: 1 / -1;
  max-width: 78ch;
  margin: -6px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.use-safety strong {
  color: var(--accent-deep);
}

.guarantee-section {
  background: var(--accent-soft);
}

.guarantee-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.52fr) minmax(0, 1fr);
  gap: clamp(42px, 8vw, 104px);
  align-items: center;
}

.guarantee-seal {
  display: grid;
  place-items: center;
}

.guarantee-seal img {
  width: min(278px, 100%);
}

.guarantee-copy h2 {
  max-width: 14ch;
}

.guarantee-lede {
  max-width: 57ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
}

.guarantee-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 710px;
  margin: 30px 0;
  padding-block: 18px;
  border-block: 1px solid color-mix(in oklch, var(--accent-deep) 19%, transparent);
}

.guarantee-details p {
  margin: 0;
}

.guarantee-details strong,
.guarantee-details span {
  display: block;
}

.guarantee-details strong {
  margin-bottom: 4px;
  color: var(--accent-deep);
  font-family: var(--display);
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.guarantee-details span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.shop-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.shop-head > p {
  max-width: 29ch;
  margin: 0;
  font-size: 14px;
}

.packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  padding-top: 20px;
}

.packages-two {
  max-width: 800px;
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 620px;
  padding: 28px 24px 24px;
  border: 1px solid color-mix(in oklch, var(--accent) 62%, var(--accent-deep));
  border-radius: 18px;
  background: linear-gradient(165deg, color-mix(in oklch, var(--accent) 85%, var(--accent-deep)) 0%, var(--accent-deep) 82%);
  box-shadow: 0 12px 22px color-mix(in srgb, var(--accent-deep) 18%, transparent);
  color: var(--on-accent);
  text-align: center;
}

.pack.is-featured {
  z-index: 1;
  border-color: color-mix(in oklch, var(--accent) 82%, var(--on-accent));
  background: linear-gradient(165deg, color-mix(in oklch, var(--accent) 98%, var(--on-accent)) 0%, var(--accent-deep) 84%);
  box-shadow: 0 17px 34px color-mix(in srgb, var(--accent-deep) 28%, transparent);
  transform: translateY(-16px);
}

.pack-tag {
  position: absolute;
  top: -16px;
  left: 50%;
  min-height: 0;
  margin: 0;
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--conversion);
  color: var(--on-accent);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  transform: translateX(-50%);
}

.pack-tag:empty {
  display: none;
}

.pack.is-featured .pack-tag {
  color: var(--on-accent);
}

.pack h3 {
  order: 1;
  margin: 0;
  color: var(--on-accent);
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.pack.is-featured h3,
.pack.is-featured .pack-price {
  color: var(--on-accent);
}

.pack-supply {
  order: 2;
  min-height: 28px;
  margin: 5px 0 12px;
  color: var(--on-accent);
  font-size: 16px;
  font-weight: 700;
}

.pack.is-featured .pack-supply,
.pack.is-featured .pack-each,
.pack.is-featured .pack-ship,
.pack.is-featured .pack-age {
  color: var(--on-accent);
}

.pack-img {
  order: 3;
  display: grid;
  min-height: 230px;
  place-items: center;
  margin-bottom: 16px;
  border: 0;
}

.pack.is-featured .pack-img {
  min-height: 246px;
}

.pack-img img {
  width: auto;
  max-width: 92%;
  max-height: 236px;
  object-fit: contain;
  filter: drop-shadow(0 14px 13px rgba(0, 0, 0, 0.24));
}

.pack-price {
  order: 5;
  margin: 0;
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
}

.pack-price::before {
  content: "Total: ";
}

.pack-each,
.pack-ship,
.pack-sku {
  color: var(--on-accent);
}

.pack-each {
  order: 4;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 3px 0 0;
  font-weight: 700;
  line-height: 1;
}

.pack-each-value {
  font-family: var(--display);
  font-size: clamp(2.45rem, 3.45vw, 2.95rem);
  font-weight: 700;
  letter-spacing: -0.065em;
}

.pack-each-unit {
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.pack-sku {
  display: none;
}

.pack .btn {
  order: 6;
  margin-top: 28px;
  border-color: var(--conversion);
  background: var(--conversion);
  color: var(--on-accent);
  font-size: 17px;
}

.pack .btn:hover,
.pack.is-featured .btn:hover {
  border-color: var(--conversion-hover);
  background: var(--conversion-hover);
  color: var(--on-accent);
}

.pack-payments {
  order: 7;
  width: min(190px, 78%);
  height: auto;
  margin: 20px auto 0;
}

.pack-ship {
  order: 8;
  min-height: 38px;
  margin: 17px 0 0;
  color: var(--on-accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-transform: uppercase;
}

.pack-ship::after {
  display: block;
  content: "30-day money-back guarantee.";
}

.pack-age {
  order: 9;
  min-height: 32px;
  margin: auto 0 0;
  color: color-mix(in oklch, var(--on-accent) 82%, transparent);
  font-size: 12px;
  font-style: italic;
  line-height: 1.35;
}

.label-section .wrap {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
}

.label-context h2 {
  max-width: 11ch;
}

.label-context .muted {
  max-width: 37ch;
  margin: 0;
  font-size: 17px;
}

.label-frame {
  margin: 0;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.label-zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.label-zoom::after {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in oklch, var(--on-accent) 55%, transparent);
  border-radius: 50%;
  background: var(--accent-deep);
  color: var(--on-accent);
  content: "+";
  font-family: var(--display);
  font-size: 28px;
  line-height: 38px;
}

.label-zoom:hover::after {
  background: var(--accent);
}

.label-zoom img {
  width: 100%;
  max-height: 510px;
  margin-inline: auto;
  object-fit: contain;
}

.label-zoom-hint {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 10px;
  background: var(--accent-deep);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 700;
}

.label-frame figcaption {
  margin-top: 15px;
  color: var(--ink-soft);
  font-size: 14px;
}

.label-dialog {
  width: min(1120px, calc(100vw - 40px));
  height: min(840px, calc(100svh - 40px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: var(--surface);
  color: var(--ink);
}

.label-dialog::backdrop {
  background: color-mix(in srgb, var(--accent-deep) 74%, transparent);
}

.label-dialog-shell {
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr auto;
}

.label-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.label-dialog-title {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.label-dialog-close,
.label-dialog-toggle {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
}

.label-dialog-close {
  min-width: 44px;
  font-size: 23px;
  line-height: 1;
}

.label-dialog-close:hover,
.label-dialog-toggle:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.label-dialog-stage {
  display: grid;
  min-height: 0;
  place-items: center;
  padding: clamp(18px, 3vw, 36px);
  overflow: hidden;
  background: var(--paper-strong);
}

.label-dialog-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  touch-action: none;
  transition: transform 180ms ease;
}

.label-dialog-image.is-zoomed {
  cursor: grab;
}

.label-dialog-image.is-panning {
  cursor: grabbing;
  transition: none;
}

.label-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.label-dialog-footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

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

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

.faq summary {
  position: relative;
  padding: 20px 32px 20px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
}

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

.faq summary::after {
  position: absolute;
  top: 18px;
  right: 2px;
  color: var(--accent);
  content: "+";
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  max-width: 65ch;
  margin: 0 0 20px;
  color: var(--ink-soft);
}

.site-footer {
  background: var(--accent-deep);
  color: color-mix(in oklch, var(--on-accent) 78%, transparent);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.15fr 0.9fr;
  gap: 40px;
  padding: 52px 0;
}

.site-footer a {
  color: var(--on-accent);
}

.site-footer p {
  margin: 0 0 12px;
}

.site-footer p:first-child {
  color: var(--on-accent);
  font-weight: 600;
}

.offer-hero {
  position: relative;
  padding: clamp(58px, 8vw, 100px) 0 clamp(42px, 6vw, 70px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.offer-hero::after {
  display: none;
}

.offer-hero .wrap {
  position: relative;
  z-index: 1;
}

.offer-hero h1 {
  max-width: 14ch;
  margin: 0 0 17px;
  font-size: clamp(2.55rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.offer-hero p:not(.kicker) {
  max-width: 56ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.decline {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 46px auto 0;
  color: var(--ink-soft);
  font-size: 14px;
  text-align: center;
}

.decline:hover {
  color: var(--accent);
}

.single-offer-section {
  padding: clamp(58px, 8vw, 110px) 0;
}

.single-pack {
  width: min(100%, 420px);
  margin-inline: auto;
}

.pack .decline {
  order: 10;
  width: auto;
  margin: 24px auto 0;
  color: color-mix(in oklch, var(--on-accent) 82%, transparent);
  font-size: 13px;
  text-align: center;
}

.pack .decline:hover {
  color: var(--on-accent);
}

.thanks {
  display: grid;
  min-height: calc(100svh - var(--header-h));
  align-items: center;
  padding: clamp(64px, 9vw, 128px) 0;
}

.thanks-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}

.thanks h1 {
  margin: 0 0 19px;
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 0.95;
}

.thanks-copy > p:not(.kicker) {
  max-width: 60ch;
}

.thanks-visual {
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.thanks-visual img {
  width: min(255px, 80%);
  margin: 10px auto 24px;
  filter: drop-shadow(0 14px 15px rgba(0, 0, 0, 0.14));
}

.thanks-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.thanks-list li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

[id^="cpd-"],
.cpd-badge,
.cpd-footer,
.cpd-container,
#cp-advertising-disclaimer,
#cp-de-legal-links {
  visibility: visible !important;
  background-color: #ffffff !important;
  color: #1f2937 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  opacity: 1 !important;
}

[id^="cpd-"] a,
.cpd-badge a,
.cpd-footer a,
#cp-advertising-disclaimer a,
#cp-de-legal-links a {
  color: #1d4ed8 !important;
  text-decoration: underline !important;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    width: min(720px, calc(100% - 48px));
    margin-inline: auto;
    padding: 72px 0 52px;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero-visual {
    min-height: 420px;
    padding-top: 38px;
  }

  .split,
  .thanks-panel,
  .footer-grid,
  .use-layout,
  .guarantee-layout,
  .label-section .wrap {
    grid-template-columns: 1fr;
  }

  .use-visual {
    width: min(100%, 480px);
    min-height: 370px;
  }

  .guarantee-seal {
    justify-items: start;
  }

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

  .packages .pack:nth-child(1) {
    order: 2;
  }

  .packages .pack:nth-child(2) {
    order: 1;
  }

  .packages .pack:nth-child(3) {
    order: 3;
  }

  .thanks-visual {
    max-width: 520px;
  }

  .label-context {
    max-width: 620px;
  }
}

@media (max-width: 620px) {
  .wrap,
  .wrap-narrow,
  .hero-copy {
    width: min(100% - 32px, 1160px);
  }

  .site-header,
  .header-row {
    height: 60px;
  }

  .header-nav {
    display: none;
  }

  .wordmark {
    font-size: 21px;
  }

  .header-note {
    font-size: 12px;
  }

  .hero-copy {
    padding: 56px 0 40px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero-visual {
    min-height: 360px;
    padding-inline: 20px;
  }

  .section {
    padding: 64px 0;
  }

  .use-layout {
    gap: 34px;
  }

  .use-lede {
    font-size: 1rem;
  }

  .use-steps li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 0;
  }

  .use-step-number {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  .use-steps h3 {
    font-size: 1.18rem;
  }

  .use-visual {
    min-height: 320px;
    padding: 20px;
  }

  .use-visual img {
    width: min(215px, 72%);
  }

  .guarantee-seal img {
    width: min(218px, 62vw);
  }

  .guarantee-details {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 26px 0;
  }

  .formula-table-wrap {
    margin-top: 24px;
  }

  .formula-table caption {
    padding: 13px 14px;
    font-size: 17px;
  }

  .formula-table th,
  .formula-table td {
    padding: 13px 14px;
  }

  .formula-table th {
    font-size: 12px;
  }

  .formula-table td {
    font-size: 15px;
    line-height: 1.35;
  }

  .formula-table th:last-child,
  .formula-table td:last-child {
    width: 32%;
  }

  .shop-head {
    display: block;
  }

  .shop-head > p {
    margin-top: 15px;
  }

  .packages,
  .packages-two {
    grid-template-columns: 1fr;
  }

  .pack {
    padding: 23px 20px 19px;
  }

  .pack-img {
    min-height: 185px;
  }

  .pack .btn {
    transform: none;
    margin-top: 20px;
  }

  .pack-age {
    min-height: 0;
    margin-top: 14px;
  }

  .label-context .muted {
    font-size: 16px;
  }

  .label-frame {
    padding: 14px;
  }

  .label-zoom::after {
    right: 10px;
    bottom: 10px;
  }

  .label-zoom-hint {
    left: 10px;
    bottom: 10px;
    font-size: 12px;
  }

  .label-frame figcaption {
    margin: 12px 2px 2px;
    font-size: 13px;
  }

  .label-dialog {
    width: calc(100vw - 24px);
    height: min(570px, calc(100svh - 24px));
    min-height: 0;
    max-height: none;
  }

  .label-dialog-shell {
    height: 100%;
    grid-template-rows: auto 1fr auto;
  }

  .label-dialog-header {
    padding: 12px 16px;
  }

  .label-dialog-title {
    font-size: 17px;
  }

  .label-dialog-stage {
    height: auto;
    padding: 14px;
  }

  .label-dialog-footer {
    display: grid;
    gap: 10px;
    padding: 12px 16px 16px;
  }

  .label-dialog-footer p {
    font-size: 13px;
    line-height: 1.4;
  }

  .label-dialog-toggle {
    width: 100%;
  }

  .offer-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .single-offer-section {
    padding: 48px 0 64px;
  }

  .footer-grid {
    gap: 26px;
    padding: 42px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
