/* Udhyam Labs AI
   Layout concept: cinematic dark bands carrying imagery, alternating with light
   working surfaces that hold interactive panels and diagrams. Serif for display
   lines only; sans for everything that is read or operated; mono for code.
   Palette after Sanzo Wada, A Dictionary of Color Combinations (1933): navy
   through steel and slate to a cool white, with one saturated blue for
   anything interactive or primary. */

:root {
  --ink:    #0B1420;
  --ink-2:  #101C2E;
  --ink-3:  #16253C;
  --navy:   #1B2E4F;
  --steel:  #35496B;
  --slate:  #5B6B83;
  --grey:   #8793A4;
  --mist:   #C9D1DB;
  --veil:   #E7EAEF;
  --paper:  #F5F6F8;
  --white:  #FFFFFF;
  --blue:   #4A6490;
  --sky:    #9DB1CF;
  --azure:  #2B62E3;   /* interactive and primary, on light */
  --azure-2:#6E9BFF;   /* the same role on dark */
  --amber:  #F2B33D;   /* the highlight badge on announcements */
  --amber-2:#F6C76E;   /* highlight text on dark */
  --amber-ink:#8A5A00; /* highlight text on light */

  --body:   #3A4A63;
  --line:       #DCE1E8;
  --line-faint: #E9ECF1;
  --line-dark:  rgba(201, 209, 219, .16);
  --glass:      rgba(255, 255, 255, .06);
  --glass-line: rgba(255, 255, 255, .14);

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-s: 8px; --r-m: 14px; --r-l: 22px;
  --shadow-1: 0 1px 2px rgba(11, 20, 32, .05), 0 12px 28px -16px rgba(11, 20, 32, .22);
  --shadow-2: 0 2px 4px rgba(11, 20, 32, .06), 0 40px 70px -40px rgba(11, 20, 32, .5);

  --gutter: 2rem;
  --page: 80rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 6.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  margin: 0; background: var(--paper); color: var(--body);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--white); padding: .75rem 1.25rem; font-size: .875rem; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--azure); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .hero :focus-visible, .phero :focus-visible, .foot :focus-visible { outline-color: var(--azure-2); }

/* ------------------------------------------------------------------ type */

h1, h2, .display { font-family: var(--serif); font-weight: 400; color: var(--ink); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5rem); line-height: 1.03; letter-spacing: -.022em; }
h2 { font-size: clamp(2rem, 4.1vw, 3.3rem); line-height: 1.08; letter-spacing: -.018em; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.125rem; line-height: 1.35; letter-spacing: -.006em; color: var(--ink); margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
.lede { font-size: 1.1875rem; line-height: 1.55; color: var(--steel); max-width: 38rem; margin: 0; }
.label { display: inline-block; font-size: .8125rem; font-weight: 600; letter-spacing: .01em; color: var(--azure); margin-bottom: 1rem; }
.dark .label, .hero .label, .phero .label { color: var(--azure-2); }
.dark h2, .dark h3, .dark .display { color: var(--white); }
.dark, .dark .lede { color: var(--mist); }

/* -------------------------------------------------------------- reveal */
/* Sections are visible at rest. The class only adds a short rise when a block
   scrolls into view; nothing waits at zero opacity. */
.js .reveal { transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .7s ease; }
.js .reveal:not(.in) { transform: translateY(18px); opacity: .001; }

/* ------------------------------------------------------------ masthead */

.masthead { position: fixed; inset: 0 0 auto 0; z-index: 60; background: rgba(245, 246, 248, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); transition: background .25s ease, border-color .25s ease; }
.masthead-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 4.5rem; }
.lockup { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.lockup img { display: block; height: 30px; width: auto; }
.lockup .on-dark { display: none; }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav-item { position: relative; }
.nav-link, .nav-toggle { white-space: nowrap; font: 500 .9375rem/1.4 var(--sans); color: var(--steel); text-decoration: none; background: none; border: 0; border-radius: var(--r-s); padding: .55rem .8rem; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; transition: color .15s ease, background .15s ease; }
.nav-link:hover, .nav-toggle:hover, .nav-toggle[aria-expanded="true"] { color: var(--ink); background: rgba(11, 20, 32, .05); }
.chev { width: 7px; height: 7px; flex: none; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .18s ease; }
.nav-toggle[aria-expanded="true"] .chev { transform: rotate(225deg) translate(-2px, -2px); }

.menu { position: absolute; top: calc(100% + .5rem); left: -.5rem; min-width: 23rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: .5rem; margin: 0; list-style: none; box-shadow: var(--shadow-2); }
.menu[hidden] { display: none; }
/* an invisible strip that covers the gap between a heading and its list, so the
   pointer never leaves the menu on the way down */
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.75rem; height: .75rem; }
.menu a { display: grid; grid-template-columns: 2.25rem 1fr; gap: .8rem; align-items: center; padding: .65rem .7rem; border-radius: 10px; text-decoration: none; color: var(--ink); font: 550 .9375rem/1.3 var(--sans); }
.menu a:hover { background: var(--paper); }
.menu a small { display: block; color: var(--slate); font-size: .8125rem; font-weight: 400; margin-top: .15rem; }
.menu svg { width: 36px; height: 36px; padding: 9px; border-radius: 9px; background: var(--veil); color: var(--azure); }

.nav-cta { font: 550 .9375rem/1 var(--sans); color: var(--white); background: var(--ink); text-decoration: none; padding: .8rem 1.15rem; margin-left: .6rem; border-radius: 10px; transition: background .18s ease, transform .18s ease; white-space: nowrap; }
.nav-cta:hover { background: var(--navy); }

.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 2.75rem; height: 2.5rem; cursor: pointer; position: relative; color: var(--ink); }
.burger i { position: absolute; left: 50%; transform: translateX(-50%); width: 1.1rem; height: 1.5px; background: currentColor; }
.burger i:nth-child(1) { top: .9rem; } .burger i:nth-child(2) { top: 1.3rem; }

/* Over the dark hero the bar is transparent with reversed colours. It turns
   solid once the page has scrolled. Without JavaScript it is always solid. */
.js .masthead:not(.solid) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.js .masthead:not(.solid) .lockup .on-light { display: none; }
.js .masthead:not(.solid) .lockup .on-dark { display: block; }
.js .masthead:not(.solid) .nav-link, .js .masthead:not(.solid) .nav-toggle { color: rgba(255, 255, 255, .86); }
.js .masthead:not(.solid) .nav-link:hover, .js .masthead:not(.solid) .nav-toggle:hover, .js .masthead:not(.solid) .nav-toggle[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .1); }
.js .masthead:not(.solid) .nav-cta { background: var(--white); color: var(--ink); }
.js .masthead:not(.solid) .burger { color: #fff; border-color: var(--glass-line); }

/* ------------------------------------------------------------- buttons */

.btn { display: inline-flex; align-items: center; gap: .6rem; font: 550 1rem/1 var(--sans); padding: 1rem 1.5rem; border-radius: 12px; text-decoration: none; cursor: pointer; border: 1px solid var(--ink); background: var(--ink); color: var(--white); transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.btn:hover { background: var(--navy); transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--mist); }
.btn.ghost:hover { background: var(--white); border-color: var(--ink); }
.dark .btn, .hero .btn, .phero .btn, .band-img .btn, .cta .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.dark .btn:hover, .hero .btn:hover, .phero .btn:hover, .band-img .btn:hover, .cta .btn:hover { background: var(--veil); }
.dark .btn.ghost, .hero .btn.ghost, .band-img .btn.ghost { background: var(--glass); color: var(--white); border-color: var(--glass-line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dark .btn.ghost:hover, .hero .btn.ghost:hover, .band-img .btn.ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); }
.text-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 550; font-size: .9375rem; color: var(--azure); text-decoration: none; }
.text-link svg { width: 14px; height: 14px; transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(3px); }
.dark .text-link { color: var(--azure-2); }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--mist); padding: 9.5rem 0 2.5rem; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 14, 25, .95) 0%, rgba(8, 14, 25, .80) 36%, rgba(8, 14, 25, .32) 68%, rgba(8, 14, 25, .5) 100%), linear-gradient(180deg, rgba(8, 14, 25, .6) 0%, rgba(8, 14, 25, 0) 26%, rgba(8, 14, 25, 0) 60%, rgba(8, 14, 25, .94) 100%); }
.hero h1 { color: var(--white); max-width: 21ch; font-size: clamp(2.25rem, 4.5vw, 3.75rem); line-height: 1.06; margin-bottom: 1.5rem; }
.hero .lede { color: #D5DCE6; max-width: 38rem; font-size: 1.1875rem; margin-bottom: 2.25rem; }
.pill { display: inline-flex; align-items: center; gap: .6rem; font-size: .875rem; font-weight: 500; color: #E3E9F2; border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 999px; padding: .45rem .95rem .45rem .75rem; margin-bottom: 2rem; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--azure-2); box-shadow: 0 0 0 4px rgba(110, 155, 255, .22); }
.acts { display: flex; flex-wrap: wrap; gap: .85rem; }

.rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .85rem; margin-top: 4.25rem; }
.rail a { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.15rem 1.05rem; border-radius: var(--r-m); text-decoration: none; color: var(--white); background: rgba(13, 23, 39, .55); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.rail a:hover { background: rgba(26, 44, 74, .7); border-color: rgba(110, 155, 255, .55); transform: translateY(-3px); }
.rail svg { width: 22px; height: 22px; color: var(--azure-2); margin-bottom: .9rem; }
.rail b { font-weight: 550; font-size: .9375rem; line-height: 1.32; }
.rail small { margin-top: auto; padding-top: .6rem; font-size: .8125rem; line-height: 1.3; color: #A9B6C8; display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem; }
.rail small::after { content: ""; width: 7px; height: 7px; flex: none; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg) translateY(-4px); opacity: .7; }

/* inner page hero */
.phero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--mist); padding: 10.5rem 0 5rem; }
.phero-media { position: absolute; inset: 0 0 0 38%; z-index: -2; }
.phero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 36%, rgba(11, 20, 32, .55) 66%, rgba(11, 20, 32, .25) 100%), linear-gradient(180deg, rgba(11, 20, 32, .55) 0%, transparent 35%, rgba(11, 20, 32, .85) 100%); }
.phero h1 { color: var(--white); font-size: clamp(2.2rem, 4.3vw, 3.5rem); line-height: 1.06; max-width: 22ch; margin-bottom: 1.5rem; }
.phero .lede { color: #D5DCE6; max-width: 39rem; }

/* ------------------------------------------------------------- marquee */

.strip { background: var(--ink); border-top: 1px solid var(--line-dark); padding: 1.35rem 0; color: var(--grey); }
.strip-in { display: flex; align-items: center; gap: 2.5rem; }
.strip-label { flex: none; font-size: .8125rem; font-weight: 550; color: var(--mist); }
.marquee { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 3.25rem; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 500 .9375rem/1 var(--mono); color: #A9B6C8; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; gap: 1rem 2rem; } .marquee-track span[aria-hidden] { display: none; } }

/* ------------------------------------------------------------ sections */

.band { padding: 7rem 0; position: relative; }
.band.white { background: var(--white); }
.band.dark { background: var(--ink); overflow: hidden; isolation: isolate; }
.band.tight { padding: 5rem 0; }
.head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
.head.solo { display: block; max-width: 48rem; }
.head.solo h2 { margin-bottom: 1.25rem; }
.head .lede { justify-self: end; }
.glow { position: absolute; z-index: -1; width: 42rem; height: 42rem; border-radius: 50%; background: radial-gradient(circle, rgba(43, 98, 227, .30), rgba(43, 98, 227, 0) 62%); pointer-events: none; }

/* --------------------------------------------------- practice explorer */

.xp { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-2); }
.xp-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--paper); border-bottom: 1px solid var(--line); }
html:not(.js) .xp-tabs { display: none; }
.xp-tab { position: relative; display: flex; align-items: center; gap: .65rem; font: 550 .875rem/1.3 var(--sans); color: var(--slate); background: transparent; text-align: left; white-space: nowrap; border: 0; border-right: 1px solid var(--line); padding: 1.2rem 1.15rem; cursor: pointer; transition: color .15s ease, background .15s ease; }
.xp-tab:last-child { border-right: 0; }
.xp-tab svg { width: 20px; height: 20px; flex: none; }
.xp-tab:hover { color: var(--ink); background: rgba(255, 255, 255, .6); }
.xp-tab[aria-selected="true"] { background: var(--white); color: var(--ink); }
.xp-tab[aria-selected="true"] svg { color: var(--azure); }
.xp-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--azure); }
.xp-tab:focus-visible { outline-offset: -3px; }

.xp-panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.js .xp-panel:not(.is-active) { display: none; }
html:not(.js) .xp-panel + .xp-panel { border-top: 1px solid var(--line); }
.xp-text { padding: 2.5rem 2.5rem 2.25rem; display: flex; flex-direction: column; }
.xp-icon { display: none; }
.xp-text h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.16; letter-spacing: -.012em; margin: 0 0 1rem; }
.xp-text p { margin: 0 0 1.75rem; }
.xp-text h4 { font-size: .8125rem; font-weight: 600; color: var(--slate); margin: 0 0 .35rem; }
.checks { list-style: none; margin: 0 0 2rem; padding: 0; font-size: .9375rem; color: var(--ink); font-weight: 500; }
.checks li { display: grid; grid-template-columns: 1.75rem 1fr; align-items: start; padding: .7rem 0; border-bottom: 1px solid var(--line-faint); line-height: 1.45; }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--azure) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.dark .checks { color: var(--white); } .dark .checks li { border-bottom-color: var(--line-dark); }
.xp-more { margin-top: auto; align-self: flex-start; }
.xp-canvas { position: relative; background: var(--ink); padding: 2.25rem; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.xp-cap { position: relative; align-self: stretch; margin: 1.1rem 0 0; font-size: .8125rem; line-height: 1.5; color: #A9B6C8; }
.reader-note { font-size: .875rem; color: var(--slate); margin: -.75rem 0 0; max-width: 30rem; }
.xp-canvas::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 60% at 70% 20%, rgba(43, 98, 227, .28), transparent 70%), linear-gradient(var(--line-dark) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, var(--line-dark) 1px, transparent 1px) 0 0 / 40px 40px; opacity: .8; }
.xp-canvas svg { position: relative; display: block; width: 100%; height: auto; }

.il { font-family: var(--sans); }
.il .p    { fill: rgba(18, 31, 51, .86); stroke: rgba(201, 209, 219, .2); stroke-width: 1; }
.il .w2   { fill: #24395b; }
.il .hi   { fill: var(--white); }
.il .ac   { fill: var(--azure-2); }
.il .tr   { fill: rgba(201, 209, 219, .16); }
.il .gone { fill: none; stroke: rgba(201, 209, 219, .3); stroke-width: 1; stroke-dasharray: 3 3; }
.il .ring { fill: none; stroke: var(--azure-2); stroke-width: 1.5; }
.il .t    { fill: var(--white); font-size: 13px; font-weight: 500; }
.il .s    { fill: #9BA8BC; font-size: 11px; }
.il .k    { fill: var(--ink); font-size: 13px; font-weight: 600; }
.il .ks   { fill: var(--slate); font-size: 11px; }
.il .l    { stroke: #6C7B92; stroke-width: 1.25; fill: none; }
.il .lf   { stroke: rgba(201, 209, 219, .3); stroke-width: 1; fill: none; stroke-dasharray: 3 4; }
.il .lk   { stroke: var(--white); stroke-width: 1.75; fill: none; }
.il .la   { stroke: var(--azure-2); stroke-width: 1.75; fill: none; }
.il .flow { stroke-dasharray: 5 6; }
.xp-panel.is-active .il .flow { animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }

/* ------------------------------------------------------ light diagrams */

.figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 2rem 2rem 1.5rem; box-shadow: var(--shadow-1); }
.figure svg { display: block; width: 100%; height: auto; }
.figure figcaption { padding-right: max(0px, calc(100% - 68ch)); font-size: .9375rem; color: var(--slate); margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line-faint); line-height: 1.55; }
.figure.on-dark { background: rgba(16, 28, 46, .8); border-color: var(--line-dark); box-shadow: none; }
.figure.on-dark figcaption { color: var(--mist); border-top-color: var(--line-dark); }

.dg { font-family: var(--sans); }
.dg .box { fill: var(--white); stroke: var(--line); stroke-width: 1; }
.dg .box-fill { fill: var(--veil); stroke: var(--line); stroke-width: 1; }
.dg .box-key { fill: var(--ink); stroke: var(--ink); stroke-width: 1; }
.dg .ln { stroke: var(--slate); stroke-width: 1.25; fill: none; }
.dg .ln-faint { stroke: var(--mist); stroke-width: 1; fill: none; }
.dg .ln-key { stroke: var(--azure); stroke-width: 1.75; fill: none; }
.dg .ln-dash { stroke: var(--grey); stroke-width: 1; fill: none; stroke-dasharray: 3 3; }
.dg .t { fill: var(--ink); font-size: 12.5px; font-weight: 550; }
.dg .t-sm { fill: var(--slate); font-size: 11px; font-weight: 400; }
.dg .t-inv { fill: var(--white); font-size: 12.5px; font-weight: 550; }
.dg .t-dim { fill: var(--grey); font-size: 11px; font-weight: 400; }
.dg .t-num { fill: var(--ink); font-size: 15px; font-weight: 600; }
.figure.on-dark .dg .box { fill: var(--ink); stroke: var(--line-dark); }
.figure.on-dark .dg .box-fill { fill: var(--ink-3); stroke: var(--line-dark); }
.figure.on-dark .dg .box-key { fill: var(--white); stroke: var(--white); }
.figure.on-dark .dg .ln { stroke: var(--grey); }
.figure.on-dark .dg .ln-faint { stroke: var(--line-dark); }
.figure.on-dark .dg .ln-key { stroke: var(--azure-2); }
.figure.on-dark .dg .t { fill: var(--white); }
.figure.on-dark .dg .t-sm { fill: #A9B6C8; }
.figure.on-dark .dg .t-inv { fill: var(--ink); }
.figure.on-dark .dg .t-dim { fill: var(--slate); }
.figure.on-dark .dg .t-num { fill: var(--white); }

/* coverage matrix: an HTML grid, so it fits a phone without sideways scroll */
.mx { display: grid; gap: .45rem; }
.mx-head, .mx-row { display: grid; grid-template-columns: 14rem repeat(5, minmax(0, 1fr)); gap: .45rem; align-items: center; }
.mx-head { margin-bottom: .5rem; align-items: end; }
.mx-col b { display: block; font-size: .9375rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mx-col small { display: block; font-size: .8125rem; color: var(--slate); }
.mx-legend { display: grid; gap: .35rem; font-size: .8125rem; color: var(--slate); }
.mx-legend span { display: flex; align-items: center; gap: .55rem; }
.mx-legend i { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.mx-name { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.mx-row > i { height: 3.1rem; border-radius: 10px; display: grid; place-items: center; }
.mx i.p { background: var(--azure); } .mx i.r { background: #DCE6F8; } .mx i.n { background: var(--paper); }
.mx-row > i.p::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--white); }
.mx-row > i.r::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--azure); }
.mx-bar { grid-column: 2 / -1; background: var(--ink); color: var(--white); border-radius: 10px; text-align: center; font-size: .9375rem; font-weight: 550; padding: .8rem 1rem; }
.mx-row.total { margin-top: .5rem; }
.dg .box, .dg .box-fill, .dg .box-key { rx: 7px; }

/* ------------------------------------------------------ ownership band */

.own { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; align-items: center; }
.own h2 { margin-bottom: 1.5rem; }
.own .lede { margin-bottom: 2.5rem; }
.own-art { position: absolute; z-index: -2; inset: 0 0 0 26%; opacity: .95; }
.own-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.band.dark.has-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 26%, rgba(11, 20, 32, .6) 58%, rgba(11, 20, 32, .42) 100%), linear-gradient(180deg, var(--ink) 0%, rgba(11, 20, 32, 0) 24%, rgba(11, 20, 32, 0) 62%, var(--ink) 100%); }

.stack { position: relative; display: grid; gap: .6rem; padding-right: 11.5rem; }
.layer { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: center; padding: 1rem 1.15rem; border-radius: var(--r-m); background: rgba(16, 28, 46, .78); border: 1px solid var(--glass-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.layer svg { width: 44px; height: 44px; padding: 11px; border-radius: 11px; background: rgba(110, 155, 255, .14); color: var(--azure-2); }
.layer b { display: block; color: var(--white); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.layer small { display: block; font: 400 .8125rem/1.5 var(--mono); color: #A9B6C8; margin-top: .15rem; }
.handoff { display: flex; align-items: center; gap: .9rem; font-size: .8125rem; color: var(--grey); padding: .1rem 0; }
.handoff::before, .handoff::after { content: ""; flex: 1; border-top: 1px dashed rgba(201, 209, 219, .4); }
.stack-brace { position: absolute; right: 0; top: 0; bottom: 0; width: 10.25rem; display: flex; align-items: center; }
.stack-brace::before { content: ""; position: absolute; left: 0; top: .5rem; bottom: .5rem; width: 14px; border: 1.5px solid var(--azure-2); border-left: 0; border-radius: 0 10px 10px 0; }
.stack-brace span { margin-left: 1.6rem; padding: .8rem .9rem; border-radius: 12px; background: rgba(10, 18, 32, .78); border: 1px solid var(--glass-line); font-size: .9375rem; font-weight: 600; line-height: 1.35; color: var(--white); }
.stack-brace small { display: block; font-weight: 400; font-size: .8125rem; color: var(--mist); margin-top: .35rem; }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.fact { padding: 1.25rem 1.25rem 1.3rem; border-radius: var(--r-m); background: var(--glass); border: 1px solid var(--glass-line); }
.fact h3 { color: var(--white); font-size: 1rem; margin-bottom: .4rem; }
.fact p { margin: 0; font-size: .9375rem; line-height: 1.5; color: var(--mist); }

/* -------------------------------------------------------- code window */

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4.5rem; align-items: center; }
.split h2 { margin-bottom: 1.25rem; } .split .lede { margin-bottom: 2rem; }
.code { background: var(--ink); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid #1C2B44; }
.code-bar { display: flex; align-items: center; gap: .35rem; padding: .7rem .8rem 0; background: var(--ink-2); border-bottom: 1px solid var(--line-dark); overflow-x: auto; scrollbar-width: none; }
.code-bar::-webkit-scrollbar { display: none; }
.code-dots { display: flex; gap: 6px; padding: 0 .8rem .7rem .3rem; flex: none; }
.code-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2A3B58; }
.code-tab { font: 500 .8125rem/1 var(--mono); color: #8FA0B8; background: transparent; border: 0; border-radius: 9px 9px 0 0; padding: .75rem 1rem .85rem; cursor: pointer; white-space: nowrap; position: relative; }
.code-tab:hover { color: var(--white); }
.code-tab[aria-selected="true"] { color: var(--white); background: var(--ink); }
.code-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--azure-2); border-radius: 2px; }
.code-panel { margin: 0; }
.js .code-panel:not(.is-active) { display: none; }
.code-panel pre { margin: 0; padding: 1.5rem 1.6rem 1.6rem; max-height: 31rem; overflow: auto; scrollbar-width: thin; scrollbar-color: #2A3B58 transparent; font: 400 .84375rem/1.75 var(--mono); color: #D4DCE8; tab-size: 2; }
.code-panel .c { color: #6F819B; } .code-panel .s { color: #A9C4F5; } .code-panel .k { color: var(--azure-2); } .code-panel .n { color: #F1D9A5; }
.code-foot { padding: .8rem 1.6rem; border-top: 1px solid var(--line-dark); font-size: .8125rem; color: #8FA0B8; background: var(--ink-2); }

/* ------------------------------------------------------------- process */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.step { counter-increment: step; }
.thumb { border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); margin-bottom: 1.4rem; overflow: hidden; }
.band:not(.white) .thumb { background: var(--white); }
.thumb svg { display: block; width: 100%; height: auto; }
.step h3 { display: flex; align-items: baseline; gap: .6rem; font-size: 1.1875rem; }
.step h3::before { content: counter(step); font: 400 1.5rem/1 var(--serif); color: var(--azure); }
.step p { margin: 0; font-size: 1rem; }

/* -------------------------------------------------------- image bands */

.band-img { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--mist); padding: 8rem 0 4rem; }
.band-img > picture, .band-img > .bg { position: absolute; inset: 0; z-index: -2; }
.band-img > .bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.band-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 14, 25, .88) 0%, rgba(8, 14, 25, .6) 34%, rgba(8, 14, 25, 0) 64%), linear-gradient(180deg, rgba(8, 14, 25, .72) 0%, rgba(8, 14, 25, .1) 34%, rgba(8, 14, 25, .1) 60%, rgba(8, 14, 25, .6) 100%); }
.band-img h2 { color: var(--white); max-width: 20ch; margin-bottom: 1.25rem; }
.band-img .lede { color: #D5DCE6; }
.band-img .trio { margin-top: 12rem; }
.band-img .fact { background: rgba(10, 18, 32, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

.cta { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(115deg, #1C49C2 0%, var(--azure) 48%, #1A3C9E 100%); color: #E3EBFF; padding: 6.5rem 0; }
.cta .bg { position: absolute; inset: 0; z-index: -2; opacity: .5; }
.cta .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; display: block; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(34, 82, 205, .97) 0%, rgba(34, 82, 205, .7) 45%, rgba(34, 82, 205, .1) 100%); }
.cta-in { max-width: 44rem; }
.cta h2 { color: var(--white); max-width: 18ch; margin-bottom: 1.25rem; }
.cta .lede { color: #E3EBFF; margin-bottom: 2rem; }
.cta .acts { align-items: center; gap: 1.25rem; }
.cta .acts small { font-size: .9375rem; color: #D5E0FF; }
.cta :focus-visible { outline-color: var(--white); }

/* ----------------------------------------------------- services rows */

.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4.5rem; align-items: center; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip > .feature-text { order: 2; }
.feature-text h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin-bottom: 1.25rem; }
.feature-text .lede { margin-bottom: 1.75rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.chips li { font: 500 .78125rem/1 var(--mono); color: var(--steel); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .5rem .75rem; }
.band.white .chips li { background: var(--paper); }
.dark .chips li { color: #C6D2E3; background: var(--glass); border-color: var(--glass-line); }
details.more { border-top: 1px solid var(--line); padding-top: 1rem; }
details.more summary { cursor: pointer; font-weight: 550; font-size: .9375rem; color: var(--azure); list-style: none; display: inline-flex; align-items: center; gap: .5rem; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .18s ease; }
details.more[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
details.more p { font-size: .9375rem; margin: 1rem 0 0; max-width: 34rem; }
.dark details.more { border-top-color: var(--line-dark); } .dark details.more summary { color: var(--azure-2); }

.pnav { position: sticky; top: 4.5rem; z-index: 40; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.pnav-in { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; padding-top: .6rem; padding-bottom: .6rem; }
.pnav a:first-child { margin-left: -.85rem; }
.pnav-in::-webkit-scrollbar { display: none; }
.pnav a { flex: none; font-size: .875rem; font-weight: 550; color: var(--slate); text-decoration: none; padding: .5rem .85rem; border-radius: 999px; }
.pnav a:hover { color: var(--ink); background: var(--veil); }

/* ------------------------------------------------------------ cards */

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 2rem; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.card > svg { width: 44px; height: 44px; padding: 11px; border-radius: 11px; background: #E8EEFC; color: var(--azure); margin-bottom: 1.25rem; }
.card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.card p { margin: 0 0 1.25rem; font-size: 1rem; } .card p:last-child { margin-bottom: 0; }
.card .chips { margin: auto 0 0; }
.dark .card { background: var(--glass); border-color: var(--glass-line); box-shadow: none; }
.dark .card h3 { color: var(--white); } .dark .card p { color: var(--mist); }
.dark .card > svg { background: rgba(110, 155, 255, .14); color: var(--azure-2); }

.statement-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: center; }
.statement { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.14; letter-spacing: -.016em; color: var(--ink); margin: 0; text-wrap: balance; }
.dark .statement { color: var(--white); }

/* ------------------------------------------------------------- forms */

.form-shell { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 2.5rem; box-shadow: var(--shadow-2); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: .875rem; font-weight: 550; color: var(--ink); margin-bottom: .4rem; }
.field .hint { display: block; font-size: .8125rem; font-weight: 400; color: var(--grey); margin-top: .15rem; }
input, select, textarea { width: 100%; font: 400 1rem/1.5 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .75rem .9rem; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
input:focus, select:focus, textarea:focus { outline: none; background: var(--white); border-color: var(--azure); box-shadow: 0 0 0 4px rgba(43, 98, 227, .14); }
textarea { resize: vertical; min-height: 7rem; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .8125rem; color: var(--grey); margin: 1rem 0 0; }
.alert { font-size: .875rem; padding: .8rem 1rem; border-radius: 10px; border: 1px solid #C9D7F6; background: #EEF3FE; color: var(--navy); margin-bottom: 1.25rem; }
.alert[hidden] { display: none; }
[hidden] { display: none !important; }
.step-mark { display: flex; align-items: center; gap: .75rem; font-size: .8125rem; font-weight: 550; color: var(--slate); margin-bottom: 1.75rem; }
.step-mark::before { content: ""; flex: none; width: 4.5rem; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--azure) 50%, var(--veil) 50%); }
.step-mark.two::before { background: var(--azure); }
.aside-card { background: var(--ink); color: var(--mist); border-radius: var(--r-l); padding: 2.25rem; position: sticky; top: 6.5rem; }
.aside-card h3 { color: var(--white); font-size: 1.25rem; }
.aside-card p { font-size: .9375rem; }
.aside-card p:last-child { margin-bottom: 0; }
.next { list-style: none; margin: 1.5rem 0; padding: 0; counter-reset: n; }
.next li { counter-increment: n; display: grid; grid-template-columns: 2rem 1fr; gap: .9rem; padding: .9rem 0; border-top: 1px solid var(--line-dark); font-size: .9375rem; color: var(--white); font-weight: 500; }
.next li::before { content: counter(n); width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-size: .8125rem; font-weight: 600; color: var(--azure-2); background: rgba(110, 155, 255, .14); }
.next small { display: block; font-weight: 400; color: var(--mist); margin-top: .15rem; }

/* ------------------------------------------------------------ footer */

.foot { background: var(--ink); color: var(--mist); padding: 5rem 0 2.5rem; font-size: .9375rem; border-top: 1px solid var(--line-dark); }
.foot a { color: var(--mist); text-decoration: none; } .foot a:hover { color: var(--white); }
.foot-grid { display: grid; grid-template-columns: 1.9fr 1fr 1fr 1fr .8fr; gap: 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-dark); }
.foot-grid h4 { font-size: .8125rem; font-weight: 600; color: var(--white); margin: 0 0 1.1rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; } .foot-grid li { margin-bottom: .65rem; }
.foot-brand .lockup img { height: 32px; }
.foot-brand p { color: var(--grey); max-width: 25rem; font-size: .9375rem; line-height: 1.6; margin: 1.25rem 0 0; }
.foot-base { padding-top: 2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--grey); font-size: .8125rem; }

/* ------------------------------------------------ variants and extras */

.head.center { display: block; text-align: center; max-width: 46rem; margin-left: auto; margin-right: auto; }
.head.center h2 { margin-bottom: 1.25rem; }
.head.center .lede { margin: 0 auto; }

.panel { border-radius: var(--r-l); box-shadow: var(--shadow-2); }
.panel .il .flow { animation: flow 1.1s linear infinite; }
details.more.wide { margin-top: 2.5rem; border-top: 0; padding-top: 0; }
details.more.wide summary { display: flex; justify-content: space-between; width: 100%; padding: 1.05rem 1.35rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); color: var(--ink); }
details.more.wide summary span { font-weight: 400; color: var(--slate); margin-left: 1rem; margin-right: auto; }
details.more.wide summary:hover { border-color: var(--azure); }
.dark details.more.wide summary { background: var(--glass); border-color: var(--glass-line); color: var(--white); }
.dark details.more.wide summary span { color: var(--mist); }
.dark .detail-cols p { color: var(--mist); }
.band.has-more { padding-bottom: 4.5rem; }
.dark .panel { border: 1px solid var(--glass-line); }
.own-steps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: center; }
.own-steps .next { margin: 0; } .own-steps .next li:first-child { border-top: 0; padding-top: 0; }
.swipe-hint { display: none; }
.detail-cols { columns: 2; column-gap: 3.5rem; margin: 1.5rem 0 2.25rem; }
.detail-cols p { max-width: none; margin: 0 0 1rem; break-inside: avoid; font-size: 1rem; }

.lrows { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow-1); overflow: hidden; }
.lrow { display: grid; grid-template-columns: 3rem minmax(0, 5fr) minmax(0, 6fr); gap: 1.5rem; align-items: center; padding: 1.6rem 2rem; border-top: 1px solid var(--line-faint); }
.lrow:first-child { border-top: 0; }
.lrow > svg { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: #E8EEFC; color: var(--azure); }
.lrow h3 { font-size: 1.1875rem; margin-bottom: .3rem; } .lrow p { margin: 0; font-size: 1rem; } .lrow .chips { margin: 0; }

.media { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); box-shadow: var(--shadow-2); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split.flip > :first-child { order: 2; }
.split .statement { margin-bottom: 1.5rem; }

/* ----------------------------------------- engagement terms and answers */

.nav-item.end .menu { left: auto; right: -.5rem; }
.own-note { color: var(--mist); max-width: 36rem; margin: -1.25rem 0 2.5rem; }
.after { text-align: center; margin: 3rem 0 0; }
.mini { font-size: .8125rem; font-weight: 600; color: var(--slate); margin: 0 0 .35rem; }
.dark .mini { color: var(--mist); }
.aside-note { margin: 1.5rem 0 0; font-size: .9375rem; color: var(--slate); max-width: 56rem; }
.trio.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* three short answers under each practice: the first step, what the client brings, where the risk sits */
.brief { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 3.5rem; }
.brief.four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1.25rem; }
.brief > div { padding: 1.35rem 1.4rem 1.45rem; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); }
.band:not(.white):not(.dark) .brief > div { background: var(--white); }
.brief h3 { display: flex; align-items: center; gap: .55rem; font-size: .875rem; font-weight: 600; color: var(--azure); margin-bottom: .6rem; }
.brief h3 svg { width: 18px; height: 18px; flex: none; }
.brief p { margin: 0; font-size: .9375rem; line-height: 1.55; }
.dark .brief > div { background: var(--glass); border-color: var(--glass-line); }
.dark .brief h3 { color: var(--azure-2); }
.dark .brief p { color: var(--mist); }

/* what the assessment examines and returns, one row per practice */
.at { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow-1); overflow: hidden; }
.band.white .at { background: var(--white); }
.at-row { display: grid; grid-template-columns: 17rem minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: 1.3rem 2rem; border-top: 1px solid var(--line-faint); }
.at-head { border-top: 0; background: var(--paper); padding-top: .85rem; padding-bottom: .85rem; font-size: .8125rem; font-weight: 600; color: var(--slate); }
.at-name { display: flex; align-items: center; gap: .85rem; font-weight: 600; font-size: 1rem; color: var(--ink); line-height: 1.3; }
.at-name svg { width: 42px; height: 42px; padding: 10px; border-radius: 11px; background: #E8EEFC; color: var(--azure); flex: none; }
.at-row p { margin: 0; font-size: .9375rem; line-height: 1.55; }
.at-row p b { display: none; }

/* questions and answers */
.qa { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow-1); overflow: hidden; }
.qa details { border-top: 1px solid var(--line-faint); }
.qa details:first-child { border-top: 0; }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.3rem 2rem; font-weight: 600; font-size: 1.0625rem; line-height: 1.4; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 1.5px solid var(--azure); border-bottom: 1.5px solid var(--azure); transform: rotate(45deg) translate(-2px, -2px); transition: transform .18s ease; }
.qa details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.qa summary:hover { background: var(--paper); }
.qa summary:focus-visible { outline-offset: -3px; }
.qa p { margin: 0; padding: 0 2rem 1.6rem; max-width: 54rem; }

.nots { list-style: none; margin: .5rem 0 0; padding: 0; }
.nots li { display: grid; grid-template-columns: 1.9rem 1fr; align-items: start; padding: .9rem 0; border-top: 1px solid var(--line-faint); font-weight: 550; font-size: .9375rem; line-height: 1.45; color: var(--ink); }
.nots li:first-child { border-top: 0; }
.nots li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--veil) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 6l6 6M12 6l-6 6' fill='none' stroke='%235B6B83' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.nots small { display: block; font-weight: 400; font-size: .875rem; color: var(--slate); margin-top: .2rem; }

@media (max-width: 1180px) {
  .brief.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .at-row { grid-template-columns: 14rem minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
}
@media (max-width: 1020px) {
  .brief { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .at-head { display: none; }
  .at-row { grid-template-columns: 1fr; gap: .75rem; padding: 1.35rem 1.5rem; }
  .at-row:nth-child(2) { border-top: 0; }
  .at-row p b { display: block; font-size: .8125rem; font-weight: 600; color: var(--slate); margin-bottom: .15rem; }
  .nav-toggle { padding: .55rem .5rem; font-size: .875rem; gap: .3rem; } .nav-cta { margin-left: .3rem; padding: .75rem .8rem; font-size: .875rem; }
  .masthead-in { gap: .75rem; } .lockup img { height: 26px; }
}
@media (max-width: 880px) and (min-width: 761px) { .nav-cta { display: none; } }
@media (max-width: 760px) {
  .trio.two, .brief.four { grid-template-columns: 1fr; }
  .qa summary { padding: 1.1rem 1.25rem; font-size: 1rem; } .qa p { padding: 0 1.25rem 1.35rem; }
  .at-row { padding: 1.25rem 1.1rem; }
  .nav-item.end .menu { right: auto; }
  .xp-canvas.full { order: 0; height: auto; padding: 1rem; overflow-x: auto; } .xp-canvas.full::after { content: none; }
  .xp-cap { display: none; }
  .own-note { margin-top: -1rem; }
}

/* ------------------------- why udhyam: the gap, the stages, the routes */
.xp-canvas svg.il-m { display: none; }
.gap-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; }
.gap-split .xp-canvas { padding: 1.75rem 1.75rem 1.5rem; }
.gap-split h2 { font-size: clamp(1.75rem, 2.7vw, 2.3rem); line-height: 1.12; }
.gap-split .lede { margin-bottom: 1.25rem; }
.gap-split p:not(.lede):not(.xp-cap) { max-width: 38rem; margin-bottom: 1.5rem; }
.card > .text-link { margin-top: auto; }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: stage; }
.stage { counter-increment: stage; position: relative; display: flex; flex-direction: column; padding: 1.5rem 1.4rem; border-radius: var(--r-m); background: var(--glass); border: 1px solid var(--glass-line); }
.stage h3 { display: flex; align-items: baseline; gap: .6rem; font-size: 1.125rem; color: var(--white); margin-bottom: .75rem; }
.stage h3::before { content: counter(stage); font: 400 1.5rem/1 var(--serif); color: var(--azure-2); }
.stage p { font-size: .9375rem; line-height: 1.55; color: var(--mist); margin: 0 0 1.25rem; }
.stage .hold { margin: auto 0 0; padding-top: 1rem; border-top: 1px solid var(--glass-line); color: #E3E8EF; }
.stage .hold b { display: block; font-size: .75rem; font-weight: 600; color: var(--azure-2); margin-bottom: .3rem; }
.stage:not(:last-child)::after { content: ""; position: absolute; top: 2.05rem; right: -.82rem; width: 9px; height: 9px; border-top: 1.5px solid var(--azure-2); border-right: 1.5px solid var(--azure-2); transform: rotate(45deg); z-index: 1; }
@supports (grid-template-rows: subgrid) {
  .stage { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; align-content: start; }
  .stage .hold { margin-top: 0; align-self: start; }
}
h3.sub { font-size: 1rem; color: var(--white); margin: 3rem 0 1rem; }
.reader-note.wide { font-size: 1.0625rem; line-height: 1.6; color: var(--steel); max-width: 54rem; margin: 0; }
.at.routes .at-name small { display: block; font-weight: 400; font-size: .8125rem; color: var(--slate); margin-top: .15rem; }
.at-row.us { background: #EEF3FE; }
.at-row.us .at-name svg { background: var(--azure); color: var(--white); }
@media (max-width: 1020px) {
  .gap-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage:nth-child(2)::after { content: none; }
}
@media (max-width: 760px) {
  .gap-split .xp-canvas.full { overflow-x: visible; padding: 1.1rem 1rem 1rem; }
  .gap-split .xp-canvas svg.il-d { display: none; }
  .gap-split .xp-canvas svg.il-m { display: block; width: 100%; min-width: 0; max-width: 26rem; margin: 0 auto; }
  .stages { grid-template-columns: 1fr; }
  .stage:not(:last-child)::after { content: none; }
}

/* ------------------------------ practice pages, blog, readiness check */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .8125rem; font-weight: 600; color: var(--azure-2); margin-bottom: 1rem; }
.crumbs a { color: var(--azure-2); text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.crumbs span { color: #8FA0BA; font-weight: 500; }
.phero .acts { margin-top: 2rem; }
.phero .btn.ghost { background: var(--glass); color: var(--white); border-color: var(--glass-line); }
.phero .btn.ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); }
.link-row { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin: 0; }
.more-link { margin: 2rem 0 0; }
h3.mini { font-size: .8125rem; font-weight: 600; color: var(--slate); margin: 1.5rem 0 .35rem; }
.dark h3.mini { color: var(--mist); }
.plinks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.plinks a { display: flex; flex-direction: column; padding: 1.4rem; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.plinks a:hover { border-color: var(--azure); transform: translateY(-2px); }
.plinks svg { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: #E8EEFC; color: var(--azure); margin-bottom: 1rem; }
.plinks b { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.plinks small { font-size: .875rem; color: var(--slate); margin-top: .35rem; line-height: 1.45; }
.foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr .9fr .8fr; gap: 2rem; }

/* blog: cards */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-1); text-decoration: none; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.post-card:hover { transform: translateY(-3px); border-color: #B9C8E6; box-shadow: var(--shadow-2); }
.post-card[hidden] { display: none; }
.post-top { display: flex; align-items: center; gap: .7rem; padding: 1.1rem 1.4rem; background: var(--ink) radial-gradient(ellipse 90% 140% at 100% 0%, rgba(43, 98, 227, .42), transparent 70%); color: var(--white); font-size: .8125rem; font-weight: 600; }
.post-top svg { width: 34px; height: 34px; padding: 8px; border-radius: 9px; background: rgba(255, 255, 255, .1); color: var(--azure-2); flex: none; }
.post-in { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.4rem 1.5rem; }
.post-in b { font-family: var(--serif); font-weight: 400; font-size: 1.375rem; line-height: 1.2; letter-spacing: -.01em; margin-bottom: .7rem; text-wrap: balance; }
.post-sum { font-size: .9375rem; line-height: 1.55; color: var(--steel); margin-bottom: 1.25rem; }
.post-in small, .post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: auto; font-size: .8125rem; color: var(--slate); }
.post-in small i, .post-meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.post-card.lead { grid-column: 1 / -1; flex-direction: row; }
.post-card.lead .post-top { flex: 0 0 34%; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 1rem; padding: 2rem; font-size: .9375rem; min-height: 15rem; }
.post-card.lead .post-top svg { width: 52px; height: 52px; padding: 13px; border-radius: 13px; }
.post-card.lead .post-in { padding: 2.25rem 2.5rem; justify-content: center; }
.post-card.lead .post-in b { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 1rem; }
.post-card.lead .post-sum { font-size: 1.0625rem; max-width: 40rem; }
.post-card.lead .post-in small { margin-top: 0; }
.post-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.post-filter button { font: 550 .875rem/1 var(--sans); color: var(--steel); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .65rem 1rem; cursor: pointer; }
.post-filter button:hover { border-color: var(--azure); color: var(--ink); }
.post-filter button.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* blog: one article */
.post-hero { padding-bottom: 4rem; }
.post-hero h1 { max-width: 24ch; font-size: clamp(2.1rem, 4vw, 3.25rem); }
.post-hero .lede { max-width: 44rem; }
.post-meta { margin: 1.75rem 0 0; color: #A9B6C8; }
.post-band { padding-top: 4.5rem; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 4.5rem; align-items: start; }
.post-body { max-width: 44rem; font-size: 1.125rem; line-height: 1.7; color: #26323F; }
.post-body > p { margin: 0 0 1.4rem; }
.post-body h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.15; margin: 3rem 0 1rem; scroll-margin-top: 6rem; }
.post-body h3 { font-size: 1.25rem; margin: 2.25rem 0 .75rem; scroll-margin-top: 6rem; }
.post-body h4 { font: 600 1rem/1.4 var(--sans); margin: 1.75rem 0 .5rem; }
.post-body a { color: var(--azure); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-body ul, .post-body ol { margin: 0 0 1.4rem; padding-left: 1.4rem; }
.post-body li { margin-bottom: .55rem; padding-left: .25rem; }
.post-body li::marker { color: var(--azure); font-weight: 600; }
.post-body blockquote { margin: 2rem 0; padding: .25rem 0 .25rem 1.5rem; border-left: 3px solid var(--azure); color: var(--steel); }
.post-body blockquote p { margin: 0; font-family: var(--serif); font-size: 1.375rem; line-height: 1.4; }
.post-body code { font: 400 .9em/1.4 var(--mono); background: var(--veil); padding: .12em .38em; border-radius: 5px; }
.post-body pre { margin: 0 0 1.6rem; padding: 1.25rem 1.4rem; border-radius: var(--r-m); background: var(--ink); color: #D5DCE6; overflow-x: auto; font-size: .875rem; line-height: 1.6; }
.post-body pre code { background: none; padding: 0; font-size: inherit; color: inherit; }
.post-body img { display: block; max-width: 100%; height: auto; border-radius: var(--r-m); margin: 2rem 0; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.table-scroll { overflow-x: auto; margin: 0 0 1.6rem; border: 1px solid var(--line); border-radius: var(--r-m); }
.post-body table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.post-body th { text-align: left; font-weight: 600; font-size: .8125rem; color: var(--slate); background: var(--paper); padding: .75rem 1rem; }
.post-body td { padding: .8rem 1rem; border-top: 1px solid var(--line-faint); vertical-align: top; }
.post-next { margin: 3.5rem 0 0; padding: 2rem 2.25rem 2.25rem; border-radius: var(--r-l); background: var(--paper); border: 1px solid var(--line); }
.post-next h2 { margin: 0 0 .75rem; font-size: 1.6rem; }
.post-next p { font-size: 1rem; line-height: 1.6; margin: 0 0 1.25rem; }
.post-next .acts { align-items: center; gap: 1rem 1.5rem; margin: 0; }
.post-next .btn { color: var(--white); text-decoration: none; }
.post-next .text-link { text-decoration: none; }
.post-aside { position: sticky; top: 6.5rem; display: grid; gap: 1.25rem; }
.post-aside .aside-card { position: static; padding: 1.6rem; }
.post-aside .aside-card .label { color: var(--azure-2); margin-bottom: .6rem; }
.aside-card .text-link { color: var(--azure-2); }
.toc { padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); }
.toc h2 { font: 600 .8125rem/1.3 var(--sans); letter-spacing: 0; color: var(--slate); margin: 0 0 .8rem; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; display: grid; grid-template-columns: 1.5rem 1fr; font-size: .9375rem; line-height: 1.4; padding: .4rem 0; }
.toc li::before { content: counter(toc); color: var(--azure); font-weight: 600; font-size: .8125rem; padding-top: .1rem; }
.toc a { color: var(--ink); text-decoration: none; } .toc a:hover { color: var(--azure); }

/* blog: signup */
.subscribe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center; margin-top: 4rem; padding: 2.25rem 2.5rem; border-radius: var(--r-l); background: var(--paper); border: 1px solid var(--line); }
.subscribe h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.2; margin-bottom: .5rem; }
.subscribe p { margin: 0; font-size: .9375rem; color: var(--steel); }
.subscribe-row { display: flex; gap: .6rem; }
.subscribe-row[hidden] { display: none; }
.subscribe-row input[type="email"] { background: var(--white); min-width: 0; }
.subscribe-row .btn { flex: none; }
.subscribe-note { grid-column: 1 / -1; font-size: .9375rem; color: var(--navy); }
.subscribe-note.good { font-weight: 550; color: var(--ink); }

/* readiness check */
.check-shell { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem 3rem; align-items: start; }
.check { display: grid; gap: 1rem; }
.check-side { position: sticky; top: 6.5rem; display: grid; gap: 1.25rem; }
.check-progress { margin: 0; font-size: .875rem; font-weight: 550; color: var(--slate); }
.check fieldset { margin: 0; padding: 1.6rem 1.75rem 1.75rem; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); box-shadow: var(--shadow-1); min-width: 0; }
.check legend { display: grid; grid-template-columns: 2.25rem 1fr; gap: .9rem; padding: 0; float: left; width: 100%; margin-bottom: 1.1rem; font-size: 1.0625rem; font-weight: 550; line-height: 1.45; color: var(--ink); }
.check legend small { display: block; font-size: .8125rem; font-weight: 600; color: var(--azure); margin-bottom: .2rem; }
.check .num { width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; background: #E8EEFC; color: var(--azure); font: 400 1.25rem/1 var(--serif); }
.opts { clear: both; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.opts label { position: relative; display: block; cursor: pointer; }
.opts input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.opts span { display: flex; align-items: center; height: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-size: .875rem; font-weight: 500; line-height: 1.35; color: var(--steel); transition: border-color .15s ease, background .15s ease; }
.opts label:hover span { border-color: var(--azure); }
.opts input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.opts input:focus-visible + span { outline: 2px solid var(--azure); outline-offset: 2px; }
.check-result { padding: 2rem 2.1rem 2.1rem; border-radius: var(--r-l); background: var(--ink); color: var(--mist); }
.check-result[hidden] { display: none; }
.check-result .label { color: var(--azure-2); margin-bottom: .75rem; }
.check-result h2 { font-family: var(--sans); font-weight: 550; font-size: 1.125rem; line-height: 1.5; letter-spacing: 0; color: var(--white); margin-bottom: 1.25rem; text-wrap: pretty; }
.check-open { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.check-open[hidden] { display: none; }
.check-open li { padding: .9rem 0; border-top: 1px solid var(--line-dark); font-size: .9375rem; line-height: 1.5; }
.check-open b { display: block; color: var(--white); font-weight: 600; margin-bottom: .15rem; }
.check-result .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.check-result .btn.ghost { background: var(--glass); color: var(--white); border-color: var(--glass-line); }
.check-result .form-note { color: #A9B6C8; }
.check-why { position: static; }

@media (max-width: 1180px) {
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .post-layout { grid-template-columns: minmax(0, 1fr) 16rem; gap: 3rem; }
}
@media (max-width: 1020px) {
  .plinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .post-aside { position: static; order: -1; }
  .post-aside .aside-card { display: none; }
  .subscribe { grid-template-columns: 1fr; }
  .check-shell { grid-template-columns: 1fr; }
  .check-side { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .plinks, .posts { grid-template-columns: 1fr; }
  .post-card.lead { flex-direction: column; }
  .post-card.lead .post-top { flex: none; min-height: 0; flex-direction: row; align-items: center; padding: 1.1rem 1.4rem; font-size: .8125rem; }
  .post-card.lead .post-top svg { width: 34px; height: 34px; padding: 8px; }
  .post-card.lead .post-in { padding: 1.4rem 1.4rem 1.5rem; }
  .post-body { font-size: 1.0625rem; }
  .post-next { padding: 1.5rem; }
  .subscribe { padding: 1.5rem; margin-top: 3rem; }
  .subscribe-row { flex-direction: column; }
  .opts { grid-template-columns: 1fr; }
  .check fieldset { padding: 1.25rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------- enquiry form checks, admin page */

.field [aria-invalid="true"] { border-color: #B4232A; background: #FFF6F6; }
.step-lead { margin: -.75rem 0 1.5rem; }
.form-note a, .subscribe p a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.foot-base a { color: var(--grey); text-decoration: underline; text-underline-offset: 2px; }

.phero.slim { padding: 9rem 0 3rem; }
.phero.slim h1 { margin-bottom: 1rem; }
.admin #admin-board h2 { font-size: 1.6rem; margin: 2.75rem 0 1rem; }
.admin #admin-board h2 + .form-note { margin: -.5rem 0 1rem; }
.admin-gate { max-width: 34rem; }
.admin-gate h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.admin-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.admin-tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.25rem 1.4rem; }
.admin-tile b { display: block; font: 400 2.4rem/1.1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.admin-tile span { font-size: .875rem; color: var(--slate); }
.admin-tile.new { background: #FFF7D6; border-color: #EBD98A; }
.admin-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem; }
.admin-bar label { font-size: .8125rem; font-weight: 550; color: var(--ink); display: grid; gap: .3rem; }
.admin-bar select { width: auto; background: var(--white); padding: .6rem .8rem; }
.admin-bar .btn { padding-block: .7rem; }
.admin-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); }
.admin-scroll.narrow { max-width: 38rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .8125rem; min-width: 68rem; }
.admin-table.narrow { min-width: 0; }
.admin-table .keep { white-space: nowrap; }
.admin-table th { text-align: left; font-weight: 600; color: var(--white); background: var(--navy); padding: .7rem .7rem; white-space: nowrap; }
.admin-table td { padding: .6rem .7rem; border-top: 1px solid var(--line-faint); color: var(--ink); vertical-align: top; }
.admin-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.admin-table tr.is-new td { background: #FFF7D6; }
.admin-table tr.more td { border-top: 0; padding-top: 0; color: var(--body); font-size: .8125rem; }
.admin-table tr.total td { font-weight: 600; background: var(--paper); }
.admin-table a { color: var(--azure); }
.admin-table select { width: 8.6rem; font-size: .8125rem; padding: .3rem .4rem; background: var(--white); }
.admin-table .tag { display: inline-block; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; color: var(--navy); background: #F2DE8C; border-radius: 4px; padding: .05rem .35rem; margin-left: .4rem; vertical-align: 1px; }
@media (max-width: 760px) {
  .phero.slim { padding: 7rem 0 2.25rem; }
  .admin-tiles { grid-template-columns: 1fr; }
  .admin-bar .btn { width: 100%; justify-content: center; }
}

/* ------------------------------------------- announcements (offers/) */

/* The newest active announcement is the first thing on every page. It sits
   under the see-through header, so it is dark, and the section after it
   needs less top space because the header no longer overlaps that section.
   It is kept compact so the header, logo and menu stay the first thing read. */
.notice-first { position: relative; background: var(--ink); color: var(--mist); border-bottom: 1px solid var(--line-dark); }
.notice-home { padding: 5.25rem 0 1.25rem; }
.notice-strip { padding: 4.85rem 0 .75rem; }
.notice-first + .hero { padding-top: 3.5rem; }
.notice-first + .phero { padding-top: 4rem; }
.notice-first + .phero.slim { padding-top: 3.25rem; }
.offer-tag { display: inline-block; font-size: .75rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--azure); }
.notice-first .offer-tag { color: var(--azure-2); }

/* the highlight: a small amber badge and one line */
.notice-flag { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .3rem .6rem; }
.notice-badge { display: inline-block; font: 650 .6875rem/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--ink); background: var(--amber); padding: .34rem .6rem; border-radius: 999px; white-space: nowrap; }
.notice-hl { font-size: .8125rem; font-weight: 600; color: var(--amber-2); }

/* the box on the home page */
.notice-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; border: 1px solid var(--glass-line); border-left: 3px solid var(--amber); background: rgba(255, 255, 255, .04); border-radius: var(--r-m); padding: 1rem 1.5rem; }
.notice-text { min-width: 0; flex: 1 1 28rem; }
.notice-title { font: 600 1.125rem/1.3 var(--sans); letter-spacing: -.005em; color: var(--white); margin: .55rem 0 .2rem; }
.notice-title a { color: inherit; text-decoration: none; }
.notice-title a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.notice-spec { font-size: .8125rem; line-height: 1.5; color: #B9C4D3; margin: 0; text-wrap: pretty; }
.notice-price { font-size: .875rem; font-weight: 600; color: var(--white); margin: .5rem 0 0; }
.notice-card .notice-acts { display: grid; grid-template-columns: auto auto; gap: .5rem; align-items: center; }
.btn.btn-sm { font-size: .875rem; padding: .62rem 1rem; border-radius: 10px; gap: .45rem; justify-content: center; }
.btn.btn-sm svg { width: 14px; height: 14px; }
.notice-first .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.notice-first .btn:hover { background: var(--veil); }
.notice-first .btn.ghost { background: var(--glass); color: var(--white); border-color: var(--glass-line); }
.notice-mail { grid-column: 1 / -1; margin: .05rem 0 0; font-size: .8125rem; color: #B9C4D3; }
.notice-mail a { color: var(--white); text-underline-offset: 3px; }
.notice-all { margin: .75rem 0 0; font-size: .875rem; }
.notice-all a { color: var(--azure-2); }

/* the one-line strip on every other page */
.notice-strip-in { display: flex; align-items: center; justify-content: space-between; gap: .45rem 1.5rem; flex-wrap: wrap; font-size: .875rem; }
.notice-strip-in p { margin: 0; min-width: 0; }
.notice-strip-text { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .65rem; }
.notice-strip .offer-tag { margin-right: .1rem; }
.notice-strip a { color: var(--white); text-decoration: none; }
.notice-strip a:hover { text-decoration: underline; text-underline-offset: 3px; }
.notice-strip-name { font-weight: 600; }
.notice-strip .notice-hl::before { content: "\00B7"; color: var(--grey); margin-right: .65rem; font-weight: 400; }
.notice-strip .notice-acts { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; align-items: center; }
.notice-strip .notice-acts a { color: var(--azure-2); font-weight: 550; display: inline-flex; align-items: center; gap: .4rem; }
.notice-strip .notice-acts svg { width: .85rem; height: .85rem; }
.notice-more { color: #C9D3E0 !important; }

/* the same box on a light background, on /offers */
.notice-card.light { background: var(--white); border-color: var(--line); border-left-color: var(--amber); box-shadow: var(--shadow-1); padding: 1.25rem 1.5rem; }
.notice-card.light .notice-title { color: var(--ink); }
.notice-card.light .notice-spec { color: var(--slate); }
.notice-card.light .notice-price { color: var(--ink); }
.notice-card.light .notice-hl { color: var(--amber-ink); }
.notice-card.light .notice-mail { color: var(--slate); }
.notice-card.light .notice-mail a { color: var(--ink); }

/* the highlight on the listing page itself */
.offer-flag { margin: -.35rem 0 1.1rem; }
.phero .offer-flag .notice-hl { font-size: .875rem; }
.offer-list { display: grid; gap: 1.25rem; }

/* the listing page */
.offer-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow-2); overflow: hidden; }
.offer-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.offer-spec { padding: 2.25rem; background: var(--paper); border-right: 1px solid var(--line); }
.offer-use { padding: 2.25rem; }
.offer-card h2 { font-size: 1.6rem; margin-bottom: 1.25rem; }
.offer-card h3 { font-size: 1.05rem; font-weight: 650; color: var(--ink); margin: 1.6rem 0 .5rem; font-family: var(--sans); }
.offer-use p, .offer-use li { font-size: .9688rem; line-height: 1.6; color: var(--body); }
.offer-use p { margin: 0; }
.offer-use ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; }
.offer-use li::marker { color: var(--azure); }
.spec-list { margin: 0; display: grid; }
.spec-list div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.spec-list div:first-child { border-top: 0; padding-top: 0; }
.spec-list dt { font-size: .8125rem; font-weight: 650; color: var(--slate); }
.spec-list dd { margin: 0; font-size: .9375rem; line-height: 1.5; color: var(--ink); }
.offer-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding: 1.5rem 2.25rem; background: var(--ink); color: var(--mist); }
.offer-cta p { margin: 0; font-size: 1rem; }
.offer-cta b { color: var(--white); font-weight: 600; }
.offer-cta .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.offer-cta .btn.ghost { background: transparent; color: var(--white); border-color: var(--glass-line); }
@media (max-width: 900px) {
  .offer-cols { grid-template-columns: 1fr; }
  .offer-spec { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .notice-home { padding: 4.85rem 0 1rem; }
  .notice-strip { padding: 4.6rem 0 .75rem; }
  .notice-first + .hero { padding-top: 2.75rem; }
  .notice-first + .phero, .notice-first + .phero.slim { padding-top: 2.75rem; }
  .notice-card { padding: .95rem 1rem; gap: .85rem; }
  .notice-card .notice-acts { grid-template-columns: 1fr; width: 100%; }
  .notice-home .notice-spec { display: none; }
  .notice-card .btn.btn-sm { padding: .58rem 1rem; }
  .notice-title { margin: .45rem 0 0; }
  .notice-acts .btn, .offer-cta .acts .btn { width: 100%; justify-content: center; }
  .notice-strip .notice-acts { gap: .35rem 1.1rem; font-size: .8125rem; }
  .notice-strip-in { font-size: .8125rem; }
  .notice-strip .notice-acts .notice-strip-mail { display: none; }
  .notice-strip .notice-hl { flex-basis: 100%; }
  .notice-strip .notice-hl::before { content: none; }
  .offer-cta .acts .btn-mail { padding-inline: .9rem; font-size: .9375rem; text-align: center; }
  .offer-spec, .offer-use { padding: 1.5rem 1.25rem; }
  .offer-cta { padding: 1.25rem; }
  .spec-list div { grid-template-columns: 1fr; gap: .2rem; }
}

/* -------------------------------------------------------- responsive */

@media (max-width: 1180px) {
  .xp-tab { flex-direction: column; align-items: flex-start; gap: .5rem; white-space: normal; padding: 1rem; }
  .own { gap: 3rem; }
  .split, .feature { gap: 3rem; }
}

@media (max-width: 1020px) {
  .head { grid-template-columns: 1fr; gap: 1.25rem; align-items: start; } .head .lede { justify-self: start; }
  .xp-panel { grid-template-columns: 1fr; }
  .own, .own-steps, .split, .feature, .statement-row, .form-shell { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .lrow { grid-template-columns: 3rem minmax(0, 1fr); } .lrow .chips { grid-column: 1 / -1; }
  .detail-cols { columns: 1; }
  .feature.flip { grid-template-columns: 1fr; }
  .feature.flip > .feature-text { order: 0; }
  .rail { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 4rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.25rem; }
  .cards.three { grid-template-columns: 1fr; }
  .band-img .trio { margin-top: 10rem; }
  .aside-card { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } .foot-brand { grid-column: 1 / -1; }
  .phero-media { inset: 0; opacity: .55; }
}

@media (max-width: 760px) {
  :root { --gutter: 1.25rem; }
  body { font-size: 1rem; }
  .burger { display: block; }
  .masthead-in { position: relative; min-height: 4rem; }
  .lockup img { height: 26px; }
  .nav { display: none; position: absolute; top: calc(100% + .5rem); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: .75rem 1rem 1rem; box-shadow: var(--shadow-2); max-height: calc(100vh - 6rem); overflow-y: auto; }
  .nav.open { display: flex; }
  .js .masthead .nav .nav-link, .js .masthead .nav .nav-toggle { color: var(--ink); width: 100%; justify-content: space-between; padding: .85rem .25rem; border-bottom: 1px solid var(--line-faint); border-radius: 0; font-size: 1rem; background: none; }
  .menu { position: static; border: 0; box-shadow: none; padding: .25rem 0 .5rem; min-width: 0; }
  .menu::before { content: none; }
  .js .masthead .nav .nav-cta { margin: 1rem 0 0; text-align: center; background: var(--ink); color: var(--white); }

  .hero { padding: 7.5rem 0 2rem; }
  .hero .lede { font-size: 1.0625rem; margin-bottom: 2rem; }
  .hero::after { background: linear-gradient(180deg, rgba(8, 14, 25, .82) 0%, rgba(8, 14, 25, .7) 55%, rgba(8, 14, 25, .96) 100%); }
  .rail { grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 3rem; }
  .rail a { padding: .9rem; } .rail svg { margin-bottom: .5rem; } .rail a:last-child { grid-column: 1 / -1; }
  .phero { padding: 7.5rem 0 3.5rem; }
  .strip-in { flex-direction: column; align-items: flex-start; gap: .9rem; } .marquee { width: 100%; }

  .band { padding: 4.5rem 0; } .band.tight { padding: 3.5rem 0; }
  .head { margin-bottom: 2.25rem; }

  /* On a phone the explorer becomes a swipeable row of cards. Each opens on a
     crop of its diagram; the full diagrams live on the Services page. */
  .xp { display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 1.25rem; background: none; border: 0; box-shadow: none; border-radius: 0; }
  .xp::-webkit-scrollbar { display: none; }
  .xp-tabs { display: none; }
  .js .xp-panel:not(.is-active), .xp-panel { display: flex; flex-direction: column; flex: 0 0 86%; scroll-snap-align: center; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow-1); }
  .xp-canvas { display: block; order: -1; height: 11.5rem; padding: 1rem 1rem 0; border-radius: 0; box-shadow: none; }
  .xp-canvas svg { width: 560px; min-width: 560px; max-width: none; }
  .xp-canvas::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(11, 20, 32, 0) 62%, var(--ink)), linear-gradient(90deg, rgba(11, 20, 32, 0) 72%, var(--ink)); pointer-events: none; }
  .swipe-hint { display: block; text-align: center; font-size: .8125rem; color: var(--slate); margin: .25rem 0 0; }
  .panel { border-radius: var(--r-m); }
  .xp-text { padding: 1.5rem 1.35rem; flex: 1; }
  .xp-text h3 { font-size: 1.5rem; } .xp-text p { margin-bottom: 1.25rem; } .checks { margin-bottom: 1.25rem; }
  .mx-head, .mx-row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .3rem; }
  .mx-legend, .mx-name { grid-column: 1 / -1; } .mx-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-bottom: .75rem; }
  .mx-name { margin-top: .7rem; } .mx-col small { display: none; } .mx-col b { font-size: .6875rem; font-weight: 600; }
  .mx-row > i { height: 2.5rem; border-radius: 8px; } .mx-bar { grid-column: 1 / -1; font-size: .8125rem; }

  .figure { padding: 1.1rem 1rem 1rem; border-radius: var(--r-m); overflow-x: auto; }
  .figure svg { min-width: 640px; }
  .figure.fit svg { min-width: 0; }
  .figure figcaption::before { content: "Swipe sideways to see the whole diagram. "; font-weight: 550; color: var(--ink); }
  .figure.on-dark figcaption::before { color: var(--white); }
  .figure.fit figcaption::before { content: none; }

  .stack { padding-right: 0; } .stack-brace { position: static; width: auto; margin-top: .5rem; } .stack-brace::before { display: none; }
  .stack-brace span { margin-left: 0; padding: .9rem 1rem; border: 1px solid var(--azure-2); border-radius: var(--r-m); width: 100%; }
  .trio { grid-template-columns: 1fr; }
  .code-panel pre { padding: 1.1rem 2.5rem 1.1rem 1.1rem; font-size: .71875rem; }
  .code-panel { position: relative; } .code-panel::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 2.5rem; background: linear-gradient(90deg, rgba(11, 20, 32, 0), var(--ink)); pointer-events: none; }
  details.more.wide summary span { display: none; }
  .code-bar { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .steps { grid-template-columns: 1fr; row-gap: 1.5rem; }
  .step { display: grid; grid-template-columns: 6.5rem 1fr; column-gap: 1.1rem; align-items: start; } .step .thumb { grid-row: 1 / 3; margin: 0; } .step h3 { margin-bottom: .3rem; } .step p { font-size: .9375rem; }
  .band-img { padding: 4.5rem 0 2.5rem; } .band-img .trio { margin-top: 17rem; }
  .band-img::after { background: linear-gradient(180deg, rgba(8, 14, 25, .9) 0%, rgba(8, 14, 25, .62) 34%, rgba(8, 14, 25, 0) 52%, rgba(8, 14, 25, .55) 100%); }
  .band-img > .bg img { object-position: 62% 100% !important; }
  .cta { padding: 4.5rem 0; }
  .cards { grid-template-columns: 1fr; } .card { padding: 1.5rem; border-radius: var(--r-m); }
  .form-card { padding: 1.5rem 1.25rem; border-radius: var(--r-m); } .pair { grid-template-columns: 1fr; }
  .pnav { top: 4rem; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* AI Readiness Calculator menu label */
.nl-short { display: none; }
@media (max-width: 1240px) { .nl-long { display: none; } .nl-short { display: inline; } }
@media (max-width: 760px) { .nl-long { display: inline; } .nl-short { display: none; } }
@media (max-width: 1160px) and (min-width: 761px) { .nav-cta { display: none; } }
@media (max-width: 900px) and (min-width: 761px) { .nav > .nav-link { display: none; } }
