/* Bella Luce Med Spa — membership landing page
   Brand tokens taken from bellaluceokc.com's own CSS custom properties.
   Register: premium, calm, unhurried. Fewer boxes, more air.
   See docs/brand-tokens.md for provenance. */

:root {
  --noir:        #101010;
  --ink-soft:    #3A3A38;
  --white-pure:  #FFFFFF;
  --white-clean: #F7F6F3;
  --line:        rgba(16,16,16,.12);
  --navy:        #16344E;   /* dark bands, as on their site */
  --cta:         #144C7C;   /* their Book Appointment button */
  --cta-hover:   #0F3C63;
  --cornflower:  #5E7CB0;
  --cf-dark:     #4A6795;
  --cf-light:    #9FB6D4;
  --greige:      #B9B3A9;   /* muted trim */
  --stone-deep:  #7E776C;
  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --gutter: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white-clean); color: var(--noir);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ---------- hero backdrop ----------
   Decorative only. Sits behind the nav and hero; a scrim keeps the left
   two-thirds at ground colour so the headline never competes with the photo. */
.masthead-bg {
  position: absolute; inset-block-start: 0; inset-inline: 0;
  height: clamp(620px, 94vh, 1000px);
  z-index: 0; pointer-events: none;
  background-repeat: no-repeat;
  background-position: right top;
  background-size: cover;
  background-image: url("img/hero-1536.jpg");
  background-image: image-set(
    url("img/hero-1536.webp") type("image/webp"),
    url("img/hero-1536.jpg")  type("image/jpeg")
  );
}
.masthead-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(247,246,243,0) 72%, var(--white-clean) 100%),
    linear-gradient(96deg,
      var(--white-clean) 0%,
      var(--white-clean) 30%,
      rgba(247,246,243,.93) 43%,
      rgba(247,246,243,.60) 57%,
      rgba(247,246,243,.18) 72%,
      rgba(247,246,243,0) 86%);
}
.nav, main, footer { position: relative; z-index: 1; }
a { color: var(--navy); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 780px; }
.wrap.center { text-align: center; }
.section { padding-block: 88px 80px; }
.narrow-p { max-width: 62ch; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.022em; text-wrap: balance; hyphens: manual; }
h1 { font-size: clamp(36px, 5.4vw, 66px); line-height: 1.06; }
h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.16; }
h2.display { font-size: clamp(28px, 3.8vw, 44px); }
em { font-style: italic; font-weight: 300; color: var(--cornflower); }
em.lt { color: var(--cf-light); }
p { margin: 0; }

.eyebrow { font-size: 11px; letter-spacing: 0.22em; font-weight: 600; text-transform: uppercase; color: var(--navy); }

.lede { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-soft); max-width: 60ch; }
.body-lg { font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.7; color: var(--ink-soft); }
.microcopy { font-size: 14.5px; line-height: 1.6; color: var(--stone-deep); max-width: 54ch; }
.pullquote {
  font-family: var(--serif); font-size: clamp(21px, 2.3vw, 28px); line-height: 1.42;
  color: var(--noir); font-weight: 400;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-align: center; text-decoration: none;
  font-weight: 500; border-radius: 5px; padding: 17px 32px; font-size: 15px;
  transition: background-color .15s ease, color .15s ease;
  min-height: 44px; border: 1px solid transparent; cursor: pointer; font-family: var(--sans);
}
.btn-lg { padding: 20px 40px; font-size: 16px; }
.btn-sm { padding: 12px 22px; font-size: 15px; }
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-hover); }
.btn-ghost { border-color: var(--noir); color: var(--noir); display: block; }
.btn-ghost:hover { background: var(--noir); color: #fff; }
.btn:focus-visible { outline: 2px solid var(--cornflower); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter); border-bottom: 1px solid var(--line);
  max-width: 1240px; margin: 0 auto;
}
.brand { display: block; line-height: 0; }
.brand img { width: 112px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a:not(.btn) {
  font-size: 14px; color: var(--noir); text-decoration: none;
  padding-block: 6px; transition: color .15s ease;
}
.nav-links > a:not(.btn):hover { color: var(--cta); text-decoration: underline; text-underline-offset: 4px; }
.nav-links > a:not(.btn):focus-visible { outline: 2px solid var(--cornflower); outline-offset: 3px; }

/* ---------- hero ---------- */
.hero { padding-block: 104px 88px; display: flex; flex-direction: column; gap: 26px; max-width: 1000px; }
.hero h1 { max-width: 15ch; }
.hero-actions { margin-top: 6px; }
/* Each claim is one unbreakable item, so a narrow screen never splits
   "Oklahoma City" across two lines. Separators are decorative and drop
   away once the strip stacks. */
.proof {
  font-size: 14px; color: var(--stone-deep);
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px;
}
.proof-item { white-space: nowrap; }
.proof-sep { color: var(--greige); }
.stars { color: var(--cornflower); letter-spacing: 2px; margin-right: 6px; }

/* ---------- bands ---------- */
.band-white { background: var(--white-pure); padding-block: 88px; }
.band-navy { background: var(--navy); color: var(--white-clean); padding-block: 96px; }
.band-white .wrap.narrow { display: flex; flex-direction: column; gap: 24px; }
.band-navy .wrap.narrow { display: flex; flex-direction: column; gap: 22px; align-items: center; }
.on-dark { color: var(--white-clean); }
.on-dark-sub { color: rgba(247,246,243,.80); }
.on-dark-quote { color: var(--cf-light); font-style: italic; font-weight: 300; }
.pullquote.on-dark-quote { margin-top: 8px; }

.sec-head { margin-bottom: 44px; max-width: 46rem; }
.sec-head.stacked { max-width: none; display: flex; flex-direction: column; gap: 18px; }
.sec-head.stacked h2 { max-width: 26ch; }

/* ---------- three up ---------- */
.threeup { display: flex; gap: 48px; }
.threeup article { flex: 1 1 0; display: flex; flex-direction: column; gap: 12px; }
.threeup .no {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 22px; color: var(--cf-dark); font-variant-numeric: tabular-nums;
}
.threeup h3 { font-size: 24px; }
.threeup p { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }


/* ---------- numbered sequence (ordered list) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 48px; }
.steps li { flex: 1 1 0; display: flex; flex-direction: column; gap: 12px; }
.steps .no {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 22px; color: var(--cf-dark); font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 24px; }
.steps p { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }

/* ---------- tiers ---------- */
.tiers { display: flex; gap: 24px; align-items: stretch; }
.tier {
  flex: 1 1 0; background: var(--white-clean); border: 1px solid var(--line);
  padding: 34px 30px; display: flex; flex-direction: column; gap: 16px;
}
.tier-feature { background: var(--white-pure); border: 2px solid var(--navy); }
.tier h3 { font-size: 27px; }
.tier .price { display: flex; align-items: baseline; gap: 6px; font-size: 15px; color: var(--stone-deep); }
.tier .price span { font-family: var(--serif); font-size: 42px; color: var(--noir); }
.tier-line { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 16px; color: var(--cf-dark); }
.tier hr { border: 0; border-top: 1px solid var(--line); margin: 0; width: 100%; }
.tier .plus { font-size: 13.5px; color: var(--stone-deep); }
.tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.tier li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.tier li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 5px;
  border-left: 1.6px solid var(--cornflower); border-bottom: 1.6px solid var(--cornflower);
  transform: rotate(-45deg);
}
.tier strong { font-weight: 600; color: var(--noir); }
.tier .btn { margin-top: auto; }
.plans-note { margin-top: 32px; font-size: 14px; line-height: 1.7; color: var(--stone-deep); max-width: 76ch; }

/* ---------- fit list ---------- */
.fitlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.fitlist > div { display: flex; flex-direction: column; gap: 9px; padding-top: 22px; border-top: 1px solid var(--line); }
.fitlist h3 { font-size: 21px; line-height: 1.3; }
.fitlist p { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }

/* ---------- interest form ---------- */
.interest { display: flex; gap: 72px; align-items: flex-start; }
.interest-copy { flex: 1 1 auto; display: flex; flex-direction: column; gap: 20px; max-width: 34ch; }
.interest-copy h2 { max-width: 16ch; }
.interest-form {
  width: 420px; flex: 0 0 auto; background: var(--white-pure);
  border: 1px solid var(--line); padding: 32px 30px;
  display: flex; flex-direction: column; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--stone-deep); }
.field input, .field select {
  font-family: var(--sans); font-size: 16px; color: var(--noir);
  background: var(--white-clean); border: 1px solid var(--line); border-radius: 4px;
  padding: 13px 14px; min-height: 46px; width: 100%;
}
.field input:focus, .field select:focus { outline: 2px solid var(--cornflower); outline-offset: 1px; border-color: transparent; }
.formnote { font-size: 13px; line-height: 1.6; color: var(--stone-deep); text-align: center; }

/* ---------- footer ---------- */
.footer {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 48px;
  padding-block: 32px 48px; border-top: 1px solid var(--line);
}
.footer-logo { width: 124px; height: auto; margin-bottom: 14px; opacity: .85; }
.footer address { font-style: normal; font-size: 12.5px; line-height: 1.7; color: var(--stone-deep); }
.legal { font-size: 12.5px; line-height: 1.65; color: #8B7F72; max-width: 760px; text-align: right; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  :root { --gutter: 40px; }
  .threeup { flex-wrap: wrap; gap: 36px; }
  .threeup article { flex: 1 1 260px; }
  .steps { flex-wrap: wrap; gap: 36px; }
  .steps li { flex: 1 1 260px; }
  .tiers { flex-wrap: wrap; }
  .tier { flex: 1 1 300px; }
  .interest { flex-direction: column; gap: 36px; }
  .interest-copy { max-width: none; }
  .interest-form { width: 100%; }
  .footer { flex-direction: column; gap: 24px; }
  .legal { text-align: left; }
}

@media (max-width: 1080px) {
  .masthead-bg {
    background-image: url("img/hero-1536.jpg");
    background-image: image-set(
      url("img/hero-1024.webp") type("image/webp"),
      url("img/hero-1536.jpg") type("image/jpeg")
    );
  }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .masthead-bg {
    height: clamp(520px, 78vh, 760px);
    background-position: 72% top;
    background-image: url("img/hero-1536.jpg");
    background-image: image-set(
      url("img/hero-768.webp") type("image/webp"),
      url("img/hero-1536.jpg") type("image/jpeg")
    );
  }
  .masthead-bg::after {
    background:
      linear-gradient(180deg,
        rgba(247,246,243,.90) 0%,
        rgba(247,246,243,.86) 46%,
        rgba(247,246,243,.94) 78%,
        var(--white-clean) 100%);
  }
  body { font-size: 15px; }
  .nav { padding: 14px var(--gutter); }
  .nav-links > a:not(.btn) { display: none; }
  .brand img { width: 88px; }
  .hero { padding-block: 56px 48px; }
  .hero h1 { max-width: none; }
  .section { padding-block: 56px 48px; }
  .band-white, .band-navy { padding-block: 56px; }
  .sec-head { margin-bottom: 30px; max-width: none; }
  .threeup { flex-direction: column; gap: 32px; }
  .steps { flex-direction: column; gap: 28px; }
  .tiers { flex-direction: column; }
  .fitlist { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .btn, .btn-lg { width: 100%; }
  .proof { flex-direction: column; align-items: center; text-align: center; gap: 9px; }
  .proof-sep { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- thank-you page ---------- */
.masthead-bg--short { height: clamp(420px, 56vh, 620px); }

.confirm { padding-block: 88px 72px; display: flex; flex-direction: column; gap: 22px; max-width: 900px; }
.confirm h1 { max-width: 14ch; }
.confirm-body { max-width: 58ch; }
.confirm-quote { max-width: 40ch; margin-top: 6px; }

.meanwhile { display: flex; gap: 64px; align-items: flex-start; justify-content: space-between; }
.meanwhile-copy { flex: 1 1 auto; max-width: 56ch; display: flex; flex-direction: column; gap: 18px; }
.meanwhile-action { flex: 0 0 auto; padding-top: 6px; }
.signoff {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(19px, 2vw, 24px); color: var(--cf-dark);
}

@media (max-width: 1080px) {
  .meanwhile { flex-direction: column; gap: 28px; }
  .meanwhile-action { width: 100%; }
}
@media (max-width: 720px) {
  .masthead-bg--short { height: clamp(360px, 46vh, 520px); }
  .confirm { padding-block: 48px 40px; }
  .confirm h1 { max-width: none; }
  .signoff { margin-top: 36px; }
}

.formstatus { font-size: 13.5px; line-height: 1.55; text-align: center; margin-top: -4px; }
.formstatus[data-tone="warn"] { color: var(--wine, #7A1E2A); }
.formstatus[data-tone="busy"] { color: var(--stone-deep); }

/* ---------- founding-member offer ----------
   Same callout the pre-launch emails use, so the page confirms what the
   email promised. The date is a bracketed placeholder in the HTML — see README. */
.launch-offer {
  background: var(--white-pure); border: 1px solid var(--line);
  padding: 18px 22px; max-width: 62ch;
  font-size: 15.5px; line-height: 1.65; color: var(--ink-soft);
}
.launch-offer strong { font-weight: 600; color: var(--noir); }
.launch-flag {
  display: block; margin-bottom: 5px;
  font-size: 11px; letter-spacing: 0.22em; font-weight: 600;
  text-transform: uppercase; color: var(--navy);
}
.launch-offer .ld {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 17px; color: var(--cf-dark); white-space: nowrap;
}
@media (max-width: 720px) {
  .launch-offer { padding: 14px 16px; font-size: 15px; }
}
