/* ELESTÉ — styles */

:root {
  /* oxblood is the brand colour. It must match the flat background
     baked into images/hero.jpg — change one and change the other. */
  /* bordeaux, brown and cream.
     --hero-bg must match the backdrop baked into images/hero.jpg,
     or you get a visible step where the photo meets the page. */
  --ox:       #4A2630;   /* bordeaux */
  --ox-deep:  #3B1F27;
  --ox-soft:  #7A4C55;
  --brown:    #6E4B3C;
  --tan:      #D8AC9C;

  --hero-bg: #E6DFD1;
  --bone: #F5EDE2;
  --sage-pale: #F0E7DA;
  --cream: #FCF9F4;
  --forest: #4A2630;
  --ink: #2B1E22;
  --body: #3E3236;
  --muted: #5E4F52;
  --soft: #4E4044;
  --line: #E2D7C8;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: Inter, system-ui, -apple-system, sans-serif;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.68;
  color: #1C2720;
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: #8C5E48; }
a:hover { color: #6E4836; }

.wrap { max-width: 1240px; width: 100%; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 1100px; width: 100%; margin: 0 auto; padding: 0 32px; }
.wrap-text { max-width: 760px; width: 100%; margin: 0 auto; padding: 0 32px; }

/* the small label above each section heading */
.eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ox);
  display: block;
}
.eyebrow-light { color: #EDC4AC; }

h1, h2, h3 { margin: 0; }
h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(26px, 2.9vw, 42px); line-height: 1.22;
  letter-spacing: 0.005em; color: var(--ink);
  max-width: 16em; white-space: pre-line;
}
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(31px, 3.3vw, 45px); line-height: 1.15; letter-spacing: -0.008em; color: var(--ink); }
h2.on-dark { color: #F6F4EC; }

/* ---------- brand lockup ---------- */
.brandlock {
  display: inline-flex; flex-direction: column; align-items: center;
  gap: 3px; color: var(--ink);
}
.logo-word {
  font-family: var(--serif); font-weight: 500; font-size: 41px;
  letter-spacing: 0.25em; text-indent: 0.25em; line-height: 1.06; white-space: nowrap;
}
.logo-by {
  font-family: var(--sans); font-weight: 400; font-size: 14px;
  line-height: 1.2; letter-spacing: 0.02em;
}
.logo-cyph {
  font-family: var(--sans); font-weight: 800; font-size: 21.5px;
  letter-spacing: 0.21em; text-indent: 0.21em; line-height: 1.1; white-space: nowrap;
}

/* ---------- floating buy button ---------- */
.buy-float {
  position: fixed; top: 34px; right: 28px; z-index: 120;
  background: var(--ox); color: #FDFCF7;
  border: none; text-decoration: none;
  font-size: 15px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 17px 34px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 0 0 3px rgba(250,248,242,0.92), 0 10px 28px rgba(40,22,27,0.30);
  transition: background .15s, box-shadow .15s;
}
.buy-float:hover {
  color: #fff; background: #1F2E22;
  box-shadow: 0 0 0 3px rgba(250,248,242,1), 0 12px 32px rgba(40,22,27,0.40);
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--hero-bg);
  min-height: 700px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 78% center;
  display: block; z-index: 1;
}
.hero-pic { display: contents; }

/* USP bar */
.uspband { background: var(--bone); padding: 56px 0; }
.usps { display: flex; flex-wrap: wrap; gap: 30px 36px; }
.usp { flex: 1 1 170px; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.usp-val { font-family: var(--serif); font-weight: 600; font-size: clamp(25px, 2.5vw, 33px); line-height: 1.14; color: var(--ox); }
.usp-lab { font-size: 14.5px; color: var(--brown); line-height: 1.35; letter-spacing: 0.02em; }

.hero-logo { position: absolute; top: 0; left: 0; right: 0; z-index: 6; padding-top: 22px; }
.hero-head { position: relative; display: flex; align-items: flex-start; min-height: 58px; }
.hero-head .brandlock { flex: none; }

.hero-body { position: relative; z-index: 3; padding-top: 190px; padding-bottom: 110px; display: flex; flex-direction: column; gap: 32px; }
.hero-body h1 { color: var(--ink); }
.hero-body p { margin: 0; max-width: 38ch; color: #4A3C3A; font-size: 19px; font-weight: 500; line-height: 1.7; }
.hero-promise {
  font-family: var(--serif); font-weight: 600; font-style: italic;
  font-size: clamp(24px, 2.2vw, 32px); line-height: 1.25;
  color: var(--ox); margin: -10px 0 0;
}
.hero-body .eyebrow { margin-bottom: -6px; font-weight: 700; color: var(--ox); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 4px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; font-size: 14px; color: var(--brown); }
.hero-trust i { color: #A98B74; font-style: normal; }

.btn-solid {
  background: var(--ox); color: #FCF9F4; text-decoration: none;
  font-size: 16.5px; font-weight: 600; letter-spacing: 0.03em;
  padding: 18px 38px; border-radius: 999px; display: inline-block;
  box-shadow: 0 8px 22px rgba(74,38,48,0.22);
}
.btn-solid:hover { color: #fff; background: var(--ox-deep); }
.btn-ghost {
  color: var(--ox); text-decoration: none; font-size: 16.5px; font-weight: 500;
  padding: 18px 26px; border-radius: 999px;
  border: 1px solid rgba(74,38,48,0.38); display: inline-block;
}
.btn-ghost:hover { color: var(--ox); background: rgba(74,38,48,0.06); border-color: var(--ox); }

/* ---------- sections ---------- */
.band { padding: 100px 0; }
.band-pale { background: var(--sage-pale); }
.band-cream { background: var(--cream); }
.band-dark { background: var(--ox-deep); color: #EDE4E2; }

.stack { display: flex; flex-direction: column; gap: 26px; }
.stack p { margin: 0; color: var(--body); }
.band-dark .stack p { color: #DACFCD; }
.pull {
  margin: 8px 0 0; font-family: var(--serif); font-size: clamp(25px, 2.5vw, 32px);
  font-weight: 500; line-height: 1.4; color: var(--forest);
  border-top: 1px solid #E4DCD1; padding-top: 28px;
}
.section-head { max-width: 720px; display: flex; flex-direction: column; gap: 18px; margin-bottom: 50px; }
.section-head p { margin: 0; color: var(--soft); }
.band-dark .section-head p { color: #DACFCD; }
.lede { margin: 0; font-size: 17.5px; color: #DACFCD; }
.subnote { margin: 0; font-size: 15px; color: var(--muted); }
.band-dark .subnote { color: #B5A3A2; }
.faq-title { margin-bottom: 44px; }

/* ---------- steps ---------- */
.steps { display: flex; flex-wrap: wrap; gap: 20px; }
.step {
  flex: 1 1 230px; min-width: 0; background: #fff; border: 1px solid #EDE5DB;
  border-radius: 18px; padding: 36px 30px; display: flex; flex-direction: column; gap: 14px;
}
.step-dark { background: var(--ox-deep); border-color: var(--ox-deep); }
.step-num { font-family: var(--serif); font-size: 42px; color: #B98D7F; line-height: 1; }
.step-dark .step-num { color: #C9A090; }
.step h3 { font-size: 20.5px; font-weight: 600; color: var(--ink); }
.step-dark h3 { color: #F6F4EC; }
.step p { margin: 0; font-size: 16.5px; color: var(--soft); }
.step-dark p { color: #E0D5D3; }

/* ---------- report list ---------- */
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > .col-a { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split > .col-b { flex: 1 1 380px; min-width: 0; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.checklist li { position: relative; padding: 16px 0 16px 31px; border-bottom: 1px solid #5A3A42; color: #EDE4E2; font-size: 17px; }
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 21px; width: 18px; height: 18px;
  background-color: #D8AC9C;
  -webkit-mask: var(--tick) no-repeat center / contain;
          mask: var(--tick) no-repeat center / contain;
}

/* ---------- results ---------- */
.carousel { position: relative; }
.car-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding: 2px 0;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track figure { flex: 0 0 calc((100% - 44px) / 3); margin: 0; scroll-snap-align: start; }
.car-track img {
  width: 100%; height: 430px; object-fit: contain; display: block;
  border-radius: 14px; border: 1px solid rgba(246,244,236,0.16);
  background: rgba(246,244,236,0.05);
}
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 999px; z-index: 4;
  background: var(--cream); color: var(--forest); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}
.car-btn:hover { background: #fff; }
.car-prev { left: -16px; }
.car-next { right: -16px; }
.fineprint { margin: 10px 0 0; font-size: 14px; color: var(--muted); max-width: 760px; }
.band-dark .fineprint { color: #A6908F; }

/* ---------- packages ---------- */
.plans { display: flex; flex-wrap: wrap; gap: 22px; align-items: stretch; }
.plan {
  flex: 1 1 260px; min-width: 0; background: var(--cream);
  border: 1px solid var(--line); border-radius: 22px; padding: 38px 32px;
  display: flex; flex-direction: column; gap: 17px;
  box-shadow: 0 3px 14px rgba(40,22,27,0.06);
}
.plan-dark { background: var(--ox-deep); border-color: var(--ox-deep); box-shadow: 0 10px 30px rgba(40,22,27,0.22); }
.plan-head { display: flex; flex-direction: column; gap: 6px; }
.plan-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.plan h3 { font-family: var(--serif); font-weight: 700; font-size: 37px; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }
.plan-dark h3 { color: #F6F4EC; }
.badge {
  background: #F3EDE4; color: var(--forest); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px;
  border-radius: 999px; margin-top: 15px; white-space: nowrap;
}
.plan-for { font-size: 13.5px; line-height: 1.38; min-height: 37px; color: var(--muted); }
.plan-dark .plan-for { color: #C8B6B5; }
.price {
  font-family: var(--sans); font-weight: 700; font-size: 48px; letter-spacing: -0.025em;
  line-height: 1; color: var(--forest); padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.plan-dark .price { color: #FFFFFF; border-bottom-color: rgba(246,244,236,0.24); }
.plan > p { margin: 0; font-size: 16.5px; color: var(--soft); }
.plan-dark > p { color: #E0D5D3; }
.features { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.features li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; color: var(--body); }
.features li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px;
  background-color: #7A4C55;
  -webkit-mask: var(--tick) no-repeat center / contain;
          mask: var(--tick) no-repeat center / contain;
}
.plan-dark .features li { color: #EDE4E2; }
.plan-dark .features li::before { background-color: #D8AC9C; }
.spacer { flex-grow: 1; }
.plan-btn {
  margin-top: 10px; text-align: center; background: var(--cream); color: var(--forest);
  border: 1px solid var(--forest); text-decoration: none; font-size: 16px; font-weight: 500;
  padding: 16px 20px; border-radius: 999px;
}
.plan-btn:hover { color: var(--forest); background: #fff; }
.plan-btn-light { background: #F3EDE4; color: var(--ink); border: none; font-weight: 600; padding: 17px 20px; }
.plan-btn-light:hover { color: var(--ink); background: #FFFFFF; }

/* billed-by line under each purchase button */
.pay-badge {
  display: block; text-align: center; margin-top: 10px;
  font-size: 12px; letter-spacing: 0.04em; color: var(--muted); line-height: 1.4;
}
.plan-dark .pay-badge { color: #AEBFA8; }

.pay-note {
  margin: 36px auto 0; font-size: 15px; line-height: 1.6; color: var(--soft);
  max-width: 640px; padding: 18px 24px; text-align: center;
  background: rgba(255,255,255,0.55); border: 1px solid var(--line); border-radius: 14px;
}
.note { margin: 22px 0 0; font-size: 16px; color: var(--soft); max-width: 680px; }

/* ---------- about ---------- */
.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.about-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-text p { margin: 0; color: var(--body); }
/* the certificate card follows you down the page while you read her story */
.about-side { flex: 0 1 320px; min-width: 0; position: sticky; top: 28px; }
.cert-card { background: var(--sage-pale); border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; }
.cert-card h3 { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: #42593F; font-weight: 600; }
.cert-list { display: flex; flex-direction: column; gap: 10px; }
.cert-item {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  background: var(--cream); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px; cursor: pointer; font-family: inherit;
}
.cert-item:hover { background: #fff; border-color: #D6BDB2; }
.cert-item img { width: 58px; height: 42px; object-fit: cover; border-radius: 6px; flex: none; display: block; border: 1px solid #E4DCD1; }
.cert-item span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cert-name { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.cert-org { font-size: 13px; color: var(--muted); line-height: 1.3; }
.cert-caption { margin: 2px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- faq ---------- */
/* questions collapse; the answers are still in the page for Google */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 19px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.faq summary:hover h3 { color: var(--ox); }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px; margin-right: 5px;
  border-right: 2px solid var(--ox); border-bottom: 2px solid var(--ox);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: -2px 0 22px; font-size: 16.5px; line-height: 1.65; color: var(--soft); max-width: 70ch; }

/* ---------- final cta ---------- */
.final { text-align: center; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final h2 { font-size: clamp(32px, 3.5vw, 48px); color: #F6F4EC; line-height: 1.16; }
.final p { margin: 0; color: #DACFCD; font-size: 18.5px; }
.final small { font-size: 15px; color: #B5A3A2; }
.final small a { color: #E8C4B5; }
.final .pay-badge { color: #B5A3A2; margin-top: -6px; font-size: 12.5px; }
.btn-light {
  background: #F3EDE4; color: var(--ink); text-decoration: none; font-size: 17px;
  font-weight: 600; letter-spacing: 0.03em; padding: 19px 46px; border-radius: 999px; margin-top: 6px;
}
.btn-light:hover { color: var(--ink); background: #FFFFFF; }

/* ---------- footer ---------- */
.foot { background: var(--cream); padding: 54px 0; }
.foot-in { display: flex; flex-wrap: wrap; gap: 24px 36px; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--muted); }
.foot .brandlock { gap: 2px; }
.foot .logo-word { font-size: 23px; letter-spacing: 0.24em; text-indent: 0.24em; }
.foot .logo-by { font-size: 10.5px; }
.foot .logo-cyph { font-size: 12.5px; letter-spacing: 0.2em; text-indent: 0.2em; }

/* ---------- certificate viewer ---------- */
.viewer {
  position: fixed; inset: 0; z-index: 200; background: rgba(30,18,22,0.93);
  display: flex; align-items: center; justify-content: center; padding: 28px;
}
.viewer[hidden] { display: none; }
.viewer img { max-width: 100%; max-height: 86vh; border-radius: 8px; display: block; background: #fff; }
.viewer button {
  position: absolute; top: 22px; right: 22px; width: 44px; height: 44px;
  border-radius: 999px; border: 1px solid rgba(246,244,236,0.45);
  background: rgba(30,18,22,0.6); color: #F6F4EC; font-size: 22px; line-height: 1;
  cursor: pointer; font-family: inherit;
}

/* ===========================================================
   MOBILE
   =========================================================== */
@media (min-width: 901px) {
  .hero-body { padding-left: 64px; padding-right: 64px; }
}

@media (max-width: 900px) {
  .wrap, .wrap-narrow, .wrap-text { padding: 0 24px; }
  .band { padding: 74px 0; }
  .split { gap: 36px; }
  .about { gap: 36px; }
  .about-side { position: static; flex: 1 1 320px; }

  .hero { min-height: 760px; justify-content: flex-start; }
  /* the mobile file is a tighter crop with her face at the right edge.
     It hangs slightly off the screen on purpose, so her face sits in the
     strip beside the text instead of behind it. */
  .hero-photo {
    inset: auto -14% 0 auto;
    width: auto; height: auto; max-width: 80%; max-height: 70%;
    object-fit: contain; object-position: right bottom;
  }
  .hero-body { padding-top: 140px; padding-bottom: 50px; gap: 22px; }
  .hero-body p { max-width: 28ch; }
  .hero-trust { display: none; }
  .hero-logo { padding-top: 18px; }
  .hero-head { min-height: 50px; }
  .usps { gap: 24px 26px; }
  .logo-word { font-size: 30px; letter-spacing: 0.22em; text-indent: 0.22em; }
  .logo-by { font-size: 12.5px; }
  .logo-cyph { font-size: 16px; letter-spacing: 0.18em; text-indent: 0.18em; }
  .buy-float { top: 20px; right: 16px; padding: 12px 20px; font-size: 13px; letter-spacing: 0.08em; }
  .car-track figure { flex: 0 0 100%; }
  .car-track img { height: 360px; }
  .car-btn { width: 40px; height: 40px; }
  .car-prev { left: -8px; }
  .car-next { right: -8px; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .hero { min-height: 700px; }
  .hero-photo { inset: auto -20% 0 auto; max-width: 96%; max-height: 72%; }
  .hero-body { padding-top: 124px; gap: 18px; }
  .hero-body h1 {
    font-size: 25px;
    text-shadow: 0 1px 10px rgba(242,235,224,0.95), 0 0 22px rgba(242,235,224,0.9);
  }
  .hero-body p {
    max-width: 25ch; font-size: 15.5px;
    text-shadow: 0 1px 9px rgba(242,235,224,0.95), 0 0 18px rgba(242,235,224,0.9);
  }
  .hero-body .eyebrow, .hero-promise { text-shadow: 0 1px 9px rgba(242,235,224,0.95); }
  /* wrap this to two lines so it stops short of her face */
  .hero-promise { max-width: 12ch; }
  .hero-actions .btn-ghost { display: none; }
  .hero-actions .btn-solid { padding: 16px 28px; font-size: 15.5px; }
  .cert-item img { width: 46px; height: 34px; }
  .usp { flex: 1 1 calc(50% - 13px); }
  .usp-lab { font-size: 13px; }
  .plan h3 { font-size: 32px; }
  .price { font-size: 41px; padding-bottom: 16px; }
  .logo-word { font-size: 24px; letter-spacing: 0.2em; text-indent: 0.2em; }
  .logo-by { font-size: 11px; }
  .logo-cyph { font-size: 13px; letter-spacing: 0.16em; text-indent: 0.16em; }
  .buy-float { padding: 11px 14px; font-size: 11.5px; letter-spacing: 0.06em; }
  .car-track img { height: 330px; }
  .pay-note { font-size: 14.5px; padding: 14px 16px; }
}
