/* HFL Tech — Cinematic Graphite Design System
   Shared visual layer over the existing static site.
   Purpose: strong contrast, technical depth, restrained motion, responsive usability.
*/
:root{
  --hfl-bg:#05070a;
  --hfl-bg-2:#080b10;
  --hfl-bg-3:#0c1118;
  --hfl-panel:#0d131b;
  --hfl-panel-2:#111922;
  --hfl-text:#f5f7fa;
  --hfl-copy:#d1d8e1;
  --hfl-muted:#98a4b2;
  --hfl-dim:#707c8a;
  --hfl-line:rgba(220,230,240,.13);
  --hfl-line-strong:rgba(226,235,244,.23);
  --hfl-silver:#d9e1e9;
  --hfl-white:#fbfcfd;
  --hfl-success:#aebfaf;
}
html{
  background:var(--hfl-bg)!important;
  color-scheme:dark;
  scroll-behavior:smooth;
}
body{
  color:var(--hfl-copy)!important;
  background:
    radial-gradient(58vw 38vw at calc(84% + var(--hfl-pointer-x,0px)) calc(2% + var(--hfl-pointer-y,0px)),rgba(154,175,199,.105),transparent 66%),
    radial-gradient(44vw 34vw at 0% 42%,rgba(91,109,132,.065),transparent 70%),
    linear-gradient(180deg,#05070a 0%,#070b10 38%,#05080c 100%)!important;
  overflow-x:hidden;
}
body:before{
  content:"";
  position:fixed;inset:-12%;
  z-index:-3;pointer-events:none;
  background-image:
    linear-gradient(rgba(231,238,245,.026) 1px,transparent 1px),
    linear-gradient(90deg,rgba(231,238,245,.026) 1px,transparent 1px);
  background-size:72px 72px;
  transform:translate3d(0,calc(var(--hfl-scroll-y,0px)*-.045),0);
  mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.68) 48%,transparent 100%);
  animation:hflGridDrift 32s linear infinite;
}
body:after{
  content:"";
  position:fixed;
  z-index:-2;pointer-events:none;
  width:min(62vw,900px);height:min(62vw,900px);
  right:-30vw;top:18vh;border-radius:50%;
  border:1px solid rgba(222,233,244,.045);
  box-shadow:
    0 0 0 58px rgba(222,233,244,.016),
    0 0 0 116px rgba(222,233,244,.009),
    0 0 90px rgba(193,215,234,.025);
  transform:translate3d(0,calc(var(--hfl-scroll-y,0px)*.055),0);
}
@keyframes hflGridDrift{to{background-position:72px 72px,-72px 36px}}
a{color:inherit}
::selection{background:rgba(218,228,238,.20);color:#fff}
*:focus-visible{outline:2px solid rgba(231,239,246,.82)!important;outline-offset:3px}

/* Header */
.site-header{
  position:sticky!important;top:0;z-index:100;
  background:rgba(5,7,10,.78)!important;
  border-bottom:1px solid var(--hfl-line)!important;
  box-shadow:0 18px 55px rgba(0,0,0,.30)!important;
  backdrop-filter:blur(22px) saturate(115%);
}
.site-header.is-scrolled{background:rgba(4,6,9,.94)!important}
.nav{min-height:76px!important}
.brand{
  color:var(--hfl-white)!important;
  letter-spacing:-.045em!important;
  font-weight:800!important;
}
.brand span,.footer-top strong span{color:#aeb9c7!important}
.menu{gap:22px!important}
.menu a{
  color:#aeb9b5!important;
  position:relative;
  text-decoration:none!important;
  transition:color .2s ease;
}
.menu a:after{
  content:"";position:absolute;left:0;right:100%;bottom:-9px;height:1px;
  background:#e8edf2;transition:right .22s ease;
}
.menu a:hover,.menu a:focus-visible,.menu a.is-current{color:#fff!important}
.menu a:hover:after,.menu a.is-current:after{right:0}

/* Intentional mobile drawer; no horizontal squeeze */
.mobile-menu-toggle{
  display:none!important;
  width:42px!important;height:42px!important;flex:0 0 42px!important;
  padding:0!important;margin-left:auto!important;
  border:1px solid rgba(235,242,248,.22)!important;
  border-radius:12px!important;
  background:#0b1016!important;
  box-shadow:0 10px 24px rgba(0,0,0,.30)!important;
  align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:4px!important;
}
.mobile-menu-toggle span{
  display:block!important;width:17px!important;height:2px!important;
  background:#f2f5f8!important;border-radius:2px!important;
}
@media(max-width:700px){
  .nav{min-height:68px!important}
  .mobile-menu-toggle{display:flex!important}
  .menu{
    position:absolute!important;left:4%!important;right:4%!important;top:calc(100% + 10px)!important;
    display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important;
    padding:10px!important;max-width:none!important;overflow:visible!important;
    background:rgba(8,12,17,.98)!important;
    border:1px solid rgba(235,242,248,.15)!important;border-radius:16px!important;
    box-shadow:0 24px 65px rgba(0,0,0,.58)!important;
    backdrop-filter:blur(24px)!important;
    opacity:0;visibility:hidden;transform:translateY(-8px) scale(.985);
    transition:opacity .2s ease,transform .2s ease,visibility .2s;
  }
  .menu a{
    padding:13px 12px!important;border-radius:10px!important;
    font-size:13px!important;color:#bac4cf!important;
  }
  .menu a:after{display:none}
  .menu a:hover,.menu a.is-current{background:rgba(255,255,255,.055)!important;color:#fff!important}
  .mobile-nav-open .menu{opacity:1;visibility:visible;transform:none}
}

/* Global type / surfaces */
h1,h2,h3,h4,h5,h6,.brand,strong{color:var(--hfl-text)!important}
h1,h2,h3,h4,h5,h6{
  text-wrap:balance;
  letter-spacing:-.035em;
}
h1{line-height:1.02!important}
h2{line-height:1.08!important}
p,li{color:#bcc6d1}
small{color:#9ba6b4}
.eyebrow,.proof-kicker,.feature-index,.project-number{
  color:#b4c0cd!important;
  font-family:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace!important;
  letter-spacing:.10em!important;
}
.lead,.section-intro{color:#d2d9e2!important}
.text-link,.arrow,.project-row>span:last-child{color:#d6dfe8!important}
.text-link:hover{text-decoration:underline}

/* Technical hero */
.hero{
  position:relative!important;
  background:
    radial-gradient(620px 430px at 78% 40%,rgba(153,178,204,.12),transparent 68%),
    radial-gradient(480px 320px at 16% 80%,rgba(93,112,137,.06),transparent 70%),
    linear-gradient(180deg,#06090d 0%,#080d13 100%)!important;
  border-bottom:1px solid var(--hfl-line)!important;
  overflow:clip;
}
.hero:before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(90deg,transparent 0 18%,rgba(232,239,246,.028) 50%,transparent 82%),
    radial-gradient(circle at 74% 35%,rgba(221,232,242,.07),transparent 30%);
  opacity:.9;
}
.hero:after{
  content:"";position:absolute;left:7%;right:7%;bottom:-34%;
  height:360px;pointer-events:none;
  background:radial-gradient(ellipse,rgba(213,226,238,.07),transparent 68%);
}
.home-hero{padding:92px 0 78px!important}
.home-hero-grid{gap:38px!important}
.hero-copy{position:relative;z-index:2}
.hero-copy h1{font-weight:760!important;text-shadow:0 24px 60px rgba(0,0,0,.48)}
.hero-actions{gap:10px!important}
.cta{
  background:#f1f4f7!important;color:#06090d!important;
  border:1px solid #f1f4f7!important;
  box-shadow:0 16px 42px rgba(0,0,0,.36)!important;
  transition:transform .24s ease,box-shadow .24s ease,background .24s ease;
}
.cta.secondary{
  background:rgba(255,255,255,.025)!important;
  color:#f1f5f8!important;border-color:var(--hfl-line-strong)!important;
}
.cta:hover{background:#fff!important;color:#05070a!important;transform:translateY(-2px);box-shadow:0 22px 55px rgba(0,0,0,.45)!important}
.hero-meta{gap:8px!important}
.hero-meta span,.tag,.status-label,.lab-badge,.india-badge{
  color:#d4dee8!important;
  background:rgba(221,232,242,.045)!important;
  border-color:rgba(221,232,242,.16)!important;
}
.hero-meta span{backdrop-filter:blur(8px)}

/* 3D system hero */
.hero-3d{height:470px!important;perspective:1150px!important}
.hero-3d .scene{transform-style:preserve-3d!important}
.plane{
  border-color:rgba(214,228,241,.19)!important;
  background:
    linear-gradient(90deg,rgba(200,220,238,.07) 1px,transparent 1px),
    linear-gradient(rgba(200,220,238,.07) 1px,transparent 1px),
    linear-gradient(145deg,#0d151e,#070b10)!important;
  background-size:54px 54px,54px 54px,auto!important;
  box-shadow:0 46px 110px rgba(0,0,0,.52)!important;
}
.plane:before,.plane:after{opacity:.6!important}
.orb{
  background:radial-gradient(circle at 29% 22%,#fff 0 5%,#d5e0ea 14%,#75899e 37%,#293a4c 64%,#090e15 100%)!important;
  box-shadow:0 22px 82px rgba(154,181,207,.27),inset -17px -21px 38px rgba(0,0,0,.52)!important;
}
.orb:after{border-color:rgba(210,227,241,.42)!important}
.orb:before{
  content:"";position:absolute;inset:-46px;border:1px solid rgba(216,231,243,.14);
  border-radius:50%;transform:rotateX(66deg) rotateZ(-18deg);
  box-shadow:0 0 0 22px rgba(213,228,241,.025);
  animation:hflOrbit 7s linear infinite;
}
@keyframes hflOrbit{to{transform:rotateX(66deg) rotateZ(342deg)}}
.node3d{
  background:rgba(9,14,20,.94)!important;
  color:#e2e9ef!important;
  border-color:rgba(218,231,243,.18)!important;
  box-shadow:0 20px 46px rgba(0,0,0,.38)!important;
  letter-spacing:.05em;
}

/* Sections / grids */
.section{
  position:relative!important;
  background:rgba(5,8,12,.84)!important;
  border-bottom:1px solid var(--hfl-line)!important;
  overflow:clip;
}
.section:nth-of-type(even){
  background:linear-gradient(180deg,rgba(255,255,255,.012),rgba(255,255,255,.028))!important;
}
.section:before{
  content:"";position:absolute;top:0;left:3%;right:3%;height:1px;
  background:linear-gradient(90deg,transparent,rgba(214,228,240,.14),transparent);
  pointer-events:none;
}
.section:after{
  content:"";position:absolute;right:-300px;top:15%;width:520px;height:520px;border-radius:50%;
  border:1px solid rgba(215,230,242,.03);
  box-shadow:0 0 0 54px rgba(215,230,242,.012),0 0 0 108px rgba(215,230,242,.006);
  pointer-events:none;
  transform:translateY(calc(var(--hfl-scroll-y,0px)*-.035));
}
.section-head{position:relative;z-index:1}
.status-section,.capability-section,.system-section,.trust-section,.contact-preview{position:relative}
.card,.status-card,.trust-card,.lab-card,.investor-card,.impact-card,.runtime-demo,
.stat-card,.timeline article,.resource-card,.roadmap-card,.tech-card,.research-card,.volunteer-form-card{
  position:relative;overflow:hidden;
  background:linear-gradient(145deg,rgba(16,23,32,.97),rgba(8,12,17,.985))!important;
  border:1px solid var(--hfl-line)!important;
  color:var(--hfl-copy)!important;
  box-shadow:0 26px 80px rgba(0,0,0,.31)!important;
  transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease,background .28s ease;
}
.card:before,.status-card:before,.trust-card:before,.lab-card:before,.impact-card:before,
.investor-card:before,.stat-card:before,.timeline article:before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(260px 160px at var(--mx,50%) var(--my,0%),rgba(221,232,243,.065),transparent 70%);
  opacity:0;transition:opacity .3s ease;
}
.card:hover:before,.status-card:hover:before,.trust-card:hover:before,.lab-card:hover:before,
.impact-card:hover:before,.investor-card:hover:before,.stat-card:hover:before,.timeline article:hover:before{opacity:1}
.card:after,.status-card:after,.trust-card:after,.lab-card:after,.stat-card:after{
  content:"";position:absolute;left:-35%;right:-35%;top:0;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(239,245,250,.25),transparent);
  transform:translateX(-75%);opacity:.38;
}
.card:hover:after,.status-card:hover:after,.trust-card:hover:after,.lab-card:hover:after,.stat-card:hover:after{
  transform:translateX(75%);transition:transform .85s cubic-bezier(.2,.7,.2,1);
}
.card:hover,.status-card:hover,.trust-card:hover,.lab-card:hover,.investor-card:hover,
.impact-card:hover,.stat-card:hover,.timeline article:hover{
  border-color:var(--hfl-line-strong)!important;
  box-shadow:0 34px 105px rgba(0,0,0,.42)!important;
}
.card p,.status-card p,.trust-card small,.lab-card p,.project-row p,.feature-card p,
.ecosystem-strip small,.proof-grid small,.form-note,.stat-card span,.impact-stat span,.impact-stat small,
.timeline article p,.resource-card p,.roadmap-card p,.tech-card p,.research-card p{color:var(--hfl-muted)!important}

/* Product lists */
.feature-card,.project-row,.ecosystem-strip a,.tech-layer-list a,.resource-links a{
  border-color:var(--hfl-line)!important;
  color:var(--hfl-text)!important;
}
.feature-card{border-top-color:#9faebe!important}
.feature-card:hover{background:rgba(221,232,242,.025)!important;border-top-color:#e2e9ef!important}
.feature-card:hover h3,.project-row:hover strong,.ecosystem-strip a:hover strong{color:#f4f7fa!important}
.project-row:hover{background:rgba(221,232,242,.028)!important;box-shadow:inset 3px 0 0 #c2cfdb}
.project-stack,.proof-grid,.ecosystem-strip,.comparison-grid{
  background:rgba(7,11,16,.68)!important;border-color:var(--hfl-line)!important;
}
.proof-strip,.product-section,.trust-section,.founder-preview,.ecosystem-preview,.impact-showcase{
  background:linear-gradient(180deg,rgba(9,14,20,.86),rgba(5,8,12,.98))!important;
}
.proof-grid>div,.ecosystem-strip a{border-color:var(--hfl-line)!important}
.proof-grid strong,.ecosystem-strip strong,.comparison-row strong{color:#ecf1f5!important}

/* Technical visuals */
.system-visual{
  position:relative!important;overflow:hidden!important;
  background:
    radial-gradient(520px 260px at 50% 46%,rgba(159,185,210,.10),transparent 68%),
    linear-gradient(145deg,#0c131b,#070b10)!important;
  border:1px solid var(--hfl-line-strong)!important;
  box-shadow:0 36px 110px rgba(0,0,0,.40)!important;
}
.system-visual:before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(circle at 50% 50%,rgba(219,233,244,.09),transparent 42%),
    linear-gradient(90deg,transparent 49.7%,rgba(220,232,242,.04) 50%,transparent 50.3%);
  animation:hflPulse 5.5s ease-in-out infinite;
}
.system-visual:after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(110deg,transparent 0 38%,rgba(235,242,248,.06) 50%,transparent 62%);
  transform:translateX(-125%);animation:hflScan 8s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes hflPulse{50%{opacity:.58;transform:scale(1.02)}}
@keyframes hflScan{0%,58%{transform:translateX(-125%)}78%,100%{transform:translateX(125%)}}
.system-node{
  background:linear-gradient(145deg,#151f29,#0a1017)!important;
  border-color:rgba(218,231,243,.18)!important;
  color:#eef3f7!important;
  box-shadow:0 18px 50px rgba(0,0,0,.30)!important;
}
.system-node strong{color:#f6f8fa!important}
.system-node span{color:#b8c7d7!important}
.system-node small{color:#8d99a8!important}
.system-core{border-color:rgba(220,234,246,.38)!important;box-shadow:0 0 68px rgba(171,197,220,.14)!important}
.system-control{border-color:rgba(166,193,176,.30)!important}
.system-line{background:rgba(210,225,239,.30)!important}
.system-line:after{border-left-color:#bdccd9!important}

/* Forms / controls */
.form input,.form select,.form textarea,.field input,.field select,.field textarea,
.volunteer-form-card input,.volunteer-form-card select,.volunteer-form-card textarea,
.lab-select,.runtime-option{
  background:#0a1017!important;color:#f2f5f8!important;
  border:1px solid var(--hfl-line-strong)!important;
}
.form input::placeholder,.form textarea::placeholder,.field input::placeholder,.field textarea::placeholder{
  color:#697685!important;
}
.form label,.field label,.volunteer-form-card label{color:#e0e6ed!important}
.form input:focus,.form select:focus,.form textarea:focus,.field input:focus,.field select:focus,.field textarea:focus{
  border-color:#b2c3d2!important;outline:3px solid rgba(196,217,234,.12)!important;
}
.lab-button,.runtime-run{
  background:#eef3f7!important;color:#070a0e!important;border:1px solid #eef3f7!important;
}
.lab-output,.runtime-log,.lab-note,.runtime-foot,.code-panel,.notice{
  background:#080d13!important;color:#bcc7d2!important;border-color:var(--hfl-line)!important;
}
.notice{border-left:2px solid #c1cfdb!important}

/* Impact / legacy stats remain readable on dark */
.stat-card,.impact-stat,.impact-panel,.application-success,.impact-card{
  background:linear-gradient(145deg,#121820,#080b0f)!important;
}
.stat-card strong,.impact-stat strong,.impact-number{color:#f6f8fb!important;text-shadow:0 0 32px rgba(255,255,255,.07)!important}
.impact-track{scrollbar-color:#4d5865 transparent!important}

/* Company / founder presentation */
.founder-led-section .card{min-height:100%}
.founder-led-section .project-stack{align-self:stretch}
.breadcrumb{color:#8995a4!important}
.breadcrumb a{color:#c8d2de!important}

/* Footer */
.site-footer{
  background:#030507!important;
  border-top:1px solid var(--hfl-line)!important;
  color:#8995a4!important;
}
.footer-top p,.footer-bottom{color:#7e8a99!important}
.footer-links a{color:#b7c1cc!important}
.footer-links a:hover{color:#fff!important}
.site-footer strong{color:#f0f4f7!important}

/* Scroll reveal */
.reveal-item{
  opacity:0;transform:translate3d(0,30px,0) scale(.988);
  transition:opacity .78s cubic-bezier(.2,.75,.2,1),transform .78s cubic-bezier(.2,.75,.2,1);
}
.reveal-item.is-visible{opacity:1;transform:none}
.reveal-item:nth-child(2){transition-delay:.07s}
.reveal-item:nth-child(3){transition-delay:.14s}
.reveal-item:nth-child(4){transition-delay:.20s}

/* Scroll-controlled depth without heavy parallax */
[data-hfl-depth]{
  transform:translate3d(0,calc(var(--hfl-scroll-y,0px)*var(--hfl-depth-factor,.01)),0);
}
.hfl-scroll-progress{
  height:2px!important;
  background:linear-gradient(90deg,#717b86,#f3f6f8,#77838f)!important;
  opacity:.86!important;
}

/* Desktop micro-3D */
@media(min-width:901px) and (prefers-reduced-motion:no-preference){
  .card,.status-card,.trust-card,.lab-card,.investor-card{
    transform-style:preserve-3d;
    transform:perspective(1000px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));
  }
  .card:hover,.status-card:hover,.trust-card:hover,.lab-card:hover,.investor-card:hover{
    transform:perspective(1000px) translateY(-4px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg))!important;
  }
}

/* Responsive */
@media(max-width:1100px){
  .home-hero-grid{grid-template-columns:minmax(0,1fr) minmax(360px,.88fr)!important}
  .menu{gap:15px!important}
}
@media(max-width:900px){
  .hero-3d{height:340px!important}
  .home-hero-grid{grid-template-columns:1fr!important}
  .hero-visual{order:2}
}
@media(max-width:700px){
  body:before{background-size:52px 52px;opacity:.52}
  body:after{width:430px;height:430px;right:-260px;top:34vh}
  .home-hero{padding:64px 0 44px!important}
  .hero{padding:64px 0 48px!important}
  .hero h1{font-size:clamp(38px,10.8vw,54px)!important;line-height:.99!important}
  .lead,.section-intro{font-size:16px!important;line-height:1.65!important}
  .hero-actions{display:grid!important}
  .hero-actions .cta,.hero-actions .text-link{width:100%!important;text-align:center!important;margin-left:0!important}
  .hero-3d{height:255px!important;margin-top:12px!important;overflow:hidden}
  .hero-3d .scene{transform:scale(.57) rotateX(58deg) rotateZ(-24deg)!important;transform-origin:center!important}
  .node3d{font-size:10px!important;padding:9px 11px!important}
  .node-a{left:34px!important}.node-b{right:28px!important}.node-c{left:55px!important}.node-d{right:35px!important}
  .orb{width:92px!important;height:92px!important;left:214px!important;top:98px!important}
  .section{padding:66px 0!important}
  .section-head{gap:18px!important}
  .section-head>a{white-space:normal!important}
  .card,.status-card,.trust-card,.lab-card,.stat-card,.timeline article{
    box-shadow:0 18px 55px rgba(0,0,0,.28)!important;
  }
  .system-visual{overflow:hidden!important}
  .system-node{min-height:104px}
}
@media(max-width:360px){
  .wrap{width:92%!important}
  .hero h1{font-size:37px!important}
  .brand{font-size:19px!important}
  .hero-3d{height:220px!important}
  .hero-3d .scene{transform:scale(.49) rotateX(58deg) rotateZ(-24deg)!important}
  .orb{left:218px!important}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  body:before,.orb:before,.system-visual:before,.system-visual:after,.hero-copy{animation:none!important}
  .reveal-item{opacity:1!important;transform:none!important;transition:none!important}
  [data-hfl-depth]{transform:none!important}
}

/* Secondary components that previously carried the light theme */
.comparison-grid,.proof-grid{
  background:#080d13!important;border-color:var(--hfl-line)!important;color:var(--hfl-copy)!important;
}
.comparison-head{
  background:#111922!important;color:#eef3f7!important;border-bottom:1px solid var(--hfl-line)!important;
}
.comparison-row{
  background:#0b1118!important;color:#c7d0da!important;border-color:var(--hfl-line)!important;
}
.comparison-row strong{color:#eef3f7!important}
.resource-links a,.tech-layer-list a,.ecosystem-architecture a{
  background:linear-gradient(145deg,#101720,#090e14)!important;
  border-color:var(--hfl-line)!important;color:#e6ecf1!important;
}
.resource-links a:hover,.tech-layer-list a:hover,.ecosystem-architecture a:hover{
  background:#121a23!important;border-color:var(--hfl-line-strong)!important;
}
.hero-evidence-link{
  background:transparent!important;color:#d8e1e9!important;
  border-color:var(--hfl-line-strong)!important;
}
.hero-evidence-link:hover{background:rgba(255,255,255,.04)!important}
.agent-flow-human,.ecosystem-clarity,.volunteer-impact,.impact-showcase{
  background:linear-gradient(180deg,#0b1118,#070b10)!important;
  border-color:var(--hfl-line)!important;color:var(--hfl-copy)!important;
}
.impact-flow span{
  background:#0b1118!important;color:#cbd5df!important;border-color:var(--hfl-line)!important;
}
.project-status-note{color:#8f9bab!important}
.status-live,.status-dev,.status-research,.status-vision{
  color:#ced8e2!important;background:rgba(215,228,239,.045)!important;border-color:var(--hfl-line)!important;
}
.success-icon{box-shadow:0 0 0 7px rgba(168,191,174,.10)!important}

/* FINAL CINEMATIC PASS — graphite/black/white, no blue UI */
:root{
  --hfl-bg:#030405;
  --hfl-bg-2:#070809;
  --hfl-bg-3:#0b0c0e;
  --hfl-panel:#0d0f11;
  --hfl-panel-2:#121417;
  --hfl-text:#f7f7f4;
  --hfl-copy:#d2d2cd;
  --hfl-muted:#989994;
  --hfl-dim:#6f716d;
  --hfl-line:rgba(255,255,255,.105);
  --hfl-line-strong:rgba(255,255,255,.22);
  --hfl-silver:#d9d9d3;
  --hfl-white:#fff;
}
body{
  background:
    radial-gradient(700px 480px at calc(82% + var(--hfl-pointer-x,0px)) calc(4% + var(--hfl-pointer-y,0px)),rgba(255,255,255,.055),transparent 68%),
    radial-gradient(600px 440px at 5% 58%,rgba(255,255,255,.025),transparent 72%),
    linear-gradient(180deg,#030405 0%,#060708 44%,#020303 100%)!important;
}
body:before{
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:80px 80px;
}
body:after{
  border-color:rgba(255,255,255,.035);
  box-shadow:0 0 0 64px rgba(255,255,255,.009),0 0 0 128px rgba(255,255,255,.005);
}
.brand span,.footer-top strong span{color:#c7c7c1!important}
.eyebrow,.proof-kicker{color:#bdbdb7!important}
.text-link,.arrow,.project-row>span:last-child{color:#e2e2dc!important}
.cta{background:#f4f4ef!important;color:#050505!important;border-color:#f4f4ef!important}
.cta.secondary{background:rgba(255,255,255,.025)!important;color:#f2f2ed!important;border-color:rgba(255,255,255,.24)!important}
.hero{
  background:
    radial-gradient(650px 460px at 76% 42%,rgba(255,255,255,.075),transparent 68%),
    radial-gradient(520px 360px at 16% 82%,rgba(255,255,255,.025),transparent 72%),
    linear-gradient(180deg,#030405 0%,#090b0d 100%)!important;
}
.plane{
  background:
    linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px),
    linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),
    linear-gradient(145deg,#111417,#050607)!important;
  border-color:rgba(255,255,255,.17)!important;
}
.orb{
  background:radial-gradient(circle at 29% 22%,#fff 0 5%,#e9e9e4 14%,#8d8e89 37%,#353735 63%,#080909 100%)!important;
  box-shadow:0 22px 82px rgba(255,255,255,.13),inset -17px -21px 38px rgba(0,0,0,.58)!important;
}
.orb:after,.orb:before{border-color:rgba(255,255,255,.28)!important}
.node3d{background:rgba(7,8,9,.95)!important;color:#ededE8!important;border-color:rgba(255,255,255,.18)!important}
.section{
  background:rgba(3,5,6,.90)!important;
}
.section:nth-of-type(even){
  background:linear-gradient(180deg,rgba(255,255,255,.012),rgba(255,255,255,.025))!important;
}
.card,.status-card,.trust-card,.lab-card,.investor-card,.impact-card,.runtime-demo,.stat-card,.timeline article,.resource-card,.roadmap-card,.tech-card,.research-card,.volunteer-form-card{
  background:linear-gradient(145deg,rgba(18,20,22,.98),rgba(7,8,9,.99))!important;
  border-color:rgba(255,255,255,.105)!important;
}
.system-visual{
  background:
    radial-gradient(520px 280px at 50% 45%,rgba(255,255,255,.075),transparent 68%),
    linear-gradient(145deg,#111315,#050607)!important;
  border-color:rgba(255,255,255,.20)!important;
}
.system-node{
  background:linear-gradient(145deg,#17191b,#08090a)!important;
  border-color:rgba(255,255,255,.16)!important;
}
.system-core{border-color:rgba(255,255,255,.38)!important;box-shadow:0 0 70px rgba(255,255,255,.08)!important}
.system-line{background:rgba(255,255,255,.25)!important}
.proof-strip,.product-section,.trust-section,.founder-preview,.ecosystem-preview,.impact-showcase{
  background:linear-gradient(180deg,rgba(8,9,10,.92),rgba(3,4,5,.99))!important;
}
.lab-button,.runtime-run{background:#efefea!important;color:#050505!important;border-color:#efefea!important}
.notice{border-left-color:#d1d1cb!important}
.site-footer{background:#010202!important}


/* FINAL POLISH — high-contrast cinematic depth + scroll storytelling */
:root{--hfl-accent:#f2f2ed;--hfl-accent-dim:rgba(242,242,237,.12)}
html,body{min-height:100%;background:#030405!important}
body{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
.hero-copy h1{max-width:900px}
.hero-copy .lead{max-width:720px;color:#e0e0db!important}
.section-head h2{max-width:920px}
.section-head .section-intro{max-width:760px;color:#c9cac5!important}
.card p,.status-card p,.trust-card small,.lab-card p,.project-row p,.feature-card p,.ecosystem-strip small,.proof-grid small,.form-note,.timeline article p,.resource-card p,.roadmap-card p,.tech-card p,.research-card p{color:#aeb0aa!important}
.eyebrow,.proof-kicker,.feature-index,.project-number{color:#c9c9c3!important}
.tag,.status-label,.lab-badge,.india-badge{color:#deded8!important;background:rgba(255,255,255,.055)!important;border-color:rgba(255,255,255,.17)!important}
.hero-meta span{color:#deded8!important;background:rgba(5,6,7,.76)!important;border-color:rgba(255,255,255,.15)!important}
.feature-card,.project-row,.resource-links a,.tech-layer-list a{transition:transform .35s cubic-bezier(.2,.7,.2,1),background .35s ease,border-color .35s ease,box-shadow .35s ease!important}
.feature-card:hover{transform:translateY(-5px)!important;box-shadow:0 24px 70px rgba(0,0,0,.30)!important}
.project-row:hover,.resource-links a:hover,.tech-layer-list a:hover{transform:translateX(6px)!important}
.hero-visual{will-change:transform;transform:translate3d(0,calc(var(--hfl-scroll-y,0px)*-.018),0);transition:transform .12s linear}
.system-visual{will-change:transform;transform:translate3d(0,calc(var(--hfl-scroll-y,0px)*-.008),0)}
.system-node{transition:transform .4s cubic-bezier(.2,.7,.2,1),border-color .3s ease,box-shadow .3s ease!important}
.system-node:hover{transform:translateY(-5px) scale(1.015)!important;border-color:rgba(255,255,255,.32)!important}
.section-head:after{content:"";position:absolute;right:0;bottom:-12px;width:80px;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.26));opacity:.8}
.runtime-status,.runtime-status i{color:#e7e7e1!important}
.runtime-status i{background:#d6d6cf!important;box-shadow:0 0 16px rgba(255,255,255,.28)!important}
.runtime-step.on .runtime-step-dot{background:#eee!important;box-shadow:0 0 18px rgba(255,255,255,.22)!important}
/* Avoid pale text disappearing on any legacy light component. */
[class*="impact"] h1,[class*="impact"] h2,[class*="impact"] h3,[class*="impact"] strong,[class*="impact"] b,[class*="impact"] .impact-number{color:#f5f5f0!important}
[class*="impact"] p,[class*="impact"] small,[class*="impact"] span{color:#aeb0aa!important}
@media(max-width:700px){
  .hero-visual{transform:none}
  .system-visual{transform:none}
  .section-head:after{display:none}
  .hero-copy .lead{font-size:16px!important;color:#d5d6d1!important}
  .section-head .section-intro{color:#c4c6c1!important}
  .card p,.status-card p,.trust-card small,.lab-card p,.project-row p,.feature-card p{color:#a9aba6!important}
}
@media(prefers-reduced-motion:reduce){.hero-visual,.system-visual{transform:none!important}.feature-card,.project-row,.resource-links a,.tech-layer-list a{transition:none!important}}
