:root {
  --green: #1F3B2E;
  --green-2: #2c4f3e;
  --sage: #8FA88F;
  --sage-soft: #dfe7d9;
  --cream: #F6F3EB;
  --cream-2: #fbf9f4;
  --rose: #E8D0C9;
  --ink: #1F3B2E;
  --muted: #5b6b62;
  --line: #e6e0d3;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow: 0 30px 60px -30px rgba(31, 59, 46, .35), 0 10px 24px -12px rgba(31, 59, 46, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .9em 1.5em; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn span { transition: transform .15s ease; }
.btn:hover span { transform: translateX(3px); }
.btn-dark { background: var(--green); color: var(--cream); box-shadow: 0 8px 20px -8px rgba(31, 59, 46, .6); }
.btn-dark:hover { background: var(--green-2); transform: translateY(-1px); }
.btn-light { background: var(--cream); color: var(--green); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.btn-ghost { color: var(--green); border: 1.5px solid rgba(31, 59, 46, .25); }
.btn-ghost:hover { border-color: var(--green); }
.btn-sm { padding: .55em 1.15em; font-size: .92rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 243, 235, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 59, 46, .06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a:not(.btn) { text-decoration: none; font-size: .95rem; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--green); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(232, 208, 201, .55), transparent 70%),
    radial-gradient(500px 380px at 95% 85%, rgba(143, 168, 143, .28), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(232, 208, 201, .35), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); }
.hero h1 em { display: block; font-style: italic; font-weight: 500; }
.hero h1 mark {
  color: inherit; padding: 0 .2em; border-radius: .4em;
  background: linear-gradient(transparent 12%, var(--sage-soft) 12%, var(--sage-soft) 92%, transparent 92%);
}
.lead { margin-top: 1.4rem; font-size: 1.12rem; color: var(--muted); max-width: 32em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.occasions { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 2.2rem 0 0; }
.occasions li { font-size: .86rem; padding: .3em .9em; border-radius: 999px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line); color: var(--muted); }

/* App mock */
.mock {
  background: var(--cream-2); border-radius: 22px; box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .8); overflow: hidden;
  transform: rotate(-1deg);
}
.mock-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.mock-title { display: flex; align-items: center; gap: .55rem; font-family: var(--serif); font-weight: 600; }
.avatars { display: flex; }
.avatars span {
  width: 28px; height: 28px; border-radius: 50%; margin-left: -6px;
  display: grid; place-items: center; font-size: .72rem; font-weight: 600;
  background: var(--c); border: 2px solid #fff;
}
.mock-body { display: grid; grid-template-columns: 1fr 160px; }
.floor {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 34px 26px;
  background-image: radial-gradient(rgba(31, 59, 46, .08) 1px, transparent 1px);
  background-size: 16px 16px;
}
.table {
  --r: 50px;
  position: relative; justify-self: center;
  width: 84px; height: 84px; margin: 16px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 6px 16px -10px rgba(31, 59, 46, .4);
  display: grid; place-content: center; text-align: center;
}
.table b { font-family: var(--serif); font-size: .92rem; font-weight: 600; }
.table small { font-size: .62rem; color: var(--muted); }
.table i {
  position: absolute; left: 50%; top: 50%;
  width: 18px; height: 18px; margin: -9px; border-radius: 50%;
  background: var(--rose); opacity: .75;
  transform: rotate(calc(var(--i) * var(--step, 45deg))) translate(var(--r));
}
.table i.on { background: var(--sage); opacity: 1; }
.t4 { --step: 60deg; }
.cursor {
  position: absolute; left: 52%; top: 46%;
  display: flex; align-items: flex-start; gap: 2px;
  animation: float 4s ease-in-out infinite;
}
.cursor span { background: var(--green); color: var(--cream); font-size: .68rem; padding: 2px 8px; border-radius: 999px; margin-top: 12px; white-space: nowrap; }
@keyframes float { 50% { transform: translate(-14px, 10px); } }

.guests { background: #fff; border-left: 1px solid var(--line); padding: 18px 14px; font-size: .82rem; }
.guests-h { font-family: var(--serif); font-weight: 600; font-size: .98rem; margin-bottom: .6rem; }
.guests-h small { font-family: var(--sans); font-weight: 400; color: var(--muted); font-size: .7rem; }
.guests ul { list-style: none; margin: 0; padding: 0; }
.guests li { padding: .45rem .5rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .45rem; }
.guests li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); flex: none; }
.guests li.drag { background: var(--sage-soft); border-radius: 8px; border-color: transparent; }
.add { margin-top: .9rem; padding: .45rem; border: 1px dashed var(--sage); border-radius: 8px; text-align: center; color: var(--muted); }

/* Sections */
.section-h { font-size: clamp(1.9rem, 3.2vw, 2.6rem); text-align: center; }
.section-sub { text-align: center; color: var(--muted); max-width: 36em; margin: 1rem auto 0; }

.features { padding: 104px 0; background: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.card { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.3rem; margin: 1.2rem 0 .7rem; }
.card p { color: var(--muted); font-size: .97rem; }
.icon { width: 52px; height: 52px; border-radius: 50%; background: var(--rose); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.steps { padding: 104px 0; }
.step-list { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; }
.step-list li { text-align: center; position: relative; }
.step-list li:not(:last-child)::after {
  content: ""; position: absolute; top: 26px; left: calc(50% + 40px); right: calc(-50% + 20px);
  border-top: 2px dashed rgba(143, 168, 143, .6);
}
.step-list span {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 1.1rem;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
  background: var(--green); color: var(--cream);
}
.step-list h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.step-list p { color: var(--muted); font-size: .97rem; max-width: 20em; margin-inline: auto; }

.closing { padding: 0 0 104px; }
.closing-inner {
  position: relative; overflow: hidden; text-align: center;
  background: var(--green); color: var(--cream);
  border-radius: 28px; padding: 80px 32px;
}
.closing-inner::before, .closing-inner::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.closing-inner::before { width: 420px; height: 420px; left: -140px; top: -180px; background: radial-gradient(rgba(143, 168, 143, .35), transparent 70%); }
.closing-inner::after { width: 380px; height: 380px; right: -120px; bottom: -200px; background: radial-gradient(rgba(232, 208, 201, .25), transparent 70%); }
.closing-logo { margin: 0 auto 1.5rem; filter: brightness(0) invert(.95) sepia(.15); }
.closing h2 { font-size: clamp(2rem, 4vw, 3rem); }
.closing h2 em { font-weight: 500; color: var(--rose); }
.closing p { max-width: 34em; margin: 1.2rem auto 2.2rem; color: rgba(246, 243, 235, .8); }

.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.brand-sm { font-size: 1.1rem; }
.footer p { color: var(--muted); font-family: var(--serif); font-style: italic; }

/* Responsive */
@media (max-width: 960px) {
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .mock { transform: none; }
  .cards, .step-list { grid-template-columns: 1fr; }
  .step-list li::after { display: none; }
  .features, .steps { padding: 80px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav-links a:not(.btn) { display: none; }
  .mock-body { grid-template-columns: 1fr; }
  .guests { display: none; }
  .floor { gap: 6px; padding: 24px 8px; }
  .table { --r: 44px; width: 72px; height: 72px; }
  .closing-inner { padding: 56px 22px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
