/* Glow Patient Co — one-page site */

:root {
  --bg: #f6f1ea;
  --bg-warm: #f3ebe2;
  --paper: #fffbf7;
  --ink: #2b2622;
  --ink-soft: #5a534c;
  --line: #e4d9cf;
  --blush: #c9897b;
  --blush-text: #8a4f42;
  --sage: #3f5647;
  --sage-hover: #32463a;
  --sage-soft: #e7eee8;
  --gold: #b7a07a;
  --header-h: 4.5rem;
  --shadow: 0 10px 30px rgba(43, 38, 34, 0.06);
  --radius: 1.1rem;
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--sage);
  text-underline-offset: 0.18em;
}

a:hover { color: var(--sage-hover); }

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--sage);
  color: var(--paper);
  padding: 0.55rem 0.9rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 234, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228, 217, 207, 0.8);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
}

.wordmark:hover { color: var(--ink); }

.mark {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border-radius: 0.5rem;
  background: var(--sage);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav a:not(.btn) {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
}

.nav a:not(.btn):hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--sage);
  color: #fffbf7;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--sage-hover);
  color: #fffbf7;
}

.btn-lg { padding: 0.95rem 1.5rem; font-size: 1.05rem; }

.btn-ghost {
  background: transparent;
  color: var(--sage);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--sage-soft);
  color: var(--sage-hover);
}

.hero {
  position: relative;
  padding: 4.75rem 0 5.25rem;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}

.hero::before {
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(201, 137, 123, 0.22), transparent 68%);
  top: -8rem;
  right: -6rem;
}

.hero::after {
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(63, 86, 71, 0.12), transparent 70%);
  bottom: -10rem;
  left: -8rem;
}

.hero-inner {
  position: relative;
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blush-text);
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 6.2vw, 4.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
}

.lede {
  margin: 0 0 2rem;
  font-size: 1.22rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 36rem;
  text-wrap: pretty;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.section,
#contact {
  scroll-margin-top: 5.25rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-warm);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.25;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.icon-dot {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.7rem;
  background: var(--sage-soft);
  color: var(--sage);
  display: grid;
  place-items: center;
  margin-bottom: 1.05rem;
}

.icon-dot svg { width: 1.2rem; height: 1.2rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  position: relative;
  padding-top: 0.2rem;
}

.step-num {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--sage);
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: var(--sage-soft);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  line-height: 1;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.3;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  max-width: 48rem;
}

.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 2.15rem;
  box-shadow: var(--shadow);
}

.price-card.featured {
  border-color: #c5d0c8;
  background: linear-gradient(180deg, #f7faf7 0%, var(--paper) 42%);
}

.price-label {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blush-text);
}

.price-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
}

.price-from {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.price-from .from,
.price-from .per {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.price-from .per {
  margin-left: 0.12em;
}

.price-card p {
  margin: 0;
  color: var(--ink-soft);
}

.note {
  margin: 1.25rem 0 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.cta-band {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.cta-band h2 { margin-bottom: 0.75rem; }

.cta-band p {
  margin: 0 0 1.6rem;
  color: var(--ink-soft);
}

.site-footer {
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: #f3ebe2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem 1.5rem;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0 0 0.4rem;
}

.footer-col h2,
.footer-col h3 {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blush-text);
  font-family: var(--sans);
}

.footer-col p,
.footer-col address {
  margin: 0;
  font-style: normal;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

.footer-col a { color: var(--sage); text-decoration: none; font-weight: 600; }
.footer-col a:hover { text-decoration: underline; }

.legal {
  margin-top: 2.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.page-404 {
  min-height: calc(100vh - 12rem);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}

.page-404 h1 {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
}

.page-404 p {
  margin: 0 0 1.6rem;
  color: var(--ink-soft);
  max-width: 28rem;
}

@media (max-width: 860px) {
  .cards,
  .steps,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding: 3.25rem 0 3.75rem; }

  .section { padding: 3.5rem 0; }

  .header-inner { min-height: 4rem; }
}

@media (min-width: 861px) {
  .nav-toggle,
  .nav-toggle-label,
  .header-cta { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.5rem;
    border: 1px solid var(--line);
    background: var(--paper);
    cursor: pointer;
    color: var(--ink);
  }

  .nav-toggle-label .menu-icon {
    width: 1.1rem;
    height: 0.85rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .nav-toggle-label .menu-icon i {
    display: block;
    height: 1.5px;
    width: 100%;
    background: currentColor;
    border-radius: 1px;
  }

  .legal {
    flex-direction: column;
    gap: 0.35rem;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
  }

  .site-header { position: sticky; }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 60;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(43, 38, 34, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 1.25rem 1rem;
  }

  .nav a:not(.btn) {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav .btn { display: none; }

  .nav-toggle:checked ~ .nav { display: flex; }

  .header-cta { font-size: 0.92rem; padding: 0.65rem 0.95rem; }
}

@media (max-width: 420px) {
  .wrap { width: min(1120px, calc(100% - 1.5rem)); }
  .wordmark-rest { display: none; }
}

@media (max-width: 1100px) and (min-width: 861px) {
  .nav { gap: 0.85rem; }
  .nav a:not(.btn) { font-size: 0.92rem; }
  .nav .btn { padding: 0.7rem 1.05rem; font-size: 0.92rem; }
}
