/* ==========================================================================
   School management platform — marketing site
   Visual direction follows the Eduport reference: white page, generous
   whitespace, one blue accent, tinted surfaces, and a yellow hand-drawn
   highlight as the signature device.
   ========================================================================== */

/* ---- tokens ---------------------------------------------------------- */
:root {
  --bg:            #ffffff;
  --bg-alt:        #f8fafc;
  --surface:       #ffffff;
  --surface-2:     #f1f5f9;
  --border:        #e8edf3;
  --border-mid:    #dbe3ec;

  --ink:           #0f172a;
  --body:          #475569;
  --faint:         #94a3b8;

  --blue:          #2563eb;
  --blue-dark:     #1d4ed8;
  --blue-50:       #eff6ff;
  --blue-100:      #dbeafe;

  --yellow:        #facc15;
  --amber-50:      #fef3c7;
  --amber-600:     #d97706;
  --violet-50:     #ede9fe;
  --violet-600:    #7c3aed;
  --cyan-50:       #cffafe;
  --cyan-700:      #0e7490;
  --green:         #16a34a;
  --green-50:      #dcfce7;
  --red:           #dc2626;
  --red-50:        #fee2e2;

  --shadow-sm:     0 1px 2px rgba(15,23,42,.05);
  --shadow:        0 4px 14px rgba(15,23,42,.06);
  --shadow-lg:     0 18px 44px rgba(15,23,42,.10);
  --shadow-xl:     0 30px 70px rgba(15,23,42,.14);

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1180px;
}

/* ---- reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -.022em;
  font-weight: 800;
}
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(37,99,235,.16); }

/* ---- layout ---------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.section { padding: 104px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 72px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 20px; height: 2px; background: var(--yellow); border-radius: 2px;
}
.eyebrow--muted { color: var(--faint); }

.h2 { font-size: clamp(30px, 3.7vw, 45px); }
.h3 { font-size: clamp(21px, 2vw, 25px); }
.lede { font-size: 17.5px; max-width: 62ch; margin-top: 18px; color: var(--body); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

.head-block { max-width: 860px; margin-bottom: 56px; }
.center.head-block { margin-left: auto; margin-right: auto; }

/* ---- the signature: hand-drawn yellow highlight ---------------------- */
.mark { position: relative; display: inline-block; white-space: nowrap; }
.mark svg {
  position: absolute; left: -5%; top: -14%; width: 110%; height: 128%;
  overflow: visible; pointer-events: none; z-index: -1;
}
.mark path {
  fill: none; stroke: var(--yellow); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: var(--len, 980); stroke-dashoffset: var(--len, 980);
}
.mark.is-drawn path { transition: stroke-dashoffset 1.15s cubic-bezier(.6,.05,.3,1) .25s; stroke-dashoffset: 0; }
/* underline variant for section headings */
.mark--under svg { top: 46%; height: 78%; }

/* ---- buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: 10px; position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(37,99,235,.28); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,99,235,.34); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.42) 50%, transparent 62%);
  transform: translateX(-130%); transition: transform .65s ease;
}
.btn-primary:hover::after { transform: translateX(130%); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--border-mid); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 16px; }

.play {
  width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; flex: none;
}

/* ---- header ---------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.hdr.is-stuck { border-color: var(--border); box-shadow: 0 1px 16px rgba(15,23,42,.05); }
.hdr__in { display: flex; align-items: center; gap: 30px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -.03em; }
.brand__mk { width: 34px; height: 34px; border-radius: 10px; background: var(--blue); display: grid; place-items: center; color: #fff; flex: none; box-shadow: 0 4px 12px rgba(37,99,235,.3); }
.brand__ph { font-size: 10.5px; font-weight: 600; color: var(--faint); font-family: var(--sans); letter-spacing: 0; background: var(--surface-2); padding: 2px 7px; border-radius: 5px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 14.5px; font-weight: 500; color: var(--body); position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--blue); border-radius: 2px; transition: right .25s ease; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }
.hdr .btn { padding: 10px 20px; font-size: 14px; }
/* The nav carries its own CTA for the mobile menu; on desktop the standalone
   header button is the one that shows, so hide the duplicate. */
.nav .btn { display: none; }
.burger { display: none; }

/* ---- hero ------------------------------------------------------------ */
.hero { position: relative; padding: 74px 0 96px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1.15fr; gap: 56px; align-items: center; }
.tag {
  display: inline-block; background: var(--blue-50); color: var(--blue);
  font-family: var(--display); font-weight: 700; font-size: 13px;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(38px, 5vw, 60px); letter-spacing: -.032em; }
.hero .lede { margin-top: 22px; font-size: 18px; max-width: 50ch; }
.hero__cta { display: flex; gap: 13px; margin-top: 32px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 38px; margin-top: 42px; }
.mini { display: flex; align-items: center; gap: 13px; }
.mini__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.mini b { display: block; font-family: var(--display); font-size: 23px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.mini span { font-size: 13.5px; color: var(--faint); }

/* ambient wash — low saturation, light-page appropriate */
.wash { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; opacity: .5; }
.wash--a { width: 520px; height: 520px; background: #dbeafe; top: -180px; right: -120px; animation: drift1 22s ease-in-out infinite; }
.wash--b { width: 420px; height: 420px; background: #fef3c7; bottom: -180px; left: -140px; animation: drift2 26s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px,34px) scale(1.09); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1.05); } 50% { transform: translate(38px,-30px) scale(1); } }
.hero .wrap { position: relative; z-index: 1; }

/* hero visual composition — the panel is inset so the yellow block and the
   orange ring can peek out around it, as they do in the reference. */
.stage { position: relative; padding: 74px 42px 56px 34px; }
.stage__block {
  position: absolute; right: 0; top: 8px; width: 72%; height: 54%;
  background: var(--yellow); border-radius: var(--r-xl); z-index: 0;
}
.stage__ring {
  position: absolute; left: -20px; bottom: -4px; width: 180px; height: 180px; z-index: 0;
}
.stage__ring circle { fill: none; stroke: #fb923c; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 660; stroke-dashoffset: 660; transform: rotate(-90deg); transform-origin: 50% 50%; }
.stage__ring.is-drawn circle { transition: stroke-dashoffset 1.5s cubic-bezier(.5,0,.3,1) .3s; stroke-dashoffset: 190; }
.stage__ui { position: relative; z-index: 2; }

.float {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 15px;
  display: flex; align-items: center; gap: 11px;
}
/* Offsets are relative to .stage__ui — i.e. the panel box — so these sit
   clear of the panel's data rather than covering it. */
.float.in { animation: floatIn .7s cubic-bezier(.2,.8,.3,1) forwards; }
.float--1 { top: -78px; left: -20px; animation-delay: .45s; }
.float--2 { bottom: -76px; right: 14px; animation-delay: .7s; }
@keyframes floatIn { from { opacity: 0; transform: translateY(16px) scale(.95); } to { opacity: 1; transform: none; } }
.js .float { opacity: 0; }
.float__ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.float b { font-family: var(--display); font-size: 13.5px; font-weight: 700; color: var(--ink); display: block; line-height: 1.3; }
.float span { font-size: 12px; color: var(--faint); }
.bob { animation: bob 5s ease-in-out infinite; }
.bob--slow { animation: bob 7s ease-in-out infinite reverse; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---- product UI mockups --------------------------------------------- */
.ui {
  background: #fff; border: 1px solid var(--border-mid); border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl); overflow: hidden;
}
.ui--flat { box-shadow: var(--shadow); }
.ui__bar {
  display: flex; align-items: center; gap: 9px; padding: 13px 17px;
  border-bottom: 1px solid var(--border); background: #fcfdfe;
}
.ui__bar b { font-family: var(--display); font-size: 13.5px; font-weight: 700; color: var(--ink); }
.ui__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--green); }
.ui__body { padding: 17px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r); padding: 12px 11px; text-align: center; }
.kpi b { display: block; font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.15; }
.kpi span { font-size: 10.5px; color: var(--faint); letter-spacing: .02em; }

.rows { margin-top: 13px; display: flex; flex-direction: column; gap: 7px; }
.row {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px; font-size: 13px;
}
.row--tint { background: var(--bg-alt); }
.row b { font-weight: 600; color: var(--ink); font-size: 13px; }
.row .mut { color: var(--faint); font-size: 12px; }
.row .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--g { background: var(--green); }
.dot--a { background: var(--amber-600); }
.dot--r { background: var(--red); }
.dot.pulse { animation: pulseDot 2.4s ease-out infinite; }
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 0 rgba(22,163,74,.45); }
  70%     { box-shadow: 0 0 0 8px rgba(22,163,74,0); }
}

.pill { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; font-family: var(--display); white-space: nowrap; }
.pill--g { background: var(--green-50); color: #15803d; }
.pill--a { background: var(--amber-50); color: #b45309; }
.pill--r { background: var(--red-50); color: #b91c1c; }
.pill--b { background: var(--blue-100); color: var(--blue-dark); }
.pill--v { background: var(--violet-50); color: #6d28d9; }
.pill--n { background: var(--surface-2); color: var(--body); }

.bar { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--green); width: 0; transition: width 1.3s cubic-bezier(.4,0,.2,1); }
.bar--b i { background: var(--blue); }

/* ring gauge */
.gauge { position: relative; width: 92px; height: 92px; flex: none; }
.gauge svg { transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.gauge .trk { stroke: var(--surface-2); }
.gauge .val { stroke: var(--blue); stroke-dasharray: 245; stroke-dashoffset: 245; transition: stroke-dashoffset 1.5s cubic-bezier(.4,0,.2,1); }
.gauge__n {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink);
}

/* ---- stat strip ------------------------------------------------------ */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { border-radius: var(--r-lg); padding: 22px 22px 20px; display: flex; align-items: center; gap: 15px; transition: transform .25s ease, box-shadow .25s ease; }
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stat__ic { width: 46px; height: 46px; border-radius: 13px; background: rgba(255,255,255,.72); display: grid; place-items: center; flex: none; }
.stat b { display: block; font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1.05; }
.stat span { font-size: 13px; color: #64748b; }
.stat--1 { background: var(--amber-50); }
.stat--2 { background: var(--surface-2); }
.stat--3 { background: var(--violet-50); }
.stat--4 { background: var(--cyan-50); }

/* ---- generic cards --------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px; transition: transform .28s cubic-bezier(.2,.8,.3,1), box-shadow .28s ease, border-color .28s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-mid); }
.card__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.card h3 { font-size: 17.5px; margin-bottom: 9px; }
.card p { font-size: 14.5px; line-height: 1.62; }

.ic-b { background: var(--blue-50); color: var(--blue); }
.ic-a { background: var(--amber-50); color: var(--amber-600); }
.ic-v { background: var(--violet-50); color: var(--violet-600); }
.ic-c { background: var(--cyan-50); color: var(--cyan-700); }
.ic-g { background: var(--green-50); color: var(--green); }
.ic-r { background: var(--red-50); color: var(--red); }

/* ---- alternating feature rows --------------------------------------- */
.alt { display: grid; grid-template-columns: 1fr 1.14fr; gap: 62px; align-items: center; }
.alt + .alt { margin-top: 104px; }
.alt--flip { grid-template-columns: 1.14fr 1fr; }  /* keep the mockup on the wider side */
.alt--flip .alt__txt { order: 2; }
.alt__step {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--display);
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 14px;
}
.alt__step i { width: 26px; height: 26px; border-radius: 8px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-style: normal; font-size: 12px; letter-spacing: 0; }
.alt h3 { font-size: clamp(23px, 2.4vw, 30px); margin-bottom: 14px; }
.alt p { font-size: 16px; }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.ticks svg { flex: none; margin-top: 3px; color: var(--green); }

/* ---- roadmap (Safety Intelligence) ----------------------------------- */
.road { position: relative; }
.road__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rcard {
  position: relative; border-radius: var(--r-lg); padding: 26px;
  background: linear-gradient(#fff,#fff) padding-box,
              linear-gradient(135deg, #c7d2fe, #a5f3fc 45%, #fde68a) border-box;
  border: 1.5px dashed transparent; transition: transform .28s ease, box-shadow .28s ease;
}
.rcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.rcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.rcard h3 { font-size: 17.5px; margin-bottom: 9px; }
.rcard p { font-size: 14.5px; }
.rcard__note { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border-mid); font-size: 13px; color: var(--faint); display: flex; gap: 8px; }
.rcard__viz { height: 74px; margin-bottom: 16px; border-radius: var(--r); background: var(--bg-alt); border: 1px solid var(--border); position: relative; overflow: hidden; }

/* scan motif */
.scan::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: scan 3.4s ease-in-out infinite;
}
@keyframes scan { 0%,100% { transform: translateY(6px); opacity: 0; } 10%,90% { opacity: 1; } 50% { transform: translateY(66px); } }
.bracket { position: absolute; width: 15px; height: 15px; border: 2px solid var(--blue); opacity: .55; }
.bracket--tl { top: 12px; left: 26%; border-right: 0; border-bottom: 0; }
.bracket--br { bottom: 12px; right: 26%; border-left: 0; border-top: 0; }

/* route line */
.route path { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; }
.route.is-drawn path { animation: draw 2.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.route .node { fill: var(--blue); }

/* chat typing */
.type { font-family: var(--mono); font-size: 11.5px; color: var(--body); padding: 10px 12px; }
.type i { font-style: normal; border-right: 2px solid var(--blue); padding-right: 2px; animation: caret 1s step-end infinite; }
@keyframes caret { 50% { border-color: transparent; } }

/* pulsing network */
.net circle { fill: var(--violet-600); }
.net line { stroke: #c4b5fd; stroke-width: 1.5; }
.net .p { animation: netPulse 2.6s ease-in-out infinite; }
@keyframes netPulse { 0%,100% { opacity: .35; r: 3; } 50% { opacity: 1; r: 4.5; } }

/* ---- branding switcher ---------------------------------------------- */
.swatches { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.sw {
  width: 42px; height: 42px; border-radius: 12px; position: relative;
  transition: transform .2s ease, box-shadow .2s ease; border: 2.5px solid transparent;
}
.sw:hover { transform: translateY(-4px) scale(1.06); }
.sw[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(15,23,42,.18); }
.brand-demo { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: stretch; }
.login {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-mid);
  box-shadow: var(--shadow-lg); background: #fff;
}
.login__top { height: 92px; display: grid; place-items: center; transition: background .5s ease; }
.login__logo { width: 46px; height: 46px; border-radius: 13px; background: rgba(255,255,255,.24); display: grid; place-items: center; color: #fff; }
.login__body { padding: 22px; }
.login__field { height: 38px; border-radius: 9px; background: var(--bg-alt); border: 1px solid var(--border); margin-bottom: 11px; display: flex; align-items: center; padding: 0 12px; font-size: 12.5px; color: var(--faint); }
.login__btn { height: 38px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 700; font-size: 13.5px; transition: background .5s ease; }

/* ---- exclusions ------------------------------------------------------ */
.no-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.no {
  display: flex; gap: 14px; align-items: flex-start; padding: 24px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
}
.no__x { width: 34px; height: 34px; border-radius: 10px; background: var(--red-50); color: var(--red); display: grid; place-items: center; flex: none; }
.no b { font-family: var(--display); font-size: 15.5px; color: var(--ink); display: block; margin-bottom: 4px; }
.no p { font-size: 13.5px; }

/* ---- CTA ------------------------------------------------------------- */
.cta-band {
  border-radius: 30px; padding: 76px 40px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a, #2563eb 58%, #3b82f6);
  box-shadow: 0 30px 70px rgba(37,99,235,.3);
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 43px); }
.cta-band p { color: rgba(255,255,255,.86); font-size: 17.5px; max-width: 56ch; margin: 20px auto 0; }
.cta-band .btn-primary { background: #fff; color: var(--blue-dark); box-shadow: 0 10px 26px rgba(2,6,23,.24); margin-top: 34px; }
.cta-band .btn-primary:hover { background: #f8fafc; }
.cta-band .wash { opacity: .22; }
.cta-band .wash--a { background: #93c5fd; top: -160px; right: -80px; }
.cta-band .wash--b { background: #fde68a; bottom: -160px; left: -80px; }
.cta-band__in { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }

/* ---- footer ---------------------------------------------------------- */
.ftr { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 64px 0 30px; }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.ftr h4 { font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); margin-bottom: 15px; font-weight: 700; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ftr a { font-size: 14px; color: var(--body); }
.ftr a:hover { color: var(--blue); }
.ftr__note { font-size: 14px; margin-top: 16px; max-width: 40ch; }
.ftr__base {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--faint);
}

/* placeholder chip — for the undecided brand details */
.ph {
  display: inline-block; font-family: var(--mono); font-size: 11.5px; color: #92400e;
  background: var(--amber-50); border: 1px dashed #fcd34d; padding: 2px 8px; border-radius: 6px;
}

/* ---- scroll progress beam ------------------------------------------- */
.beam { position: fixed; left: 0; top: 0; width: 3px; height: 100vh; background: var(--border); z-index: 60; pointer-events: none; }
.beam i { display: block; width: 100%; height: 100%; background: linear-gradient(var(--blue), #60a5fa); transform: scaleY(0); transform-origin: top; }

/* ---- reveal on scroll ------------------------------------------------ */
/* Only hide for reveal when JS is present to bring it back — without this the
   page renders blank to crawlers and to anyone with scripting disabled. */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.js .rv.in { opacity: 1; transform: none; }

/* ---- responsive ------------------------------------------------------ */
@media (max-width: 1080px) {
  .hero__grid, .alt, .brand-demo { grid-template-columns: 1fr; gap: 46px; }
  .alt--flip .alt__txt { order: 0; }
  .alt + .alt { margin-top: 76px; }
  .strip, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .road__cards, .grid--3, .no-list { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .stage__block { display: none; }
  .stage__ring { display: none; }
  .float--2 { right: -12px; }
  .float--1 { left: -12px; }
}
@media (max-width: 760px) {
  .section { padding: 74px 0; }
  .wrap { padding: 0 20px; }
  .burger { display: grid; place-items: center; margin-left: auto; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-mid); }
  .hdr .btn { display: none; }

  /* mobile menu panel */
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: 0 14px 30px rgba(15,23,42,.09);
    padding: 8px 20px 18px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--border); }
  .nav a::after { display: none; }
  .nav .btn { display: inline-flex; margin-top: 16px; width: 100%; }
  .strip, .grid--4, .grid--3, .grid--2, .road__cards, .no-list { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__stats { gap: 22px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .float { display: none; }
  .cta-band { padding: 54px 22px; border-radius: 22px; }
  .hero { padding: 46px 0 70px; }
}

/* ---- reduced motion -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .rv { opacity: 1; transform: none; }
  .float { opacity: 1; }
  .mark path { stroke-dashoffset: 0; }
}

/* ==========================================================================
   v2 — new sections and refinements
   ========================================================================== */

.h2--sm { font-size: clamp(27px, 3.1vw, 38px); }
.gap-top { margin-top: 22px; }
.ticks--roomy { margin-top: 26px; gap: 14px; }
.ticks li b { color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.brand--ftr { margin-bottom: 6px; }
.brand__mk--sm { width: 26px; height: 26px; border-radius: 8px; box-shadow: none; }

/* ---- shared mockup helpers ------------------------------------------- */
.rows--flush { margin-top: 0; }
.sq { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.row__stack { display: flex; flex-direction: column; line-height: 1.35; }
.row__stack .mut { font-size: 12px; }
.ui__note {
  font-size: 12px; color: var(--faint); margin-top: 12px;
  display: flex; align-items: flex-start; gap: 7px;
}
.ui__note svg { flex: none; margin-top: 3px; }
.ui--mini { box-shadow: var(--shadow-sm); border-radius: var(--r); }
.ui--mini .ui__bar { padding: 10px 13px; }
.ui--mini .ui__body { padding: 13px; }
.kpis--2 { grid-template-columns: repeat(2, 1fr); }

.gauge-row { display: flex; gap: 20px; align-items: center; margin-bottom: 15px; }
.gauge-row__side { flex: 1; min-width: 0; }

.meter { margin-top: 14px; display: flex; align-items: center; gap: 11px; }
.meter__l { font-size: 12px; color: var(--faint); white-space: nowrap; }
.meter .bar { flex: 1; }
.meter__v { font-family: var(--display); font-size: 14px; color: var(--ink); }

.next { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--r); padding: 16px; margin-bottom: 12px; }
.next__top { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.next__title { font-family: var(--display); font-size: 17px; color: var(--ink); display: block; }
.next__sub { font-size: 13px; margin: 5px 0 13px; }

.kv { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; }
.kv span { color: var(--faint); }
.kv b { color: var(--ink); font-weight: 600; }
.kv--last { margin-bottom: 14px; }
.pos { color: var(--green); }
.tot { font-family: var(--display); }
.tot--big { font-size: 16px; }
.copies { margin-top: 13px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- problem: one Tuesday, two versions ------------------------------ */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; }
.vs {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px 28px 24px; position: relative;
}
.vs--bad  { border-top: 3px solid #f87171; }
.vs--good { border-top: 3px solid var(--green); }
.vs__head { margin-bottom: 20px; }
.vs__tag {
  display: inline-block; font-family: var(--display); font-size: 11.5px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  margin-bottom: 11px;
}
.vs__tag--bad  { background: var(--red-50); color: #b91c1c; }
.vs__tag--good { background: var(--green-50); color: #15803d; }
.vs__head b { display: block; font-family: var(--display); font-size: 21px; color: var(--ink); }
.vs__mid { display: grid; place-items: center; padding: 0 22px; }
.vs__mid span {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--border-mid); color: var(--faint);
  font-family: var(--display); font-size: 12.5px; font-weight: 700; text-transform: uppercase;
}
.tl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tl li { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--border); }
.tl li:first-child { border-top: 0; padding-top: 0; }
.tl__t {
  font-family: var(--mono); font-size: 12.5px; color: var(--faint);
  flex: none; width: 44px; padding-top: 2px;
}
.tl__d { font-size: 14.5px; line-height: 1.6; }
.tl__d b { color: var(--ink); }
.vs--good .tl__t { color: var(--blue); }

/* ---- roles ----------------------------------------------------------- */
.roles__tabs {
  display: flex; gap: 7px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 30px;
}
.rtab {
  font-family: var(--display); font-size: 14px; font-weight: 700;
  padding: 10px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border-mid); color: var(--body);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.rtab:hover { border-color: var(--blue); color: var(--blue); }
.rtab.is-on {
  background: var(--blue); border-color: var(--blue); color: #fff;
  box-shadow: 0 6px 16px rgba(37,99,235,.26);
}
.rpane { display: none; grid-template-columns: 1fr 1.14fr; gap: 46px; align-items: center; }
.rpane.is-on { display: grid; animation: paneIn .45s cubic-bezier(.2,.8,.3,1); }
@keyframes paneIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.rpane__txt h3 { font-size: clamp(21px, 2.2vw, 27px); margin-bottom: 12px; }
.rpane__txt p { font-size: 15.5px; }

/* ---- process integrity: state rails ---------------------------------- */
.rail-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 32px; box-shadow: var(--shadow);
}
.rail-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 26px; }
.rail-card__head h3 { font-size: clamp(19px, 2.1vw, 25px); }
.rail-card__note { font-size: 14.5px; margin-top: 24px; max-width: 82ch; }
.rail-card__note b { color: var(--ink); }
.rail-card__note .mut { color: var(--faint); }

.rail { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.rail__s { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; }
.rail__s span {
  display: block; width: 100%; text-align: center;
  font-family: var(--display); font-size: 13px; font-weight: 700; color: var(--body);
  background: var(--bg-alt); border: 1px solid var(--border-mid);
  padding: 11px 8px; border-radius: 10px; white-space: nowrap;
}
.rail__s::after {
  content: ""; flex: none; width: 22px; height: 2px; background: var(--border-mid);
}
.rail__s:last-child::after { display: none; }
.rail__s.is-now span {
  background: var(--blue); border-color: var(--blue); color: #fff;
  box-shadow: 0 6px 16px rgba(37,99,235,.26);
}
/* everything before the current state reads as done */
.rail__s.is-now ~ .rail__s span { border-style: dashed; color: var(--faint); background: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.chip {
  font-family: var(--display); font-size: 11.5px; font-weight: 700;
  padding: 4px 10px; border-radius: 7px;
  background: var(--bg-alt); border: 1px solid var(--border); color: var(--body);
}
.chip--on { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip--mono { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: -.01em; }
.chip--hot { background: var(--amber-50); border-color: #fcd34d; color: #92400e; }

.audit {
  margin-top: 22px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 34px; align-items: center;
}
.audit__l h3 { font-size: clamp(19px, 2vw, 24px); margin-bottom: 12px; }
.audit__l p { font-size: 14.5px; }
.audit__r { display: flex; flex-wrap: wrap; gap: 7px; align-content: center; }

/* ---- platform bento -------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bt {
  grid-column: span 2;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px;
  transition: transform .28s cubic-bezier(.2,.8,.3,1), box-shadow .28s ease, border-color .28s ease;
}
.bt:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-mid); }
.bt h3 { font-size: 17.5px; margin-bottom: 9px; }
.bt p { font-size: 14.5px; line-height: 1.62; }
.bt--wide { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.bt--wide .bt__txt h3 { font-size: 19px; }
.bt--tint { background: linear-gradient(160deg, var(--blue-50), #fff 70%); }

/* ---- roadmap tweaks -------------------------------------------------- */
.viz-center { display: grid; place-items: center; }
.viz-bars { display: flex; align-items: flex-end; gap: 5px; padding: 11px 13px; }
.viz-bars span { flex: 1; border-radius: 3px; background: var(--violet-50); }
.viz-bars span:nth-child(3) { background: #ddd6fe; }
.viz-bars span:nth-child(4) { background: #c4b5fd; }
.viz-bars span:nth-child(5) { background: var(--violet-600); }
.route__ghost { stroke: #cbd5e1 !important; }
.node--bad { fill: var(--red); }
.road__cta { margin-top: 52px; }
.road__line { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); }
.road__cta .lede { margin-top: 10px; }
.road__cta .btn { margin-top: 24px; }

/* ---- misc ------------------------------------------------------------ */
.login__t { font-family: var(--display); font-size: 15px; color: var(--ink); display: block; margin-bottom: 3px; }
.login__p { font-size: 12.5px; margin-bottom: 15px; }
.cta-band__meta { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.72); }
.ph--onDark { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.34); color: #fff; }
.ftr__ph { margin-top: 14px; }

/* ---- responsive for the new sections --------------------------------- */
@media (max-width: 1080px) {
  .versus { grid-template-columns: 1fr; gap: 16px; }
  .vs__mid { padding: 4px 0; }
  .vs__mid span { transform: rotate(90deg); }
  .rpane, .audit { grid-template-columns: 1fr; gap: 32px; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bt, .bt--wide { grid-column: span 2; }
  .bt--wide { grid-template-columns: 1fr; }
  .rail__s { flex: 1 1 30%; }
}
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr; }
  .bt, .bt--wide { grid-column: span 1; }
  .rail { flex-direction: column; align-items: stretch; gap: 8px; }
  .rail__s::after { display: none; }
  .rail__s { flex: none; }
  .rail-card, .audit { padding: 22px; }
  .roles__tabs { gap: 6px; }
  .rtab { font-size: 13px; padding: 9px 14px; }
  .gauge-row { flex-direction: column; align-items: stretch; }
  .gauge { align-self: center; }
  .tl__t { width: 40px; }
}
