/* LowCodeDev — home page redesign
 * Layout: "two doors" — one shared headline, then a Learn door (training) and a
 * Build door (SME solutions) side by side; each door's colour carries through
 * its own section further down the page.
 */
:root {
  /* colour */
  --paper: #faf8fa;      /* page ground, faint rose bias */
  --card: #ffffff;
  --ink: #1a1420;        /* text */
  --muted: #5e5566;
  --line: #e8e1e8;
  --wine: #8c1d40;       /* brand burgundy — Learn door */
  --wine-ink: #ffffff;
  --wine-soft: #f7e8ee;
  --wine-fill: #8c1d40;
  --build: #263a8a;      /* deep Microsoft-leaning blue — Build door */
  --build-soft: #e6eaf8;
  --build-fill: #263a8a;
  --ok: #1f7a4d;
  --night: #16111c;      /* always-dark band (proof bar, footer) */
  --night-ink: #f3eef5;
  --night-muted: #a69daf;
  --night-line: #2c2433;
  /* type */
  --f-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  /* scale */
  --s-1: .8125rem; --s0: 1rem; --s1: 1.125rem; --s2: 1.5rem; --s3: 2rem; --s4: clamp(2.4rem, 5.2vw, 4.25rem);
  --r: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f0d13; --card: #18151d; --ink: #f4f0f7; --muted: #aba3b5; --line: #2a2531;
    --wine: #f27fa3; --wine-ink: #ffffff; --wine-soft: #2a1521; --wine-fill: #c23b68;
    --build: #a3b4ff; --build-soft: #161b34; --build-fill: #4a63dc; --ok: #62d6a0;
    --night: #0a090d; --night-ink: #f3eef5; --night-muted: #a69daf; --night-line: #221e28;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f0d13; --card: #18151d; --ink: #f4f0f7; --muted: #aba3b5; --line: #2a2531;
  --wine: #f27fa3; --wine-ink: #ffffff; --wine-soft: #2a1521; --wine-fill: #c23b68;
  --build: #a3b4ff; --build-soft: #161b34; --build-fill: #4a63dc; --ok: #62d6a0;
  --night: #0a090d; --night-ink: #f3eef5; --night-muted: #a69daf; --night-line: #221e28;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--s0)/1.6 var(--f-body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font: 600 .75rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--f-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.25rem; border-radius: 999px;
  font: 600 .95rem/1 var(--f-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1rem; height: 1rem; }
.btn-wine { background: var(--wine); color: var(--wine-ink); }
.btn-build { background: var(--build); color: var(--card); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 70px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font: 800 1.2rem/1 var(--f-display); letter-spacing: -.02em; }
.brand img { width: 44px; height: 44px; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--muted); font-size: .95rem; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: .5rem; }
.nav-cta .btn { padding: .6rem 1rem; font-size: .875rem; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; color: var(--ink); cursor: pointer; }
.mobile-menu { border-top: 1px solid var(--line); padding-block: 1rem 1.25rem; display: grid; gap: .25rem; }
.mobile-menu a { text-decoration: none; padding: .6rem 0; font-weight: 500; }
.mobile-menu .nav-cta { margin-top: .75rem; flex-wrap: wrap; }
@media (max-width: 960px) {
  .nav-links, .nav-end > .nav-cta { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
}

/* ---------------------------------------------------------------- hero */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem); }
.hero-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: end; margin-bottom: 2.25rem; }
.hero h1 { font-size: var(--s4); font-weight: 800; }
.hero h1 .learn { color: var(--wine); }
.hero h1 .build { color: var(--build); }
.hero-lede { color: var(--muted); font-size: var(--s1); max-width: 42ch; }
.hero-lede strong { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) { .hero-head { grid-template-columns: 1fr; gap: 1rem; } }

.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 820px) { .doors { grid-template-columns: 1fr; } }
.door {
  position: relative; display: flex; flex-direction: column; gap: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem); border-radius: 22px; background: var(--card); border: 1px solid var(--line);
  min-width: 0;
}
.door-learn { background: var(--wine-soft); border-color: transparent; }
.door-build { background: var(--build-soft); border-color: transparent; }
.door-tag { display: inline-flex; align-items: center; gap: .5rem; font: 600 .75rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.door-learn .door-tag { color: var(--wine); }
.door-build .door-tag { color: var(--build); }
.door h2 { font-size: var(--s3); font-weight: 800; }
.door > p { color: var(--muted); max-width: 46ch; }
.door-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; }

/* Learn door: course "ticket" */
.ticket {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; background: var(--card); border-radius: var(--r);
  border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: var(--ink);
}
.ticket:hover { border-color: var(--wine); }
.ticket-main { padding: 1rem 1.1rem; display: grid; gap: .35rem; min-width: 0; }
.ticket-title { font: 700 1.05rem/1.25 var(--f-display); }
.ticket-meta { font: 500 .8rem/1.3 var(--f-mono); color: var(--muted); }
.ticket-stub {
  border-left: 2px dashed var(--line); padding: 1rem 1.1rem; display: grid; align-content: center; justify-items: end; gap: .15rem;
}
.ticket-stub small { font: 500 .7rem/1 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.ticket-stub b { font: 800 1.5rem/1 var(--f-display); color: var(--wine); font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.chips li { font-size: .8rem; font-weight: 500; padding: .35rem .7rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }

/* Build door: a flow run, the way Power Automate shows it */
.flow { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: .9rem; display: grid; gap: 0; }
.flow-head { display: flex; justify-content: space-between; gap: .5rem; font: 500 .75rem/1.2 var(--f-mono); color: var(--muted); padding: 0 .25rem .7rem; }
.flow-head .ok { color: var(--ok); font-weight: 700; }
.step { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: .7rem; padding: .55rem .5rem; border-radius: 10px; }
.step + .step { position: relative; }
.step + .step::before { content: ""; position: absolute; left: calc(.5rem + 14px); top: -8px; height: 12px; border-left: 2px solid var(--line); }
.step-icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--build-soft); color: var(--build); font: 700 .7rem/1 var(--f-mono); }
.step-name { font-size: .88rem; font-weight: 600; line-height: 1.25; min-width: 0; }
.step-name small { display: block; font-weight: 400; color: var(--muted); font-size: .75rem; }
.step-time { font: 500 .72rem/1 var(--f-mono); color: var(--ok); display: inline-flex; align-items: center; gap: .3rem; }
.step-time svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .flow .step { animation: run .5s ease both; }
  .flow .step:nth-child(2) { animation-delay: .15s } .flow .step:nth-child(3) { animation-delay: .45s }
  .flow .step:nth-child(4) { animation-delay: .75s } .flow .step:nth-child(5) { animation-delay: 1.05s }
  @keyframes run { from { opacity: .35; transform: translateX(-4px); } to { opacity: 1; transform: none; } }
}

/* ---------------------------------------------------------------- proof bar (formula bar) */
.proof { background: var(--night); color: var(--night-ink); }
.fx { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fx > div { padding: 1.6rem 1.25rem; border-left: 1px solid var(--night-line); display: grid; gap: .5rem; min-width: 0; }
.fx > div:first-child { border-left: 0; padding-left: 0; }
.fx code { font: 500 .78rem/1.3 var(--f-mono); color: var(--night-muted); overflow-wrap: anywhere; }
.fx code i { font-style: normal; color: #e07a98; margin-right: .4rem; }
.fx b { font: 800 2.2rem/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fx span { color: var(--night-muted); font-size: .85rem; }
.creds { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; padding-block: 1.25rem 1.6rem; border-top: 1px solid var(--night-line); color: var(--night-muted); font-size: .85rem; }
.creds img { height: 34px; width: auto; }
.cred { display: flex; align-items: center; gap: .75rem; }
@media (max-width: 820px) {
  .fx { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .fx > div:nth-child(n+3) { border-top: 1px solid var(--night-line); }
}

/* ---------------------------------------------------------------- sections */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: end; margin-bottom: 2.25rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; margin-top: .6rem; }
.section-head p { color: var(--muted); max-width: 52ch; margin-top: .8rem; }
@media (max-width: 720px) { .section-head { grid-template-columns: 1fr; } }
.learn-sec .eyebrow { color: var(--wine); }
.build-sec .eyebrow { color: var(--build); }

/* course list */
.courses { border-top: 1px solid var(--line); }
.course {
  display: grid; grid-template-columns: 56px minmax(0, 1.6fr) minmax(0, 1fr) auto auto; gap: 1.25rem; align-items: center;
  padding: 1.1rem .25rem; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .15s ease;
}
.course:hover { background: var(--wine-soft); }
.course img { width: 44px; height: 44px; object-fit: contain; }
.course-logo { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--wine-soft); color: var(--wine); font: 700 .8rem/1 var(--f-mono); }
.course h3 { font-size: 1.15rem; font-weight: 700; }
.course p { color: var(--muted); font-size: .9rem; }
.course .meta { font: 500 .8rem/1.4 var(--f-mono); color: var(--muted); }
.course .price { text-align: right; font-variant-numeric: tabular-nums; }
.course .price b { display: block; font: 800 1.25rem/1 var(--f-display); }
.course .price small { font: 500 .72rem/1.4 var(--f-mono); color: var(--muted); }
.course .go { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--wine); }
.badge { display: inline-block; font: 600 .68rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; padding: .3rem .5rem; border-radius: 6px; background: var(--wine); color: var(--wine-ink); vertical-align: middle; margin-left: .4rem; }
@media (max-width: 820px) {
  .course { grid-template-columns: 48px minmax(0, 1fr) auto; gap: .9rem; }
  .course .meta, .course .go { display: none; }
}
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.format { padding: 1.25rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); display: grid; gap: .5rem; text-decoration: none; }
.format:hover { border-color: var(--wine); }
.format h3 { font-size: 1.1rem; }
.format p { color: var(--muted); font-size: .92rem; }
.format span { font: 600 .8rem/1 var(--f-mono); color: var(--wine); margin-top: .25rem; }
@media (max-width: 820px) { .formats { grid-template-columns: 1fr; } }

/* build section */
.build-sec { background: var(--build-soft); }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 960px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cases { grid-template-columns: 1fr; } }
.case { background: var(--card); border-radius: var(--r); padding: 1.35rem; display: flex; flex-direction: column; gap: .7rem; text-decoration: none; border: 1px solid transparent; transition: border-color .15s ease, transform .15s ease; min-width: 0; }
.case:hover { border-color: var(--build); transform: translateY(-2px); }
.case .industry { font: 600 .72rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--build); }
.case h3 { font-size: 1.35rem; font-weight: 800; }
.case p { color: var(--muted); font-size: .92rem; }
.stack { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; padding-top: .5rem; list-style: none; padding-left: 0; }
.stack li { font: 500 .72rem/1 var(--f-mono); padding: .35rem .5rem; border-radius: 6px; background: var(--build-soft); color: var(--build); }

.process { margin-top: 3rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; counter-reset: step; }
.process li { padding: 1.1rem 1rem 0 0; border-top: 2px solid var(--build); display: grid; gap: .35rem; counter-increment: step; }
.process li::before { content: "0" counter(step); font: 600 .78rem/1 var(--f-mono); color: var(--build); }
.process b { font-family: var(--f-display); font-size: 1.05rem; }
.process span { color: var(--muted); font-size: .88rem; }
@media (max-width: 820px) { .process { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; } }

/* testimonials */
.quotes-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.quotes-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; margin-top: .6rem; }
.rating { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .9rem; }
.rating b { font: 800 1.6rem/1 var(--f-display); color: var(--ink); }
.scroller-btns { display: flex; gap: .5rem; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.quotes { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; scrollbar-width: thin; }
.quote { flex: 0 0 min(340px, 85%); margin: 0; scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.35rem; display: flex; flex-direction: column; gap: 1rem; }
.quote blockquote { margin: 0; font: 500 1.08rem/1.5 var(--f-display); letter-spacing: -.005em; }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: .7rem; font-size: .85rem; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--wine-soft); color: var(--wine); display: grid; place-items: center; font: 700 .78rem/1 var(--f-mono); flex: none; }
.quote footer small { display: block; color: var(--muted); }

/* founder */
.founder { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.founder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.founder h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-top: .6rem; }
.founder p { color: var(--muted); margin-top: 1rem; max-width: 58ch; }
.founder ul { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.founder li { font: 500 .78rem/1 var(--f-mono); padding: .45rem .65rem; border-radius: 6px; border: 1px solid var(--line); }
@media (max-width: 720px) { .founder { grid-template-columns: 1fr; } .founder img { max-width: 280px; } }

/* contact */
.contact { background: var(--night); color: var(--night-ink); }
.contact .eyebrow { color: var(--night-muted); }
.contact h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; margin-top: .6rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2.25rem; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { border: 1px solid var(--night-line); border-radius: 18px; padding: 1.5rem; display: grid; gap: .8rem; align-content: start; }
.contact-card h3 { font-size: 1.35rem; }
.contact-card p { color: var(--night-muted); }
.contact-card .line { font: 500 .95rem/1.3 var(--f-mono); color: var(--night-ink); user-select: all; overflow-wrap: anywhere; }
.contact-card .line small { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--night-muted); margin-bottom: .3rem; }
.contact-card .btn { justify-self: start; margin-top: .25rem; }
.contact-card.learn { border-top: 3px solid #e0587f; }
.contact-card.build { border-top: 3px solid #8fa2f2; }
.contact .btn-ghost { color: var(--night-ink); border-color: var(--night-line); }
.copy { background: none; border: 1px solid var(--night-line); color: var(--night-muted); border-radius: 6px; font: 500 .7rem/1 var(--f-mono); padding: .35rem .5rem; cursor: pointer; margin-left: .5rem; }

/* footer */
.site-footer { background: var(--night); color: var(--night-muted); border-top: 1px solid var(--night-line); font-size: .88rem; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: 3rem 2rem; }
.foot .brand { color: var(--night-ink); }
.foot .fh { margin: 0 0 .8rem; font: 600 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--night-ink); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--night-ink); }
.foot p { margin-top: .9rem; max-width: 36ch; }
.legal { border-top: 1px solid var(--night-line); padding-block: 1.25rem 1.75rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .8rem; }
@media (max-width: 820px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

/* ================================================================
 * Inner pages (training batch)
 * ================================================================ */
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font: 500 .75rem/1.4 var(--f-mono); color: var(--muted); list-style: none; padding: 0; margin: 0 0 1.25rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }

/* page hero */
.page-hero { padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero.learn { background: linear-gradient(180deg, var(--wine-soft), var(--paper)); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; max-width: 20ch; margin-top: .7rem; }
.page-hero h1 em { font-style: normal; color: var(--wine); }
.page-hero .lede { margin-top: 1rem; font-size: var(--s1); color: var(--muted); max-width: 60ch; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.trust { margin-top: 1.4rem; font: 500 .78rem/1.5 var(--f-mono); color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; list-style: none; padding: 0; }
.facts li { font: 500 .8rem/1 var(--f-mono); padding: .55rem .75rem; border-radius: 8px; background: var(--card); border: 1px solid var(--line); }
.facts li b { color: var(--wine); font-weight: 700; }

/* two-column layout with sticky booking panel */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } .with-aside > aside { order: -1; } }
.book { position: sticky; top: 90px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; display: grid; gap: 1rem; }
@media (max-width: 960px) { .book { position: static; } }
.book .tag { font: 600 .72rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--wine); }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding-block: .6rem; border-bottom: 1px dashed var(--line); }
.price-row span { color: var(--muted); font-size: .9rem; }
.price-row b { font: 800 1.6rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.price-row.member b { color: var(--wine); }
.book .small { font-size: .82rem; color: var(--muted); }
.book .small a { color: var(--wine); font-weight: 600; }
.book .btn { justify-content: center; width: 100%; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: .55rem; font-size: .92rem; line-height: 1.45; }
.ticks li::before { content: ""; width: 18px; height: 18px; margin-top: .1rem; border-radius: 50%; background: var(--wine-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c1d40' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ticks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.5rem; }
@media (max-width: 620px) { .ticks.two { grid-template-columns: 1fr; } }
.block + .block { margin-top: 2.5rem; }
.block h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 1.1rem; }
.note { padding: 1rem 1.1rem; border-radius: 12px; background: var(--wine-soft); font-size: .92rem; }
.note b { color: var(--wine); }

/* syllabus */
.syllabus { display: grid; gap: 1.25rem; }
.session { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.session > header { display: flex; gap: 1rem; align-items: center; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.session > header .n { font: 700 .8rem/1 var(--f-mono); color: var(--wine-ink); background: var(--wine); border-radius: 8px; padding: .5rem .55rem; flex: none; }
.session > header h3 { font-size: 1.2rem; font-weight: 700; }
.modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .modules { grid-template-columns: 1fr; } }
.module { padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); min-width: 0; }
.module:nth-child(odd) { border-right: 1px solid var(--line); }
@media (max-width: 720px) { .module:nth-child(odd) { border-right: 0; } }
.module h4 { margin: 0 0 .6rem; font: 600 .95rem/1.3 var(--f-display); }
.module h4 span { display: block; font: 600 .7rem/1 var(--f-mono); color: var(--wine); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .35rem; }
.module ul { margin: 0; padding-left: 1.05rem; color: var(--muted); font-size: .9rem; display: grid; gap: .3rem; }
.checkpoint, .final { padding: 1.1rem 1.4rem; font-size: .92rem; }
.checkpoint { background: var(--wine-soft); }
.checkpoint b, .final b { font: 600 .72rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--wine); display: block; margin-bottom: .4rem; }
.final { background: var(--ink); color: var(--paper); }
.final b { color: var(--paper); opacity: .7; }
.final h4 { margin: 0 0 .35rem; font: 700 1.15rem/1.25 var(--f-display); }
.final p { opacity: .8; margin-bottom: .75rem; }
.final ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.final li { font: 500 .78rem/1 var(--f-mono); padding: .45rem .6rem; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--paper) 30%, transparent); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem .25rem; font: 600 1.05rem/1.4 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--f-body); color: var(--wine); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 .25rem 1.2rem; color: var(--muted); max-width: 72ch; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.faq-wrap h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; margin-top: .6rem; }
.faq-wrap .side p { color: var(--muted); margin-top: .8rem; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* trainer strip */
.trainer { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: 1.4rem; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.trainer img.photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.trainer h3 { font-size: 1.4rem; }
.trainer p { color: var(--muted); font-size: .92rem; margin-top: .3rem; }
.trainer .badge-img { width: 64px; height: 64px; object-fit: contain; }
@media (max-width: 720px) { .trainer { grid-template-columns: 80px minmax(0, 1fr); } .trainer img.photo { width: 80px; height: 80px; } .trainer .badge-img { display: none; } }

/* course cards (catalogue) */
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1000px) { .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .course-grid { grid-template-columns: 1fr; } }
.ccard { display: flex; flex-direction: column; gap: .85rem; padding: 1.35rem; border-radius: 18px; background: var(--card); border: 1px solid var(--line); min-width: 0; position: relative; }
.ccard.featured { border-color: var(--wine); box-shadow: 0 0 0 1px var(--wine) inset; }
.ccard .top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.ccard .top img, .ccard .top .course-logo { width: 40px; height: 40px; object-fit: contain; }
.ccard .flag { font: 600 .68rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; padding: .35rem .55rem; border-radius: 6px; background: var(--wine); color: var(--wine-ink); }
.ccard h3 { font-size: 1.25rem; font-weight: 800; }
.ccard h3 a { text-decoration: none; }
.ccard h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.ccard p { color: var(--muted); font-size: .92rem; }
.ccard .meta { font: 500 .78rem/1.4 var(--f-mono); color: var(--muted); }
.ccard .best { font-size: .85rem; }
.ccard .best b { font-weight: 600; }
.ccard .ticks li { font-size: .86rem; }
.ccard .foot-row { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); display: flex; align-items: end; justify-content: space-between; gap: .75rem; position: relative; z-index: 1; }
.ccard .foot-row .p b { font: 800 1.4rem/1 var(--f-display); display: block; font-variant-numeric: tabular-nums; }
.ccard .foot-row .p small { font: 500 .72rem/1.3 var(--f-mono); color: var(--muted); }
.ccard .foot-row a.pdf { font: 600 .78rem/1 var(--f-mono); color: var(--wine); text-decoration: none; }

/* option cards (training overview / ecosystem) */
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 900px) { .options { grid-template-columns: 1fr; } }
.option { display: flex; flex-direction: column; gap: .9rem; padding: 1.5rem; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.option .flag { align-self: start; font: 600 .68rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; padding: .35rem .55rem; border-radius: 6px; background: var(--wine-soft); color: var(--wine); }
.option h3 { font-size: 1.5rem; font-weight: 800; }
.option p { color: var(--muted); }
.option .btn { margin-top: auto; align-self: start; }

/* selector list */
.picker { display: grid; gap: .5rem; }
.pick { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-radius: 12px; background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.pick:hover { border-color: var(--wine); }
.pick span { color: var(--muted); }
.pick b { font-family: var(--f-display); color: var(--ink); white-space: nowrap; }
@media (max-width: 620px) { .pick { grid-template-columns: 1fr; gap: .25rem; } }

/* pricing table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
table.prices { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prices th, .prices td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
.prices th { font: 600 .72rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prices tr:last-child td { border-bottom: 0; }
.prices td b { font-family: var(--f-display); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 1.3rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: grid; gap: .45rem; align-content: start; }
.steps li::before { content: "0" counter(s); font: 600 .78rem/1 var(--f-mono); color: var(--wine); }
.steps b { font-family: var(--f-display); font-size: 1.1rem; }
.steps span { color: var(--muted); font-size: .92rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* learning paths */
.paths { display: grid; gap: 1rem; }
.path { display: grid; grid-template-columns: 70px minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.path .num { font: 800 2rem/1 var(--f-display); color: var(--wine); }
.path h3 { font-size: 1.45rem; font-weight: 800; margin-top: .35rem; }
.path .who { font: 500 .78rem/1.4 var(--f-mono); color: var(--muted); margin-top: .5rem; }
.path p { color: var(--muted); margin-top: .7rem; font-size: .95rem; }
.path .side h4 { margin: 0 0 .6rem; font: 600 .72rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.path .side ol { margin: 0 0 1rem; padding-left: 1.2rem; display: grid; gap: .35rem; font-size: .92rem; }
.path .side ol a { text-decoration: none; font-weight: 600; }
.path .side ol a:hover { color: var(--wine); }
@media (max-width: 860px) { .path { grid-template-columns: 1fr; gap: .75rem; } }
.chips.light li { background: var(--wine-soft); border-color: transparent; }

.band { background: var(--ink); color: var(--paper); border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; }
.band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.band p { opacity: .75; margin-top: .5rem; max-width: 56ch; }
.band .actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.band .btn-ghost { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 30%, transparent); }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }
.section.tint { background: color-mix(in srgb, var(--wine-soft) 55%, var(--paper)); }
.center-head { text-align: left; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); } }
.facts li { max-width: 100%; overflow-wrap: anywhere; line-height: 1.3; }
.eyebrow.wine { color: var(--wine); }
.title-2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; margin-top: .6rem; }
.sub { color: var(--muted); margin-top: .8rem; max-width: 46ch; }

/* ================================================================
 * Accent theming: training pages use wine, solution pages use build blue
 * ================================================================ */
body { --acc: var(--wine); --acc-soft: var(--wine-soft); --acc-ink: var(--wine-ink); }
body.theme-build { --acc: var(--build); --acc-soft: var(--build-soft); --acc-ink: var(--card); }
.eyebrow.acc { color: var(--acc); }
.btn-acc { background: var(--acc); color: var(--acc-ink); }
.page-hero.acc { background: linear-gradient(180deg, var(--acc-soft), var(--paper)); }
.page-hero.acc h1 em, .sec h2 em { font-style: normal; color: var(--acc); }
.section.tint-acc { background: color-mix(in srgb, var(--acc-soft) 60%, var(--paper)); }
.theme-build .ticks li::before { background: var(--acc-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23263a8a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.theme-build .facts li b, .theme-build .crumbs a:hover { color: var(--acc); }

/* generic converted sections */
.sec .sec-head { max-width: 760px; margin-bottom: 2rem; }
.sec .sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; margin-top: .6rem; }
.sec .sec-head p { color: var(--muted); margin-top: .8rem; font-size: 1.05rem; }
.sec .sec-head p a, .prose a { color: var(--acc); font-weight: 600; }
.features { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.feature .k { font: 600 .7rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.feature h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.25; }
.feature p { color: var(--muted); font-size: .93rem; }
.feature .ticks { margin-top: .3rem; }
.feature .ticks li { font-size: .88rem; }
.feature .links { margin-top: auto; padding-top: .4rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.feature .links a { font: 600 .82rem/1 var(--f-body); color: var(--acc); text-decoration: none; }
.feature .links a:hover { text-decoration: underline; }
.feature img { border-radius: 10px; }
.feature.media { padding: 0; overflow: hidden; }
.feature.media .body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.showcase { display: grid; gap: 1.25rem; }
.show { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1rem, 2.5vw, 1.5rem); }
.show:nth-child(even) .media-box { order: 2; }
@media (max-width: 860px) { .show { grid-template-columns: 1fr; } .show:nth-child(even) .media-box { order: 0; } }
.show h3 { font-size: 1.5rem; font-weight: 800; }
.show p { color: var(--muted); margin-top: .5rem; }
.show .k { font: 600 .72rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.show .actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.media-box video, .media-box img { width: 100%; border-radius: 14px; background: var(--ink); aspect-ratio: 16 / 9; object-fit: cover; }
.media-wide { margin-top: 1.5rem; }
.media-wide video, .media-wide img { width: 100%; border-radius: 18px; background: var(--ink); }
.outcomes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; counter-reset: o; }
.outcomes li { counter-increment: o; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: .75rem; align-items: baseline; padding: 1rem 1.1rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-weight: 500; }
.outcomes li::before { content: counter(o, decimal-leading-zero); font: 700 .85rem/1 var(--f-mono); color: var(--acc); }
@media (max-width: 640px) { .outcomes { grid-template-columns: 1fr; } }
.prose { max-width: 72ch; display: grid; gap: .9rem; color: var(--muted); font-size: 1.02rem; }
.sec .row-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.sec .quote-big { margin: 1.5rem 0 0; padding: 1.4rem 1.6rem; border-left: 3px solid var(--acc); background: var(--card); border-radius: 0 14px 14px 0; font: 500 1.15rem/1.5 var(--f-display); }
.svg-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.svg-row img { width: 72px; height: 72px; padding: .6rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.inline-form { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; max-width: 520px; }
.inline-form input { flex: 1 1 220px; min-width: 0; height: 46px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; }
.inline-form input:focus { outline: 2px solid var(--acc); outline-offset: 1px; }
.pairs { display: grid; gap: .7rem; margin: .5rem 0 0; }
.pairs div { padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.pairs div:last-child { border-bottom: 0; }
.pairs dt { font: 600 .98rem/1.3 var(--f-display); color: var(--ink); }
.pairs dd { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; }
.prose .ticks { color: var(--ink); }
.page-hero .subtitle { margin-top: .6rem; font: 700 clamp(1.2rem, 2.2vw, 1.6rem)/1.25 var(--f-display); color: var(--acc); max-width: 34ch; }
.prose h4.label, .feature h4.label, .show h4.label { margin: .6rem 0 0; font: 600 .72rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.toasts { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: grid; gap: .5rem; max-width: min(380px, calc(100vw - 32px)); }
.toasts .lcd-toast { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 2.2rem .9rem 1rem; position: relative; box-shadow: 0 10px 30px -10px rgba(0,0,0,.25); }
.toasts .lcd-toast button { position: absolute; top: .5rem; right: .5rem; background: none; border: 0; color: var(--muted); cursor: pointer; }

/* ================================================================ batch 3 components */
.article { max-width: 72ch; font-size: 1.06rem; line-height: 1.75; }
.article > * + * { margin-top: 1rem; }
.article h2 { font-size: 1.6rem; font-weight: 800; margin-top: 2.4rem; }
.article h3 { font-size: 1.25rem; font-weight: 700; margin-top: 1.8rem; }
.article p, .article li { color: color-mix(in srgb, var(--ink) 82%, var(--paper)); }
.article ul, .article ol { padding-left: 1.3rem; display: grid; gap: .4rem; }
.article a { color: var(--acc); font-weight: 600; }
.article img { border-radius: 14px; margin-block: 1.5rem; }
.article strong { color: var(--ink); }
.article code { font-family: var(--f-mono); font-size: .9em; background: var(--acc-soft); padding: .1em .35em; border-radius: 5px; }
.article pre { background: var(--night); color: var(--night-ink); padding: 1rem 1.2rem; border-radius: 12px; overflow-x: auto; }
.article blockquote { margin: 1.5rem 0; padding: .5rem 1.2rem; border-left: 3px solid var(--acc); color: var(--muted); }

.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter button { font: 600 .88rem/1 var(--f-body); padding: .65rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.filter button.on { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.post .post-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.post h3 a { text-decoration: none; }
.post h3 a:hover { color: var(--acc); }
.meta-line { font: 500 .78rem/1.4 var(--f-mono) !important; color: var(--muted); }

.faq-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.faq-nav { position: sticky; top: 90px; display: grid; gap: 1rem; }
.faq-nav input { height: 46px; padding: 0 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; width: 100%; }
.faq-nav nav { display: grid; gap: .15rem; }
.faq-nav nav a { text-decoration: none; padding: .45rem .7rem; border-radius: 8px; color: var(--muted); font-weight: 500; }
.faq-nav nav a:hover { background: var(--acc-soft); color: var(--ink); }
.faq-nav .small { font-size: .85rem; color: var(--muted); }
.faq-nav .small a { color: var(--acc); font-weight: 600; }
.faq-group + .faq-group { margin-top: 2.5rem; }
.faq-group h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: .6rem; scroll-margin-top: 90px; }
.faq-empty { color: var(--muted); }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-nav { position: static; } .faq-nav nav { display: flex; flex-wrap: wrap; gap: .4rem; } .faq-nav nav a { border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; } }

.contact-split { align-items: start; }
.contact-form-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2rem); min-width: 0; }
.inq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: 1.4rem 0 1.2rem; }
.inq { text-align: left; padding: .85rem; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; display: grid; gap: .25rem; font: inherit; }
.inq b { font: 700 .95rem/1.2 var(--f-display); }
.inq span { font-size: .78rem; color: var(--muted); }
.inq.bg-primary { background: var(--wine); border-color: var(--wine); color: var(--wine-ink); }
.inq.bg-primary span { color: inherit; opacity: .85; }
@media (max-width: 520px) { .inq-grid { grid-template-columns: 1fr; } }
.cform { display: grid; gap: 1rem; }
.cform .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .cform .two { grid-template-columns: 1fr; } }
.cform label { display: block; font: 600 .72rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.cform input, .cform textarea { width: 100%; padding: .8rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; resize: vertical; }
.cform input:focus, .cform textarea:focus { outline: 2px solid var(--wine); outline-offset: 1px; }
.cform .ring-2 { border-color: #c2334d; }
.cform .lcd-err { color: #c2334d; font-size: .82rem; margin-top: .35rem; }
.cform .btn { justify-self: start; }
.cform .small, .verify-card .small { font-size: .82rem; color: var(--muted); }
.channels { display: grid; gap: 1.1rem; padding-top: .5rem; }
.channels .line { font-size: 1rem; line-height: 1.5; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.channels .line small { display: block; font: 600 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.channels a { color: var(--wine); font-weight: 600; }
.mono-mail { font-family: var(--f-mono) !important; font-size: .95rem !important; overflow-wrap: anywhere; }

.verify-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: .9rem; }
.verify-card label { font: 600 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vrow { display: flex; flex-wrap: wrap; gap: .6rem; }
.vinput { position: relative; flex: 1 1 260px; min-width: 0; }
.vinput input { width: 100%; height: 50px; padding: 0 2.8rem 0 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 500 1.05rem var(--f-mono); }
.vinput input:focus { outline: 2px solid var(--wine); outline-offset: 1px; }
.vrow .btn { height: 50px; }
.verify-results { margin-top: 1.5rem; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: 1.25rem; }
.gallery a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.03); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(10, 8, 14, .92); display: grid; place-items: center; padding: 1rem; }
.lb img { max-width: min(1100px, 94vw); max-height: 84vh; border-radius: 12px; }
.lb button { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.4rem; cursor: pointer; }
.lb .x { top: 1rem; right: 1rem; } .lb .pv { left: 1rem; top: 50%; } .lb .nx { right: 1rem; top: 50%; }
.article { overflow-wrap: break-word; } .article a { overflow-wrap: anywhere; }
.gallery-title { margin-top: 2rem; font-size: 1.25rem; font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: .5rem; }
.stats > div { padding: 1.3rem 1.2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); display: grid; gap: .35rem; }
.stats b { font: 800 2.2rem/1 var(--f-display); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: .88rem; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }
/* founder / trainer portrait layouts */
.person { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.person-photo { margin: 0; display: grid; gap: .75rem; }
.person-photo > img { width: 100%; max-width: 280px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.person-photo figcaption { display: flex; align-items: center; gap: .6rem; font: 500 .78rem/1.3 var(--f-mono); color: var(--muted); }
.badge-sm { width: 44px !important; height: 44px !important; object-fit: contain; border-radius: 8px; background: #fff; padding: 3px; border: 1px solid var(--line); }
.person-body .sec-head { margin-bottom: 1.25rem; }
@media (max-width: 760px) { .person { grid-template-columns: 1fr; } .person-photo > img { max-width: 220px; } }
.hero-person { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 2.5rem; align-items: center; }
.hero-photo > img { max-width: 260px; }
@media (max-width: 860px) { .hero-person { grid-template-columns: 1fr; } .hero-photo { order: -1; } .hero-photo > img { max-width: 160px; border-radius: 50%; aspect-ratio: 1; } }
/* Digital Learner Card: front and back shown like a real ID card */
.card-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.card-split .sec-head { margin-bottom: 1.25rem; }
.note-card { background: var(--wine); color: var(--wine-ink); border-radius: 16px; padding: 1.2rem 1.3rem; max-width: 520px; }
.note-card b { display: block; font: 600 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-bottom: .5rem; }
.note-card p { font-size: .95rem; line-height: 1.55; }
.card-stage { position: relative; display: flex; justify-content: center; align-items: center; gap: 0; padding-block: 1rem; }
.id-card { width: min(42%, 230px); aspect-ratio: 590 / 1004; object-fit: cover; border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgba(20, 10, 20, .08), 0 22px 44px -18px rgba(60, 10, 30, .45); transition: transform .35s ease; }
.id-card.c0 { transform: rotate(-5deg) translateX(10px); z-index: 2; }
.id-card.c1 { transform: rotate(5deg) translate(-10px, 18px); }
.card-stage:hover .id-card.c0 { transform: rotate(-2deg) translateX(-6px); }
.card-stage:hover .id-card.c1 { transform: rotate(2deg) translate(6px, 10px); }
@media (max-width: 860px) {
  .card-split { grid-template-columns: 1fr; }
  .card-stage { order: -1; }
  .id-card { width: min(44%, 190px); }
}
@media (prefers-reduced-motion: reduce) { .id-card { transition: none; } }
/* Featured members carousel */
.carousel { position: relative; }
.carousel .track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .25rem .1rem 1rem; scrollbar-width: none; }
.carousel .track::-webkit-scrollbar { display: none; }
.member { flex: 0 0 calc((100% - 2rem) / 3); scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem 1.25rem 1.25rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; }
@media (max-width: 960px) { .member { flex-basis: calc((100% - 1rem) / 2); } }
@media (max-width: 600px) { .member { flex-basis: 85%; } }
.m-av { position: relative; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--acc), color-mix(in srgb, var(--acc) 70%, var(--ink))); color: #fff; font: 800 1.4rem/1 var(--f-display); margin-bottom: .6rem; }
.m-av .tick { position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 50%; background: var(--acc); border: 3px solid var(--card); color: #fff; font-size: .7rem; display: grid; place-items: center; }
.member h3 { font-size: 1.15rem; font-weight: 800; }
.m-role { font: 600 .7rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.m-meta { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .88rem; margin-top: .2rem; }
.m-meta .li { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; color: var(--muted); }
.m-meta .li:hover { color: #0a66c2; background: var(--acc-soft); }
.m-cred { margin-top: auto; width: 100%; text-align: left; padding: .9rem 1rem; border-radius: 12px; background: var(--acc-soft); margin-top: 1rem; }
.m-cred > span, .m-row span { display: block; font: 600 .62rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--acc); margin-bottom: .3rem; }
.m-cred > b { font: 700 1rem/1 var(--f-mono); letter-spacing: .05em; }
.m-row { display: flex; justify-content: space-between; gap: .5rem; margin-top: .75rem; padding-top: .65rem; border-top: 1px solid color-mix(in srgb, var(--acc) 20%, transparent); }
.m-row span { color: var(--muted); }
.m-row em { font-style: normal; font: 700 .72rem/1 var(--f-body); color: var(--ok); text-transform: uppercase; letter-spacing: .05em; }
.m-row i { font-style: normal; font-size: .78rem; font-weight: 600; }
.m-row div:last-child { text-align: right; }
.car-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: .75rem; }
.dots { display: flex; gap: .4rem; }
.dots button { width: 8px; height: 8px; padding: 0; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; transition: width .25s ease, background-color .25s ease; }
.dots button[aria-selected="true"] { width: 26px; background: var(--acc); }

/* Navigation dropdowns */
.nav-links .dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: .3rem; background: none; border: 0; padding: .5rem 0; font: 500 .95rem/1 var(--f-body); color: var(--muted); cursor: pointer; }
.dd-btn:hover, .dd-btn[aria-expanded="true"], .dd-btn[aria-current] { color: var(--ink); }
.dd-btn[aria-current] { font-weight: 600; }
.dd-btn .chev { transition: transform .2s ease; }
.dd-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); z-index: 50; min-width: 270px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: .5rem; display: grid; gap: .1rem;
  box-shadow: 0 18px 40px -18px rgba(30, 10, 30, .35); animation: dd-in .16s ease; }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.dd-panel.wide { grid-template-columns: 1fr 1fr; min-width: 540px; }
.dd-panel a { display: grid; gap: .15rem; padding: .65rem .8rem; border-radius: 10px; text-decoration: none; }
.dd-panel a:hover, .dd-panel a:focus-visible { background: var(--wine-soft); }
.dd-panel a b { font: 600 .92rem/1.25 var(--f-body); color: var(--ink); }
.dd-panel a small { font-size: .78rem; color: var(--muted); line-height: 1.35; }
.dd-panel a[aria-current] b { color: var(--wine); }
@keyframes dd-in { from { opacity: 0; transform: translate(-50%, -4px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .dd-panel { animation: none; } }
@media (max-width: 1100px) { .nav-links { gap: 1.1rem; } }

/* Mobile menu groups */
.m-group { border-bottom: 1px solid var(--line); }
.m-group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: .7rem 0; font-weight: 600; cursor: pointer; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group[open] summary .chev { transform: rotate(180deg); }
.m-group a { display: block; padding: .5rem 0 .5rem .9rem; color: var(--muted); font-weight: 500; }
.m-group a:last-child { padding-bottom: .9rem; }
.mobile-menu > a { border-bottom: 1px solid var(--line); padding: .7rem 0; font-weight: 600; }


/* header end: theme toggle + CTAs + menu */
.nav-end { display: flex; align-items: center; gap: .5rem; }
.theme-btn { width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink);
  display: inline-grid; place-items: center; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.theme-btn:hover { border-color: var(--ink); background: var(--card); }
.theme-btn:active { transform: scale(.94); }
.theme-btn:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.theme-btn svg { width: 19px; height: 19px; grid-area: 1 / 1; transition: opacity .25s, transform .35s; }
.theme-btn .i-sun { opacity: 0; transform: rotate(-60deg) scale(.6); }
:root[data-theme="dark"] .theme-btn .i-sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-btn .i-moon { opacity: 0; transform: rotate(40deg) scale(.6); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { opacity: 1; transform: none; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { opacity: 0; transform: rotate(40deg) scale(.6); }
}
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .3s, border-color .3s, color .3s !important; }

/* floating back-to-top: quiet glass disc with a scroll-progress ring */
.to-top { position: fixed; right: max(18px, env(safe-area-inset-right, 0px) + 18px); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 55;
  width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; display: block;
  color: var(--ink); background: color-mix(in srgb, var(--card) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -12px rgba(26, 20, 32, .35);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, transform .3s, visibility .3s, color .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.to-top .ring circle { fill: none; stroke-width: 2.5; }
.to-top .ring .track { stroke: color-mix(in srgb, var(--ink) 10%, transparent); }
.to-top .ring .bar { stroke: var(--acc); stroke-linecap: round; stroke-dasharray: 144.5; stroke-dashoffset: 144.5; transition: stroke-dashoffset .1s linear; }
.to-top .arrow { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; transition: transform .25s; }
.to-top:hover { color: var(--acc); }
.to-top:hover .arrow { transform: translateY(-3px); }
.to-top:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }
.toasts { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
@media (prefers-reduced-motion: reduce) { .to-top, .to-top .arrow, .theme-btn svg { transition: opacity .2s, visibility .2s; transform: none; } }
@media print { .to-top, .theme-btn { display: none; } }


/* ---------- dark mode polish ---------- */
:root[data-theme="dark"] body {
  background:
    radial-gradient(900px 520px at 8% -6%, rgba(194, 59, 104, .13), transparent 62%),
    radial-gradient(820px 520px at 96% 2%, rgba(74, 99, 220, .12), transparent 62%),
    var(--paper);
  background-repeat: no-repeat;
}
:root[data-theme="dark"] .site-header { background: color-mix(in srgb, var(--paper) 78%, transparent); border-bottom-color: rgba(255, 255, 255, .06); }
:root[data-theme="dark"] .brand img { background: #fff; border-radius: 50%; padding: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
/* solid, rich fills with white text instead of pastel pills */
:root[data-theme="dark"] .btn-wine, :root[data-theme="dark"] .badge, :root[data-theme="dark"] .session > header .n, :root[data-theme="dark"] .ccard .flag { background: var(--wine-fill); color: #fff; }
:root[data-theme="dark"] .btn-build { background: var(--build-fill); color: #fff; }
:root[data-theme="dark"] body { --acc-fill: var(--wine-fill); }
:root[data-theme="dark"] body.theme-build { --acc-fill: var(--build-fill); }
:root[data-theme="dark"] .btn-acc, :root[data-theme="dark"] .filter button.on { background: var(--acc-fill); border-color: var(--acc-fill); color: #fff; }
:root[data-theme="dark"] .dots button[aria-selected="true"] { background: var(--acc-fill); }
:root[data-theme="dark"] .btn-wine, :root[data-theme="dark"] .btn-build, :root[data-theme="dark"] .btn-acc { box-shadow: 0 8px 22px -10px var(--acc-fill, var(--wine-fill)), inset 0 1px 0 rgba(255, 255, 255, .14); }
:root[data-theme="dark"] .btn-wine:hover, :root[data-theme="dark"] .btn-build:hover, :root[data-theme="dark"] .btn-acc:hover { filter: brightness(1.1); }
:root[data-theme="dark"] .btn-ghost { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .02); }
:root[data-theme="dark"] .btn-ghost:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .05); }
/* cards: a faint top light and soft depth, so they lift off the page */
:root[data-theme="dark"] :is(.flow, .format, .case, .quote, .book, .session, .trainer, .ccard, .option, .pick, .table-wrap, .steps li, .path, .feature, .show, .outcomes li, .contact-form-card, .verify-card, .stats > div, .member) {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 55%), var(--card);
  border-color: rgba(255, 255, 255, .07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 18px 40px -28px rgba(0, 0, 0, .9);
}
:root[data-theme="dark"] :is(.case, .ccard, .format, .pick, .feature):hover { border-color: color-mix(in srgb, var(--acc) 45%, transparent); }
:root[data-theme="dark"] :is(.chips li, .facts li, .filter button, .icon-btn) { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); }
/* tick icons: brighter in dark */
:root[data-theme="dark"] .ticks li::before { background: rgba(242, 127, 163, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f27fa3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
:root[data-theme="dark"] .theme-build .ticks li::before { background: rgba(163, 180, 255, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3b4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
/* page heroes: a gentle coloured glow instead of a flat band */
:root[data-theme="dark"] .page-hero.learn, :root[data-theme="dark"] .page-hero.acc { background: radial-gradient(900px 380px at 0% 0%, color-mix(in srgb, var(--acc-fill, var(--wine-fill)) 26%, transparent), transparent 70%), transparent; border-bottom-color: rgba(255, 255, 255, .06); }
:root[data-theme="dark"] .proof { border-block: 1px solid var(--night-line); }
:root[data-theme="dark"] .site-footer { background: #08070a; }
:root[data-theme="dark"] ::selection { background: rgba(242, 127, 163, .35); color: #fff; }
:root[data-theme="dark"] .to-top { background: color-mix(in srgb, var(--card) 80%, transparent); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }
