/* ChemForge homepage — visual product story layered over the shared site CSS. */

:root {
  --home-ink: #f8fbff;
  --home-muted: #9aa9bd;
  --home-dim: #68788e;
  --home-navy: #070b14;
  --home-panel: #0d1421;
  --home-panel-2: #101a2a;
  --home-line: rgba(139, 165, 200, 0.17);
  --home-blue: #4f86ff;
  --home-blue-soft: #83a9ff;
  --home-orange: #ff9d4d;
  --home-green: #57d596;
  --home-display: "Arial Narrow", "Aptos Display", "Segoe UI", sans-serif;
}

body.home {
  background: var(--home-navy);
  color: var(--home-ink);
  overflow-x: hidden;
}

.home .container { max-width: 1240px; padding-inline: 28px; }
.home a:focus-visible,
.home button:focus-visible,
.home video:focus-visible { outline: 2px solid var(--home-orange); outline-offset: 4px; }

/* Navigation */
.home .home-nav {
  position: absolute;
  width: 100%;
  top: 0;
  background: linear-gradient(180deg, rgba(7, 11, 20, .92), rgba(7, 11, 20, .18));
  border: 0;
  backdrop-filter: none;
}
.home .nav-inner { height: 92px; }
.home .nav-logo img { height: 74px; }
.home .nav-links { gap: 12px; }
.home .nav-links a {
  color: #aeb9c9;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .025em;
  padding: 8px 7px;
}
.home .nav-links a:hover { color: #fff; background: transparent; }
.home .nav-cta .btn { padding: 10px 18px; font-size: 13px; }

/* Shared homepage controls */
.home .btn {
  border-radius: 5px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.home .btn:hover { transform: translateY(-2px); }
.home .btn-primary {
  background: linear-gradient(135deg, #366fe9, #2457c4);
  border: 1px solid rgba(135, 175, 255, .38);
  box-shadow: 0 10px 32px rgba(35, 83, 190, .25), inset 0 1px rgba(255,255,255,.14);
}
.home .btn-primary:hover { background: linear-gradient(135deg, #4c83fa, #2a61d5); box-shadow: 0 14px 40px rgba(35, 83, 190, .38); }
.home .btn-outline { border: 1px solid rgba(170, 192, 222, .3); background: rgba(255,255,255,.025); }
.home .btn-outline:hover { background: rgba(255,255,255,.065); border-color: rgba(170, 192, 222, .55); }
.home .btn-large { min-height: 52px; padding: 13px 23px; }

/* Hero */
.home-hero {
  min-height: 100vh;
  padding: 154px 0 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 67% 33%, rgba(38, 91, 195, .18), transparent 34%),
    radial-gradient(ellipse at 87% 60%, rgba(255, 128, 45, .055), transparent 28%),
    linear-gradient(180deg, #080d17, #070b14 72%);
}
.hero-grid,
.workflow-grid,
.cta-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(133, 162, 201, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133, 162, 201, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 86%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(1px); z-index: -1; pointer-events: none; }
.hero-glow-a { width: 520px; height: 520px; right: -280px; top: 100px; border: 1px solid rgba(79,134,255,.12); box-shadow: 0 0 120px rgba(79,134,255,.07) inset; }
.hero-glow-b { width: 280px; height: 280px; left: -180px; top: 420px; border: 1px solid rgba(255,157,77,.1); }
.home-hero-inner { display: grid; grid-template-columns: .88fr 1.22fr; align-items: center; gap: 64px; min-height: 590px; }
.home-hero-copy { position: relative; z-index: 3; padding-bottom: 30px; }
.home-eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--home-blue-soft);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.home-eyebrow span { width: 27px; height: 1px; background: var(--home-orange); box-shadow: 0 0 9px rgba(255,157,77,.7); }
.home-hero h1 {
  max-width: 660px;
  margin: 25px 0 25px;
  font-family: var(--home-display);
  font-size: clamp(53px, 5.7vw, 88px);
  font-weight: 720;
  line-height: .97;
  letter-spacing: -.055em;
}
.home-hero h1 em,
.home-cta h2 em { color: var(--home-blue-soft); font-style: normal; }
.home-hero-sub { max-width: 610px; margin: 0 0 32px; color: #abb7c7; font-size: 17px; line-height: 1.72; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin-top: 26px; }
.hero-proof li { display: flex; align-items: center; gap: 7px; color: #8190a4; font-size: 12px; font-weight: 600; }
.hero-proof svg { width: 14px; height: 14px; fill: none; stroke: var(--home-green); stroke-width: 2.5; }

/* Product window */
.product-stage { min-width: 0; position: relative; perspective: 1200px; padding: 42px 0 62px; }
.stage-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(98,143,240,.14); pointer-events: none; }
.stage-orbit-one { width: 650px; height: 650px; top: -40px; left: 8%; }
.stage-orbit-two { width: 480px; height: 480px; top: 40px; left: 19%; border-style: dashed; animation: orbit 60s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.product-window {
  display: block;
  position: relative;
  z-index: 2;
  width: 112%;
  color: inherit;
  border: 1px solid rgba(144, 174, 218, .32);
  border-radius: 11px;
  overflow: hidden;
  background: #e9eef5;
  box-shadow: 0 38px 90px rgba(0,0,0,.57), 0 0 0 1px rgba(255,255,255,.035), 0 0 90px rgba(40,95,210,.12);
  transform: rotateY(-3.5deg) rotateX(1deg);
  transform-origin: center left;
  transition: transform .45s cubic-bezier(.2,.75,.25,1), box-shadow .45s ease;
}
.product-window:hover { color: inherit; transform: rotateY(0) rotateX(0) translateY(-5px); box-shadow: 0 46px 100px rgba(0,0,0,.64), 0 0 110px rgba(40,95,210,.18); }
.product-window-bar { height: 40px; display: flex; align-items: center; gap: 13px; padding: 0 14px; background: #111827; border-bottom: 1px solid rgba(255,255,255,.09); color: #6f7c90; font: 10px/1 var(--font-mono); }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; background: #425068; border-radius: 50%; }
.window-dots i:first-child { background: #f16d68; }
.window-dots i:nth-child(2) { background: #e9ad55; }
.window-dots i:nth-child(3) { background: #56bb7d; }
.product-window-bar > span { flex: 1; text-align: center; }
.window-live { display: flex; align-items: center; gap: 5px; color: #8592a6; }
.window-live i { width: 5px; height: 5px; background: var(--home-green); border-radius: 50%; box-shadow: 0 0 8px var(--home-green); }
.product-shot { aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.product-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.stage-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; background: rgba(12, 19, 31, .94); border: 1px solid rgba(145,177,222,.28); border-radius: 8px; padding: 12px 14px; box-shadow: 0 16px 40px rgba(0,0,0,.45); backdrop-filter: blur(14px); }
.stage-card span { display: block; color: #6f8097; font-size: 9px; line-height: 1.2; text-transform: uppercase; letter-spacing: .09em; }
.stage-card strong { display: block; margin-top: 4px; color: #e8eef8; font-size: 12px; line-height: 1; }
.stage-card small { color: var(--home-green); font: 10px/1 var(--font-mono); margin-left: 8px; }
.stage-card-icon { width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; }
.stage-card-icon svg { width: 16px; height: 16px; }
.stage-icon-green { color: var(--home-green); background: rgba(87,213,150,.1); border: 1px solid rgba(87,213,150,.22); }
.solve-card { right: -10%; bottom: 28px; animation: float 6s ease-in-out infinite; }
.engine-card { left: -5%; top: 14px; animation: float 7s 1s ease-in-out infinite reverse; }
.engine-pulse { display: flex; align-items: end; gap: 2px; width: 28px; height: 24px; }
.engine-pulse i { flex: 1; height: 30%; background: var(--home-blue); border-radius: 2px; animation: pulsebar 1.25s ease-in-out infinite alternate; }
.engine-pulse i:nth-child(2) { height: 65%; animation-delay: -.4s; }
.engine-pulse i:nth-child(3) { height: 95%; animation-delay: -.8s; background: var(--home-orange); }
.engine-pulse i:nth-child(4) { height: 55%; animation-delay: -.2s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes pulsebar { to { height: 90%; } }

.hero-metrics { display: grid; grid-template-columns: .7fr .7fr .8fr 1.45fr; border-top: 1px solid var(--home-line); margin-top: 30px; }
.hero-metric { min-height: 108px; display: flex; flex-direction: column; justify-content: center; padding: 19px 28px; border-right: 1px solid var(--home-line); }
.hero-metric:first-child { padding-left: 0; }
.hero-metric:last-child { border-right: 0; }
.hero-metric strong { color: #edf4ff; font-family: var(--home-display); font-size: 28px; line-height: 1; letter-spacing: -.03em; }
.hero-metric span { margin-top: 8px; color: #6d7d92; font-size: 11px; letter-spacing: .035em; }
.hero-metric-wide strong { color: var(--home-orange); }

/* Section foundations */
.home-section { padding: 120px 0; position: relative; }
.section-intro { margin-bottom: 56px; }
.section-intro-split { display: grid; grid-template-columns: 1.15fr .65fr; gap: 100px; align-items: end; }
.section-intro h2,
.examples-heading h2,
.local-copy h2,
.home-cta h2 {
  margin: 18px 0 0;
  font-family: var(--home-display);
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.section-intro > p,
.section-intro-split > p { color: var(--home-muted); font-size: 16px; line-height: 1.75; }
.section-intro-center { max-width: 720px; text-align: center; margin-inline: auto; }
.section-intro-center p { max-width: 570px; margin: 18px auto 0; }

/* Platform bento */
.platform-section { background: linear-gradient(180deg, #090e18, #080d16); border-top: 1px solid rgba(143,167,201,.08); }
.platform-bento { display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: auto auto; gap: 18px; }
.bento-card { position: relative; min-width: 0; overflow: hidden; background: linear-gradient(145deg, rgba(17,27,43,.9), rgba(11,17,28,.92)); border: 1px solid var(--home-line); border-radius: 11px; }
.bento-copy { position: relative; z-index: 2; }
.bento-copy h3 { margin: 11px 0 9px; font-size: 23px; line-height: 1.2; letter-spacing: -.025em; }
.bento-copy p { color: #8998ac; font-size: 13px; line-height: 1.65; }
.card-index { color: var(--home-blue-soft); font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.bento-flowsheet { min-height: 500px; grid-row: span 2; padding: 35px; }
.bento-flowsheet .bento-copy { max-width: 450px; }
.bento-image { position: absolute; left: 34px; right: 34px; bottom: -22px; border-radius: 8px 8px 0 0; overflow: hidden; border: 1px solid rgba(139,165,200,.22); background: white; box-shadow: 0 25px 40px rgba(0,0,0,.36); }
.bento-image-flowsheet { height: 308px; }
.bento-image img { width: 100%; height: 100%; object-fit: cover; }
.bento-chip { position: absolute; z-index: 3; right: 18px; top: 185px; padding: 7px 11px; border-radius: 5px; color: #d7e2f2; background: rgba(8,14,24,.92); border: 1px solid rgba(126,159,211,.28); box-shadow: 0 10px 25px rgba(0,0,0,.34); font-size: 10px; }
.bento-thermo { min-height: 276px; padding: 28px 28px 0; }
.bento-thermo .bento-copy { max-width: 360px; }
.chart-frame { margin: 24px -9px 0; height: 128px; overflow: hidden; border-radius: 6px 6px 0 0; filter: saturate(.82) contrast(1.05); opacity: .9; }
.chart-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bento-depth { min-height: 310px; padding: 28px; }
.bento-depth .bento-copy { max-width: 390px; }
.depth-list { margin-top: 22px; border-top: 1px solid var(--home-line); }
.depth-list > div { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; min-height: 43px; border-bottom: 1px solid var(--home-line); color: #a6b2c2; }
.depth-list span { color: var(--home-orange); font: 10px/1 var(--font-mono); }
.depth-list b { font-size: 11px; font-weight: 650; }
.depth-list i { color: #55667c; font-style: normal; }
.bento-local { grid-column: 1 / -1; min-height: 225px; padding: 36px; display: grid; grid-template-columns: 220px 1fr; align-items: center; background: linear-gradient(110deg, rgba(29,65,133,.2), rgba(12,19,31,.82) 47%); }
.bento-local .bento-copy { max-width: 700px; }
.local-mark { width: 145px; height: 145px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(90,137,231,.25); box-shadow: 0 0 0 20px rgba(79,134,255,.025), 0 0 70px rgba(79,134,255,.12); }
.local-mark svg { width: 70px; height: 70px; stroke: var(--home-blue-soft); stroke-width: 1.6; }

/* Workflow */
.workflow-section { overflow: hidden; background: #070b14; }
.workflow-grid { opacity: .44; mask-image: radial-gradient(ellipse at center, black, transparent 74%); }
.workflow-steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--home-line); border-radius: 10px; overflow: hidden; background: rgba(8,14,24,.74); }
.workflow-step { min-width: 0; padding: 30px; position: relative; border-right: 1px solid var(--home-line); }
.workflow-step:last-child { border-right: 0; }
.workflow-step-featured { background: linear-gradient(180deg, rgba(49,92,181,.12), transparent); }
.workflow-number { color: #52647d; font: 10px/1 var(--font-mono); }
.workflow-step h3 { margin: 24px 0 10px; font-size: 19px; }
.workflow-step p { color: #8392a6; font-size: 13px; line-height: 1.7; }
.workflow-visual { height: 150px; margin: 28px -6px 0; position: relative; background: rgba(255,255,255,.015); border: 1px solid rgba(139,165,200,.1); border-radius: 7px; overflow: hidden; }
.model-visual { display: flex; align-items: center; justify-content: center; padding: 20px; }
.model-visual i { flex: 1; height: 1px; background: #6982a6; position: relative; }
.model-visual i::after { content: ""; position: absolute; right: -1px; top: -3px; border-left: 5px solid #6982a6; border-top: 3px solid transparent; border-bottom: 3px solid transparent; }
.mini-unit { width: 58px; height: 25px; display: grid; place-items: center; color: #9fb2cb; border: 1px solid #516581; font: 7px/1 var(--font-mono); }
.mini-feed { clip-path: polygon(0 0, 86% 0, 100% 50%, 86% 100%, 0 100%); }
.mini-product { clip-path: polygon(0 0, 86% 0, 100% 50%, 86% 100%, 0 100%); }
.mini-vessel { width: 45px; height: 86px; border: 1px solid #87a0c1; border-radius: 22px 22px 12px 12px; background: linear-gradient(transparent 58%, rgba(79,134,255,.18) 59%); }
.solve-visual { display: flex; align-items: center; justify-content: space-around; padding: 22px 34px; }
.solve-ring { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--home-blue) 0 82%, rgba(83,104,135,.16) 82%); position: relative; box-shadow: 0 0 25px rgba(79,134,255,.15); }
.solve-ring::after { content: ""; position: absolute; inset: 6px; background: #0b1320; border-radius: 50%; }
.solve-ring span { z-index: 1; color: #bdd0f7; font: 9px/1 var(--font-mono); }
.solve-bars { width: 74px; display: flex; align-items: end; gap: 5px; height: 74px; }
.solve-bars i { flex: 1; height: 36%; background: #325eaf; border-radius: 2px 2px 0 0; }
.solve-bars i:nth-child(2) { height: 58%; }
.solve-bars i:nth-child(3) { height: 43%; }
.solve-bars i:nth-child(4) { height: 78%; background: var(--home-orange); }
.solve-bars i:nth-child(5) { height: 94%; }
.inspect-visual { padding: 24px 18px 15px; }
.inspect-visual svg { width: 100%; height: 90px; overflow: visible; }
.inspect-visual path { fill: none; stroke: var(--home-blue-soft); stroke-width: 2; vector-effect: non-scaling-stroke; }
.inspect-visual path.inspect-fill { fill: url(#none); stroke: none; opacity: .1; }
.inspect-visual span { position: absolute; left: 18px; right: 18px; height: 1px; background: rgba(139,165,200,.1); }
.inspect-visual span:nth-of-type(1) { top: 35px; }.inspect-visual span:nth-of-type(2) { top: 74px; }.inspect-visual span:nth-of-type(3) { top: 112px; }

/* Examples */
.examples-section { background: linear-gradient(180deg, #0a101b, #090e18); border-block: 1px solid rgba(139,165,200,.08); }
.examples-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.text-link { color: #d9e4f3; font-size: 12px; font-weight: 700; padding-bottom: 6px; border-bottom: 1px solid #53667f; }
.text-link span { color: var(--home-orange); margin-left: 6px; }
.text-link:hover { color: white; }
.showcase-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 235px 235px; gap: 16px; }
.showcase-card { position: relative; min-width: 0; overflow: hidden; border-radius: 9px; border: 1px solid var(--home-line); background: #0b121e; color: var(--home-ink); transition: transform .25s ease, border-color .25s ease; }
.showcase-card:hover { color: var(--home-ink); transform: translateY(-3px); border-color: rgba(98,143,240,.5); }
.showcase-card-large { grid-row: span 2; }
.showcase-image { width: 100%; height: 100%; background: white; }
.showcase-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.showcase-card:hover .showcase-image img { transform: scale(1.025); }
.showcase-card-large .showcase-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,9,15,.96), rgba(5,9,15,.02) 70%); }
.showcase-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 32px; }
.showcase-overlay span,
.showcase-body span { color: var(--home-orange); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.showcase-overlay h3 { margin: 8px 0 6px; font-size: 25px; }
.showcase-overlay p { max-width: 460px; color: #9ba8ba; font-size: 12px; }
.showcase-overlay b { display: inline-block; margin-top: 16px; font-size: 11px; }
.showcase-overlay i { color: var(--home-orange); font-style: normal; }
.showcase-card:not(.showcase-card-large) { display: grid; grid-template-columns: 1.35fr .65fr; }
.showcase-card:not(.showcase-card-large) .showcase-image { overflow: hidden; }
.showcase-image-chart img { object-fit: cover; object-position: center; }
.showcase-body { display: flex; flex-direction: column; justify-content: center; padding: 22px; }
.showcase-body h3 { margin: 8px 0 20px; font-size: 17px; line-height: 1.2; }
.showcase-body b { color: #77889f; font-size: 10px; margin-top: auto; }
.capability-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 17px; margin-top: 38px; color: #6f8096; font: 10px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.capability-line i { width: 3px; height: 3px; border-radius: 50%; background: var(--home-orange); }

/* Local-first */
.local-section { background: #070b14; overflow: hidden; }
.local-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 90px; }
.local-copy > p { margin-top: 24px; max-width: 530px; color: #8d9caf; font-size: 15px; line-height: 1.75; }
.local-benefits { margin-top: 35px; list-style: none; border-top: 1px solid var(--home-line); }
.local-benefits li { display: grid; grid-template-columns: 33px 1fr; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--home-line); }
.local-benefits li > span { color: var(--home-orange); font: 9px/1.7 var(--font-mono); }
.local-benefits strong { font-size: 13px; }
.local-benefits p { margin-top: 4px; color: #77879b; font-size: 12px; }
.architecture-card { min-height: 505px; position: relative; padding: 28px; border: 1px solid rgba(106,143,205,.25); border-radius: 12px; background: radial-gradient(circle at 50% 38%, rgba(55,105,205,.13), transparent 45%), #0a111d; box-shadow: 0 28px 70px rgba(0,0,0,.38); }
.architecture-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--home-line); }
.architecture-label { color: #7c8da3; font: 10px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; }
.architecture-status { display: flex; align-items: center; gap: 7px; color: #8090a4; font-size: 10px; }
.architecture-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--home-green); box-shadow: 0 0 9px var(--home-green); }
.architecture-browser { padding: 42px 17px 26px; }
.architecture-node { min-width: 0; text-align: center; padding: 17px 12px; border-radius: 7px; border: 1px solid rgba(130,161,210,.25); background: rgba(14,24,39,.94); box-shadow: 0 10px 25px rgba(0,0,0,.22); }
.architecture-node-main { width: 230px; margin: 0 auto; }
.node-icon { width: 34px; height: 34px; display: grid; place-items: center; margin: 0 auto 10px; color: var(--home-blue-soft); border-radius: 7px; background: rgba(79,134,255,.12); }
.node-icon svg { width: 20px; height: 20px; }
.architecture-node span { display: block; color: #c6d2e3; font-size: 11px; font-weight: 700; }
.architecture-node small { display: block; margin-top: 4px; color: #64758c; font-size: 9px; }
.architecture-node b { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 10px; color: var(--home-orange); border-radius: 7px; background: rgba(255,157,77,.08); font: 8px/1 var(--font-mono); }
.architecture-path { width: 1px; height: 50px; margin: 0 auto; position: relative; background: #385783; }
.architecture-path::before { content: ""; position: absolute; left: -177px; right: -177px; bottom: 0; height: 1px; background: #385783; }
.architecture-path span::before,
.architecture-path span::after { content: ""; position: absolute; width: 1px; height: 18px; bottom: -18px; background: #385783; }
.architecture-path span::before { left: -177px; }.architecture-path span::after { left: 177px; }
.architecture-nodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.no-upload { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 26px; color: #798ba2; font-size: 10px; }
.no-upload svg { width: 16px; height: 16px; color: var(--home-green); }

/* Tutorials */
.learn-section { padding-top: 110px; background: linear-gradient(180deg, #090f19, #080d16); border-top: 1px solid rgba(139,165,200,.08); }
.learn-heading { margin-bottom: 48px; }
.home-tutorial-grid { gap: 18px; }
.home-tutorial-card { background: #0c1420; border-color: var(--home-line); border-radius: 9px; box-shadow: none; }
.video-wrap { position: relative; }
.home-tutorial-card video { border-color: var(--home-line); }
.video-duration { position: absolute; right: 12px; bottom: 12px; padding: 4px 7px; border-radius: 4px; color: white; background: rgba(4,8,14,.84); font: 9px/1 var(--font-mono); pointer-events: none; }
.home-tutorial-card .tutorial-body { padding: 24px; }
.home-tutorial-card .tutorial-body h3 { margin: 9px 0 8px; font-size: 19px; }
.home-tutorial-card .tutorial-body p { color: #8493a7; }

/* CTA and footer */
.home-cta { min-height: 530px; display: flex; align-items: center; position: relative; overflow: hidden; text-align: center; background: radial-gradient(circle at 50% 45%, rgba(45,97,202,.2), transparent 38%), #070b14; border-top: 1px solid rgba(139,165,200,.1); }
.cta-grid { opacity: .55; mask-image: radial-gradient(circle at center, black, transparent 68%); }
.home-cta-inner { position: relative; }
.cta-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-family: var(--home-display); font-size: 390px; font-weight: 900; line-height: 1; letter-spacing: -.12em; color: transparent; -webkit-text-stroke: 1px rgba(109,151,235,.055); z-index: -1; white-space: nowrap; }
.home-cta h2 { font-size: clamp(46px, 6.3vw, 80px); }
.home-cta p { max-width: 550px; margin: 23px auto 30px; color: #8e9caf; }
.home-cta .home-hero-actions { justify-content: center; }
.home-footer { background: #060a11; border-color: rgba(139,165,200,.1); padding-top: 58px; }
.home-footer .footer-grid { grid-template-columns: 2fr .7fr 1fr; }
.home-footer .footer-brand p { max-width: 350px; }
.home-footer .nav-logo img { height: 72px; }
.footer-signal { display: flex; align-items: center; gap: 7px; color: #6e7e93; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.footer-signal i { width: 6px; height: 6px; border-radius: 50%; background: var(--home-green); box-shadow: 0 0 8px rgba(87,213,150,.65); }

/* Responsive */
@media (max-width: 1080px) {
  .home-hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .home-hero-copy { max-width: 740px; }
  .product-stage { width: 86%; margin-left: auto; }
  .product-window { width: 100%; }
  .solve-card { right: -4%; }
  .section-intro-split { gap: 55px; }
  .local-layout { gap: 50px; }
  .showcase-card:not(.showcase-card-large) { grid-template-columns: 1fr; }
  .showcase-card:not(.showcase-card-large) .showcase-image { position: absolute; inset: 0; opacity: .23; }
  .showcase-body { position: relative; z-index: 2; }
}

@media (max-width: 820px) {
  .home .home-nav { background: rgba(7,11,20,.96); }
  .home .nav-inner { height: 78px; }
  .home .nav-logo img { height: 62px; }
  .home .nav-hamburger { display: flex; position: relative; z-index: 4; }
  .home .nav-cta { display: none; }
  .home .nav-links { display: none; position: absolute; z-index: 3; top: 78px; left: 0; right: 0; padding: 16px 28px 24px; flex-direction: column; align-items: stretch; gap: 2px; background: rgba(7,11,20,.98); border-bottom: 1px solid var(--home-line); }
  .home .nav-links.is-open { display: flex; }
  .home .nav-links a { display: block; padding: 11px 0; font-size: 14px; }
  .home-hero { padding-top: 122px; }
  .home-hero h1 { font-size: clamp(50px, 11vw, 76px); }
  .product-stage { width: 100%; }
  .stage-orbit { display: none; }
  .engine-card { left: -10px; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .hero-metric { border-bottom: 1px solid var(--home-line); }
  .hero-metric:first-child { padding-left: 28px; }
  .hero-metric:nth-child(2) { border-right: 0; }
  .section-intro-split { grid-template-columns: 1fr; gap: 20px; }
  .platform-bento { grid-template-columns: 1fr; }
  .bento-flowsheet { grid-row: auto; }
  .bento-local { grid-column: auto; }
  .workflow-steps { grid-template-columns: 1fr; }
  .workflow-step { border-right: 0; border-bottom: 1px solid var(--home-line); }
  .workflow-step:last-child { border-bottom: 0; }
  .showcase-grid { grid-template-columns: 1fr; grid-template-rows: 420px 220px 220px; }
  .showcase-card-large { grid-row: auto; }
  .local-layout { grid-template-columns: 1fr; }
  .home-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .home-footer .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .home .container { padding-inline: 20px; }
  .home-hero { padding-top: 110px; }
  .home-hero h1 { font-size: 48px; }
  .home-hero-sub { font-size: 15px; }
  .home-hero-actions .btn { width: 100%; justify-content: center; }
  .hero-proof { gap: 12px; }
  .product-stage { padding-top: 62px; padding-bottom: 72px; }
  .product-window { transform: none; }
  .product-window-bar { height: 34px; }
  .engine-card { top: 18px; left: 0; }
  .solve-card { right: 0; bottom: 25px; }
  .stage-card small { display: none; }
  .hero-metric { min-height: 90px; padding: 15px; }
  .hero-metric:first-child { padding-left: 15px; }
  .hero-metric strong { font-size: 23px; }
  .hero-metric span { font-size: 9px; }
  .home-section { padding: 82px 0; }
  .section-intro h2,
  .examples-heading h2,
  .local-copy h2 { font-size: 38px; }
  .platform-bento { gap: 12px; }
  .bento-flowsheet { min-height: 430px; padding: 24px; }
  .bento-image { left: 20px; right: 20px; height: 245px; }
  .bento-chip { display: none; }
  .bento-thermo,
  .bento-depth { padding: 24px; }
  .bento-local { grid-template-columns: 1fr; gap: 25px; padding: 28px 24px; }
  .local-mark { width: 92px; height: 92px; }
  .local-mark svg { width: 48px; height: 48px; }
  .workflow-step { padding: 22px; }
  .examples-heading { align-items: flex-start; flex-direction: column; }
  .showcase-grid { grid-template-rows: 380px 190px 190px; }
  .showcase-overlay { padding: 22px; }
  .capability-line i { display: none; }
  .capability-line { align-items: flex-start; flex-direction: column; }
  .architecture-card { padding: 18px; min-height: 465px; }
  .architecture-browser { padding-inline: 0; }
  .architecture-node-main { width: 195px; }
  .architecture-path::before { left: -112px; right: -112px; }
  .architecture-path span::before { left: -112px; }.architecture-path span::after { left: 112px; }
  .architecture-nodes { gap: 7px; }
  .architecture-node { padding: 13px 6px; }
  .architecture-node span { font-size: 9px; }
  .architecture-node small { font-size: 7px; }
  .home-tutorial-grid { grid-template-columns: 1fr; }
  .home-cta { min-height: 520px; }
  .home-cta h2 { font-size: 49px; }
  .cta-mark { font-size: 230px; }
  .home-footer .footer-grid { grid-template-columns: 1fr; }
  .home-footer .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .stage-orbit-two,
  .stage-card,
  .engine-pulse i { animation: none; }
  .home * { scroll-behavior: auto !important; }
}
