/* lalo-app · app landing pages (tools/landings.py). Accent tokens (--brand, --brand-strong, --brand-soft) come from each page. */
:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --tint: #efede6;
  --text: #17171c;
  --muted: #5e5c57;
  --line: #e2dfd6;
  --ok: #0c5132;
  --ok-bg: #e3f4e8;
  --radius: 18px;
  --max: 1160px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121215;
    --surface: #1b1b20;
    --tint: #18181c;
    --text: #f1eee8;
    --muted: #aaa69d;
    --line: #2d2c32;
    --ok: #9fe0b8;
    --ok-bg: #16291f;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-strong); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 30; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; margin-bottom: 28px; max-width: 22ch; }
h3 { font-size: 20px; line-height: 1.25; }
.note { color: var(--muted); font-size: 14px; margin: 14px 0 0; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 18px; height: 66px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--text); text-decoration: none; }
.top__app { display: flex; align-items: center; gap: 8px; color: var(--muted); padding-left: 16px; border-left: 1px solid var(--line); font-weight: 600; }
.top__app img { border-radius: 6px; }
.top__nav { display: flex; gap: 22px; margin-left: auto; }
.top__nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.top__nav a:hover { color: var(--text); }
@media (max-width: 860px) { .top__nav { display: none; } .top .btn { margin-left: auto; } }
@media (max-width: 520px) { .top__app { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
@media (prefers-color-scheme: dark) { .btn--primary { color: #121215; } }
.btn--primary:hover { background: var(--brand-strong); }
.btn--ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* hero */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 22px; }
.crumbs a { color: var(--muted); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; padding-block: 40px 56px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-strong); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; margin: 0 0 18px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: 19px; color: var(--muted); margin: 22px 0 0; max-width: 56ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__shot { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0,0,0,.28), 0 0 0 1px var(--line); transform: rotate(-.6deg); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 32px; } .hero__shot { transform: none; } }

/* facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.fact { padding: 24px 20px; display: grid; gap: 4px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact strong { font-family: var(--display); font-size: 28px; line-height: 1.1; color: var(--text); }
.fact span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:nth-child(3) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* blocks */
.block { padding-block: 80px; }
.block--tint { background: var(--tint); border-block: 1px solid var(--line); }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; }
.feat__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); }
.feat p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feats { grid-template-columns: 1fr; } }

.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.shot { margin: 0; }
.shot img { border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -22px rgba(0,0,0,.35); }
.shot figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }

/* comparison */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cmp { width: 100%; min-width: 620px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: 14px; color: var(--muted); font-weight: 600; }
.cmp thead th:nth-child(2) { color: var(--brand-strong); }
.cmp tbody th { font-weight: 500; }
.cmp .yes { color: var(--ok); width: 120px; }
.cmp .yes svg { background: var(--ok-bg); border-radius: 999px; padding: 4px; width: 30px; height: 30px; }
.cmp .them { color: var(--muted); font-size: 15px; width: 34%; }

/* pricing */
.plans { display: grid; gap: 18px; }
.plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 8px; align-content: start; }
.plan--hot { border: 2px solid var(--brand); }
.plan__tag { position: absolute; top: -12px; left: 22px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
@media (prefers-color-scheme: dark) { .plan__tag { color: #121215; } }
.plan__price { font-family: var(--display); font-size: 40px; font-weight: 700; margin: 0; }
.plan__price small { font-family: var(--body); font-size: 15px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.plan ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; display: grid; gap: 6px; }
@media (max-width: 1000px) { .plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .plans--3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .plans--4 { grid-template-columns: 1fr; } }
.early { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; justify-items: start; max-width: 720px; }
.early p { margin: 0; color: var(--muted); }

/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; }
.qa summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.qa summary::after { content: "+"; color: var(--brand-strong); font-size: 22px; line-height: 1; }
.qa[open] summary::after { content: "–"; }
.qa summary::-webkit-details-marker { display: none; }
.qa p { margin: 0 0 18px; color: var(--muted); }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.contact p { color: var(--muted); max-width: 56ch; }
.contact__card { background: var(--brand-soft); border-radius: var(--radius); padding: 30px; }
.contact__mail { font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); margin: 0; word-break: break-word; }
.contact__mail a { color: var(--text); }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 26px; color: var(--muted); font-size: 14px; }
.foot__in { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; }
.foot a { color: var(--muted); }

/* document pages: privacy, terms, DPA, subprocessors, help */
.doc { max-width: 780px; padding-block: 36px 72px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.08; margin: 0 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 30px; font-size: 14px; }
.doc h2 { font-size: 23px; margin: 40px 0 10px; max-width: none; }
.doc h3 { font-size: 18px; margin: 26px 0 8px; }
.doc p, .doc li { max-width: 68ch; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc code { font-size: .9em; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.doc table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.callout { background: var(--brand-soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 18px 0; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px 16px 40px; }
.top__nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
