/* Bloomfaith. Palette sampled from the Alphabet of Faith cover. */
:root {
  --cream: #FBF1E4;
  --peach: #F3D8C3;
  --peach-deep: #EFCBB1;
  --terra: #C57955;
  --terra-deep: #B76A46;
  --sage: #A5B0A0;
  --sage-deep: #6E7F67;
  --brown: #894426;
  --muted: #79553D;
  --ink: #4A2C1C;
  --line: rgba(137, 68, 38, 0.25);
  --display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --text: "Lato", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); color: var(--brown); line-height: 1.1; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sage-deep); outline-offset: 3px; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
section { padding: 88px 0; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; }

/* Header */
.site-head { padding: 20px 0; background: var(--cream); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--text); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.01em; color: var(--brown); }
.wordmark img { width: 30px; height: 41px; flex: none; display: block; }
.site-nav { display: flex; align-items: center; gap: 28px; font-weight: 700; color: var(--muted); }
.site-nav a { text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--brown); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.site-nav a[aria-current="page"] { color: var(--brown); }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 1.05rem; padding: 14px 26px; border: 2px solid var(--brown); border-radius: 999px; background: var(--brown); color: var(--cream); cursor: pointer; font-family: var(--text); transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--terra-deep); border-color: var(--terra-deep); }
.btn.ghost { background: transparent; color: var(--brown); }
.btn.ghost:hover { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.btn.light { background: var(--cream); border-color: var(--cream); color: var(--brown); }
.btn.light:hover { background: var(--peach); border-color: var(--peach); }

/* Hero (shared) */
.hero { padding: 48px 0 104px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); font-weight: 800; max-width: 15ch; }
.hero .lede { margin-top: 24px; font-size: 1.2rem; max-width: 40ch; color: var(--muted); }
.hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.stage { position: relative; width: min(100%, 400px); justify-self: center; }
.stage::before { content: ""; position: absolute; left: 50%; top: 48%; width: 128%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--peach); }
.stage img { position: relative; display: block; width: 100%; height: auto; border-radius: 3px; transform: rotate(2deg); box-shadow: 0 22px 44px rgba(137, 68, 38, 0.24); }
.brand-stage { width: min(100%, 420px); aspect-ratio: 1; justify-self: center; border-radius: 50%; background: var(--peach); display: grid; place-items: center; }
.brand-stage img { width: 44%; height: auto; display: block; }

/* Home: flagship product */
.flagship { background: var(--peach); }
.flagship .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: center; }
.flagship .cover { width: min(100%, 320px); justify-self: center; }
.flagship .cover img { display: block; width: 100%; height: auto; border-radius: 3px; transform: rotate(-2deg); box-shadow: 0 20px 40px rgba(137, 68, 38, 0.22); }
.shop-head { margin-bottom: 40px; }
.flagship .product-title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; margin-bottom: 18px; }
.flagship p { color: var(--muted); max-width: 46ch; font-size: 1.1rem; }
.flagship .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.live-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-weight: 700; color: var(--sage-deep); }
.live-tag::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--sage-deep); }

/* Home: coming next */
.next { background: var(--brown); color: var(--cream); }
.next h2, .next h3 { color: var(--cream); }
.next .head { margin-bottom: 40px; }
.next .sub { margin-top: 14px; color: rgba(251, 241, 228, 0.85); max-width: 46ch; }
.rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(251, 241, 228, 0.35); }
.row { display: grid; grid-template-columns: 14rem 1fr auto; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid rgba(251, 241, 228, 0.35); }
.row h3 { font-size: 1.5rem; font-weight: 700; }
.row p { color: rgba(251, 241, 228, 0.88); max-width: 46ch; }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; white-space: nowrap; }
.status::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--peach-deep); }
.signup { margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(251, 241, 228, 0.35); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 56px; align-items: center; }
.signup h3 { font-size: 1.6rem; font-weight: 700; }
.signup p { margin-top: 6px; color: rgba(251, 241, 228, 0.85); }
.signup form { display: flex; flex-wrap: wrap; gap: 12px; }
.signup label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.signup input[type="email"] { flex: 1 1 240px; min-width: 0; padding: 14px 18px; font: inherit; color: var(--ink); background: var(--cream); border: 2px solid var(--cream); border-radius: 999px; }
.signup input[type="email"]:focus-visible { outline-color: var(--peach-deep); }

/* Families */
.families .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 64px; }
.families h2 { max-width: 16ch; }
.who { margin: 0; display: grid; gap: 28px; }
.who div { padding-top: 20px; border-top: 2px solid var(--terra); }
.who dt { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--brown); margin-bottom: 6px; }
.who dd { margin: 0; color: var(--muted); max-width: 52ch; }

/* Product page */
.inside { background: var(--peach); }
.inside .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.inside .kicker { margin-top: 20px; font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--brown); max-width: 22ch; }
.features { list-style: none; margin: 0; padding: 0; }
.features li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.features li:first-child { border-top: 1px solid var(--line); }
.features img { width: 22px; height: 22px; flex: none; }
.how .head { max-width: 22ch; margin-bottom: 48px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.steps li { counter-increment: step; padding: 0 32px; border-left: 2px solid var(--line); }
.steps li:first-child { padding-left: 0; border-left: 0; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--terra); margin-bottom: 12px; }
.steps h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.steps p { color: var(--muted); max-width: 32ch; }
.more { background: var(--peach); padding: 56px 0; }
.more .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.more p { font-family: var(--display); font-size: 1.35rem; font-weight: 600; color: var(--brown); max-width: 34ch; }

/* Close + footer */
.close { background: var(--sage); color: var(--ink); padding: 96px 0 64px; position: relative; }
.close::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--terra); }
.close h2 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 800; }
.close .gift { margin-top: 16px; font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.close .actions { margin-top: 32px; }
.close .btn:hover { background: var(--ink); border-color: var(--ink); }
.contact { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(74, 44, 28, 0.35); max-width: 52ch; }
.contact a { font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.foot { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.foot .tag { font-weight: 700; color: var(--ink); }
.legal { margin-top: 20px; font-size: .95rem; color: var(--ink); }

@media (max-width: 880px) {
  .hero .wrap, .flagship .wrap, .inside .wrap, .families .wrap, .signup { grid-template-columns: 1fr; gap: 48px; }
  .signup { gap: 24px; }
  .hero { padding-bottom: 72px; }
  .stage { width: min(78%, 340px); }
  .brand-stage { width: min(78%, 340px); }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps li, .steps li:first-child { padding: 0; border-left: 0; }
  section { padding: 64px 0; }
  .more { padding: 48px 0; }
  .site-nav a:not(.btn) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
