/* Beauty Blend, shared stylesheet
   Soft, feminine, premium-salon aesthetic. */

:root {
  --cream: #FAF7F2;
  --ivory: #FFFDFA;
  --pink: #F2C4CE;
  --pink-deep: #E8A0AE;
  --peach: #E8B4A0;
  --gold: #D4AF8F;
  --brown: #4A3C38;
  --brown-soft: #6B5A54;
  --brown-faint: #7A6862;
  --line: #EDE3D9;

  --shadow-sm: 0 2px 10px rgba(74, 60, 56, 0.05);
  --shadow-md: 0 8px 30px rgba(74, 60, 56, 0.08);
  --shadow-lg: 0 20px 60px rgba(74, 60, 56, 0.10);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1120px;
  --pad: 24px;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brown);
  text-decoration-color: var(--pink-deep);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brown-soft);
}

:focus-visible {
  outline: 3px solid var(--pink-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--brown);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}

h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.narrow {
  max-width: 760px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--brown);
  letter-spacing: 0.01em;
}

.brand:hover { color: var(--brown); }

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink) 50%, var(--peach) 50%, var(--gold) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: var(--brown-soft);
  white-space: nowrap;
}

.nav a:hover {
  color: var(--brown);
  text-decoration: underline;
  text-decoration-color: var(--pink-deep);
}

/* ---------- Buttons & badges ---------- */

.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--brown);
  color: var(--ivory);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: none;
  cursor: default;
  box-shadow: var(--shadow-md);
  max-width: 100%;
}

.badge-soon .apple {
  font-size: 1.25em;
  line-height: 1;
}

.badge-soon[aria-disabled='true'] {
  opacity: 0.96;
}

.badge-note {
  display: block;
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--brown-faint);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--brown);
  text-decoration: none;
  font-size: 0.98rem;
}

.btn-ghost:hover {
  background: rgba(212, 175, 143, 0.14);
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-faint);
  margin-bottom: 20px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(56px, 9vw, 108px) 0 clamp(48px, 8vw, 96px);
  background:
    radial-gradient(ellipse 70% 60% at 82% 12%, rgba(242, 196, 206, 0.42), transparent 68%),
    radial-gradient(ellipse 60% 55% at 8% 84%, rgba(232, 180, 160, 0.30), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  margin-bottom: 0.35em;
}

.hero-lede {
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
  color: var(--brown-soft);
  max-width: 34ch;
  margin-bottom: 2rem;
}

.hero-cta {
  margin-top: 4px;
}

/* Split-image visual */

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(100%, 320px);
  aspect-ratio: 9 / 16;
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(160deg, #F6EDE6, #EADDD3);
  box-shadow: var(--shadow-lg);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--ivory);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.phone-half {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
}

.phone-half.before {
  background: linear-gradient(180deg, #E4DAD2 0%, #CDBCB1 100%);
}

.phone-half.after {
  background: linear-gradient(180deg, var(--pink) 0%, var(--peach) 100%);
}

.phone-tag {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(74, 60, 56, 0.78);
  background: rgba(255, 253, 250, 0.82);
  padding: 6px 13px;
  border-radius: 999px;
}

.phone-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 26px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(255, 253, 250, 0), rgba(255, 253, 250, 0.85), rgba(255, 253, 250, 0));
  pointer-events: none;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(56px, 8vw, 100px) 0;
}

.section-alt {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  color: var(--brown-soft);
  margin-bottom: 0;
}

/* ---------- Feature cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}

.section-alt .card {
  background: var(--cream);
}

.card h3 {
  margin-bottom: 0.45em;
}

.card p {
  color: var(--brown-soft);
  margin-bottom: 0;
  font-size: 0.98rem;
}

.card-icon {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: linear-gradient(140deg, var(--pink), var(--peach));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.card-icon.gold {
  background: linear-gradient(140deg, var(--gold), var(--peach));
}

.card-icon.rose {
  background: linear-gradient(140deg, var(--pink-deep), var(--pink));
}

.pro-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(212, 175, 143, 0.26);
  color: var(--brown);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ---------- Who it's for ---------- */

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.pill {
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--ivory);
  border: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--brown);
  box-shadow: var(--shadow-sm);
}

.section-alt .pill {
  background: var(--cream);
}

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  align-items: start;
}

.plan {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.plan.featured {
  background: linear-gradient(170deg, #FFF6F4 0%, #FDF0EC 100%);
  border-color: var(--pink);
  box-shadow: var(--shadow-md);
}

.plan h3 {
  margin-bottom: 0.2em;
}

.price {
  font-family: var(--serif);
  font-size: 2.9rem;
  font-weight: 600;
  line-height: 1.1;
  margin: 6px 0 4px;
}

.price small {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--brown-faint);
}

.plan-note {
  color: var(--brown-faint);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ticks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--brown-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink-deep);
}

.plan.featured .ticks li::before {
  background: var(--gold);
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 780px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}

.faq-item:first-of-type {
  border-top: 1px solid var(--line);
}

.faq-item h3 {
  font-size: 1.28rem;
  margin-bottom: 0.4em;
}

.faq-item p {
  color: var(--brown-soft);
  margin-bottom: 0;
}

/* ---------- Legal pages ---------- */

.page-header {
  padding: clamp(46px, 7vw, 84px) 0 clamp(26px, 4vw, 44px);
  background:
    radial-gradient(ellipse 60% 70% at 88% 8%, rgba(242, 196, 206, 0.36), transparent 66%);
  border-bottom: 1px solid var(--line);
}

.page-header p {
  color: var(--brown-soft);
  margin-bottom: 0;
}

.updated {
  display: inline-block;
  margin-top: 12px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(212, 175, 143, 0.2);
  font-size: 0.86rem;
  color: var(--brown-soft);
}

.legal {
  padding: clamp(40px, 6vw, 68px) 0 clamp(56px, 8vw, 92px);
}

.legal h2 {
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  margin-top: 2.1em;
  margin-bottom: 0.5em;
  padding-top: 0.2em;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal h3 {
  font-size: 1.2rem;
  margin-top: 1.6em;
  margin-bottom: 0.4em;
}

.legal p,
.legal li {
  color: var(--brown-soft);
}

.legal ul {
  margin: 0 0 1.3em;
  padding-left: 22px;
}

.legal li {
  margin-bottom: 9px;
}

.legal li strong {
  color: var(--brown);
}

.callout {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-left: 4px solid var(--pink-deep);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 0 0 1.7em;
  box-shadow: var(--shadow-sm);
}

.callout p:last-child {
  margin-bottom: 0;
}

.toc {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 44px;
  box-shadow: var(--shadow-sm);
}

.toc h2 {
  font-size: 1.1rem !important;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-faint);
  margin: 0 0 14px !important;
  padding-top: 0;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 30px;
}

.toc li {
  margin-bottom: 7px;
  break-inside: avoid;
}

.toc a {
  color: var(--brown-soft);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--brown);
  color: #E7DCD6;
  padding: clamp(46px, 6vw, 70px) 0 34px;
}

.site-footer a {
  color: #F3E7E1;
  text-decoration-color: rgba(242, 196, 206, 0.7);
}

.site-footer a:hover {
  color: #FFFFFF;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: #FFFDFA;
  margin-bottom: 10px;
}

.footer-grid p {
  color: #CFC1BA;
  font-size: 0.95rem;
  margin-bottom: 0;
  max-width: 38ch;
}

.footer-col h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #B9A79F;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
  font-size: 0.96rem;
}

.footer-bottom {
  padding-top: 24px;
  font-size: 0.88rem;
  color: #B9A79F;
}

.footer-bottom p {
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-visual {
    order: 2;
  }

  .phone {
    width: min(100%, 250px);
  }

  .hero-lede {
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  :root {
    --pad: 20px;
  }

  .site-header .wrap {
    min-height: 0;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    font-size: 0.9rem;
    padding-bottom: 2px;
  }

  .badge-soon {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  .toc ol {
    columns: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .plan,
  .card {
    padding: 26px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
