/* ══════════════════════════════════════════════════════════════
   chrome.css — the parts every page on lorah.ai shares.
   Lifted verbatim from index.html so the home page and the
   reading pages cannot drift apart. Page-specific CSS lives
   in the page.
   ══════════════════════════════════════════════════════════════ */

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:"Inter",system-ui,sans-serif;color:#0F172A;-webkit-font-smoothing:antialiased}
img{max-width:100%}
:focus-visible{outline:2px solid #4466B0;outline-offset:3px;border-radius:4px}

/* ── the page ground: a quiet cool grey, not white ── */
body{background:#EEF1F6}
.fbar{background:rgba(255,255,255,.86)}

/* ── the top bar, as a floating pill ── */
.fbar{position:fixed;left:0;right:0;top:0;height:64px;z-index:70;display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:#F4F6FA}
.fb-brand{display:inline-flex;align-items:center;gap:10px;font-family:"Plus Jakarta Sans",system-ui,sans-serif;font-weight:700;font-size:20px;letter-spacing:-.03em;color:#0F172A}
.fb-brand svg{width:26px;height:23px}.fb-brand svg polygon{fill:#4466B0}.fb-brand svg polygon:nth-child(1),.fb-brand svg polygon:nth-child(4){fill:#253E87}
.fb-dl{display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:999px;background:#0F172A;color:#fff;font-size:13.5px;font-weight:600;text-decoration:none}
.fb-nav{display:flex;align-items:center;gap:22px;position:absolute;left:50%;transform:translateX(-50%)}
.fb-nav a{font-size:14px;font-weight:500;color:rgba(15,23,42,.75);text-decoration:none;white-space:nowrap}
.fb-nav a:hover{color:#0F172A}
.fbar{position:fixed;left:50%;right:auto;top:18px;transform:translateX(-50%);height:auto;width:auto;max-width:calc(100% - 40px);
 display:flex;align-items:center;gap:8px;padding:8px 8px 8px 22px;border-radius:999px;
 background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(20px) saturate(1.7);backdrop-filter:blur(20px) saturate(1.7);
 border:1px solid rgba(255,255,255,.9);box-shadow:0 10px 30px rgba(15,23,42,.12),inset 0 1px 0 rgba(255,255,255,.9)}
.fb-nav{position:static;transform:none;gap:20px;margin:0 8px}
.fb-nav a{font-size:14.5px;color:rgba(15,23,42,.78)}
.fb-brand{font-size:19px}.fb-brand svg{width:24px;height:21px}
.fb-dl{height:38px;padding:0 18px;font-size:14px}
.fbar{top:40px}

/* ── the download button ── */
/* ═════ the download button: mark in a tile, label, arrow ═════ */
.cta{--h:66px;--pad:10px;display:inline-flex;align-items:center;gap:16px;
  height:var(--h);padding:var(--pad) calc(var(--h)*.40) var(--pad) var(--pad);
  border-radius:calc(var(--h)*.34);background:#253E87;color:#fff;text-decoration:none;
  box-shadow:0 1px 0 rgba(255,255,255,.16) inset,0 10px 26px rgba(37,62,135,.32);
  transition:transform .16s ease,box-shadow .2s ease,background .2s ease}
.cta:hover{background:#1E3372;transform:translateY(-1px);
  box-shadow:0 1px 0 rgba(255,255,255,.18) inset,0 14px 32px rgba(37,62,135,.38)}
.cta:active{transform:translateY(0)}
.cta__tile{width:calc(var(--h) - var(--pad)*2);height:calc(var(--h) - var(--pad)*2);flex:none;
  border-radius:calc((var(--h) - var(--pad)*2)*.30);background:#4466B0;
  display:grid;place-items:center;box-shadow:0 1px 2px rgba(10,14,22,.20)}
.cta__tile svg{width:54%;height:auto;display:block}
.cta__label{font:600 calc(var(--h)*.31)/1 "Inter",system-ui,sans-serif;letter-spacing:-.015em;white-space:nowrap}
.cta--sm{--h:60px}
/* the platforms moved out of the button and onto the line below it */
.fine__os{display:inline-flex;align-items:center;gap:7px;margin-right:9px;vertical-align:-2px}
.fine__os svg{width:13px;height:13px;fill:currentColor;opacity:.75}
@media (max-width:560px){.cta{--h:56px}}
/* the hero one sits quieter: translucent, so the hills read through it */
.cta--quiet{--h:60px;
  background:rgba(37,62,135,.84);
  -webkit-backdrop-filter:blur(10px) saturate(1.2);backdrop-filter:blur(10px) saturate(1.2);
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 1px 0 rgba(255,255,255,.16) inset,0 4px 16px rgba(20,33,46,.14)}
.cta--quiet:hover{background:rgba(37,62,135,.94);
  box-shadow:0 1px 0 rgba(255,255,255,.20) inset,0 7px 22px rgba(20,33,46,.18)}
.cta--quiet .cta__tile{background:rgba(255,255,255,.16);box-shadow:none;
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}

/* ── the footer ── */
.lf{position:relative;isolation:isolate;margin-top:40px;padding:40px 0 32px;color:#0F172A}
.lf__art{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover;object-position:50% 60%;mask-image:linear-gradient(to bottom,transparent,#000 120px);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 120px)}
.lf__cta,.lf__panel{width:min(1240px,calc(100% - 96px));margin-inline:auto;border-radius:24px}
.lf__cta{display:grid;grid-template-columns:.95fr 1.15fr;align-items:center;gap:0 36px;position:relative;isolation:isolate;overflow:hidden;padding:38px 40px;margin-bottom:24px;border:1px solid rgba(255,255,255,.85);background:rgba(247,250,255,.48)}
.lf__cta-copy h2{margin:0 0 20px;font:700 clamp(36px,3.35vw,50px)/1.08 "Outfit",sans-serif;letter-spacing:-.035em;color:#0F172A}
.lf__cta-copy h2 em{font-style:normal;color:#477CB3}
.lf__cta-copy>p{margin:0;font:400 18px/1.55 "Inter",sans-serif;color:#586578;max-width:32ch}
.lf__cta-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:28px}
.lf__cta-download{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:54px;padding:0 24px;border-radius:999px;background:rgba(255,255,255,.9);border:1px solid rgba(255,255,255,.95);box-shadow:0 8px 24px rgba(40,80,160,.13);font:600 16.5px/1.3 "Inter",sans-serif;color:#0F172A;text-decoration:none}
.lf__cta-download i{display:inline-flex;align-items:center;gap:8px;padding-right:12px;border-right:1px solid rgba(15,23,42,.15);font-style:normal}
.lf__cta-download svg{width:16px;height:16px;fill:currentColor}
.lf__cta-download:hover{background:#fff;box-shadow:0 10px 28px rgba(40,80,160,.2)}
.lf__cta-pricing{display:inline-flex;align-items:center;justify-content:center;min-height:60px;padding:0 28px;border:1px solid rgba(37,62,135,.26);border-radius:20px;background:none;font:600 16px/1 "Inter",sans-serif;color:#3A4C66;text-decoration:none;transition:border-color .2s,color .2s}
.lf__cta-pricing:hover{border-color:rgba(37,62,135,.5);color:#253E87}
.lf__cta-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;gap:14px;min-width:0}
.lf__cta-card{display:flex;flex-direction:column;justify-content:space-between;gap:18px;min-height:152px;position:relative;isolation:isolate;overflow:hidden;padding:20px;border-radius:20px;border:1px solid rgba(37,52,76,.09);background:radial-gradient(ellipse at 52% 36%,rgba(var(--tile-glow),.3),transparent 82%),linear-gradient(150deg,#fff,var(--tile-base));box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 12px 28px rgba(32,44,62,.08)}
/* The supplied color cards provide the texture and color, without extra filters. */
.lf__cta-card::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 48% 90%,rgba(var(--tile-glow),.08),transparent 62%)}
.lf__cta-card>svg{width:24px;height:24px;color:#51657A}
.lf__cta-card p{margin:0;font:400 15.5px/1.4 "Inter",sans-serif;color:#4D5C70}
.lf__cta-card strong{font-weight:600;color:#182B42}
.lf__cta-card--memory{grid-column:2;grid-row:1;--tile-glow:117,179,251;--tile-base:#F2F7FF}
.lf__cta-card--team{grid-column:3;grid-row:1;--tile-glow:195,156,230;--tile-base:#FAF5FF}
.lf__cta-card--native{grid-column:1;grid-row:2;--tile-glow:137,199,171;--tile-base:#F2FAF6}
.lf__cta-card--yours{grid-column:2;grid-row:2;--tile-glow:235,196,133;--tile-base:#FFFAF2}
.lf__cta-copy>p.lf__cta-credit{margin:26px 0 0;font:400 13px/1.5 "Inter",sans-serif;color:#657285;max-width:none}
.lf__cta-credit strong{font-weight:600;color:#34465D}
@media(max-width:1100px){
 .lf__cta{grid-template-columns:1fr 1fr;gap:28px;padding:32px}
 .lf__cta-cards{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,160px)}
 .lf__cta-card--memory{grid-column:1;grid-row:1}
 .lf__cta-card--team{grid-column:2;grid-row:1}
 .lf__cta-card--native{grid-column:1;grid-row:2}
 .lf__cta-card--yours{grid-column:2;grid-row:2}
}
@media(max-width:760px){
 .lf__cta{grid-template-columns:1fr;padding:28px 24px;gap:28px}
 .lf__cta-cards{grid-template-rows:repeat(2,minmax(155px,auto))}
 .lf__cta-card{padding:16px;gap:24px}
 .lf__cta-actions{gap:20px}
}
.lf__panel{padding:28px 40px 24px;background:rgba(248,249,252,.96);border:1px solid rgba(255,255,255,.9)}
.lf__top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:22px;border-bottom:1px solid rgba(15,23,42,.1)}
.lf__brand{display:inline-flex;align-items:center;gap:10px;font:700 40px/1 "Outfit",sans-serif;letter-spacing:-.03em;color:#0F172A;text-decoration:none}
.lf__brand svg{width:32px;height:32px;fill:currentColor}
.lf__copyright{font:500 11.5px/1.5 "JetBrains Mono",monospace;color:#727987;text-align:right}
.lf__nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;padding:26px 0 28px}
.lf__nav h3{margin:0 0 14px;font:600 15px/1.3 "Inter",sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#4B5563}
.lf__nav ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.lf__nav a,.lf__legal a{font:400 15px/1.4 "Inter",sans-serif;color:#4B5563;text-decoration:none}
.lf a:hover{color:#2563EB}
.lf a:focus-visible{outline:2px solid #2563EB;outline-offset:5px;border-radius:3px}
.lf__bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid rgba(15,23,42,.1);padding-top:20px}
.lf__socials{display:flex;align-items:center;gap:16px}
.lf__socials a{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;color:#4B5563;text-decoration:none}
.lf__socials svg{display:block;width:20px;height:20px}
.lf__legal{display:flex;align-items:center;flex-wrap:wrap;gap:24px}
.after{padding-bottom:0}
body{padding-bottom:0}
@media(max-width:760px){
 .lf{margin-top:24px;padding:24px 0}
 .lf__cta,.lf__panel{width:calc(100% - 32px)}
 .lf__panel{padding:24px}
 .lf__nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px}
 .lf__top{align-items:flex-start;flex-direction:column;gap:14px}
 .lf__copyright{text-align:left}
 .lf__bottom{align-items:flex-start;flex-direction:column;gap:18px}
 .lf__legal{gap:20px}
}

/* ── the footer close, compact: every page that is not the home ── */
.lf--compact .lf__cta{grid-template-columns:1fr;padding:26px 36px}
.lf--compact .lf__cta-cards,.lf--compact .lf__cta-credit{display:none}
.lf--compact .lf__cta-copy{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:center;column-gap:40px}
.lf--compact .lf__cta-copy h2{grid-column:1;grid-row:1;font-size:clamp(26px,2.3vw,32px);margin:0 0 4px}
.lf--compact .lf__cta-copy h2 br{display:none}
.lf--compact .lf__cta-copy h2 em{margin-left:.28em}
.lf--compact .lf__cta-copy>p{grid-column:1;grid-row:2;font-size:16px;max-width:none}
.lf--compact .lf__cta-actions{grid-column:2;grid-row:1 / span 2;margin-top:0}
.lf--compact .lf__cta-actions .cta{--h:54px}
.lf--compact .lf__cta-pricing{min-height:54px;padding:0 22px;border-radius:16px}
.lf--compact{padding-top:32px}
@media(max-width:760px){.lf--compact .lf__cta-copy{grid-template-columns:1fr}.lf--compact .lf__cta-actions{grid-column:1;grid-row:auto;margin-top:16px}}
