/* =====================================================================
   Lariyo brand layer. Brand Guidelines v1.0 (Dec 1, 2026), "Lift" logo.
   Loads LAST on every marketing page so it overrides site.css,
   site-2.css and home.css. Layout and spacing are not changed here.
   ===================================================================== */

/* ---- 1. Fonts (self-hosted, SIL OFL; files in /assets/fonts/) ---- */
@font-face{font-family:"Inter Tight";src:url(/assets/fonts/inter-tight-latin.woff2) format("woff2");font-weight:500 700;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url(/assets/fonts/inter-latin.woff2) format("woff2");font-weight:400 600;font-style:normal;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url(/assets/fonts/jetbrains-mono-latin.woff2) format("woff2");font-weight:400 500;font-style:normal;font-display:swap}

/* ---- 2. Tokens (same variable names the site already uses) ---- */
:root{
  /* grounds and text */
  --bg:#F5F7FA;            /* Paper */
  --surface:#FFFFFF;
  --surface-2:#EEF2F8;
  --ink:#0A1633;           /* Ink Navy */
  --ink-2:#1E2A47;
  --muted:#5A6478;         /* Slate */
  --line:#DDE3EE;          /* Mist */
  /* accent */
  --accent:#2D6BFF;        /* Lift Blue */
  --accent-ink:#1F4FD1;    /* Lift Blue pressed / text on tint */
  --accent-soft:#E8EFFF;
  --brand:#2D6BFF;
  --brand-2:#A9C2FF;
  --brand-3:#DCE6FF;
  /* live (status only) */
  --live:#3D6600;          /* text on light: lime itself fails contrast on white */
  --live-dot:#B6F23C;      /* Live */
  --live-soft:#EEFBD6;
  /* dark surfaces (footer, closing band, story nav) */
  --dark:#070D1F;          /* Night */
  --dark-2:#0C1530;
  --dark-line:#1D2849;
  --on-dark:#F5F7FA;
  --on-dark-muted:#A3ADC2;
  --accent-on-dark:#4D82FF;/* Lift Blue (dark) */
  /* annotation colours (hand notes, FREE stamp) */
  --pen:#2D6BFF;
  --hand-ink:#2D6BFF;
  /* type */
  --font-d:"Inter Tight","Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-t:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-h:"Inter Tight","Inter",ui-sans-serif,system-ui,sans-serif;
  --font-m:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  /* shadows retinted to Ink Navy */
  --shadow:0 1px 2px rgba(10,22,51,.05),0 6px 20px rgba(10,22,51,.06);
  --shadow-l:0 2px 6px rgba(10,22,51,.05),0 30px 70px -20px rgba(10,22,51,.22);
}

/* ---- 3. Type scale (guidelines section 9.1) ---- */
body{background:var(--bg);color:var(--ink);font-family:var(--font-t);font-size:16px;line-height:1.55}
h1,h2,h3,.display{font-family:var(--font-d);font-weight:600;letter-spacing:-.02em}
h1{line-height:1.05}
h2{line-height:1.15}
h3{line-height:1.3}
code,kbd,.mono,[data-mono]{font-family:var(--font-m)}

/* ---- 4. Lift logo (header, footer, in-content symbol) ---- */
.brand{gap:0}
.brand .lariyo-logo{display:block;height:26px;width:auto}
.brand:hover .lariyo-logo{transform:none}
.lariyo-logo .lg-ink{fill:#0A1633}
.lariyo-logo .lg-lift{fill:#2D6BFF}
/* on dark grounds: footer, nav while it is dark over the story */
.foot .lariyo-logo .lg-ink,.nav.dark .lariyo-logo .lg-ink,[data-dark] .lariyo-logo .lg-ink{fill:#F5F7FA}
.foot .lariyo-logo .lg-lift,.nav.dark .lariyo-logo .lg-lift,[data-dark] .lariyo-logo .lg-lift{fill:#4D82FF}
/* the symbol used inside content (homepage lane header, comparison table head) */
svg.mark.lariyo-logo{width:1.15em;height:1.15em;vertical-align:-.18em}
@media (max-width:640px){.brand .lariyo-logo{height:24px}}

/* ---- 5. Accent on dark ---- */
.nav.dark .brand b,.foot .brand b{color:var(--accent-on-dark)}
.foot a:hover,.close a.link:hover{color:var(--accent-on-dark)}

/* ---- 6. Kept from the old brand.css (unchanged behaviour) ---- */
.works-link{color:inherit;text-decoration:none}
.works-link:hover{color:var(--accent)}
.bring-icons .more{font-size:13px;font-weight:700;color:var(--ink-2)}
.bring p .link{white-space:nowrap}
.bring-icons{flex:none;flex-wrap:nowrap;align-items:center}
.bring-icons span{flex:none;margin-top:0;position:static}
.works-link{text-align:left}
/* Recent launches toast (public/assets/fomo.js) */
.fomo{position:fixed;left:20px;bottom:20px;z-index:55;display:flex;align-items:center;gap:12px;max-width:360px;padding:12px 40px 12px 12px;border-radius:16px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-l);color:var(--ink);font-size:14px;line-height:1.35;opacity:0;transform:translateY(16px);pointer-events:none;transition:opacity .35s,transform .5s var(--out)}
.fomo.on{opacity:1;transform:none;pointer-events:auto}
.fomo.still{transform:none;transition:opacity .3s}
.fomo-av{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--accent-soft);color:var(--accent-ink);font-weight:700;font-size:16px}
.fomo-body{display:grid;gap:3px;min-width:0}
.fomo-line{font-weight:600}
.fomo-meta{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12.5px}
.fomo-x{position:absolute;top:6px;right:6px;width:28px;height:28px;border:0;border-radius:50%;background:none;color:var(--muted);font-size:20px;line-height:1;cursor:pointer}
.fomo-x:hover{background:var(--line);color:var(--ink)}
@media (max-width:560px){.fomo{left:12px;right:12px;bottom:12px;max-width:none}}
