/* leger.ca — shared theme for the product pages (v2: harbour navy, cool paper, signal amber).
   Loaded after each page's own styles; it re-skins them to match the home page
   without touching their markup or content. */
:root:root:root{
  --ink-n:#0f2240; --ink-n2:#1a3358; --paper-n:#f3f5f7; --slate-n:#566275; --rule-n:#d4dae2; --amber-n:#e0a23a;
  --on-ink:#e9eef5; --on-ink-2:#aab6c8;
  /* page-template variables, remapped */
  --bg:#f3f5f7; --surface:#ffffff; --ink:#0f2240; --muted:#566275; --line:#d4dae2;
  --accent:#0f2240; --accent-ink:#ffffff; --accent-soft:#e7ecf2;
  --code:#e7ecf2; --radius:8px; --node:#ffffff; --node-line:#0f2240;
  --sans:"Schibsted Grotesk",system-ui,sans-serif; --serif:"Source Serif 4",Georgia,serif;
  color-scheme:light;
}
html body{background:var(--bg);color:var(--ink);font-family:var(--serif);font-size:18px;line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:var(--ink-n);text-decoration-thickness:1px;text-underline-offset:.2em}
a:hover{text-decoration-color:var(--amber-n)}
:focus-visible{outline:3px solid var(--ink-n)!important;outline-offset:3px}
footer :focus-visible{outline-color:var(--amber-n)!important}

/* type */
h1,h2,h3,h4,nav,.btn,.badge,.meta,.lede,.lead,.small,figcaption,th,td,label,button,.tagline{font-family:var(--sans)!important;text-transform:none!important}
h1{font-weight:800!important;letter-spacing:-.035em!important;line-height:.98!important;font-size:clamp(44px,6.4vw,84px)!important}
h2{font-weight:700!important;letter-spacing:-.018em!important;line-height:1.1!important;font-size:clamp(28px,3.4vw,42px)!important}
h3{font-weight:600!important;letter-spacing:-.005em;line-height:1.25}
.lede,.lead{font-family:var(--serif)!important}
.badge,.meta,.kicker,.eyebrow{letter-spacing:0!important}
code,pre,kbd,.kbd,.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important}

/* header */
header.top{background:color-mix(in srgb,var(--bg) 92%,transparent)!important;border-bottom:1px solid var(--line)!important;-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px)}
.brand,.bar .home{font:700 18px/1 var(--sans)!important;letter-spacing:-.01em;color:var(--ink)!important;text-decoration:none}
.brand::before,.bar .home::before{content:none!important}
header.top nav a{font:500 15px/1 var(--sans)!important;color:var(--muted)!important;opacity:1!important;text-decoration:none}
header.top nav a:hover,header.top nav a[aria-current]{color:var(--ink)!important}
header.top nav a[aria-current]{box-shadow:inset 0 -2px 0 var(--amber-n)}
.lang{border:1px solid var(--line)!important;border-radius:6px!important;padding:2px;background:#fff;gap:0!important;overflow:visible!important}
.lang button{all:unset;cursor:pointer;font:600 13px/1 var(--sans)!important;padding:9px 11px!important;border-radius:4px;color:var(--muted)!important;border:0!important;background:none!important}
.lang button[aria-pressed=true]{background:var(--ink)!important;color:#fff!important}

/* hero: a quiet light opening with the product name set large */
.hero{background:none!important;color:var(--ink)!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding-top:clamp(48px,7vw,96px)!important;padding-bottom:clamp(40px,6vw,72px)!important}
.hero::before,.hero::after{content:none!important}
.hero h1,.hero h1 *{color:var(--ink)!important}
.hero h1 .plus{color:var(--amber-n)!important}
.hero .lede,.hero .lead,.hero p{color:var(--muted)!important}
.hero strong{color:var(--ink)!important}
.hero .tagline{font-family:var(--serif)!important;font-weight:400!important;color:var(--ink)!important;font-size:clamp(22px,2.4vw,30px)!important;font-style:normal!important}
.hero .badge,.hero .meta{display:inline-block!important;background:#fff!important;border:1px solid var(--line)!important;color:var(--ink)!important;border-radius:999px!important;padding:6px 12px!important;font-size:13px!important}
.hero .meta{white-space:normal!important;max-width:100%}
.hero .meta b{color:var(--ink)!important}
.hero .stat,.hero .card,.hero .stats>*{background:#fff!important;border-color:var(--line)!important;color:var(--ink)!important}
.hero .stat b,.hero .stats b{font-family:var(--sans)!important;font-weight:700!important;color:var(--ink)!important}
.hero .stat span,.hero .stats span{color:var(--muted)!important}
.hero img{border:1px solid var(--line)!important}

/* buttons */
.btn{font:600 16px/1 var(--sans)!important;letter-spacing:0!important;border-radius:6px!important;border:1.5px solid var(--ink)!important;min-height:48px;padding:0 22px!important;display:inline-flex!important;align-items:center;gap:8px;transform:none!important;transition:background-color .18s,color .18s}
.btn.primary,.btn:not(.ghost):not(.secondary){background:var(--ink)!important;color:#fff!important}
.btn.ghost,.btn.secondary{background:transparent!important;color:var(--ink)!important}
.btn.primary:hover,.btn:not(.ghost):not(.secondary):hover{background:var(--ink-n2)!important;border-color:var(--ink-n2)!important}
.btn.ghost:hover,.btn.secondary:hover{background:#fff!important}

/* blocks */
section{border-top:1px solid var(--line)!important}
.card{background:#fff!important;border:1px solid var(--line)!important;border-radius:10px!important;box-shadow:none!important}
.card:hover{background:#fff!important}
.badge{background:var(--accent-soft)!important;color:var(--ink)!important;border-radius:999px!important}
.note{background:var(--accent-soft)!important;border-left:3px solid var(--amber-n)!important;border-radius:6px!important}
.chips span,.chips li,.tags li{font-family:var(--sans);font-size:13px;border:1px solid var(--line);border-radius:999px;background:#fff}
ol.steps>li::before{background:var(--ink)!important;color:#fff!important;font-family:var(--sans)}
code{background:var(--accent-soft)!important}
img{border-radius:8px}

/* footer */
footer{background:var(--ink)!important;color:var(--on-ink-2)!important;border-top:0!important;font:400 14px/1.5 var(--sans)!important;margin-top:clamp(48px,6vw,96px)}
footer a{color:var(--on-ink)!important}

/* one moment: the hero settles in */
.hero>*,.hero>.wrap>*{animation:lg-settle .7s cubic-bezier(.2,.7,.2,1) both}
.hero>*:nth-child(2),.hero>.wrap>*:nth-child(2){animation-delay:.08s}
.hero>*:nth-child(n+3),.hero>.wrap>*:nth-child(n+3){animation-delay:.16s}
@keyframes lg-settle{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.hero>*,.hero>.wrap>*{animation:none}.btn{transition:none}}
@media (max-width:760px){html body{font-size:17px}h1{font-size:clamp(34px,10vw,48px)!important;overflow-wrap:break-word}}
