/* Landing page tokens — same values as docs/design/README.md */
:root {
  --ink: #201f1d;
  --ink-2: #3d3b37;
  --muted: #5c5952;
  --muted-2: #6e6a62;
  --body: #4a4741;
  --paper: #f6f4f1;
  --surface: #fffdfa;
  --line: #e3dfd9;
  --line-soft: #eeeae4;
  --control: #cfc9c0;
  --gold: #b68235;
  --gold-text: #8a6228;
  --gold-press: #6f4e1f;
  --success: #1f5038;
  --success-bg: #e1ece5;
  --danger: #8a2c22;
  --danger-bg: #f4e2de;
  --neutral-bg: #ece8e2;
  --on-ink: #f3f2f2;
  --on-ink-muted: #d9d5ce;
  --on-ink-soft: #bdb7ad;
  --whatsapp: #dcf1d6;
  --whatsapp-ink: #1c2a1a;
  --whatsapp-link: #1d5b8f;
  --phone-bg: #f3f2f2;
  --phone-rule: #dcd8d2;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
}

.landing {
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  background: var(--paper);
  min-height: 100vh;
}

.landing a {
  color: var(--gold-text);
}

.landing a:hover {
  color: var(--gold-press);
}

.serif {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
}

.tnum {
  font-variant-numeric: tabular-nums;
}

.mono {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font:
    500 14px / 1 "Instrument Sans",
    system-ui,
    sans-serif;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #faf9f8;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  background: var(--ink-2);
  color: #faf9f8;
}

.btn-2 {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--control);
}

.btn-2:hover {
  background: #f1eee9;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--ink-2);
}

.btn-ghost:hover {
  background: var(--neutral-bg);
  color: var(--ink);
}

.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
}

.btn-lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 15px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.chip-pub {
  background: var(--ink);
  color: #faf9f8;
}

.chip-pend {
  border: 1px solid var(--control);
  color: var(--muted);
}

.chip-yes {
  background: var(--success-bg);
  color: var(--success);
}

.chip-no {
  background: var(--danger-bg);
  color: var(--danger);
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-size: 28px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.logo:hover {
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 28px;
  flex-grow: 1;
  font-size: 14px;
}

.nav a {
  color: var(--ink-2);
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.header__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero {
  padding: 96px 32px 104px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero__eyebrow {
  margin: 0;
  color: var(--gold-text);
}

.hero__title {
  margin: 0;
  font-size: 76px;
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -0.005em;
}

.hero__lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 34em;
}

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

.hero__note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.hero__visual {
  position: relative;
  height: 600px;
}

.phone {
  border-radius: 44px;
  border: 10px solid var(--ink);
  background: var(--phone-bg);
  overflow: hidden;
  font-family: Lora, Georgia, serif;
  text-align: center;
}

.phone--hero {
  position: absolute;
  right: 24px;
  top: 0;
  width: 290px;
  height: 590px;
}

.phone__cover {
  height: 300px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 34px;
  gap: 10px;
}

.phone__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 42%;
}

.phone__cover-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(243, 242, 242, 0.94) 0%,
    rgba(243, 242, 242, 0.55) 16%,
    rgba(32, 31, 29, 0) 34%,
    rgba(32, 31, 29, 0.12) 72%,
    rgba(32, 31, 29, 0.5) 100%
  );
}

.phone__names {
  position: relative;
  margin: 0;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.phone__meta {
  position: relative;
  margin: 0;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-family: "Instrument Sans", system-ui, sans-serif;
}

.phone__rule {
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
}

.phone__body {
  padding: 26px 22px;
  font-family: "Instrument Sans", system-ui, sans-serif;
}

.phone__label {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.phone__hello {
  margin: 10px 0 2px;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 0.05em;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.phone__passes {
  margin: 0 0 18px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.phone__choices {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
}

.phone__choice {
  flex: 1;
  padding: 9px 0;
  border: 1px solid var(--phone-rule);
  border-radius: 4px;
  font-size: 11px;
  color: var(--muted);
  background: #faf9f8;
}

.phone__choice--on {
  border-color: var(--gold);
  color: var(--gold-text);
}

.phone__submit {
  display: block;
  padding: 11px 0;
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.rsvp-tile {
  position: absolute;
  left: 0;
  bottom: 40px;
  width: 330px;
  padding: 20px;
}

.rsvp-tile__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.rsvp-tile__couple {
  font-weight: 600;
}

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

.rsvp-tile__figure {
  margin: 0;
  font-size: 32px;
}

.rsvp-tile__label {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.sample-note {
  margin: 14px 0 0;
  font-size: 11px;
  color: var(--muted-2);
}

.section-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-pad {
  padding: 96px 32px;
}

.section-pad--lg {
  padding: 104px 32px;
}

.section-pad--md {
  padding: 88px 32px;
}

.steps__eyebrow {
  margin: 0 0 14px;
}

.steps__title {
  margin: 0 0 56px;
  font-size: 48px;
  font-weight: 300;
  max-width: 16em;
  line-height: 1.1;
}

.steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.steps__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--gold);
  padding-top: 20px;
}

.steps__num {
  font-size: 30px;
  color: var(--gold-text);
}

.steps__item h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.steps__item p {
  margin: 0;
  color: var(--body);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.feature--site {
  max-width: 1280px;
  margin: 0 auto;
  padding: 104px 32px;
}

.feature__phones {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.phone--sm {
  width: 230px;
  height: 470px;
  border-radius: 36px;
  border-width: 8px;
  box-shadow: none;
}

.phone--offset {
  margin-top: 60px;
}

.phone__inner {
  padding: 40px 18px 0;
}

.phone__countdown-label {
  margin: 0;
  font-size: 8px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: "Instrument Sans", system-ui, sans-serif;
}

.phone__countdown {
  margin: 4px 0 0;
  font-size: 70px;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1;
}

.phone__countdown-unit {
  margin: 0 0 28px;
  font-size: 8px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: "Instrument Sans", system-ui, sans-serif;
}

.phone__divider {
  height: 1px;
  background: var(--phone-rule);
  margin-bottom: 28px;
}

.phone__event {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 300;
}

.phone__time {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.16em;
}

.phone__venue {
  margin: 6px 0 0;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--body);
  line-height: 1.7;
  font-family: "Instrument Sans", system-ui, sans-serif;
}

.phone__map {
  margin: 12px 0 0;
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-text);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  font-family: "Instrument Sans", system-ui, sans-serif;
}

.phone__dress-title {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 0.1em;
}

.phone__dress-photo {
  height: 200px;
  border: 8px solid #faf9f8;
  outline: 1px solid var(--line);
}

.phone__dress-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone__dress-level {
  margin: 16px 0 4px;
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
}

.phone__dress-note {
  margin: 0;
  font-size: 9px;
  color: var(--body);
  line-height: 1.8;
  font-family: "Instrument Sans", system-ui, sans-serif;
}

.feature__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.feature__copy h2,
.board__copy h2,
.links__copy h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 300;
  line-height: 1.1;
}

.feature__lead,
.board__lead,
.links__lead {
  margin: 0;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.7;
}

.feature__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  font-size: 14px;
  color: var(--ink-2);
}

.feature__copy .eyebrow,
.board__copy .eyebrow {
  margin: 0;
}

.wa-card__label--spaced {
  margin-top: 6px;
}

.board__party {
  font-weight: 500;
}

.board__msg {
  color: var(--body);
}

.board__msg--empty {
  color: var(--muted-2);
}

.sample-note--table {
  margin-top: 12px;
}

.links {
  background: var(--ink);
  color: var(--on-ink);
}

.links__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.links__eyebrow {
  margin: 0;
  color: #d6c3a1;
}

.links__lead {
  color: var(--on-ink-muted);
}

.links__note {
  margin: 0;
  font-size: 14px;
  color: var(--on-ink-soft);
}

.wa-card {
  background: #2c2a27;
  border: 1px solid var(--ink-2);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wa-card__label {
  margin: 0;
  font-size: 12px;
  color: var(--on-ink-soft);
}

.wa-card__template {
  margin: 0;
  padding: 14px;
  background: var(--ink);
  border-radius: 8px;
  color: #e9e5de;
  line-height: 1.7;
}

.wa-card__ph {
  color: #e0c08a;
}

.wa-card__bubble {
  align-self: flex-end;
  max-width: 82%;
  background: var(--whatsapp);
  color: var(--whatsapp-ink);
  border-radius: 12px 12px 2px 12px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
}

.wa-card__link {
  color: var(--whatsapp-link);
  text-decoration: underline;
}

.board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: center;
}

.board__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.board__card {
  padding: 22px;
  min-width: 0;
}

.board__table-wrap {
  overflow-x: auto;
  max-width: 100%;
}

.board__stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.board__stat {
  padding: 12px;
  background: var(--paper);
  border-radius: 8px;
}

.board__stat .serif {
  margin: 0;
  font-size: 28px;
}

.board__stat p:last-child {
  margin: 0;
  font-size: 11.5px;
  color: var(--muted);
}

.board table {
  border-collapse: collapse;
  width: 100%;
}

.board th {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.board td {
  padding: 12px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.safeguards__title {
  margin: 0;
  font-size: 40px;
  font-weight: 300;
}

.safeguards__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.safeguards__grid > :first-child {
  grid-column: 1 / -1;
}

.safeguards h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.safeguards p {
  margin: 0;
  color: var(--body);
}

.pricing__eyebrow {
  margin: 0 0 14px;
  text-align: center;
}

.pricing__title {
  margin: 0 auto 56px;
  font-size: 48px;
  font-weight: 300;
  text-align: center;
  max-width: 14em;
  line-height: 1.1;
}

.pricing__cards {
  max-width: 420px;
  margin: 0 auto;
}

.price-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.price-card__name {
  margin: 0;
  font-weight: 600;
}

.price-card__amount {
  margin: 0;
}

.price-card__amount .serif {
  font-size: 64px;
  line-height: 1;
}

.price-card__currency,
.price-card__meta {
  color: var(--muted);
}

.price-card__meta {
  margin: 0;
  font-size: 13px;
}

.price-card ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--ink-2);
  line-height: 1.9;
}

.price-card .btn {
  margin-top: auto;
}

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

.faq {
  border-top: 1px solid var(--line);
}

.faq__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 96px 32px;
}

.faq__title {
  margin: 0 0 40px;
  font-size: 44px;
  font-weight: 300;
}

.faq__list {
  display: flex;
  flex-direction: column;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}

.faq details p {
  margin: 10px 0 0;
  color: var(--body);
}

.cta {
  background: var(--ink);
  color: var(--on-ink);
  text-align: center;
}

.cta__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 96px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta__title {
  margin: 0;
  font-size: 56px;
  font-weight: 300;
  line-height: 1.05;
}

.cta__lead {
  margin: 0;
  color: var(--on-ink-muted);
  font-size: 16px;
}

.cta .btn {
  background: var(--on-ink);
  color: var(--ink);
  border-color: var(--on-ink);
}

.cta .btn:hover {
  background: #fff;
  color: var(--ink);
}

.footer {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
  padding-top: 32px;
  padding-bottom: 32px;
}

.footer__brand {
  font-size: 22px;
  color: var(--ink);
}

.footer__copy {
  flex-grow: 1;
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  color: var(--muted);
  text-decoration: none;
}

.footer__legal a:hover {
  color: var(--gold-press);
}

@media (max-width: 760px) {
  .wrap,
  .hero,
  .section-pad,
  .section-pad--lg,
  .section-pad--md,
  .feature--site,
  .faq__inner,
  .cta__inner,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav,
  .hero__visual {
    display: none;
  }

  .header__inner {
    gap: 12px;
  }

  .hero,
  .feature,
  .feature--site,
  .links__inner,
  .board,
  .steps__list,
  .safeguards__grid,
  .feature__list,
  .board__stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 64px;
    gap: 32px;
  }

  .hero__title {
    font-size: 46px;
  }

  .steps__title,
  .feature__copy h2,
  .board__copy h2,
  .links__copy h2,
  .pricing__title {
    font-size: 36px;
  }

  .safeguards__title {
    font-size: 32px;
  }

  .cta__title {
    font-size: 40px;
  }

  .faq__title {
    font-size: 36px;
  }

  .feature__phones {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .phone--sm {
    width: min(230px, 100%);
    height: auto;
    min-height: 420px;
  }

  .phone--offset {
    margin-top: 0;
  }

  .board,
  .board__card {
    min-width: 0;
  }

  .board__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer {
    flex-wrap: wrap;
  }
}
