/* Capiro homepage.
   Loaded ONLY by the home page (templates/header-home.html) — the other six
   pages keep assets/styles.css and its dark theme. Values are transcribed from
   the approved design; the hero video filter is deliberately the one from the
   previous site (see .hero-video). */

/* ---- base ---- */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:#F5F3EF;color:#101828;font-family:'DM Sans',system-ui,sans-serif;-webkit-font-smoothing:antialiased;text-wrap:pretty}
a{color:#294E68;text-decoration:none}
a:hover{color:#0A1A2E}
input,select,button,textarea{font-family:inherit}
img{max-width:100%}
h1,h2,h3,p{margin:0}

@keyframes capMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes capMarqueeR{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@keyframes capFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* Icons are <use> refs into the sprite; each takes its color from this element. */
.ico{display:block;flex:0 0 auto}

/* ---- nav ---- */
/* Sits transparent over the hero and turns solid past 90px (main.js adds .is-scrolled). */
.nav{position:fixed;top:0;left:0;right:0;z-index:60;background:rgba(6,15,30,0);backdrop-filter:none;border-bottom:1px solid rgba(255,255,255,0);transition:background .3s ease,border-color .3s ease}
.nav-inner{max-width:1200px;margin:0 auto;padding:14px 24px;min-height:72px;display:flex;align-items:center;flex-wrap:wrap;row-gap:10px;column-gap:clamp(16px,3vw,40px)}
.nav-logo{display:flex;align-items:center;flex:0 0 auto}
.nav-logo img{height:24px;width:auto;display:block;filter:brightness(0) invert(1);transition:filter .3s ease}
.nav-links{flex:1 1 auto;display:flex;align-items:center;gap:clamp(16px,3vw,40px)}
.nav-menu{flex:1 1 auto;display:flex;align-items:center;flex-wrap:wrap;gap:clamp(14px,2.2vw,30px)}
.nav-burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:42px;height:42px;margin-left:auto;padding:9px;background:transparent;border:0;cursor:pointer}
.nav-burger span{display:block;height:2px;border-radius:2px;background:#FFFFFF;transition:background .3s ease,transform .2s ease,opacity .2s ease}
.nav.is-scrolled .nav-burger span{background:#101828}
.nav-burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-burger.open span:nth-child(2){opacity:0}
.nav-burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.nav-menu a,.nav-menu a:hover{font-size:15px;font-weight:500;color:rgba(255,255,255,0.92);transition:color .3s ease}
.nav-actions{flex:0 0 auto;display:flex;align-items:center;gap:14px}
.nav-signin,.nav-signin:hover{font-size:15px;font-weight:500;color:rgba(255,255,255,0.78);transition:color .3s ease}
.nav-cta{display:inline-flex;align-items:center;height:42px;padding:0 20px;border:0;border-radius:8px;background:#FFFFFF;color:#0A1A2E;font-size:15px;font-weight:600;cursor:pointer;transition:background .3s ease,color .3s ease;box-shadow:0 1px 2px rgba(16,24,40,0.05)}
.nav.is-scrolled{background:rgba(255,255,255,0.92);backdrop-filter:blur(16px);border-bottom-color:#EAECF0}
.nav.is-scrolled .nav-logo img{filter:none}
.nav.is-scrolled .nav-menu a{color:#344054}
.nav.is-scrolled .nav-signin{color:#475467}
.nav.is-scrolled .nav-cta{background:#0A1A2E;color:#FFFFFF}

/* ---- buttons ---- */
.btn-white{display:inline-flex;align-items:center;height:52px;padding:0 26px;border:0;border-radius:8px;background:#FFFFFF;color:#0A1A2E;font-size:16px;font-weight:600;cursor:pointer;box-shadow:0 12px 16px -4px rgba(6,15,30,0.28)}
.btn-white:hover{background:#F2F4F7;color:#0A1A2E}
.btn-glass{display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 22px;border-radius:8px;border:1px solid rgba(255,255,255,0.34);background:rgba(255,255,255,0.06);color:#FFFFFF;font-size:16px;font-weight:500}
.btn-glass:hover{background:rgba(255,255,255,0.14);color:#FFFFFF}
.btn-dark{display:inline-flex;align-items:center;height:48px;padding:0 22px;border:0;border-radius:8px;background:#0A1A2E;color:#FFFFFF;font-size:15px;font-weight:600;cursor:pointer;box-shadow:0 1px 2px rgba(16,24,40,0.05)}
.btn-dark:hover{background:#294E68;color:#FFFFFF}
.btn-dark-wide{display:inline-flex;align-items:center;gap:10px;height:48px;margin-top:26px;padding:0 22px;border-radius:8px;background:#0A1A2E;color:#FFFFFF;font-size:15px;font-weight:600;box-shadow:0 1px 2px rgba(16,24,40,0.05)}
.btn-dark-wide:hover{background:#294E68;color:#FFFFFF}

/* ---- hero ---- */
.hero{position:relative;min-height:min(100vh,860px);display:flex;align-items:flex-end;overflow:hidden;background:#060F1E}
/* Carried over from the previous site, unchanged, at the client's request. */
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;filter:brightness(0.42) saturate(0.65) hue-rotate(20deg)}
.hero-scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,15,30,0.74) 0%,rgba(6,15,30,0.52) 42%,rgba(6,15,30,0.58) 100%)}
/* Top edge clears the fixed nav by the same 22px inset used left/right, so the
   upper corners read below the nav rather than behind it. --nav-h is published
   by main.js because the nav wraps to two rows on narrow viewports; the 73px
   fallback is its desktop height (72px min-height + 1px border). */
.hero-frame{position:absolute;left:22px;right:22px;top:calc(var(--nav-h,73px) + 22px);bottom:66px;pointer-events:none;z-index:2}
.hero-frame i{position:absolute;width:26px;height:26px}
.hero-frame .tl{left:0;top:0;border-left:1px solid rgba(255,255,255,0.60);border-top:1px solid rgba(255,255,255,0.60)}
.hero-frame .tr{right:0;top:0;border-right:1px solid rgba(255,255,255,0.60);border-top:1px solid rgba(255,255,255,0.60)}
.hero-frame .bl{left:0;bottom:0;border-left:1px solid rgba(255,255,255,0.60);border-bottom:1px solid rgba(255,255,255,0.60)}
.hero-frame .br{right:0;bottom:0;border-right:1px solid rgba(255,255,255,0.60);border-bottom:1px solid rgba(255,255,255,0.60)}
.hero-meta{position:absolute;left:28px;right:28px;bottom:20px;pointer-events:none;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:0.14em;color:rgba(255,255,255,0.60);z-index:2}
.hero-meta-loc{display:inline-flex;align-items:center;gap:10px}
.hero-meta-dot{width:5px;height:5px;background:#C2703B}
.hero-inner{position:relative;width:100%;max-width:1200px;margin:0 auto;padding:180px 24px clamp(72px,9vw,120px)}
.hero-badge{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 12px;border-radius:9999px;background:rgba(255,255,255,0.10);border:1px solid rgba(255,255,255,0.22);backdrop-filter:blur(8px);font-size:12px;font-weight:600;letter-spacing:0.10em;text-transform:uppercase;color:#E6ECF3}
.hero-badge i{width:6px;height:6px;border-radius:9999px;background:#7FD1AE;display:inline-block}
.hero h1{margin:26px 0 0;font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:clamp(56px,9vw,124px);line-height:0.94;letter-spacing:-0.03em;color:#FFFFFF}
.hero-sub{margin:22px 0 0;max-width:620px;font-size:clamp(17px,1.6vw,21px);line-height:1.6;font-weight:300;color:#D7DEE8}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:36px}

/* ---- audience strip ---- */
.audience{background:#FFFFFF;border-bottom:1px solid #EAECF0}
.audience-inner{max-width:1200px;margin:0 auto;padding:clamp(40px,5vw,60px) 24px}
.audience-lead{margin:0 0 32px;text-align:center;font-size:16px;font-weight:500;color:#475467}
.audience-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px}
.audience-item{display:flex;align-items:center;gap:12px;justify-content:center}
.audience-name{font-size:15px;font-weight:600;color:#101828}
.icon-chip{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:#FFFFFF;box-shadow:inset 0 0 0 1px #EAECF0,0 1px 2px rgba(16,24,40,0.05)}

/* ---- platform trio ---- */
.platform{background:#F5F3EF;border-top:1px solid #E7E2D9}
.platform-inner{max-width:1200px;margin:0 auto;padding:clamp(64px,8vw,112px) 24px}
/* min() keeps the 310px track from overflowing viewports narrower than it. */
.platform-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(310px,100%),1fr));gap:clamp(28px,3.5vw,44px)}
.step-num{font-family:'DM Sans',sans-serif;font-size:12px;font-weight:600;letter-spacing:0.14em;color:#98A2B3}
.step-title{margin:10px 0 0;font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:clamp(28px,2.9vw,38px);line-height:1.08;letter-spacing:-0.02em;color:#101828}
.step-desc{margin:14px 0 26px;font-size:16px;line-height:1.6;color:#475467;max-width:34ch}
.step-media{position:relative;height:340px;border-radius:14px;overflow:hidden;background:#0A1A2E}
.step-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.step-media i{position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,15,30,0.00) 45%,rgba(6,15,30,0.34) 100%)}

/* ---- workflow rail ---- */
.workflow{background:#FFFFFF;border-top:1px solid #EAECF0}
.workflow-inner{max-width:1200px;margin:0 auto;padding:clamp(64px,8vw,112px) 24px}
.workflow-head{display:flex;flex-wrap:wrap;align-items:flex-end;gap:28px;max-width:960px}
.workflow-copy{flex:1 1 420px}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:0.14em;text-transform:uppercase;color:#98A2B3}
.workflow-copy h2{margin:14px 0 0;font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:clamp(34px,4vw,52px);line-height:1.04;letter-spacing:-0.02em;color:#101828}
.workflow-copy p{margin:18px 0 0;max-width:56ch;font-size:17px;line-height:1.65;color:#475467}
.workflow-controls{flex:0 0 auto;display:flex;align-items:center;gap:12px}
.rail-btn{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border:0;border-radius:9999px;background:#FFFFFF;box-shadow:inset 0 0 0 1px #D0D5DD,0 1px 2px rgba(16,24,40,0.05);cursor:pointer}
.rail-btn:hover{background:#F9FAFB}
.rail{display:flex;gap:24px;margin-top:clamp(36px,5vw,56px);overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;padding-bottom:12px}
.rail-card{flex:0 0 clamp(400px,38vw,520px);scroll-snap-align:start;display:flex;flex-direction:column;background:#FFFFFF;border-radius:16px;overflow:hidden;box-shadow:inset 0 0 0 1px #EAECF0,0 4px 8px -2px rgba(16,24,40,0.06)}
.rail-media{height:304px;overflow:hidden;padding:22px 22px 0;background:linear-gradient(180deg,#F5F3EF 0%,#FFFFFF 100%)}
.rail-media>img{display:block;width:100%;height:auto;border-radius:10px 10px 0 0;border:1px solid #EAECF0;border-bottom:0;box-shadow:0 12px 16px -4px rgba(16,24,40,0.12)}
.rail-body{padding:24px}
.rail-name{margin-top:8px;font-family:'Instrument Serif',Georgia,serif;font-size:28px;line-height:1.12;letter-spacing:-0.01em;color:#101828}
.rail-body p{margin:10px 0 0;font-size:15px;line-height:1.6;color:#475467}
.card-link,.card-link:hover{display:inline-flex;align-items:center;gap:8px;margin-top:18px;font-size:14px;font-weight:600;color:#294E68}

/* Hand-built mock: the LegiWatch live-hearing card. */
.mock-shell{border-radius:10px 10px 0 0;overflow:hidden;border:1px solid #EAECF0;border-bottom:0;background:#FFFFFF;box-shadow:0 12px 16px -4px rgba(16,24,40,0.12)}
.mock-cols{display:flex;gap:10px;padding:14px;background:#F9FAFB}
.mock-col-a{flex:1.15 1 0;min-width:0;display:flex;flex-direction:column;gap:10px}
.mock-col-b{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:10px}
.mock-video{position:relative;border-radius:8px;overflow:hidden;background:#0A1A2E;aspect-ratio:16/10}
.mock-live{position:absolute;left:8px;top:8px;display:inline-flex;align-items:center;gap:5px;height:18px;padding:0 7px;border-radius:4px;background:rgba(255,255,255,0.16);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;letter-spacing:0.06em;color:#FFFFFF}
.mock-live i{width:5px;height:5px;border-radius:9999px;background:#F04438}
.mock-badge-wrap{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.mock-badge{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:9999px;background:rgba(255,255,255,0.12);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;letter-spacing:0.06em;color:#FFFFFF}
.mock-timerow{display:flex;justify-content:space-between;gap:8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;letter-spacing:0.05em;color:#667085;white-space:nowrap}
.mock-timerow span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
.mock-panel{padding:10px;border-radius:8px;border:1px solid #EAECF0;background:#FFFFFF}
.mock-panel-head{display:flex;justify-content:space-between;gap:8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;letter-spacing:0.06em;color:#667085;white-space:nowrap}
.mock-panel-head .dim{color:#98A2B3}
.mock-hit{display:flex;gap:8px;margin-top:9px;padding:6px 8px;border-radius:5px;background:#FFFAF5;box-shadow:inset 2px 0 0 #B54708}
.mock-hit-time{flex:0 0 auto;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;color:#98A2B3}
.mock-hit-text{flex:1;min-width:0;font-size:11px;line-height:1.45;color:#101828;font-weight:500}
.mock-tag{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;letter-spacing:0.06em}
.mock-tag.amber{color:#B54708}
.mock-tag.blue{color:#294E68}
.mock-h{margin-top:6px;font-size:12px;font-weight:600;line-height:1.35;color:#101828}
.mock-p{margin-top:5px;font-size:11px;line-height:1.45;color:#667085}

/* Hand-built mock: the Meri chat card. */
.chat-shell{padding:16px 16px 22px;border-radius:10px 10px 0 0;border:1px solid #EAECF0;border-bottom:0;background:#FFFFFF;box-shadow:0 12px 16px -4px rgba(16,24,40,0.12)}
.chat-userrow{display:flex;justify-content:flex-end}
.chat-user{max-width:80%;padding:9px 13px;border-radius:12px 12px 4px 12px;background:#EDF3F7;font-size:13px;line-height:1.5;color:#101828}
.chat-reply{display:flex;gap:10px;margin-top:14px}
.chat-avatar{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:9999px;background:#0A1A2E;color:#FFFFFF;font-size:10px;font-weight:600}
.chat-body{flex:1;min-width:0}
.chat-text{font-size:13px;line-height:1.6;color:#344054}
.chat-chart{margin-top:12px;padding:12px;border-radius:8px;border:1px solid #EAECF0;background:#FCFCFD}
.chat-chart-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.chat-chart-head span{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;letter-spacing:0.08em;color:#667085}
.chat-chart-head .dim{color:#98A2B3}
.chat-bars{display:flex;align-items:flex-end;gap:8px;height:48px;margin-top:10px}
.chat-bars span{flex:1;border-radius:3px 3px 0 0;background:#294E68}
.chat-bars .cut{background:#B54708}
.chat-axis{display:flex;gap:8px;margin-top:8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;letter-spacing:0.06em;color:#98A2B3}
.chat-axis span{flex:1}

/* ---- signal -> outcome band ---- */
.signal{position:relative;overflow:hidden;background:#060F1E}
.signal>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.signal-scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,15,30,0.86) 0%,rgba(6,15,30,0.74) 50%,rgba(6,15,30,0.90) 100%)}
.signal-inner{position:relative;max-width:1200px;margin:0 auto;padding:clamp(56px,7vw,96px) 24px;text-align:center}
.signal-inner h2{margin:0;font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:clamp(32px,3.6vw,46px);line-height:1.06;letter-spacing:-0.02em;color:#FFFFFF}
.signal-sub{margin:14px auto 0;max-width:560px;font-size:17px;line-height:1.6;color:#A9BACD}
.signal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:20px;margin-top:clamp(36px,5vw,56px);text-align:left}
.signal-item{display:flex;align-items:flex-start;gap:14px}
.signal-chip{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;border:1px solid rgba(255,255,255,0.24);background:rgba(255,255,255,0.06)}
.signal-name{display:block;font-size:15px;font-weight:600;color:#FFFFFF}
.signal-desc{display:block;margin-top:5px;font-size:14px;line-height:1.55;color:#93A7BD}

/* ---- connected platform ---- */
.solutions{background:#FFFFFF}
.solutions-inner{max-width:1200px;margin:0 auto;padding:clamp(64px,8vw,112px) 24px}
.solutions-row{display:flex;flex-wrap:wrap;gap:clamp(28px,4vw,64px)}
.solutions-lead{flex:1 1 280px;max-width:340px}
.solutions-lead h2{margin:0;font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:clamp(32px,3.4vw,44px);line-height:1.06;letter-spacing:-0.02em;color:#101828}
.solutions-lead p{margin:18px 0 0;font-size:16px;line-height:1.65;color:#475467}
.solutions-cols{flex:2 1 520px;min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:28px}
.solutions-title{margin-top:14px;font-size:16px;font-weight:600;color:#101828}
.solutions-list{margin-top:10px;display:flex;flex-direction:column;gap:6px;font-size:15px;line-height:1.5;color:#475467}

/* ---- practitioner quotes ---- */
.quotes{background:#F5F3EF;border-top:1px solid #E7E2D9;overflow:hidden}
.quotes-head{max-width:1200px;margin:0 auto;padding:clamp(56px,7vw,80px) 24px 0}
.quotes-wrap{position:relative;padding:28px 0 clamp(56px,7vw,96px)}
.quotes-fade{position:absolute;top:0;bottom:0;width:clamp(48px,10vw,160px);z-index:2;pointer-events:none}
.quotes-fade.l{left:0;background:linear-gradient(90deg,#F5F3EF 0%,rgba(245,243,239,0) 100%)}
.quotes-fade.r{right:0;background:linear-gradient(270deg,#F5F3EF 0%,rgba(245,243,239,0) 100%)}
.quotes-track{display:flex;width:max-content;gap:20px;padding:0 20px;animation:capMarqueeR 52s linear infinite}
.quotes-track:hover{animation-play-state:paused}
.quote{flex:0 0 clamp(300px,26vw,380px);display:flex;flex-direction:column;justify-content:space-between;padding:26px 28px;background:#FFFFFF;border-radius:14px;box-shadow:inset 0 0 0 1px #EAECF0,0 1px 2px rgba(16,24,40,0.05)}
.quote p{margin:0;font-family:'Instrument Serif',Georgia,serif;font-size:21px;line-height:1.35;letter-spacing:-0.01em;color:#101828}
.quote-who{margin-top:18px;font-size:13px;font-weight:500;color:#667085}

/* ---- closing CTA ---- */
.cta{position:relative;overflow:hidden;background:#0A1A2E}
.cta>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cta-scrim{position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,15,30,0.92) 0%,rgba(6,15,30,0.78) 46%,rgba(6,15,30,0.34) 100%)}
.cta-inner{position:relative;max-width:1200px;margin:0 auto;padding:clamp(72px,9vw,132px) 24px}
.cta-inner h2{margin:0;max-width:16ch;font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:clamp(34px,4.4vw,58px);line-height:1.04;letter-spacing:-0.02em;color:#FFFFFF}
.cta-sub{margin:18px 0 0;max-width:46ch;font-size:17px;line-height:1.6;color:#C0CDDB}
.cta-inner .btn-white{margin-top:32px;box-shadow:0 12px 16px -4px rgba(6,15,30,0.30)}

/* ---- footer ---- */
.site-footer{background:#060F1E}
.footer-top{max-width:1200px;margin:0 auto;padding:clamp(48px,6vw,80px) 24px 32px;display:flex;flex-wrap:wrap;gap:clamp(28px,4vw,64px)}
.footer-brand{flex:1 1 260px;max-width:320px}
.footer-brand img{height:24px;width:auto;display:block;filter:brightness(0) invert(1)}
.footer-tagline{margin:16px 0 0;font-size:15px;line-height:1.6;color:#8FA0B4}
.footer-social{display:flex;gap:10px;margin-top:20px}
.footer-chip,.footer-chip:hover{display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:8px;border:1px solid rgba(255,255,255,0.18);color:#D7DEE8;font-size:14px;font-weight:500}
.footer-chip:hover{background:rgba(255,255,255,0.08)}
.footer-col{flex:1 1 160px}
.footer-col.wide{flex:1 1 180px}
.footer-col-title{font-size:12px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:#5E7288}
.footer-links{display:flex;flex-direction:column;gap:10px;margin-top:16px}
.footer-links a,.footer-links a:hover{font-size:15px;color:#C6D3E1}
.footer-start{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:16px}
.btn-footer{display:inline-flex;align-items:center;height:40px;padding:0 18px;border:0;border-radius:8px;background:#FFFFFF;color:#0A1A2E;font-size:14px;font-weight:600;cursor:pointer}
.btn-footer:hover{background:#E8EDF2}
.footer-signin,.footer-signin:hover{font-size:15px;color:#C6D3E1}
.footer-bottom{max-width:1200px;margin:0 auto;padding:20px 24px 40px;border-top:1px solid rgba(255,255,255,0.10);display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center}
.footer-copy{font-size:13px;color:#6E8098}
.footer-legal{display:flex;gap:20px}
.footer-legal a,.footer-legal a:hover{font-size:13px;color:#8FA0B4}

/* ---- demo modal ---- */
/* #demoModal is itself the backdrop so main.js closeModalOutside() keeps working. */
#demoModal{position:fixed;inset:0;z-index:90;display:flex;align-items:flex-start;justify-content:center;padding:24px;overflow-y:auto;background:rgba(6,15,30,0.62);backdrop-filter:blur(4px);visibility:hidden}
#demoModal.open{visibility:visible}
.modal-box{position:relative;width:100%;max-width:520px;margin:auto;background:#FFFFFF;border-radius:16px;box-shadow:0 24px 48px -12px rgba(16,24,40,0.32);padding:clamp(24px,3vw,36px);animation:capFade .18s ease}
.modal-close{position:absolute;top:16px;right:16px;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:8px;background:transparent;cursor:pointer;color:#667085}
.modal-close:hover{background:#F2F4F7}
.modal-eyebrow{font-size:12px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:#98A2B3}
.modal-title{margin-top:10px;font-family:'Instrument Serif',Georgia,serif;font-size:32px;line-height:1.1;letter-spacing:-0.02em;color:#101828}
.modal-sub{margin:10px 0 24px;font-size:15px;line-height:1.6;color:#475467}
.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}
.form-field{display:block}
.form-field.mt{margin-top:16px}
.form-field>span{display:block;margin-bottom:6px;font-size:14px;font-weight:500;color:#344054}
.form-field>span i{font-style:normal;font-weight:400;color:#98A2B3}
.form-input,.form-select{width:100%;height:44px;border-radius:8px;border:0;box-shadow:inset 0 0 0 1px #D0D5DD,0 1px 2px rgba(16,24,40,0.05);font-size:15px;color:#101828;outline:none}
.form-input{padding:0 14px}
.form-select{padding:0 12px;background:#FFFFFF}
.form-error{display:none;margin-top:16px;padding:12px 14px;border-radius:8px;background:#FEF3F2;color:#B42318;font-size:14px;font-weight:500}
.form-submit{width:100%;height:48px;margin-top:24px;border:0;border-radius:8px;background:#0A1A2E;color:#FFFFFF;font-size:16px;font-weight:600;cursor:pointer}
.form-submit:hover{background:#294E68}
.form-note{margin:12px 0 0;text-align:center;font-size:13px;color:#667085}
.form-success{display:none;text-align:center}
.fs-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:9999px;background:#ECFDF3;color:#079455}
.fs-title{margin-top:16px;font-family:'Instrument Serif',Georgia,serif;font-size:30px;line-height:1.1;letter-spacing:-0.02em;color:#101828}
.fs-sub{margin:10px 0 0;font-size:15px;line-height:1.6;color:#475467}
.fs-divider{height:1px;background:#EAECF0;margin:26px 0}
.fs-sched-label{font-size:12px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:#98A2B3}
.fs-sched-text{margin:10px 0 20px;font-size:15px;line-height:1.6;color:#475467}
.btn-schedule,.btn-schedule:hover{display:inline-flex;align-items:center;height:48px;padding:0 24px;border-radius:8px;background:#0A1A2E;color:#FFFFFF;font-size:15px;font-weight:600}
.btn-schedule:hover{background:#294E68}

/* ---- workflow rail: tinted product mockups ---- */
/* Each card's media panel is a flat brand tint with the product screenshot
   inset on top, bleeding past the panel's bottom edge. The shot is a deliberate
   3:2 detail crop (assets/deck/zoom-*.jpg) so the UI stays legible at card
   width, which means object-fit:cover trims almost nothing. */
.rail-media.tint{padding:26px 26px 0;background:#F5F3EF}
.rail-media.t-navy{background:#0A1A2E}
.rail-media.t-steel{background:#294E68}
.rail-media.t-slate{background:#1D3350}
.rail-media.t-sand{background:#E7E0D3}
.rail-media.t-sage{background:#D6E0DA}
.rail-media.t-mist{background:#DAE2EC}
.rail-media.t-clay{background:#E6DBD1}
.rail-shot{display:block;width:100%;height:calc(100% + 34px);object-fit:cover;object-position:top left;border-radius:8px 8px 0 0;background:#FFFFFF;box-shadow:0 12px 16px -4px rgba(6,15,30,0.24),0 4px 6px -2px rgba(6,15,30,0.10)}
.rail-media.tint>.rail-shot{border:1px solid rgba(16,24,40,0.10)}
.rail-media.t-navy>.rail-shot,.rail-media.t-steel>.rail-shot,.rail-media.t-slate>.rail-shot{border:1px solid rgba(255,255,255,0.16)}

/* ---- interior page hero (light) ---- */
.pagehead{background:#F5F3EF;border-bottom:1px solid #E7E2D9}
.pagehead-inner{max-width:1200px;margin:0 auto;padding:calc(var(--nav-h,73px) + clamp(52px,6vw,88px)) 24px clamp(30px,3.4vw,44px)}
.pagehead h1{margin:16px 0 0;max-width:19ch;font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:clamp(44px,6.2vw,86px);line-height:0.98;letter-spacing:-0.03em;color:#101828}
.pagehead-sub{margin:22px 0 0;max-width:62ch;font-size:clamp(17px,1.5vw,20px);line-height:1.6;color:#475467}
.pagehead-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}
.pagehead-meta{display:flex;flex-wrap:wrap;gap:10px 28px;max-width:1200px;margin:0 auto;padding:0 24px 30px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:#8B8375}
.pagehead-meta span{display:inline-flex;align-items:center;gap:9px}
.pagehead-meta i{width:5px;height:5px;background:#C2703B}

/* ---- module index strip ---- */
.modnav{position:sticky;top:var(--nav-h,73px);z-index:40;background:rgba(255,255,255,0.94);backdrop-filter:blur(12px);border-bottom:1px solid #EAECF0}
.modnav-inner{max-width:1200px;margin:0 auto;padding:12px 24px;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 40px),transparent 100%);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 40px),transparent 100%)}
.modnav-inner::-webkit-scrollbar{display:none}
.modchip,.modchip:hover{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px;border-radius:9999px;background:#FFFFFF;box-shadow:inset 0 0 0 1px #EAECF0;font-size:13px;font-weight:600;color:#344054;white-space:nowrap}
.modchip:hover{background:#F9FAFB;box-shadow:inset 0 0 0 1px #D0D5DD;color:#0A1A2E}

/* ---- module section ---- */
/* scroll-margin clears both the fixed nav and the sticky module strip. */
.mod{background:#FFFFFF;border-top:1px solid #EAECF0;scroll-margin-top:calc(var(--nav-h,73px) + 61px)}
.mod.alt{background:#F5F3EF;border-top-color:#E7E2D9}
.mod-inner{max-width:1200px;margin:0 auto;padding:clamp(60px,7.5vw,106px) 24px}
.mod-head{display:flex;flex-wrap:wrap;align-items:flex-end;gap:24px 40px}
.mod-copy{flex:1 1 480px;min-width:0}
.kicker{display:flex;align-items:center;gap:10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:0.16em;text-transform:uppercase;color:#98A2B3}
.kicker b{font-weight:600;color:#294E68}
.kicker s{width:14px;height:1px;background:#D0D5DD;text-decoration:none}
.mod-copy h2{margin:14px 0 0;max-width:24ch;font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:clamp(31px,3.7vw,50px);line-height:1.04;letter-spacing:-0.02em;color:#101828}
.mod-lead{margin:18px 0 0;max-width:58ch;font-size:17px;line-height:1.65;color:#475467}
.mod-aside{flex:0 1 300px;padding-left:24px;border-left:2px solid #E4E7EC}
.mod.alt .mod-aside{border-left-color:#DED8CD}
.mod-aside p{margin:0;font-size:14.5px;line-height:1.6;color:#667085}
.mod-figure{margin:clamp(30px,3.6vw,48px) 0 0;border-radius:14px;overflow:hidden;background:#FFFFFF;box-shadow:inset 0 0 0 1px #EAECF0,0 20px 24px -4px rgba(16,24,40,0.10),0 8px 8px -4px rgba(16,24,40,0.04)}
.mod-figure img{display:block;width:100%;height:auto}
.mod-figcap{display:flex;flex-wrap:wrap;gap:6px 18px;margin:14px 0 0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:0.13em;text-transform:uppercase;color:#98A2B3}
.mod-points{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(232px,100%),1fr));gap:clamp(22px,2.6vw,34px);margin-top:clamp(30px,3.6vw,46px)}
.mod-point-n{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:0.14em;color:#B0B7C3}
.mod-point-t{margin-top:9px;font-size:15.5px;font-weight:600;line-height:1.4;color:#101828}
.mod-point-d{margin:7px 0 0;font-size:14.5px;line-height:1.6;color:#475467}
/* A module with two screens: the second sits under a hairline. */
.mod-sub{margin-top:clamp(44px,5vw,72px);padding-top:clamp(38px,4.4vw,58px);border-top:1px solid #EAECF0}
.mod.alt .mod-sub{border-top-color:#DED8CD}
.mod-sub h3{margin:14px 0 0;max-width:26ch;font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:clamp(26px,2.8vw,36px);line-height:1.08;letter-spacing:-0.02em;color:#101828}

/* ---- how it is built (dark band) ---- */
.tenets{background:#060F1E}
.tenets-inner{max-width:1200px;margin:0 auto;padding:clamp(60px,7.5vw,104px) 24px}
.tenets-inner .eyebrow{color:#6E8098}
.tenets-inner h2{margin:14px 0 0;max-width:22ch;font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:clamp(30px,3.5vw,46px);line-height:1.05;letter-spacing:-0.02em;color:#FFFFFF}
.tenets-lead{margin:18px 0 0;max-width:58ch;font-size:17px;line-height:1.65;color:#A9BACD}
.tenets-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(248px,100%),1fr));gap:1px;margin-top:clamp(36px,4.4vw,56px);background:rgba(255,255,255,0.12)}
.tenet{background:#060F1E;padding:clamp(22px,2.4vw,30px)}
.tenet-k{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:#7FD1AE}
.tenet-t{margin-top:12px;font-family:'Instrument Serif',Georgia,serif;font-size:22px;line-height:1.14;letter-spacing:-0.01em;color:#FFFFFF}
.tenet-d{margin:10px 0 0;font-size:14.5px;line-height:1.6;color:#93A7BD}

/* ---- integrations / under the hood ---- */
.integ{background:#FFFFFF;border-top:1px solid #EAECF0}
.integ.alt{background:#F5F3EF;border-top-color:#E7E2D9}
.integ-inner{max-width:1200px;margin:0 auto;padding:clamp(60px,7.5vw,104px) 24px}
.integ-inner h2{margin:14px 0 0;max-width:24ch;font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:clamp(30px,3.5vw,46px);line-height:1.05;letter-spacing:-0.02em;color:#101828}
.integ-lead{margin:18px 0 0;max-width:58ch;font-size:17px;line-height:1.65;color:#475467}
.integ-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(322px,100%),1fr));gap:clamp(18px,2vw,24px);margin-top:clamp(36px,4.4vw,54px)}
/* Four cards read better 2-up than 3+1, so the hood grid takes a wider track. */
.hood-grid{grid-template-columns:repeat(auto-fit,minmax(min(430px,100%),1fr))}
.integ-card{padding:24px;border-radius:14px;background:#FFFFFF;box-shadow:inset 0 0 0 1px #EAECF0,0 1px 2px rgba(16,24,40,0.05)}
.integ-card .eyebrow{color:#294E68}
.integ-list{display:flex;flex-direction:column;gap:12px;margin-top:16px}
.integ-row{display:flex;align-items:center;gap:12px}
.integ-mark{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;background:#F9FAFB;box-shadow:inset 0 0 0 1px #EAECF0;font-size:12px;font-weight:700;color:#294E68}
.integ-name{font-size:14.5px;font-weight:600;color:#101828}
.integ-what{display:block;margin-top:2px;font-size:13px;font-weight:400;color:#667085}
.hood-card{padding:clamp(24px,2.6vw,32px);border-radius:14px;background:#FFFFFF;box-shadow:inset 0 0 0 1px #EAECF0,0 1px 2px rgba(16,24,40,0.05)}
.hood-t{margin-top:12px;font-family:'Instrument Serif',Georgia,serif;font-size:23px;line-height:1.14;letter-spacing:-0.01em;color:#101828}
.hood-d{margin:10px 0 0;font-size:14.5px;line-height:1.62;color:#475467}

/* ---- insights ---- */
.insights{background:#FFFFFF;border-top:1px solid #EAECF0}
.insights-inner{max-width:1200px;margin:0 auto;padding:clamp(56px,7vw,96px) 24px}
.ins-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:clamp(26px,3vw,38px)}
.ins-count{margin-right:auto;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:#98A2B3}
.ins-status{padding:22px 24px;border-radius:12px;background:#F9FAFB;box-shadow:inset 0 0 0 1px #EAECF0;font-size:15px;line-height:1.6;color:#475467}
.ins-strong{font-weight:600;color:#101828}
.ins-link,.ins-link:hover{font-weight:600;color:#294E68}
.insights-grid{display:none;grid-template-columns:repeat(auto-fill,minmax(min(318px,100%),1fr));gap:clamp(20px,2.4vw,28px)}
.ins-card,.ins-card:hover{display:flex;flex-direction:column;border-radius:14px;overflow:hidden;background:#FFFFFF;box-shadow:inset 0 0 0 1px #EAECF0,0 1px 2px rgba(16,24,40,0.05);transition:box-shadow .2s ease,transform .2s ease}
.ins-card:hover{box-shadow:inset 0 0 0 1px #D0D5DD,0 12px 16px -4px rgba(16,24,40,0.10);transform:translateY(-2px)}
.ins-thumb{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;background:#F2F4F7;border-bottom:1px solid #EAECF0}
.ins-card-body{display:flex;flex-direction:column;flex:1 1 auto;padding:22px}
.ins-date{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:0.13em;text-transform:uppercase;color:#98A2B3}
.ins-title{margin-top:10px;font-family:'Instrument Serif',Georgia,serif;font-size:24px;line-height:1.14;letter-spacing:-0.01em;color:#101828}
.ins-excerpt{margin:10px 0 0;font-size:14.5px;line-height:1.6;color:#475467;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.ins-readmore{margin-top:auto;padding-top:18px;font-size:13.5px;font-weight:600;color:#294E68}
.ins-subscribe{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin-top:clamp(36px,4.4vw,56px);padding:clamp(26px,3vw,36px);border-radius:16px;background:#F5F3EF;box-shadow:inset 0 0 0 1px #E7E2D9}
.ins-subscribe-text{flex:1 1 320px;min-width:0}
.ins-sub-title{font-family:'Instrument Serif',Georgia,serif;font-size:26px;line-height:1.12;letter-spacing:-0.01em;color:#101828}
.ins-subscribe-text p{margin:8px 0 0;font-size:15px;line-height:1.6;color:#475467}

/* ---- topic strip ---- */
.topics{background:#F5F3EF;border-top:1px solid #E7E2D9}
.topics-inner{max-width:1200px;margin:0 auto;padding:clamp(56px,7vw,92px) 24px}
.topics-inner h2{margin:14px 0 0;max-width:24ch;font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:clamp(28px,3.2vw,42px);line-height:1.06;letter-spacing:-0.02em;color:#101828}
.topics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(248px,100%),1fr));gap:clamp(22px,2.6vw,34px);margin-top:clamp(32px,4vw,48px)}
.topic-n{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:0.14em;color:#B0A896}
.topic-t{margin-top:9px;font-family:'Instrument Serif',Georgia,serif;font-size:23px;line-height:1.14;letter-spacing:-0.01em;color:#101828}
.topic-d{margin:8px 0 0;font-size:14.5px;line-height:1.6;color:#475467}

/* ---- interior page CTA (the .cta chrome without a photo) ---- */
.cta.flat{background:#0A1A2E}
.cta.flat .cta-scrim{background:linear-gradient(115deg,rgba(41,78,104,0.62) 0%,rgba(6,15,30,0) 66%)}

/* ---- responsive ---- */
/* The design's own strategy is flex-wrap + clamp(), which carries the layout
   down to about tablet width on its own. Below that the nav collapses to a
   burger, and the hero's fixed insets need pulling back so the decorative
   corner frame and the monospace strip stop colliding with the CTAs. */

/* Tablet and below — nav collapses to a burger menu (toggleNav/closeNav in
   main.js drive #navLinks / #navBurger, same as the other pages). */
@media (max-width:768px){
  .nav-inner{padding:12px 18px;min-height:64px;flex-wrap:nowrap}
  .nav-burger{display:flex}
  .nav-links{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;padding:6px 18px 18px;background:rgba(255,255,255,0.98);backdrop-filter:blur(16px);border-bottom:1px solid #EAECF0;box-shadow:0 14px 32px rgba(16,24,40,0.12)}
  .nav-links.open{display:flex}
  .nav-menu{flex:0 0 auto;flex-direction:column;align-items:stretch;gap:0}
  .nav-menu a,.nav.is-scrolled .nav-menu a{color:#344054;padding:14px 0;border-bottom:1px solid #F2F4F7}
  .nav-actions{flex-direction:column;align-items:stretch;gap:12px;margin-top:16px}
  .nav-signin,.nav.is-scrolled .nav-signin{color:#475467}
  .nav-cta,.nav.is-scrolled .nav-cta{background:#0A1A2E;color:#FFFFFF;height:46px;justify-content:center}
  /* Clear the frame's bottom corners (66px inset + 26px corner). */
  .hero-inner{padding-bottom:120px}
  /* Two stacked sticky bars would eat the viewport on a phone. */
  .modnav{position:static}
  .mod{scroll-margin-top:calc(var(--nav-h,65px) + 12px)}
  .mod-aside{flex:1 1 100%;padding-left:18px}
  .pagehead-actions>*{flex:1 1 100%;justify-content:center}
}

/* Phone. */
@media (max-width:640px){
  .hero-inner{padding-top:120px;padding-bottom:136px}
  .hero-frame{left:14px;right:14px;top:calc(var(--nav-h,73px) + 14px);bottom:96px}
  /* The badge wraps to two lines here, so it can no longer be a fixed pill. */
  .hero-badge{height:auto;min-height:30px;padding:6px 12px;line-height:1.3}
  .hero-actions{gap:12px}
  .hero-actions>*{flex:1 1 100%;justify-content:center}
  .hero-meta{left:18px;right:18px;bottom:16px;font-size:10px;flex-direction:column;gap:6px}
  /* Stacked, each item centres on its own text and the icons come out ragged. */
  .audience-grid{gap:14px}
  .audience-item{justify-content:flex-start}
  .rail-card{flex:0 0 86vw}
  .rail-media{height:auto;min-height:200px}
  .workflow-controls{width:100%}
  .workflow-controls .btn-dark{flex:1 1 auto;justify-content:center}
  .rail-media.tint{padding:16px 16px 0}
  .pagehead h1{font-size:clamp(36px,10.5vw,54px)}
  /* A whole app window scaled to 340px is unreadable, so let the reader pan it
     at a legible scale instead. clip on the block + auto on the inline axis
     keeps the rounded corners while allowing the horizontal scroll. */
  .mod-figure{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
  .mod-figure img{width:auto;max-width:none;height:min(56vh,400px)}
  .mod-figcap::after{content:' / scroll to pan';color:#C0C6D0}
  .ins-subscribe{gap:18px}
  .ins-subscribe .btn-dark{width:100%;justify-content:center}
}
