/* FinSentinal unified brand system — v10 · Jul 2026
   Master brand first. Clear hierarchy. Readable large type. One header everywhere. */

:root{
  --max:1240px;
  --text:#f7faff;
  --text-2:#b9c8dc;
  --text-3:#8296b1;
  --brand-blue:#4d8fff;
  --brand-blue-soft:#8ab7ff;
  --brand-gold:#efbd5b;
}

html{font-size:16px}
body{
  font-family:'Manrope',sans-serif;
  color:var(--text);
  font-weight:400;
  line-height:1.65;
  text-rendering:optimizeLegibility;
}
button,input,textarea,select{font:inherit}

/* Shared container and breathing room */
.container{width:min(var(--max),calc(100% - 64px));margin-inline:auto}

/* One header system on every route */
.site-header{
  background:rgba(2,8,16,.86);
  border-bottom:1px solid rgba(255,255,255,.075);
  backdrop-filter:blur(22px) saturate(1.35);
  -webkit-backdrop-filter:blur(22px) saturate(1.35);
}
.header-inner{height:76px;gap:28px}
.brand{gap:13px}
.brand-mark,.brand-mark img{width:40px;height:40px}
.brand-name{font-family:'Manrope',sans-serif;font-size:19px;font-weight:800;letter-spacing:-.035em}
.site-nav{
  gap:3px;
  padding:5px;
  background:rgba(255,255,255,.035);
  border-color:rgba(255,255,255,.085);
}
.site-nav a{
  padding:9px 17px;
  font-family:'Manrope',sans-serif;
  font-size:14px;
  font-weight:650;
  color:#9fb2cd;
  letter-spacing:-.015em;
}
.site-nav a:hover{color:#f7faff;background:rgba(255,255,255,.055)}
.site-nav a.active{
  background:linear-gradient(135deg,#5796ff,#246fff);
  color:white;
  box-shadow:0 7px 24px rgba(29,111,255,.32);
}
.header-cta .btn{font-weight:750}

/* Buttons */
.btn{
  font-family:'Manrope',sans-serif;
  font-weight:750;
  letter-spacing:-.025em;
  border-radius:12px;
}
.btn-primary{background:linear-gradient(135deg,#5796ff,#246fff)}

/* Technical language stays monospaced and subordinate */
.hero-kicker,.cinematic-kicker,.eyebrow,.live-badge,.account-pill,
.chart-kicker,.chart-source,.chapter-date,.contact-label,.cta-kicker,
.trust-line,.cinematic-trust,.terminal-top,.terminal-flow,.story-number,
.snapshot-stat span,.metric-story span,.window-card>span,.system-node>span,
.join-shell small,.micro-note,.cta-note,.equity-src,.equity-foot .ef-l{
  font-family:'IBM Plex Mono',monospace;
}

/* Homepage: powerful, but readable */
.cinematic-hero{min-height:calc(100svh - 76px)}
.cinematic-hero h1{
  font-family:'Manrope',sans-serif;
  font-size:clamp(62px,7.4vw,108px);
  font-weight:800;
  line-height:.92;
  letter-spacing:-.065em;
  text-wrap:balance;
}
.cinematic-hero h1 span{
  background:none;
  color:var(--brand-blue-soft);
  -webkit-text-fill-color:initial;
}
.cinematic-hero-copy>p{
  color:#bdcbe0;
  font-size:clamp(17px,1.25vw,19px);
  line-height:1.72;
  max-width:63ch;
}
.cinematic-kicker{font-size:11px;letter-spacing:.18em;color:#82b4ff}
.terminal-status{font-family:'Manrope',sans-serif;font-weight:750}

/* One editorial inner-page hero system */
.page-hero{
  padding:112px 0 78px;
  position:relative;
  overflow:hidden;
}
.page-hero::after{
  content:'';
  position:absolute;
  width:560px;
  height:560px;
  right:-190px;
  top:-210px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(29,111,255,.12),transparent 68%);
  pointer-events:none;
}
.page-hero .container{position:relative;z-index:1}
.hero-kicker{
  margin-bottom:24px;
  font-size:11px;
  letter-spacing:.18em;
  color:#82b4ff;
}
.page-h1{
  max-width:980px;
  margin-bottom:28px;
  font-family:'Manrope',sans-serif;
  font-size:clamp(54px,6.7vw,92px);
  font-weight:800;
  line-height:.96;
  letter-spacing:-.06em;
  text-wrap:balance;
}
.brand-accent,.text-gradient{
  color:var(--brand-blue-soft)!important;
  background:none!important;
  -webkit-background-clip:initial!important;
  background-clip:initial!important;
  -webkit-text-fill-color:initial!important;
}
.page-sub{
  max-width:66ch;
  color:#becce0;
  font-size:clamp(17px,1.35vw,19px);
  line-height:1.75;
}
.page-hero .hero-actions{margin-top:34px}

/* Editorial hierarchy */
h1,h2,h3,h4,.section-heading h2,.large-section-title,.side-title,
.story-title,.card-title,.snapshot-head h2,.system-node h2,.contact-card h2{
  font-family:'Manrope',sans-serif;
}
.section-heading h2,.large-section-title,.side-title{
  font-weight:800;
  letter-spacing:-.045em;
  text-wrap:balance;
}
.section-heading h2{font-size:clamp(36px,4.5vw,58px);line-height:1.04}
.section-heading p,.body-copy,.card-body,.contact-card p,.system-node p,
.metric-story p,.window-card>div,.chapter-card p,.principle-card p,
.page p:not(.page-sub){color:var(--text-2)}
.body-copy,.card-body{font-size:16.5px;line-height:1.8}

/* Public Feed: blue is the brand; gold is a small product accent only */
.feed-hero::after{background:radial-gradient(circle,rgba(29,111,255,.13),transparent 68%)}
.feed-hero .hero-kicker{color:var(--brand-gold)}

/* Brand-first product labels */
.account-pill,.chapter-card.current .chapter-date,.cta-kicker{color:#f1c66f}

/* Footer consistency */
.site-footer{border-top-color:rgba(255,255,255,.085)}
.footer-brand{font-family:'Manrope',sans-serif;font-weight:700}
.footer-links a{font-weight:600;color:#9eb1cb}
.footer-legal{color:#8093ad;line-height:1.75}

/* Readability and focus */
:focus-visible{outline:3px solid rgba(130,180,255,.8);outline-offset:3px}
.notice{color:#9eb1cb;line-height:1.7}
.card{border-color:rgba(255,255,255,.095)}

/* Tablet */
@media(max-width:980px){
  .container{width:min(var(--max),calc(100% - 44px))}
  .header-inner{height:72px}
  .site-nav a{padding:8px 12px;font-size:13px}
  .page-hero{padding:88px 0 64px}
}

/* Mobile */
@media(max-width:820px){
  .container{width:min(var(--max),calc(100% - 34px))}
  .header-inner{height:68px}
  .site-nav{
    top:68px;
    background:rgba(3,11,22,.98);
    border:1px solid rgba(255,255,255,.1);
  }
  .site-nav a{font-size:15px;padding:13px 16px}
  .page-hero{padding:76px 0 54px}
  .page-h1{font-size:clamp(46px,13vw,68px);line-height:.98}
  .page-sub{font-size:16.5px}
}

@media(max-width:560px){
  .container{width:calc(100% - 28px)}
  .brand-name{font-size:17px}
  .brand-mark,.brand-mark img{width:36px;height:36px}
  .cinematic-hero h1{font-size:clamp(54px,16vw,76px);line-height:.94}
  .cinematic-hero-copy>p{font-size:16.5px}
  .page-h1{font-size:clamp(43px,13.5vw,62px)}
}
