:root {
  --purple: #6E32FF;
  --purple-2: #A35BFF;
  --purple-soft: #F2ECFF;
  --ink: #1A1033;
  --text: #2B2440;
  --muted: #6B6580;
  --line: #E6E0F2;
  --bg: #FFFFFF;
  --bg-alt: #FAF8FF;
  --yellow: #FFD23F;
  --radius: 20px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--purple); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--purple); }
.lang { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 24px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 24px rgba(26,16,51,.25); }
.btn-light { background: #fff; color: var(--purple); }
.btn-ghost { background: rgba(255,255,255,.16); color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-purple { background: var(--purple); color: #fff; box-shadow: 0 8px 24px rgba(110,50,255,.3); }
.top .btn { padding: 10px 18px; font-size: 15px; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% 10%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, #6E32FF 0%, #8B47FF 55%, #B36BFF 100%); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding: 72px 0 84px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255,210,63,.3); }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -.035em; margin: 18px 0 18px; font-weight: 850; }
.hero p.sub { font-size: clamp(18px, 2vw, 21px); max-width: 34ch; opacity: .95; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.collage { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.collage .disc { position: absolute; inset: 8%; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
.collage img { position: absolute; width: 40%; filter: drop-shadow(0 18px 28px rgba(40,10,110,.35)); animation: float 6s ease-in-out infinite; }
.collage .c1 { left: 6%; top: 6%; } .collage .c2 { right: 6%; top: 10%; animation-delay: -2s; }
.collage .c3 { left: 10%; bottom: 8%; animation-delay: -4s; } .collage .c4 { right: 8%; bottom: 4%; animation-delay: -1s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .collage img { animation: none; } html { scroll-behavior: auto; } }

/* Sections */
section { padding: 88px 0; }
.alt { background: var(--bg-alt); }
.eyebrow { color: var(--purple); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.03em; color: var(--ink); margin: 0 0 16px; font-weight: 850; }
.lead { font-size: 20px; color: var(--muted); max-width: 60ch; margin: 0; }
.center { text-align: center; } .center .lead { margin-inline: auto; }

.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mission blockquote { margin: 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; color: var(--ink); font-weight: 700; letter-spacing: -.015em; border-left: 5px solid var(--purple); padding-left: 24px; }
.pillars { display: grid; gap: 16px; }
.pillar { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.pillar .n { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--purple-soft); color: var(--purple); display: grid; place-items: center; font-weight: 850; }
.pillar h3 { margin: 0 0 4px; font-size: 18px; color: var(--ink); } .pillar p { margin: 0; color: var(--muted); font-size: 16px; }

.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 44px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 12px 16px; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.cat:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(110,50,255,.12); }
.cat { overflow: hidden; }
.cat img { width: 88%; margin: 0 auto 6px; }
.cat span { font-weight: 750; color: var(--ink); font-size: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 850; font-size: 18px; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; color: var(--ink); font-size: 20px; } .step p { margin: 0; color: var(--muted); }

/* Join */
.join { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.join + .join { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
.join .copy ul { padding: 0; margin: 20px 0 0; list-style: none; display: grid; gap: 10px; }
.join .copy li { display: flex; gap: 10px; } .join .copy li::before { content: "✓"; color: var(--purple); font-weight: 900; }
.offer { margin-top: 22px; background: linear-gradient(135deg, var(--ink), #3A1E7A); color: #fff; border-radius: var(--radius); padding: 22px 24px; }
.offer b { display: block; font-size: 30px; letter-spacing: -.02em; color: var(--yellow); }
.offer small { opacity: .85; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: 0 24px 60px rgba(26,16,51,.08); }
.card h3 { margin: 0 0 18px; color: var(--ink); font-size: 22px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: 14px; color: var(--ink); }
.field input, .field select { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); width: 100%; }
.field input:focus, .field select:focus { border-color: var(--purple); outline: none; box-shadow: 0 0 0 4px rgba(110,50,255,.15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 18px; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--purple); }
.card .btn { width: 100%; }
.hp { position: absolute; left: -5000px; }

/* FAQ */
.faq { max-width: 760px; margin: 40px auto 0; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 750; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--purple); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
footer { background: var(--ink); color: #CFC7E8; padding: 56px 0 40px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer .brand { color: #fff; }
footer h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
footer a { color: #CFC7E8; text-decoration: none; } footer a:hover { color: #fff; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: 14px; grid-column: 1 / -1; }

/* Thank-you page */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 16px; }
.thanks img { width: 160px; margin: 0 auto 20px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero .wrap, .mission, .join { grid-template-columns: 1fr; }
  .hero .wrap { padding: 48px 0 56px; }
  .collage { max-width: 320px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .top .btn { display: none; }
  .grid2 { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 22px; }
}
.left { text-align: left; }
.check.tight { margin-top: -8px; }

/* Legal pages: one article per language; site.js sets <html lang>. */
.legal-page { padding: 48px 0 72px; max-width: 760px; }
.legal-page h1 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 6px; }
.legal-page h2 { font-size: 21px; margin: 32px 0 8px; }
.legal-page p, .legal-page li { line-height: 1.65; color: var(--ink); }
.legal-page ul { padding-left: 22px; }
.legal-page .updated { color: var(--muted); margin: 0 0 20px; }
html[lang="en"] .legal-page article[lang="es"], html:not([lang="en"]) .legal-page article[lang="en"] { display: none; }
.legal-page h3 { font-size: 17px; margin: 18px 0 4px; }
.join .small { font-size: 14px; color: var(--muted); margin: 6px 0 10px; }

/* ---- Home (DoorDash-style layout, LatinDrop identity) ---- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.arr { flex: none; }
.login { color: var(--ink); font-weight: 700; text-decoration: none; font-size: 15px; }
.login:hover { color: var(--purple); }

.hero2 { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 88px 0 72px;
  background: radial-gradient(700px 360px at 50% 0%, rgba(163,91,255,.45), transparent 70%), linear-gradient(180deg, #1B0947 0%, #2A0F6B 100%); }
/* Fine dot grid that fades toward the edges: texture without pictures. */
.hero2::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 0%, transparent 75%); }
.hero2-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero2-in { text-align: left; }
.hero2-in .sub { margin-left: 0; }
.hero2-in .zip { margin-left: 0; }
.phones { position: relative; height: 600px; }
.phone { position: absolute; width: 268px; aspect-ratio: 660 / 1434; padding: 9px; border-radius: 46px; background: #0B0816;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.18), 0 40px 80px rgba(5,0,25,.55); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; }
.phone.front { left: 50%; top: 0; transform: translateX(-30%); }
.phone.back { left: 50%; top: 56px; transform: translateX(-95%) rotate(-7deg) scale(.9); opacity: .9; }
.hero2 h1 { font-size: clamp(44px, 7.4vw, 84px); margin: 22px auto 16px; letter-spacing: -.045em; }
.hero2 .sub { font-size: clamp(18px, 2.1vw, 22px); max-width: 38ch; margin: 0 auto 30px; opacity: .92; }

.zip { display: flex; align-items: center; gap: 10px; max-width: 520px; margin: 0 auto; background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 999px; padding: 6px 6px 6px 20px; backdrop-filter: blur(10px); }
.zip:focus-within { background: #fff; color: var(--ink); border-color: #fff; }
.zip input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 18px; color: inherit; padding: 12px 0; outline: none; }
.zip input::placeholder { color: rgba(255,255,255,.8); }
.zip:focus-within input::placeholder { color: var(--muted); }
.zip button { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .15s ease; }
.zip button:hover { transform: scale(1.06); }
.zones { margin: 16px 0 0; font-size: 15px; opacity: .85; }
.hero-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: #fff; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }

.paths-sec { padding: 72px 0 40px; }
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path { display: grid; gap: 14px; text-decoration: none; color: var(--text); padding: 22px; border-radius: 24px; transition: background .2s ease, transform .2s ease; }
.path:hover { background: var(--bg-alt); transform: translateY(-3px); }
.path .ill { width: 100%; max-width: 220px; height: auto; }
.path h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 0 0 8px; }
.path p { margin: 0 0 12px; color: var(--muted); font-size: 17px; }
.go { display: inline-flex; align-items: center; gap: 6px; color: var(--purple); font-weight: 800; }

.rail-sec { padding: 48px 0 56px; }
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px max(16px, calc((100% - 1120px) / 2)) 10px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.chip { flex: none; width: 168px; scroll-snap-align: start; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 22px; padding: 14px 12px 16px; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.chip:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(110,50,255,.12); }
.chip img { width: 84%; margin: 0 auto 4px; }
.chip span { font-weight: 800; color: var(--ink); }

.feature-sec { padding: 24px 0 40px; }
.feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 40px 0; }
.feature.rev .art { order: 2; }
.feature .art { position: relative; aspect-ratio: 4 / 3; border-radius: 32px; overflow: hidden; }
.a-purple { background: radial-gradient(circle at 30% 30%, #fff 0, transparent 55%), linear-gradient(135deg, #E7DCFF, #C9B0FF); }
.a-yellow { background: radial-gradient(circle at 70% 30%, #fff 0, transparent 55%), linear-gradient(135deg, #FFF3C4, #FFD978); }
.a-mint { background: radial-gradient(circle at 30% 70%, #fff 0, transparent 55%), linear-gradient(135deg, #DDF7EE, #A9E8D3); }
.art img { position: absolute; filter: drop-shadow(0 22px 30px rgba(26,16,51,.25)); }
.art .big { width: 62%; left: 8%; top: 10%; } .art .small { width: 40%; right: 6%; bottom: 6%; }
.art.photo { background: var(--bg-alt); box-shadow: 0 24px 60px rgba(26,16,51,.12); }
.art.photo img { position: static; width: 100%; height: 100%; object-fit: cover; filter: none; }
.feature .copy h2 { font-size: clamp(30px, 3.6vw, 44px); }
.feature .copy h3 { margin: 0 0 10px; color: var(--ink); font-size: 20px; }
.feature .copy p { color: var(--muted); font-size: 18px; margin: 0 0 24px; max-width: 46ch; }

.how-sec { background: var(--bg-alt); }
.mission-band { background: linear-gradient(160deg, #1E0A4F, #3A1690); color: #E9E2FF; }
.mission-band .eyebrow { color: var(--yellow); }
.mission-band h2 { color: #fff; }
.mission-band blockquote { margin: 0 0 36px; max-width: 30em; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; font-weight: 700; color: #fff; }
.mission-band .pillars { grid-template-columns: repeat(3, 1fr); }
.mission-band .pillar { display: block; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
.mission-band .pillar h3 { color: #fff; } .mission-band .pillar p { color: #CFC7E8; }

.promo { position: fixed; z-index: 6; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px max(16px, calc((100% - 1120px) / 2));
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(26,16,51,.08); }
.promo svg { flex: none; }
.promo p { margin: 0; flex: 1; font-weight: 750; color: var(--ink); font-size: 15px; line-height: 1.35; }
.promo a { font-weight: 800; color: var(--ink); white-space: nowrap; }
.promo-x { flex: none; border: 0; background: transparent; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 6px; }
.promo.hidden { display: none; }
body.has-promo footer { padding-bottom: 110px; }

@media (max-width: 900px) {
  .top .login { margin-left: 4px; }
  .hero2 { padding: 64px 0 0; }
  .hero2-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero2-in { text-align: center; }
  .hero2-in .sub, .hero2-in .zip { margin-left: auto; }
  .phones { height: 380px; overflow: hidden; }
  .phone { width: 230px; }
  .phone.front { transform: translateX(-50%); }
  .phone.back { display: none; }
  .paths { grid-template-columns: 1fr; gap: 4px; }
  .path { grid-template-columns: 120px 1fr; align-items: start; padding: 18px 8px; }
  .path .ill { max-width: 120px; }
  .feature, .feature.rev { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }
  .feature.rev .art { order: 0; }
  .mission-band .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .top .login { display: none; }
  .path h2 { font-size: 24px; }
  .chip { width: 140px; }
}
