:root {
  --cream: #FFF8F0;
  --cream-dark: #F6EDE1;
  --tomato: #C8442B;
  --olive: #6B7A3A;
  --orange: #FB5F12;
  --navy: #082646;
  --navy-deep: #051A31;
  --line: #DDD6CC;
  --gray: #5E6670;
  --light-gray: #C9CED6;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
}

h2 {
  font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem);
  margin-bottom: 1.75rem;
}

p { margin: 0; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section.alt { background: var(--cream-dark); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 18px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn-primary {
  background: #FB5F12;
  border-color: #FB5F12;
  color: #FFFFFF;
}
.btn-primary:hover { text-decoration: underline; text-underline-offset: 3px; }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #FFFFFF; }

.on-dark .btn-outline { border-color: #FFFFFF; color: #FFFFFF; }
.on-dark .btn-outline:hover { background: #FFFFFF; color: var(--navy); }

.btn:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; }

.btn-small { height: 40px; padding: 0 16px; font-size: 0.875rem; }

.cta-pair {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.cta-primary {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.reassure {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--gray);
  text-align: center;
}
.on-dark .reassure { color: var(--light-gray); }

@media (min-width: 560px) {
  .btn { padding: 0 24px; font-size: 1rem; }
  .btn-small { padding: 0 16px; font-size: 0.875rem; }
  .cta-pair { flex-direction: row; align-items: flex-start; flex-wrap: wrap; gap: 14px; }
  .cta-primary { align-items: center; }
  .cta-pair.centered { justify-content: center; }
}

/* Check lists */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li {
  position: relative;
  padding-left: 28px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23C8442B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Header */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
}
.logo span { color: var(--orange); }

/* Hero */
.hero { padding: 36px 0 44px; }
.hero-grid { display: grid; gap: 36px; }
.label {
  display: inline-block;
  background: var(--navy);
  color: #FFFFFF;
  border-left: 4px solid var(--tomato);
  padding: 6px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.875rem, 1.2rem + 2.2vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 18px;
}
.lead {
  font-size: 1.0625rem;
  max-width: 58ch;
  margin-bottom: 26px;
}
.hero-checks { margin-top: 26px; }
.hero-checks li + li { margin-top: 8px; }
.hero-art svg { display: block; width: 100%; max-width: 480px; height: auto; margin: 0 auto; }

@media (min-width: 900px) {
  .hero { padding-top: 48px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
  }
}

/* Signature divider */
.divider {
  position: relative;
  height: 6px;
  border-top: 1px solid var(--tomato);
  border-bottom: 1px solid var(--tomato);
  margin: 56px 0;
}
.divider-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--tomato);
  display: flex;
  align-items: center;
  justify-content: center;
}
.divider-icon svg { width: 22px; height: 22px; }
.hero .divider { margin: 56px 0 0; }

/* Where the tables are going */
.losses {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.losses::before {
  content: "";
  position: absolute;
  left: 52px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--tomato);
}
.losses li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 24px;
}
.loss-num {
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--tomato);
  padding-top: 18px;
}
.loss-body { padding: 22px 0; max-width: 62ch; }
.losses li + li .loss-body { border-top: 1px dotted rgba(8, 38, 70, 0.35); }
.losses li:first-child .loss-num, .losses li:first-child .loss-body { padding-top: 0; }
.loss-body h3 { font-size: 1.3rem; margin-bottom: 6px; }
.loss-close {
  margin-top: 28px;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--navy);
}

/* AI example */
.example-grid { display: grid; gap: 36px; }
.example-copy p { max-width: 52ch; font-size: 1.0625rem; }
.phone {
  width: 100%;
  max-width: 330px;
  background: var(--navy);
  border-radius: 42px;
  padding: 30px 12px 14px;
  position: relative;
  box-shadow: 0 18px 40px rgba(8, 38, 70, 0.14);
}
.phone::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 56px;
  height: 5px;
  margin-left: -28px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.28);
}
.phone-screen {
  position: relative;
  background: #FFFFFF;
  border-radius: 30px;
  padding: 44px 14px 14px;
  font-size: 0.875rem;
  line-height: 1.45;
}
.phone-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #EEEBE6;
  color: var(--gray);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 10px;
}
.msg { border-radius: 16px; padding: 10px 12px; }
.msg-user {
  background: var(--navy);
  color: #FFFFFF;
  margin-left: 36px;
  border-bottom-right-radius: 4px;
}
.msg-ai {
  background: #EEEBE6;
  color: var(--navy);
  margin-top: 10px;
  margin-right: 20px;
  border-bottom-left-radius: 4px;
}
.msg-ai p + p { margin-top: 6px; }
.not-mentioned {
  margin-top: 10px;
  background: #FBE3DE;
  color: #9E2A16;
  font-weight: 600;
  border-radius: 10px;
  padding: 9px 12px;
}
.phone-input {
  margin-top: 12px;
  height: 36px;
  border: 1px solid #D6D1CA;
  border-radius: 18px;
  position: relative;
}
.phone-input span {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--tomato);
}

@media (min-width: 900px) {
  .example-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 64px;
    align-items: center;
  }
}

/* Report */
.report-grid { display: grid; gap: 36px; }
.report-art svg { display: block; width: 100%; max-width: 360px; height: auto; }
.report-copy .checks { margin-bottom: 28px; }
.report-copy .checks li + li { margin-top: 10px; }
.small-gray { font-size: 0.8125rem; color: var(--gray); margin-top: 18px; max-width: 65ch; }

@media (min-width: 900px) {
  .report-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
  }
}

/* Weekly */
.weekly { display: grid; column-gap: 48px; }
.weekly li {
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.weekly li::before { top: calc(14px + 0.35em); }
@media (min-width: 760px) {
  .weekly { grid-template-columns: 1fr 1fr; }
}

.price-box {
  margin-top: 44px;
  background: var(--navy);
  border-left: 4px solid var(--tomato);
  color: #FFFFFF;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.price {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 10px;
}
.price-text p + p { margin-top: 4px; }
@media (min-width: 900px) {
  .price-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 40px 44px;
  }
  .price-box .cta-pair { flex-wrap: nowrap; }
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}
.steps li { position: relative; padding-left: 56px; }
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: -28px;
  width: 1px;
  background: var(--navy);
}
.step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tomato);
  color: #FFFFFF;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps p { padding-top: 6px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .steps li { padding-left: 0; padding-top: 56px; }
  .steps li:not(:last-child)::after {
    left: 36px;
    right: -32px;
    top: 18px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .steps p { padding-top: 0; padding-right: 8px; }
}

/* About */
.about { display: flex; flex-direction: column; gap: 24px; }
.avatar {
  position: relative;
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--navy);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-initials {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.25rem;
  color: var(--tomato);
}
.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-body { max-width: 65ch; }
.about-body h2 { margin-bottom: 16px; }
.about-body > p:first-of-type { font-size: 1.0625rem; }
.signature { margin-top: 14px; font-size: 0.875rem; color: var(--gray); }
.facts {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--gray);
}
@media (min-width: 700px) {
  .about { flex-direction: row; gap: 40px; align-items: flex-start; }
  .avatar { width: 128px; height: 128px; }
}

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--tomato); outline-offset: 4px; }
.pm { position: relative; flex: 0 0 14px; width: 14px; height: 14px; }
.pm::before, .pm::after {
  content: "";
  position: absolute;
  background: var(--navy);
}
.pm::before { left: 0; right: 0; top: 6px; height: 2px; }
.pm::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.faq details[open] .pm::after { display: none; }
.faq details p { padding: 0 34px 20px 0; max-width: 65ch; }
.faq-section .divider { margin: 64px 0 0; }
.faq-section .divider-icon { background: var(--cream); }

/* Final CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 76px 0;
}
.final-pattern { position: absolute; inset: 0; opacity: 0.07; }
.final-inner { position: relative; }
.final-cta h2 {
  color: #FFFFFF;
  text-align: center;
  max-width: 22ch;
  margin: 0 auto 32px;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: var(--light-gray);
  text-align: center;
  font-size: 0.8125rem;
  padding: 32px 0;
}
.site-footer p + p { margin-top: 6px; }
.site-footer a { color: var(--light-gray); }
.site-footer a:hover { color: #FFFFFF; }

/* Sticky mobile bar */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--cream);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform .2s ease, visibility .2s;
  }
  .sticky-cta.is-visible { transform: translateY(0); visibility: visible; }
  .sticky-cta .btn { width: 100%; }
  .site-footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta, .btn { transition: none; }
}
