:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --paper: #f5f9fa;
  --paper-2: #eaf3f6;
  --lilac: #06b6d4;
  --soft: #06b6d4;
  --accent: #0891b2;
  --accent-ink: #0e7490;
  --fuchsia: #0891b2;
  --pink: #334155;
  --line: rgba(15, 23, 42, 0.12);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(6, 182, 212, 0.18), transparent 62%),
    radial-gradient(900px 480px at -10% 18%, rgba(100, 116, 139, 0.14), transparent 60%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transition: top 0.2s ease;
}

.skip:focus {
  top: 16px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 249, 250, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

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

.brand {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a {
  transition: color 0.18s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-access {
  display: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-ink);
  white-space: nowrap;
}

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

.nav-access:focus-visible {
  outline: 3px solid var(--soft);
  outline-offset: 3px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.2);
}

.btn:focus-visible {
  outline: 3px solid var(--soft);
  outline-offset: 3px;
}

.btn-small {
  padding: 11px 18px;
  font-size: 14px;
}

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

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

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

.btn-light:hover {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.18s ease;
}

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

.link:focus-visible {
  outline: 3px solid var(--soft);
  outline-offset: 3px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.eyebrow.light {
  color: var(--lilac);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 104px;
}

h1 {
  font-size: clamp(2.7rem, 5.6vw, 5rem);
  margin: 18px 0 24px;
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

.lede {
  max-width: 560px;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}

.hero-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* Hero art */

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.glow {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.glow-a {
  width: 360px;
  height: 360px;
  top: 40px;
  right: 10px;
  background: var(--lilac);
  opacity: 0.28;
}

.glow-b {
  width: 320px;
  height: 320px;
  bottom: 30px;
  left: 0;
  background: var(--fuchsia);
  opacity: 0.18;
}

.phone {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 292px;
  aspect-ratio: 9 / 16;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 44px;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(6, 182, 212, 0.4), transparent 55%),
    linear-gradient(165deg, #1e293b 0%, #0f172a 58%, #020617 100%);
  box-shadow:
    0 40px 80px rgba(15, 23, 42, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: rotate(-3deg);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 36px;
  pointer-events: none;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  padding: 8px 6px 0;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.68);
}

.phone-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--lilac);
}

.phone-title {
  margin: 10px 0 20px;
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.04;
  color: #fff;
}

.phone-play {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding-left: 3px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 15px;
  backdrop-filter: blur(6px);
}

.phone-bottom {
  padding: 0 6px 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
}

.chip {
  position: absolute;
  z-index: 3;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  animation: float 5.5s ease-in-out infinite alternate;
}

.chip-a {
  top: 74px;
  left: -8px;
}

.chip-b {
  top: 320px;
  right: -18px;
  animation-delay: -1.8s;
}

.chip-c {
  bottom: 74px;
  left: 14px;
  animation-delay: -3.4s;
}

@keyframes float {
  from {
    transform: translateY(-4px);
  }
  to {
    transform: translateY(6px);
  }
}

/* Sections */

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
}

.section-sub {
  max-width: 620px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

.center .section-sub {
  margin-inline: auto;
}

/* Problem */

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

.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--accent-ink);
}

.card h3 {
  margin: 14px 0 10px;
  font-size: 24px;
}

.card p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

.steps li {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.steps span {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--accent-ink);
}

.steps h3 {
  margin: 12px 0 8px;
  font-size: 22px;
}

.steps p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* Case */

.case-section {
  background:
    radial-gradient(800px 400px at 85% 20%, rgba(6, 182, 212, 0.14), transparent 60%),
    var(--paper-2);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.case {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.case h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.case-copy p {
  max-width: 520px;
  margin: 18px 0 24px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.invite-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 4 / 5;
  padding: clamp(32px, 4vw, 46px);
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(6, 182, 212, 0.38), transparent 55%),
    linear-gradient(155deg, #0f172a 0%, #164e63 55%, #0f172a 100%);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35);
  color: #fff;
}

.invite-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.28);
  filter: blur(8px);
}

.invite-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  pointer-events: none;
}

.invite-kicker {
  position: relative;
  z-index: 1;
  font-size: 12px;
  letter-spacing: 0.22em;
  opacity: 0.9;
}

.invite-name {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.2vw, 3.6rem);
  line-height: 1;
}

.invite-date {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.18em;
  opacity: 0.9;
}

.invite-note {
  position: relative;
  z-index: 1;
  max-width: 220px;
  font-size: 15px;
  line-height: 1.5;
}

/* Plans */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
}

.plan h3 {
  font-size: 26px;
}

.price {
  margin: 10px 0 4px;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.1;
}

.price span {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}

.plan-for {
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--ink-soft);
}

.plan ul {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 14px;
}

.plan li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
}

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

.plan .btn {
  margin-top: auto;
}

.plan.featured {
  position: relative;
  border-color: transparent;
  background: var(--ink);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
  color: #fff;
  transform: translateY(-10px);
}

.plan.featured .price span,
.plan.featured .plan-for,
.plan.featured li {
  color: rgba(255, 255, 255, 0.68);
}

.plan.featured li::before {
  color: var(--lilac);
}

.badge {
  position: absolute;
  top: -12px;
  left: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lilac);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plans-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

/* FAQ */

.faq-list {
  max-width: 840px;
}

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

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

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  color: var(--accent-ink);
  font-size: 22px;
  line-height: 1;
}

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

.faq-list summary:focus-visible {
  outline: 3px solid var(--soft);
  outline-offset: 3px;
  border-radius: 6px;
}

.faq-list details p {
  max-width: 720px;
  margin-top: 12px;
  color: var(--ink-soft);
}

/* Final CTA */

.final {
  padding: 0 24px 96px;
}

.final-inner {
  position: relative;
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(48px, 7vw, 84px);
  overflow: hidden;
  border-radius: 34px;
  background: var(--ink);
  color: #fff;
}

.final-inner::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.4), transparent 65%);
  filter: blur(20px);
}

.final-inner::after {
  content: "";
  position: absolute;
  bottom: -180px;
  left: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.35), transparent 65%);
  filter: blur(20px);
}

.final-inner > * {
  position: relative;
  z-index: 1;
}

.final h2 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: clamp(2rem, 3.9vw, 3.4rem);
}

.final p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
}

.final .btn {
  margin-top: 28px;
}

/* Footer */

.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.footer-brand span {
  color: var(--accent);
}

.site-footer p {
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 13px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent-ink);
}

.footer-links a:focus-visible {
  outline: 3px solid var(--soft);
  outline-offset: 3px;
}

.footer-legal {
  margin-top: 30px;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.62);
}

/* Responsive */

@media (min-width: 961px) {
  .nav-access {
    display: inline;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 80px;
  }

  .hero-art {
    min-height: 560px;
  }

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

  .case {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .invite-card {
    max-width: 520px;
  }

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

  .plan.featured {
    transform: none;
  }
}

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

  .section {
    padding: 72px 0;
  }

  .grid-3,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 540px;
  }

  .chip-a {
    left: 0;
  }

  .chip-b {
    right: -6px;
  }

  .chip-c {
    left: 0;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(1180px, 100% - 36px);
  }

  .nav {
    gap: 12px;
  }

  .brand {
    font-size: 18px;
  }

  .btn-small {
    padding: 9px 13px;
    font-size: 12px;
  }

  .glow-a {
    width: 260px;
    height: 260px;
    right: -10px;
  }

  .glow-b {
    width: 230px;
    height: 230px;
    left: 0;
  }

  .phone {
    width: 250px;
  }

  .phone-title {
    font-size: 32px;
  }

  .chip {
    font-size: 12px;
    padding: 8px 12px;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}

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

  .chip {
    animation: none;
  }

  .card,
  .btn {
    transition: none;
  }
}
