:root {
  --bg: #071018;
  --bg-soft: #0d1822;
  --panel: #111f2b;
  --text: #eef4f8;
  --muted: #9fb0bc;
  --line: rgba(255,255,255,.12);
  --accent: #76c8ff;
  --accent-2: #9ae6d8;
  --max: 1180px;
  --light-bg: #f4f7f9;
  --light-text: #08131d;
  --light-muted: #42515d;
  --light-line: rgba(8,19,29,.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.narrow { max-width: 920px; }
.section { padding: 120px 0; }
.section-soft { background: var(--bg-soft); }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: white; color: black; padding: 10px 14px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(7,16,24,.78); backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 12px; align-items: center; font-weight: 750; letter-spacing: .12em; font-size: .86rem; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; font-weight: 800; color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: .92rem; color: #c7d3db; }
.site-nav a:hover { color: white; }
.nav-cta { border: 1px solid var(--line); padding: 10px 15px; border-radius: 999px; }
.menu-toggle { display:none; background:none; border:0; width:40px; height:40px; }
.menu-toggle span { display:block; width:22px; height:1px; margin:6px auto; background:white; }

.hero { min-height: 920px; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 100px; }
.hero-grid { position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size:72px 72px; mask-image: linear-gradient(to bottom,black,transparent 86%); }
.hero-glow { position:absolute; border-radius:999px; filter:blur(90px); opacity:.2; }
.hero-glow-a { width:440px; height:440px; background:#1270aa; right:7%; top:16%; }
.hero-glow-b { width:300px; height:300px; background:#1f8f7a; left:20%; bottom:5%; }
.hero-layout { display:grid; grid-template-columns: 1.08fr .92fr; align-items:center; gap:80px; position:relative; }
.eyebrow { color: var(--accent); letter-spacing:.18em; font-size:.76rem; font-weight:750; margin:0 0 24px; }
.hero h1 { font-size: clamp(3.2rem, 7vw, 6.7rem); line-height:.96; letter-spacing:-.055em; margin:0 0 36px; max-width:850px; }
.hero-label { margin: 0 0 4px; color: var(--muted); font-size:.76rem; letter-spacing:.16em; font-weight:700; }
.semstrate-wordmark { display:inline-block; font-size:clamp(2.1rem,4vw,4.2rem); line-height:1; font-weight:700; letter-spacing:-.04em; margin-bottom:20px; background: linear-gradient(90deg,var(--accent),var(--accent-2)); color:transparent; background-clip:text; }
.semstrate-wordmark sup { font-size:.34em; line-height:0; vertical-align:super; margin-left:.08em; letter-spacing:0; }
.hero-lede { color:#b8c5ce; font-size:1.18rem; max-width:620px; margin:0 0 34px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:12px; padding:14px 20px; border-radius:999px; font-weight:700; font-size:.92rem; transition:.2s ease; }
.button-primary { background:white; color:#08111a; }
.button-primary:hover { transform: translateY(-2px); }
.button-ghost { border:1px solid var(--line); color:#dce6ec; }
.button-ghost:hover { background:rgba(255,255,255,.05); }
.button-large { padding:16px 22px; }

.hero-visual { min-height:550px; display:grid; place-items:center; perspective:1200px; }
.substrate-stack { width:420px; height:420px; position:relative; transform: rotateX(58deg) rotateZ(-34deg); transform-style:preserve-3d; }
.substrate-layer { position:absolute; inset:0; border:1px solid rgba(118,200,255,.35); background:linear-gradient(135deg,rgba(118,200,255,.09),rgba(154,230,216,.025)); box-shadow:0 30px 70px rgba(0,0,0,.22); display:flex; align-items:flex-end; padding:18px; color:rgba(226,243,251,.5); font-size:.64rem; letter-spacing:.16em; }
.layer-1 { transform:translateZ(120px); }
.layer-2 { transform:translateZ(90px); }
.layer-3 { transform:translateZ(60px); }
.layer-4 { transform:translateZ(30px); }
.layer-5 { transform:translateZ(0); }
.substrate-core { position:absolute; width:110px; height:110px; left:155px; top:155px; display:grid; place-items:center; transform:translateZ(150px); background:#0c1d2a; border:1px solid var(--accent); box-shadow:0 0 50px rgba(118,200,255,.25); font-size:3rem; font-weight:800; color:var(--accent); }

.section-heading h2, .semstrate h2, .company h2, .contact h2 { font-size:clamp(2.3rem,5vw,4.8rem); line-height:1.04; letter-spacing:-.045em; margin:0; }
.statement { font-size:clamp(1.35rem,2.3vw,2.1rem); line-height:1.48; color:#c9d5dd; margin:42px 0 0; }
.semstrate {
  background: var(--light-bg);
  color: var(--light-text);
}
.semstrate .eyebrow { color: #1676aa; }
.semstrate .statement { color: var(--light-muted); }
.semstrate .flow-item {
  border-color: var(--light-line);
  background: rgba(255,255,255,.74);
  color: var(--light-text);
  box-shadow: 0 12px 28px rgba(8,19,29,.05);
}
.semstrate .flow-arrow { color: #71818c; }
.eyebrow sup { font-size:.62em; line-height:0; vertical-align:super; margin-left:.08em; }
.research-status {
  display:inline-flex; align-items:center; gap:10px; margin-top:34px;
  padding:10px 14px; border:1px solid var(--light-line); border-radius:999px;
  color:var(--light-muted); background:rgba(255,255,255,.58); font-size:.84rem;
}
.status-dot { width:8px; height:8px; border-radius:50%; background:#168b73; box-shadow:0 0 0 5px rgba(22,139,115,.11); }
.programs-block { margin-top:34px; }
.programs-label { margin:0 0 12px !important; color:var(--accent) !important; font-size:.72rem !important; letter-spacing:.15em; font-weight:750; }
.footer-meta sup { font-size:.62em; vertical-align:super; }

.flow-wrap { margin-top:80px; display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.flow-item { border:1px solid var(--line); background:rgba(255,255,255,.025); padding:16px 18px; border-radius:10px; font-size:.9rem; color:#d7e1e7; }
.flow-arrow { color:#55707f; }

.research-grid { margin-top:64px; display:grid; grid-template-columns:repeat(2,1fr); border-top:1px solid var(--line); border-left:1px solid var(--line); }
.research-card { min-height:260px; padding:34px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.research-number { color:var(--accent); font-size:.75rem; letter-spacing:.14em; }
.research-card h3 { font-size:1.5rem; line-height:1.18; margin:52px 0 16px; }
.research-card p { color:var(--muted); margin:0; max-width:450px; }

.company-layout { display:grid; grid-template-columns:1fr 1fr; gap:100px; align-items:start; }
.company-copy p { font-size:1.24rem; color:#c6d2da; margin:0; }
.company-tags { display:flex; flex-wrap:wrap; gap:10px; margin-top:32px; }
.company-tags span { border:1px solid var(--line); border-radius:999px; padding:9px 13px; font-size:.79rem; color:#aebec8; }

.contact-panel { display:flex; align-items:end; justify-content:space-between; gap:60px; border-top:1px solid var(--line); padding-top:68px; }
.contact-panel h2 { max-width:780px; font-size:clamp(2rem,4vw,4rem); }
.site-footer { border-top:1px solid var(--line); padding:38px 0 44px; }
.footer-row { display:flex; justify-content:space-between; gap:30px; align-items:end; }
.footer-brand { margin-bottom:12px; }
.site-footer p, .footer-meta { color:#8295a2; font-size:.84rem; }
.footer-meta { display:flex; gap:28px; }

.reveal { opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity:1; transform:none; }
.delay-1 { transition-delay:.1s; }.delay-2 { transition-delay:.2s; }.delay-3 { transition-delay:.3s; }

@media (max-width: 900px) {
  .hero { min-height:auto; padding:150px 0 100px; }
  .hero-layout, .company-layout { grid-template-columns:1fr; }
  .hero-visual { min-height:420px; }
  .substrate-stack { width:310px; height:310px; }
  .substrate-core { width:86px;height:86px;left:112px;top:112px; }
  .research-grid { grid-template-columns:1fr; }
  .contact-panel, .footer-row { align-items:flex-start; flex-direction:column; }
  .site-nav { position:fixed; inset:78px 0 auto 0; padding:26px 20px 32px; background:#071018; border-bottom:1px solid var(--line); display:none; flex-direction:column; align-items:flex-start; }
  .site-nav.is-open { display:flex; }
  .menu-toggle { display:block; }
}

@media (max-width: 620px) {
  .container { width:min(calc(100% - 28px), var(--max)); }
  .section { padding:88px 0; }
  .hero h1 { font-size:3.35rem; }
  .flow-wrap { align-items:stretch; flex-direction:column; }
  .flow-arrow { transform:rotate(90deg); align-self:center; }
  .research-card { min-height:auto; }
  .footer-meta { flex-direction:column; gap:6px; }
}

/* Semstrate product page */
.product-hero { min-height: 860px; display:flex; align-items:center; position:relative; overflow:hidden; padding:140px 0 90px; }
.product-hero-layout { position:relative; display:grid; grid-template-columns:1.15fr .85fr; gap:90px; align-items:center; }
.product-hero h1 { margin:0; font-size:clamp(5rem,12vw,10.5rem); line-height:.82; letter-spacing:-.075em; background:linear-gradient(90deg,var(--text),var(--accent)); color:transparent; background-clip:text; }
.product-hero h1 sup { font-size:.18em; vertical-align:top; margin-left:.06em; letter-spacing:0; }
.product-kicker { max-width:820px; margin:36px 0 14px; font-size:clamp(1.8rem,3.2vw,3.3rem); line-height:1.08; letter-spacing:-.035em; }
.product-lede { color:var(--muted); font-size:1.2rem; margin:0 0 36px; }
.product-symbol { width:420px; height:420px; position:relative; display:grid; place-items:center; justify-self:end; }
.symbol-ring { position:absolute; border:1px solid rgba(118,200,255,.36); transform:rotate(45deg); background:rgba(118,200,255,.018); }
.ring-a { width:390px; height:390px; }
.ring-b { width:285px; height:285px; border-color:rgba(154,230,216,.45); }
.ring-c { width:180px; height:180px; }
.symbol-core { width:96px; height:96px; display:grid; place-items:center; position:relative; z-index:2; border:1px solid var(--accent); background:#0b1b27; box-shadow:0 0 70px rgba(118,200,255,.24); font-size:3.5rem; font-weight:800; color:var(--accent); }
.product-intro { background:var(--light-bg); color:var(--light-text); }
.product-intro .eyebrow { color:#1676aa; }
.product-intro-grid, .positioning-grid { display:grid; grid-template-columns:1fr 1fr; gap:100px; }
.product-intro h2, .positioning h2 { font-size:clamp(2.6rem,5vw,5rem); line-height:1.02; letter-spacing:-.05em; margin:0; }
.product-intro-copy > p, .positioning-copy > p { margin:0; font-size:1.35rem; line-height:1.65; color:var(--light-muted); }
.product-status { margin-top:34px; }
.product-flow { display:grid; grid-template-columns:repeat(5,1fr); margin-top:90px; border-top:1px solid var(--light-line); border-left:1px solid var(--light-line); }
.product-flow article { padding:30px 24px 34px; min-height:285px; border-right:1px solid var(--light-line); border-bottom:1px solid var(--light-line); background:rgba(255,255,255,.46); }
.product-flow article span, .principle-card > span { font-size:.7rem; letter-spacing:.16em; font-weight:750; color:#1676aa; }
.product-flow h3 { margin:62px 0 14px; font-size:1.25rem; }
.product-flow p { margin:0; color:var(--light-muted); font-size:.92rem; }
.principles-grid { display:grid; grid-template-columns:repeat(2,1fr); margin-top:64px; border-top:1px solid var(--line); border-left:1px solid var(--line); }
.principle-card { min-height:300px; padding:36px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.principle-card > span { color:var(--accent); }
.principle-card h3 { margin:68px 0 16px; font-size:1.65rem; }
.principle-card p { margin:0; color:var(--muted); max-width:500px; }
.positioning { background:#eef3f6; color:var(--light-text); }
.positioning .eyebrow { color:#1676aa; }
.tool-chain { margin-top:42px; padding:22px; display:flex; gap:14px; align-items:center; flex-wrap:wrap; border:1px solid var(--light-line); background:rgba(255,255,255,.55); border-radius:12px; font-size:.85rem; color:#556570; }
.tool-chain strong { color:#0c6d9e; }
.tool-chain b { color:#91a0aa; }
.site-nav a[aria-current="page"] { color:white; }

@media (max-width: 900px) {
  .product-hero-layout, .product-intro-grid, .positioning-grid { grid-template-columns:1fr; gap:60px; }
  .product-symbol { justify-self:center; width:330px; height:330px; }
  .ring-a { width:310px; height:310px; }.ring-b { width:225px; height:225px; }.ring-c { width:145px; height:145px; }
  .product-flow { grid-template-columns:1fr; }
  .product-flow article { min-height:auto; }
  .product-flow h3 { margin-top:30px; }
}
@media (max-width: 620px) {
  .product-hero { min-height:auto; padding-top:145px; }
  .product-hero h1 { font-size:4.5rem; }
  .principles-grid { grid-template-columns:1fr; }
  .product-symbol { width:280px; height:280px; }
  .ring-a { width:260px; height:260px; }.ring-b { width:190px; height:190px; }.ring-c { width:122px; height:122px; }
}
