:root {
  color-scheme: light;
  --bg: #f7f1e8;
  --surface: #fffaf3;
  --ink: #1d2523;
  --muted: #66706a;
  --line: #ded3c4;
  --coral: #d97058;
  --coral-dark: #a94d39;
  --sage: #7f927d;
  --blue: #173f57;
  --gold: #c99a4a;
  --shadow: 0 24px 70px rgba(29, 37, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(247, 241, 232, 0.9);
  border-bottom: 1px solid rgba(222, 211, 196, 0.75);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.72rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.brand-name {
  display: inline-block;
  padding-top: 2px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a,
.site-footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.button.primary {
  background: var(--ink);
  color: var(--surface);
  box-shadow: 0 12px 28px rgba(29, 37, 35, 0.18);
}

.button.secondary {
  background: rgba(255, 250, 243, 0.72);
  color: var(--ink);
  border-color: var(--line);
}

.button.disabled {
  background: #e6ded2;
  color: #8a8175;
  border-color: #d6cbbd;
  cursor: not-allowed;
}

.button:not(.disabled):hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(29, 37, 35, 0.2);
}

.section-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.96fr);
  align-items: center;
  gap: clamp(28px, 5vw, 58px);
  min-height: min(720px, calc(100vh - 116px));
  padding: 28px 0 24px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 5.25vw, 4.95rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.2;
}

.hero-lead,
.section-intro p,
.lead-magnet p,
.about-card p,
.contact-layout p {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 440px;
  margin: 0;
}

.hero-metrics div {
  min-height: 88px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.62);
}

.hero-metrics dt {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 850;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-visual {
  position: relative;
  min-height: 350px;
}

.hero-visual img {
  width: 100%;
  min-height: 350px;
  max-height: 530px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.portrait-visual img {
  object-position: center 34%;
}

.visual-panel {
  position: absolute;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  width: min(300px, calc(100% - 28px));
  padding: 18px;
  border: 1px solid rgba(255, 250, 243, 0.55);
  border-radius: 8px;
  background: rgba(29, 37, 35, 0.86);
  color: var(--surface);
  backdrop-filter: blur(12px);
}

.panel-label {
  display: block;
  margin-bottom: 8px;
  color: #f5b5a5;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-panel p {
  margin: 8px 0 0;
  color: rgba(255, 250, 243, 0.76);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-strip span {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 14px;
  background: #eee5d8;
  color: var(--blue);
  font-weight: 780;
  text-align: center;
}

.lead-magnet,
.split,
.about,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding: clamp(70px, 10vw, 120px) 0;
}

.lead-magnet {
  align-items: center;
}

.signup-form,
.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(29, 37, 35, 0.08);
}

.ebook-summary {
  align-self: stretch;
}

.summary-kicker {
  color: var(--coral-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--blue);
  font-weight: 760;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
}

label {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d8cbb9;
  border-radius: 8px;
  background: #fffdf9;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(217, 112, 88, 0.16);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.section-intro {
  position: sticky;
  top: 104px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.price-card,
.about-card,
.quote-card,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.76);
}

.service-card {
  min-height: 232px;
  padding: 24px;
}

.card-index {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--coral-dark);
  font-weight: 850;
}

.service-card p,
.price-card p,
.timeline p,
.quote-card p {
  color: var(--muted);
}

.process-band {
  background: #111513;
  color: var(--surface);
  padding: clamp(70px, 10vw, 110px) 0;
}

.process-band .eyebrow {
  color: #ffd8c8;
}

.process-band h2 {
  max-width: 900px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.timeline article {
  min-height: 230px;
  padding: 22px;
  background: rgba(255, 250, 243, 0.08);
  border-color: rgba(255, 250, 243, 0.22);
}

.timeline span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 32px;
  border-radius: 50%;
  background: var(--coral-dark);
  color: var(--surface);
  font-weight: 900;
}

.timeline p {
  color: rgba(255, 250, 243, 0.72);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(70px, 10vw, 110px) 0 30px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: clamp(70px, 10vw, 120px);
}

.ebook-pricing {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.price-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 350px;
  padding: 26px;
}

.price-card.featured {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.price-card.featured p {
  color: rgba(255, 250, 243, 0.72);
}

.price-card.payment-ready {
  background: #edf0e8;
  border-color: #c7d0c0;
}

.price-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.price-topline span {
  flex: 0 0 auto;
  max-width: 120px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(217, 112, 88, 0.14);
  color: var(--coral-dark);
  font-size: 0.72rem;
  font-weight: 850;
  text-align: center;
}

.featured .price-topline span {
  background: rgba(239, 179, 139, 0.18);
  color: #f5c3a0;
}

.price {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 900;
}

.featured .price {
  color: var(--surface);
}

.checkout-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-points li {
  position: relative;
  padding-left: 26px;
  color: rgba(255, 250, 243, 0.78);
  font-size: 0.95rem;
}

.checkout-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.checkout-card .checkout-open {
  width: 100%;
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}

.payment-ready .button {
  align-self: end;
}

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

.about-card,
.quote-card {
  padding: clamp(22px, 4vw, 36px);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--blue);
  font-weight: 760;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sage);
}

.quote-card {
  align-self: stretch;
  display: grid;
  align-content: center;
  background: #e8d7c8;
}

.quote-card p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.8vw, 2.5rem);
  line-height: 1.12;
  font-weight: 850;
}

.quote-card span {
  margin-top: 24px;
  color: var(--coral-dark);
  font-weight: 850;
}

.contact-band {
  background: #e9eee3;
  border-top: 1px solid #cbd7c4;
}

.contact-layout {
  align-items: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: rgba(255, 250, 243, 0.78);
}

.site-footer p {
  margin: 0;
}

.cookie-banner {
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 32px);
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(620px, calc(100% - 28px));
  padding: 18px;
  border: 1px solid rgba(255, 250, 243, 0.18);
  border-radius: 8px;
  background: rgba(17, 21, 19, 0.94);
  color: var(--surface);
  box-shadow: 0 24px 70px rgba(17, 21, 19, 0.24);
  backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 250, 243, 0.75);
  font-size: 0.92rem;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions .button {
  min-height: 42px;
  padding-inline: 16px;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(17, 21, 19, 0.66);
  backdrop-filter: blur(12px);
}

.checkout-modal[hidden] {
  display: none;
}

.checkout-dialog {
  position: relative;
  width: min(540px, 100%);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(17, 21, 19, 0.28);
}

.checkout-dialog h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

.checkout-copy {
  margin: 16px 0 22px;
  color: var(--muted);
}

.checkout-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fffdf9;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.secure-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.secure-row span {
  display: grid;
  min-height: 40px;
  place-items: center;
  border: 1px solid #d8cbb9;
  border-radius: 8px;
  background: #fffdf9;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .lead-magnet,
  .split,
  .about,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 34px;
  }

  .section-intro {
    position: static;
  }

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

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

@media (max-width: 620px) {
  .section-shell {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    font-size: 1.48rem;
  }

  .main-nav {
    gap: 16px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(2.35rem, 10.8vw, 3rem);
    line-height: 1;
  }

  .button,
  .signup-form .button,
  .contact-form .button {
    width: 100%;
  }

  .hero {
    gap: 18px;
    padding: 18px 0 14px;
  }

  .hero-lead {
    margin-bottom: 0;
    font-size: 0.98rem;
  }

  .hero-actions {
    width: 100%;
    gap: 8px;
    margin: 18px 0;
  }

  .hero-actions .button {
    flex: 1 1 148px;
    width: auto;
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .hero-metrics,
  .service-grid,
  .timeline,
  .pricing-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .hero-metrics div,
  .service-card,
  .timeline article,
  .price-card {
    min-height: auto;
  }

  .hero-metrics div {
    padding: 9px 7px;
  }

  .hero-metrics dt {
    font-size: 1rem;
  }

  .hero-metrics dd {
    margin-top: 4px;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 470px;
  }

  .hero-visual img {
    height: 480px;
  }

  .portrait-visual img {
    object-position: center 46%;
  }

  .visual-panel {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: min(230px, calc(100% - 20px));
    padding: 12px;
  }

  .visual-panel p {
    display: none;
  }

  .section-heading,
  .site-footer {
    display: grid;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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