/* ============================================================================
   DoNotAge funnel design system
   Ported from the original hand-authored landing page, reorganised by section.
   Fonts: each page loads Fraunces + Manrope via a Google Fonts <link>; the
   :root vars below replace the ones next/font injected in the original apps.
   ========================================================================== */

:root {
  --font-fraunces: "Fraunces";
  --font-manrope: "Manrope";
}

/* --- design tokens -------------------------------------------------------- */
:root {
  --pine: #26332f;
  --pine-shadow: #1e2a26;
  --mid: #375144;
  --sage: #8fa89a;
  --sage-deep: #5c7a6a;
  --offwhite: #f4f1e9;
  --paper: #fcfbf7;
  --band: #eef1ec;
  --ink: #16302a;
  --line: rgba(38, 51, 47, 0.12);
  --near-black: #0b1210;
}

/* --- reset + base --------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-manrope), system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}
h1,
h2,
h3 {
  font-family: var(--font-fraunces), Georgia, serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* scroll-in reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.d1 {
  transition-delay: 0.08s;
}
.d2 {
  transition-delay: 0.16s;
}
.d3 {
  transition-delay: 0.24s;
}
.d4 {
  transition-delay: 0.32s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* --- announce bar --------------------------------------------------------- */
.announce {
  background: var(--pine);
  color: var(--offwhite);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 10px 16px;
}
.announce .announce-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
}
.announce .sep {
  opacity: 0.5;
}

/* --- top bar / nav -------------------------------------------------------- */
.bar {
  border-bottom: 1px solid var(--line);
  background: rgba(252, 251, 247, 0.9);
  position: sticky;
  top: 0;
  z-index: 50;
  -webkit-backdrop-filter: saturate(120%) blur(6px);
  backdrop-filter: saturate(120%) blur(6px);
}
.bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  gap: 16px;
}
.bar img {
  height: 58px;
  width: auto;
  display: block;
}

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pine);
  color: var(--offwhite);
  font-family: var(--font-manrope), system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 3px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--pine-shadow);
}
.btn .arrow {
  transition: transform 0.25s ease;
}
.btn:hover .arrow {
  transform: translateX(4px);
}
.btn.small {
  padding: 11px 22px;
  font-size: 15px;
}
.btn.light {
  background: var(--offwhite);
  color: var(--pine);
}
.btn.light:hover {
  background: #fff;
}
.btn.block {
  width: 100%;
  justify-content: center;
  padding: 18px;
  font-size: 18px;
}

/* --- hero ----------------------------------------------------------------- */
.hero .wrap {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
  padding: 64px 32px 60px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 22px;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  max-width: 16ch;
}
.hero .lede {
  font-size: 20px;
  color: #2c403a;
  max-width: 48ch;
  margin-top: 22px;
}
.heroprice {
  margin-top: 26px;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--mid);
  font-weight: 600;
}
.hero .btn {
  margin-top: 24px;
}
.heroimg img {
  width: 100%;
  height: auto;
  display: block;
}
.trustrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.trustrow span {
  font-size: 14px;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage-deep);
  display: inline-block;
  flex-shrink: 0;
}

/* --- generic section ------------------------------------------------------ */
section {
  padding: 84px 0;
}
.kicker {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 16px;
  font-weight: 600;
}
h2 {
  font-size: clamp(28px, 4vw, 40px);
  max-width: 20ch;
}
.sub {
  font-size: 19px;
  color: #2c403a;
  max-width: 54ch;
  margin-top: 18px;
}

/* --- quotes --------------------------------------------------------------- */
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 46px;
}
.q {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px 28px 24px;
}
.q.big {
  grid-column: span 2;
  background: var(--band);
  border-color: transparent;
}
.q p {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 22px;
  line-height: 1.42;
  color: var(--ink);
}
.q.big p {
  font-size: 28px;
  line-height: 1.34;
}
.q .who {
  font-family: var(--font-manrope), system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-top: 18px;
  font-weight: 700;
}

/* --- ease band ------------------------------------------------------------ */
.ease .split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.ease .pic {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 26px 50px rgba(30, 42, 38, 0.18);
}
.ease .pic img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- ingredients ---------------------------------------------------------- */
.ingr {
  background: var(--band);
}
.ingr .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.ingr img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  box-shadow: 0 20px 40px rgba(30, 42, 38, 0.18);
}
.benefits {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 52px;
  border-top: 1px solid var(--line);
}
.benefits .bi {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.benefits .bn {
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}
.benefits .bb {
  color: var(--mid);
  font-size: 14px;
  text-align: right;
}

/* --- showcase (dark) ------------------------------------------------------ */
.showcase {
  background: var(--near-black);
  color: var(--offwhite);
}
.showcase .kicker {
  color: var(--sage);
}
.showcase h2 {
  color: var(--offwhite);
}
.showcase .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
  align-items: end;
}
.showcase figure {
  text-align: center;
}
.showcase img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.showcase figcaption {
  margin-top: 12px;
}
.showcase .ct {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 20px;
  color: var(--offwhite);
}
.showcase .cs {
  font-size: 13px;
  color: var(--sage);
  margin-top: 4px;
}
.showcase .cs .free {
  color: #fff;
  font-weight: 700;
}
.showcase .note {
  text-align: center;
  margin-top: 34px;
  font-size: 15px;
  color: rgba(244, 241, 233, 0.72);
}

/* --- offer (pine) --------------------------------------------------------- */
.offer {
  background: var(--pine);
  color: var(--offwhite);
}
.offer h2 {
  color: var(--offwhite);
  text-align: center;
  margin: 0 auto;
}
.offer .kicker {
  color: var(--sage);
  text-align: center;
}
.offercard {
  background: var(--pine-shadow);
  border: 1px solid rgba(143, 168, 154, 0.25);
  border-radius: 8px;
  max-width: 560px;
  margin: 44px auto 0;
  padding: 38px 38px 34px;
}
.line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(244, 241, 233, 0.12);
  gap: 16px;
}
.line .name {
  font-size: 16px;
  color: rgba(244, 241, 233, 0.92);
}
.line .name small {
  display: block;
  color: var(--sage);
  font-size: 13px;
  margin-top: 2px;
}
.line .val {
  font-size: 15px;
  white-space: nowrap;
  text-align: right;
}
.line .was {
  color: rgba(244, 241, 233, 0.45);
  text-decoration: line-through;
  margin-right: 8px;
}
.line .free {
  color: var(--sage);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(143, 168, 154, 0.3);
}
.total .lbl {
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--sage);
}
.total .amt {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 40px;
  color: var(--offwhite);
}
.total .amt .strike {
  font-size: 20px;
  color: rgba(244, 241, 233, 0.45);
  text-decoration: line-through;
  margin-right: 10px;
}
.offercard .offer-cta {
  margin-top: 26px;
}
.offernote {
  text-align: center;
  color: rgba(244, 241, 233, 0.7);
  font-size: 14px;
  margin-top: 18px;
  line-height: 1.5;
}
.perday {
  text-align: center;
  color: var(--sage);
  font-size: 15px;
  letter-spacing: 0.04em;
  margin-top: 6px;
  font-weight: 600;
}

/* --- objections / FAQ ----------------------------------------------------- */
.obj {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.obj details {
  border-bottom: 1px solid var(--line);
}
.obj summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.obj summary::-webkit-details-marker {
  display: none;
}
.obj summary .qx {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 22px;
  color: var(--ink);
  font-weight: 500;
}
.obj summary .plus {
  font-size: 26px;
  color: var(--sage-deep);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.obj details[open] summary .plus {
  transform: rotate(45deg);
}
.obj .ans {
  padding: 0 0 26px;
  font-size: 17px;
  color: #2c403a;
  max-width: 64ch;
  line-height: 1.66;
}

/* --- guarantee ------------------------------------------------------------ */
.guar .card {
  background: var(--mid);
  color: var(--offwhite);
  border-radius: 8px;
  padding: 56px 52px;
  position: relative;
  overflow: hidden;
}
.guar .card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(244, 241, 233, 0.16);
  border-radius: 50%;
}
.guar .kicker {
  color: var(--sage);
}
.guar h2 {
  color: var(--offwhite);
  position: relative;
  z-index: 1;
}
.guar p {
  font-size: 18px;
  color: rgba(244, 241, 233, 0.9);
  max-width: 60ch;
  margin-top: 20px;
  line-height: 1.62;
  position: relative;
  z-index: 1;
}
.steps {
  display: flex;
  gap: 30px;
  margin-top: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.step {
  flex: 1;
  min-width: 180px;
}
.step .n {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 28px;
  color: var(--sage);
}
.step .t {
  font-size: 15px;
  color: var(--offwhite);
  margin-top: 6px;
  line-height: 1.5;
}

/* --- close (pine) --------------------------------------------------------- */
.close {
  background: var(--pine);
  color: var(--offwhite);
  text-align: center;
}
.close .wrap {
  padding: 92px 32px;
}
.close h2 {
  color: var(--offwhite);
  margin: 0 auto;
}
.close p {
  font-size: 19px;
  color: rgba(244, 241, 233, 0.86);
  max-width: 56ch;
  margin: 22px auto 0;
  line-height: 1.6;
}
.close .btn {
  margin-top: 36px;
}
.close .perday {
  margin-top: 18px;
}

/* --- footer --------------------------------------------------------------- */
footer {
  background: var(--offwhite);
  color: var(--mid);
  font-size: 13px;
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
footer a {
  color: var(--sage-deep);
  text-decoration: none;
}
.footlogo {
  height: 72px;
  width: auto;
  margin-bottom: 6px;
}

/* --- video testimonials --------------------------------------------------- */
.vids {
  background: var(--band);
}
.vidgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
  align-items: start;
  justify-items: center;
}
.vidwrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  /* Default portrait frame; each video overrides with its exact ratio inline
     so the player fills edge-to-edge with no letterbox bars. */
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(30, 42, 38, 0.18);
  background: linear-gradient(135deg, #2c3d37, #1e2a26);
}
.vidwrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.vidwrap .play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.vidwrap .circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(244, 241, 233, 0.95);
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.vidwrap .circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-left: 18px solid var(--pine);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.vidwrap .cap {
  color: rgba(244, 241, 233, 0.85);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* --- three P's ------------------------------------------------------------ */
.threep {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
}
.pcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
}
.pcard .pl {
  font-family: var(--font-manrope), system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 700;
}
.pcard h3 {
  font-size: 23px;
  margin: 8px 0 10px;
}
.pcard p {
  font-size: 15px;
  color: #33473f;
  line-height: 1.6;
}

/* --- timeline ------------------------------------------------------------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}
.tcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  border-top: 3px solid var(--sage-deep);
}
.tcard .lab {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 700;
}
.tcard .day {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 28px;
  color: var(--ink);
  margin: 4px 0 10px;
}
.tcard p {
  font-size: 15px;
  color: #33473f;
  line-height: 1.6;
}

/* --- referral ladder ------------------------------------------------------ */
.refer {
  background: var(--band);
}
.ladder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.rung {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 18px;
  text-align: center;
}
.rung.free {
  background: var(--pine);
  border-color: var(--pine);
}
.rung .rl {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 700;
}
.rung.free .rl {
  color: var(--sage);
}
.rung .rv {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 30px;
  color: var(--ink);
  margin: 6px 0 2px;
}
.rung.free .rv {
  color: var(--offwhite);
}
.rung .rd {
  font-size: 13px;
  color: var(--mid);
}
.rung.free .rd {
  color: rgba(244, 241, 233, 0.8);
}

/* ==========================================================================
   Responsive — tablet/landscape (ported breakpoint)
   ========================================================================== */
@media (max-width: 820px) {
  body {
    font-size: 17px;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 44px 28px;
  }
  .heroimg {
    order: -1;
  }
  .quotes {
    grid-template-columns: 1fr;
  }
  .q.big {
    grid-column: span 1;
  }
  .q.big p {
    font-size: 24px;
  }
  .ease .split,
  .ingr .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .benefits {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .ease .pic {
    order: -1;
  }
  .ingr img {
    margin: 0 auto;
  }
  .showcase .grid {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .vidgrid,
  .threep,
  .timeline {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .ladder {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  section {
    padding: 60px 0;
  }
  .offercard {
    padding: 30px 24px;
  }
  .guar .card {
    padding: 46px 36px;
  }
}

/* ==========================================================================
   Responsive — small phones (new). Fixes announce-bar overflow + tightens
   spacing / type so nothing exceeds the viewport on ~360–520px screens.
   ========================================================================== */
@media (max-width: 520px) {
  .wrap {
    padding: 0 20px;
  }
  .announce {
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 9px 14px;
  }
  .announce .announce-row {
    gap: 4px 12px;
  }
  .announce .sep {
    display: none;
  }
  .bar .wrap {
    padding: 12px 20px;
    gap: 12px;
  }
  .bar img {
    height: 42px;
  }
  .btn {
    font-size: 15px;
    padding: 13px 22px;
  }
  .btn.small {
    padding: 10px 16px;
    font-size: 13px;
  }
  .hero .wrap {
    padding: 30px 20px 40px;
  }
  .hero .lede {
    font-size: 18px;
  }
  .hero .btn {
    width: 100%;
    justify-content: center;
  }
  .heroprice {
    margin-top: 20px;
  }
  section {
    padding: 48px 0;
  }
  .sub {
    font-size: 17px;
  }
  .quotes {
    margin-top: 32px;
  }
  .q.big p {
    font-size: 22px;
  }
  .ladder {
    grid-template-columns: 1fr 1fr;
  }
  .offercard {
    padding: 26px 20px;
  }
  .line .name {
    font-size: 15px;
  }
  .total .amt {
    font-size: 32px;
  }
  .obj summary {
    padding: 20px 0;
    gap: 16px;
  }
  .obj summary .qx {
    font-size: 19px;
  }
  .guar .card {
    padding: 36px 24px;
  }
  .guar p {
    font-size: 16px;
  }
  .close .wrap {
    padding: 64px 20px;
  }
  .footlogo {
    height: 60px;
  }
}
