/* scannibal.app — shared styles for the marketing pages (generated by site/build.py) */
:root {
  --bg: #0c0a09; --surface: #1a1614; --surface2: #221d1a; --line: #2e2723;
  --text: #ece2d4; --muted: #a39686; --dim: #6b6157;
  --gold: #c9a84c; --gold-deep: #92712a; --rose: #f43f5e; --amber: #d97706; --green: #4fb37a;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 14px; }
h3 { font-size: 1.2rem; margin-bottom: 6px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 640px; }
section { padding: 72px 0; border-top: 1px solid var(--line); }

/* header */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(12,10,9,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: .12em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.links { display: flex; gap: 22px; font-size: 15px; }
nav.links a { color: var(--muted); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 13px; font-weight: 700; }
.lang a { padding: 5px 11px; color: var(--muted); }
.lang a.on { background: var(--gold-deep); color: #fff; }
.lang a:hover { text-decoration: none; }
@media (max-width: 760px) { nav.links { display: none; } }

/* buttons */
.cta { display: inline-flex; align-items: center; gap: 10px; background: var(--gold); color: #1b160a; font-weight: 800; padding: 14px 22px; border-radius: 14px; font-size: 17px; }
.cta:hover { text-decoration: none; filter: brightness(1.06); }
.cta svg { width: 20px; height: 20px; }
.cta-note { color: var(--dim); font-size: 14px; margin-top: 10px; }

/* hero */
.hero { padding: 56px 0 64px; border-top: 0; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero p.lead { margin: 18px 0 26px; }
.hero .phone { justify-self: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero .phone { max-width: 300px; } }
.phone { border-radius: 34px; border: 6px solid #2a2420; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); max-width: 320px; background: #000; }

/* hero pair */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
@media (max-width: 860px) { .pair { grid-template-columns: 1fr; } }
.hero-card { border-radius: 22px; padding: 26px; border: 1.5px solid; display: flex; flex-direction: column; gap: 14px; }
.hero-card.allergy { border-color: #d9770677; background: #d977060f; }
.hero-card.meal { border-color: #f43f5e77; background: #f43f5e0f; }
.hero-card h3 { font-size: 1.6rem; }
.hero-card .tag { font-weight: 700; font-size: 15px; }
.hero-card.allergy .tag { color: var(--amber); }
.hero-card.meal .tag { color: var(--rose); }
.hero-card ul { list-style: none; display: grid; gap: 8px; color: var(--text); }
.hero-card li::before { content: "✓"; color: var(--gold); font-weight: 800; margin-right: 10px; }
.hero-card .row { display: grid; grid-template-columns: 1fr 150px; gap: 18px; align-items: start; }
.hero-card .row .phone { border-width: 4px; border-radius: 20px; }
@media (max-width: 520px) { .hero-card .row { grid-template-columns: 1fr; } .hero-card .row .phone { max-width: 200px; } }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; }
.split.flip { grid-template-columns: 300px 1fr; }
.split.flip .phone { order: -1; }
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: 1fr; } .split .phone { max-width: 280px; justify-self: center; } }
.checks { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pills span { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 13px; font-size: 14px; color: var(--muted); }

/* grids */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.card .ic { font-size: 26px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card.fyi { border-color: var(--gold-deep); background: linear-gradient(180deg, #92712a1a, transparent); }
.badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--bg); background: var(--gold); border-radius: 6px; padding: 2px 7px; margin-bottom: 10px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; counter-reset: s; }
.steps .card { counter-increment: s; }
.steps .card::before { content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #1b160a; font-weight: 800; margin-bottom: 10px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* faq */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; }

/* misc */
.center { text-align: center; }
.center .lead { margin: 0 auto; }
.final { background: radial-gradient(ellipse at top, #92712a26, transparent 60%); }
.disclaimer { color: var(--dim); font-size: 13px; max-width: 760px; margin: 0 auto; text-align: center; padding: 28px 20px 0; }
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 32px 0 48px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
footer a { color: var(--muted); }
.crumbs { font-size: 14px; color: var(--dim); margin-bottom: 14px; }
.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; }
.langhint.show { display: block; }
.featlist { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; color: var(--muted, #a39b8a); line-height: 1.45; }
