:root {
  --navy: #1B2A4A;
  --gold: #B08D4F;
  --cream: #F2EEE6;
  --ink: #172033;
  --muted: #687086;
  --white: #fffaf1;
  --line: rgba(27, 42, 74, .14);
  --shadow: 0 24px 70px rgba(27, 42, 74, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Archivo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 241, .9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(27, 42, 74, .08);
}
.brand img { width: 154px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--navy); }
.nav-cta { padding: 10px 16px; border: 1px solid var(--gold); border-radius: 999px; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); }
.section { padding: clamp(72px, 8vw, 120px) 0; }
.section-dark { background: var(--navy); color: var(--cream); }
.section-cream { background: var(--cream); }
.section-feature { background: linear-gradient(135deg, var(--navy) 0%, #233458 100%); color: var(--cream); }

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -.03em;
}
h1 { font-size: clamp(46px, 7vw, 82px); max-width: 790px; }
h2 { font-size: clamp(34px, 5vw, 58px); }
h3 { font-size: clamp(24px, 3vw, 32px); }
p { margin: 0 0 18px; }
strong { font-weight: 700; }

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow.navy { color: var(--navy); }
.eyebrow.gold { color: var(--gold); }

.hero { padding: clamp(80px, 9vw, 140px) 0; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(176, 141, 79, .25), transparent 34%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, .72fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-lede { font-size: clamp(18px, 2vw, 22px); color: rgba(242, 238, 230, .86); max-width: 720px; }
.hero-copy p:not(.eyebrow):not(.microcopy) { max-width: 720px; color: rgba(242, 238, 230, .88); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 30px 0 14px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(0,0,0,.16); }
.button-primary { background: var(--gold); color: var(--navy); }
.button-secondary { background: var(--navy); color: var(--cream); }
.button-ghost { border-color: rgba(242, 238, 230, .4); color: var(--cream); }
.full { width: 100%; }
.microcopy { font-size: 14px; color: rgba(242, 238, 230, .72); }
.microcopy.dark { color: rgba(27, 42, 74, .68); }

.hero-card, .optin-card, .benefit-card, .tool-card, .testimonial-placeholder {
  border: 1px solid rgba(176, 141, 79, .28);
  box-shadow: var(--shadow);
}
.hero-card {
  position: relative;
  padding: 34px;
  background: rgba(242, 238, 230, .08);
  border-radius: 28px;
  overflow: hidden;
}
.door-mark { position: absolute; top: -44px; right: 20px; color: rgba(176,141,79,.18); font-size: 170px; line-height: 1; font-family: Georgia, serif; }
.card-kicker, .form-kicker, .price { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; margin-bottom: 14px; }
.check-list { list-style: none; padding: 0; margin: 24px 0; }
.check-list li { margin: 12px 0; padding-left: 28px; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.insider-note { padding: 18px; border-left: 3px solid var(--gold); background: rgba(176,141,79,.12); border-radius: 12px; font-size: 15px; }
.insider-note.light { background: rgba(176,141,79,.16); color: var(--ink); }

.section-heading { max-width: 760px; margin-bottom: 42px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit-card, .tool-card, .testimonial-placeholder { background: var(--white); border-radius: 24px; padding: 28px; }
.benefit-card span { color: var(--gold); font-weight: 800; letter-spacing: .12em; }
.benefit-card h3, .tool-card h3 { margin-top: 18px; font-size: 27px; }
.benefit-card p, .tool-card p { color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: 1.1fr .8fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.feature-copy p { color: rgba(242, 238, 230, .86); }
.included { margin-top: 28px; }
.included-item { padding: 22px 0; border-top: 1px solid rgba(242, 238, 230, .2); }
.optin-card { background: var(--cream); color: var(--ink); border-radius: 28px; padding: clamp(28px, 4vw, 42px); position: sticky; top: 96px; }
.optin-card h3 { color: var(--navy); }
label { display: block; font-size: 13px; font-weight: 700; margin: 18px 0 8px; color: var(--navy); }
input { width: 100%; min-height: 54px; border: 1px solid rgba(27,42,74,.22); border-radius: 14px; padding: 0 16px; font: inherit; margin-bottom: 16px; background: var(--white); }
input:focus { outline: 3px solid rgba(176,141,79,.25); border-color: var(--gold); }

.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 86px); align-items: start; }
.story-copy { font-size: 18px; }
.quote-line { font-family: 'Fraunces', Georgia, serif; color: var(--navy); font-size: clamp(26px, 3vw, 40px); line-height: 1.15; }
.tagline { font-family: 'Fraunces', Georgia, serif; font-size: 30px; color: var(--navy); }

.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tool-card { display: flex; flex-direction: column; min-height: 310px; }
.tool-card.bundle { background: var(--cream); border-color: var(--gold); }
.text-link { color: var(--navy); font-weight: 800; text-decoration-color: var(--gold); text-underline-offset: 4px; margin-top: auto; }
.center-cta { text-align: center; margin-top: 44px; }
.center { text-align: center; }
.center .button, .center-row { justify-content: center; }
.community p { color: rgba(242, 238, 230, .84); }

.testimonial-placeholder { max-width: 620px; }
.testimonial-placeholder p { font-family: 'Fraunces', Georgia, serif; font-size: 28px; color: var(--navy); }
.testimonial-placeholder span { color: var(--muted); }

.footer { padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1fr 260px; gap: 48px; }
.footer-logo { width: 180px; background: var(--cream); border-radius: 12px; padding: 8px; margin-bottom: 26px; }
.footer p { color: rgba(242, 238, 230, .78); max-width: 700px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--cream); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(242, 238, 230, .18); font-size: 13px; }

.thank-you { min-height: 100vh; display: grid; place-items: center; padding: 70px 0; }
.thank-logo { width: 220px; background: var(--cream); padding: 10px; border-radius: 18px; margin: 0 auto 34px; }
.thank-you-page .insider-note { margin-top: 34px; text-align: left; }

.download-card {
  margin: 34px auto 26px;
  padding: clamp(26px, 4vw, 40px);
  max-width: 680px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid rgba(176,141,79,.45);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
}
.download-card h2 {
  color: var(--navy);
  margin-bottom: 12px;
}
.download-card p:not(.card-kicker) {
  color: var(--muted);
  margin-bottom: 24px;
}

.kit-includes {
  display: grid;
  gap: 16px;
  margin: 22px 0 28px;
  text-align: left;
}
.kit-includes div {
  padding: 18px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(176,141,79,.28);
  border-radius: 18px;
}
.kit-includes strong {
  display: block;
  color: var(--navy);
  margin-bottom: 7px;
}
.kit-includes span {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .hero-grid, .feature-grid, .story-grid, .footer-grid { grid-template-columns: 1fr; }
  .benefit-grid, .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .optin-card { position: static; }
}
@media (max-width: 720px) {
  .site-header { align-items: flex-start; }
  .brand img { width: 128px; }
  .nav { display: none; }
  .container, .narrow { width: min(100% - 28px, 1120px); }
  .section { padding: 64px 0; }
  .hero { padding: 70px 0; }
  .benefit-grid, .tools-grid { grid-template-columns: 1fr; }
  .cta-row { align-items: stretch; }
  .button { width: 100%; }
  .hero-card, .benefit-card, .tool-card, .optin-card { border-radius: 20px; }
}

.brevo-iframe-wrap {
  margin: 8px 0 4px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}
.brevo-iframe-wrap iframe {
  width: 100%;
  min-height: 560px;
  border: 0;
  display: block;
}

/* Brevo form integration — styled to match iHart's premium brand system */
.brevo-optin .sib-form-message-panel {
  display: none;
  width: 100%;
  max-width: none;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 14px;
  text-align: left;
}
.brevo-optin .error-message {
  color: #661d1d;
  background: #ffeded;
  border: 1px solid #ff4949;
}
.brevo-optin .success-message {
  color: #085229;
  background: #e7faf0;
  border: 1px solid #13ce66;
}
.brevo-optin .ihart-sib-container {
  max-width: none;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: left;
  direction: ltr;
}
.brevo-optin .sib-form-block,
.brevo-optin .sib-input,
.brevo-optin .ihart-field-block {
  padding: 0 !important;
  margin: 0;
}
.brevo-optin .entry__field {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.brevo-optin .entry__label {
  display: block;
  font-family: 'Archivo', system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  margin: 18px 0 8px;
  text-align: left !important;
}
.brevo-optin input.input {
  width: 100% !important;
  min-height: 54px;
  border: 1px solid rgba(27,42,74,.22) !important;
  border-radius: 14px !important;
  padding: 0 16px !important;
  font-family: 'Archivo', system-ui, sans-serif !important;
  font-size: 16px !important;
  color: var(--ink) !important;
  background: var(--white) !important;
  margin-bottom: 8px !important;
}
.brevo-optin input.input::placeholder {
  color: rgba(104,112,134,.72) !important;
}
.brevo-optin input.input:focus {
  outline: 3px solid rgba(176,141,79,.25) !important;
  border-color: var(--gold) !important;
}
.brevo-optin .ihart-entry-error {
  display: block;
  margin: 0 0 8px;
  font-family: 'Archivo', system-ui, sans-serif !important;
  font-size: 13px !important;
  color: #661d1d !important;
  background: transparent !important;
  border: 0 !important;
  text-align: left !important;
}
.brevo-optin .ihart-entry-specification {
  display: block;
  margin: 0 0 18px;
  font-family: 'Archivo', system-ui, sans-serif !important;
  font-size: 12px !important;
  color: rgba(27,42,74,.68) !important;
  text-align: left !important;
}
.brevo-optin .sib-form-block__button {
  font-family: 'Archivo', system-ui, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-align: center !important;
  color: var(--navy) !important;
  background-color: var(--gold) !important;
  border-width: 0 !important;
  border-radius: 999px !important;
}
.brevo-optin .sib-form-block__button svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}
