/* leximanage.ca — the public site (Nov 22, 2026): the D5 home page, with Apple-style pages behind each link.
   Built by marketing-tools/build-site.js into marketing/. No black anywhere: slate headings, grey text, one blue.
   One light look on purpose, so colours are set explicitly rather than following the viewer's theme. */
:root {
  --ink: #3a4049;        /* slate: headlines (never black) */
  --ink-2: #6b727c;      /* grey: body and secondary text */
  --faint: #9aa1aa;
  --paper: #ffffff;
  --mist: #f6f7f9;       /* the pale grey band */
  --frame: #e3e6eb;      /* hairline frame around screens */
  --hair: #d2d2d7;
  --hair-2: #ebedf0;
  --blue: #0071e3;       /* buttons */
  --link: #0066cc;       /* links on light */
  --red: #c4362b; --red-bg: #fbeceb; --green: #1f7a46; --green-bg: #e7f4ec; --amber: #9a5b00; --amber-bg: #fbf1df;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 100px; }
body { background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.47; letter-spacing: -.022em; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
.gutter { padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 12px; }

/* ── The home page (D5): one screen, two beats ─────────────────────────────── */
.home .screen { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: 28px 40px 24px; }
.home .screen main { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.home .top { display: flex; justify-content: flex-end; font-size: 14px; gap: 24px; }
.home .top a { color: var(--ink-2); }
.home .word { color: var(--ink); font-weight: 300; letter-spacing: -.03em; line-height: 1; font-size: clamp(36px, 12vw, 112px); }
.home .phrase { line-height: 1.5; color: var(--ink-2); font-size: clamp(19px, 2vw, 26px); margin-top: 32px; max-width: 900px; font-family: var(--display); letter-spacing: 0; }
.home .phrase span { display: block; }
.home .beat2 { color: var(--ink); margin-top: 10px; opacity: 0; animation: beatIn .9s ease 3s forwards; }
@keyframes beatIn { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .home .beat2 { opacity: 1; animation: none; } }
.home .links { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--hair-2); }
.home .links .row { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 8px 28px; font-size: 15px; }
.home .links .lbl { font-size: 12px; color: var(--faint); letter-spacing: .02em; text-transform: uppercase; }
.home .links a { color: var(--ink); }
.home .links a.go { color: var(--blue); }
.home .foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 12px; color: var(--faint); margin-top: 18px; }
.home .foot .right { text-align: right; }
.home .foot a { color: var(--faint); }
.leafmid { display: flex; justify-content: center; }
.leaf { display: block; }
@media (max-width: 640px) {
  .home .screen { padding: 20px 20px 18px; }
  .home .links .row { gap: 8px 18px; font-size: 14px; }
  .home .links .lbl { width: 100%; text-align: center; }
  .home .foot { grid-template-columns: 1fr; justify-items: center; gap: 8px; }
  .home .foot .right { text-align: center; }
}

/* ── The site header on every inner page (Nov 22, 2026) ──────────────────────
   ★ The user found the page links "disappear" once past the home page: they had been a pale 12px strip that folded
   behind an unlabelled icon below 960px. Now the home page's own two labelled rows sit in a header that stays on
   screen; below 1240px they open from a button that says "Menu". */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--hair-2); }
.site-head .in { max-width: 1280px; margin: 0 auto; min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.site-head .mark { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.site-head .mark:hover { text-decoration: none; }
.site-head .pages { display: grid; gap: 6px; justify-items: center; padding-block: 10px; }
.site-head .row { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 22px; font-size: 14px; }
.site-head .lbl { font-size: 11px; color: var(--faint); letter-spacing: .04em; text-transform: uppercase; min-width: 9.5em; text-align: right; }
.site-head .pages a, .site-head .util a { color: var(--ink); white-space: nowrap; }
.site-head a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--blue); }
.site-head .util { display: flex; gap: 18px; align-items: center; font-size: 14px; }
.site-head .pill-s { color: #fff !important; background: var(--blue); padding: 6px 13px; border-radius: 980px; }
.site-head .pill-s:hover { text-decoration: none; background: #0077ed; }
.site-head .menu-btn { display: none; font: inherit; font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--hair); border-radius: 980px; padding: 6px 16px; cursor: pointer; }
@media (max-width: 1240px) {
  .site-head .in { grid-template-columns: 1fr auto; min-height: 56px; }
  .site-head.open { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-head .menu-btn { display: inline-block; }
  .site-head .util { grid-row: 1; grid-column: 2; }
  .site-head .util .hide-narrow { display: none; }
  .site-head .pages { display: none; grid-column: 1 / -1; justify-items: stretch; gap: 22px; padding: 8px 0 24px; max-height: calc(100vh - 56px); overflow-y: auto; }
  .site-head.open .pages { display: grid; }
  .site-head .row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .site-head .lbl { text-align: left; min-width: 0; margin-bottom: 4px; }
  .site-head .pages a { font-family: var(--display); font-size: 21px; font-weight: 600; padding-block: 5px; }
  .site-head .pages .extra { display: flex; }
}
@media (min-width: 1241px) { .site-head .pages .extra { display: none; } }
@media (max-width: 420px) { .site-head .util .pill-s { display: none; } }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.ctas { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.pill { display: inline-block; font-size: 17px; line-height: 1.18; padding: 11px 21px; border-radius: 980px; border: 1px solid var(--blue); background: var(--blue); color: #fff; white-space: nowrap; }
.pill:hover { text-decoration: none; background: #0077ed; border-color: #0077ed; }
.pill.ghost { background: transparent; color: var(--blue); }
.pill.ghost:hover { background: var(--blue); color: #fff; }
.fine { display: block; width: 100%; font-size: 13px; color: var(--ink-2); letter-spacing: -.01em; }
.more::after { content: "\00a0›"; }

/* ── Bands ────────────────────────────────────────────────────────────────── */
.band { padding-block: clamp(96px, 13vw, 176px); text-align: center; overflow: hidden; }
.band.mist { background: var(--mist); }
.band.tight-top { padding-top: 0; }
.eyebrow { font-family: var(--display); font-size: clamp(19px, 2.2vw, 26px); font-weight: 600; color: var(--ink-2); letter-spacing: .005em; }
.headline { font-size: clamp(40px, 6vw, 80px); line-height: 1.05; font-weight: 600; letter-spacing: -.015em; margin-top: 8px; }
.h-section { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.07; font-weight: 600; letter-spacing: -.005em; }
.lede { font-family: var(--display); font-size: clamp(19px, 2vw, 24px); line-height: 1.42; font-weight: 400; letter-spacing: .005em; max-width: 680px; margin: 28px auto 0; color: var(--ink-2); }
.two-tone { font-family: var(--display); font-size: clamp(19px, 1.9vw, 21px); line-height: 1.4; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; }
.two-tone b { color: var(--ink); font-weight: 600; }
.status { display: inline-block; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--amber); background: var(--amber-bg); border-radius: 980px; padding: 6px 14px; letter-spacing: 0; }

/* A neutral frame for the real screens and loops */
.stage { max-width: 1040px; margin: clamp(56px, 8vw, 104px) auto 0; }
.display { position: relative; background: #fff; padding: .8%; border-radius: clamp(10px, 1.4vw, 20px); box-shadow: 0 0 0 1px var(--frame), 0 50px 100px -50px rgba(58,64,73,.28); }
.display > img, .display > video { display: block; width: 100%; height: auto; border-radius: clamp(4px, .7vw, 10px); background: var(--mist); }
.caption { font-size: 14px; color: var(--ink-2); margin: 16px auto 0; max-width: 640px; }

/* Feature cards */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; max-width: 1120px; margin: 72px auto 0; text-align: left; }
/* Four cards sit two by two, never three and an orphan. */
.feats:has(> .feat:nth-child(4):last-child) { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); max-width: 900px; }
.feat { background: var(--paper); border-radius: 28px; padding: 40px 36px; min-width: 0; box-shadow: 0 0 0 1px #eceef1; }
.band:not(.mist) .feat { background: var(--mist); box-shadow: none; }
.feat .k { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; letter-spacing: 0; }
.feat .loop { margin-top: 24px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--frame); }
.feat .loop video, .feat .loop img { display: block; width: 100%; height: auto; }

/* Promise cards with a coloured glyph */
.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: 80px auto 0; text-align: left; }
.pcard { background: var(--mist); border-radius: 28px; padding: 48px 40px 52px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.band.mist .pcard { background: #fff; }
.pcard .glyph { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; }
.pcard .glyph svg { width: 24px; height: 24px; }
/* ★ The maple leaf is drawn smaller than the other glyphs (user, Nov 22, 2026: "reduce the size of the red maple leaf"). */
.pcard .glyph svg.leafglyph { width: 15px; height: 15px; }
@media (max-width: 733px) { .promises { grid-template-columns: 1fr; } }

/* Big numbers */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 980px; margin: 72px auto 0; }
.stat .pre { font-size: 17px; color: var(--ink-2); font-weight: 600; }
.stat .n { font-family: var(--display); font-size: clamp(56px, 8vw, 96px); font-weight: 600; letter-spacing: -.03em; line-height: 1.02; }
.stat .cap { font-size: 17px; color: var(--ink-2); max-width: 24ch; margin: 6px auto 0; }
@media (max-width: 733px) { .stats { grid-template-columns: 1fr; gap: 48px; } }

/* A three-step flow */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 20px; max-width: 1000px; margin: 80px auto 0; }
.node { background: var(--mist); border-radius: 22px; padding: 32px 26px; min-width: 0; text-align: left; }
.band.mist .node { background: #fff; }
.node .k { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.node p { font-family: var(--display); font-size: 20px; line-height: 1.25; font-weight: 600; margin-top: 10px; color: var(--ink); }
.node.key { box-shadow: inset 0 0 0 1.5px var(--blue); background: #fff; }
.arrow { color: var(--ink-2); font-size: 28px; }
@media (max-width: 733px) { .flow { grid-template-columns: 1fr; } .arrow { transform: rotate(90deg); justify-self: center; } }

.big-line { font-size: clamp(34px, 5.4vw, 68px); line-height: 1.08; font-weight: 600; letter-spacing: -.02em; max-width: 980px; margin: 0 auto; }
.big-line .dim { color: var(--ink-2); display: block; margin: 22px auto 0; max-width: 760px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; font-weight: 400; letter-spacing: 0; }

/* Plain list rows (the "how it is checked" page and the room page) */
.rows { list-style: none; max-width: 820px; margin: 40px auto 0; text-align: left; border-top: 1px solid var(--hair-2); }
.rows li { padding: 16px 0; border-bottom: 1px solid var(--hair-2); font-size: 17px; color: var(--ink-2); line-height: 1.55; }
.rows li b { color: var(--ink); font-weight: 600; }
/* A label between two lists in one section (checks page, court forms; Nov 24, 2026). */
.rows-label { max-width: 820px; margin: 56px auto 0; text-align: left; }
.rows-label + .rows { margin-top: 16px; }
.prose { max-width: 760px; margin: 28px auto 0; text-align: left; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose b { color: var(--ink); }
.dated { font-size: 14px; color: var(--ink-2); margin-top: 18px; }

/* Plans */
.lineup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1120px; margin: 72px auto 0; text-align: left; }
.plan { background: var(--mist); border-radius: 28px; padding: 40px 34px; min-width: 0; display: flex; flex-direction: column; }
.band.mist .plan { background: #fff; }
.plan h3 { font-size: 32px; font-weight: 600; }
.plan .tl { color: var(--ink-2); margin-top: 6px; min-height: 3em; }
.plan .price { font-family: var(--display); font-size: 21px; font-weight: 600; margin-top: 18px; }
.plan .price small { display: block; font-size: 14px; color: var(--ink-2); font-weight: 400; margin-top: 2px; }
.plan ul { list-style: none; margin-top: 22px; border-top: 1px solid var(--hair); }
.plan li { padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 16px; }
.plan .ctas { justify-content: flex-start; margin-top: auto; padding-top: 28px; }
.plan.most { box-shadow: inset 0 0 0 1.5px var(--blue); }
@media (max-width: 900px) { .lineup { grid-template-columns: 1fr; } }

/* Illustrations built in HTML (invented data, labelled) */
.illus { max-width: 760px; margin: 72px auto 0; text-align: left; background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px var(--frame), 0 40px 80px -40px rgba(58,64,73,.25); overflow: hidden; }
.illus .bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--hair-2); font-size: 14px; color: var(--ink-2); }
.illus .bar b { color: var(--ink); font-size: 15px; }
.illus .tagx { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.illus ul { list-style: none; }
.illus li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--hair-2); align-items: start; }
.illus li:last-child { border-bottom: 0; }
.illus .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; }
.illus .t { color: var(--ink); font-size: 16px; font-weight: 500; }
.illus .s { color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.dot.red { background: var(--red); } .dot.green { background: var(--green); } .dot.amber { background: #d08a00; }
.chip { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 980px; padding: 3px 10px; letter-spacing: 0; }
.chip.red { color: var(--red); background: var(--red-bg); } .chip.green { color: var(--green); background: var(--green-bg); } .chip.amber { color: var(--amber); background: var(--amber-bg); }
.legend { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ── Footer: directory, then the legal line with a small leaf ─────────────── */
.foot-site { background: var(--paper); border-top: 1px solid #eceef1; color: var(--ink-2); font-size: 12px; line-height: 1.4; letter-spacing: -.01em; }
.foot-site .in { max-width: 1080px; margin: 0 auto; padding-block: 36px 52px; }
.foot-site .dir { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-bottom: 20px; }
.foot-site .dir h4 { color: var(--ink); font-weight: 600; font-size: 12px; margin-bottom: 8px; }
.foot-site .dir a, .foot-site .dir span { display: block; color: var(--ink-2); margin-bottom: 8px; }
.foot-site .dir a:hover { color: var(--ink); }
.foot-site .legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-top: 14px; border-top: 1px solid var(--hair); }
.foot-site .legal a { color: var(--ink-2); }
.foot-site .co { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); }
@media (max-width: 733px) { .foot-site .dir { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* Anchored sections land below the header that stays on screen. */
[id] { scroll-margin-top: 96px; }
