/* scannibal — shared styles for the marketing pages (generated by site/build.py)
   Look: near-black, Manrope headlines in a silver gradient, Inter text, white pill
   buttons, quiet dark cards and a soft violet glow. Amber = Allergy Check, rose = Meal Check. */
:root {
  --bg: #080808; --surface: #101115; --surface2: #16171c; --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --text: #d0d0d0; --muted: #8f9099; --dim: #6a6b73; --white: #fff;
  --violet: #ba8dd9; --glow: rgba(126, 92, 214, .38); --blue: rgba(62, 92, 190, .30);
  --amber: #f0a43a; --rose: #f2557a;
  --head: Manrope, "Inter", system-ui, sans-serif;
  --body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: var(--white); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
section[id] { scroll-margin-top: 80px; }
h1, h2, h3 { font-family: var(--head); color: var(--white); font-weight: 600; }
h1, h2 { letter-spacing: -0.04em; line-height: 1.06;
  background: linear-gradient(180deg, #fff 0%, #d6d6d6 55%, #9a9a9f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 { font-size: clamp(2.6rem, 7.2vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 16px; }
h3 { font-size: 1.22rem; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--head); letter-spacing: .02em; color: var(--text);
  border: 1px solid var(--line2); background: rgba(255,255,255,.03); border-radius: 999px; padding: 8px 14px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); max-width: 620px; }
section { padding: 110px 0; position: relative; }
main { overflow-x: clip; }
.link { color: var(--white); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.link::after { content: "›"; font-size: 1.2em; line-height: 1; transition: transform .15s; }
.link:hover::after { transform: translateX(3px); }

/* header */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(8,8,8,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font: 700 20px var(--head); letter-spacing: -0.03em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand b { color: var(--violet); }
nav.links { display: flex; gap: 28px; font-size: 15px; }
nav.links a { color: var(--text); transition: color .15s; }
nav.links a:hover { color: var(--white); }
.right { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line2); border-radius: 999px; overflow: hidden; font: 600 12px var(--head); }
.lang a { padding: 6px 11px; color: var(--muted); }
.lang a.on { background: rgba(255,255,255,.12); color: var(--white); }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--white); color: #0d0d0f; font: 600 14px var(--head); padding: 9px 16px; border-radius: 999px; white-space: nowrap; }
.pill::after { content: "›"; font-size: 1.25em; line-height: 1; }
.pill:hover { background: #e9e9ee; }
@media (max-width: 860px) { nav.links { display: none; } }
@media (max-width: 420px) { .pill { display: none; } }

/* buttons */
.cta { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: #0d0d0f; font: 700 16px var(--head); padding: 15px 26px; border-radius: 999px;
  box-shadow: 0 10px 40px -10px rgba(186,141,217,.55); transition: transform .15s, background .15s; }
.cta:hover { background: #ececf1; transform: translateY(-1px); }
.cta svg { width: 20px; height: 20px; }
.cta-note { color: var(--dim); font-size: 14px; margin-top: 12px; }

/* phone frame */
.phone { position: relative; border-radius: 46px; padding: 9px; background: linear-gradient(160deg, #3a3b42, #121317 40%, #26272d); max-width: 320px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 100px -20px rgba(0,0,0,.9); }
.phone img { border-radius: 38px; background: #000; }

/* home hero: centered, huge headline, phones rising out of a glow */
.hero { padding: 84px 0 0; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -10% -20% auto; height: 640px; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(255,255,255,.07), transparent 70%); }
.hero h1 { max-width: 13ch; margin: 0 auto; }
.hero h1:lang(es) { max-width: 17ch; }
.hero .lead { margin: 24px auto 34px; }
.stage { position: relative; height: 640px; margin-top: 72px; }
.stage::before { content: ""; position: absolute; left: 50%; top: 18%; width: 900px; height: 600px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, var(--glow), var(--blue) 55%, transparent); filter: blur(30px); }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 260px; background: linear-gradient(rgba(8,8,8,0), var(--bg) 85%); z-index: 3; pointer-events: none; }
.stage .phone { position: absolute; left: 50%; top: 0; width: 330px; transform: translateX(-50%); z-index: 2; }
.stage .phone.side { width: 270px; top: 90px; z-index: 1; opacity: .55; filter: saturate(.8); }
.stage .phone.l { transform: translateX(-118%) rotate(-7deg); }
.stage .phone.r { transform: translateX(18%) rotate(7deg); }
@media (max-width: 760px) {
  .hero { padding-top: 52px; }
  .stage { height: 500px; margin-top: 48px; }
  .stage .phone { width: 260px; }
  .stage .phone.side { width: 200px; top: 70px; }
  .stage .phone.l { transform: translateX(-112%) rotate(-7deg); }
  .stage .phone.r { transform: translateX(12%) rotate(7deg); }
}

/* sub-page hero: split */
.hero.split-hero { text-align: left; padding-bottom: 40px; }
.hero.split-hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero.split-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); max-width: none; margin: 0; }
.hero.split-hero .lead { margin: 22px 0 0; }
.hero.split-hero .phone { justify-self: center; }
.hero.split-hero .glowbox { position: relative; justify-self: center; }
.hero.split-hero .glowbox::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(24px); }
@media (max-width: 860px) { .hero.split-hero .wrap { grid-template-columns: 1fr; } .hero.split-hero .phone { max-width: 280px; } }

/* section heads */
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.head .lead { max-width: 460px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* the two checks */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .pair { grid-template-columns: 1fr; } }
.check { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 34px 34px 0; display: flex; flex-direction: column; }
.check::before { content: ""; position: absolute; right: -20%; bottom: -30%; width: 80%; height: 80%; filter: blur(50px); opacity: .5; pointer-events: none; }
.check.allergy::before { background: radial-gradient(closest-side, rgba(240,164,58,.45), transparent); }
.check.meal::before { background: radial-gradient(closest-side, rgba(242,85,122,.45), transparent); }
.check .tag { font: 600 13px var(--head); letter-spacing: .02em; margin-bottom: 14px; display: inline-flex; gap: 8px; align-items: center; }
.check.allergy .tag { color: var(--amber); }
.check.meal .tag { color: var(--rose); }
.check h3 { font-size: 1.9rem; letter-spacing: -0.035em; }
.check .body { display: grid; grid-template-columns: 1fr 210px; gap: 24px; align-items: stretch; flex: 1; position: relative; margin-top: 18px; }
.check .body > div { display: flex; flex-direction: column; }
.check ul { list-style: none; display: grid; gap: 10px; padding-bottom: 24px; font-size: 15px; }
.check li { padding-left: 26px; position: relative; color: var(--text); }
.check li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .9;
  background: radial-gradient(circle, currentColor 0 3px, transparent 3.5px); }
.check.allergy li::before { color: var(--amber); }
.check.meal li::before { color: var(--rose); }
.check .phone { border-radius: 34px 34px 0 0; padding: 7px 7px 0; margin-bottom: 0; align-self: end; }
.check .phone img { border-radius: 28px 28px 0 0; aspect-ratio: 520 / 760; object-fit: cover; object-position: top; }
.check .more { margin: auto 0 32px; }
@media (max-width: 560px) { .check { padding: 26px 22px 0; } .check .body { grid-template-columns: 1fr; } .check .phone { max-width: 230px; justify-self: center; } }

/* split feature with icon list and sticky phone */
.split { display: grid; grid-template-columns: 1fr 340px; gap: 72px; align-items: start; }
.split.flip { grid-template-columns: 340px 1fr; }
.split.flip > .sticky { order: -1; }
.sticky { position: sticky; top: 100px; }
.sticky::before { content: ""; position: absolute; inset: 10% -25%; background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(30px); z-index: -1; }
@media (max-width: 900px) { .split, .split.flip { grid-template-columns: 1fr; gap: 44px; } .sticky { position: relative; top: 0; } .split .phone { max-width: 280px; margin: 0 auto; } }
.feats { list-style: none; display: grid; gap: 26px; margin-top: 38px; }
.feats li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: center; font: 600 clamp(1.05rem, 1.8vw, 1.3rem)/1.35 var(--head); color: var(--white); letter-spacing: -0.02em; }
.chip { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 20px;
  background: radial-gradient(circle at 30% 25%, #2b2c34, #0f1014 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 0 22px -6px var(--violet); }
.chip svg { width: 20px; height: 20px; stroke: #e7e3f1; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pills span { border: 1px solid var(--line2); background: rgba(255,255,255,.03); border-radius: 999px; padding: 7px 14px; font-size: 14px; color: var(--text); }
.note { color: var(--muted); margin-top: 20px; font-size: 15px; }

/* card grids */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; transition: border-color .2s, background .2s; }
a.card:hover, .card:hover { border-color: var(--line2); background: var(--surface2); }
.card .chip { margin-bottom: 20px; }
.card p { color: var(--muted); font-size: 15px; }
a.card { display: block; color: inherit; }
.featlist { list-style: none; margin-top: 14px; display: grid; gap: 9px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.featlist li { padding-left: 18px; position: relative; }
.featlist li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps .card { counter-increment: s; padding-top: 30px; }
.steps .card::before { content: "0" counter(s); display: block; font: 600 14px var(--head); color: var(--violet); letter-spacing: .08em; margin-bottom: 40px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* trust pair */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }
.duo .card { padding: 34px; }
.duo .card p + p { margin-top: 16px; }

/* faq */
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq .wrap > div:first-child { position: sticky; top: 100px; }
@media (max-width: 860px) { .faq .wrap { grid-template-columns: 1fr; gap: 28px; } .faq .wrap > div:first-child { position: static; } }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; margin-bottom: 10px; }
.faq details[open] { border-color: var(--line2); }
.faq summary { cursor: pointer; font: 600 16px/1.4 var(--head); color: var(--white); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; font-size: 15px; }

/* closing card */
.final .box { position: relative; overflow: hidden; border-radius: 32px; border: 1px solid var(--line); padding: 64px 56px 0;
  background: radial-gradient(ellipse 70% 90% at 85% 100%, rgba(126,92,214,.45), transparent 60%), radial-gradient(ellipse 60% 70% at 100% 0%, rgba(62,92,190,.25), transparent 60%), var(--surface);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.final .box > div { padding-bottom: 64px; align-self: center; padding-top: 0; }
.final .box .lead { margin: 6px 0 30px; }
.final .phone { width: 300px; justify-self: center; border-radius: 46px 46px 0 0; padding: 9px 9px 0; }
.final .phone img { border-radius: 38px 38px 0 0; aspect-ratio: 520 / 700; object-fit: cover; object-position: top; }
@media (max-width: 860px) { .final .box { grid-template-columns: 1fr; padding: 44px 24px 0; text-align: center; } .final .box > div { padding-bottom: 8px; } .final .phone { width: 250px; } }

/* footer */
.disclaimer { color: var(--dim); font-size: 13px; max-width: 760px; margin: 0 auto; text-align: center; padding: 0 20px 40px; }
footer { border-top: 1px solid var(--line); padding: 64px 0 40px; color: var(--muted); font-size: 15px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer .about p { max-width: 320px; margin-top: 16px; }
footer h4 { font: 600 12px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
footer nav { display: grid; gap: 10px; }
footer nav a { color: var(--muted); }
footer nav a:hover { color: var(--white); }
footer .base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font: 600 12px var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
footer .base a { color: var(--violet); }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .about { grid-column: 1 / -1; } }

.crumbs { font-size: 14px; color: var(--dim); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.langhint { display: none; background: var(--surface2); border-bottom: 1px solid var(--line); font-size: 14px; text-align: center; padding: 8px 16px; color: var(--text); }
.langhint a { color: var(--violet); }
.langhint.show { display: block; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
@media (max-width: 760px) { section { padding: 76px 0; } }
@media (max-width: 400px) { .cta { padding: 14px 20px; font-size: 15px; } }
