/* Recbrief — recbrief.app. Plain CSS, no build step. */
:root {
  --bg: #141414;
  --bg-2: #1c1c1c;
  --bg-3: #242424;
  --line: #333;
  --cream: #F3F1EC;
  --muted: #b9b6af;
  --red: #D24A3A;
  --red-hi: #E25A49;
  --radius: 14px;
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--cream); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--cream); text-decoration-color: var(--red); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--cream); color: var(--bg); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(20,20,20,.92); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 1.25rem; align-items: center; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--cream); }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent; line-height: 1.2; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hi); color: #fff; }
.btn-ghost { border-color: #4a4a4a; color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); }
.btn[aria-disabled="true"] { cursor: default; }
.btn .dot { width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; }
.btn small { font-weight: 500; opacity: .85; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 1rem; }

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--red); }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 38em; }
.fine { font-size: .9rem; color: var(--muted); }
.hero-art { position: relative; justify-self: center; width: min(320px, 70vw); }
.hero-art::before { content: ""; position: absolute; inset: -18%; background: radial-gradient(closest-side, rgba(210,74,58,.22), transparent); z-index: -1; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; gap: 2rem; } .hero-art { order: -1; width: 140px; justify-self: start; } }

/* Sections */
section { padding: clamp(3rem, 7vw, 5rem) 0; }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 2.25rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.35rem 1.1rem; }
.band .card { background: var(--bg); }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }
.card .ico { width: 36px; height: 36px; margin-bottom: .9rem; color: var(--red-hi); }
kbd { font-family: ui-monospace, Consolas, monospace; font-size: .85em; background: var(--bg); border: 1px solid #4a4a4a; border-bottom-width: 2px; border-radius: 6px; padding: .05em .4em; color: var(--cream); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--line); padding-top: 1rem; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; margin-bottom: .75rem; }
.steps p { color: var(--muted); margin: 0; }

.privacy-points { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.privacy-points li { padding-left: 1.6rem; position: relative; }
.privacy-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: .6rem; height: .6rem; border-radius: 50%; background: var(--red); }

/* Pro AI waitlist */
.pro { border: 1px solid #4a3330; background: linear-gradient(160deg, #221816, var(--bg-2) 60%); border-radius: 22px; padding: clamp(1.5rem, 5vw, 3rem); display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; }
@media (max-width: 820px) { .pro { grid-template-columns: 1fr; } }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red-hi); border: 1px solid #5a3a35; border-radius: 999px; padding: .2rem .7rem; margin-bottom: 1rem; }
.pro ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.pro li { margin-bottom: .35rem; }
.waitlist { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; align-self: start; }
.waitlist iframe[data-tally-src=""] { display: none; }
.waitlist iframe { width: 100%; border: 0; min-height: 180px; border-radius: 12px; background: #fff; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red-hi); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: .75rem 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; font-size: .92rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.site-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--cream); }

/* Legal pages */
.legal { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .6rem; }
.legal p, .legal li { color: #dcd9d2; }
.summary-box { background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 10px; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.todo { background: #3a2a10; color: #ffd890; padding: .1em .35em; border-radius: 4px; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: var(--bg-3); padding: .1em .35em; border-radius: 4px; }

.center { text-align: center; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound img { width: 96px; margin: 0 auto 1.5rem; }
.mt { margin-top: .9rem; } .m0 { margin: 0; }

/* Language switch (EN | ES) */
.lang-switch { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; letter-spacing: .04em; padding-left: 1rem; border-left: 1px solid var(--line); color: var(--line); }
.lang-switch a { color: var(--muted); text-decoration: none; }
.lang-switch a[aria-current="true"] { color: var(--cream); }
.lang-switch a:hover { color: #fff; }
.site-footer .lang-switch { border-left: 0; padding-left: 0; }
@media (max-width: 640px) { .nav { gap: .9rem; } .lang-switch { padding-left: .8rem; } }
