/* ===========================================================================
   LyraMind: the design system.

   Every page previously carried its own private copy of a slightly different
   design: serif headings here, a different blue there, four separate navs. That
   is why the site read as several products. One stylesheet means a change to the
   homepage look propagates everywhere instead of needing fifteen edits, and it
   is the only way the pages stay consistent as they are rewritten.
=========================================================================== */
:root{
  color-scheme:light;
  --ink:#0b1220; --ink-2:#3d4a5c;
  /* --ink-3 was #6b7889, which lands at 4.49:1 on white, a hair under AA, and it
     carries the synthetic-data disclaimers, so its legibility is load-bearing.
     #667281 clears 4.5:1 on both --bg (4.90) and --bg-2 (4.64) while staying muted. */
  --ink-3:#667281;
  --bg:#ffffff; --bg-2:#f7f9fb; --bg-3:#eef2f6;
  --line:#e2e8f0; --line-2:#cbd5e1;
  --accent:#0f4c81; --accent-2:#1668ad;
  --act:#c2410c; --watch:#a16207; --good:#0f766e;
  --mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,monospace;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;
  --wrap:1120px;

  /* Everything below used to be a hard-coded colour somewhere in this file. A
     literal #fff or rgba(255,255,255,…) is invisible to a theme switch, so each
     one is a token now and the dark block only has to restate values. */
  --accent-on:#ffffff;              /* text that sits ON --accent */
  --header-bg:rgba(255,255,255,.92);
  --good-bg:#e6f4f1;
  --act-bg:#fdf1ea; --watch-bg:#fcf6e4; --accent-bg:#eef4fa;
  --shadow-sm:0 1px 2px rgba(11,18,32,.04);
  --shadow-lg:0 8px 28px rgba(11,18,32,.05);
  --shadow-xl:0 10px 34px rgba(11,18,32,.06);

  /* The inverted band (.dark) must stay dark in BOTH themes, because it is a deliberate
     contrast device, not "the dark colours". It therefore gets its own scale
     rather than borrowing --ink, which flips. */
  --band-bg:#0b1220; --band-ink:#e9eef5; --band-ink-2:#a9b6c7;
  --band-ink-3:#8fa0b6; --band-line:#22304a; --band-accent:#7fb2e0;
}

/* Dark theme. Guarded so an explicit data-theme="light" always wins, and
   restated under data-theme="dark" so a toggle can override the OS in either
   direction. Only the tokens change; no component rule is duplicated. */
:root[data-theme="dark"]{
    color-scheme:dark;
    --ink:#e7ecf3; --ink-2:#a8b5c7; --ink-3:#7c8a9d;
    --bg:#0b0f16; --bg-2:#111826; --bg-3:#18202f;
    --line:#1e293b; --line-2:#2c3b51;
    --accent:#7fb2e0; --accent-2:#a5cbef; --accent-on:#08111c;
    --act:#f08a4b; --watch:#d9ab36; --good:#3fbfa7;
    --header-bg:rgba(11,15,22,.92);
    --good-bg:#10312c; --act-bg:#2a1710; --watch-bg:#2a2210; --accent-bg:#12233a;
    --shadow-sm:0 1px 2px rgba(0,0,0,.5);
    --shadow-lg:0 8px 28px rgba(0,0,0,.5);
    --shadow-xl:0 10px 34px rgba(0,0,0,.55);
    --band-bg:#070b12; --band-line:#1e293b;
  }
:root[data-theme="dark"]{
  color-scheme:dark;
  --ink:#e7ecf3; --ink-2:#a8b5c7; --ink-3:#7c8a9d;
  --bg:#0b0f16; --bg-2:#111826; --bg-3:#18202f;
  --line:#1e293b; --line-2:#2c3b51;
  --accent:#7fb2e0; --accent-2:#a5cbef; --accent-on:#08111c;
  --act:#f08a4b; --watch:#d9ab36; --good:#3fbfa7;
  --header-bg:rgba(11,15,22,.92);
  --good-bg:#10312c; --act-bg:#2a1710; --watch-bg:#2a2210; --accent-bg:#12233a;
  --shadow-sm:0 1px 2px rgba(0,0,0,.5);
  --shadow-lg:0 8px 28px rgba(0,0,0,.5);
  --shadow-xl:0 10px 34px rgba(0,0,0,.55);
  --band-bg:#070b12; --band-line:#1e293b;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);
  font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{letter-spacing:-.022em;line-height:1.14;margin:0}
p{margin:0}
a{color:inherit}
.num{font-family:var(--mono);font-variant-numeric:tabular-nums}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.narrow{max-width:800px}
.eyebrow{font-family:var(--mono);font-size:11.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--accent);font-weight:600}

/* ---- nav ---- */
header{position:sticky;top:0;z-index:50;background:var(--header-bg);
  backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;gap:32px;height:66px}
.brand{font-weight:700;font-size:18px;letter-spacing:-.03em;text-decoration:none}
.nav ul{display:flex;gap:26px;list-style:none;margin:0 0 0 auto;padding:0}
.nav a{text-decoration:none;font-size:14.5px;color:var(--ink-2);font-weight:500}
.nav a:hover,.nav a[aria-current]{color:var(--ink)}
@media(max-width:900px){.nav ul{display:none}}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border-radius:8px;padding:11px 20px;font-size:14.5px;font-weight:600;
  text-decoration:none;border:1px solid transparent;cursor:pointer;transition:.15s}
.btn.primary{background:var(--accent);color:var(--accent-on)}
.btn.primary:hover{background:var(--accent-2)}
.btn.ghost{border-color:var(--line-2);color:var(--ink)}
.btn.ghost:hover{border-color:var(--ink-3)}
.btn.lg{padding:14px 26px;font-size:15.5px}

/* ---- page hero (sub-pages) ---- */
.phero{padding:80px 0 56px;border-bottom:1px solid var(--line)}
.phero h1{font-size:clamp(32px,4.6vw,50px);max-width:18ch;font-weight:680;margin-top:18px}
.phero .lede{font-size:clamp(17.5px,2vw,20px);color:var(--ink-2);max-width:62ch;
  margin-top:20px;line-height:1.55}
.phero .cta{display:flex;gap:12px;margin-top:32px;flex-wrap:wrap}

/* ---- hero (home) ---- */
.hero{padding:104px 0 88px;border-bottom:1px solid var(--line)}
.hero h1{font-size:clamp(38px,5.4vw,60px);max-width:16ch;font-weight:680}
.hero .sub{font-size:clamp(18px,2.1vw,21px);color:var(--ink-2);max-width:60ch;
  margin-top:22px;line-height:1.55}
.hero .cta{display:flex;gap:12px;margin-top:36px;flex-wrap:wrap}
.hero .fine{margin-top:18px;font-size:13.5px;color:var(--ink-3)}

/* ---- sections ---- */
section{padding:88px 0}
section.tight{padding:64px 0}
.sec-head{max-width:64ch;margin-bottom:48px}
.sec-head h2{font-size:clamp(27px,3.5vw,38px);font-weight:660;margin-top:14px}
.sec-head p{margin-top:16px;font-size:17.5px;color:var(--ink-2)}
.band{background:var(--bg-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* ---- grids ---- */
.four{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);
  border:1px solid var(--line);border-radius:14px;overflow:hidden}
.four > div{background:var(--bg);padding:30px 26px}
.four h3{font-size:16.5px;font-weight:640;margin-bottom:10px}
.four p{font-size:14.5px;color:var(--ink-2);line-height:1.55}
.four .k{font-family:var(--mono);font-size:11px;letter-spacing:.1em;
  text-transform:uppercase;color:var(--accent);margin-bottom:14px}
@media(max-width:900px){.four{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.four{grid-template-columns:1fr}}

.two{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.three{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:840px){.two,.three{grid-template-columns:1fr}}

.card{background:var(--bg);border:1px solid var(--line);border-radius:14px;padding:30px}
.card .role,.card .k{font-family:var(--mono);font-size:11.5px;letter-spacing:.1em;
  text-transform:uppercase;color:var(--accent);margin-bottom:14px}
.card h3{font-size:19px;font-weight:640;line-height:1.32;margin-bottom:12px}
.card p{font-size:15px;color:var(--ink-2)}
.card + .card{margin-top:0}

/* ---- prose ---- */
.prose{max-width:70ch}
.prose h2{font-size:clamp(23px,2.8vw,30px);font-weight:660;margin:52px 0 16px}
.prose h3{font-size:19px;font-weight:640;margin:34px 0 12px}
.prose p{margin-bottom:18px;color:var(--ink-2)}
.prose p strong{color:var(--ink);font-weight:620}
.prose ul{margin:0 0 22px;padding-left:22px;color:var(--ink-2)}
.prose li{margin-bottom:9px}
.prose li strong{color:var(--ink);font-weight:620}
.prose .callout{border-left:3px solid var(--accent);background:var(--bg-2);
  padding:18px 22px;border-radius:0 10px 10px 0;margin:26px 0;color:var(--ink-2);font-size:16px}
.prose .callout strong{color:var(--ink)}

/* ---- data table ---- */
table.dt{width:100%;border-collapse:collapse;font-size:15px;margin:8px 0 24px}
table.dt th{text-align:left;font-size:11.5px;letter-spacing:.09em;text-transform:uppercase;
  color:var(--ink-3);font-weight:650;padding:12px 14px;border-bottom:1px solid var(--line-2)}
table.dt td{padding:14px;border-bottom:1px solid var(--line);color:var(--ink-2);vertical-align:top}
table.dt td:first-child{color:var(--ink);font-weight:560}
table.dt .yes{color:var(--good);font-weight:600}
table.dt .no{color:var(--ink-3)}

/* ---- funnel ---- */
.funnel{background:var(--bg);border:1px solid var(--line);border-radius:14px;padding:28px;
  box-shadow:var(--shadow-sm),var(--shadow-lg)}
.funnel .ft{font-family:var(--mono);font-size:11px;letter-spacing:.1em;
  text-transform:uppercase;color:var(--ink-3);margin-bottom:18px}
.frow{display:flex;align-items:baseline;gap:14px;padding:11px 0;border-bottom:1px solid var(--bg-3)}
.frow:last-of-type{border-bottom:0}
.frow b{font-family:var(--mono);font-size:22px;font-weight:600;min-width:62px;
  text-align:right;letter-spacing:-.02em}
.frow span{font-size:15px;color:var(--ink-2)}
.frow.need b{color:var(--act)} .frow.need span{color:var(--ink);font-weight:600}
.frow.calm b{color:var(--good)}
.funnel .note{margin-top:16px;font-size:12.5px;color:var(--ink-3);line-height:1.5}

/* ---- dark band ---- */
.dark{background:var(--band-bg);color:var(--band-ink)}
.dark .sec-head h2{color:var(--band-ink)}
.dark .sec-head p,.dark p{color:var(--band-ink-2)}
.dark .eyebrow{color:var(--band-accent)}
.dark h3{color:var(--band-ink)}
.dark .honest{margin-top:44px;padding-top:28px;border-top:1px solid var(--band-line);
  font-size:14px;color:var(--band-ink-3);max-width:78ch;line-height:1.6}

/* ---- cta strip ---- */
.strip{padding:72px 0;text-align:center;border-top:1px solid var(--line)}
.strip h2{font-size:clamp(25px,3.2vw,34px);font-weight:660;max-width:22ch;margin:0 auto}
.strip p{margin:16px auto 28px;color:var(--ink-2);max-width:56ch}

/* ---- footer ---- */
footer{border-top:1px solid var(--line);padding:52px 0 40px;background:var(--bg-2)}
.fgrid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px}
@media(max-width:760px){.fgrid{grid-template-columns:1fr 1fr}}
.fcol h5{font-size:11.5px;text-transform:uppercase;letter-spacing:.1em;
  color:var(--ink-3);margin:0 0 14px;font-weight:650}
.fcol a{display:block;font-size:14px;color:var(--ink-2);text-decoration:none;margin-bottom:9px}
.fcol a:hover{color:var(--ink)}
.legal{margin-top:40px;padding-top:24px;border-top:1px solid var(--line);
  font-size:13px;color:var(--ink-3);line-height:1.6}

/* ---- form ---- */
.reqform{max-width:560px;margin:0 auto;background:var(--bg);border:1px solid var(--line);
  border-radius:16px;padding:32px;box-shadow:var(--shadow-sm),var(--shadow-xl)}
.reqform .row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field{margin-bottom:14px;display:flex;flex-direction:column}
.field label{font-size:13px;font-weight:600;color:var(--ink-2);margin-bottom:6px}
.field input,.field select,.field textarea{font:inherit;font-size:15px;padding:11px 13px;
  border:1px solid var(--line-2);border-radius:8px;background:var(--bg);color:var(--ink)}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--accent);
  outline-offset:-1px;border-color:var(--accent)}
.field textarea{min-height:88px;resize:vertical}
.reqform button{width:100%;margin-top:6px}
.form-note{text-align:center;font-size:13px;color:var(--ink-3);margin-top:16px}
.form-success{text-align:center;padding:26px 8px}
.form-success .sic{width:48px;height:48px;border-radius:50%;background:var(--good-bg);color:var(--good);
  display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.form-success .sic svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.5;
  stroke-linecap:round;stroke-linejoin:round}
@media(max-width:560px){.reqform .row{grid-template-columns:1fr}}
