/* Cleeng AI subpages — shared visual language with ai.html (light body, navy panels, grey dot fields). */
:root { --navy:#01062C; --green:#3FE0A3; --mono:ui-monospace,SFMono-Regular,Menlo,monospace; }
html, body { margin:0; font-family:'Inter', sans-serif; -webkit-font-smoothing:antialiased; background:#F6F8FB !important; color:#01062C; }
main { background:#F6F8FB; }
* { box-sizing:border-box; }
a { color:#01062C; } a:hover { color:#156B57; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.sr-only:focus { position:fixed; top:8px; left:8px; z-index:100; width:auto; height:auto; clip:auto; background:#fff; color:#000; padding:8px 16px; border-radius:999px; }

/* layout */
.sub-sec { padding:48px 12px; position:relative; }
.sub-sec--field { isolation:isolate; }
.sub-sec--field > .sub-wrap { position:relative; z-index:1; }
.sub-field { position:absolute; inset:0 12px; z-index:0; border-radius:24px; overflow:hidden; background:#EBEEF3; pointer-events:none; }
.sub-field canvas { position:absolute; inset:0; width:100%; height:100%; display:block; filter:invert(1) grayscale(1) brightness(1.02) opacity(0.26); }
.sub-sec--field > .sub-wrap { padding:56px 32px; }
@media (max-width:640px) { .sub-sec--field > .sub-wrap { padding:40px 20px; } }
.sub-wrap { max-width:1184px; margin:0 auto; }
.sub-hero { padding:12px 12px 0; }
.sub-hero__card { position:relative; overflow:hidden; border-radius:24px; background:#F6F8FB; padding:144px 24px 72px; }
.sub-hero__grid { max-width:1160px; margin:0 auto; display:grid; grid-template-columns:1fr; gap:40px; align-items:end; }
@media (min-width:1024px) { .sub-hero__grid { grid-template-columns:1.2fr 1fr; gap:56px; } }
.sub-hero__grid--stage { align-items:center; }
@media (min-width:1024px) { .sub-hero__grid--stage { grid-template-columns:minmax(0,1fr) minmax(0,1fr); } }
.sub-hero__copy { display:flex; flex-direction:column; align-items:flex-start; gap:24px; }
.sub-hero__copy .sub-lede { max-width:520px; }
.sub-hero__stage { position:relative; width:100%; aspect-ratio:1 / 1; max-height:560px; min-height:320px; }
@media (min-width:1024px) { .sub-hero__stage { aspect-ratio:auto; height:520px; } }
.sub-hero__stage-wrap { display:flex; width:100%; flex-direction:column; align-items:center; }
.sub-hero__caption { margin:10px 0 0; font-family:var(--mono); font-size:11px; letter-spacing:0.08em; color:rgba(1,6,44,0.45); }
.legal-ai-callout { margin:20px 0 0; border-left:2px solid rgba(18,150,110,0.45); padding:2px 0 2px 14px; font-size:13px; line-height:1.55; color:rgba(1,6,44,0.58); }
.sub-hero__stage::before { content:''; position:absolute; inset:-6%; z-index:0; pointer-events:none; filter:blur(28px) saturate(1.35); background:
  radial-gradient(44% 34% at 30% 40%, rgba(18,150,110,0.24) 0%, transparent 72%),
  radial-gradient(26% 48% at 70% 32%, rgba(18,150,110,0.24) 0%, transparent 68%),
  radial-gradient(48% 36% at 54% 72%, rgba(18,150,110,0.36) 0%, transparent 74%),
  radial-gradient(22% 30% at 40% 60%, rgba(18,150,110,0.13) 0%, transparent 66%),
  radial-gradient(30% 22% at 64% 54%, rgba(18,150,110,0.11) 0%, transparent 70%);
  mask-image:radial-gradient(closest-side at 50% 50%, #000 25%, transparent 100%); -webkit-mask-image:radial-gradient(closest-side at 50% 50%, #000 25%, transparent 100%); }
.sub-hero__stage canvas { position:absolute; inset:0; z-index:1; width:100%; height:100%; display:block; filter:invert(1); mix-blend-mode:multiply;
  mask-image:linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%); mask-composite:intersect;
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%); -webkit-mask-composite:source-in; }
.sub-hero__right { display:flex; flex-direction:column; align-items:flex-start; gap:24px; max-width:440px; }
.sub-kicker { font-family:var(--mono); font-size:12px; letter-spacing:0.16em; color:rgba(1,6,44,0.4); }
.sub-kicker--typed { display:inline-flex; align-items:center; min-height:16px; letter-spacing:0.14em; }
.sub-kicker__icon { width:14px; height:14px; margin-right:8px; flex:0 0 auto; opacity:0.72; }
.sub-kicker__text { white-space:pre; }
.sub-kicker__cursor { display:inline-block; width:0.6ch; margin-left:2px; color:rgba(1,6,44,0.58); animation:sub-kicker-blink 0.85s step-end infinite; }
.sub-kicker--typed.is-complete .sub-kicker__cursor { animation-delay:0.7s; }
@keyframes sub-kicker-blink { 50% { opacity:0; } }
@media (prefers-reduced-motion: reduce) { .sub-kicker__cursor { animation:none; } }
.sub-kicker--d { color:#3FE0A3; }
.sub-h1 { margin:14px 0 0; font-size:clamp(36px,3.9vw,54px); line-height:1.07; letter-spacing:-0.032em; font-weight:600; color:#000; text-wrap:balance; }
.sub-lede { margin:0; font-size:18px; line-height:1.45; color:rgba(0,0,0,0.6); text-wrap:pretty; }
.sub-lede strong { color:#000; font-weight:600; }
.sub-btns { display:flex; flex-wrap:wrap; gap:12px; }
.btn-navy, .btn-line, .btn-green, .btn-line-d { display:inline-flex; align-items:center; border-radius:999px; padding:12px 24px; font-size:14px; font-weight:500; text-decoration:none; white-space:nowrap; transition:background .2s ease, color .2s ease, filter .2s ease; }
.btn-navy { background:#01062C; color:#fff; } .btn-navy:hover { background:#0a1240; color:#fff; }
.btn-line { border:1px solid #000; color:#000; } .btn-line:hover { background:rgba(0,0,0,0.05); color:#000; }
.btn-green { background:#3FE0A3; color:#062119; font-weight:600; } .btn-green:hover { filter:brightness(1.06); color:#062119; }
.btn-line-d { border:1px solid rgba(255,255,255,0.35); color:#fff; } .btn-line-d:hover { background:rgba(255,255,255,0.08); color:#fff; }
.works { margin-top:36px; font-family:var(--mono); font-size:11px; letter-spacing:0.14em; color:rgba(1,6,44,0.4); }

/* headings */
.sub-head { max-width:760px; }
.sub-head--c { margin:0 auto; text-align:center; }
.sub-head--c .sub-sub { margin-left:auto; margin-right:auto; }
.sub-h2 { margin:8px 0 0; font-size:clamp(30px,3vw,38px); font-weight:600; line-height:1.1; letter-spacing:-0.03em; color:#01062C; text-wrap:balance; }
.sub-sub { margin:16px 0 0; max-width:620px; font-size:17px; line-height:1.6; color:rgba(1,6,44,0.6); text-wrap:pretty; }
.sub-sub strong, .lead-b { color:#01062C; font-weight:600; }
.sub-h2--d { color:#fff; } .sub-sub--d { color:rgba(255,255,255,0.7); } .sub-sub--d strong { color:#fff; }
.lead-b { margin:32px 0 16px; font-size:16px; }
.sub-dark { border-radius:24px; background:#01062C; padding:56px 32px; box-shadow:0 34px 70px -28px rgba(1,6,44,0.5); }
.sub-dark--full { max-width:none; }
.sub-dark--full > .sub-inner { max-width:1184px; margin:0 auto; }
@media (max-width:640px) { .sub-dark { padding:40px 20px; } }

/* Clean product demo: it starts contained, then takes more of the canvas as it enters view. */
.demo-video-section { padding:72px 12px 88px; overflow:clip; }
.demo-video-frame { position:relative; isolation:isolate; width:100%; max-width:1184px; margin:0 auto; transform:scale(1); transform-origin:center center; transition:transform 1.25s cubic-bezier(0.22,1,0.36,1); will-change:transform; }
.demo-video-frame::before { content:""; position:absolute; z-index:-1; inset:16% 6% -16%; border-radius:42%; background:rgba(1,6,44,0.36); filter:blur(70px); opacity:0.24; transform:scale(0.9); transition:opacity 1.25s ease, transform 1.25s cubic-bezier(0.22,1,0.36,1); pointer-events:none; }
.demo-video-frame.is-in { transform:scale(1.055); }
.demo-video-frame.is-in::before { opacity:0.62; transform:scale(1.14); }
.demo-video { display:block; width:100%; aspect-ratio:16 / 9; object-fit:cover; border:0; border-radius:20px; background:#01062C; box-shadow:0 28px 70px -28px rgba(1,6,44,0.45); }
@media (max-width:760px) { .demo-video-section { padding:44px 12px 56px; } .demo-video-frame.is-in { transform:scale(1); } .demo-video { border-radius:14px; } }
@media (prefers-reduced-motion:reduce) { .demo-video-frame, .demo-video-frame::before { transition:none; } .demo-video-frame { transform:none; } }

/* grids */
.sub-grid { display:grid; grid-template-columns:1fr; gap:24px; margin-top:44px; }
.sub-grid--tight { gap:16px; }
@media (min-width:860px) { .sub-grid--2 { grid-template-columns:1fr 1fr; } }
@media (min-width:900px) { .sub-grid--3 { grid-template-columns:repeat(3,1fr); } .sub-grid--4 { grid-template-columns:repeat(4,1fr); } }
@media (min-width:600px) and (max-width:899px) { .sub-grid--4 { grid-template-columns:1fr 1fr; } }
.split { display:grid; grid-template-columns:1fr; gap:32px; align-items:start; }
@media (min-width:880px) { .split { grid-template-columns:1fr 1fr; gap:56px; } }

/* white cards (cc-card) */
.card { position:relative; overflow:hidden; background:#fff; border:1px solid rgba(1,6,44,0.07); border-radius:18px; padding:32px 34px 30px; display:flex; flex-direction:column; gap:14px; transition:box-shadow .3s ease, transform .3s ease; }
.card:hover { box-shadow:0 18px 44px rgba(1,6,44,0.07); transform:translateY(-2px); }
.card > * { position:relative; z-index:1; }
.card-dots { position:absolute; right:0; bottom:0; width:62%; height:72%; z-index:0; pointer-events:none; overflow:hidden;
  mask-image:linear-gradient(300deg, #000 0%, rgba(0,0,0,0.35) 45%, transparent 78%);
  -webkit-mask-image:linear-gradient(300deg, #000 0%, rgba(0,0,0,0.35) 45%, transparent 78%); }
.card:hover .card-dots, .card:focus-within .card-dots { opacity:1; }
.card-dots canvas { opacity:0; transition:opacity .4s ease; position:absolute; inset:0; width:100%; height:100%; display:block; filter:invert(1) grayscale(1) brightness(0.98) opacity(0.7); }
.card-dots { background-image:radial-gradient(rgba(1,6,44,0.16) 1.2px, transparent 1.3px); background-size:11px 11px; }
.card:hover .card-dots canvas, .card:focus-within .card-dots canvas { opacity:1; }
.card-ico { width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background:#EEF0F4; color:rgba(1,6,44,0.7); }
.card-ico svg { width:22px; height:22px; display:block; }
.card-num { font-family:'Inter', sans-serif; font-size:32px; line-height:1; font-weight:400; letter-spacing:-0.01em; color:rgba(1,6,44,0.18); }
.card-title { margin:8px 0 0; font-size:22px; font-weight:600; letter-spacing:-0.02em; color:#01062C; }
.card-title--s { font-size:18px; }
.card-body { margin:0; font-size:15px; line-height:1.6; color:rgba(1,6,44,0.55); max-width:50ch; }
.card-body strong { color:#01062C; font-weight:600; }
.card-link { margin-top:auto; padding-top:16px; font-family:var(--mono); font-size:12.5px; letter-spacing:0.02em; color:rgba(1,6,44,0.6); text-decoration:none; }
.card-link:hover { color:#01062C; }
.card-lab { font-family:var(--mono); font-size:11px; letter-spacing:0.14em; color:rgba(1,6,44,0.4); }

/* navy tiles (dv-row) */
.tile { background:linear-gradient(180deg,#1B2246 0%,#131A38 100%); border:1px solid rgba(255,255,255,0.12); border-radius:16px; padding:26px 24px; box-shadow:0 14px 24px -12px rgba(0,0,0,0.65), 0 1px 0 rgba(255,255,255,0.06) inset; display:flex; flex-direction:column; gap:10px; }
.tile .n { font-family:var(--mono); font-size:13px; letter-spacing:0.1em; color:#3FE0A3; }
.tile h3 { margin:4px 0 0; font-size:18px; font-weight:600; color:#fff; letter-spacing:-0.01em; }
.tile p { margin:0; font-size:14.5px; line-height:1.55; color:rgba(255,255,255,0.6); text-wrap:pretty; }
.tile p strong { color:#fff; font-weight:600; }

/* lists */
.clist { list-style:none; margin:0; padding:0; display:grid; gap:12px; }
@media (min-width:760px) { .clist--2 { grid-template-columns:1fr 1fr; gap:12px 32px; } }
.clist li { position:relative; padding-left:30px; font-size:16px; line-height:1.55; color:rgba(1,6,44,0.7); text-wrap:pretty; }
.clist li strong { color:#01062C; font-weight:600; }
.clist li::before { content:''; position:absolute; left:0; top:3px; width:18px; height:18px; border-radius:6px; background:#E4F7EF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230B5C43' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5l2.5 2.5 4.5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
.clist--x li::before { background:#EEF0F4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2301062C' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 3l6 6M9 3l-6 6'/%3E%3C/svg%3E") center/10px no-repeat; }
.clist--d li { color:rgba(255,255,255,0.72); } .clist--d li strong { color:#fff; }
.clist--d li::before { background-color:rgba(63,224,163,0.18); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%233FE0A3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5l2.5 2.5 4.5-5'/%3E%3C/svg%3E"); }
.clist--d.clist--x li::before { background-color:rgba(255,255,255,0.1); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 3l6 6M9 3l-6 6'/%3E%3C/svg%3E"); }
.quote { margin-top:28px; border-radius:14px; background:#fff; border:1px solid rgba(1,6,44,0.07); padding:18px 22px; font-size:15.5px; line-height:1.6; color:#01062C; display:flex; gap:16px; }
.quote::before { content:''; width:3px; border-radius:3px; background:#3FE0A3; flex:none; }
.quote p { margin:0; }
.qlist { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.qlist li { background:#fff; border:1px solid rgba(1,6,44,0.07); border-radius:12px; padding:16px 20px; display:flex; gap:16px; align-items:baseline; font-size:16px; color:#01062C; }
.qlist .n { font-family:var(--mono); font-size:12px; color:#12A06E; flex:none; }
.surf { list-style:none; margin:20px 0 0; padding:0; display:grid; gap:10px; }
.surf li { background:#fff; border:1px solid rgba(1,6,44,0.07); border-radius:12px; padding:14px 18px; font-size:15.5px; color:#01062C; display:flex; gap:14px; align-items:center; }
.surf .dot { width:7px; height:7px; border-radius:999px; background:#12A06E; flex:none; }
.rev { display:grid; grid-template-columns:1fr; gap:12px; margin-top:24px; }
@media (min-width:600px) { .rev { grid-template-columns:1fr 1fr; } }
@media (min-width:960px) { .rev { grid-template-columns:repeat(4,1fr); } }
.rev div { border-radius:12px; border:1px solid rgba(255,255,255,0.12); background:rgba(255,255,255,0.04); padding:16px 18px; font-size:14.5px; line-height:1.5; color:rgba(255,255,255,0.82); }
.tags { display:flex; flex-wrap:wrap; gap:8px; }
.tag { padding:6px 13px; border:1px solid rgba(1,6,44,0.12); border-radius:999px; font-size:13px; color:rgba(1,6,44,0.65); }
.confirm-pill { display:inline-block; margin-top:14px; font-family:var(--mono); font-size:11px; letter-spacing:0.08em; color:#8a5a00; background:#FDF1DC; border-radius:999px; padding:6px 12px; }

/* pills (agent-team tabs) */
.pills { display:flex; flex-wrap:wrap; gap:8px; margin-top:36px; }
.pills--c { justify-content:center; }
.pill { display:inline-flex; align-items:center; justify-content:center; gap:0; min-height:40px; padding:7px 16px; border:1px solid rgba(1,6,44,0.14); border-radius:999px; background:#fff; color:rgba(1,6,44,0.75); font:inherit; font-size:14.5px; font-weight:500; cursor:pointer; white-space:nowrap;
  transition:background .35s cubic-bezier(.34,1.56,.64,1), color .3s ease, border-color .3s ease, padding .35s cubic-bezier(.34,1.56,.64,1), gap .35s cubic-bezier(.34,1.56,.64,1); }
.pill:hover { border-color:rgba(1,6,44,0.28); }
.pill-ico { display:flex; align-items:center; justify-content:center; width:0; height:20px; opacity:0; transform:scale(0.3) rotate(-30deg); overflow:hidden; transition:width .38s cubic-bezier(.34,1.56,.64,1), opacity .25s ease, transform .45s cubic-bezier(.34,1.56,.64,1); }
.pill-ico svg { width:13px; height:13px; flex-shrink:0; }
.pill.is-active { gap:8px; padding:7px 18px 7px 10px; animation:pill-squash .5s cubic-bezier(.34,1.56,.64,1); }
.pill.is-active .pill-ico { width:20px; opacity:1; transform:none; }
.pill.is-active[data-tone="green"] { background:#E4F7EF; border-color:rgba(18,150,110,0.35); color:#0B5C43; }
.pill.is-active[data-tone="blue"] { background:#E3F1FC; border-color:rgba(36,118,196,0.35); color:#0A4A78; }
.pill.is-active[data-tone="purple"] { background:#ECE8FC; border-color:rgba(108,88,214,0.35); color:#4A3A9E; }
.pill.is-active[data-tone="grass"] { background:#EEF6DD; border-color:rgba(101,163,13,0.35); color:#4A6B10; }
.pill.is-active[data-tone="navy"] { background:#E6E9F2; border-color:rgba(1,6,44,0.3); color:#01062C; }
@keyframes pill-squash { 0% { transform:scaleX(0.96) scaleY(1.06); } 50% { transform:scaleX(1.04) scaleY(0.96); } 100% { transform:none; } }
.stage { margin-top:20px; position:relative; display:grid; border:1px solid rgba(1,6,44,0.07); border-radius:18px; background:#fff; padding:32px; }
@media (max-width:640px) { .stage { padding:22px; } }
.panel { grid-area:1 / 1; visibility:hidden; opacity:0; pointer-events:none; }
.panel.is-active { visibility:visible; opacity:1; pointer-events:auto; }
.panel.is-active > * { animation:at-in .45s cubic-bezier(0.22,1,0.36,1) both; }
.panel.is-active > *:nth-child(2) { animation-delay:.05s; } .panel.is-active > *:nth-child(3) { animation-delay:.1s; } .panel.is-active > *:nth-child(4) { animation-delay:.15s; } .panel.is-active > *:nth-child(5) { animation-delay:.2s; }
@keyframes at-in { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
.panel-h3 { margin:0; font-size:24px; font-weight:600; color:#01062C; letter-spacing:-0.02em; }
.panel-desc { margin:10px 0 0; font-size:16px; line-height:1.55; color:rgba(1,6,44,0.6); text-wrap:pretty; max-width:70ch; }
.panel-rule { height:1px; background:rgba(1,6,44,0.08); margin:24px 0 18px; }
.panel-lab { font-family:var(--mono); font-size:11px; letter-spacing:0.14em; color:rgba(1,6,44,0.35); }
.uc-prompt { margin:16px 0 0; padding:14px 18px; background:#F6F8FB; border:1px solid rgba(1,6,44,0.07); border-radius:12px; font-family:var(--mono); font-size:13.5px; color:#12A06E; }
.uc-grid { display:grid; grid-template-columns:1fr; gap:24px; align-items:start; }
@media (min-width:820px) { .uc-grid { grid-template-columns:minmax(0,1fr) minmax(0,360px); gap:32px; } }
.uc-side { display:flex; flex-direction:column; gap:14px; }

/* role explorer + chat (mcp) */
.rex { display:grid; grid-template-columns:1fr; gap:20px; margin-top:20px; }
@media (min-width:940px) { .rex { grid-template-columns:0.85fr 1.15fr; } }
.rpanel { background:#fff; border:1px solid rgba(1,6,44,0.07); border-radius:18px; padding:28px 26px; }
.caps { margin-top:18px; border-top:1px solid rgba(1,6,44,0.08); display:flex; flex-direction:column; }
.cap { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:11px 0; border-bottom:1px solid rgba(1,6,44,0.08); font-size:14.5px; color:#01062C; animation:at-in .4s ease both; }
.chip { font-family:var(--mono); font-size:10px; letter-spacing:0.1em; text-transform:uppercase; padding:4px 9px; border-radius:6px; white-space:nowrap; }
.chip--read { background:#F0F2F6; color:rgba(1,6,44,0.5); }
.chip--confirm { background:#E4F7EF; color:#0B5C43; }
.chat { border-radius:16px; background:#FDFDFE; border:1px solid rgba(1,6,44,0.06); display:flex; flex-direction:column; min-height:460px; overflow:hidden; }
.chat-bar { display:flex; align-items:center; gap:10px; padding:12px 16px; border-bottom:1px solid rgba(1,6,44,0.07); font-family:var(--mono); font-size:11px; letter-spacing:0.12em; color:rgba(1,6,44,0.4); }
.chat-dots { display:inline-flex; gap:5px; margin-right:4px; } .chat-dots span { width:8px; height:8px; border-radius:999px; background:rgba(1,6,44,0.12); }
.chat-live { width:7px; height:7px; border-radius:999px; background:#12A06E; }
.chat-reset { margin-left:auto; font:inherit; letter-spacing:0.1em; color:rgba(1,6,44,0.4); background:none; border:0; cursor:pointer; padding:0; } .chat-reset:hover { color:#01062C; }
.chat-body { flex:1; padding:18px; display:flex; flex-direction:column; gap:12px; }
.msg { max-width:88%; font-size:14.5px; line-height:1.55; border-radius:14px; padding:12px 15px; animation:at-in .35s ease both; }
.msg--you { align-self:flex-end; background:#01062C; color:#fff; border-bottom-right-radius:5px; }
.msg--ai { align-self:flex-start; background:#fff; border:1px solid rgba(1,6,44,0.07); color:#01062C; border-bottom-left-radius:5px; }
.msg--ai b { font-weight:600; }
.msg--ai .src { display:block; margin-top:10px; padding-top:8px; border-top:1px solid rgba(1,6,44,0.07); font-family:var(--mono); font-size:10.5px; letter-spacing:0.1em; color:rgba(1,6,44,0.4); }
.msg--sys { align-self:flex-start; border:1px dashed rgba(1,6,44,0.18); color:rgba(1,6,44,0.45); font-family:var(--mono); font-size:11px; letter-spacing:0.08em; padding:9px 12px; border-radius:10px; }
.confirm-box { align-self:stretch; background:#fff; border:1px solid rgba(63,224,163,0.8); border-radius:14px; padding:14px 16px; display:flex; flex-wrap:wrap; align-items:center; gap:12px; animation:at-in .35s ease both; }
.confirm-box p { margin:0; flex:1 1 200px; font-size:14px; line-height:1.5; color:#01062C; }
.cbtn { font:inherit; font-size:13px; font-weight:600; border-radius:999px; padding:8px 16px; border:1px solid rgba(1,6,44,0.14); background:#fff; color:rgba(1,6,44,0.7); cursor:pointer; }
.cbtn--go { background:#01062C; border-color:#01062C; color:#fff; } .cbtn--go:hover { background:#0a1240; }
.cbtn--no:hover { background:#F6F8FB; color:#01062C; }
.typing { display:inline-flex; gap:4px; align-items:center; height:14px; }
.typing i { width:5px; height:5px; border-radius:50%; background:rgba(1,6,44,0.35); animation:blip 1.1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay:.16s; } .typing i:nth-child(3) { animation-delay:.32s; }
@keyframes blip { 0%,60%,100% { opacity:.25; transform:translateY(0); } 30% { opacity:1; transform:translateY(-3px); } }
.prompts { border-top:1px solid rgba(1,6,44,0.07); padding:14px 16px 16px; }
.prompts .lab { margin:0 0 10px; font-family:var(--mono); font-size:10.5px; letter-spacing:0.14em; color:rgba(1,6,44,0.4); }
.pbtns { display:flex; flex-wrap:wrap; gap:8px; }
.pbtn { font:inherit; font-size:13.5px; line-height:1.4; text-align:left; cursor:pointer; color:#01062C; background:#fff; border:1px solid rgba(1,6,44,0.1); border-radius:10px; padding:9px 13px; transition:border-color .15s ease, background .15s ease; }
.pbtn:hover { border-color:rgba(18,150,110,0.5); background:#E4F7EF; }
.pbtn[disabled] { opacity:.4; cursor:default; border-color:rgba(1,6,44,0.1); background:#fff; }
.legend { margin-top:22px; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; text-align:center; gap:8px; font-size:14px; color:rgba(1,6,44,0.55); line-height:1.7; }

/* table */
.tbl-wrap { margin-top:44px; border-radius:18px; border:1px solid rgba(1,6,44,0.07); background:#fff; overflow:hidden; }
.tbl { width:100%; border-collapse:collapse; font-size:15px; }
.tbl th, .tbl td { text-align:left; vertical-align:top; padding:18px 22px; border-bottom:1px solid rgba(1,6,44,0.07); }
.tbl thead th { font-family:var(--mono); font-size:11px; font-weight:500; letter-spacing:0.14em; color:rgba(1,6,44,0.4); background:#FAFBFD; }
.tbl tbody tr:last-child td { border-bottom:0; }
.tbl td { line-height:1.6; color:rgba(1,6,44,0.65); }
.tbl td:first-child { color:#01062C; font-weight:600; width:22%; }
@media (max-width:860px) {
  .tbl thead { display:none; }
  .tbl tr { display:block; border-bottom:1px solid rgba(1,6,44,0.07); padding:10px 0; }
  .tbl tbody tr:last-child { border-bottom:0; }
  .tbl td { display:block; border-bottom:0; padding:6px 22px; width:auto !important; }
  .tbl td:not(:first-child)::before { content:attr(data-l); display:block; font-family:var(--mono); font-size:10px; letter-spacing:0.12em; text-transform:uppercase; color:rgba(1,6,44,0.4); margin-bottom:4px; }
}

/* faq: layout block near end of file */
.needs { margin-top:10px; border:1px dashed rgba(1,6,44,0.2); border-radius:10px; background:#F6F8FB; padding:12px 16px; font-family:var(--mono); font-size:12px; line-height:1.7; color:rgba(1,6,44,0.5); }
.needs .h { display:block; letter-spacing:0.1em; text-transform:uppercase; color:rgba(1,6,44,0.7); }

/* cross links + cta */
.xlinks { display:grid; grid-template-columns:1fr; gap:16px; margin-top:32px; }
@media (min-width:820px) { .xlinks { grid-template-columns:repeat(3,1fr); } }
.xlink { text-decoration:none; padding:26px 28px; gap:8px; }
.dot-ico { width:84px; height:84px; margin:-6px 0 10px -6px; } .dot-ico svg { width:100%; height:100%; display:block; }
.dot-ico svg circle { transform-box:fill-box; transform-origin:center; }
.xlink:hover .dot-ico svg circle { animation:dotico-cycle .7s ease-in-out both; animation-delay:calc(var(--dot-i, 0) * 16ms); }
@keyframes dotico-cycle {
  0% { opacity:1; fill-opacity:1; transform:scale(1); }
  32% { opacity:0; fill-opacity:0; transform:scale(0); }
  64% { opacity:0; fill-opacity:0; transform:scale(0); }
  100% { opacity:1; fill-opacity:1; transform:scale(1); }
}
@media (prefers-reduced-motion:reduce) { .xlink:hover .dot-ico svg circle { animation:none; } }
.xlink h4 { margin:0; font-size:18px; font-weight:600; color:#01062C; letter-spacing:-0.01em; }
.xlink p { margin:0; font-size:14.5px; line-height:1.55; color:rgba(1,6,44,0.6); }
.cta { border-radius:24px; background:#01062C; padding:72px 32px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:20px; }
.cta .sub-h2 { color:#fff; max-width:22ch; }
.cta p { margin:0; max-width:56ch; font-size:17px; line-height:1.5; color:rgba(255,255,255,0.7); text-wrap:pretty; }
.cta .sub-btns { justify-content:center; }
.cta-fine { margin:0; font-family:var(--mono); font-size:11px; letter-spacing:0.1em; color:rgba(255,255,255,0.45); }

@media (prefers-reduced-motion: reduce) { .pill, .pill-ico, .panel.is-active > *, .msg, .cap, .typing i { animation:none !important; transition:none !important; } }

/* dark table variant */
.tbl-wrap--d { border-color:rgba(255,255,255,0.1); background:rgba(255,255,255,0.03); }
.tbl--d th, .tbl--d td { border-bottom-color:rgba(255,255,255,0.09); }
.tbl--d thead th { color:rgba(255,255,255,0.45); background:rgba(255,255,255,0.04); }
.tbl--d td { color:rgba(255,255,255,0.68); }
.tbl--d td:first-child { color:#fff; }
@media (max-width:860px) {
  .tbl--d tr { border-bottom-color:rgba(255,255,255,0.09); }
  .tbl--d td:not(:first-child)::before { color:rgba(255,255,255,0.45); }
}

/* dark section: flow + review tiles */
.flow { display:grid; grid-template-columns:1fr; gap:12px; margin-top:36px; }
@media (min-width:880px) { .flow { grid-template-columns:repeat(3,1fr); } }
.flow > div { position:relative; border-radius:16px; border:1px solid rgba(255,255,255,0.08); background:rgba(255,255,255,0.02); padding:22px 24px; transition:border-color .35s ease, background-color .35s ease, transform .35s ease; }
.flow > div:hover { border-color:rgba(63,224,163,0.22); background:rgba(255,255,255,0.03); transform:translateY(-2px); }
.flow .n { display:block; font-family:var(--mono); font-size:11px; letter-spacing:0.14em; color:#3FE0A3; margin-bottom:12px; }
.flow p { margin:0; font-size:15px; line-height:1.6; color:rgba(255,255,255,0.7); text-wrap:pretty; }
.flow p strong { color:#fff; font-weight:600; }
.rev-head { display:flex; flex-direction:column; gap:6px; margin-top:52px; padding-top:40px; border-top:1px solid rgba(255,255,255,0.08); }
.rev--ico { grid-template-columns:1fr; margin-top:24px; }
@media (min-width:600px) { .rev--ico { grid-template-columns:1fr 1fr; } }
@media (min-width:960px) { .rev--ico { grid-template-columns:repeat(4,1fr); } }
.rev--ico div { display:flex; flex-direction:column; gap:14px; padding:18px 18px 20px; border-radius:14px; border:1px solid rgba(255,255,255,0.08); background:rgba(255,255,255,0.02); transition:border-color .35s ease, background-color .35s ease, transform .35s ease; }
.rev--ico div:hover { border-color:rgba(63,224,163,0.22); background:rgba(255,255,255,0.03); transform:translateY(-2px); }
.rev--ico svg { width:22px; height:22px; color:#3FE0A3; flex:none; }
.rev--ico span { font-size:14.5px; line-height:1.5; color:rgba(255,255,255,0.82); }

/* FAQ: solutions-page layout (flat rows, hairline rules, chevron) */
.faq-list { max-width:884px; margin:56px auto 0; display:flex; flex-direction:column; gap:0; }
.faq { border:0; border-top:1px solid rgba(1,6,44,0.08); border-radius:0; background:transparent; padding:0; }
.faq > summary { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:28px 0; font-size:20px; font-weight:600; line-height:1.35; color:#01062C; letter-spacing:-0.015em; cursor:pointer; list-style:none; }
.faq > summary::-webkit-details-marker { display:none; }
.faq-chev { flex:none; color:rgba(1,6,44,0.35); transition:transform .3s ease; }
.faq[open] .faq-chev { transform:rotate(180deg); }
.faq .a { padding:0 0 32px; max-width:820px; }
.faq .a p { margin:0 0 12px; font-size:16px; line-height:1.65; color:rgba(1,6,44,0.6); text-wrap:pretty; }
.faq .a p:last-child { margin-bottom:0; }

/* light (white-card) variant of the navy tiles */
.tiles--light .tile { background:#fff; border:1px solid rgba(1,6,44,0.07); box-shadow:0 1px 3px rgba(1,6,44,0.04), 0 4px 12px rgba(1,6,44,0.03); }
.tiles--light .tile .n { color:rgba(1,6,44,0.18); font-family:'Inter', sans-serif; font-size:32px; line-height:1; font-weight:400; letter-spacing:-0.01em; }
.tiles--light .tile h3 { color:#01062C; }
.tiles--light .tile p { color:rgba(1,6,44,0.6); }
.tiles--light .tile p strong { color:#01062C; }

/* pills: AI-page tab treatment — full-width rounded squares with tinted icon tile */
.pills { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
@media (min-width:720px) { .pills { grid-template-columns:repeat(4,minmax(0,1fr)); } }
.pill { width:100%; min-height:52px; padding:12px 14px; border-radius:12px; }
.pill.is-active { padding:12px 14px; }
.pill-ico { width:0; height:26px; border-radius:8px; background:rgba(1,6,44,0.06); }
.pill-ico svg { width:16px; height:16px; }
.pill.is-active .pill-ico { width:26px; }
.pill.is-active[data-tone="green"] .pill-ico { background:rgba(18,150,110,0.18); }
.pill.is-active[data-tone="blue"] .pill-ico { background:rgba(36,118,196,0.18); }
.pill.is-active[data-tone="purple"] .pill-ico { background:rgba(108,88,214,0.18); }
.pill.is-active[data-tone="grass"] .pill-ico { background:rgba(101,163,13,0.2); }
.pill.is-active[data-tone="navy"] .pill-ico { background:rgba(1,6,44,0.12); }

/* minimalist browser window mock */
.bwin { max-width:900px; margin:44px auto 0; border-radius:14px; border:1px solid rgba(1,6,44,0.09); background:#fff; overflow:hidden; box-shadow:0 1px 3px rgba(1,6,44,0.05), 0 24px 48px -24px rgba(1,6,44,0.18); }
.bwin__bar { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:16px; padding:12px 16px; border-bottom:1px solid rgba(1,6,44,0.07); background:#FBFCFE; }
.bwin__dots { display:flex; gap:7px; }
.bwin__dots i { width:10px; height:10px; border-radius:999px; background:rgba(1,6,44,0.12); }
.bwin__url { justify-self:center; display:flex; align-items:center; gap:8px; min-width:min(340px,52vw); padding:6px 14px; border-radius:999px; border:1px solid rgba(1,6,44,0.08); background:#fff; font-family:var(--mono); font-size:12px; color:rgba(1,6,44,0.55); }
.bwin__url svg { width:12px; height:12px; color:#12A06E; flex:none; }
.bwin__body { padding:34px 36px 38px; }
.bwin__label { font-family:var(--mono); font-size:11px; letter-spacing:0.14em; color:rgba(1,6,44,0.38); }
.bwin__h { margin:10px 0 0; font-size:20px; font-weight:600; letter-spacing:-0.015em; color:#01062C; }
.bwin__field { margin-top:20px; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 16px; border-radius:10px; border:1px solid rgba(1,6,44,0.1); background:#FBFCFE; font-family:var(--mono); font-size:13px; color:#01062C; }
.bwin__field span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bwin__ok { display:inline-flex; align-items:center; gap:7px; flex:none; padding:5px 12px; border-radius:999px; background:#E4F7EF; color:#0B5C43; font-family:var(--mono); font-size:11px; letter-spacing:0.1em; }
.bwin__ok i { width:6px; height:6px; border-radius:999px; background:#12A06E; }
.bwin__note { margin:16px 0 0; font-size:14.5px; line-height:1.6; color:rgba(1,6,44,0.55); }

/* oauth consent mock inside .bwin */
.bwin--wide { max-width:1184px; }
.bwin__bar--left { grid-template-columns:auto 1fr; }
.bwin__bar--left .bwin__url { justify-self:stretch; min-width:0; border-radius:8px; padding:7px 14px; color:rgba(1,6,44,0.6); }
.bwin__bar--left .bwin__url svg { color:rgba(1,6,44,0.4); }
.bwin__bar .bwin__dots--rgb i:nth-child(1) { background:#FF5F57; } .bwin__bar .bwin__dots--rgb i:nth-child(2) { background:#FEBC2E; } .bwin__bar .bwin__dots--rgb i:nth-child(3) { background:#28C840; }
.oauth { display:grid; grid-template-columns:1fr; background:#F7F8FA; }
@media (min-width:900px) { .oauth { grid-template-columns:minmax(0,1fr) 380px; } }
.oauth__main { position:relative; padding:28px 32px 52px; display:flex; flex-direction:column; align-items:center; }
.oauth__logo { align-self:flex-start; height:14px; width:auto; display:block; filter:brightness(0.86) saturate(1.1); }
.oauth__card { width:100%; max-width:560px; margin-top:22px; zoom:0.8; background:#fff; border:1px solid rgba(1,6,44,0.07); border-radius:14px; padding:26px 24px 24px; box-shadow:0 1px 3px rgba(1,6,44,0.04), 0 10px 24px -14px rgba(1,6,44,0.12); }
.oauth__h { margin:0; font-size:19px; line-height:1.3; white-space:nowrap; font-weight:600; letter-spacing:-0.015em; color:#01062C; }
.oauth__p { margin:12px 0 0; font-size:13px; line-height:1.55; color:rgba(1,6,44,0.6); }
.oauth__acct { margin-top:18px; display:flex; align-items:center; gap:12px; padding:12px 14px; border:1px solid rgba(1,6,44,0.1); border-radius:10px; }
.oauth__av { width:36px; height:36px; border-radius:8px; background:#F1F3F6; display:grid; place-items:center; font-size:12px; font-weight:600; color:#01062C; flex:none; }
.oauth__acct b { display:block; font-size:13.5px; font-weight:600; color:#01062C; }
.oauth__acct small { display:block; font-size:12px; color:rgba(1,6,44,0.55); margin-top:2px; }
.oauth__sw { margin-left:auto; font-size:12px; font-weight:500; color:#12966E; text-decoration:underline; text-underline-offset:2px; white-space:nowrap; }
.oauth__sec { margin:22px 0 0; font-size:14px; font-weight:600; color:#01062C; }
.oauth__row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0; border-bottom:1px solid rgba(1,6,44,0.08); }
.oauth__row:last-of-type { border-bottom:0; }
.oauth__row span { font-size:13.5px; font-weight:600; color:#01062C; line-height:1.35; }
.oauth__seg { display:flex; gap:5px; flex:none; }
.oauth__seg i { font-style:normal; font-size:11.5px; font-weight:500; padding:4px 10px; border-radius:999px; border:1px solid rgba(1,6,44,0.12); color:rgba(1,6,44,0.7); background:#fff; }
.oauth__seg i.on { border-color:#12966E; color:#12966E; font-weight:600; }
.oauth__seg i.off { color:rgba(1,6,44,0.3); background:#F7F8FA; border-color:rgba(1,6,44,0.06); }
.oauth__fine { margin:16px 0 0; font-size:12px; line-height:1.55; color:rgba(1,6,44,0.5); }
.oauth__btn { margin-top:18px; display:flex; align-items:center; justify-content:center; height:40px; border-radius:8px; font-size:14px; font-weight:600; }
.oauth__btn--go { background:#4CAF85; color:#fff; }
.oauth__btn--no { margin-top:8px; background:#fff; color:#01062C; border:1px solid rgba(1,6,44,0.12); }
.oauth__redir { margin:14px 0 0; text-align:center; font-size:12px; color:rgba(1,6,44,0.5); }
.oauth__redir b { color:#01062C; font-weight:600; }
.oauth__side { display:none; position:relative; overflow:hidden; background:#0B1230; color:#fff; padding:56px 28px 40px; text-align:center; margin:22px 28px 22px 0; border-radius:14px; }
@media (min-width:900px) { .oauth__side { display:flex; flex-direction:column; align-items:center; } }
.oauth__side::before { content:''; position:absolute; inset:0; background:radial-gradient(60% 40% at 50% 100%, rgba(63,224,163,0.55) 0%, rgba(63,224,163,0) 70%), radial-gradient(70% 45% at 50% 0%, #1A2450 0%, transparent 70%); pointer-events:none; }
.oauth__side > * { position:relative; }
.oauth__side h4 { margin:0; font-size:22px; font-weight:600; letter-spacing:-0.015em; }
.oauth__side p { margin:8px 0 0; font-size:13.5px; color:rgba(255,255,255,0.75); }
.oauth__shot { display:block; width:78%; max-width:280px; height:auto; margin:28px auto; }
.oauth__tag { margin:0; font-size:13.5px; color:rgba(255,255,255,0.85); }
.oauth__pg { margin-top:auto; padding-top:32px; display:flex; gap:6px; align-items:center; }
.oauth__pg i { width:6px; height:6px; border-radius:999px; background:rgba(255,255,255,0.55); } .oauth__pg i:first-child { width:28px; background:#fff; }

/* consent card: reveal when scrolled into view */
@keyframes oauthIn { from { opacity:0; transform:translateY(18px) scale(0.985); } to { opacity:1; transform:none; } }
.oauth__card { opacity:0; }
.oauth__card.is-in { animation:oauthIn .7s cubic-bezier(0.22,1,0.36,1) both; }
@media (prefers-reduced-motion: reduce) { .oauth__card { opacity:1; } .oauth__card.is-in { animation:none; } }

/* one-time "tap here" hint on the prompt buttons */
.pbtns { position:relative; }
.pbtn.is-hinted { border-color:rgba(18,150,110,0.5); background:#E4F7EF; }
.tap-hint { position:absolute; z-index:3; width:26px; height:26px; pointer-events:none; color:#01062C; opacity:0; filter:drop-shadow(0 2px 4px rgba(1,6,44,0.25)); animation:tapHint 2.6s cubic-bezier(0.22,1,0.36,1) both; }
.tap-hint svg { width:100%; height:100%; display:block; }
@keyframes tapHint {
  0%   { opacity:0; transform:translate(28px,34px) scale(1); }
  22%  { opacity:1; transform:translate(0,0) scale(1); }
  40%  { transform:translate(0,0) scale(1); }
  48%  { transform:translate(0,0) scale(0.86); }
  58%  { transform:translate(0,0) scale(1); }
  82%  { opacity:1; transform:translate(0,0) scale(1); }
  100% { opacity:0; transform:translate(6px,10px) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .tap-hint { display:none; } }

/* AI pages: "Go deeper" reads as the top of the dark footer */
.sub-sec--prefooter { background:#01062C; margin:0; padding:72px 12px 80px; }
.sub-sec--prefooter .sub-h2 { color:#fff; }
.sub-sec--prefooter .xlink { background:rgba(255,255,255,0.03); border-color:rgba(255,255,255,0.1); }
.sub-sec--prefooter .xlink:hover { background:rgba(255,255,255,0.05); border-color:rgba(63,224,163,0.28); }
.sub-sec--prefooter .xlink h4 { color:#fff; }
.sub-sec--prefooter .xlink p { color:rgba(255,255,255,0.6); }
.sub-sec--prefooter .card-link { color:#3FE0A3; }
.sub-sec--prefooter .card-dots { background-image:radial-gradient(rgba(255,255,255,0.14) 1.2px, transparent 1.3px); }
.sub-sec--prefooter .card-dots canvas { filter:none; mix-blend-mode:screen; }
.sub-sec--prefooter .dot-ico { color:#3FE0A3; }

.dot-ico svg circle.on { fill:rgba(1,6,44,0.62); }
.dot-ico svg circle.off { fill:rgba(1,6,44,0.13); }
.sub-sec--prefooter .dot-ico svg circle.on { fill:rgba(255,255,255,0.78); }
.sub-sec--prefooter .dot-ico svg circle.off { fill:rgba(255,255,255,0.16); }
.sub-sec--prefooter .card-dots { display:none; }

/* prefooter: keep the icon dots visible through the hover wave (scale only) */
@keyframes dotico-cycle-d {
  0% { transform:scale(1); }
  35% { transform:scale(0.55); }
  70% { transform:scale(1.12); }
  100% { transform:scale(1); }
}
.sub-sec--prefooter .xlink:hover .dot-ico svg circle { animation:dotico-cycle-d .7s ease-in-out both; animation-delay:calc(var(--dot-i, 0) * 16ms); }

/* compliance badge strip */
.badges { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:clamp(36px,6vw,80px); }
.badge-logo { height:78px; width:auto; display:block; opacity:0.85; transition:opacity .35s ease; }
.badge-logo:hover { opacity:1; }

/* CTA placed after the dark "Go deeper" band: same navy, card lifts slightly */
.sub-sec--ctadark { background:#01062C; margin:0; padding:0 12px 80px; }
.sub-sec--ctadark .cta { background:transparent; border:0; border-radius:0; padding:32px 0 8px; }
.sub-sec--prefooter { padding-bottom:24px; }

/* compliance strip sits at the end of the dark band, above the footer */
.sub-sec--badgesdark { background:#01062C; margin:0; padding:8px 12px 72px; }
.sub-sec--badgesdark .badge-logo { opacity:0.55; filter:brightness(1.5); }
.sub-sec--badgesdark .badge-logo:hover { opacity:0.8; }

.sub-sec--ctadark .cta { gap:28px; }
.sub-sec--ctadark .cta .sub-btns { margin-top:6px; }
.sub-sec--ctadark .cta .cta-fine { margin-top:8px; }

/* hairline separators between the stacked dark prefooter sections */
.sub-sec--prefooter > .sub-wrap,
.sub-sec--ctadark > .sub-wrap,
.sub-sec--badgesdark > .sub-wrap { position:relative; }
.sub-sec--ctadark > .sub-wrap::before,
.sub-sec--badgesdark > .sub-wrap::before { content:''; position:absolute; left:0; right:0; top:0; height:1px; background:rgba(255,255,255,0.1); }
.sub-sec--ctadark { padding-top:56px; }
.sub-sec--ctadark .cta { padding-top:56px; }
.sub-sec--badgesdark { padding-top:0; }
.sub-sec--badgesdark > .sub-wrap { padding-top:48px; }

/* dark CTA: left-aligned, wider measure */
.sub-sec--ctadark .cta { align-items:flex-start; text-align:left; }
.sub-sec--ctadark .cta .sub-h2 { max-width:26ch; }
.sub-sec--ctadark .cta > p { max-width:64ch; }
.sub-sec--ctadark .cta .sub-btns { justify-content:flex-start; }

.surf .surf-ico { flex:none; display:grid; place-items:center; width:30px; height:30px; border-radius:8px; background:rgba(18,150,110,0.1); color:#12966E; }
.surf .surf-ico svg { width:17px; height:17px; display:block; }

/* use cases: tabs left, panel right */
.uc-split { display:grid; grid-template-columns:1fr; gap:20px; margin-top:32px; align-items:start; }
@media (min-width:900px) { .uc-split { grid-template-columns:300px minmax(0,1fr); gap:24px; } }
.uc-split .pills { display:flex; flex-direction:column; gap:8px; margin:0; }
.uc-split .pill { width:100%; justify-content:flex-start; text-align:left; min-height:52px; padding:12px 16px; border-radius:12px; }
.uc-split .pill.is-active { padding:12px 16px; }
.uc-split .pill > span:last-child { flex:1; }
.uc-split .stage { margin-top:0; height:100%; }

/* ═══ DARK MODE (html[data-theme="dark"]) ═══ */
:root[data-theme="dark"] { color-scheme:dark; }
html[data-theme="dark"], html[data-theme="dark"] body { background:#060B24 !important; color:#fff; }
html[data-theme="dark"] main { background:#060B24; }
html[data-theme="dark"] a { color:#fff; } html[data-theme="dark"] a:hover { color:#3FE0A3; }
html[data-theme="dark"] .sub-hero__card { background:#0A1130; }
html[data-theme="dark"] .sub-h1, html[data-theme="dark"] .sub-lede strong, html[data-theme="dark"] .sub-h2, html[data-theme="dark"] .sub-sub strong, html[data-theme="dark"] .lead-b,
html[data-theme="dark"] .card-title, html[data-theme="dark"] .card-body strong, html[data-theme="dark"] .clist li strong, html[data-theme="dark"] .quote, html[data-theme="dark"] .qlist li,
html[data-theme="dark"] .surf li, html[data-theme="dark"] .panel-h3, html[data-theme="dark"] .faq > summary, html[data-theme="dark"] .bwin__h, html[data-theme="dark"] .tbl td:first-child,
html[data-theme="dark"] .oauth__h, html[data-theme="dark"] .oauth__acct b, html[data-theme="dark"] .oauth__sec, html[data-theme="dark"] .oauth__row span, html[data-theme="dark"] .at-q__ans strong { color:#fff; }
html[data-theme="dark"] .sub-lede, html[data-theme="dark"] .sub-sub, html[data-theme="dark"] .card-body, html[data-theme="dark"] .clist li, html[data-theme="dark"] .panel-desc,
html[data-theme="dark"] .faq .a p, html[data-theme="dark"] .tbl td, html[data-theme="dark"] .legend, html[data-theme="dark"] .bwin__note, html[data-theme="dark"] .oauth__p, html[data-theme="dark"] .oauth__fine,
html[data-theme="dark"] .oauth__redir, html[data-theme="dark"] .oauth__acct small, html[data-theme="dark"] .tile p, html[data-theme="dark"] .msg--ai, html[data-theme="dark"] .msg--sys, html[data-theme="dark"] .pbtn { color:rgba(255,255,255,0.68); }
html[data-theme="dark"] .sub-kicker, html[data-theme="dark"] .works, html[data-theme="dark"] .card-lab, html[data-theme="dark"] .panel-lab, html[data-theme="dark"] .card-num, html[data-theme="dark"] .tbl thead th,
html[data-theme="dark"] .prompts .lab, html[data-theme="dark"] .chat-bar, html[data-theme="dark"] .bwin__label, html[data-theme="dark"] .faq-chev, html[data-theme="dark"] .card-link, html[data-theme="dark"] .qlist .n { color:rgba(255,255,255,0.42); }
html[data-theme="dark"] .btn-line { border-color:rgba(255,255,255,0.4); color:#fff; } html[data-theme="dark"] .btn-line:hover { background:rgba(255,255,255,0.08); color:#fff; }
html[data-theme="dark"] .btn-navy { background:#3FE0A3; color:#062119; } html[data-theme="dark"] .btn-navy:hover { background:#35c98f; color:#062119; }
/* surfaces */
html[data-theme="dark"] .card, html[data-theme="dark"] .quote, html[data-theme="dark"] .qlist li, html[data-theme="dark"] .surf li, html[data-theme="dark"] .stage, html[data-theme="dark"] .tbl-wrap,
html[data-theme="dark"] .chat, html[data-theme="dark"] .bwin, html[data-theme="dark"] .oauth__card, html[data-theme="dark"] .pbtn, html[data-theme="dark"] .split[style*="background:#fff"], html[data-theme="dark"] .tiles--light .tile,
html[data-theme="dark"] .pill, html[data-theme="dark"] .msg--ai, html[data-theme="dark"] .msg--sys, html[data-theme="dark"] .oauth__acct, html[data-theme="dark"] .oauth__field {
  background:#0D1333 !important; border-color:rgba(255,255,255,0.1) !important; box-shadow:none !important; }
html[data-theme="dark"] .sub-dark { background:#0D1333; box-shadow:none; border:1px solid rgba(255,255,255,0.08); }
html[data-theme="dark"] .sub-field { background:#0D1333; }
html[data-theme="dark"] .tbl thead th { background:rgba(255,255,255,0.04); } html[data-theme="dark"] .tbl th, html[data-theme="dark"] .tbl td { border-bottom-color:rgba(255,255,255,0.08); }
html[data-theme="dark"] .card-ico, html[data-theme="dark"] .oauth__av { background:rgba(255,255,255,0.08); color:#fff; }
html[data-theme="dark"] .card-dots { background-image:radial-gradient(rgba(255,255,255,0.14) 1.2px, transparent 1.3px); }
html[data-theme="dark"] .tag { border-color:rgba(255,255,255,0.18); color:rgba(255,255,255,0.7); }
html[data-theme="dark"] .chip--read { background:rgba(255,255,255,0.08); color:rgba(255,255,255,0.6); }
html[data-theme="dark"] .msg--you { background:#3FE0A3; color:#062119; }
html[data-theme="dark"] .pbtn:hover { border-color:rgba(63,224,163,0.5) !important; background:rgba(63,224,163,0.1) !important; color:#fff; }
html[data-theme="dark"] .chat-bar, html[data-theme="dark"] .prompts, html[data-theme="dark"] .bwin__bar, html[data-theme="dark"] .faq, html[data-theme="dark"] .oauth__row, html[data-theme="dark"] .at-q, html[data-theme="dark"] .at-qs { border-color:rgba(255,255,255,0.09); }
html[data-theme="dark"] .bwin__bar, html[data-theme="dark"] .bwin__url, html[data-theme="dark"] .oauth, html[data-theme="dark"] .oauth__seg i { background:#121A40; border-color:rgba(255,255,255,0.1); color:rgba(255,255,255,0.7); }
html[data-theme="dark"] .oauth__seg i.off { background:transparent; color:rgba(255,255,255,0.25); }
html[data-theme="dark"] .oauth__btn--no { background:transparent; color:#fff; border-color:rgba(255,255,255,0.2); }
html[data-theme="dark"] .oauth__logo { filter:none; }
html[data-theme="dark"] .pill.is-active[data-tone] { color:#fff !important; }
html[data-theme="dark"] .pill.is-active[data-tone="green"] { background:rgba(18,150,110,0.22) !important; border-color:rgba(63,224,163,0.4) !important; }
html[data-theme="dark"] .pill.is-active[data-tone="blue"] { background:rgba(36,118,196,0.25) !important; border-color:rgba(36,118,196,0.5) !important; }
html[data-theme="dark"] .pill.is-active[data-tone="purple"] { background:rgba(108,88,214,0.25) !important; border-color:rgba(108,88,214,0.5) !important; }
html[data-theme="dark"] .pill.is-active[data-tone="grass"] { background:rgba(101,163,13,0.25) !important; border-color:rgba(101,163,13,0.5) !important; }
html[data-theme="dark"] .pill.is-active[data-tone="navy"] { background:rgba(255,255,255,0.12) !important; border-color:rgba(255,255,255,0.3) !important; }
html[data-theme="dark"] .pill-ico { background:rgba(255,255,255,0.1); }
html[data-theme="dark"] .clist li::before { background-color:rgba(63,224,163,0.18); }
html[data-theme="dark"] .surf .surf-ico { background:rgba(63,224,163,0.14); color:#3FE0A3; }
html[data-theme="dark"] .badge-logo { filter:brightness(0) invert(1); opacity:0.55; } html[data-theme="dark"] .badge-logo:hover { opacity:0.85; }
html[data-theme="dark"] .sub-sec--ctadark { background:#0D1333; }
/* dot fields: no invert on dark — the field is already light-on-dark; blend with screen */
html[data-theme="dark"] .sub-hero__stage canvas { filter:brightness(1.18) saturate(1.05) hue-rotate(-14deg); mix-blend-mode:normal; }
html[data-theme="dark"] .sub-hero__stage::before { filter:blur(28px) saturate(1.2); opacity:0.7; }
html[data-theme="dark"] .sub-hero__caption { color:rgba(255,255,255,0.5); }
html[data-theme="dark"] .legal-ai-callout { border-left-color:rgba(63,224,163,0.5); color:rgba(255,255,255,0.58); }
html[data-theme="dark"] .card-dots canvas { filter:grayscale(1) brightness(1.1) opacity(0.5); mix-blend-mode:normal; }
html[data-theme="dark"] .sub-field canvas { filter:grayscale(1) brightness(1.1) opacity(0.22); mix-blend-mode:normal; }
html[data-theme="dark"] .dot-ico svg circle.on { fill:rgba(255,255,255,0.78); } html[data-theme="dark"] .dot-ico svg circle.off { fill:rgba(255,255,255,0.16); }

/* five governed layers */
.layers { display:flex; flex-direction:column; gap:12px; margin-top:18px; }
.layer { display:grid; grid-template-columns:1fr; gap:10px; padding:24px 28px; border-radius:14px; background:#fff; border:1px solid rgba(1,6,44,0.06); transition:border-color .3s ease, box-shadow .3s ease; }
.layer:hover { border-color:rgba(18,150,110,0.25); box-shadow:0 2px 6px rgba(1,6,44,0.05), 0 10px 24px rgba(1,6,44,0.05); }
@media (min-width:900px) { .layer { grid-template-columns:200px minmax(0,1fr) minmax(0,1.25fr); column-gap:32px; align-items:start; } }
.layer__head { display:flex; align-items:center; gap:12px; }
.layer__ico { flex:none; display:grid; place-items:center; width:34px; height:34px; border-radius:9px; background:rgba(1,6,44,0.05); color:#AEB4C4; }
.layer__ico svg { width:18px; height:18px; display:block; }
.layer__head h3 { margin:0; font-size:16.5px; font-weight:600; letter-spacing:-0.01em; color:#01062C; }
.layer__what { margin:0; font-size:15.5px; line-height:1.55; color:rgba(1,6,44,0.7); text-wrap:pretty; }
.layer__why { margin:0; font-size:15.5px; line-height:1.55; color:rgba(1,6,44,0.5); text-wrap:pretty; }
.layer__why strong { color:#01062C; font-weight:600; }
html[data-theme="dark"] .layer { background:#0D1333; border-color:rgba(255,255,255,0.1); }
html[data-theme="dark"] .layer:hover { border-color:rgba(63,224,163,0.28); box-shadow:none; }
html[data-theme="dark"] .layer__head h3, html[data-theme="dark"] .layer__why strong { color:#fff; }
html[data-theme="dark"] .layer__what { color:rgba(255,255,255,0.7); }
html[data-theme="dark"] .layer__why { color:rgba(255,255,255,0.5); }
html[data-theme="dark"] .layer__ico { background:rgba(255,255,255,0.07); color:rgba(255,255,255,0.5); }

.chk-title { padding-bottom:18px; border-bottom:1px solid rgba(1,6,44,0.08); margin-bottom:6px; }
html[data-theme="dark"] .chk-title { border-bottom-color:rgba(255,255,255,0.1); }

/* nested data boundaries (dark) */
.lvls { margin-top:40px; }
.lvl { position:relative; border-radius:16px; border:1px solid rgba(255,255,255,0.1); background:rgba(255,255,255,0.03); padding:22px 24px 24px; opacity:0; transform:translateY(14px) scale(0.985); transition:opacity .6s cubic-bezier(0.22,1,0.36,1), transform .7s cubic-bezier(0.22,1,0.36,1), border-color .4s ease, background-color .4s ease; }
.lvl > .lvl { margin-top:20px; }
.lvl--role { background:rgba(255,255,255,0.035); }
.lvl--share { background:rgba(255,255,255,0.045); }
.lvl--row { background:rgba(63,224,163,0.08); border-color:rgba(63,224,163,0.35); }
.lvls.is-in .lvl { opacity:1; transform:none; }
.lvls.is-in .lvl--env { transition-delay:0s; } .lvls.is-in .lvl--role { transition-delay:.22s; } .lvls.is-in .lvl--share { transition-delay:.44s; } .lvls.is-in .lvl--row { transition-delay:.66s; }
.lvl__meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; }
.lvl__lock { width:16px; height:16px; flex:none; color:rgba(255,255,255,0.55); }
.lvl--row .lvl__lock { color:#3FE0A3; }
.lvl__shackle { transform-origin:16px 10px; transform:rotate(-38deg) translateY(-2px); transition:transform .5s cubic-bezier(0.34,1.56,0.64,1); }
.lvls.is-in .lvl__shackle { transform:none; }
.lvls.is-in .lvl--env .lvl__shackle { transition-delay:.5s; } .lvls.is-in .lvl--role .lvl__shackle { transition-delay:.72s; } .lvls.is-in .lvl--share .lvl__shackle { transition-delay:.94s; } .lvls.is-in .lvl--row .lvl__shackle { transition-delay:1.16s; }
.lvl__name { font-family:var(--mono); font-size:12px; letter-spacing:0.16em; color:rgba(255,255,255,0.8); }
.lvl--row .lvl__name { color:#3FE0A3; }
.lvl__desc { font-size:14px; color:rgba(255,255,255,0.5); }
.lvl__claim { margin:12px 0 0; font-size:17px; font-weight:600; letter-spacing:-0.01em; color:#fff; text-wrap:pretty; }
/* slow ambient scan sweeping through the nested levels */
.lvl::after { content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:linear-gradient(115deg, transparent 30%, rgba(63,224,163,0.08) 50%, transparent 70%); background-size:240% 100%; background-position:120% 0; opacity:0; }
.lvls.is-in .lvl::after { animation:lvl-scan 9s ease-in-out infinite; }
.lvls.is-in .lvl--env::after { animation-delay:1.6s; } .lvls.is-in .lvl--role::after { animation-delay:2.0s; } .lvls.is-in .lvl--share::after { animation-delay:2.4s; } .lvls.is-in .lvl--row::after { animation-delay:2.8s; }
@keyframes lvl-scan { 0%, 22% { background-position:120% 0; opacity:0; } 6% { opacity:1; } 18% { background-position:-120% 0; opacity:1; } 24%, 100% { background-position:-120% 0; opacity:0; } }
.lvls__foot { margin-top:28px; max-width:none; font-size:15.5px; }
@media (max-width:640px) { .lvl { padding:18px 16px 20px; } .lvl > .lvl { margin-top:16px; } }
@media (prefers-reduced-motion:reduce) { .lvl { opacity:1; transform:none; transition:none; } .lvls.is-in .lvl::after { animation:none; } .lvl__shackle { transform:none; } }

.badges--d { margin-top:40px; padding-top:36px; border-top:1px solid rgba(255,255,255,0.1); }
.badges--d .badge-logo { filter:brightness(0) invert(1); opacity:0.5; }
.badges--d .badge-logo:hover { opacity:0.8; }

.sub-sec--ctadark .cta .sub-h2 { max-width:none; white-space:nowrap; }
@media (max-width:900px) { .sub-sec--ctadark .cta .sub-h2 { white-space:normal; } }

.lvls__foot { text-align:center; margin-left:auto; margin-right:auto; max-width:80ch; }

.badges--d .badge-logo { height:62px; }

/* highlight cards with dark number chips */
.hl-grid { margin-top:36px; }
.hl-card { display:flex; flex-direction:column; gap:16px; padding:28px 26px 30px; border-radius:16px; background:#F1F4F9; border:1px solid rgba(1,6,44,0.05); }
.hl-num { display:inline-grid; place-items:center; width:38px; height:38px; border-radius:10px; background:#01062C; color:#3FE0A3; font-family:var(--mono); font-size:13px; letter-spacing:0.04em; }
.hl-card h3 { margin:0; font-size:18px; font-weight:600; line-height:1.25; letter-spacing:-0.015em; color:#01062C; text-wrap:pretty; }
.hl-card p { margin:0; font-size:15px; line-height:1.6; color:rgba(1,6,44,0.5); text-wrap:pretty; }
.hl-card p strong { color:#01062C; font-weight:600; }
html[data-theme="dark"] .hl-card { background:rgba(255,255,255,0.035); border-color:rgba(255,255,255,0.1); }
html[data-theme="dark"] .hl-num { background:rgba(63,224,163,0.15); color:#3FE0A3; }
html[data-theme="dark"] .hl-card h3, html[data-theme="dark"] .hl-card p strong { color:#fff; }
html[data-theme="dark"] .hl-card p { color:rgba(255,255,255,0.55); }

/* ═══ animated data-flow diagram (dark) ═══ */
.df { --line:rgba(255,255,255,0.1); --box:rgba(255,255,255,0.03); }
.df-heading { margin:0 auto 48px; color:#fff; font-size:clamp(32px,3.6vw,48px); font-weight:600; line-height:1.08; letter-spacing:-0.035em; text-align:center; }
.df-heading span { display:block; max-width:44rem; margin:14px auto 0; color:rgba(255,255,255,0.72); font-size:18px; font-weight:400; line-height:1.45; letter-spacing:-0.01em; }
.df-grid { display:grid; grid-template-columns:1fr; gap:24px; padding:24px; border:1px solid rgba(255,255,255,0.1); border-radius:18px; background:rgba(255,255,255,0.025); }
@media (min-width:1000px) { .df-grid { grid-template-columns:minmax(0,1.05fr) 56px minmax(0,1.1fr) 56px minmax(0,1.05fr); gap:0 12px; padding:32px; align-items:start; } }
.df-col { display:flex; flex-direction:column; gap:14px; }
.df-colhead h2, .df-colhead h3 { margin:0; font-size:20px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; color:#fff; }
.df-colhead span { display:block; margin-top:6px; font-family:var(--mono); font-size:11px; letter-spacing:0.16em; color:#3FE0A3; }
.df-colhead--r { text-align:right; }
.df-col--core { padding-top:64px; }
.df-lab { font-family:var(--mono); font-size:11px; letter-spacing:0.16em; color:rgba(255,255,255,0.45); }
.df-col--core .df-lab { padding-left:8px; }
.df-box { border-radius:14px; border:1px solid var(--line); background:var(--box); padding:18px 18px 16px; }
.df-box--dashed { border-style:dashed; }
.df-box--core { background:linear-gradient(180deg, rgba(63,224,163,0.08), rgba(63,224,163,0.02)); border-color:rgba(63,224,163,0.3); }
.df-box__head { display:flex; align-items:center; gap:12px; }
.df-box__head b { display:block; font-size:16.5px; font-weight:600; color:#fff; letter-spacing:-0.01em; }
.df-box__head small { display:block; margin-top:3px; font-size:13px; color:rgba(255,255,255,0.5); }
.df-box__head small.df-g { font-family:var(--mono); font-size:10.5px; letter-spacing:0.16em; color:#3FE0A3; }
.df-ico { flex:none; display:grid; place-items:center; width:32px; height:32px; border-radius:9px; background:rgba(255,255,255,0.06); color:rgba(255,255,255,0.7); }
.df-ico svg { width:16px; height:16px; display:block; }
.df-ico--g { background:rgba(63,224,163,0.14); color:#3FE0A3; }
.df-ico--v { background:rgba(108,88,214,0.25); color:#B9AEFF; }
.df-list { list-style:none; margin:14px 0 0; padding:14px 0 0; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:6px; }
.df-list li { display:flex; align-items:center; gap:10px; padding:9px 12px; border-radius:9px; background:rgba(255,255,255,0.04); font-size:14px; color:rgba(255,255,255,0.8); }
.df-list li svg { width:14px; height:14px; flex:none; color:rgba(255,255,255,0.5); }
.df-box p { margin:12px 0 0; font-size:14.5px; line-height:1.5; color:rgba(255,255,255,0.72); }
.df-sig { color:rgba(255,255,255,0.55) !important; } .df-sig strong { color:#3FE0A3; font-weight:600; }
.df-layers { list-style:none; margin:16px 0 0; padding:0; display:flex; flex-direction:column; gap:6px; }
.df-layers li { padding:10px 14px; border-radius:9px; border:1px solid var(--line); background:rgba(255,255,255,0.04); font-size:15px; color:rgba(255,255,255,0.85); transition:border-color .4s ease, background-color .4s ease, color .4s ease; }
.df.is-in .df-layers li { animation:df-layer 6s ease-in-out infinite; }
.df.is-in .df-layers li:nth-child(1) { animation-delay:.0s; } .df.is-in .df-layers li:nth-child(2) { animation-delay:.5s; } .df.is-in .df-layers li:nth-child(3) { animation-delay:1s; } .df.is-in .df-layers li:nth-child(4) { animation-delay:1.5s; } .df.is-in .df-layers li:nth-child(5) { animation-delay:2s; }
@keyframes df-layer { 0%, 12%, 100% { border-color:rgba(255,255,255,0.1); background:rgba(255,255,255,0.04); color:rgba(255,255,255,0.85); } 4%, 8% { border-color:#3FE0A3; background:rgba(63,224,163,0.14); color:#fff; } }
.df-down { display:flex; justify-content:center; height:26px; }
.df-down span { width:2px; height:100%; background:repeating-linear-gradient(180deg, #3FE0A3 0 4px, transparent 4px 9px); background-size:2px 9px; opacity:0.7; }
.df.is-in .df-down span { animation:df-dash-v 1.2s linear infinite; }
@keyframes df-dash-v { to { background-position:0 9px; } }
/* horizontal flows in the gaps */
.df-gap { display:none; }
@media (min-width:1000px) { .df-gap { display:flex; flex-direction:column; justify-content:flex-start; gap:80px; padding-top:150px; } }
.df-flow { position:relative; display:block; height:2px; background:repeating-linear-gradient(90deg, rgba(63,224,163,0.9) 0 4px, transparent 4px 10px); background-size:10px 2px; opacity:0.75; }
.df-flow::after { content:''; position:absolute; right:-3px; top:-4px; border:5px solid transparent; border-left:7px solid #3FE0A3; border-right:0; }
.df.is-in .df-flow { animation:df-dash-h 1s linear infinite; animation-delay:var(--d, 0s); }
@keyframes df-dash-h { to { background-position:10px 0; } }
/* outputs */
.df-out { display:flex; align-items:flex-start; gap:12px; padding:14px 16px; border-radius:12px; border:1px solid var(--line); background:var(--box); }
.df-out b { display:block; font-size:15.5px; font-weight:600; color:#fff; } .df-out small { display:block; margin-top:3px; font-size:13px; color:rgba(255,255,255,0.5); }
.df-out--ai { border-color:rgba(108,88,214,0.5); background:rgba(108,88,214,0.08); }
.df-chips { display:flex; gap:8px; margin-top:12px; flex-wrap:wrap; }
.df-chips i { font-style:normal; font-size:12.5px; padding:5px 11px; border-radius:999px; border:1px solid rgba(255,255,255,0.14); color:rgba(255,255,255,0.8); }
/* reveal */
.df .df-box, .df .df-out, .df .df-colhead { opacity:0; transform:translateY(12px); transition:opacity .6s cubic-bezier(0.22,1,0.36,1), transform .7s cubic-bezier(0.22,1,0.36,1); }
.df.is-in .df-box, .df.is-in .df-out, .df.is-in .df-colhead { opacity:1; transform:none; }
.df.is-in .df-col--in > * { transition-delay:.05s; } .df.is-in .df-col--core > * { transition-delay:.35s; } .df.is-in .df-col--out > * { transition-delay:.65s; }
.df-note { display:flex; justify-content:center; margin:40px 0 0; font-size:15.5px; line-height:1.6; color:rgba(255,255,255,0.7); text-align:center; }
.df-note svg { width:18px; height:18px; flex:none; color:#3FE0A3; margin-top:3px; } .df-note strong { color:#fff; font-weight:600; }
.df-stats { margin-top:32px; display:grid; grid-template-columns:repeat(2,1fr); border:1px solid rgba(255,255,255,0.1); border-radius:16px; overflow:hidden; background:rgba(255,255,255,0.025); }
@media (min-width:800px) { .df-stats { grid-template-columns:repeat(4,1fr); } }
.df-stats div { display:flex; flex-direction:column; gap:10px; padding:24px 20px; border-right:1px solid rgba(255,255,255,0.1); border-bottom:1px solid rgba(255,255,255,0.1); }
.df-stats div:nth-child(2n) { border-right:0; }
@media (min-width:800px) { .df-stats div { border-bottom:0; } .df-stats div:nth-child(2n) { border-right:1px solid rgba(255,255,255,0.1); } .df-stats div:last-child { border-right:0; } }
.df-stats b { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:clamp(30px,3vw,40px); line-height:1; font-weight:600; letter-spacing:-0.03em; color:#fff; font-variant-numeric:tabular-nums; }
.df-stats span { font-size:14.5px; line-height:1.45; color:rgba(255,255,255,0.72); max-width:16ch; }
@media (prefers-reduced-motion:reduce) { .df .df-box, .df .df-out, .df .df-colhead { opacity:1; transform:none; transition:none; } .df.is-in .df-layers li, .df.is-in .df-flow, .df.is-in .df-down span { animation:none; } }

.sub-sec--ctadark .cta .sub-h2 { max-width:22ch; white-space:normal; }


/* ═══ DARK MODE — audit pass: nav, surfaces, text, marks ═══ */
html[data-theme="dark"] .cleeng-navigation__bar { border-color:rgba(255,255,255,0.08); box-shadow:0 12px 30px rgba(0,0,0,0.35), 0 3px 10px rgba(0,0,0,0.25); }
html[data-theme="dark"] .cleeng-navigation__bar::before { background:rgba(6,11,36,0.72); border-color:rgba(255,255,255,0.08); }
html[data-theme="dark"] .cleeng-navigation__brand svg path { fill:#fff; }
html[data-theme="dark"] .cleeng-navigation__hamburger { color:#fff; }
html[data-theme="dark"] .cleeng-navigation__links > a, html[data-theme="dark"] .cleeng-navigation summary { color:rgba(255,255,255,0.86); }
html[data-theme="dark"] .cleeng-navigation__links > a:hover, html[data-theme="dark"] .cleeng-navigation summary:hover, html[data-theme="dark"] .cleeng-navigation details[open] summary { background:rgba(255,255,255,0.08); color:#fff; }
html[data-theme="dark"] .cleeng-navigation__menu, html[data-theme="dark"] .cleeng-navigation__collapse { background:#0D1333; border-color:rgba(255,255,255,0.1); box-shadow:0 18px 50px rgba(0,0,0,0.5); }
html[data-theme="dark"] .cleeng-navigation__label, html[data-theme="dark"] .cleeng-navigation__product-grid strong { color:rgba(255,255,255,0.42); }
html[data-theme="dark"] .cleeng-navigation__menu > a, html[data-theme="dark"] .cleeng-navigation__menu-col > a, html[data-theme="dark"] .cleeng-navigation__product-grid a, html[data-theme="dark"] .cleeng-navigation__product-grid span:not(.cleeng-navigation__icon) { color:rgba(255,255,255,0.9); }
html[data-theme="dark"] .cleeng-navigation__menu > a:hover, html[data-theme="dark"] .cleeng-navigation__menu-col > a:hover, html[data-theme="dark"] .cleeng-navigation__product-grid a:hover { background:rgba(255,255,255,0.07); }
html[data-theme="dark"] .cleeng-navigation__icon { background:rgba(255,255,255,0.08); } html[data-theme="dark"] .cleeng-navigation__icon svg { color:#3FE0A3; }
html[data-theme="dark"] .cleeng-navigation__login { border-color:rgba(255,255,255,0.22); color:#fff; } html[data-theme="dark"] .cleeng-navigation__login:hover { background:rgba(255,255,255,0.08); }
html[data-theme="dark"] .cleeng-navigation__start { background:#3FE0A3; color:#062119; } html[data-theme="dark"] .cleeng-navigation__start:hover { background:#35c98f; }
/* one surface system: glass panels on the page bg instead of nested navy slabs */
html[data-theme="dark"] .sub-hero__card { background:rgba(255,255,255,0.025); border:1px solid rgba(255,255,255,0.07); }
html[data-theme="dark"] .sub-dark, html[data-theme="dark"] .sub-field { background:#0D1333; border-color:rgba(255,255,255,0.08); }
html[data-theme="dark"] .df-grid { background:transparent; }
html[data-theme="dark"] .tile, html[data-theme="dark"] .tiles--light .tile { background:#0D1333; border-color:rgba(255,255,255,0.1); box-shadow:none; }
html[data-theme="dark"] .tile h3, html[data-theme="dark"] .tiles--light .tile h3, html[data-theme="dark"] .tile p strong, html[data-theme="dark"] .tiles--light .tile p strong { color:#fff; }
html[data-theme="dark"] .tile p, html[data-theme="dark"] .tiles--light .tile p { color:rgba(255,255,255,0.66); }
html[data-theme="dark"] .tiles--light .tile .n { color:rgba(255,255,255,0.22); }
html[data-theme="dark"] .rpanel { background:#0D1333; border-color:rgba(255,255,255,0.1); }
html[data-theme="dark"] .cap { color:rgba(255,255,255,0.88); border-bottom-color:rgba(255,255,255,0.08); } html[data-theme="dark"] .caps { border-top-color:rgba(255,255,255,0.08); }
html[data-theme="dark"] .panel-rule { background:rgba(255,255,255,0.08); }
html[data-theme="dark"] .chip--confirm { background:rgba(63,224,163,0.16); color:#3FE0A3; }
html[data-theme="dark"] .chat-reset { color:rgba(255,255,255,0.4); } html[data-theme="dark"] .chat-reset:hover { color:#fff; }
html[data-theme="dark"] .chat-dots span { background:rgba(255,255,255,0.14); }
html[data-theme="dark"] .uc-prompt { background:rgba(63,224,163,0.08); border-color:rgba(63,224,163,0.22); color:#3FE0A3; }
html[data-theme="dark"] .pill { background:rgba(255,255,255,0.04); border-color:rgba(255,255,255,0.12); color:rgba(255,255,255,0.8); }
html[data-theme="dark"] .pill:hover { border-color:rgba(255,255,255,0.28); }
html[data-theme="dark"] .pill span, html[data-theme="dark"] .pill.is-active span { color:inherit; }
html[data-theme="dark"] .sub-kicker__cursor { color:rgba(255,255,255,0.6); }
html[data-theme="dark"] a.btn-green, html[data-theme="dark"] .btn-green, html[data-theme="dark"] .btn-green:hover { color:#062119 !important; }
html[data-theme="dark"] .clist li::before { background-color:rgba(63,224,163,0.16); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%233FE0A3' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5'/%3E%3C/svg%3E"); border-color:rgba(63,224,163,0.35); }


/* ═══ MOBILE — audit pass ═══ */
@media (max-width:640px) {
  /* oauth mock: never wider than the viewport */
  .oauth__main { padding:20px 16px 36px; min-width:0; }
  .oauth__card { zoom:1; max-width:100%; padding:20px 16px; }
  .oauth__h { white-space:normal; font-size:17px; }
  /* subpage agent tabs (2×2 grid) → one horizontal, swipeable row */
  .pills:not(.uc-split .pills) { display:flex; flex-wrap:nowrap; justify-content:flex-start; gap:8px; overflow-x:auto; scroll-snap-type:x proximity; padding:4px 12px 8px; margin-left:-12px; margin-right:-12px; width:calc(100% + 24px); max-width:none; scrollbar-width:none; -webkit-overflow-scrolling:touch;
    mask-image:linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%); -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%); }
  .pills::-webkit-scrollbar { display:none; }
  .pills:not(.uc-split .pills) .pill { flex:0 0 auto; width:auto; scroll-snap-align:center; }
  /* use-case tabs on data page: compact list */
  .uc-split .pills { flex-direction:row; flex-wrap:nowrap; overflow-x:auto; gap:8px; padding:4px 12px 8px; margin-left:-12px; margin-right:-12px; width:calc(100% + 24px); scrollbar-width:none; scroll-snap-type:x proximity;
    mask-image:linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%); -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%); }
  .uc-split .pill { width:auto; flex:0 0 auto; min-height:44px; padding:10px 14px; scroll-snap-align:center; }
  .uc-split .pill.is-active { padding:10px 14px 10px 10px; }
  /* hero visual: shorter, so copy + visual fit one screen */
  .sub-hero__stage { aspect-ratio:4 / 3; min-height:240px; max-height:320px; }
}


/* AI pages: dark prefooter + CTA read as one floating navy card */
.sub-sec--prefooter, .sub-sec--ctadark { margin-left:12px; margin-right:12px; padding-left:32px; padding-right:32px; }
.sub-sec--prefooter { border-radius:24px 24px 0 0; }
.sub-sec--ctadark { border-radius:0; margin-bottom:0; }
@media (max-width:640px) {
  .sub-sec--prefooter, .sub-sec--ctadark { padding-left:20px; padding-right:20px; }
}

/* the shared site footer continues the same floating card */
body:has(.sub-sec--prefooter) .site-footer { margin:0 12px 12px; border-radius:0 0 24px 24px; overflow:hidden; }


/* "Go deeper" sits on the page background, before the floating navy footer card */
.sub-sec--prefooter { background:transparent; margin:0; padding:96px 12px 104px; border-radius:0; }
html[data-theme="dark"] .sub-sec--prefooter { background:transparent; }
.sub-sec--prefooter .sub-h2 { color:#01062C; }
.sub-sec--prefooter .xlink { background:#fff; border-color:rgba(1,6,44,0.07); box-shadow:0 1px 3px rgba(1,6,44,0.04), 0 4px 12px rgba(1,6,44,0.03); }
.sub-sec--prefooter .xlink:hover { background:#fff; border-color:rgba(18,150,110,0.3); box-shadow:0 2px 6px rgba(1,6,44,0.07), 0 10px 24px rgba(1,6,44,0.07); }
.sub-sec--prefooter .xlink h4 { color:#01062C; }
.sub-sec--prefooter .xlink p { color:rgba(1,6,44,0.62); }
.sub-sec--prefooter .card-link { color:#12966E; }
.sub-sec--prefooter .dot-ico { color:#12966E; }
.sub-sec--prefooter .dot-ico svg circle.on { fill:rgba(1,6,44,0.62); }
.sub-sec--prefooter .dot-ico svg circle.off { fill:rgba(1,6,44,0.13); }
html[data-theme="dark"] .sub-sec--prefooter .sub-h2,
html[data-theme="dark"] .sub-sec--prefooter .xlink h4 { color:#fff; }
html[data-theme="dark"] .sub-sec--prefooter .xlink { background:#0D1333; border-color:rgba(255,255,255,0.1); box-shadow:none; }
html[data-theme="dark"] .sub-sec--prefooter .xlink:hover { background:rgba(255,255,255,0.05); border-color:rgba(63,224,163,0.28); box-shadow:none; }
html[data-theme="dark"] .sub-sec--prefooter .xlink p { color:rgba(255,255,255,0.6); }
html[data-theme="dark"] .sub-sec--prefooter .card-link,
html[data-theme="dark"] .sub-sec--prefooter .dot-ico { color:#3FE0A3; }
html[data-theme="dark"] .sub-sec--prefooter .dot-ico svg circle.on { fill:rgba(255,255,255,0.78); }
html[data-theme="dark"] .sub-sec--prefooter .dot-ico svg circle.off { fill:rgba(255,255,255,0.16); }

/* the CTA is now the top of the floating navy card */
.sub-sec--ctadark { border-radius:24px 24px 0 0; padding-top:16px; }
.sub-sec--ctadark > .sub-wrap::before { display:none; }

.sub-sec--prefooter .sub-h2 { text-align:center; margin-left:auto; margin-right:auto; }

/* dark CTA in the floating footer card: centered */
.sub-sec--ctadark .cta { align-items:center; text-align:center; }
.sub-sec--ctadark .cta .sub-h2 { margin-left:auto; margin-right:auto; }
.sub-sec--ctadark .cta > p { margin-left:auto; margin-right:auto; }
.sub-sec--ctadark .cta .sub-btns { justify-content:center; }
.sub-sec--ctadark .cta .cta-fine { text-align:center; }

/* hero kicker icon: Phosphor fill glyph */
i.sub-kicker__icon { width:auto; height:auto; font-size:21px; line-height:1; opacity:1; color:#12966E; margin-right:8px; }
html[data-theme="dark"] i.sub-kicker__icon { color:#3FE0A3; }

/* AI pages: hairline between the CTA block and the footer links */
.sub-sec--ctadark > .sub-wrap { position:relative; }
.sub-sec--ctadark > .sub-wrap::after { content:''; position:absolute; left:0; right:0; bottom:-40px; height:1px; background:rgba(255,255,255,0.1); }

/* soft mint arc rising behind the floating footer card */

body { position:relative; isolation:isolate; }
body, html[data-theme="dark"] body { background:transparent !important; }
main, html[data-theme="dark"] main { background:transparent !important; }
body::after { content:''; position:absolute; left:0; right:0; bottom:-14px; height:1694px; z-index:-1; pointer-events:none;
  background:linear-gradient(180deg, rgba(63,224,163,0.5) 0%, rgba(63,224,163,0.36) 40%, rgba(63,224,163,0.28) 100%); filter:saturate(0.8);
  -webkit-mask-image:radial-gradient(107% 70% at 50% -12%, transparent 0%, transparent 52%, rgba(0,0,0,0.4) 66%, rgba(0,0,0,0.85) 80%, #000 92%, #000 100%);
  mask-image:radial-gradient(107% 70% at 50% -12%, transparent 0%, transparent 52%, rgba(0,0,0,0.4) 66%, rgba(0,0,0,0.85) 80%, #000 92%, #000 100%); }
html[data-theme="dark"] body::after { background:linear-gradient(180deg, rgba(63,224,163,0.38) 0%, rgba(63,224,163,0.26) 40%, rgba(63,224,163,0.19) 100%); filter:saturate(0.9) brightness(1.1); }


/* ═══ DARK AUDIT 2 ═══ */
/* nav: the collapse panel colour is mobile-only — desktop inline links sit on the glass bar */
@media (min-width:1081px) { html[data-theme="dark"] .cleeng-navigation__collapse { background:transparent; border-color:transparent; box-shadow:none; } }

/* dark: the whole floating footer card on the raised navy */
html[data-theme="dark"] body:has(.sub-sec--prefooter) .site-footer { background:#0D1333; }

/* dark: subpage hero is flush with the page, not a floating card */
html[data-theme="dark"] .sub-hero { padding:0; }
html[data-theme="dark"] .sub-hero__card { background:transparent; border:0; border-radius:0; }

/* dark: hero kicker slightly brighter; footer card hairline stroke like other boxes */
html[data-theme="dark"] .sub-kicker { color:rgba(255,255,255,0.62); }
html[data-theme="dark"] .sub-sec--ctadark { border:1px solid rgba(255,255,255,0.08); border-bottom:0; }
html[data-theme="dark"] body:has(.sub-sec--prefooter) .site-footer { border:1px solid rgba(255,255,255,0.08); border-top:0; }

/* dark: oauth window content stays light (as in light mode); browser bar keeps dark */
html[data-theme="dark"] .bwin .oauth { background:#F7F8FA; }
html[data-theme="dark"] .bwin .oauth__card { background:#fff !important; border-color:rgba(1,6,44,0.07) !important; box-shadow:0 1px 3px rgba(1,6,44,0.06) !important; }
html[data-theme="dark"] .bwin .oauth__h, html[data-theme="dark"] .bwin .oauth__acct b, html[data-theme="dark"] .bwin .oauth__sec, html[data-theme="dark"] .bwin .oauth__row span, html[data-theme="dark"] .bwin .oauth__redir b { color:#01062C; }
html[data-theme="dark"] .bwin .oauth__p, html[data-theme="dark"] .bwin .oauth__fine, html[data-theme="dark"] .bwin .oauth__redir, html[data-theme="dark"] .bwin .oauth__acct small { color:rgba(1,6,44,0.55); }
html[data-theme="dark"] .bwin .oauth__acct, html[data-theme="dark"] .bwin .oauth__field { background:#fff !important; border-color:rgba(1,6,44,0.1) !important; }
html[data-theme="dark"] .bwin .oauth__av { background:#F1F3F6; color:#01062C; }
html[data-theme="dark"] .bwin .oauth__row { border-bottom-color:rgba(1,6,44,0.08); }
html[data-theme="dark"] .bwin .oauth__seg i { background:#fff; border-color:rgba(1,6,44,0.12); color:rgba(1,6,44,0.7); }
html[data-theme="dark"] .bwin .oauth__seg i.on { border-color:#12966E; color:#12966E; }
html[data-theme="dark"] .bwin .oauth__seg i.off { background:#F7F8FA; border-color:rgba(1,6,44,0.06); color:rgba(1,6,44,0.3); }
html[data-theme="dark"] .bwin .oauth__btn--no { background:#fff; color:#01062C; border-color:rgba(1,6,44,0.12); }
html[data-theme="dark"] .bwin .oauth__logo { filter:brightness(0.86) saturate(1.1); }

/* dark: footer links keep light-mode brightness */
html[data-theme="dark"] .site-footer a { color:rgba(255,255,255,0.6) !important; }
html[data-theme="dark"] .site-footer a:hover { color:#fff !important; }
html[data-theme="dark"] .site-footer .footer-col h3 { color:#fff !important; }

/* CTA hovers: pin text colors against the global a:hover */
a.btn-green:hover, .btn-green:hover { color:#01062C !important; }
a.btn-navy:hover, .btn-navy:hover { color:#fff !important; }
html[data-theme="dark"] a.btn-green:hover, html[data-theme="dark"] .btn-green:hover { color:#062119 !important; }
html[data-theme="dark"] a.btn-navy:hover, html[data-theme="dark"] .btn-navy:hover { color:#062119 !important; }
a.btn-line:hover, .btn-line:hover { color:#01062C; }
html[data-theme="dark"] a.btn-line:hover, html[data-theme="dark"] .btn-line:hover { color:#fff; }

/* nav CTA hover: pin text color against global a:hover */
a.cleeng-navigation__start:hover { color:#fff !important; }
html[data-theme="dark"] a.cleeng-navigation__start:hover { color:#062119 !important; }

/* hero copy load-in */
@keyframes hero-copy-in { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
.sub-hero__copy > * { animation:hero-copy-in .7s cubic-bezier(.22,1,.36,1) both; }
.sub-hero__copy > *:nth-child(1) { animation-delay:.05s; }
.sub-hero__copy > *:nth-child(2) { animation-delay:.18s; }
.sub-hero__copy > *:nth-child(3) { animation-delay:.3s; }
.sub-hero__copy > *:nth-child(4) { animation-delay:.42s; }
.sub-hero__copy > *:nth-child(5) { animation-delay:.52s; }
@media (prefers-reduced-motion:reduce) { .sub-hero__copy > * { animation:none; } }
