:root {
  color-scheme: light;
  --bg: #f1e7db;
  --paper: #fffdf9;
  --cream: #f3e8dc;
  --ink: #3b2824;
  --muted: #755e59;
  --line: #e3cfc0;
  --gold: #a97945;
  --gold-dark: #7b4436;
  --rose: #d2a092;
  --sage: #788064;
  --shadow: 0 24px 60px rgba(77, 45, 39, 0.12);
  --soft-shadow: 0 12px 32px rgba(87, 52, 44, 0.09);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--gold-dark);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(227, 207, 192, 0.86);
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.brand-copy em {
  color: #984f4d;
  font-style: normal;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-dark);
  border-radius: 6px;
  padding: 11px 18px;
  color: var(--gold-dark);
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background: var(--gold-dark);
}

.btn:hover,
.btn:focus-visible {
  box-shadow: 0 8px 24px rgba(87, 52, 44, 0.16);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero::before {
  position: absolute;
  inset: 0;
  background: url("/assets/classic-floral-ornaments.webp") center / cover no-repeat;
  content: "";
  opacity: 0.11;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 70px;
  padding-block: 72px 58px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 400;
  line-height: 1.02;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.hero-points li::before {
  margin-right: 7px;
  color: var(--sage);
  content: "\2713";
  font-weight: 900;
}

.rsvp-device {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 0.72;
  justify-self: center;
  border: 12px solid #211c1a;
  border-radius: 36px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.rsvp-device::before {
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 2;
  width: 88px;
  height: 18px;
  border-radius: 999px;
  background: #211c1a;
  content: "";
  transform: translateX(-50%);
}

.rsvp-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 81%;
}

.device-caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 3;
  border: 1px solid rgba(227, 207, 192, 0.9);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.94);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  backdrop-filter: blur(8px);
}

.section {
  padding-block: 92px;
}

.section-paper {
  background: var(--paper);
}

.section-sage {
  color: #f9f4ec;
  background: #485343;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.split-copy h2,
.cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.08;
}

.section-heading p,
.split-copy > p,
.cta p {
  margin: 16px 0 0;
  color: var(--muted);
}

.section-sage .section-heading p,
.section-sage .flow-step p {
  color: rgba(255, 255, 255, 0.76);
}

.intro-grid,
.benefit-grid,
.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: start;
}

.intro-lead {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.22;
}

.intro-copy p {
  margin: 0 0 18px;
  color: var(--muted);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.18);
}

.flow-step {
  min-height: 190px;
  padding: 28px;
  background: #485343;
}

.step-number {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 20px;
}

.flow-step h3 {
  margin: 20px 0 8px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.2;
}

.flow-step p {
  margin: 0;
  font-size: 14px;
}

.benefit-column {
  border-top: 2px solid var(--gold);
  padding-top: 24px;
}

.benefit-column h3 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.benefit-column ul {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-column li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.benefit-column li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--rose);
  border-radius: 50%;
  content: "";
}

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

.feature-card {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
}

.feature-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.integration-grid {
  align-items: center;
}

.demo-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.demo-form .demo-kicker {
  margin: 0 0 6px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-form h3 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}

.demo-fields {
  display: grid;
  gap: 12px;
}

.demo-field {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 12px 14px;
  color: var(--muted);
  background: #fff;
  font-size: 13px;
}

.demo-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.demo-choice span:first-child {
  border-color: var(--sage);
  color: #3f513f;
  background: #edf2ea;
}

.demo-submit {
  min-height: 48px;
  margin-top: 4px;
  border-radius: 5px;
  color: #fff;
  background: var(--gold-dark);
  font-weight: 800;
  text-align: center;
  line-height: 48px;
}

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

.integration-list li {
  border-bottom: 1px solid var(--line);
  padding: 0 0 12px;
}

.faq-list {
  max-width: 880px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  position: relative;
  padding: 22px 44px 22px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 21px;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 21px;
  right: 4px;
  color: var(--gold-dark);
  content: "+";
  font-family: var(--sans);
  font-size: 24px;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  max-width: 760px;
  margin: -4px 0 22px;
  color: var(--muted);
}

.cta {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 80px;
  background: #f8efe6;
  text-align: center;
}

.cta p {
  max-width: 680px;
  margin-inline: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.site-footer {
  padding-block: 48px;
  color: #f7f0e8;
  background: #322421;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.site-footer .brand-copy small,
.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer p {
  max-width: 420px;
  margin: 18px 0 0;
  font-size: 13px;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 13px;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  width: fit-content;
  font-size: 13px;
  text-decoration: none;
}

.copyright {
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

:focus-visible {
  outline: 3px solid rgba(169, 121, 69, 0.48);
  outline-offset: 3px;
}

@media (max-width: 940px) {
  .main-nav {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .hero-copy {
    min-width: 0;
    text-align: center;
  }

  .hero h1,
  .hero-copy > p:not(.eyebrow) {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .rsvp-device {
    width: min(82vw, 370px);
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), 1160px);
  }

  .header-inner {
    min-height: 68px;
  }

  .header-inner > .btn {
    min-height: 44px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .brand-copy strong {
    font-size: 19px;
  }

  .brand-copy small {
    display: none;
  }

  .hero-grid {
    padding-block: 52px 44px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
  }

  .hero-actions,
  .hero-points {
    min-width: 0;
    max-width: 100%;
  }

  .section {
    padding-block: 68px;
  }

  .intro-grid,
  .benefit-grid,
  .integration-grid,
  .flow,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .flow-step,
  .feature-card {
    min-height: 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .demo-form {
    padding: 22px;
  }

  .cta {
    padding-block: 64px;
  }

  .cta-actions .btn {
    width: 100%;
  }
}

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