:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-soft: #eef3ee;
  --ink: #18201b;
  --muted: #5d695f;
  --line: #dbe3dc;
  --accent: #2d6f4e;
  --accent-dark: #20553a;
  --accent-soft: #dff0e5;
  --shadow: 0 24px 60px rgba(31, 57, 42, 0.13);
  --radius-lg: 30px;
  --radius-md: 20px;
  --shell: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(138, 191, 157, 0.22), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.shell {
  width: min(calc(100% - 36px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 20;
  padding: 18px 0;
}

.header-inner,
.footer-inner,
.final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: white;
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(45, 111, 78, 0.22);
}

.header-cta {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--accent-dark);
  text-underline-offset: 4px;
}

.hero {
  padding: 50px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  align-items: center;
  gap: clamp(34px, 7vw, 90px);
}

.eyebrow,
.section-label,
.visual-kicker {
  margin: 0 0 13px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.9vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.lede {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 20px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 800;
}

.button-primary {
  color: white;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(45, 111, 78, 0.22);
}

.button-primary:hover { background: var(--accent-dark); }

.button:focus-visible,
.header-cta:focus-visible,
.brand:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid #8bc9a5;
  outline-offset: 4px;
}

.microcopy {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.occasion-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.occasion-row li {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #455248;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -7% -8% 7%;
  z-index: -1;
  border-radius: 44px;
  background: linear-gradient(145deg, #d7eadc, #eef4e9);
  transform: rotate(4deg);
}

.visual-card {
  overflow: hidden;
  border: 1px solid rgba(26, 64, 42, 0.12);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 28px 20px;
}

.visual-kicker {
  margin-bottom: 5px;
  font-size: 0.72rem;
}

.visual-title {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 850;
  letter-spacing: -0.035em;
}

.share-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 1.4rem;
  font-weight: 900;
}

.participant-row {
  display: flex;
  padding: 0 28px 20px;
}

.participant-row span {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  margin-left: -7px;
  border: 3px solid white;
  border-radius: 50%;
  background: #e8ece7;
  color: #445147;
  font-size: 0.72rem;
  font-weight: 850;
}

.participant-row span:first-child { margin-left: 0; }

.list-preview {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.list-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 28px;
  background: white;
}

.list-item strong { font-size: 1rem; }
.list-item em { color: var(--muted); font-size: 0.9rem; font-style: normal; }

.check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #b8c5bb;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.is-done strong {
  color: #708077;
  text-decoration: line-through;
}

.is-done .check {
  border-color: var(--accent);
  color: white;
  background: var(--accent);
}

.visual-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.visual-footer span {
  padding: 14px 8px;
  background: #f8faf7;
  color: var(--muted);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

.section {
  padding: 84px 0;
}

.section-accent {
  background: var(--ink);
  color: white;
}

.section-accent .section-label { color: #9bd8b4; }
.section-accent .section-copy { color: #d7ded9; }

.section-soft { background: var(--surface-soft); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.section-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.strong-line {
  margin-bottom: 0;
  color: inherit;
  font-weight: 800;
}

.steps,
.benefits {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.steps { grid-template-columns: repeat(3, 1fr); }
.benefits { grid-template-columns: repeat(4, 1fr); }

.step,
.benefits article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.step p,
.benefits p {
  margin-bottom: 0;
  color: var(--muted);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 30px;
  border-radius: 11px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-weight: 900;
}

.final-cta {
  padding-top: 70px;
  padding-bottom: 70px;
  border-top: 1px solid var(--line);
}

.final-inner {
  align-items: flex-end;
}

.final-inner h2 { margin-bottom: 10px; }

.final-inner p:not(.section-label) {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p { margin: 0; }
.site-footer a { font-weight: 700; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .hero { padding-top: 28px; }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-grid { gap: 48px; }

  .steps { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: repeat(2, 1fr); }

  .hero-visual {
    width: min(100%, 620px);
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }

  .site-header { padding: 14px 0; }
  .header-cta { display: none; }

  .hero { padding: 12px 0 46px; }
  .hero-grid { gap: 24px; }
  h1 { font-size: clamp(2.55rem, 13vw, 3.7rem); }

  .lede {
    margin-bottom: 20px;
    font-size: 0.99rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button { width: 100%; min-height: 54px; }

  .microcopy,
  .occasion-row {
    display: none;
  }

  .hero-visual::before { inset: 5% -2% -5% 3%; }

  .visual-top { padding: 18px 18px 14px; }
  .participant-row,
  .visual-footer,
  .list-item:nth-child(n+3) {
    display: none;
  }
  .list-item {
    min-height: 52px;
    padding-inline: 18px;
  }

  .section { padding: 60px 0; }
  .benefits { grid-template-columns: 1fr; }

  .final-inner,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .final-inner .button { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
