/* =====================================================================
   AnaghaCampus Landing — page layout (AnaghaHR v2.2 design system)
   Depends on tokens.css + components.css. Layout and page-only pieces
   (hero composition, product-UI mockups, bento, diagrams). Token values only.
   ===================================================================== */

/* ---------- Page helpers ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg:has(> use) { width: 1em; height: 1em; flex: none; }
.o { color: var(--orange-500); }
.hero > .container, .statutory > .container, .closing > .container { position: relative; z-index: 1; }
.surface-navy .t-lead { color: var(--text-on-dark-muted); }
.section-head-row > .section-head { flex: 1 1 520px; max-width: 720px; }
.section-head-row > .t-lead { flex: 0 1 440px; max-width: 46ch; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); align-items: start; color: var(--text); }
.ticks li > svg { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--orange-50); color: var(--orange-700); margin-top: 1px; }
.ticks b { color: var(--text-strong); font-weight: var(--fw-semibold); }

/* ---------- Circuit-line motif ---------- */
.circuit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.c-line { fill: none; stroke: color-mix(in srgb, var(--white) 11%, transparent); stroke-width: 1.5; stroke-dasharray: 6 12; vector-effect: non-scaling-stroke; }
.c-accent { stroke: color-mix(in srgb, var(--orange-500) 34%, transparent); stroke-dasharray: 8 10; }
.c-faint { stroke: color-mix(in srgb, var(--white) 7%, transparent); }
.c-node { fill: color-mix(in srgb, var(--white) 40%, transparent); }
.c-node-accent { fill: var(--orange-500); }
.circuit-anim .c-dash { animation: c-dash 18s linear infinite; }
.circuit-anim .c-slow { animation-duration: 28s; }
.circuit-anim .c-pulse { animation: c-pulse 2.4s var(--ease-in-out) infinite; }
.circuit[data-paused] * { animation-play-state: paused; }
@keyframes c-dash { to { stroke-dashoffset: -432; } }
@keyframes c-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* Shared mono label inside mockups */
.mk-label { font-family: var(--font-mono); font-size: 10.5px; font-weight: var(--fw-semibold); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }

/* =====================================================================
   1 · HERO
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 2rem + 4vw, 96px) clamp(96px, 4rem + 6vw, 152px);
  background:
    radial-gradient(46% 58% at 100% 100%, color-mix(in srgb, var(--orange-500) 20%, transparent) 0%, transparent 72%),
    radial-gradient(44% 54% at 78% 30%, color-mix(in srgb, var(--navy-700) 70%, transparent) 0%, transparent 70%),
    var(--navy-900);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: var(--s-6); justify-items: start; }
.hero .t-display { font-size: clamp(2.625rem, 1.3rem + 4.1vw, 4.75rem); max-width: 13ch; }
.hero-lede { max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }
.hero-pill { margin-top: var(--s-2); line-height: 1.4; }
.pill-status .live { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange-500) 22%, transparent); flex: none; }

/* Layered composition */
.hero-visual { position: relative; }
.hv { position: relative; margin: 0; padding: 104px 0 184px; }
.hv-run {
  position: relative; z-index: 1; margin: 0 20px 0 44px;
  background: var(--white); color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow-product);
  padding: 22px 22px 18px;
}
.hv-run-h { padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.hv-meta { display: flex; align-items: center; gap: 10px; }
.hv-title { font-size: 22px; font-weight: var(--fw-black); letter-spacing: var(--tracking-title); color: var(--text-strong); line-height: 1.15; margin-top: 4px; }
.hv-fee { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-5); padding: 16px 0 14px; border-bottom: 1px solid var(--line); align-items: end; }
.hv-today { display: grid; gap: 2px; min-width: 0; }
.hv-today small { font-size: 12px; color: var(--text-muted); }
.hv-today b { font-size: 30px; font-weight: var(--fw-black); color: var(--text-strong); letter-spacing: -.025em; line-height: 1.1; white-space: nowrap; }
.hv-new { font-size: 11.5px; font-weight: var(--fw-semibold); color: var(--success-700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv.is-pending .hv-new { opacity: 0; transform: translateY(4px); }
.hv-new { transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.hv-split { display: grid; gap: 6px; min-width: 0; }
.hv-split p { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); font-size: 12px; color: var(--text-muted); }
.hv-split p span { display: inline-flex; align-items: center; gap: 6px; }
.hv-split p i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.hv-split b { font-size: 13px; color: var(--text-strong); font-weight: var(--fw-bold); }
.hv-splitbar { height: 8px; border-radius: var(--r-pill); background: var(--navy-700); overflow: hidden; margin-top: 2px; }
.hv-splitbar i { display: block; height: 100%; width: var(--w); background: var(--orange-500); }
.hv-term { padding: 12px 0 14px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.hv-term p { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); font-size: 12px; color: var(--text-muted); flex-wrap: wrap; }
.hv-term b { font-size: 12.5px; color: var(--text-strong); font-weight: var(--fw-semibold); }
.hv-term em { font-style: normal; color: var(--orange-700); font-weight: var(--fw-bold); }
.hv-termbar { height: 8px; border-radius: var(--r-pill); background: var(--navy-100); overflow: hidden; }
.hv-termbar i { display: block; height: 100%; width: var(--fill, 78%); background: var(--navy-900); border-radius: inherit; transition: width 900ms var(--ease-out); }
.hv-dues { padding-top: 12px; }
.hv-dues-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; font-weight: var(--fw-bold); color: var(--text-strong); margin-bottom: 4px; }
.hv-dues-h span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-subtle); font-weight: var(--fw-semibold); }
.hv-dues ul { list-style: none; padding: 0; margin: 0; }
.hv-dues li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 64px; gap: 12px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); font-size: 12.5px; }
.hv-dues li:first-child { border-top: 0; }
.hv-dues .cc { width: 40px; height: 26px; font-size: 10.5px; }
.hv-d-n { color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-dues b { color: var(--text-strong); font-weight: var(--fw-semibold); white-space: nowrap; }
.hv-dues .badge { height: 20px; font-size: 10.5px; padding: 0 8px; justify-self: end; }
.cc { flex: none; width: 32px; height: 32px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--navy-900); color: var(--white); font-family: var(--font-mono); font-size: 10.5px; font-weight: var(--fw-semibold); letter-spacing: .04em; }
.hv-foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px var(--s-4); padding-top: 14px; font-size: 12px; color: var(--text-muted); }
.hv-foot span { display: inline-flex; align-items: center; gap: 6px; }
.hv-foot svg { width: 14px; height: 14px; color: var(--text-muted); }

.hv-alert {
  position: absolute; z-index: 2; top: 0; right: -12px; width: min(292px, 54%);
  background: var(--white); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-product); padding: 14px 16px;
}
.hv-alert-h { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: var(--fw-bold); color: var(--text-strong); }
.hv-alert-h b { margin-left: auto; white-space: nowrap; height: 20px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: var(--r-pill); background: var(--warning-50); font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--warning-700); font-weight: var(--fw-semibold); }
.hv-alert-i { width: 26px; height: 26px; border-radius: var(--r-xs); display: grid; place-items: center; background: var(--warning-50); color: var(--warning-700); flex: none; }
.hv-alert-i svg { width: 15px; height: 15px; }
.hv-alert ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.hv-alert li { padding-left: 36px; position: relative; }
.hv-alert li::before { content: ""; position: absolute; left: 11px; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange-500); }
.hv-alert li b { display: block; font-size: 12.5px; color: var(--text-strong); font-weight: var(--fw-semibold); line-height: 1.35; }
.hv-alert li span { font-size: 11.5px; color: var(--text-muted); }

.hv-slip {
  position: absolute; z-index: 2; left: 0; bottom: 6px; width: min(286px, 58%);
  background: var(--white); color: var(--text); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); overflow: hidden;
}
.hv-slip-h { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: 12px 16px; background: var(--cream); border-bottom: 1px solid var(--cream-200); }
.hv-slip-h b { display: block; font-size: 13px; color: var(--text-strong); }
.hv-slip-h small { font-size: 11px; color: var(--text-muted); }
.hv-slip-h .cur { font-size: 20px; font-weight: var(--fw-black); color: var(--orange-700); }
.hv-slip dl { margin: 0; padding: 8px 16px 4px; }
.hv-slip dl div { display: flex; justify-content: space-between; gap: var(--s-3); padding: 5px 0; font-size: 12px; }
.hv-slip dt { color: var(--text-muted); }
.hv-slip dd { margin: 0; color: var(--text-strong); font-weight: var(--fw-semibold); }
.hv-slip-net { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 16px 12px; border-top: 1px solid var(--line); }
.hv-slip-net span { font-size: 12px; font-weight: var(--fw-semibold); color: var(--text-strong); }
.hv-slip-net b { font-size: 19px; font-weight: var(--fw-black); color: var(--text-strong); letter-spacing: -.01em; }
.hv-att { width: min(300px, 58%); }
.hv-att-i { width: 30px; height: 30px; border-radius: var(--r-xs); display: grid; place-items: center; background: var(--orange-50); color: var(--orange-700); flex: none; }
.hv-att-i svg { width: 16px; height: 16px; }
.hv-att-b { padding: 12px 16px 10px; display: grid; gap: 8px; }
.hv-att-k { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hv-att-k b { font-size: 26px; font-weight: var(--fw-black); color: var(--text-strong); letter-spacing: -.02em; line-height: 1; }
.hv-att-k span { font-size: 11.5px; color: var(--text-muted); }
.hv-att-bar { height: 8px; border-radius: var(--r-pill); background: var(--orange-100); overflow: hidden; }
.hv-att-bar i { display: block; height: 100%; width: var(--w); background: var(--navy-900); border-radius: inherit; }
.hv-att-msg span { display: inline-flex; align-items: center; gap: 6px; }
.hv-att-msg svg { width: 14px; height: 14px; color: var(--success-700); }
.hv-att-msg b { font-size: 15px; }
.hv-att-f { padding: 0 16px 12px; margin-top: -6px; font-size: 11px; color: var(--text-muted); }
.hero-caption { margin: var(--s-4) 20px 0 0; text-align: right; }

/* =====================================================================
   2 · PROOF STRIP (navy → white seam)
   ===================================================================== */
.proof { position: relative; background: linear-gradient(var(--navy-900) 0 50%, var(--white) 50% 100%); }
.proof-panel {
  position: relative; background: var(--white); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); padding: clamp(24px, 3vw, 40px) clamp(20px, 3.5vw, 48px) clamp(18px, 2vw, 24px);
}
.proof-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1.2fr); margin: 0; }
.metric { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 4px clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.metric:first-child { border-left: 0; padding-left: 0; }
.metric dd { margin: 0; font-size: clamp(2rem, 1.3rem + 2vw, 3rem); line-height: 1; font-weight: var(--fw-black); letter-spacing: var(--tracking-display); color: var(--text-strong); white-space: nowrap; }
.metric dd sup { font-size: .32em; font-weight: var(--fw-bold); color: var(--text-muted); vertical-align: top; position: relative; top: .2em; margin-left: 3px; letter-spacing: 0; }
.metric dd .o { color: var(--orange-700); }
.metric dt { font-size: var(--fs-small); color: var(--text-muted); font-weight: var(--fw-medium); }
.proof-note { margin-top: clamp(18px, 2vw, 24px); padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--fs-caption); color: var(--text-subtle); }
.proof-note sup { font-weight: var(--fw-bold); margin-right: 2px; }

/* =====================================================================
   3 · PROBLEM → ANSWER
   ===================================================================== */
.problem { padding-top: clamp(64px, 3rem + 5vw, 120px); }
.problem-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.problem-copy { display: grid; gap: var(--s-5); }
ol.options { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--cream); padding: 6px; }
.option { display: grid; grid-template-columns: 92px minmax(0, 1fr) 36px; gap: var(--s-5); align-items: center; padding: 22px 22px; border-radius: var(--r-md); }
.option + .option:not(.is-us) { border-top: 1px solid var(--cream-200); border-radius: 0; }
.opt-k { font-family: var(--font-mono); font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.opt-b h3 { margin-bottom: 4px; }
.opt-b p { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.55; }
.opt-mark { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.opt-mark svg { width: 16px; height: 16px; }
.opt-mark.is-bad { background: var(--white); color: var(--danger-700); border: 1px solid var(--line); }
.opt-mark.is-good { background: var(--orange-600); color: var(--white); }
.option.is-us { position: relative; overflow: hidden; background: var(--white); margin-top: 6px; padding-block: 26px; box-shadow: var(--shadow-md), 0 0 0 1px var(--line); }
.option.is-us::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--orange-500); }
.option.is-us .opt-k { color: var(--orange-700); }
.option.is-us p { color: var(--text); }

/* =====================================================================
   4 · PRODUCT TOUR
   ===================================================================== */
.tour-tabs { display: flex; justify-content: center; margin: clamp(32px, 4vw, 48px) 0 clamp(28px, 3.5vw, 48px); }
.tour .tabs { background: var(--white); border-color: var(--cream-200); box-shadow: var(--shadow-xs); }
.tour .tab[aria-selected="true"] { background: var(--navy-900); color: var(--white); box-shadow: none; }
.tour .tab[aria-selected="true"] .tab-sub { color: var(--text-on-dark-subtle); }
.tab-sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-subtle); font-weight: var(--fw-semibold); }
.tour-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; border-radius: var(--r-lg); }
.tour-panel:focus-visible { box-shadow: var(--focus-ring); }
.tour-panel.is-entering .tour-frame { animation: tour-in var(--dur-slow) var(--ease-out); }
.tour-panel.is-entering .tour-copy { animation: tour-in var(--dur-slow) var(--ease-out) 60ms both; }
@keyframes tour-in { from { opacity: 0; transform: translateY(10px); } }
.tour-frame { margin: 0; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); }
.tour-copy { display: grid; gap: var(--s-4); align-content: center; }
.tour-copy .label-mono { color: var(--orange-700); font-weight: var(--fw-semibold); }
.tour-copy .ticks { margin-top: var(--s-2); }

/* ---------- Product-UI mockup kit (.mk) ---------- */
.mk { background: var(--navy-50); padding: 18px; font-size: 13px; color: var(--text); display: grid; gap: 12px; line-height: 1.4; }
.mk-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.mk-h { font-size: 15px; font-weight: var(--fw-bold); color: var(--text-strong); letter-spacing: -.01em; }
.mk-sub { font-size: 11.5px; color: var(--text-muted); }
.mk-chips { display: flex; gap: 6px; flex: none; }
.mk-chip { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--white); font-size: 11.5px; font-weight: var(--fw-semibold); color: var(--text-muted); white-space: nowrap; }
.mk-chip.is-on { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.mk-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--white); font-size: 12px; font-weight: var(--fw-bold); flex: none; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mk-kpi { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 13px; display: grid; gap: 2px; min-width: 0; }
.mk-kpi span { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-kpi b { font-size: 20px; font-weight: var(--fw-black); color: var(--text-strong); letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; }
.mk-kpi small { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-kpi em { font-style: normal; font-weight: var(--fw-bold); color: var(--success-700); }
.mk-kpi.is-warn { background: var(--orange-50); border-color: var(--orange-100); }
.mk-kpi.is-warn b { color: var(--orange-700); }
.mk-table { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.mk-tr { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .7fr) minmax(0, 1.15fr) minmax(0, .9fr); gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 12.5px; }
.mk-tr:first-child { border-top: 0; }
.mk-th { background: var(--navy-50); font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); padding-block: 8px; }
.mk-tr .r { text-align: right; justify-self: end; }
.mk-tr > .tnum { color: var(--text-strong); font-weight: var(--fw-semibold); white-space: nowrap; }
.mk-ent { min-width: 0; }
.mk-ent b { display: block; color: var(--text-strong); font-weight: var(--fw-semibold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-ent small { font-size: 11px; color: var(--text-muted); }
.mk-note, .mk-flag, .mk-save { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.mk-note svg, .mk-flag svg, .mk-save svg { width: 15px; height: 15px; flex: none; }
.mk-flag { background: var(--orange-50); border: 1px solid var(--orange-100); color: var(--orange-700); border-radius: var(--r-sm); padding: 10px 12px; }
.mk-flag b { font-weight: var(--fw-bold); }
.mk-save { background: var(--success-50); color: var(--success-700); border-radius: var(--r-sm); padding: 10px 12px; font-weight: var(--fw-medium); }
.mk-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mk-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 14px; min-width: 0; }
.mk-card-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12.5px; font-weight: var(--fw-bold); color: var(--text-strong); margin-bottom: 8px; }
.mk-card-h > span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-subtle); font-weight: var(--fw-semibold); white-space: nowrap; }
.mk-list { list-style: none; padding: 0; margin: 0; }
.mk-list li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); }
.mk-list li:first-child { border-top: 0; padding-top: 2px; }
.mk-list b { font-size: 12px; font-weight: var(--fw-semibold); color: var(--text-strong); white-space: nowrap; }
.mk-list span > b { display: block; overflow: hidden; text-overflow: ellipsis; }
.mk-list small { display: block; font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-list .badge { height: 20px; font-size: 10.5px; padding: 0 8px; }
.mk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy-600); flex: none; }
.mk-dot.is-ok { background: var(--success-700); }
.mk-dot.is-warn { background: var(--orange-500); }
.mk-dot.is-danger { background: var(--danger-700); }
.mk .badge { height: 22px; font-size: 11px; padding: 0 9px; }

/* bars */
.mk-bars { display: flex; align-items: stretch; gap: 8px; height: 108px; }
.mk-bars > span { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: 100%; }
.mk-bars i { display: block; height: calc(var(--h) * .78); background: var(--navy-700); border-radius: 4px 4px 2px 2px; }
.mk-bars em { font-style: normal; font-size: 10px; color: var(--text-subtle); text-align: center; }
.mk-bars .is-today i { background: var(--orange-500); }
.mk-bars .is-today em { color: var(--orange-700); font-weight: var(--fw-bold); }
.mk-src { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 11px; color: var(--text-muted); }
.mk-src span { display: inline-flex; align-items: center; gap: 6px; }
.mk-src b { color: var(--text-strong); }
.mk-src i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.s1 { background: var(--navy-700); } .s2 { background: var(--orange-500); } .s3 { background: var(--navy-100); border: 1px solid var(--line-strong); }
.mk-legend { margin: 0; gap: 6px; font-family: var(--font-sans); letter-spacing: 0; text-transform: none; font-size: 11px; }
.mk-legend i + i, .mk-legend i { margin-left: 6px; }
.mk-tr.is-flag { background: var(--orange-50); }
.mk-tr.is-flag .mk-ent b { color: var(--orange-700); }
.mk-chan { display: flex; gap: 4px; height: 34px; }
.mk-chan span { flex: 0 0 auto; width: var(--w); min-width: 54px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: var(--r-xs); font-size: 11px; font-weight: var(--fw-semibold); white-space: nowrap; overflow: hidden; }
.mk-chan span:first-child { flex: 1 1 auto; }
.mk-chan b { font-size: 12.5px; font-weight: var(--fw-black); }
.ch-wa { background: var(--navy-900); color: var(--white); }
.ch-sms { background: var(--orange-500); color: var(--navy-950); }
.mk-chan .ch-app { background: var(--navy-100); color: var(--navy-900); min-width: 40px; padding: 0 6px; }
.ch-app b { display: none; }

/* =====================================================================
   5 · PILLARS (editorial numbered list)
   ===================================================================== */
.pillars-head { margin-bottom: clamp(40px, 5vw, 72px); }
.pillar-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 6vw, 96px); }
.pillar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 2.5vw, 36px); padding: clamp(28px, 3vw, 44px) 0; border-top: 1px solid var(--line-strong); position: relative; }
.pillar::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 3px; background: var(--orange-500); border-radius: 0 0 2px 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-slow) var(--ease-out); }
.pillar.is-in::before { transform: scaleX(1); transition-delay: calc(var(--i, 0) * 60ms + 200ms); }
.no-js .pillar::before { transform: none; }
.p-num { font-size: clamp(3.25rem, 2rem + 3.6vw, 5.5rem); font-weight: var(--fw-black); line-height: .86; letter-spacing: -.05em; color: color-mix(in srgb, var(--navy-900) 16%, var(--white)); font-variant-numeric: tabular-nums; min-width: 1.25em; }
.pillar h3 { margin-bottom: var(--s-3); padding-top: 4px; }
.pillar p { color: var(--text-muted); max-width: 46ch; }

/* =====================================================================
   6 · MODULES (bento, grouped by suite)
   ===================================================================== */
.modules .section-head-row { margin-bottom: clamp(36px, 4.5vw, 64px); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.suite { display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; }
.suite-h { display: flex; align-items: baseline; gap: var(--s-3); padding-left: 2px; }
.suite-h span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: var(--fw-semibold); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-strong); }
.suite-h span::before { content: ""; width: 10px; height: 2px; background: var(--orange-500); border-radius: 2px; }
.suite-h em { font-style: normal; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-subtle); }
.suite-grid { display: grid; gap: clamp(12px, 1.4vw, 16px); flex: 1; }
.suite-money { grid-column: span 7; }
.suite-money .suite-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; }
.suite-money .tile-core { grid-row: 1 / 3; }
.suite-reach { grid-column: span 5; }
.suite-life, .suite-ops { grid-column: span 6; }
.suite-life .suite-grid, .suite-ops .suite-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.tile {
  display: flex; flex-direction: column; gap: var(--s-3); padding: clamp(20px, 2vw, 26px);
  background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--r-lg);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.tile .icon-tile { margin-bottom: var(--s-1); }
.tile p { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.6; }
.tile-core {
  position: relative; overflow: hidden; padding: clamp(24px, 2.6vw, 34px);
  background:
    radial-gradient(90% 70% at 100% 100%, color-mix(in srgb, var(--orange-500) 9%, transparent), transparent 70%),
    var(--white);
  border-color: var(--line); box-shadow: var(--shadow-sm);
}
.tile-core::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--orange-500); }
.tile-core:hover { box-shadow: var(--shadow-lg); }
.tile-core p { color: var(--text-muted); font-size: var(--fs-body); }
.tile-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-3); }
.tile-core-art { margin-top: auto; padding-top: var(--s-6); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; }
.cur-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: var(--r-sm); background: var(--cream); border: 1px solid var(--cream-200); font-size: 12px; color: var(--text-muted); font-weight: var(--fw-medium); white-space: nowrap; min-width: 0; }
.cur-chip b { color: var(--orange-700); font-size: 16px; font-weight: var(--fw-black); }
.cur-chip.is-rec { grid-column: 1 / -1; justify-content: center; background: var(--navy-900); color: var(--white); border-color: var(--navy-900); font-weight: var(--fw-bold); }
.cur-chip.is-rec svg { width: 16px; height: 16px; color: var(--orange-500); }
.tile-comm { height: 100%; }
.comm-art { margin-top: auto; padding: var(--s-4); border-radius: var(--r-md); background: var(--cream); border: 1px solid var(--cream-200); display: grid; gap: 10px; }
.comm-h { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); flex-wrap: wrap; font-size: 13px; }
.comm-h b { color: var(--text-strong); font-weight: var(--fw-bold); }
.comm-h span { font-size: 12px; font-weight: var(--fw-semibold); color: var(--success-700); }
.comm-bar { display: flex; gap: 3px; height: 10px; }
.comm-bar i { display: block; width: var(--w); border-radius: var(--r-pill); background: var(--navy-900); }
.comm-bar i + i { background: var(--orange-500); min-width: 10px; }
.comm-k { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--text-muted); }
.comm-k span { display: inline-flex; align-items: center; gap: 6px; }
.comm-k i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.chan-ladder { list-style: none; padding: var(--s-3) 0 0; margin: 0; display: grid; gap: 8px; }
.chan-ladder li { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border-radius: var(--r-sm); background: var(--cream); border: 1px solid var(--cream-200); font-size: 13px; font-weight: var(--fw-semibold); color: var(--text-strong); }
.chan-ladder li:first-child { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.chan-ladder span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 10.5px; color: var(--navy-900); flex: none; }
.chan-ladder li:first-child span { background: var(--orange-500); border-color: var(--orange-500); color: var(--navy-950); }
.chan-ladder em { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: var(--fw-medium); color: var(--text-muted); text-align: right; }
.chan-ladder li:first-child em { color: var(--text-on-dark-subtle); }
.cur-line { grid-column: 1 / -1; height: 14px; margin: -4px 0; background:
  linear-gradient(var(--line-strong), var(--line-strong)) 25% 0 / 1px 100% no-repeat,
  linear-gradient(var(--line-strong), var(--line-strong)) 75% 0 / 1px 100% no-repeat; }

/* =====================================================================
   7 · STATUTORY ENGINE
   ===================================================================== */
.statutory { overflow: hidden; }
.juris-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: clamp(40px, 5vw, 64px); }
.juris { background: color-mix(in srgb, var(--navy-800) 92%, transparent); border: 1px solid var(--line-on-dark); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 32px); }
.juris-h { display: flex; align-items: center; gap: var(--s-3); padding-bottom: var(--s-4); flex-wrap: wrap; }
.juris-h .label-mono { order: 3; width: 100%; }
.juris-cur { margin-left: auto; font-size: 26px; letter-spacing: -.02em; white-space: nowrap; line-height: 1; font-weight: var(--fw-black); color: var(--orange-500); }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); margin: 0; }
.codes > div { padding: 14px 0; border-top: 1px solid var(--line-on-dark); display: grid; gap: 2px; }
.codes dt { font-family: var(--font-mono); font-size: 13px; font-weight: var(--fw-semibold); letter-spacing: .06em; color: var(--white); }
.codes dd { margin: 0; font-size: var(--fs-small); color: var(--text-on-dark-subtle); line-height: 1.45; }

.flow-wrap { margin-top: clamp(48px, 6vw, 80px); }
.flow-title { margin-bottom: var(--s-8); display: flex; align-items: center; gap: var(--s-4); }
.flow-title::after { content: ""; flex: 1; height: 1px; background: var(--line-on-dark); }
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flow-step { position: relative; padding: 40px var(--s-6) 0 0; display: grid; gap: 6px; align-content: start; }
.flow-step::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-on-dark-strong) 0 6px, transparent 6px 12px); }
.flow-step::after { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--navy-900); border: 2px solid var(--orange-500); box-sizing: border-box; }
.flow-step.is-end::before { right: auto; width: 16px; }
.flow-step.is-end::after { background: var(--orange-500); box-shadow: 0 0 0 5px color-mix(in srgb, var(--orange-500) 22%, transparent); }
.fs-n { font-family: var(--font-mono); font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: .16em; color: var(--orange-500); }
.flow-step b { font-size: var(--fs-h5); line-height: 1.3; color: var(--white); font-weight: var(--fw-bold); letter-spacing: -.01em; }
.flow-step > span:last-child { font-size: var(--fs-small); color: var(--text-on-dark-subtle); line-height: 1.55; }
.liability { margin-top: clamp(40px, 5vw, 56px); display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) var(--s-5); border: 1px solid var(--line-on-dark); border-radius: var(--r-md); background: color-mix(in srgb, var(--white) 3%, transparent); font-size: var(--fs-small); color: var(--text-on-dark-muted); max-width: 880px; }
.liability svg { width: 20px; height: 20px; color: var(--orange-500); margin-top: 1px; }

/* =====================================================================
   8 · SELF-SERVICE
   ===================================================================== */
.ss-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.ss-copy { display: grid; gap: var(--s-5); }
.portal-list { list-style: none; padding: 0; margin: var(--s-2) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-6); }
.portal-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--s-3); align-items: start; }
.portal-list .role-i { margin: 0; }
.portal-list b { display: block; font-size: var(--fs-h5); color: var(--text-strong); font-weight: var(--fw-bold); margin: 2px 0 2px; }
.portal-list span:not(.role-i) { display: block; font-size: var(--fs-small); color: var(--text-muted); line-height: 1.5; }
.ss-visual { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding-bottom: 40px; }
.payslip { margin: 0; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); overflow: hidden; color: var(--text); }
.ps-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: 18px 22px; background: var(--cream); border-bottom: 1px solid var(--cream-200); }
.ps-top b { display: block; font-size: 15px; color: var(--text-strong); }
.ps-top small { font-size: 12px; color: var(--text-muted); }
.msg-log .ps-top, .msg-log .ml-thread, .msg-log .ps-cols { padding-right: 44px; }
.ml-thread { padding: 18px 22px; border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.ml-to { display: flex; align-items: center; gap: 12px; }
.ml-to b { display: block; font-size: 13.5px; color: var(--text-strong); }
.ml-to small { font-size: 12px; color: var(--text-muted); }
.ml-bubble { position: relative; max-width: 420px; margin-left: 48px; padding: 12px 14px 10px; border-radius: 4px var(--r-md) var(--r-md) var(--r-md); background: var(--success-50); border: 1px solid color-mix(in srgb, var(--success-700) 18%, transparent); display: grid; gap: 8px; font-size: 13px; color: var(--text); line-height: 1.5; }
.ml-bubble b { color: var(--text-strong); }
.ml-link { justify-self: start; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); font-size: 12px; font-weight: var(--fw-bold); color: var(--success-700); }
.ml-bubble small { justify-self: end; font-size: 11px; color: var(--text-muted); }
.ps-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); padding: 18px 22px 20px; }
.ps-cap { font-family: var(--font-mono); font-size: 10.5px; font-weight: var(--fw-semibold); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-700); margin-bottom: 6px; }
.ps-cols dl { margin: 0; }
.ps-cols dl div { display: flex; justify-content: space-between; gap: var(--s-3); padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.ps-cols dt { color: var(--text-muted); }
.ps-cols dd { margin: 0; color: var(--text-strong); font-weight: var(--fw-medium); white-space: nowrap; }
.ps-cols .ps-sum { border-bottom: 0; border-top: 1px solid var(--line-strong); margin-top: 2px; }
.ps-cols .ps-sum dt, .ps-cols .ps-sum dd { color: var(--text-strong); font-weight: var(--fw-bold); }

.phone { position: relative; z-index: 2; margin: 0 0 -40px -20px; width: clamp(188px, 16vw, 228px); aspect-ratio: 236 / 480; padding: 9px; border-radius: 38px; background: var(--navy-950); box-shadow: var(--shadow-product); }
.phone-screen { height: 100%; border-radius: 30px; background: var(--navy-50); overflow: hidden; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--text); }
.ph-status { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; font-weight: var(--fw-bold); color: var(--text-strong); padding: 0 6px; }
.ph-notch { width: 64px; height: 18px; border-radius: var(--r-pill); background: var(--navy-950); }
.ph-head { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.ph-head .brand-word { font-size: 14px; color: var(--text-strong); }
.ph-head .brand-word b { color: var(--orange-600); }
.ph-bell { width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-strong); }
.ph-bell svg { width: 14px; height: 14px; }
.ph-hi { font-size: 17px; font-weight: var(--fw-black); color: var(--text-strong); letter-spacing: -.02em; margin-top: 2px; }
.ph-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: grid; gap: 2px; }
.ph-card small { font-size: 10.5px; color: var(--text-muted); }
.ph-card b { font-size: 15px; font-weight: var(--fw-black); color: var(--text-strong); white-space: nowrap; }
.ph-card small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-card-dark { background: var(--navy-900); border-color: var(--navy-900); }
.ph-card-dark small { color: var(--text-on-dark-subtle); }
.ph-card-dark b { font-size: 21px; color: var(--white); letter-spacing: -.02em; }
.ph-card-dark span { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: var(--fw-semibold); color: var(--orange-500); margin-top: 4px; }
.ph-card-dark span svg { width: 12px; height: 12px; }
.ph-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-todo { grid-template-columns: 8px 1fr; gap: 10px; align-items: center; }
.ph-todo b { font-size: 12px; font-weight: var(--fw-bold); display: block; }
.ph-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 6px 4px; border-top: 1px solid var(--line); }
.ph-nav i { width: 18px; height: 4px; border-radius: 2px; background: var(--navy-100); }
.ph-nav i.on { background: var(--orange-500); }
.ss-caption { position: absolute; left: 0; bottom: 0; margin: 0; }

/* =====================================================================
   9 · IMPLEMENTATION
   ===================================================================== */
.impl-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.impl-aside { display: grid; gap: var(--s-5); position: sticky; top: calc(var(--header-h) + 32px); }
.impl-callout { margin-top: var(--s-4); padding: var(--s-6) var(--s-8); background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); display: grid; gap: var(--s-3); }
.impl-big { font-size: clamp(3.5rem, 2.4rem + 3.4vw, 5.5rem); font-weight: var(--fw-black); letter-spacing: var(--tracking-display); line-height: .95; color: var(--text-strong); display: flex; align-items: baseline; gap: var(--s-3); }
.impl-big span { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--orange-700); font-weight: var(--fw-semibold); }
.impl-callout p:last-child { font-size: var(--fs-small); color: var(--text-muted); }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.tl { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s-6); padding-bottom: var(--s-8); }
.tl::before { content: ""; position: absolute; left: 23.5px; top: 52px; bottom: 4px; width: 1px; background: var(--line-strong); }
.tl:last-child { padding-bottom: 0; }
.tl:last-child::before { display: none; }
.tl-n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: 13px; font-weight: var(--fw-semibold); color: var(--text-strong); }
.tl > div { padding-top: 10px; }
.tl h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px var(--s-3); margin-bottom: 6px; }
.tl p { color: var(--text-muted); font-size: var(--fs-body); max-width: 56ch; }
.tl.is-key .tl-n { background: var(--orange-600); border-color: var(--orange-600); color: var(--white); box-shadow: 0 0 0 6px var(--orange-100); }
.tl.is-key > div { background: var(--white); border: 1px solid var(--orange-100); border-radius: var(--r-lg); padding: var(--s-5) var(--s-6); margin-top: -4px; box-shadow: var(--shadow-sm); }
.tl.is-key p { color: var(--text); }

/* =====================================================================
   10 · WHO IT'S FOR
   ===================================================================== */
.role-cols { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.role { padding: var(--s-2) clamp(20px, 2.4vw, 32px) var(--s-2); border-left: 1px solid var(--line); display: grid; gap: var(--s-3); align-content: start; }
.role:first-child { border-left: 0; padding-left: 0; }
.role-i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--white); margin-bottom: var(--s-2); }
.role-i svg { width: 18px; height: 18px; }
.role .label-mono { color: var(--orange-700); font-weight: var(--fw-semibold); }
.role-out { font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.5; color: var(--text-strong); font-weight: var(--fw-medium); letter-spacing: -.01em; text-wrap: pretty; }

/* =====================================================================
   11 · INTEGRATIONS
   ===================================================================== */
.roles { padding-bottom: var(--section-y-sm); }
.integrations { padding-top: 0; }
.int-shell { border-top: 1px solid var(--line); padding-top: var(--section-y-sm); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.int-head { display: grid; gap: var(--s-5); position: sticky; top: calc(var(--header-h) + 32px); }
.api-card { margin-top: var(--s-3); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5) var(--s-6); color: var(--text); box-shadow: var(--shadow-sm); }
.api-h { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--text-strong); }
.api-h svg { width: 18px; height: 18px; color: var(--orange-500); }
.api-p { margin-top: var(--s-3); font-size: var(--fs-small); color: var(--text-muted); line-height: 1.6; }
.int-groups { display: grid; }
.int-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: var(--s-6); align-items: center; padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.int-row:first-child { border-top: 0; padding-top: 0; }
.int-k { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: var(--fw-semibold); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.int-tiles { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.int-tiles li { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 6px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--text-strong); box-shadow: var(--shadow-xs); }
.int-tiles li span { width: 34px; height: 34px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--navy-50); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: .04em; color: var(--navy-900); flex: none; }
.int-row:first-child .int-tiles li span { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.int-note { padding-top: var(--s-5); border-top: 1px solid var(--line); }

/* =====================================================================
   12 · SECURITY & DATA
   ===================================================================== */
.security { overflow: hidden; }
.sec-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 72px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.trust-list { list-style: none; padding: 0; margin: 0; }
.trust { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s-5); padding: var(--s-6) 0; border-top: 1px solid var(--cream-200); }
.trust:first-child { border-top: 0; padding-top: 0; }
.trust h3 { margin-bottom: 6px; }
.trust p { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.6; }
.trust .icon-tile { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }

.residency { margin: 0; }
.rd { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md); padding: clamp(20px, 2.6vw, 32px); display: grid; gap: var(--s-4); }
.rd-tenant { justify-self: center; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--white); box-shadow: var(--shadow-xs); text-align: center; }
.rd-tenant b { color: var(--text-strong); font-size: 15px; }
.rd-sub { font-size: 12px; color: var(--text-muted); }
.rd-access { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; position: relative; }
.rd-access::before { content: ""; position: absolute; left: 50%; top: -16px; height: 16px; width: 1px; background: var(--line-strong); }
.rd-role { display: grid; justify-items: center; text-align: center; gap: 2px; padding: 12px 8px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-tint); font-size: 13px; font-weight: var(--fw-semibold); color: var(--text-strong); line-height: 1.3; }
.rd-role i { width: 8px; height: 8px; border-radius: 50%; margin-bottom: 6px; }
.rd-role em { font-style: normal; font-size: 11.5px; font-weight: var(--fw-regular); color: var(--text-muted); }
.r-in { background: var(--orange-500); } .r-us { background: var(--navy-900); } .r-all { background: linear-gradient(90deg, var(--orange-500) 50%, var(--navy-900) 50%); }
.rd-lines { width: 100%; height: 44px; margin: -6px 0; overflow: visible; }
.rd-lines path { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.rd-lines path.l-in { stroke: var(--orange-500); }
.rd-regions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); position: relative; }
.rd-region { background: var(--cream); border: 1px solid var(--cream-200); border-radius: var(--r-lg); padding: var(--s-4) var(--s-5); display: grid; gap: var(--s-3); }
.rd-r-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rd-r-h .label-mono { color: var(--orange-700); font-weight: var(--fw-semibold); }
.rd-flag { font-size: 11.5px; color: var(--text-muted); }
.rd-items { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.rd-items li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); font-size: 12.5px; color: var(--text-muted); }
.rd-items b { font-size: 12px; color: var(--text-strong); font-weight: var(--fw-semibold); white-space: nowrap; }
.rd-link { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; padding: 4px 8px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.rd-audit { display: flex; align-items: center; gap: 10px; padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-muted); }
.rd-audit svg { width: 16px; height: 16px; color: var(--orange-500); flex: none; }
.residency .frame-caption { text-align: left; }

.cap-chips { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.cap-chips li { padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-xs); display: grid; gap: 4px; align-content: start; }
.cap-chips b { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: var(--text-strong); font-weight: var(--fw-semibold); display: flex; align-items: center; gap: 8px; }
.cap-chips b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-500); }
.cap-chips span { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }
.cert-note { margin-top: var(--s-6); display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-small); color: var(--text-muted); }
.cert-note svg { width: 18px; height: 18px; color: var(--orange-500); margin-top: 2px; flex: none; }

/* =====================================================================
   13 · FAQ
   ===================================================================== */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.faq-aside { display: grid; gap: var(--s-5); position: sticky; top: calc(var(--header-h) + 32px); }
.faq-contact { display: grid; gap: var(--s-2); justify-items: start; margin-top: var(--s-2); }
.faq-mail { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text-strong); font-weight: var(--fw-semibold); min-height: 44px; overflow-wrap: anywhere; }
.faq-mail small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-weight: var(--fw-semibold); }
.faq-mail:hover { color: var(--orange-700); }
.faq .accordion summary { padding-block: 20px; line-height: 1.4; }
.faq .accordion details[open] .acc-body { animation: acc-in var(--dur-base) var(--ease-out); }
@keyframes acc-in { from { opacity: 0; transform: translateY(-4px); } }

/* =====================================================================
   14 · CLOSING CTA
   ===================================================================== */
.closing { position: relative; overflow: hidden; padding-block: clamp(88px, 4rem + 7vw, 160px); text-align: center; background:
  radial-gradient(50% 70% at 50% 110%, color-mix(in srgb, var(--orange-600) 24%, transparent), transparent 70%),
  var(--navy-900); }
.closing-inner { display: grid; justify-items: center; gap: var(--s-6); max-width: 920px; }
.closing .t-h1 { max-width: 16ch; }
.closing .t-lead { margin-inline: auto; }
.closing-actions { justify-content: center; }
.closing-signin { font-size: var(--fs-small); color: var(--text-on-dark-subtle); }
.closing-signin a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--orange-500); font-weight: var(--fw-semibold); text-decoration: none; }
.closing-signin a:hover { color: var(--white); }
.closing-signin svg { width: 15px; height: 15px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1279px) {
  .rd-items li { grid-template-columns: 8px minmax(0, 1fr); row-gap: 2px; }
  .rd-items b { grid-column: 2; }
  .cap-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .suite-money, .suite-reach { grid-column: span 12; }
}

@media (max-width: 1099px) {
  .circuit-hero { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero .t-display { max-width: 16ch; }
  .hero-visual { max-width: 640px; width: 100%; }
  .ss-grid { grid-template-columns: 1fr; }
  .ss-visual { max-width: 680px; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-6); }
  .metric:nth-child(odd) { border-left: 0; padding-left: 0; }
  .metric:nth-child(n+3) { padding-top: var(--s-6); border-top: 1px solid var(--line); }
}

@media (max-width: 1023px) {
  .problem-grid, .ss-grid, .impl-grid, .int-shell, .sec-grid, .faq-grid { grid-template-columns: 1fr; }
  .impl-aside, .int-head, .faq-aside { position: static; }
  .tour-panel { grid-template-columns: 1fr; }
  .tour-copy { max-width: 640px; }
  .tour-copy .ticks { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-step { padding: 0 0 var(--s-6) 40px; }
  .flow-step::before { left: 7px; right: auto; top: 16px; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-on-dark-strong) 0 6px, transparent 6px 12px); }
  .flow-step.is-end::before { display: none; }
  .flow-step.is-end { padding-bottom: 0; }
  .flow-step::after { top: 2px; }
  .role-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-10); }
  .role:nth-child(odd) { border-left: 0; padding-left: 0; }
  .suite-life, .suite-ops { grid-column: span 12; }
  .statutory .circuit { display: none; }
}

@media (max-width: 767px) {
  .pillar-list { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .suite-money, .suite-reach, .suite-life, .suite-ops { grid-column: auto; }
  .suite-money .suite-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .suite-money .tile-core { grid-row: auto; grid-column: 1 / -1; }
  .juris-grid { grid-template-columns: 1fr; }
  .int-row { grid-template-columns: 1fr; gap: var(--s-3); }
  .cap-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ss-visual { grid-template-columns: 1fr; padding-bottom: 0; justify-items: center; }
  .ss-visual .payslip { width: 100%; }
  .phone { margin: var(--s-6) 0 0; width: 210px; }
  .ss-caption { position: static; justify-self: start; margin-top: var(--s-3); text-align: left; }
  .mk-tr .c-emp { display: none; }
  .mk-tr { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr) minmax(0, .9fr); }
}

@media (max-width: 639px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .metric:nth-child(n+3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .hero-pill { border-radius: var(--r-md); align-items: flex-start; }
  .hero-pill .live { margin-top: 6px; }
  .hv { padding: 0; display: grid; }
  .hv-alert { position: relative; top: auto; right: auto; width: auto; margin: 0 0 -18px 16%; }
  .hv-run { margin: 0; padding: 30px 16px 30px; }
  .hv-slip { position: relative; left: auto; bottom: auto; width: auto; margin: -26px 18% 0 0; }
  .hero-caption { margin: var(--s-4) 0 0; text-align: left; }
  .hv-foot { display: none; }
  .hv-fee { grid-template-columns: 1fr; gap: var(--s-3); }
  .hv-today b { font-size: 26px; }
  .hv-dues li { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .hv-dues .badge { display: none; }
  .rd-tenant { border-radius: var(--r-lg); }
  .option { grid-template-columns: minmax(0, 1fr) 32px; gap: var(--s-2) var(--s-4); padding: 18px 16px; }
  .opt-k { grid-column: 1 / -1; }
  .opt-mark { grid-row: 2; grid-column: 2; width: 32px; height: 32px; }
  .tour-tabs { justify-content: flex-start; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tour .tabs { overflow: visible; flex: none; }
  .mk { padding: 12px; gap: 10px; }
  .mk-chips { display: none; }
  .mk-kpis { gap: 6px; }
  .mk-kpi { padding: 8px 9px; }
  .mk-kpi b { font-size: 15px; }
  .mk-kpi small { display: none; }
  .mk-split { grid-template-columns: 1fr; }
  .mk-split > .mk-card:nth-child(2) { display: none; }
  .mk-tr { padding: 9px 10px; font-size: 11.5px; gap: 6px; }
  .mk-tr .r .badge { padding: 0 6px; font-size: 10px; }
  .mk-ent small { display: none; }
  .mk-note { display: none; }
  .mk-bars { height: 84px; }
  .mk-chan { height: 30px; }
  .pillar { grid-template-columns: 1fr; gap: var(--s-3); }
  .suite-money .suite-grid, .suite-life .suite-grid, .suite-ops .suite-grid { grid-template-columns: 1fr; }
  .codes { grid-template-columns: 1fr; }
  .portal-list { grid-template-columns: 1fr; }
  .msg-log .ps-top, .msg-log .ml-thread, .msg-log .ps-cols { padding-right: 16px; }
  .ml-thread { padding: 16px; }
  .ml-bubble { margin-left: 0; }
  .ps-top { padding: 16px; flex-wrap: wrap; }
  .ps-cols { grid-template-columns: 1fr; gap: var(--s-4); padding: 16px; }
  .role-cols { grid-template-columns: 1fr; row-gap: 0; }
  .role { border-left: 0; padding: var(--s-6) 0; border-top: 1px solid var(--line); }
  .role:first-child { border-top: 0; padding-top: 0; }
  .rd-access { grid-template-columns: 1fr; }
  .rd-access::before, .rd-lines { display: none; }
  .rd-role { grid-template-columns: 8px auto 1fr; justify-items: start; text-align: left; align-items: center; column-gap: 10px; }
  .rd-role i { margin: 0; }
  .rd-role em { justify-self: end; text-align: right; }
  .rd-regions { grid-template-columns: 1fr; gap: 28px; }
  .cap-chips { grid-template-columns: 1fr; }
  .impl-callout { padding: var(--s-5); }
  .tl { grid-template-columns: 40px minmax(0, 1fr); gap: var(--s-4); }
  .tl-n { width: 40px; height: 40px; font-size: 12px; }
  .tl::before { left: 19.5px; top: 44px; }
  .tl > div { padding-top: 7px; }
  .tl.is-key > div { padding: var(--s-4); }
  .closing-actions .btn { flex: 1 1 100%; }
}

@media (max-width: 359px) {
  .tile-core-art { grid-template-columns: 1fr; }
  .cur-line { display: none; }
  .hv-alert { margin-left: 4%; }
  .hv-slip { margin-right: 8%; }
  .hv-d-n { display: none; }
  .hv-dues li { grid-template-columns: 40px minmax(0, 1fr); }
  .mk-kpi span { font-size: 10px; }
  .mk-kpi b { font-size: 14px; }
  .mk-tr { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr) auto; }
  .proof-grid { grid-template-columns: 1fr; }
  .metric, .metric:nth-child(odd) { border-left: 0; padding: var(--s-4) 0 0; border-top: 1px solid var(--line); }
  .metric:first-child { border-top: 0; padding-top: 0; }
  .rd-role { grid-template-columns: 8px 1fr; }
  .rd-role em { grid-column: 2; justify-self: start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .hv-termbar i, .hv-new { transition: none; }
  .pillar::before { transform: none; }
}
