:root {
  --blue:   #7FB2E0;
  --blue-deep: #4D8AC0;
  --navy:   #1F3A52;
  --tint:   #EAF3FB;   /* soft blue section bg */
  --cream:  #FFFFFF;   /* base */
  --cream-deep: #EAF3FB;
  --white:  #FFFFFF;
  --gray:   #6B7C8C;
  --line:   #E6EEF6;
  --radius: 16px;
  --radius-pill: 999px;
  --maxw: 1120px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--navy);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.1; margin: 0 0 .4em; color: var(--navy); }
h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); }
h1 em { font-style: italic; font-weight: 500; color: var(--blue-deep); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--blue-deep); text-decoration: none; }

/* icons */
[data-lucide] { width: 1em; height: 1em; stroke-width: 1.75; vertical-align: middle; }

/* ---- Logo (vector wordmark) ---- */
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; user-select: none; }
.logo-word {
  position: relative; font-family: "Parisienne", cursive; font-weight: 400;
  font-size: 2.6rem; color: var(--blue); line-height: .9; padding-right: .15em;
}
.logo-spark { position: absolute; top: -.05em; right: -.18em; width: .42em; height: .42em; fill: var(--blue); }
.logo-sub { font-family: "Inter", sans-serif; font-size: .58rem; letter-spacing: .42em; color: var(--blue); font-weight: 500; padding-left: .42em; margin-top: 2px; }
.footer-logo .logo-word { font-size: 2.9rem; }
.footer-logo { margin-bottom: 18px; }
.hero-logo { margin-bottom: 28px; }
.hero-logo .logo-word { font-size: clamp(3.4rem, 7vw, 5rem); }
.hero-logo .logo-sub { font-size: .72rem; letter-spacing: .5em; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer;
  border-radius: var(--radius-pill); padding: 15px 34px;
  font-family: "Inter", sans-serif; font-size: 1rem; font-weight: 600;
  transition: transform .18s var(--ease), background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-sm { padding: 10px 22px; font-size: .92rem; }
.btn-lg { padding: 17px 40px; font-size: 1.05rem; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 18px rgba(127,178,224,.35); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(77,138,192,.4); }
.btn-secondary { background: var(--navy); color: var(--white); }
.btn-secondary:hover { background: #16293a; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px #cdd9e5; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue-deep); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }

/* thin accent rule under headings */
.rule { display: inline-block; width: 48px; height: 3px; border-radius: 3px; background: var(--blue); margin-bottom: 22px; }

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 80px 24px;
  background: linear-gradient(160deg, #d4e8f7 0%, #eaf3fb 50%, #ffffff 100%);
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(127,178,224,.30), transparent 42%),
    radial-gradient(circle at 82% 72%, rgba(127,178,224,.22), transparent 42%);
}
.hero-inner { position: relative; max-width: 820px; }
.hero h1 { margin-bottom: .3em; }
.hero p { font-size: 1.22rem; color: var(--navy); opacity: .82; margin: 0 auto 2rem; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--blue-deep); font-size: 1.6rem; animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---- Value cards ---- */
.values {
  max-width: var(--maxw); margin: -56px auto 0; position: relative; z-index: 10;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 0 24px 16px;
}
.value {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; box-shadow: 0 12px 34px rgba(31,58,82,.07);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.value:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(31,58,82,.12); }
.value-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; background: var(--tint);
  color: var(--blue-deep); font-size: 1.5rem; margin-bottom: 18px;
  transition: transform .25s var(--ease), background .25s ease;
}
.value:hover .value-icon { transform: scale(1.08) rotate(-4deg); background: var(--blue); color: var(--white); }
.value h3 { margin-bottom: .35em; }
.value p { color: var(--gray); font-size: .98rem; margin: 0; }

.values--3 { grid-template-columns: repeat(3, 1fr); max-width: 960px; }

/* ---- How it works ---- */
.how { max-width: var(--maxw); margin: 0 auto; padding: 36px 24px 72px; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; padding: 16px 18px; }
.step-num {
  position: absolute; top: 0; right: 18px; font-family: "Fraunces", serif;
  font-size: 3.4rem; font-weight: 600; color: var(--tint); line-height: 1; z-index: 0;
}
.step-icon {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: var(--radius-pill); background: var(--blue); color: var(--white);
  font-size: 1.5rem; margin-bottom: 16px;
}
.step h3 { margin-bottom: .3em; }
.step p { color: var(--gray); margin: 0; }

/* ---- About band ---- */
.band { background: var(--tint); padding: 72px 24px; text-align: center; }
.band-inner { max-width: 760px; margin: 0 auto; }
.band-inner p { font-size: 1.18rem; color: var(--gray); margin-bottom: 2rem; }
.band-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Services ---- */
.services { max-width: var(--maxw); margin: 0 auto; padding: 72px 24px; }
.section-head { text-align: center; margin-bottom: 2.4rem; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 22px; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.service:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(31,58,82,.1); border-color: #d6e6f4; }
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; background: var(--tint);
  color: var(--blue-deep); font-size: 1.35rem; margin-bottom: 16px;
}
.service p { color: var(--gray); margin: 0; }

/* ---- Plans / Subscription ---- */
.plans { max-width: var(--maxw); margin: 0 auto; padding: 72px 24px; text-align: center; }
.plans-sub { color: var(--gray); max-width: 580px; margin: .4rem auto 0; }
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 3rem 0 2.4rem; padding-top: 14px; }
.tier {
  position: relative; padding: 34px 22px; text-align: center; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(31,58,82,.06);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tier:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(31,58,82,.12); }
.tier--featured { background: var(--blue); border-color: var(--blue); box-shadow: 0 18px 44px rgba(77,138,192,.32); }
.tier--featured .tier-cadence, .tier--featured .tier-save { color: var(--white); }
.tier-badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%,-50%);
  background: var(--navy); color: var(--white); font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; padding: 6px 14px; border-radius: var(--radius-pill); white-space: nowrap;
}
.tier-cadence { display: block; font-family: "Fraunces", serif; font-size: 1.5rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.tier-save { display: block; font-size: 1.05rem; font-weight: 600; color: var(--blue-deep); }
.plans-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; margin-bottom: 2.2rem; }
.plans-perks span { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font-weight: 500; font-size: .96rem; }
.plans-perks [data-lucide] { color: var(--blue-deep); }

/* segmented pickers (size + cadence) */
.picker { border: none; padding: 0; margin: 0; text-align: left; }
.picker legend { font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 8px; padding: 0; }
.picker label {
  display: flex; align-items: center; justify-content: center; padding: 11px 6px;
  border: 1.5px solid #D5E2EE; border-radius: var(--radius-pill); cursor: pointer;
  font-weight: 500; font-size: .9rem; color: var(--navy); white-space: nowrap;
  transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease), transform .15s var(--ease);
}
.picker label:hover { border-color: var(--blue); }
.picker label:has(input:checked) {
  border-color: var(--blue); background: var(--blue); color: var(--white);
  animation: picker-pop .3s var(--ease);
}
.picker input { position: absolute; opacity: 0; pointer-events: none; }
@keyframes picker-pop { 0% { transform: scale(1); } 45% { transform: scale(1.07); } 100% { transform: scale(1); } }

/* home-size: 3 x 2 grid */
.size-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* cadence: single row */
.cadence-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cadence-savings { display: block; margin-top: 10px; color: var(--blue-deep); font-weight: 600; font-size: .92rem; text-align: center; }
.cadence { margin-top: 4px; }

/* ---- Prim Promise ---- */
.promise { max-width: var(--maxw); margin: 0 auto; padding: 72px 24px; text-align: center; }
.promise-spark { font-size: 2rem; color: var(--blue); margin-bottom: 10px; display: inline-block; }
.promise-sub { color: var(--gray); max-width: 460px; margin: .4rem auto 0; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 3rem; }
.promise-item { display: grid; justify-items: center; gap: 6px; }
.promise-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: var(--radius-pill);
  background: var(--tint); color: var(--blue-deep); font-size: 1.6rem;
  box-shadow: 0 0 0 6px rgba(127,178,224,.12); margin-bottom: 8px;
}
.promise-num { font-family: "Fraunces", serif; font-size: 1.6rem; font-weight: 600; color: var(--navy); }
.promise-item p { color: var(--gray); max-width: 240px; margin: 0; }

/* ---- Brand band ---- */
.brand-band { background: var(--navy); color: var(--white); text-align: center; padding: 80px 24px; }
.brand-band h2 { color: var(--white); max-width: 720px; margin: 0 auto 1.8rem; }
.band-sparkle { font-size: 2.2rem; color: var(--blue); margin-bottom: 12px; display: inline-block; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }

/* ---- Quote ---- */
.quote-band { background: var(--tint); padding: 72px 24px; }
.quote-inner { max-width: 520px; margin: 0 auto; text-align: center; }
.quote-inner > p { color: var(--gray); margin-bottom: 1.4rem; }
.quote-form { display: grid; gap: 11px; }
.quote-form input, .quote-form select {
  width: 100%; padding: 13px 16px; font-size: 1rem; font-family: inherit;
  border: 1.5px solid #D5E2EE; border-radius: 12px; background: var(--white); color: var(--navy);
  transition: border-color .2s, box-shadow .2s;
}
.quote-form input:focus, .quote-form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(127,178,224,.18); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap [data-lucide] { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--gray); pointer-events: none; }
.quote-form .btn { margin-top: 6px; justify-content: center; }
/* honeypot — hidden spam trap */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* form fades/scales out on submit */
.quote-form { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.quote-form.out { opacity: 0; transform: scale(.97) translateY(-6px); pointer-events: none; }

/* thank-you: hidden until JS reveals it, then animates in */
.thanks { display: grid; place-items: center; gap: 8px; padding: 16px 8px; text-align: center;
  opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.thanks[hidden] { display: none; }
.thanks.in { opacity: 1; transform: none; }
.thanks h3 { color: var(--navy); margin: 0; }
.thanks p { margin: 0; color: var(--gray); }
.thanks-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: var(--radius-pill);
  background: var(--blue); color: var(--white); font-size: 1.9rem; margin-bottom: 6px;
  animation: pop .5s var(--ease) .15s both;
}
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* ---- Footer ---- */
.footer {
  position: relative; overflow: hidden;
  margin: 0 auto; padding: 72px 24px; text-align: center; background: var(--tint);
}
/* subtle sparkle watermark, Pink's-style */
.footer::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath d='M80 30 C83 70 90 77 130 80 C90 83 83 90 80 130 C77 90 70 83 30 80 C70 77 77 70 80 30 Z' fill='none' stroke='%23D3E5F4' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.footer > * { position: relative; z-index: 1; }
.footer-logo { height: 46px; margin-bottom: 18px; }
.footer-links { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.footer-links a { color: var(--navy); font-size: .95rem; }
.footer small { color: var(--gray); }

/* ---- Scroll reveal ---- */
/* Reveal only hides when JS confirms the observer is active (reveal-on).
   Default state = fully visible, so text can never get stuck hidden. */
.reveal-on .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease) var(--d,0s), transform .6s var(--ease) var(--d,0s); }
.reveal-on .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue, .band-sparkle { animation: none; }
  * { scroll-behavior: auto; }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .values, .values--3 { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: 1fr; gap: 32px; }
  .ladder { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .values, .values--3 { grid-template-columns: 1fr; margin-top: -40px; gap: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: 1fr; padding-top: 18px; }
  .hero { min-height: 92vh; padding: 64px 20px; }
  .hero p { font-size: 1.1rem; }
  .size-opts { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .picker label { padding: 12px 4px; font-size: .86rem; }
  .btn-lg, .hero-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 380px) {
  .cadence-opts { grid-template-columns: repeat(2, 1fr); }
}

