:root {
  --navy: #213945;
  --navy-deep: #14252E;
  --navy-soft: #2D4A58;
  --gold: #FFC800;
  --gold-soft: #F7C96B;
  --paper: #F3F6F8;
  --white: #FFFFFF;
  --ink: #1F2937;
  --muted: #5B6773;
  --line: #E1E7EB;
  --radius: 20px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Language switch: every translated bit is a pair of spans */
html[data-lang="en"] [lang="es"], html[data-lang="es"] [lang="en"] { display: none !important; }

/* Top bar */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.28em; font-size: 14px; color: var(--white); text-decoration: none; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold-soft); display: inline-block; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1.5px solid rgba(255,255,255,0.35); border-radius: 999px; overflow: hidden; }
.lang button { background: transparent; border: 0; color: rgba(255,255,255,0.8); font: 600 13px var(--font); padding: 6px 12px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--white); color: var(--navy); }
.lang button:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 17px var(--font); text-decoration: none; padding: 14px 26px; border-radius: 16px; border: 0; cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.btn:active { transform: translateY(2px); }
.btn-gold { background: var(--gold-soft); color: var(--navy-deep); box-shadow: 0 5px 0 #D9A83A; }
.btn-gold:hover { background: #FFD27A; }
.btn-gold:active { box-shadow: 0 2px 0 #D9A83A; }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); cursor: default; font-weight: 600; font-size: 15px; }
.btn-small { padding: 9px 16px; font-size: 14px; border-radius: 12px; box-shadow: 0 3px 0 #D9A83A; }
.btn-dark { background: var(--navy); color: var(--white); box-shadow: 0 5px 0 var(--navy-deep); }
.btn-line { background: var(--white); color: var(--navy); border: 2px solid var(--line); }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(900px 500px at 78% 12%, #3C5C6C 0%, rgba(60,92,108,0) 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); padding: 150px 0 190px; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.05; margin: 0 0 16px; letter-spacing: -0.02em; max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--gold-soft); display: block; }
.hero p.lead { font-size: clamp(17px, 2.3vw, 21px); max-width: 38ch; margin: 0 0 30px; color: #D5DFE5; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.soon { font-size: 14px; color: #B8C7D0; }
.word { position: absolute; font-weight: 700; color: rgba(255,255,255,0.09); user-select: none; pointer-events: none; animation: float 9s ease-in-out infinite; }
.w1 { top: 17%; right: 14%; font-size: 84px; }
.w2 { top: 38%; right: 4%; font-size: 52px; animation-delay: -2s; }
.w3 { top: 60%; right: 22%; font-size: 64px; animation-delay: -4s; }
.w4 { top: 26%; right: 38%; font-size: 40px; animation-delay: -6s; }
.w5 { top: 12%; left: 52%; font-size: 36px; animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 150px; display: block; }

/* Sections */
section { padding: 76px 0; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; color: var(--navy); }
.sub { font-size: 18px; color: var(--muted); max-width: 52ch; margin: 0 0 36px; }
.grid { display: grid; gap: 18px; }
.steps { grid-template-columns: repeat(3, 1fr); }
.features { grid-template-columns: repeat(3, 1fr); }
.pricing { grid-template-columns: repeat(3, 1fr); }
.pricing .price { font-size: 30px; font-weight: 700; color: var(--navy); margin: 6px 0 2px; }
.pricing .price small { font-size: 15px; font-weight: 400; color: var(--muted); }
.pricing .tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--navy); background: #FFC857; border-radius: 10px; padding: 2px 8px; }
.price-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; max-width: 70ch; }
.card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(16,24,40,0.05), 0 6px 18px rgba(16,24,40,0.05); }
.card h3 { margin: 10px 0 6px; font-size: 19px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.num { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 12px; background: var(--navy); color: var(--gold-soft); font-weight: 700; }
.icon { font-size: 30px; line-height: 1; }
.band { background: var(--navy); color: var(--white); border-radius: 28px; padding: 44px 32px; text-align: center; }
.band h2 { color: var(--white); }
.band p { color: #D5DFE5; max-width: 46ch; margin: 0 auto 26px; font-size: 18px; }
footer { padding: 36px 0 52px; color: var(--muted); font-size: 14px; text-align: center; }

/* Invite page */
.invite-page { min-height: 100vh; color: var(--white); background: radial-gradient(800px 480px at 80% 5%, #3C5C6C 0%, rgba(60,92,108,0) 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); display: flex; flex-direction: column; }
.invite-main { flex: 1; display: flex; align-items: center; padding: 110px 0 60px; }
.invite-card { background: var(--white); color: var(--ink); border-radius: 28px; padding: 32px 26px; max-width: 460px; margin: 0 auto; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.35); }
.invite-card h1 { font-size: 30px; line-height: 1.15; margin: 0 0 10px; color: var(--navy); }
.invite-card p { margin: 0 0 18px; color: var(--muted); }
.code { font-size: 40px; font-weight: 700; letter-spacing: 0.14em; color: var(--navy); background: var(--paper); border-radius: 18px; padding: 14px 10px; margin: 6px 0 14px; user-select: all; }
.stack { display: grid; gap: 12px; }
.note { font-size: 14px; color: var(--muted); min-height: 1.4em; margin-top: 12px; }
.perks { font-size: 15px; color: var(--ink); background: #FFF7DB; border-radius: 14px; padding: 10px 14px; margin-bottom: 18px; }

@media (max-width: 860px) {
  .steps, .features, .pricing { grid-template-columns: repeat(2, 1fr); }
  .w1 { right: 6%; } .w3 { right: 8%; } .w4 { display: none; } .w5 { display: none; }
  .hero { padding: 118px 0 170px; }
}
@media (max-width: 560px) {
  .steps, .features, .pricing { grid-template-columns: 1fr; }
  .nav .btn-small { display: none; }
  section { padding: 56px 0; }
  .word { color: rgba(255,255,255,0.07); }
  .w1 { font-size: 64px; top: 14%; right: 4%; } .w2 { font-size: 40px; } .w3 { font-size: 48px; right: 10%; }
}
@media (prefers-reduced-motion: reduce) { .word { animation: none; } html { scroll-behavior: auto; } .btn { transition: none; } }

/* Privacy and terms pages */
.legal { padding: 110px 0 40px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); color: var(--navy); margin: 0 0 6px; }
.legal h2 { font-size: 22px; margin: 28px 0 8px; }
.legal p { color: var(--ink); font-size: 16px; line-height: 1.65; margin: 0 0 12px; }
.legal ol { margin: 0 0 12px; padding-left: 24px; line-height: 1.65; }
.legal li { margin-bottom: 6px; font-size: 16px; }
.legal .meta { color: var(--muted); font-size: 14px; }
.legal a, footer a { color: var(--navy); font-weight: 600; }
.legal-page .nav { position: static; background: var(--navy); }
.legal-page .legal { padding-top: 48px; }
