/*
Theme Name: The Wedding Stack
Theme URI: https://example.com/the-wedding-stack
Author: OpenAI
Description: A responsive one-page WordPress landing theme for The Wedding Stack.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: the-wedding-stack
*/

:root {
  --ink: #1f2430;
  --muted: #667085;
  --cream: #fffaf5;
  --white: #ffffff;
  --rose: #d86f7a;
  --rose-dark: #bb5964;
  --sage: #a8b9a4;
  --sage-light: #eef3ec;
  --gold: #c8a15c;
  --line: #e9e2dc;
  --shadow: 0 22px 60px rgba(39, 31, 30, 0.10);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 92px 0; }
.eyebrow { margin: 0 0 12px; color: var(--rose-dark); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
h1,h2,h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.03em; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(46px, 7vw, 82px); font-weight: 500; }
h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(36px, 5vw, 56px); font-weight: 500; }
h3 { font-size: 21px; }
p { color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--rose); color: #fff; font-weight: 800; transition: .2s ease; border: 1px solid var(--rose); }
.button:hover { background: var(--rose-dark); border-color: var(--rose-dark); transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.button.secondary:hover { background: var(--cream); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(233,226,220,.8); }
.nav-wrap { min-height: 74px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:flex; align-items:center; gap:10px; font-weight:900; letter-spacing:-.02em; }
.brand-mark { width:36px; height:36px; border-radius:12px; display:grid; place-items:center; background:var(--sage-light); color:var(--rose-dark); font-family:Georgia,serif; font-size:21px; }
.site-nav { display:flex; align-items:center; gap:24px; font-size:14px; font-weight:700; }
.site-nav a:not(.button):hover { color:var(--rose-dark); }
.menu-toggle { display:none; background:none; border:0; font-size:26px; }

.hero { padding: 92px 0 76px; background: radial-gradient(circle at 80% 12%, #f7ece5 0, transparent 31%), linear-gradient(180deg, var(--cream), #fff); overflow:hidden; }
.hero-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap:72px; align-items:center; }
.hero p { font-size:19px; max-width:650px; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:30px; }
.microcopy { font-size:13px !important; margin-top:14px; }

.app-card { position:relative; background:#fff; border:1px solid var(--line); border-radius:34px; padding:22px; box-shadow:var(--shadow); transform:rotate(1.5deg); }
.app-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.pill { padding:7px 11px; border-radius:999px; background:var(--sage-light); color:#4d6547; font-size:12px; font-weight:800; }
.stack-card { background:#fffaf7; border:1px solid #f0e3dc; border-radius:20px; padding:18px; margin:12px 0; }
.stack-card strong { display:block; margin-bottom:6px; }
.progress { height:8px; background:#eee8e3; border-radius:20px; overflow:hidden; margin-top:10px; }
.progress span { display:block; height:100%; background:var(--rose); width:72%; border-radius:20px; }
.checks { list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.checks li { display:flex; gap:10px; align-items:flex-start; color:var(--muted); }
.checks li::before { content:'✓'; width:22px; height:22px; border-radius:50%; flex:0 0 22px; display:grid; place-items:center; background:var(--sage-light); color:#4d6547; font-size:12px; font-weight:900; }
.float-note { position:absolute; right:-30px; bottom:58px; max-width:210px; background:#fff; border:1px solid var(--line); border-radius:18px; padding:14px 16px; box-shadow:0 14px 35px rgba(39,31,30,.12); transform:rotate(-4deg); font-size:13px; }
.float-note b { display:block; color:var(--rose-dark); margin-bottom:3px; }

.stats { padding:26px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#fff; }
.stats-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; text-align:center; }
.stat strong { display:block; font-family:Georgia,serif; font-size:32px; font-weight:500; }
.stat span { color:var(--muted); font-size:13px; }

.center { text-align:center; max-width:760px; margin-left:auto; margin-right:auto; }
.cards { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:42px; }
.card { border:1px solid var(--line); border-radius:var(--radius); padding:28px; background:#fff; }
.card .icon { width:46px; height:46px; border-radius:14px; display:grid; place-items:center; background:var(--sage-light); margin-bottom:20px; font-size:22px; }
.card p { margin-bottom:0; }

.feature-section { background:#fbfaf8; }
.feature-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap:72px; align-items:center; }
.feature-panel { background:#fff; border:1px solid var(--line); border-radius:30px; padding:28px; box-shadow:var(--shadow); }
.venue-row { display:grid; grid-template-columns: 1fr auto; gap:16px; align-items:center; border-bottom:1px solid var(--line); padding:16px 0; }
.venue-row:last-child { border-bottom:0; }
.score { min-width:58px; text-align:center; padding:8px 10px; border-radius:13px; background:var(--cream); font-weight:900; }

.steps { counter-reset: step; display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:42px; }
.step { position:relative; padding:32px; border-radius:var(--radius); background:var(--cream); }
.step::before { counter-increment: step; content: counter(step); width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:var(--ink); color:#fff; font-weight:900; margin-bottom:22px; }

.family-banner { display:grid; grid-template-columns:1fr auto; gap:28px; align-items:center; background:var(--ink); color:#fff; border-radius:32px; padding:44px; }
.family-banner p { color:#d0d4dc; margin-bottom:0; max-width:760px; }
.family-banner h2 { color:#fff; margin-bottom:14px; }
.family-banner .button { white-space:nowrap; }

.faq { max-width:860px; margin:42px auto 0; border-top:1px solid var(--line); }
.faq-item { border-bottom:1px solid var(--line); }
.faq-button { width:100%; padding:22px 0; display:flex; justify-content:space-between; gap:20px; background:none; border:0; text-align:left; font:inherit; font-weight:800; color:var(--ink); cursor:pointer; }
.faq-answer { display:none; padding:0 0 22px; }
.faq-item.open .faq-answer { display:block; }
.faq-item.open .faq-button span:last-child { transform:rotate(45deg); }

.cta { background:linear-gradient(135deg,#f8e9e6,#eef3ec); }
.cta-box { max-width:880px; margin:auto; text-align:center; padding:56px 28px; }
.cta-box p { font-size:18px; max-width:640px; margin:0 auto 26px; }

.site-footer { padding:38px 0; border-top:1px solid var(--line); }
.footer-wrap { display:flex; align-items:center; justify-content:space-between; gap:24px; font-size:13px; color:var(--muted); }

@media (max-width: 900px) {
  .hero-grid,.feature-grid { grid-template-columns:1fr; gap:46px; }
  .cards,.steps { grid-template-columns:1fr; }
  .hero { padding-top:62px; }
  .app-card { transform:none; }
  .float-note { right:12px; bottom:30px; }
  .family-banner { grid-template-columns:1fr; }
}

@media (max-width: 720px) {
  .container { width:min(calc(100% - 28px), var(--max)); }
  .section { padding:68px 0; }
  .site-nav { display:none; position:absolute; top:74px; left:0; right:0; background:#fff; padding:20px 24px 24px; flex-direction:column; align-items:stretch; border-bottom:1px solid var(--line); }
  .site-nav.open { display:flex; }
  .menu-toggle { display:block; }
  .stats-grid { grid-template-columns:1fr; }
  .hero p { font-size:17px; }
  .float-note { position:static; transform:none; max-width:none; margin-top:12px; }
  .footer-wrap { flex-direction:column; align-items:flex-start; }
}

/* Collaboration-focused components */
.collab-people { display:flex; align-items:center; margin:4px 0 14px; padding-left:6px; }
.collab-people span { width:38px; height:38px; margin-left:-6px; border:3px solid #fff; border-radius:50%; display:grid; place-items:center; background:var(--sage-light); color:#4d6547; font-size:10px; font-weight:900; }
.collab-people span:nth-child(even) { background:#f8e9e6; color:var(--rose-dark); }
.vote-row { display:flex; gap:7px; flex-wrap:wrap; margin-top:10px; }
.vote-row span { padding:5px 8px; border-radius:999px; background:#fff; border:1px solid var(--line); font-size:11px; color:var(--muted); }
.comment-card small { display:block; margin-top:8px; color:#98a2b3; }
.shared-board .board-item { display:grid; grid-template-columns:1fr auto; align-items:center; gap:14px; padding:16px 0; border-bottom:1px solid var(--line); }
.board-item > div > div { color:var(--muted); font-size:13px; margin-top:3px; }
.status { font-size:11px; font-weight:800; padding:7px 10px; border-radius:999px; white-space:nowrap; }
.status.doing { background:#fff4db; color:#8a641c; }
.status.review { background:#f8e9e6; color:var(--rose-dark); }
.status.open { background:var(--sage-light); color:#4d6547; }
.decision-strip { margin-top:18px; padding:16px; border-radius:18px; background:var(--cream); display:grid; gap:6px; font-size:13px; }
.decision-strip span { color:var(--muted); }
.comparison-note { margin-top:18px; padding:14px 16px; border-radius:16px; background:var(--sage-light); color:#4d6547; font-size:13px; }
.four-cards { grid-template-columns:repeat(4,1fr); }
.reverse-desktop > :first-child { order:2; }
.reverse-desktop > :last-child { order:1; }

@media (max-width: 1050px) {
  .four-cards { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 900px) {
  .reverse-desktop > :first-child,.reverse-desktop > :last-child { order:initial; }
}
@media (max-width: 720px) {
  .four-cards { grid-template-columns:1fr; }
  .shared-board .board-item { grid-template-columns:1fr; }
  .status { justify-self:start; }
}
/* Landing-page conversion refinements */
.landing-page .site-header{background:rgba(255,255,255,.94);backdrop-filter:blur(12px)}
.landing-page .hero{padding-top:92px;padding-bottom:82px}
.landing-page .hero h1{max-width:760px;font-size:clamp(3rem,6vw,5.7rem);line-height:.98;letter-spacing:-.055em}
.landing-page .hero p{max-width:680px;font-size:1.12rem}
.landing-page .landing-proof{border-top:1px solid rgba(0,0,0,.06);border-bottom:1px solid rgba(0,0,0,.06)}
.landing-page .cta-box{max-width:900px;margin:auto;text-align:center;padding:64px 56px}
.landing-page .cta-box p{max-width:650px;margin-left:auto;margin-right:auto}
@media(max-width:760px){.landing-page .landing-nav a:not(.button){display:none}.landing-page .hero{padding-top:58px}.landing-page .cta-box{padding:42px 24px}.landing-page .brand span:last-child{font-size:.95rem}}
