:root {
  --parchment: #f6efdf;
  --paper: #faf6ee;
  --card: #fffdf8;
  --sage: #3f5b4a;
  --sage-soft: #e4ebe4;
  --blue: #6b8a9b;
  --gold: #c8a86a;
  --gold-soft: #f1e6cf;
  --ink: #2d2b26;
  --muted: #6e6a60;
  --line: #e7dfcd;
  --radius: 20px;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--sage); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 60px); }
h2 { font-size: clamp(30px, 4vw, 42px); }
h3 { font-size: 22px; }
p { margin: 0; }

.wrap { width: min(1120px, 100% - 48px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 48px); margin: 0 auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(250, 246, 238, 0.86); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 500 20px var(--serif); }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav .button { color: #fff; }
@media (max-width: 720px) { .nav a:not(.button) { display: none; } }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: var(--sage); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform 0.15s ease, opacity 0.15s ease; }
.button:hover { transform: translateY(-1px); opacity: 0.94; }
.button.secondary { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.button.small { padding: 10px 18px; font-size: 14px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; min-width: 190px; }
.store svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.store small { display: block; font-size: 11px; opacity: 0.8; line-height: 1.2; }
.store strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.2; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('assets/dawn.jpg') center 30% / cover; opacity: 0.28; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250, 246, 238, 0.3), var(--paper) 92%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 48px; padding: 72px 0 96px; }
.hero .lead { font-size: 20px; color: var(--muted); margin: 20px 0 32px; max-width: 34em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--sage); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow img { width: 26px; }
.note { margin-top: 16px; color: var(--muted); font-size: 14px; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; } }

.phone { width: 300px; margin: 0 auto; border-radius: 44px; padding: 10px; background: #1d1c19; box-shadow: 0 40px 80px -30px rgba(45, 43, 38, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.05); }
.phone img { border-radius: 34px; width: 100%; aspect-ratio: 358 / 777; object-fit: cover; }
.phone.small { width: 240px; border-radius: 36px; padding: 8px; }
.phone.small img { border-radius: 28px; }

/* Sections */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.alt { background: var(--parchment); }

.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.feature + .feature { margin-top: 96px; }
.feature.flip .feature-media { order: 2; }
.feature-text p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.feature-text ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.feature-text li { display: flex; gap: 10px; align-items: flex-start; }
.feature-text li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--sage-soft); color: var(--sage); font-weight: 600; font-size: 13px; margin-bottom: 14px; }
.tag.gold { background: var(--gold-soft); color: #94763a; }
@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .feature-media { order: 0; }
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 500; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 880px) { .pricing { grid-template-columns: 1fr; } }
.price-card { display: flex; flex-direction: column; gap: 10px; }
.price-card.featured { border: 2px solid var(--gold); background: #fffaf0; }
.price { font: 500 40px var(--serif); }
.price span { font: 400 16px var(--sans); color: var(--muted); }

/* CTA */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta::before { content: ''; position: absolute; inset: 0; background: url('assets/meadow.jpg') center bottom / cover; opacity: 0.35; }
.cta .narrow { position: relative; }
.cta .stores { justify-content: center; margin-top: 32px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.credits { flex-basis: 100%; font-size: 13px; }

/* Documents (privacy, terms, support) */
.doc { padding: 64px 0 96px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); margin-bottom: 8px; }
.doc .updated { color: var(--muted); margin-bottom: 40px; }
.doc h2 { font-size: 26px; margin: 44px 0 12px; }
.doc h3 { font-size: 19px; margin: 28px 0 8px; font-family: var(--sans); font-weight: 600; }
.doc p, .doc li { color: #45423b; }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.template-note { background: var(--gold-soft); border-radius: 14px; padding: 16px 20px; margin-bottom: 36px; color: #6b5526; font-size: 15px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Invite page */
.invite { min-height: 100vh; display: grid; place-items: center; padding: 48px 24px; position: relative; overflow: hidden; }
.invite::before { content: ''; position: absolute; inset: 0; background: url('assets/dawn.jpg') center / cover; opacity: 0.55; }
.invite::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250, 246, 238, 0.5), rgba(250, 246, 238, 0.92)); }
.invite-card { position: relative; z-index: 1; width: min(460px, 100%); text-align: center; background: rgba(255, 253, 248, 0.9); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 28px; padding: 40px 32px; box-shadow: 0 30px 60px -30px rgba(45, 43, 38, 0.35); }
.invite-card .logo { width: 180px; margin: 0 auto 24px; }
.invite-card h1 { font-size: 32px; }
.invite-card p { color: var(--muted); margin-top: 12px; }
.code-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0 8px; padding: 14px 16px 14px 22px; border: 1.5px dashed var(--gold); border-radius: 16px; background: #fffaf0; }
.code-box strong { font: 600 24px var(--sans); letter-spacing: 0.12em; }
.invite-card .stores { justify-content: center; margin-top: 24px; }
.invite-card .store { min-width: 0; flex: 1; }
.code-box .button { white-space: nowrap; }
@media (max-width: 480px) {
  .invite-card { padding: 32px 22px; }
  .invite-card .stores { flex-direction: column; }
}
.steps { text-align: left; margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: step; }
.steps li { display: flex; gap: 12px; color: var(--muted); font-size: 15px; }
.steps li::before { counter-increment: step; content: counter(step); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--sage-soft); color: var(--sage); font-weight: 600; font-size: 13px; display: grid; place-items: center; }
.verse { font: italic 400 17px/1.6 var(--serif); color: var(--ink); margin-top: 28px; }
.verse cite { display: block; font: 500 13px var(--sans); font-style: normal; color: var(--muted); margin-top: 6px; }
