:root{
  --accent:#5DA8FF;
  --accent-dark:#377DFF;
  --ink:#0c1222;
  --muted:#5e6576;
  --line:#e7ecf3;
  --surface:#ffffff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:#f7f9fc;
}
a{text-decoration:none;color:inherit}

.hero{
  position:relative;
  min-height:760px;
  overflow:hidden;
  color:#fff;
  background:#04070f;
}
.hero-bg{
  position:absolute;
  inset:0;
  background:
    url("assets/hero.jpg") center center / auto 96% no-repeat;
  background-color:#04070f;
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(4,7,15,.80) 0%, rgba(4,7,15,.55) 22%, rgba(4,7,15,.28) 52%, rgba(4,7,15,.40) 100%),
    linear-gradient(180deg, rgba(4,7,15,.12) 0%, rgba(4,7,15,.10) 55%, rgba(4,7,15,.58) 100%);
}
.navbar{
  position:relative;
  z-index:5;
  width:min(1180px, calc(100% - 64px));
  margin:0 auto;
  height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand img{
  display:block;
  width:132px;
  height:auto;
  background:transparent;
}
.navlinks{
  display:flex;
  gap:28px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.03em;
}
.navlinks a{opacity:.95; transition:.2s ease}
.navlinks a:hover{color:var(--accent)}
.nav-actions{
  display:flex;
  align-items:center;
  gap:18px;
}
.lang{font-size:12px;font-weight:700;opacity:.92}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 22px;
  border-radius:8px;
  font-size:13px;
  font-weight:800;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-accent{
  color:#fff;
  background:linear-gradient(135deg,var(--accent),var(--accent-dark));
  box-shadow:0 14px 28px rgba(93,168,255,.25);
}
.btn-outline{
  color:#fff;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.03);
}
.btn.small{min-height:38px;padding:0 16px;font-size:12px}

.hero-content{
  position:relative;
  z-index:4;
  width:min(1180px, calc(100% - 64px));
  margin:86px auto 0;
}
.hero-copy{max-width:520px}
.hero-copy h1{
  margin:0 0 20px;
  font-size:62px;
  line-height:.96;
  letter-spacing:-.06em;
  font-weight:900;
}
.hero-copy h1 span{color:var(--accent)}
.hero-copy p{
  margin:0 0 32px;
  max-width:470px;
  font-size:16px;
  line-height:1.65;
  color:rgba(255,255,255,.93);
}
.hero-buttons{display:flex;gap:16px;flex-wrap:wrap}

.metric-strip{
  position:absolute;
  z-index:4;
  left:0;
  right:0;
  bottom:26px;
  width:min(1180px, calc(100% - 64px));
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  border-radius:12px;
  overflow:hidden;
  background:rgba(8,14,26,.72);
  border:1px solid rgba(93,168,255,.20);
  backdrop-filter:blur(14px);
  box-shadow:0 20px 50px rgba(0,0,0,.32);
}
.metric-strip article{
  min-height:88px;
  display:grid;
  grid-template-columns:28px 1fr;
  align-content:center;
  column-gap:12px;
  padding:18px 20px;
  border-right:1px solid rgba(255,255,255,.08);
}
.metric-strip article:last-child{border-right:none}
.metric-icon{
  align-self:center;
  font-size:20px;
  color:var(--accent);
  opacity:.95;
}
.metric-strip strong{
  color:#fff;
  font-size:14px;
  margin-bottom:6px;
  display:block;
}
.metric-strip small{
  color:rgba(255,255,255,.72);
  font-size:11px;
  line-height:1.45;
  display:block;
}

.solution-section{padding:44px 0 26px}
.section-title{text-align:center;margin:0 auto 28px}
.section-title h2{margin:0 0 8px;font-size:28px;letter-spacing:-.04em;font-weight:850}
.section-title p{margin:0;font-size:13px;color:var(--muted)}
.steps{
  width:min(1180px, calc(100% - 64px));
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:14px;
}
.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:12px;
  min-height:132px;
  text-align:center;
  padding:22px 16px 18px;
  box-shadow:0 10px 24px rgba(12,18,34,.05);
  transition:transform .22s ease, box-shadow .22s ease;
}
.card:hover,.library-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 36px rgba(12,18,34,.10);
}
.step-icon{
  width:34px;
  height:34px;
  margin:0 auto 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--accent);
}
.step-icon svg{
  width:24px;
  height:24px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.card h3{margin:0 0 10px;font-size:14px;color:var(--accent-dark)}
.card p{margin:0;font-size:11.5px;line-height:1.6;color:var(--muted)}

.ai-panel{
  width:min(1180px, calc(100% - 24px));
  margin:12px auto 34px;
  min-height:240px;
  display:grid;
  grid-template-columns:33% 35% 1fr;
  gap:24px;
  align-items:center;
  padding:24px 28px;
  border-radius:14px;
  overflow:hidden;
  color:#fff;
  background:linear-gradient(90deg,#071224,#08152d);
  box-shadow:0 16px 40px rgba(12,18,34,.12);
}
.brain-wrap{
  height:176px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  overflow:hidden;
  background:#071224;
}
.brain-wrap img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
.ai-copy h2{margin:0 0 14px;font-size:27px;line-height:1.1;letter-spacing:-.04em}
.ai-copy p{margin:0 0 16px;font-size:13px;line-height:1.6;color:rgba(255,255,255,.84)}
.ai-copy a{color:var(--accent);font-weight:800;font-size:12px}
.ai-panel aside{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  padding:24px;
}
.ai-panel aside p{margin:0 0 16px;font-size:13px;line-height:1.55}
.ai-panel aside small{color:rgba(255,255,255,.72);font-size:10.5px;line-height:1.5}

.libraries{padding:0 0 32px}
.library-grid{
  width:min(1060px, calc(100% - 96px));
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:22px;
}
.library-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(12,18,34,.05);
  transition:transform .22s ease, box-shadow .22s ease;
}
.library-card img{
  width:100%;
  height:190px;
  object-fit:cover;
  display:block;
}
.library-card div{padding:18px 18px 22px}
.library-card h3{margin:0 0 8px;font-size:15px}
.library-card p{margin:0 0 12px;font-size:12px;line-height:1.55;color:var(--muted)}
.library-card a{font-size:12px;font-weight:800;color:var(--accent-dark)}

.cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:126px;
  margin-top:8px;
  padding:0 max(32px, calc((100% - 1180px)/2));
  color:#fff;
  background:linear-gradient(135deg, #4a92ff 0%, #2b6fff 100%);
}
.cta h2{margin:0 0 10px;font-size:22px;letter-spacing:-.03em}
.cta p{margin:0;font-size:13px;line-height:1.55;color:rgba(255,255,255,.88)}

.footer{
  background:#fff;
  padding:42px max(32px, calc((100% - 1180px)/2)) 28px;
  display:grid;
  grid-template-columns:220px 1fr;
  gap:34px;
}
.footer-brand img{display:block;width:170px;height:auto}
.footer-cols{display:grid;grid-template-columns:repeat(6, 1fr);gap:24px}
.footer h4{margin:0 0 14px;font-size:10px;color:#1b2233}
.footer a{display:block;margin:0 0 10px;font-size:10.5px;color:#2f3645}
.socials{display:flex;gap:8px}
.socials span{
  width:24px;height:24px;display:grid;place-items:center;border-radius:50%;
  background:#0e1728;color:#fff;font-size:10px;font-weight:800;
}
.copyright{
  grid-column:1 / -1;
  text-align:center;
  margin:28px 0 0;
  font-size:11px;
  color:#546074;
}

.reveal-up,.reveal-down{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .65s ease, transform .65s ease;
}
.reveal-down{transform:translateY(-14px)}
.reveal-up.visible,.reveal-down.visible{opacity:1;transform:none}
.delay{transition-delay:.18s}

@media (max-width: 1080px){
  .steps{grid-template-columns:repeat(3, 1fr)}
  .library-grid{grid-template-columns:repeat(2, 1fr); width:min(920px, calc(100% - 48px))}
  .ai-panel{grid-template-columns:1fr;padding:24px}
  .brain-wrap{height:220px}
  .footer, .footer-cols{grid-template-columns:repeat(2, 1fr)}
  .metric-strip{grid-template-columns:repeat(3, 1fr)}
  .hero-bg{background-position:center center;background-size:cover}
}
@media (max-width: 760px){
  .navbar{width:calc(100% - 28px)}
  .navlinks{display:none}
  .hero-content{width:calc(100% - 28px);margin-top:56px}
  .hero-copy h1{font-size:44px}
  .hero-copy p{font-size:15px}
  .metric-strip{
    position:relative;
    left:auto;
    transform:none;
    bottom:auto;
    width:calc(100% - 28px);
    margin:44px auto 20px;
    grid-template-columns:repeat(2, 1fr);
  }
  .steps{grid-template-columns:repeat(2, 1fr);width:calc(100% - 28px)}
  .solution-section{padding-top:26px}
  .section-title h2{font-size:24px}
  .cta{display:block;padding-top:26px;padding-bottom:26px}
  .cta .btn{margin-top:18px}
}
@media (max-width: 520px){
  .hero-copy h1{font-size:38px}
  .steps,.library-grid,.metric-strip{grid-template-columns:1fr}
  .library-grid{width:calc(100% - 28px)}
  .footer,.footer-cols{grid-template-columns:1fr}
}


/* -------------------- Internal pages -------------------- */
.page-hero{
  position:relative;
  min-height:300px;
  overflow:hidden;
  color:#fff;
  background:#05070f;
}
.page-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--page-bg, url("assets/hero.jpg")) center center / cover no-repeat;
  transform:scale(1.02);
}
.page-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(4,7,15,.86) 0%, rgba(4,7,15,.66) 34%, rgba(4,7,15,.34) 72%, rgba(4,7,15,.70) 100%),
    linear-gradient(180deg, rgba(4,7,15,.14) 0%, rgba(4,7,15,.38) 100%);
}
.page-hero .navbar,
.page-hero-content{
  position:relative;
  z-index:2;
}
.page-hero-content{
  width:min(1180px, calc(100% - 64px));
  margin:42px auto 0;
}
.page-hero-content h1{
  margin:0 0 14px;
  font-size:38px;
  line-height:1.05;
  letter-spacing:-.05em;
  font-weight:900;
}
.page-hero-content p{
  max-width:420px;
  margin:0;
  font-size:16px;
  line-height:1.6;
  color:rgba(255,255,255,.90);
}
.bg-about{--page-bg:url("assets/student1.jpg")}
.bg-library{--page-bg:url("assets/student2.jpg")}
.bg-tech{--page-bg:url("assets/student3.jpg")}
.bg-ai{--page-bg:url("assets/student4.jpg")}
.bg-catalog{--page-bg:url("assets/hero.jpg")}
.bg-collection{--page-bg:url("assets/hero.jpg")}
.bg-resources{--page-bg:url("assets/student1.jpg")}
.bg-contact{--page-bg:url("assets/student3.jpg")}
.bg-founders{--page-bg:url("assets/student2.jpg")}

.page-main{
  background:#f7f9fc;
  padding:46px 0 58px;
}
.page-section,
.split-section,
.narrow-copy,
.contact-layout,
.founder-grid{
  width:min(1050px, calc(100% - 64px));
  margin:0 auto 42px;
}
.split-section{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:46px;
  align-items:center;
}
.split-section.reverse{
  grid-template-columns:1.1fr 1fr;
}
.eyebrow{
  margin:0 0 10px;
  color:var(--accent-dark);
  font-size:12px;
  font-weight:900;
  letter-spacing:.02em;
}
.eyebrow.light{color:#fff}
.split-section h2,
.narrow-copy h2{
  margin:0 0 16px;
  font-size:30px;
  line-height:1.12;
  letter-spacing:-.04em;
}
.split-section p,
.narrow-copy p{
  font-size:14px;
  line-height:1.72;
  color:var(--muted);
}
.image-card{
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 16px 34px rgba(12,18,34,.12);
  background:#fff;
}
.image-card img{
  display:block;
  width:100%;
  height:260px;
  object-fit:cover;
}
.wide-photo img{height:290px}
.narrow-copy{
  max-width:720px;
}
.stat-grid{
  width:min(1050px, calc(100% - 64px));
  margin:0 auto 42px;
  display:grid;
  gap:14px;
}
.stat-grid.four{grid-template-columns:repeat(4,1fr)}
.stat-grid article{
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:22px 18px;
  text-align:center;
  box-shadow:0 10px 24px rgba(12,18,34,.05);
}
.stat-grid strong{
  display:block;
  color:var(--accent-dark);
  font-size:28px;
  letter-spacing:-.04em;
}
.stat-grid span{
  font-size:12px;
  color:var(--muted);
}
.value-grid{
  width:min(1050px, calc(100% - 64px));
  margin:0 auto;
  display:grid;
  gap:16px;
}
.value-grid.five{grid-template-columns:repeat(5,1fr)}
.value-grid.four{grid-template-columns:repeat(4,1fr)}
.value-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:24px 18px;
  text-align:center;
  box-shadow:0 10px 24px rgba(12,18,34,.05);
}
.value-card span,
.resource-card span{
  color:var(--accent);
  font-size:28px;
}
.value-card h3,
.resource-card h3{
  margin:12px 0 8px;
  font-size:14px;
}
.value-card p,
.resource-card p{
  margin:0;
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
}
.promise-band{
  width:min(920px, calc(100% - 64px));
  margin:0 auto 42px;
  min-height:150px;
  display:grid;
  grid-template-columns:1.15fr 1fr 210px;
  gap:24px;
  align-items:center;
  padding:26px 34px;
  color:#fff;
  background:linear-gradient(90deg,#071224,#0b1730);
  border-radius:14px;
  overflow:hidden;
}
.promise-band h2{
  margin:0;
  font-size:25px;
  line-height:1.12;
}
.promise-band ul{
  margin:0;
  padding-left:18px;
  font-size:13px;
  line-height:1.9;
}
.promise-band img{
  width:210px;
  height:120px;
  object-fit:contain;
}
.check-list{
  margin:18px 0 0;
  padding:0;
  list-style:none;
}
.check-list li{
  position:relative;
  margin:0 0 12px;
  padding-left:28px;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}
.check-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--accent-dark);
  font-weight:900;
}
.tech-visual,
.brain-feature{
  min-height:270px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:#071224;
  overflow:hidden;
  box-shadow:0 16px 34px rgba(12,18,34,.12);
}
.tech-visual img,
.brain-feature img{
  width:100%;
  height:260px;
  object-fit:contain;
}
.platform-card,
.why-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:28px;
  box-shadow:0 16px 34px rgba(12,18,34,.10);
}
.platform-card h3,
.why-card h3{
  margin:0 0 12px;
  font-size:20px;
}
.why-card div{
  border-top:1px solid var(--line);
  padding:14px 0;
}
.why-card strong{
  display:block;
  color:var(--accent-dark);
  margin-bottom:5px;
}
.why-card span{
  color:var(--muted);
  font-size:13px;
}
.map-card{
  min-height:310px;
  position:relative;
  border-radius:16px;
  background:
    radial-gradient(circle at 24% 42%, rgba(55,125,255,.22), transparent 2.4%),
    radial-gradient(circle at 47% 34%, rgba(55,125,255,.22), transparent 2.4%),
    radial-gradient(circle at 57% 56%, rgba(55,125,255,.22), transparent 2.4%),
    radial-gradient(circle at 74% 40%, rgba(55,125,255,.22), transparent 2.4%),
    radial-gradient(circle at 86% 66%, rgba(55,125,255,.22), transparent 2.4%),
    linear-gradient(135deg,#fff,#eef4ff);
  border:1px solid var(--line);
  overflow:hidden;
  box-shadow:0 16px 34px rgba(12,18,34,.08);
}
.map-card::before{
  content:"";
  position:absolute;
  inset:42px;
  opacity:.22;
  background-image:radial-gradient(#6c7892 1px, transparent 1px);
  background-size:9px 9px;
}
.pin{
  position:absolute;
  width:18px;
  height:18px;
  border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);
  background:var(--accent-dark);
  box-shadow:0 8px 18px rgba(55,125,255,.30);
}
.pin::after{
  content:"";
  position:absolute;
  width:6px;
  height:6px;
  left:6px;
  top:6px;
  border-radius:50%;
  background:#fff;
}
.p1{left:24%;top:42%}.p2{left:47%;top:34%}.p3{left:57%;top:56%}.p4{left:74%;top:40%}.p5{left:86%;top:66%}
.workflow-grid,
.resource-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.workflow-grid article,
.resource-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:24px;
  box-shadow:0 10px 24px rgba(12,18,34,.05);
}
.workflow-grid span{
  color:var(--accent);
  font-weight:900;
}
.workflow-grid h3{
  margin:10px 0 8px;
}
.workflow-grid p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}
.resource-card{
  text-align:center;
}
.resource-card a{
  display:inline-block;
  margin-top:16px;
  color:var(--accent-dark);
  font-size:12px;
  font-weight:800;
}
.center-cta{
  text-align:center;
  margin-top:34px;
}
.center-cta p{
  margin:0 0 18px;
  color:var(--muted);
  font-weight:700;
}
.contact-layout{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:48px;
  align-items:start;
}
.contact-info,
.contact-form{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:30px;
  box-shadow:0 16px 34px rgba(12,18,34,.08);
}
.contact-row{
  display:grid;
  grid-template-columns:28px 1fr;
  gap:12px;
  margin:22px 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}
.contact-row span{
  color:var(--accent-dark);
}
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.contact-form label{
  display:block;
  margin-bottom:16px;
  font-size:12px;
  font-weight:800;
  color:#283247;
}
.contact-form input,
.contact-form textarea,
.contact-form select{
  width:100%;
  margin-top:8px;
  border:1px solid var(--line);
  border-radius:9px;
  padding:12px;
  padding-right:36px;
  font:inherit;
  background:#fbfcff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='%235e6576' d='M2 4l4 4 4-4z'/></svg>") no-repeat right 12px center / 12px;
  color:var(--ink);
  appearance:none;
  -webkit-appearance:none;
}
.contact-form .btn{
  border:none;
  width:100%;
  cursor:pointer;
}
.contact-form .req{
  color:#d83a3a;
  margin-left:3px;
  font-weight:700;
}
.contact-form .form-disclaimer{
  margin:0 0 18px;
  font-size:12px;
  line-height:1.5;
  color:var(--muted);
}
.contact-form .form-disclaimer a{
  color:var(--accent);
  font-weight:600;
}
.contact-form .form-disclaimer a:hover{
  color:var(--accent-dark);
}
.founder-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}
.founder-card{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:22px;
  padding:28px;
  color:#fff;
  background:linear-gradient(135deg,#111827,#1d2740);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  box-shadow:0 16px 34px rgba(12,18,34,.16);
}
.founder-photo{
  width:120px;
  height:120px;
  border-radius:18px;
  overflow:hidden;
}
.initials{
  display:grid;
  place-items:center;
  color:#fff;
  font-size:34px;
  font-weight:900;
  background:linear-gradient(135deg,var(--accent),var(--accent-dark));
}
.founder-card h2{
  margin:0 0 4px;
  font-size:22px;
}
.role{
  color:var(--accent);
  font-size:13px;
  font-weight:800;
  margin:0 0 14px;
}
.founder-card p{
  font-size:13px;
  line-height:1.65;
  color:rgba(255,255,255,.82);
}
.quote-band{
  width:min(1050px, calc(100% - 64px));
  margin:0 auto;
  padding:24px 34px;
  border-radius:14px;
  color:#fff;
  background:linear-gradient(135deg,var(--accent),var(--accent-dark));
  text-align:center;
  font-weight:800;
}
.quote-band p{margin:0}

@media(max-width:1080px){
  .split-section,
  .split-section.reverse,
  .contact-layout,
  .founder-grid{
    grid-template-columns:1fr;
  }
  .value-grid.five,
  .value-grid.four,
  .workflow-grid,
  .resource-grid,
  .stat-grid.four{
    grid-template-columns:repeat(2,1fr);
  }
  .promise-band{
    grid-template-columns:1fr;
  }
}
@media(max-width:640px){
  .page-hero-content,
  .page-section,
  .split-section,
  .narrow-copy,
  .contact-layout,
  .founder-grid,
  .stat-grid,
  .value-grid,
  .quote-band{
    width:calc(100% - 28px);
  }
  .page-hero-content h1{font-size:34px}
  .value-grid.five,
  .value-grid.four,
  .workflow-grid,
  .resource-grid,
  .stat-grid.four,
  .form-grid{
    grid-template-columns:1fr;
  }
  .founder-card{
    grid-template-columns:1fr;
  }
}

/* ===== Unified final additions: original-home friendly ===== */
:root{
  --violet:#6d4dff;
  --green:#49c43f;
  --amber:#f5a524;
  --soft-bg:#f7f9fc;
}
html.dark{
  --ink:#f5f8ff;
  --muted:#aebbd2;
  --line:#1e2a40;
  --surface:#0d1728;
  --soft-bg:#07101d;
  --accent-dark:#5DA8FF;
}
html.dark body,
html.dark .solution-section,
html.dark .page-main,
html.dark .libraries{
  background:var(--soft-bg);
  color:var(--ink);
}
html.dark .card,
html.dark .library-card,
html.dark .value-card,
html.dark .resource-card,
html.dark .platform-card,
html.dark .why-card,
html.dark .contact-info,
html.dark .contact-form,
html.dark .stat-grid article,
html.dark .signal-card,
html.dark .article-teaser,
html.dark .article-body,
html.dark .article-aside,
html.dark .pricing-cards article,
html.dark .catalog-two article,
html.dark .footer{
  background:var(--surface);
  color:var(--ink);
  border-color:var(--line);
}
html.dark .footer a,
html.dark .footer h4,
html.dark .card p,
html.dark .library-card p{
  color:var(--muted);
}
.theme-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 14px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.26);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}
.theme-toggle .light-label{display:none}
html.dark .theme-toggle .dark-label{display:none}
html.dark .theme-toggle .light-label{display:inline}
.navlinks{gap:15px;font-size:10px}
.nav-actions{gap:10px}
.footer-note{margin:14px 0 0;max-width:190px;font-size:12px;line-height:1.5;color:var(--muted)}
.page-kicker{
  margin:0 0 12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
  font-weight:900;
  color:var(--accent);
}
.home-unified-section,
.unified-block,
.catalog-deep,
.pricing-page,
.articles-list,
.article-layout,
.founder-rows{
  width:min(1180px, calc(100% - 64px));
  margin:0 auto 48px;
}
.home-unified-section{
  padding:8px 0 32px;
}
.unified-head{
  text-align:center;
  margin:0 auto 28px;
}
.unified-head.split{
  display:flex;
  text-align:left;
  align-items:end;
  justify-content:space-between;
  gap:28px;
}
.unified-head h2{
  margin:0 auto 10px;
  max-width:760px;
  font-size:34px;
  line-height:1.08;
  letter-spacing:-.045em;
}
.unified-head.split h2{margin:0;max-width:650px}
.unified-head p{max-width:520px;margin:0 auto;color:var(--muted)}
.unified-head.split>p{margin:0;max-width:390px}
.home-feature-grid,
.signal-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.signal-grid{
  grid-template-columns:repeat(4,1fr);
}
.signal-grid.three{grid-template-columns:repeat(3,1fr)}
.signal-grid.journey-grid{grid-template-columns:repeat(6,1fr)}
.signal-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:26px 24px;
  min-height:210px;
  box-shadow:0 16px 34px rgba(12,18,34,.06);
  transition:.22s ease;
}
.signal-card:hover{transform:translateY(-4px);box-shadow:0 22px 44px rgba(12,18,34,.10)}
.signal-icon{
  width:46px;height:46px;border-radius:13px;display:grid;place-items:center;margin-bottom:18px
}
.signal-icon svg{
  width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round
}
.signal-icon.blue{background:#eaf3ff;color:#1675d8}
.signal-icon.green{background:#edfbe9;color:#3caf32}
.signal-icon.violet{background:#f0ebff;color:#6d4dff}
.signal-icon.amber{background:#fff2dc;color:#f29900}
.signal-card h3{margin:0 0 12px;font-size:18px;letter-spacing:-.035em}
.signal-card p{margin:0;font-size:13px;line-height:1.6;color:var(--muted)}
.home-link-row{margin-top:20px;display:flex;justify-content:center;gap:14px;flex-wrap:wrap}
.soft-link,.page-soft-btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:999px;
  border:1px solid var(--line);background:#fff;color:var(--accent-dark);font-size:13px;font-weight:900
}
html.dark .soft-link, html.dark .page-soft-btn{background:var(--surface)}
.cta-band-unified,
.principle-band{
  width:min(1180px, calc(100% - 64px));
  margin:28px auto 48px;
  padding:42px 48px;
  border-radius:24px;
  color:#fff;
  background:linear-gradient(135deg,#071a3a,#177edb 52%,#655ce9);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  box-shadow:0 24px 58px rgba(12,18,34,.18);
}
.cta-band-unified h2,.principle-band h2{margin:0 0 10px;font-size:34px;letter-spacing:-.045em}
.cta-band-unified p,.principle-band p{margin:0;color:rgba(255,255,255,.86);max-width:640px}
.light-outline{border-color:rgba(255,255,255,.75)!important}
.unified-library-grid{
  width:min(1060px, calc(100% - 96px));
  margin-bottom:52px;
}
.catalog-deep{padding:4px 0 48px}
.catalog-deep h2{
  max-width:820px;
  margin:0 0 18px;
  font-size:58px;
  line-height:1.02;
  letter-spacing:-.06em;
}
.catalog-deep>p{max-width:720px;font-size:18px}
.catalog-two{
  margin-top:58px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:42px;
  align-items:center;
}
.catalog-two h3{font-size:38px;line-height:1.05;margin:0 0 16px;letter-spacing:-.045em}
.catalog-two article{
  background:#fff;border:1px solid var(--line);border-radius:22px;padding:30px 34px;box-shadow:0 16px 34px rgba(12,18,34,.06)
}
.catalog-two li{margin:9px 0;color:var(--muted)}
.brain-card img{object-fit:contain;background:#071224}
.principle-band{display:block;background:linear-gradient(135deg,#081a3b,#241d76)}
.principle-band small{display:block;margin-top:18px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:rgba(255,255,255,.7)}
.pricing-page{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:start}
.pricing-page h2{font-size:48px;margin:0 0 18px;letter-spacing:-.05em;line-height:1.05}
.pricing-cards{display:grid;gap:18px}
.pricing-cards article,.article-teaser,.article-body,.article-aside{
  background:#fff;border:1px solid var(--line);border-radius:22px;padding:30px;box-shadow:0 16px 34px rgba(12,18,34,.06)
}
.articles-list{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.article-teaser h2{font-size:30px;margin:0 0 14px;line-height:1.08}
.article-teaser a{display:inline-block;margin-top:14px;color:var(--accent-dark);font-weight:900}
.article-layout{display:grid;grid-template-columns:1fr 290px;gap:34px;align-items:start}
.article-body p{font-size:16px;line-height:1.78}
.article-body strong{color:var(--ink)}
.author-row{display:flex;align-items:center;gap:12px;margin-bottom:24px;font-weight:900;color:var(--accent-dark)}
.author-row img{width:46px;height:46px;border-radius:50%;object-fit:cover}
.article-aside{position:sticky;top:100px}
.article-aside a{display:block;margin:14px 0;color:var(--accent-dark);font-weight:900}
.founder-rows{display:grid;gap:18px}
.founder-rows article{
  display:grid;grid-template-columns:260px 1fr;gap:34px;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 16px 34px rgba(12,18,34,.08)
}
html.dark .founder-rows article{background:var(--surface);border-color:var(--line)}
.founder-photo{height:360px;background:#151b25;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}
.founder-photo img{width:100%;height:100%;object-fit:cover;object-position:center 12%;transform:scale(1.12)}
.founder-rows article>div:last-child{padding:34px}
.founder-rows h2{font-size:30px;margin:0 0 14px}
.founder-rows summary{cursor:pointer;color:#fff;background:linear-gradient(135deg,var(--accent),var(--violet));display:inline-flex;padding:9px 14px;border-radius:999px;font-weight:900;font-size:12px}
@media(max-width:1180px){
  .navlinks{display:none}
}
@media(max-width:900px){
  .home-feature-grid,.signal-grid,.signal-grid.three,.signal-grid.journey-grid,.catalog-two,.pricing-page,.articles-list,.article-layout,.founder-rows article{grid-template-columns:1fr}
  .unified-head.split{display:block;text-align:center}.unified-head.split h2{margin:0 auto 12px}
  .cta-band-unified{display:block}.cta-band-unified .btn{margin-top:18px}
  .catalog-deep h2{font-size:40px}
}
@media(max-width:640px){
  .home-unified-section,.unified-block,.catalog-deep,.pricing-page,.articles-list,.article-layout,.founder-rows,.cta-band-unified,.principle-band{width:calc(100% - 28px)}
  .theme-toggle{display:none}
}


/* ===== Home hero light/dark refinement ===== */
/* Light mode: make the hero truly light, keep text off the photo, and place the librarian/library image as a right-side visual. */
.hero{
  background:#f7f9fc;
  color:var(--ink);
}
.hero-bg{
  left:auto;
  right:-22px;
  width:58%;
  inset:0 -22px 0 auto;
  background:url("assets/hero.jpg") center center / cover no-repeat;
  background-color:transparent;
}
.hero-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, #f7f9fc 0%, rgba(247,249,252,.72) 18%, rgba(247,249,252,.14) 46%, rgba(247,249,252,0) 100%);
  pointer-events:none;
}
.hero-overlay{
  background:
    linear-gradient(90deg, #f7f9fc 0%, rgba(247,249,252,.98) 34%, rgba(247,249,252,.70) 48%, rgba(247,249,252,.08) 72%, rgba(247,249,252,.18) 100%);
}
.hero-copy h1{
  color:var(--ink);
}
.hero-copy h1 span{
  color:var(--accent);
}
.hero-copy p{
  color:var(--muted);
}
.hero .btn-outline{
  color:var(--ink);
  border-color:rgba(12,18,34,.26);
  background:rgba(255,255,255,.58);
}
.hero .navbar .logo-dark{
  display:none;
}
.hero .navbar .logo-light{
  display:block;
}
.hero .navlinks a,
.hero .lang{
  color:var(--ink);
}
.hero .theme-toggle{
  color:var(--ink);
  border-color:rgba(12,18,34,.14);
  background:rgba(255,255,255,.72);
}

/* Make the metric strip work on the lighter hero without losing the original feel. */
.hero .metric-strip{
  background:rgba(255,255,255,.82);
  border-color:rgba(93,168,255,.24);
  box-shadow:0 20px 50px rgba(12,18,34,.10);
}
.hero .metric-strip article{
  border-right-color:rgba(12,18,34,.08);
}
.hero .metric-strip strong{
  color:var(--ink);
}
.hero .metric-strip small{
  color:var(--muted);
}

/* Dark mode: keep original dramatic look, but push the image a little to the right so the librarian does not sit over the headline. */
html.dark .hero{
  background:#04070f;
  color:#fff;
}
html.dark .hero-bg{
  inset:0 -70px 0 auto;
  width:72%;
  background:url("assets/hero.jpg") center center / cover no-repeat;
}
html.dark .hero-bg::after{
  background:linear-gradient(90deg, #04070f 0%, rgba(4,7,15,.84) 17%, rgba(4,7,15,.28) 50%, rgba(4,7,15,0) 100%);
}
html.dark .hero-overlay{
  background:
    linear-gradient(90deg, rgba(4,7,15,.96) 0%, rgba(4,7,15,.78) 31%, rgba(4,7,15,.38) 57%, rgba(4,7,15,.58) 100%),
    linear-gradient(180deg, rgba(4,7,15,.08) 0%, rgba(4,7,15,.10) 54%, rgba(4,7,15,.68) 100%);
}
html.dark .hero-copy h1{
  color:#fff;
}
html.dark .hero-copy p{
  color:rgba(255,255,255,.93);
}
html.dark .hero .btn-outline{
  color:#fff;
  border-color:rgba(255,255,255,.75);
  background:rgba(255,255,255,.03);
}
html.dark .hero .navbar .logo-light{
  display:none;
}
html.dark .hero .navbar .logo-dark{
  display:block;
}
html.dark .hero .navlinks a,
html.dark .hero .lang{
  color:#fff;
}
html.dark .hero .theme-toggle{
  color:#fff;
  border-color:rgba(255,255,255,.26);
  background:rgba(255,255,255,.08);
}
html.dark .hero .metric-strip{
  background:rgba(8,14,26,.72);
  border-color:rgba(93,168,255,.20);
  box-shadow:0 20px 50px rgba(0,0,0,.32);
}
html.dark .hero .metric-strip article{
  border-right-color:rgba(255,255,255,.08);
}
html.dark .hero .metric-strip strong{
  color:#fff;
}
html.dark .hero .metric-strip small{
  color:rgba(255,255,255,.72);
}

/* Mobile/tablet: keep readability first. */
@media(max-width:900px){
  .hero-bg,
  html.dark .hero-bg{
    inset:0;
    width:100%;
    opacity:.24;
    background-position:center center;
  }
  .hero-bg::after{
    background:linear-gradient(90deg, #f7f9fc 0%, rgba(247,249,252,.86) 100%);
  }
  html.dark .hero-bg::after{
    background:linear-gradient(90deg, rgba(4,7,15,.95) 0%, rgba(4,7,15,.78) 100%);
  }
}


/* ----- Unified header/footer update ----- */
body.home-page .navbar .brand img{width:132px;height:auto}
body:not(.home-page) .navbar .brand img{width:96px;height:auto}
.navbar{width:min(1240px, calc(100% - 40px));height:74px}
.navlinks{gap:14px;font-size:10px;font-weight:800;letter-spacing:.025em;flex-wrap:wrap;justify-content:center}
.nav-actions{gap:10px;flex-shrink:0}
.theme-toggle{min-height:34px;padding:0 12px;font-size:11px;border-radius:8px}
.btn.small{min-height:34px;padding:0 14px;font-size:11px}
.brand{display:flex;align-items:center;min-width:max-content}
.hero .brand .logo-dark,
.page-hero .brand .logo-dark{display:block !important}
.hero .brand .logo-light,
.page-hero .brand .logo-light{display:none !important}
.footer .footer-brand img{width:126px;height:auto}
.footer-cols a{display:block}
@media (max-width: 1320px){
  .navbar{width:min(1240px, calc(100% - 28px))}
  .navlinks{gap:11px;font-size:9.5px}
}

/* Dark mode consistency across all internal cards/sections */
html.dark .page-hero::after{background:linear-gradient(90deg, rgba(4,7,15,.88) 0%, rgba(4,7,15,.72) 34%, rgba(4,7,15,.42) 72%, rgba(4,7,15,.72) 100%),linear-gradient(180deg, rgba(4,7,15,.14) 0%, rgba(4,7,15,.40) 100%)}
html.dark .page-main, html.dark .page-section, html.dark .libraries-main, html.dark .human-ai-main, html.dark .founders-page, html.dark .pricing-page{background:#0b1220 !important;color:#eaf1fb}
html.dark .footer{background:#07111d !important;border-top:1px solid #233048}
html.dark .footer h4, html.dark .footer-note, html.dark .copyright{color:#dfe9f6 !important}

/* ===== FINAL INDEX SYNC FROM index2.html ===== */
/* Copied only for: hero paragraph, mini-trust line, and 20M/MARC metric strip look. */
body.home-page .hero-copy p{
  max-width:610px !important;
  font-size:16px !important;
  line-height:1.62 !important;
  color:#526078 !important;
  margin:0 !important;
}

body.home-page .mini-trust{
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:18px !important;
  margin-top:28px !important;
  white-space:nowrap !important;
  font-size:12px !important;
  color:#53558f !important;
  font-weight:800 !important;
  line-height:1 !important;
  text-align:left !important;
  width:auto !important;
  max-width:none !important;
}

body.home-page .mini-trust span{
  display:inline-block !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
}

body.home-page .metric-strip{
  width:min(1360px, calc(100% - 120px)) !important;
  margin:72px auto 0 !important;
  border-radius:18px !important;
  overflow:hidden !important;
  background:rgba(255,255,255,.92) !important;
  border:1px solid #dbe5f1 !important;
  box-shadow:0 16px 42px rgba(7,18,37,.08) !important;
  transform:none !important;
}

body.home-page .metric-strip article{
  padding:22px 20px !important;
  min-height:88px !important;
}

body.home-page .metric-strip strong{
  font-size:17px !important;
  color:#071225 !important;
  line-height:1.05 !important;
  letter-spacing:0 !important;
}

body.home-page .metric-strip small{
  font-size:11.5px !important;
  color:#66758a !important;
  line-height:1.45 !important;
}

body.home-page .metric-icon{
  font-size:20px !important;
  color:var(--accent) !important;
  opacity:.95 !important;
}

@media(max-width:1100px){
  body.home-page .mini-trust{
    flex-wrap:wrap !important;
    white-space:normal !important;
  }

  body.home-page .metric-strip{
    width:calc(100% - 72px) !important;
    margin:60px 36px 0 !important;
  }
}

/* ===== FINAL VISUAL SPACING PASS ===== */
/* Requested: separate lower sections, blend brain image into AI panel, and lift the 20M/MARC strip slightly. */

/* Move the 20M / MARC / Real-Time strip up just a bit */
body.home-page .metric-strip{
  margin-top:62px !important;
}

/* Give the AI panel and library section more breathing room */
body.home-page .ai-panel{
  margin-top:78px !important;
  margin-bottom:58px !important;
}

body.home-page .libraries{
  padding-top:20px !important;
}

body.home-page .libraries .section-title{
  margin-bottom:34px !important;
}

/* Make the brain image blend into the dark blue panel instead of looking like a separate black rectangle */
body.home-page .ai-panel{
  background:linear-gradient(90deg,#061225 0%, #07162d 48%, #081a34 100%) !important;
}

body.home-page .brain-wrap{
  background:linear-gradient(90deg,#061225 0%, #07162d 100%) !important;
  box-shadow:none !important;
  border:0 !important;
  overflow:hidden !important;
}

body.home-page .brain-wrap img{
  mix-blend-mode:screen !important;
  opacity:.92 !important;
  filter:saturate(1.08) contrast(1.04) !important;
  -webkit-mask-image:radial-gradient(ellipse at center, #000 0%, #000 58%, rgba(0,0,0,.68) 72%, transparent 100%) !important;
  mask-image:radial-gradient(ellipse at center, #000 0%, #000 58%, rgba(0,0,0,.68) 72%, transparent 100%) !important;
}

/* Add a little more space between the four library cards and the next CTA area */
body.home-page .library-grid{
  margin-bottom:58px !important;
}

/* ===== FINAL HERO TEXT ALIGNMENT PASS ===== */
/* Match screenshot: paragraph, buttons, and trust line share the same left axis and spacing. */

body.home-page .hero-copy{
  max-width:660px !important;
}

body.home-page .hero-copy p{
  max-width:650px !important;
  margin:0 !important;
  font-size:16px !important;
  line-height:1.55 !important;
  color:#526078 !important;
  text-align:left !important;
}

body.home-page .hero-buttons{
  margin-top:24px !important;
  display:flex !important;
  justify-content:flex-start !important;
  align-items:center !important;
  gap:14px !important;
}

body.home-page .hero-buttons .btn{
  min-height:46px !important;
  padding:0 24px !important;
  font-size:14px !important;
  border-radius:12px !important;
}

body.home-page .mini-trust{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  flex-wrap:nowrap !important;
  gap:22px !important;
  width:auto !important;
  max-width:none !important;
  margin:26px 0 0 0 !important;
  color:#53558f !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1 !important;
  text-align:left !important;
  white-space:nowrap !important;
}

body.home-page .mini-trust span{
  display:inline-flex !important;
  align-items:center !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
}

@media(max-width:1100px){
  body.home-page .mini-trust{
    flex-wrap:wrap !important;
    white-space:normal !important;
    gap:14px !important;
  }
}

/* ===== FINAL METRIC STRIP + ONE PLATFORM TITLE PASS ===== */
/* Requested: move metric strip slightly upward and keep "Every step..." in one line on desktop. */

body.home-page .metric-strip{
  margin-top:50px !important; /* was lower; this brings it closer to the trust line */
}

body.home-page .solution-section{
  padding-top:58px !important;
}

body.home-page .solution-section .section-title{
  width:min(1220px, calc(100% - 72px)) !important;
  max-width:1220px !important;
}

body.home-page .section-title h2{
  max-width:1220px !important;
  font-size:clamp(34px, 2.75vw, 42px) !important;
  line-height:1.04 !important;
  white-space:nowrap !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.home-page .section-title p{
  max-width:980px !important;
}

@media(max-width:1100px){
  body.home-page .metric-strip{
    margin-top:54px !important;
  }

  body.home-page .section-title h2{
    white-space:normal !important;
    font-size:clamp(32px, 5vw, 42px) !important;
  }
}



/* Requested: nudge the 20M+/MARC strip a bit to the right so it lines up with the rest. */
body.home-page .metric-strip{
  transform:translateX(32px) !important;
}
@media(max-width:1100px){
  body.home-page .metric-strip{
    transform:none !important;
  }
}

/* ===== FINAL METRIC BAR HORIZONTAL CENTER ADJUST ===== */
/* Requested: nudge the 20M+/MARC strip further right so it lines up with the rest. */
body.home-page .metric-strip{
  transform:translateX(76px) !important;
}

@media(max-width:1100px){
  body.home-page .metric-strip{
    transform:none !important;
  }
}
