/* ============ ANIMATIONS ============ */
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes float-y-sm { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes sway { 0%,100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
@keyframes orbit-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbit-spin-rev { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes sparkle { 0%,100% { opacity: .4; transform: scale(1) rotate(0deg); } 50% { opacity: 1; transform: scale(1.3) rotate(180deg); } }
@keyframes pulse-dot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: .7; } }
@keyframes tick-flip {
  0% { transform: rotateX(0); }
  20% { transform: rotateX(-90deg); }
  21% { transform: rotateX(90deg); }
  100% { transform: rotateX(0); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes draw-line {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes wiggle {
  0%,100% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg); }
  75% { transform: rotate(2deg); }
}
@keyframes count-bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }
.reveal.d6 { transition-delay: .48s; }

/* Hero entrance */
.hero h1, .hero .lede, .hero .hero-cta, .hero .hero-trust, .hero .eyebrow {
  animation: fade-up .9s cubic-bezier(.2,.7,.2,1) both;
}
.hero .eyebrow { animation-delay: .05s; }
.hero h1 { animation-delay: .15s; }
.hero .lede { animation-delay: .35s; }
.hero .hero-cta { animation-delay: .5s; }
.hero .hero-trust { animation-delay: .65s; }

.hero h1 .underline::after {
  transform-origin: left center;
  animation: draw-line .9s cubic-bezier(.2,.7,.2,1) both;
  animation-delay: .9s;
}

/* Phone floating */
.phone {
  animation: float-y 6s ease-in-out infinite;
  will-change: transform;
}
.envelope-orbit { animation: orbit-spin 40s linear infinite; will-change: transform; }
.envelope-orbit.o2 { animation: orbit-spin-rev 60s linear infinite; will-change: transform; }

/* Floating chips */
.float-chip.tl { animation: float-y-sm 4.5s ease-in-out infinite; animation-delay: .5s; will-change: transform; }
.float-chip.br { animation: float-y-sm 5.5s ease-in-out infinite; animation-delay: 1.2s; will-change: transform; }
.float-chip .dot { animation: pulse-dot 2s ease-out infinite; will-change: transform, opacity; }

/* Sparkle stars on hero */
.spark {
  position: absolute;
  color: var(--gold);
  pointer-events: none;
  z-index: 4;
  animation: sparkle 3s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(191,161,93,.5));
  will-change: transform, opacity;
}
.spark.s1 { top: 80px; right: 60px; font-size: 18px; animation-delay: .2s; }
.spark.s2 { top: 220px; left: 30px; font-size: 14px; animation-delay: 1.2s; }
.spark.s3 { bottom: 140px; right: 30px; font-size: 22px; animation-delay: .6s; }
.spark.s4 { bottom: 60px; left: 80px; font-size: 16px; animation-delay: 1.6s; }

/* Botanic ornaments wiggle */
.botanic.tl { animation: wiggle 5s ease-in-out infinite; transform-origin: center; will-change: transform; }
.botanic.br { animation: wiggle 5s ease-in-out infinite; animation-delay: 2.5s; transform-origin: center; will-change: transform; }

/* Logo strip slow drift */
.logos-row .lg {
  animation: float-y-sm 6s ease-in-out infinite;
  will-change: transform;
}
.logos-row .lg:nth-child(2) { animation-delay: .4s; }
.logos-row .lg:nth-child(3) { animation-delay: .8s; }
.logos-row .lg:nth-child(4) { animation-delay: 1.2s; }
.logos-row .lg:nth-child(5) { animation-delay: 1.6s; }
.logos-row .lg:nth-child(6) { animation-delay: 2.0s; }

/* Feature cards hover bounce */
.feature .ico { transition: transform .35s cubic-bezier(.5,1.6,.5,1); will-change: transform; }
.feature:hover .ico { transform: rotate(-8deg) scale(1.08); }
.feature.span-2 .ico { animation: float-y-sm 5s ease-in-out infinite; will-change: transform; }

/* Template tilt on hover (already has lift); add wiggle */
.tpl { transition: transform .35s ease, box-shadow .35s ease; will-change: transform; }
.tpl:nth-child(odd) { animation: float-y-sm 7s ease-in-out infinite; }
.tpl:nth-child(even) { animation: float-y-sm 8s ease-in-out infinite; animation-delay: 1s; }
.tpl:hover { animation-play-state: paused; transform: translateY(-10px) rotate(-1deg); }

/* Pricing featured glow */
.tier.featured {
  animation: float-y-sm 4s ease-in-out infinite;
  will-change: transform;
}
.tier.featured .badge { animation: float-y-sm 2.5s ease-in-out infinite; will-change: transform; }

/* CTA card stack sway */
.cta-card-stack .c.c1 { animation: float-y-sm 5s ease-in-out infinite; animation-delay: 0s; will-change: transform; }
.cta-card-stack .c.c2 { animation: float-y-sm 6s ease-in-out infinite; animation-delay: .7s; will-change: transform; }
.cta-card-stack .c.c3 { animation: float-y-sm 5.5s ease-in-out infinite; animation-delay: 1.4s; will-change: transform; }

/* Countdown digits gentle pulse */
.invite-card .countdown .n {
  animation: count-bump 1s ease-in-out infinite;
  will-change: transform;
}
.invite-card .countdown .cell:nth-child(1) .n { animation-delay: 0s; }
.invite-card .countdown .cell:nth-child(2) .n { animation-delay: .15s; }
.invite-card .countdown .cell:nth-child(3) .n { animation-delay: .3s; }
.invite-card .countdown .cell:nth-child(4) .n { animation-delay: .45s; }

/* Gold shimmer on btn-gold — composited via pseudo-element */
.btn-gold {
  position: relative;
  background: var(--gold);
  overflow: hidden;
}
.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer-slide 4s linear infinite;
  will-change: transform;
  pointer-events: none;
}
@keyframes shimmer-slide {
  from { transform: translateX(0); }
  to { transform: translateX(400%); }
}

/* FAQ + button rotate (already in CSS) — supplement */

/* Stars pulse */
.testi .stars { animation: fade-in 1s ease both; }

/* Subtle parallax orbit on hero (no JS needed) */
.envelope-orbit, .envelope-orbit.o2 { transform-origin: center; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 64px 0 120px;
  background:
    radial-gradient(900px 500px at 88% 0%, rgba(191,161,93,.10), transparent 60%),
    radial-gradient(600px 400px at 0% 50%, rgba(20,54,90,.06), transparent 70%),
    var(--paper);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(46px, 5.6vw, 78px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--navy-deep);
  margin-top: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 500;
}
.hero h1 .underline {
  position: relative; display: inline-block;
}
.hero h1 .underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px;
  height: 10px; background: var(--gold-soft); opacity: .55; z-index: -1;
  border-radius: 4px;
}
.hero .lede {
  margin-top: 22px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 520px;
  line-height: 1.65;
}
.hero-cta {
  display: flex; gap: 14px; align-items: center;
  margin-top: 36px; flex-wrap: wrap;
}
.hero-trust {
  display: flex; gap: 28px; margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.hero-trust .stat .num {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px; color: var(--navy-deep); font-weight: 600;
  line-height: 1;
}
.hero-trust .stat .lbl {
  font-size: 12px; color: var(--ink-soft); letter-spacing: 0.06em;
  margin-top: 6px;
}

/* Phone mockup */
.hero-visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.phone {
  width: 320px; height: 640px;
  background: var(--navy-deep);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 50px 80px -30px rgba(20,54,90,.45),
    0 20px 30px -15px rgba(20,54,90,.25);
  position: relative;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(170deg, #F5EFE2, #E9DDC0);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: var(--navy-deep); border-radius: 99px;
  z-index: 3;
}

.invite-card {
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 28px 32px;
  position: relative;
  color: var(--navy-deep);
}
.invite-card::before {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(191,161,93,.5);
  border-radius: 24px;
  pointer-events: none;
}
.invite-card .smallcap {
  font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600;
  margin-bottom: 14px;
}
.invite-card .names {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 38px; line-height: 1.05;
  color: var(--navy-deep);
}
.invite-card .amp { color: var(--gold); font-style: italic; }
.invite-card .date {
  margin-top: 22px;
  font-size: 11px; letter-spacing: 0.18em; color: var(--navy);
  font-weight: 600;
}
.invite-card .date-big {
  margin-top: 6px;
  display: flex; align-items: center; gap: 14px;
  font-family: "Cormorant Garamond", serif;
}
.invite-card .date-big .d { font-size: 36px; line-height: 1; color: var(--navy-deep); font-weight: 600; }
.invite-card .date-big .div { width: 1px; height: 36px; background: var(--gold); }
.invite-card .date-big .m { text-align: left; font-size: 12px; letter-spacing: 0.2em; color: var(--navy); font-weight: 600; }
.invite-card .countdown {
  margin-top: 26px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px; width: 100%;
}
.invite-card .countdown .cell {
  background: rgba(20,54,90,.06);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 8px 4px;
}
.invite-card .countdown .n {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px; color: var(--navy-deep); font-weight: 600;
}
.invite-card .countdown .u {
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
  margin-top: 2px;
}
.invite-card .rsvp-btn {
  margin-top: 22px;
  background: var(--navy);
  color: var(--cream);
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
}
.invite-card .micro {
  margin-top: auto;
  font-size: 9px; color: var(--ink-soft); letter-spacing: 0.2em;
}

/* Floating chips around phone */
.float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 20px 40px -20px rgba(20,54,90,.25);
  z-index: 3;
  font-size: 13px;
}
.float-chip .dot { width: 8px; height: 8px; border-radius: 99px; background: #2EBD7E; box-shadow: 0 0 0 4px rgba(46,189,126,.18); position: relative; }
.float-chip.tl { top: 30px; left: -30px; }
.float-chip.br { bottom: 80px; right: -50px; }
.float-chip .av {
  width: 32px; height: 32px; border-radius: 99px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  display: grid; place-items: center; color: var(--navy-deep);
  font-weight: 700; font-size: 12px;
}
.float-chip strong { color: var(--navy-deep); font-weight: 600; }
.float-chip span { color: var(--ink-soft); }

.envelope-orbit {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  border: 1px dashed rgba(191,161,93,.35);
  z-index: 1;
}
.envelope-orbit.o2 { width: 600px; height: 600px; border-color: rgba(20,54,90,.08); }

/* ============ LOGO STRIP ============ */
.logos {
  padding: 30px 0 70px;
  border-bottom: 1px solid var(--line-soft);
}
.logos-label {
  text-align: center; color: var(--ink-soft); font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 28px;
}
.logos-row {
  display: flex; justify-content: space-around; align-items: center;
  flex-wrap: wrap; gap: 36px;
  opacity: .72;
}
.logos-row .lg {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px; color: var(--navy);
  letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 8px;
}
.logos-row .lg .sym { color: var(--gold); font-size: 18px; }

/* ============ FEATURES ============ */
.features-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: end; margin-bottom: 60px;
}
.features-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 500; line-height: 1.05;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
  margin-top: 16px;
}
.features-head p { color: var(--ink-soft); font-size: 17px; max-width: 460px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -24px rgba(20,54,90,.22);
}
.feature .ico {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--navy-deep);
  color: var(--gold-soft);
  display: grid; place-items: center;
  position: relative;
}
.feature .ico::after {
  content: ""; position: absolute; inset: -1px;
  border-radius: 16px; border: 1px solid var(--gold);
  transform: translate(6px, 6px);
  opacity: .5;
}
.feature h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px; font-weight: 600; color: var(--navy-deep);
  letter-spacing: -0.005em;
}
.feature p { color: var(--ink-soft); font-size: 15px; }
.feature.span-2 { grid-column: span 2; background: var(--navy-deep); color: var(--cream); }
.feature.span-2 h3 { color: var(--cream); font-style: italic; font-size: 32px; }
.feature.span-2 p { color: rgba(245,239,226,.7); max-width: 380px; }
.feature.span-2 .ico { background: var(--gold); color: var(--navy-deep); }
.feature.span-2 .ico::after { border-color: var(--gold-soft); }

/* ============ TEMPLATES ============ */
.templates {
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}
.templates-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 50px; gap: 32px; flex-wrap: wrap;
}
.templates-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 4.2vw, 56px); font-weight: 500;
  color: var(--navy-deep); letter-spacing: -0.01em; margin-top: 14px;
}
.tab-row {
  display: flex; gap: 8px; background: rgba(20,54,90,.06);
  padding: 6px; border-radius: 999px;
}
.tab-row button {
  padding: 10px 18px; border-radius: 999px; font-size: 13px;
  font-weight: 600; color: var(--navy); transition: all .15s;
}
.tab-row button.active { background: var(--navy-deep); color: var(--cream); }

.tpl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.tpl {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-soft);
  transition: transform .3s ease, box-shadow .3s ease;
  aspect-ratio: 3/4;
}
.tpl:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(20,54,90,.35); }
.tpl-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 28px 22px;
  color: var(--navy-deep);
}
.tpl-inner .smallcap {
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 700;
}
.tpl-inner .names {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 30px; line-height: 1.05;
  margin: 16px 0;
}
.tpl-inner .date {
  font-size: 11px; letter-spacing: 0.2em; color: var(--navy);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  padding: 8px 0; margin-top: 8px;
}
.tpl-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(251,246,234,.92);
  backdrop-filter: blur(8px);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy-deep); font-weight: 700;
  padding: 6px 10px; border-radius: 999px;
  z-index: 2;
}
.tpl-meta {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px;
  background: linear-gradient(180deg, transparent, rgba(20,54,90,.85));
  color: var(--cream);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  opacity: 0; transition: opacity .25s;
}
.tpl:hover .tpl-meta { opacity: 1; }
.tpl-meta .price { font-weight: 700; }
.tpl-meta a { color: var(--gold-soft); text-decoration: underline; }

.tpl.tpl-rustic { background: linear-gradient(160deg, #F5EFE2, #DCC79A); }
.tpl.tpl-classic { background: linear-gradient(160deg, #14365A, #0C2440); }
.tpl.tpl-classic .tpl-inner { color: var(--cream); }
.tpl.tpl-classic .smallcap { color: var(--gold-soft); }
.tpl.tpl-classic .names { color: var(--cream); }
.tpl.tpl-classic .date { color: var(--gold-soft); border-color: var(--gold); }
.tpl.tpl-botani { background: linear-gradient(160deg, #DCE5DA, #A9BFAA); }
.tpl.tpl-sunset { background: linear-gradient(160deg, #F2D5B8, #C68F66); }
.tpl.tpl-mono { background: linear-gradient(160deg, #FBF6EA, #E4D2A1); }
.tpl.tpl-marble { background: linear-gradient(160deg, #FAF7EE, #C9C4B8); }
.tpl.tpl-night { background: linear-gradient(160deg, #1F2A47, #14365A); }
.tpl.tpl-night .tpl-inner { color: var(--cream); }
.tpl.tpl-night .smallcap { color: var(--gold-soft); }
.tpl.tpl-night .names { color: var(--cream); }
.tpl.tpl-night .date { color: var(--gold-soft); border-color: var(--gold); }

/* Faux botanic */
.botanic {
  position: absolute; opacity: .5;
  font-family: "Cormorant Garamond", serif;
  color: var(--gold-deep); pointer-events: none;
}
.botanic.tl { top: 18px; left: 18px; font-size: 22px; }
.botanic.br { bottom: 50px; right: 18px; font-size: 22px; transform: rotate(180deg); }

/* ============ HOW ============ */
.how {
  background: var(--navy-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.how::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 100%, rgba(191,161,93,.18), transparent 40%),
    radial-gradient(circle at 90% 0%, rgba(191,161,93,.12), transparent 40%);
}
.how .container { position: relative; }
.how-head { text-align: center; margin-bottom: 56px; }
.how-head .eyebrow { color: var(--gold-soft); }
.how-head .eyebrow::before { background: var(--gold); }
.how-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 4.4vw, 60px); font-weight: 500;
  color: var(--cream); letter-spacing: -0.01em; margin-top: 16px;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.how-head h2 em { color: var(--gold-soft); font-style: italic; }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
.step {
  padding: 36px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,239,226,0.1);
  border-radius: 20px;
  position: relative;
}
.step .num {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px; color: var(--gold);
  line-height: 1; margin-bottom: 22px;
}
.step h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px; font-weight: 600;
  color: var(--cream); margin-bottom: 10px;
}
.step p { color: rgba(245,239,226,.7); font-size: 15px; }

/* ============ PRICING ============ */
.pricing-head { text-align: center; margin-bottom: 60px; }
.pricing-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 4.4vw, 60px); font-weight: 500;
  color: var(--navy-deep); letter-spacing: -0.01em; margin-top: 16px;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.pricing-head h2 em { color: var(--gold-deep); font-style: italic; }
.pricing-head p { color: var(--ink-soft); font-size: 17px; max-width: 540px; margin: 18px auto 0; }

.tiers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.tier {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
}
.tier h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px; color: var(--navy-deep); font-weight: 600;
}
.tier .sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; }
.tier .price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 24px;
}
.tier .price .cur { font-size: 16px; color: var(--ink-soft); }
.tier .price .num {
  font-family: "Cormorant Garamond", serif;
  font-size: 56px; font-weight: 600; color: var(--navy-deep);
  line-height: 1; letter-spacing: -0.02em;
}
.tier .price .per { font-size: 13px; color: var(--ink-soft); }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.tier li { display: flex; gap: 10px; font-size: 14px; color: var(--navy); }
.tier li svg { flex-shrink: 0; margin-top: 3px; color: var(--gold-deep); }
.tier .btn { width: 100%; margin-top: auto; }
.tier.featured {
  background: var(--navy-deep); color: var(--cream);
  border-color: var(--gold);
  transform: scale(1.03);
}
.tier.featured h3 { color: var(--cream); }
.tier.featured .price .num { color: var(--gold-soft); }
.tier.featured .price .cur, .tier.featured .price .per { color: rgba(245,239,226,.7); }
.tier.featured .sub { color: rgba(245,239,226,.7); }
.tier.featured li { color: var(--cream); }
.tier.featured li svg { color: var(--gold); }
.tier.featured .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy-deep);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
}

/* ============ TESTIMONIALS ============ */
.testimonials { background: var(--cream); }
.testimonials-head { text-align: center; margin-bottom: 50px; }
.testimonials-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 4.2vw, 54px); font-weight: 500;
  color: var(--navy-deep); margin-top: 16px;
}
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 30px;
}
.testi .stars { color: var(--gold); margin-bottom: 16px; letter-spacing: 4px; }
.testi .quote {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px; line-height: 1.4; font-style: italic;
  color: var(--navy-deep); margin-bottom: 24px;
}
.testi .who { display: flex; align-items: center; gap: 14px; }
.testi .av {
  width: 46px; height: 46px; border-radius: 99px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  display: grid; place-items: center;
  color: var(--navy-deep); font-weight: 700;
}
.testi .who strong { color: var(--navy-deep); display: block; font-weight: 600; }
.testi .who span { font-size: 13px; color: var(--ink-soft); }

/* ============ FAQ ============ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq-wrap h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 4.4vw, 56px); font-weight: 500;
  color: var(--navy-deep); margin-top: 16px;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 17px; font-weight: 600; color: var(--navy-deep);
  font-family: "Cormorant Garamond", serif; font-size: 22px;
}
.faq-q .pl {
  width: 28px; height: 28px; border-radius: 99px;
  background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-deep); flex-shrink: 0;
  transition: transform .25s;
}
.faq-item.open .faq-q .pl { transform: rotate(45deg); background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.faq-a {
  display: none;
  padding-top: 14px;
  color: var(--ink-soft);
  max-width: 580px;
  line-height: 1.65;
}
.faq-item.open .faq-a { display: block; }

/* ============ CTA ============ */
.cta-band {
  margin: 0 32px 100px;
  background: var(--navy-deep);
  color: var(--cream);
  border-radius: 32px;
  padding: 72px 64px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(191,161,93,.25), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(191,161,93,.15), transparent 50%);
}
.cta-band-inner { position: relative; }
.cta-band h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 4.4vw, 56px); font-weight: 500;
  color: var(--cream); letter-spacing: -0.01em;
}
.cta-band h2 em { color: var(--gold-soft); font-style: italic; }
.cta-band p { margin-top: 16px; color: rgba(245,239,226,.75); font-size: 17px; max-width: 480px; }
.cta-band-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--gold); color: var(--navy-deep); }
.cta-band .btn-primary:hover { background: var(--gold-soft); }
.cta-band .btn-outline { color: var(--cream); border-color: rgba(245,239,226,.4); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--cream); }

.cta-vis {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.cta-card-stack { position: relative; width: 280px; height: 320px; }
.cta-card-stack .c {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #F5EFE2, #DCC79A);
  border-radius: 18px;
  padding: 28px; color: var(--navy-deep);
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.4);
}
.cta-card-stack .c.c1 { transform: rotate(-8deg) translate(-30px, 10px); }
.cta-card-stack .c.c2 { transform: rotate(4deg) translate(20px, -10px); background: linear-gradient(160deg, #DCE5DA, #A9BFAA); }
.cta-card-stack .c.c3 { transform: rotate(-1deg); background: linear-gradient(160deg, #FBF6EA, #E4D2A1); }
.cta-card-stack .c .smallcap { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.cta-card-stack .c .names { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 28px; margin: 12px 0; line-height: 1; }
.cta-card-stack .c .date { font-size: 10px; letter-spacing: 0.2em; padding: 6px 0; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); font-weight: 600; }

/* ============ FOOTER ============ */
.footer {
  background: var(--cream-2);
  padding: 70px 0 36px;
  border-top: 1px solid var(--line-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
.footer-brand p {
  margin: 20px 0; color: var(--ink-soft); font-size: 14px; max-width: 320px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 99px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--navy);
  transition: all .15s;
}
.footer-socials a:hover { background: var(--navy-deep); color: var(--gold-soft); border-color: var(--navy-deep); }
.footer h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px; font-weight: 600; color: var(--navy-deep); margin-bottom: 16px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--ink-soft); }
.footer ul a:hover { color: var(--gold-deep); }
.footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--ink-soft);
  flex-wrap: wrap; gap: 12px;
}

/* Mobile */
@media (max-width: 980px) {
  .hero { padding: 32px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { margin-top: 16px; order: 2; }
  .features-grid, .tpl-grid, .tiers, .testi-grid, .steps { grid-template-columns: 1fr; }
  .features-head, .faq-wrap, .cta-band { grid-template-columns: 1fr; }
  .templates-head { flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 48px 28px; margin: 0 24px 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature.span-2 { grid-column: auto; }
  .tier.featured { transform: none; }
  .features-head h2, .templates-head h2, .pricing-head h2, .how-head h2, .faq-wrap h2, .testimonials-head h2, .cta-band h2 {
    font-size: clamp(30px, 7vw, 40px);
  }
  .hero h1 { font-size: clamp(38px, 9vw, 56px); }
  .hero .lede { font-size: 16px; }
  .hero-trust { gap: 20px; padding-top: 22px; margin-top: 28px; }
  .hero-trust .stat .num { font-size: 26px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; width: 100%; }

  /* Phone shrink + chip reposition */
  .phone { width: 260px; height: 520px; padding: 10px; border-radius: 36px; }
  .phone-screen { border-radius: 26px; }
  .phone-notch { width: 70px; height: 18px; top: 10px; }
  .invite-card { padding: 44px 22px 24px; }
  .invite-card .names { font-size: 30px; }
  .invite-card .date-big .d { font-size: 28px; }
  .invite-card .countdown .n { font-size: 16px; }
  .invite-card .rsvp-btn { padding: 10px 20px; font-size: 11px; }

  /* Hide overflow decorations on small screens */
  .envelope-orbit, .envelope-orbit.o2 { display: none; }
  .float-chip.tl { top: 0; left: 50%; transform: translateX(-95%); }
  .float-chip.br { bottom: 20px; right: 50%; transform: translateX(95%); }
  .spark { display: none; }

  /* Feature header */
  .features-head, .templates-head { gap: 20px; margin-bottom: 36px; }
  .feature { padding: 24px; gap: 14px; }
  .feature h3 { font-size: 22px; }
  .feature.span-2 h3 { font-size: 26px; }

  /* Templates */
  .tab-row { width: 100%; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tab-row::-webkit-scrollbar { display: none; }
  .tab-row button { white-space: nowrap; padding: 7px 10px; font-size: 11px; flex: 0 0 auto; text-align: center; }

  /* Steps */
  .step { padding: 28px 22px; }
  .step .num { font-size: 40px; margin-bottom: 14px; }

  /* Pricing */
  .tier { padding: 28px 24px; }
  .tier .price .num { font-size: 46px; }
  .tier.featured .badge { font-size: 9px; padding: 5px 12px; }

  /* Testimonials */
  .testi { padding: 24px; }
  .testi .quote { font-size: 19px; }

  /* FAQ */
  .faq-q { font-size: 18px; }

  /* CTA band */
  .cta-band { gap: 32px; border-radius: 24px; }
  .cta-band h2 { font-size: 32px; }
  .cta-vis { display: none; }
  .cta-band-actions { flex-direction: column; align-items: stretch; }
  .cta-band-actions .btn { justify-content: center; width: 100%; }

  /* Footer */
  .footer { padding: 50px 0 28px; }
  .footer-grid { gap: 32px; padding-bottom: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; font-size: 12px; }

  /* Logo strip */
  .logos { padding: 20px 0 50px; }
  .logos-label { letter-spacing: 0.10em; padding: 0 20px; }
  .logos-row { gap: 22px; }
  .logos-row .lg { font-size: 17px; }
}
@media (max-width: 600px) {
  .tpl-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .tpl-inner { padding: 22px 16px; }
  .tpl-inner .names { font-size: 22px; margin: 10px 0; }
  .tpl-inner .smallcap { font-size: 8px; letter-spacing: 0.22em; }
  .tpl-inner .date { font-size: 9px; letter-spacing: 0.14em; padding: 6px 0; }

  .hero { padding: 24px 0 48px; }
  .hero h1 { font-size: clamp(34px, 10vw, 46px); line-height: 1.05; }
  .hero h1 br { display: none; } /* let lines flow naturally */
  .hero-trust { gap: 14px; }
  .hero-trust .stat .num { font-size: 22px; }
  .hero-trust .stat .lbl { font-size: 10px; }

  .phone { width: 230px; height: 460px; }
  .invite-card { padding: 40px 18px 22px; }
  .invite-card .names { font-size: 26px; }
  .invite-card .countdown { gap: 4px; }
  .invite-card .countdown .cell { padding: 6px 2px; }
  .invite-card .countdown .n { font-size: 14px; }
  .invite-card .countdown .u { font-size: 8px; }

  .float-chip { padding: 8px 12px; font-size: 11px; border-radius: 12px; gap: 8px; }
  .float-chip .av { width: 26px; height: 26px; font-size: 10px; }
  .float-chip.tl { top: -4px; left: 4px; transform: none; }
  .float-chip.br { bottom: 8px; right: 4px; transform: none; left: auto; }

  .cta-band { padding: 36px 24px; margin: 0 24px 48px; }
  .cta-band h2 { font-size: 28px; }
  .cta-band p { font-size: 15px; }

  .features-head h2, .templates-head h2, .pricing-head h2, .how-head h2, .faq-wrap h2, .testimonials-head h2 {
    font-size: clamp(28px, 8vw, 36px);
  }
  .pricing-head p, .how-head h2 { padding: 0 4px; }

  .tier .price .num { font-size: 42px; }

  .nav-logo img { height: 56px !important; }
}

@media (max-width: 380px) {
  .phone { width: 100%; max-width: 240px; }
  .nav-logo img { height: 48px !important; }
  .logos-label { letter-spacing: 0.06em; font-size: 10px; }
  .tab-row { flex-wrap: wrap; justify-content: center; border-radius: 16px; }
  .tab-row button { font-size: 10px; padding: 6px 10px; }
}
