/* ==========================================================================
   GrowthArc marketing site - the shared system for every page except the
   homepage (which carries its own, larger stylesheet this one is distilled
   from). One file, one look: navy ink, gold action, Fraunces display over
   Inter body, white ground. If a sub-page needs something visual, it gets
   added here so the next page has it too.
   ========================================================================== */

:root {
  --primary: #1a1f3c;
  --primary-dark: #0f1229;
  --secondary: #d4a039;
  --accent: #e8c87a;
  --text: #2d3142;
  --muted: #6b7089;
  --faint: #9ca3af;
  --line: #e7e5df;
  --wash: #faf8f4;
  --wash-gold: #fdf6e9;
  --good: #2f9e63;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--primary); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ── nav ────────────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.site-nav .bar {
  display: flex; align-items: center; gap: 28px; height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand b { font-family: var(--font-display); font-size: 21px; color: var(--primary); font-weight: 600; letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > button {
  display: inline-flex; align-items: center; gap: 5px; padding: 9px 13px;
  border: 0; background: none; font: 600 14.5px var(--font-body);
  color: var(--text); border-radius: 8px; cursor: pointer; text-decoration: none;
}
.nav-item > a:hover, .nav-item > button:hover { background: var(--wash); color: var(--primary); }
.nav-item .caret { font-size: 9px; color: var(--faint); }
.menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(26,31,60,.12); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: .18s ease;
}
.nav-item:hover .menu, .nav-item:focus-within .menu {
  opacity: 1; visibility: visible; transform: none;
}
.menu a {
  display: block; padding: 9px 12px; border-radius: 9px; text-decoration: none;
  font-size: 14px; font-weight: 500; color: var(--text);
}
.menu.wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; }
@media (max-width: 1180px) { .menu.wide { min-width: 460px; } }
.menu a small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.menu a:hover { background: var(--wash-gold); color: var(--primary); }
.menu a[aria-current="page"] { background: var(--wash-gold); }
.nav-spacer { flex: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px var(--font-body); text-decoration: none; cursor: pointer;
  border-radius: 10px; padding: 12px 22px; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-gold { background: var(--secondary); color: var(--primary-dark); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(212,160,57,.35); }
.btn-ghost { border-color: var(--line); color: var(--primary); background: #fff; }
.btn-ghost:hover { border-color: var(--secondary); }
.btn-navy { background: var(--primary); color: #fff; }
.btn-navy:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(26,31,60,.28); }
.nav-cta { padding: 10px 18px; font-size: 14px; }

/* mobile nav */
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex; border: 1px solid var(--line); background: #fff;
    border-radius: 9px; padding: 8px 12px; font: 600 14px var(--font-body);
    color: var(--primary); cursor: pointer;
  }
  .mobile-menu {
    display: none; border-top: 1px solid var(--line); background: #fff;
    padding: 10px 24px 22px;
  }
  .mobile-menu.open { display: block; }
  .site-nav .bar { gap: 12px; }
  .site-nav .nav-cta { white-space: nowrap; margin-left: auto; }
  .brand b { font-size: 19px; }
  .mobile-menu details { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .mobile-menu summary { font: 600 15px var(--font-body); padding: 10px 0; cursor: pointer; color: var(--primary); }
  .mobile-menu a { display: block; padding: 9px 4px; text-decoration: none; font-size: 14.5px; color: var(--text); }
}
@media (min-width: 901px) { .mobile-menu { display: none !important; } }

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero { padding: 84px 0 60px; background:
  radial-gradient(70% 60% at 85% 0%, var(--wash-gold), transparent 60%),
  linear-gradient(180deg, var(--wash) 0%, #fff 78%); }
.eyebrow {
  display: inline-block; font: 700 12px var(--font-body); letter-spacing: .14em;
  color: var(--secondary); text-transform: uppercase; margin-bottom: 14px;
}
.hero h1 {
  margin: 0 0 18px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(36px, 5.4vw, 58px); line-height: 1.08; letter-spacing: -.02em;
  color: var(--primary); max-width: 18ch; text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--secondary); }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 58ch; margin: 0 0 28px; }
.hero .lede b { color: var(--text); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 13px; color: var(--faint); margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  font: 600 12.5px var(--font-body); color: var(--primary);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px;
}

/* ── sections ───────────────────────────────────────────────────────────── */
section.block { padding: 72px 0; }
section.block.tint { background: var(--wash); }
section.block.navy { background: var(--primary); color: #e8eaf2; }
.kicker { font: 700 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--secondary); margin: 0 0 10px; }
h2.title {
  margin: 0 0 14px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.015em;
  color: var(--primary); text-wrap: balance;
}
.navy h2.title { color: #fff; }
.section-lede { font-size: 17px; color: var(--muted); max-width: 66ch; margin: 0 0 34px; }
.navy .section-lede { color: #b9bed2; }

.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid.cols-4 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: 0 16px 40px rgba(26,31,60,.09); transform: translateY(-2px); }
.tint .card { background: #fff; }
.navy .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.card h3 { margin: 0 0 8px; font: 650 17px var(--font-body); color: var(--primary); }
.navy .card h3 { color: #fff; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); }
.navy .card p { color: #b9bed2; }
.card .tag {
  display: inline-block; font: 700 10.5px var(--font-body); letter-spacing: .1em;
  color: var(--secondary); margin-bottom: 10px; text-transform: uppercase;
}

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split.flip > .visual { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.flip > .visual { order: 0; } }
.split h3 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 27px; color: var(--primary); letter-spacing: -.01em; }
.split p { color: var(--muted); font-size: 15.5px; margin: 0 0 12px; }
.split ul.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.split ul.ticks li { padding-left: 26px; position: relative; font-size: 14.5px; color: var(--text); }
.split ul.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--secondary); font-weight: 800; }

/* the product panel: a stylised UI vignette, all CSS, no screenshots */
.panel {
  background: var(--primary); border-radius: 18px; padding: 22px;
  box-shadow: 0 24px 60px rgba(26,31,60,.25); color: #e8eaf2;
}
.panel .p-head { display: flex; align-items: center; gap: 8px; font: 700 11px var(--font-body); letter-spacing: .12em; color: #8f96b5; text-transform: uppercase; margin-bottom: 14px; }
.panel .p-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); }
.panel .p-row {
  display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09); border-radius: 12px; padding: 12px 14px;
  margin-bottom: 10px;
}
.panel .p-row:last-child { margin-bottom: 0; }
.panel .p-ico {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: rgba(212,160,57,.18); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px;
}
.panel .p-ico.rose { background: rgba(224,104,92,.18); color: #f0a396; }
.panel .p-ico.good { background: rgba(47,158,99,.2); color: #7fd6a4; }
.panel .p-t { font: 600 14px var(--font-body); color: #fff; }
.panel .p-s { font-size: 12px; color: #9aa1bd; }
.panel .p-right { margin-left: auto; font: 700 12px var(--font-body); color: var(--accent); white-space: nowrap; }
.panel .p-bar { height: 7px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: 8px; }
.panel .p-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--secondary), var(--accent)); }

/* steps */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; }
.step .n {
  counter-increment: step; width: 46px; height: 46px; border-radius: 50%;
  background: var(--wash-gold); border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font: 700 17px var(--font-display); color: var(--primary);
}
.step .n::before { content: counter(step); }
.step h3 { margin: 8px 0 6px; font: 650 17px var(--font-body); color: var(--primary); }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 68ch; }
.step .mins { font: 600 12px var(--font-body); color: var(--secondary); margin-left: 8px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.stat { text-align: center; padding: 22px 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.navy .stat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.stat b { display: block; font: 600 34px var(--font-display); color: var(--primary); letter-spacing: -.02em; }
.navy .stat b { color: #fff; }
.stat span { font-size: 13px; color: var(--muted); }
.navy .stat span { color: #b9bed2; }
.stat small { display:block; font-size: 11px; color: var(--faint); margin-top: 4px; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font: 600 15.5px var(--font-body); color: var(--primary); padding: 14px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 12px; font-size: 20px; color: var(--secondary); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 16px; color: var(--muted); font-size: 14.5px; max-width: 72ch; }

/* release notes */
.release { border-left: 2px solid var(--line); padding-left: 28px; display: grid; gap: 40px; }
.rel { position: relative; }
.rel::before { content: ""; position: absolute; left: -35px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 0 4px var(--wash-gold); }
.rel .date { font: 700 12px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.rel h3 { margin: 6px 0 10px; font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--primary); }
.rel ul { margin: 0; padding-left: 20px; display: grid; gap: 7px; }
.rel li { font-size: 14.5px; color: var(--muted); }
.rel li b { color: var(--text); }
.rel .badge { display: inline-block; font: 700 10.5px var(--font-body); letter-spacing: .08em; color: var(--primary-dark); background: var(--accent); border-radius: 999px; padding: 3px 10px; margin-left: 8px; vertical-align: 2px; }

/* comparison / table */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table.cmp { border-collapse: collapse; width: 100%; font-size: 14.5px; background: #fff; }
.cmp th { text-align: left; font: 700 12px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cmp td { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.cmp td:first-child { color: var(--primary); font-weight: 600; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp .yes { color: var(--good); font-weight: 700; }

/* quote band - product statements, not invented testimonials */
.pull { border-left: 4px solid var(--secondary); background: var(--wash-gold); border-radius: 0 16px 16px 0; padding: 22px 26px; font-family: var(--font-display); font-size: 21px; line-height: 1.4; color: var(--primary); max-width: 62ch; }
.pull small { display: block; margin-top: 10px; font: 600 12.5px var(--font-body); color: var(--muted); }

/* cta band */
.cta-band { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: 24px; padding: 54px 40px; text-align: center; color: #fff; }
.cta-band h2 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.015em; }
.cta-band p { margin: 0 auto 26px; color: #b9bed2; max-width: 54ch; }
.cta-band .hero-note { color: #8f96b5; }

/* a routine: the day's steps with their times, one column per part of the day */
.routine { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.routine > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.routine h3 { margin: 0 0 14px; font: 650 15.5px var(--font-body); color: var(--primary); }
.routine h3 small { display: block; font: 500 12.5px var(--font-body); color: var(--muted); margin-top: 2px; }
.routine ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.routine li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; font-size: 14.5px; color: var(--text); line-height: 1.45; }
.routine li i { font: 600 12px var(--font-body); font-style: normal; color: var(--secondary); letter-spacing: .04em; padding-top: 3px; }
.routine li small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* two columns of bullets: what the coach gets, what the client gets */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; } }
.pair > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px; }
.pair h3 { margin: 0 0 14px; font-family: var(--font-display); font-weight: 600; font-size: 23px; color: var(--primary); letter-spacing: -.01em; }
.pair ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pair li { padding-left: 24px; position: relative; font-size: 14.5px; color: var(--text); }
.pair li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--secondary); font-weight: 800; }

/* the discipline index on the loops hub: one heading per family */
.fam { margin-top: 30px; }
.fam:first-of-type { margin-top: 0; }
.fam h3 { margin: 0 0 12px; font: 700 12px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fam .segs a b { font-size: 15px; }

/* the closing band of a discipline page: the app, and the way back */
.cta-band .hero-ctas { justify-content: center; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.cta-band .btn-ghost:hover { border-color: var(--accent); }
.cta-band .kin { margin: 22px auto 0; font-size: 13px; color: #8f96b5; max-width: 60ch; }
.cta-band .kin a { color: #b9bed2; }

/* breadcrumbs */
.crumbs { font-size: 13px; color: var(--faint); padding: 18px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--secondary); }

/* ── footer ─────────────────────────────────────────────────────────────── */
footer.site {
  background: var(--primary-dark); color: #b9bed2; margin-top: 84px;
  padding: 56px 0 30px; font-size: 14px;
}
footer.site .cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; }
@media (max-width: 900px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
footer.site h4 { margin: 0 0 12px; font: 700 12px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #8f96b5; }
footer.site a { display: block; color: #b9bed2; text-decoration: none; padding: 4px 0; }
footer.site a:hover { color: var(--accent); }
footer.site .brandline { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
footer.site .brandline b { font-family: var(--font-display); font-size: 19px; color: #fff; }
footer.site .fine { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #8f96b5; }
footer.site .fine a { display: inline; padding: 0 8px 0 0; color: #8f96b5; }

:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card, .btn { transition: none; } }

/* every discipline as pills under a loop page's hero; the current one is marked */
.dstrip .title { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 18px; }
.dstrip .title a { color: var(--secondary); text-decoration: none; font-size: .7em; font-family: var(--font-body); font-weight: 600; white-space: nowrap; }
.dstrip .fs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.dstrip .fs b { flex: 0 0 100%; font: 700 11px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.dstrip .fs a { text-decoration: none; font: 600 13px var(--font-body); color: var(--primary); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; transition: .15s; }
.dstrip .fs a:hover { border-color: var(--secondary); }
.dstrip .fs a.cur { background: var(--primary); color: #fff; border-color: var(--primary); }
@media (min-width: 761px) { .dstrip .fs b { flex: 0 0 150px; margin: 0; } }

/* ── diagrams (page_diagrams.py): icons, the loop, the rail, the flow ────── */
.ico { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--wash-gold); color: var(--secondary); margin-bottom: 14px; }
.ico svg { width: 22px; height: 22px; }
.card .ico + .tag { display: block; }
.navy .ico { background: rgba(232,200,122,.14); color: var(--accent); }

.loopd { position: relative; width: min(100%, 520px); aspect-ratio: 1; container-type: inline-size; margin: 0 auto; font-family: var(--font-body); }
.ld-ring { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--secondary); overflow: visible; }
.ld-track { fill: none; stroke: var(--line); stroke-width: .6; }
.ld-arc { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-dasharray: 3 2.2; animation: ld-flow 2.4s linear infinite; }
@keyframes ld-flow { to { stroke-dashoffset: -10.4; } }
.ld-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30%; text-align: center; display: grid; justify-items: center; gap: 2px; }
.ld-net { width: 70%; color: var(--primary); }
.ld-net .ld-edges path { stroke: var(--line); stroke-width: 1.2; fill: none; }
.ld-net .ld-dots circle { fill: var(--primary); }
.ld-net .ld-dots .out { fill: var(--secondary); }
.ld-core b { font: 700 clamp(11px, 3.1cqw, 15px) var(--font-body); color: var(--primary); line-height: 1.2; margin-top: 4px; }
.ld-core small { font-size: clamp(9.5px, 2.4cqw, 12px); color: var(--muted); line-height: 1.3; }
.ld-node { position: absolute; width: 32%; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(8px, 2.4cqw, 14px); box-shadow: 0 12px 30px rgba(26,31,60,.08); display: grid; gap: 3px; text-align: center; justify-items: center; }
.ld-node b { font: 700 clamp(11px, 3cqw, 14.5px) var(--font-body); color: var(--primary); }
.ld-node span { font-size: clamp(9.5px, 2.35cqw, 12px); color: var(--muted); line-height: 1.3; }
.ld-ico { display: inline-grid; place-items: center; width: clamp(24px, 6.5cqw, 34px); height: clamp(24px, 6.5cqw, 34px); border-radius: 10px; background: var(--wash-gold); color: var(--secondary); margin-bottom: 2px; }
.ld-ico svg { width: 60%; height: 60%; }
.ld-node.n1 { left: 50%; top: 14%; transform: translate(-50%, -50%); }
.ld-node.n2 { left: 86%; top: 50%; transform: translate(-50%, -50%); }
.ld-node.n3 { left: 50%; top: 86%; transform: translate(-50%, -50%); }
.ld-node.n4 { left: 14%; top: 50%; transform: translate(-50%, -50%); }
.ld-node.n3 .ld-ico { background: var(--primary); color: var(--accent); }
@media (max-width: 900px) {
  .hero-duo .devcol:has(.loopd) { transform: none; margin: 0 0 8px; }
}
@container (max-width: 420px) { .ld-core small { display: none; } }
@media (prefers-reduced-motion: reduce) { .ld-arc { animation: none; } }

.tl { background: var(--primary); border-radius: 18px; padding: 22px 22px 18px; color: #e8eaf2; box-shadow: 0 24px 60px rgba(26,31,60,.25); }
.tl .tl-head { margin: 0 0 16px; font: 700 11px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #8f96b5; }
.tl ol { list-style: none; margin: 0; padding: 0; position: relative; }
.tl ol::before { content: ""; position: absolute; left: 27px; top: 14px; bottom: 14px; width: 2px; background: rgba(255,255,255,.12); }
.tl-m { display: flex; gap: 16px; align-items: flex-start; padding: 7px 0; position: relative; }
.tl-m i { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: var(--primary); border: 2px solid rgba(255,255,255,.18); position: relative; }
.tl-m i b { font: 700 11px var(--font-body); letter-spacing: .02em; color: #e8eaf2; }
.tl-m.good i { border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(212,160,57,.18); }
.tl-m.good i b { color: var(--accent); }
.tl-m.rose i { border-color: #e0708a; box-shadow: 0 0 0 4px rgba(224,112,138,.16); }
.tl-m.rose i b { color: #f3a0b4; }
.tl-m div { padding-top: 8px; }
.tl-m div b { display: block; font: 650 14.5px var(--font-body); color: #fff; }
.tl-m div span { display: block; font-size: 12.5px; color: #aab0c8; margin-top: 2px; line-height: 1.4; }
.tl .tl-key { margin: 14px 0 0; font-size: 11.5px; color: #8f96b5; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.tl-key i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; background: rgba(255,255,255,.25); }
.tl-key i.good { background: var(--secondary); }
.tl-key i.rose { background: #e0708a; }

.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 8px; }
.fl-cell { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 18px; display: grid; gap: 6px; align-content: start; }
.fl-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--wash-gold); color: var(--secondary); margin-bottom: 4px; }
.fl-ico svg { width: 20px; height: 20px; }
.fl-cell:last-child .fl-ico { background: var(--primary); color: var(--accent); }
.fl-cell small { font: 700 10.5px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--secondary); }
.fl-cell b { font: 600 15px var(--font-body); color: var(--primary); line-height: 1.35; }
.fl-arrow { align-self: center; width: 22px; height: 22px; position: relative; color: var(--faint); }
.fl-arrow::before { content: ""; position: absolute; left: 0; right: 6px; top: 50%; height: 2px; background: currentColor; }
.fl-arrow::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); }
@media (max-width: 700px) {
  .flow { grid-template-columns: 1fr; }
  .fl-arrow { justify-self: center; width: 22px; height: 22px; transform: rotate(90deg); }
}
.learn-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; margin-top: 30px; }
.learn-two h4 { margin: 0 0 4px; font: 700 12px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.learn-two h4 .ico { width: 30px; height: 30px; margin: 0; border-radius: 9px; }
.learn-two h4 .ico svg { width: 16px; height: 16px; }
.learn-two ul.ticks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 9px; }
.learn-two ul.ticks li { padding-left: 26px; position: relative; font-size: 14.5px; color: var(--text); }
.learn-two ul.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--secondary); font-weight: 800; }
@media (max-width: 700px) { .learn-two { grid-template-columns: 1fr; } }

/* Icon cards go two-up on a phone: their bodies are one line, so a column
   of full-width cards was mostly padding. */
@media (max-width: 560px) {
  .grid:has(> .card > .ico) { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid:has(> .card > .ico) .card { padding: 14px 12px; border-radius: 12px; }
  .grid:has(> .card > .ico) .card h3 { font-size: 14px; margin-bottom: 4px; }
  .grid:has(> .card > .ico) .card p { font-size: 12.5px; line-height: 1.45; }
  .grid:has(> .card > .ico) .card .tag { font-size: 10px; }
  .grid:has(> .card > .ico) .card .ico { width: 30px; height: 30px; margin-bottom: 8px; }
}
.dstrip .fs-all { display: none; }
@media (max-width: 700px) {
  .dstrip .fs:not(.cur) { display: none; }
  .dstrip .fs-all { display: inline-block; margin-top: 16px; font: 600 14px var(--font-body); color: var(--secondary); text-decoration: none; }
}
/* A head without a lede, or without a title, still keeps its distance. */
.block h2.title + :not(p) { margin-top: 30px; }
.block .kicker + :not(h2):not(p) { margin-top: 22px; }
/* The discipline index on a phone: two tiles a row, so thirty-three of them
   read as a list you scan, not a scroll you endure. */
@media (max-width: 560px) {
  .fam .segs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .fam .segs a { padding: 12px 12px 11px; border-radius: 12px; }
  .fam .segs a b { font-size: 13.5px; margin-bottom: 2px; }
  .fam .segs a span { font-size: 11.5px; line-height: 1.35; display: block; }
  .fam { margin-top: 22px; }
}
