:root {
  --ink: #243129;
  --muted: #657169;
  --cream: #fbf7ed;
  --paper: #fffdf8;
  --green: #315c45;
  --green-dark: #224333;
  --sage: #dce6d8;
  --gold: #d59b45;
  --peach: #f1d2b8;
  --line: #dedfd6;
  --white: #ffffff;
  --danger: #9a443f;
  --shadow: 0 18px 50px rgba(39, 55, 45, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-family: "Fraunces", serif;
  font-size: 24px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50% 50% 45% 55%;
  color: var(--white);
  background: var(--green);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.button-primary {
  color: var(--white);
  background: var(--green);
}

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

.button-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  max-width: 1180px;
  min-height: 570px;
  margin: 8px auto 0;
  border-radius: 34px;
  background:
    radial-gradient(circle at 78% 24%, rgba(241, 210, 184, 0.9) 0 10%, transparent 10.5%),
    radial-gradient(circle at 86% 64%, rgba(213, 155, 69, 0.55) 0 18%, transparent 18.5%),
    linear-gradient(135deg, #e8eddf 0%, #f7e5cf 100%);
}

.hero::after {
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 420px;
  height: 420px;
  border: 56px solid rgba(49, 92, 69, 0.16);
  border-radius: 50%;
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(650px, 100%);
  padding: 86px 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--gold);
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Fraunces", serif;
  line-height: 1.08;
}

h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 76px);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 48px);
}

h3 {
  margin-bottom: 8px;
  font-size: 23px;
}

.hero-copy {
  max-width: 560px;
  margin: 0 0 30px;
  color: #4f5d54;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.trust-item::before {
  margin-right: 7px;
  color: var(--green);
  content: "✓";
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 24px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 14px;
  color: var(--green);
  background: var(--sage);
  font-size: 21px;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-section {
  padding-top: 42px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pricing-card {
  position: relative;
  display: flex;
  min-height: 540px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  flex-direction: column;
}

.pricing-card-featured {
  border: 2px solid var(--green);
  box-shadow: var(--shadow);
}

.popular-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.card-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.plan-description {
  min-height: 72px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 25px 0 8px;
}

.plan-price strong {
  font-family: "Fraunces", serif;
  font-size: 46px;
}

.plan-price span,
.plan-example {
  color: var(--muted);
  font-size: 13px;
}

.plan-example {
  min-height: 40px;
  margin: 0 0 18px;
}

.plan-features {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.plan-features li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.plan-features li::before {
  color: var(--green);
  font-weight: 700;
  content: "✓";
}

.pricing-card .button {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.selected-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--sage);
}

.selected-plan span,
.selected-plan strong {
  display: block;
}

.selected-plan span {
  margin-bottom: 3px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selected-plan-price {
  font-family: "Fraunces", serif;
  font-size: 32px;
  font-weight: 700;
}

.inline-plan-badge {
  display: inline-flex;
  margin-left: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--sage);
  font-size: 12px;
  font-weight: 700;
}

.reunion-banner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto 80px;
  padding: 48px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--green);
}

.reunion-banner p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.event-facts {
  display: grid;
  gap: 12px;
  align-content: center;
}

.event-fact {
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
}

.event-fact span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page {
  max-width: 1080px;
  margin: 24px auto 80px;
  padding: 0 24px;
}

.setup-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 680px;
  margin: 36px auto 0;
}

.setup-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.setup-step:not(:last-child)::after {
  position: absolute;
  top: 16px;
  left: calc(50% + 22px);
  width: calc(100% - 44px);
  height: 2px;
  background: var(--line);
  content: "";
}

.setup-step.complete:not(:last-child)::after {
  background: var(--green);
}

.setup-step span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  font-weight: 700;
}

.setup-step.complete span,
.setup-step.active span {
  border-color: var(--green);
  color: var(--white);
  background: var(--green);
}

.setup-step.active {
  color: var(--ink);
}

.page-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 48px 0 26px;
}

.page-top p {
  margin: 8px 0 0;
  color: var(--muted);
}

.progress {
  display: flex;
  gap: 8px;
  margin: 24px 0 36px;
}

.progress-step {
  height: 6px;
  flex: 1;
  border-radius: 99px;
  background: var(--line);
}

.progress-step.active {
  background: var(--green);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
}

.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 5px 22px rgba(39, 55, 45, 0.04);
}

.card + .card {
  margin-top: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0 14px;
  border: 1px solid #cfd3ca;
  border-radius: 11px;
  outline: none;
  color: var(--ink);
  background: var(--white);
}

.field input,
.field select {
  height: 50px;
}

.field textarea {
  min-height: 112px;
  padding-block: 13px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(49, 92, 69, 0.12);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 17px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 600;
}

.optional-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.form-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
}

.form-section-spaced {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.form-section-number {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.form-section-heading h3 {
  margin-bottom: 3px;
  font-size: 20px;
}

.form-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.attendee {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.attendee-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.attendee-head strong {
  font-size: 16px;
}

.text-button {
  padding: 4px;
  border: 0;
  color: var(--danger);
  background: transparent;
  font-weight: 700;
}

.summary-card {
  position: sticky;
  top: 20px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 14px 0;
  color: var(--muted);
}

.summary-total {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
}

.summary-card .button {
  width: 100%;
  margin-top: 14px;
}

.compact-features {
  display: grid;
  gap: 8px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.compact-features li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.compact-features li::before {
  color: var(--green);
  content: "✓";
}

.notice {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
}

.notice-error {
  color: #772f2a;
  background: #f8dedb;
}

.notice-success {
  color: var(--green-dark);
  background: var(--sage);
}

.secure-note {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.secure-note span {
  color: var(--green);
}

.helper {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.share-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.share-card p:last-child {
  overflow-wrap: anywhere;
  color: var(--muted);
}

.metric {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.metric strong {
  display: block;
  margin-top: 10px;
  font-family: "Fraunces", serif;
  font-size: 31px;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 20px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

th,
td {
  padding: 15px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

th {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 99px;
  color: var(--green-dark);
  background: var(--sage);
  font-size: 12px;
  font-weight: 700;
}

.status-due {
  color: #7a4b14;
  background: #f7e5bd;
}

.activity-list {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.activity {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.activity-dot {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.empty-state,
.confirmation {
  max-width: 650px;
  margin: 70px auto;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}

.confirmation-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 32px;
}

.confirmation p {
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 44px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 820px) {
  .feature-grid,
  .dashboard-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card:last-child {
    grid-column: 1 / -1;
  }

  .reunion-banner,
  .form-layout,
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .summary-card {
    position: static;
  }

  .hero {
    margin-inline: 12px;
  }

  .hero-content {
    padding: 72px 40px 160px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 16px;
  }

  .header-actions .button-secondary {
    display: none;
  }

  .hero-content {
    padding: 58px 24px 150px;
  }

  h1 {
    font-size: 46px;
  }

  .section {
    padding: 64px 18px;
  }

  .feature-grid,
  .dashboard-grid,
  .pricing-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card,
  .pricing-card:last-child {
    min-height: 0;
    grid-column: auto;
  }

  .plan-description,
  .plan-example {
    min-height: 0;
  }

  .reunion-banner {
    margin-inline: 12px;
    padding: 30px 24px;
  }

  .page {
    padding-inline: 16px;
  }

  .page-top {
    align-items: start;
    flex-direction: column;
  }

  .setup-steps {
    margin-top: 24px;
  }

  .setup-step strong {
    max-width: 72px;
  }

  .card {
    padding: 22px 18px;
  }

  .hero-actions .button,
  .page-top .button {
    width: 100%;
  }
}
