/* ComputePackage.com — solder-mask green, copper traces, photonic cyan */
:root {
  --mask: #0d3b2c;
  --mask-deep: #08271d;
  --mask-mid: #14513c;
  --silicon: #e6e9e3;
  --paper: #f3f5f0;
  --ink: #0f1f19;
  --muted: #465850;
  --copper: #c9733b;
  --copper-soft: #e2a273;
  --copper-ink: #964a18;
  --gold: #d8b45c;
  --photon: #52d9d2;
  --line-light: rgba(15, 31, 25, .18);
  --line-dark: rgba(230, 233, 227, .2);
  --text-dark: rgba(230, 233, 227, .78);
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: min(1180px, 100% - 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
a { color: inherit; }
section[id] { scroll-margin-top: 72px; }

:focus-visible { outline: 3px solid var(--photon); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--silicon); color: var(--ink); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

.wrap { width: var(--wrap); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 39, 29, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--silicon);
}
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--display); font-size: 1.28rem; letter-spacing: -.02em; }
.wordmark .mark { width: 28px; height: 28px; color: var(--silicon); flex: none; }
.wordmark b { font-weight: 700; }
.wordmark i { font-style: normal; font-weight: 400; color: var(--text-dark); }
.wordmark em { font-style: normal; font-weight: 400; color: var(--copper-soft); }
.nav { display: flex; align-items: center; gap: 1.3rem; }
.nav a { text-decoration: none; font-size: .93rem; color: var(--text-dark); padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; border-bottom-color: var(--copper); }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--copper); }
.nav a.nav-cta { color: var(--mask-deep); background: var(--copper); padding: .5rem 1rem; border-radius: 2px; border-bottom: 0; font-weight: 600; }
.nav a.nav-cta:hover { background: var(--copper-soft); color: var(--mask-deep); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--silicon); padding: .45rem .8rem; border-radius: 2px; font: inherit; font-size: .92rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; padding: .85rem 1.5rem; border-radius: 2px; border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-primary { background: var(--copper); color: var(--mask-deep); }
.btn-primary:hover { background: var(--copper-soft); }
.btn-ghost { border-color: var(--line-dark); color: var(--silicon); }
.btn-ghost:hover { border-color: var(--silicon); }
.btn-dark { background: var(--mask); color: var(--silicon); }
.btn-dark:hover { background: var(--mask-mid); }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(4rem, 8vw, 7rem); }
.sec--dark { background: var(--mask); color: var(--silicon); }
.sec--deep { background: var(--mask-deep); color: var(--silicon); }
.sec--silicon { background: var(--silicon); }
.sec--dark .lede, .sec--deep .lede { color: var(--text-dark); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.sec-head h2 { margin-bottom: 1rem; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 40rem; }

/* ---------- Hero ---------- */
.hero {
  background-color: var(--mask-deep);
  background-image:
    linear-gradient(rgba(230, 233, 227, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 233, 227, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--silicon);
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 5fr 7fr; gap: 3.5rem; } }
.hero h1 { margin-bottom: 1.4rem; font-size: clamp(2.2rem, 3.9vw, 3.6rem); }
.hero .lede { color: var(--text-dark); margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.fineprint { font-size: .88rem; color: var(--text-dark); max-width: 34rem; margin: 0; }

.figure { border: 1px solid var(--line-dark); background: rgba(8, 39, 29, .85); padding: 1rem 1rem 1.1rem; }
.pkg { display: block; width: 100%; height: auto; }
.pkg .layer { transition: opacity .25s ease; cursor: pointer; }
.pkg.has-active .layer { opacity: .2; }
.pkg.has-active .layer.on { opacity: 1; }
.pkg text { font-family: var(--body); font-size: 11px; }
.pkg .cold { fill: #b9c6bf; }
.pkg .coolant { fill: none; stroke: var(--photon); stroke-width: 2.4; stroke-dasharray: 6 8; animation: flow 1.6s linear infinite; }
.pkg .lid { fill: #c98a5a; }
.pkg .tim { fill: #8fa197; }
.pkg .die { fill: #e6e9e3; }
.pkg .die-top { fill: #cbd6cf; }
.pkg .bond { fill: var(--gold); }
.pkg .hbm-base { fill: #86a293; }
.pkg .dram { fill: #b3c9be; }
.pkg .pic { fill: var(--photon); }
.pkg .eic { fill: #1f8a84; }
.pkg .fibre { stroke: var(--photon); stroke-width: 3; stroke-dasharray: 5 6; animation: flow 1.2s linear infinite; }
.pkg .interposer { fill: #7f958b; }
.pkg .trace { stroke: var(--copper-soft); stroke-width: 1.2; opacity: .85; }
.pkg .pulse { fill: var(--gold); }
.pkg .pulse-p { fill: #fff; }
.pkg .substrate { fill: var(--mask-mid); stroke: #2c7a5f; }
.pkg .sub-line { stroke: var(--copper); stroke-width: 1.4; opacity: .55; }
.pkg .board { fill: #04140e; stroke: #1c3b2f; }
.pkg .power { stroke: var(--gold); stroke-width: 2.6; stroke-dasharray: 5 6; animation: flow-up 1.3s linear infinite; }
.pkg .lbl-dark { fill: #08271d; }
.pkg .lbl-lid { fill: #3f230e; }
@keyframes flow { to { stroke-dashoffset: -28; } }
@keyframes flow-up { to { stroke-dashoffset: 22; } }

.layer-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 .8rem; padding: 0; list-style: none; }
.layer-chips button { font: inherit; font-size: .86rem; padding: .35rem .75rem; background: transparent; color: var(--silicon); border: 1px solid var(--line-dark); border-radius: 2px; cursor: pointer; }
.layer-chips button:hover { border-color: var(--silicon); }
.layer-chips button[aria-pressed="true"] { background: var(--silicon); color: var(--mask-deep); border-color: var(--silicon); }
.layer-caption { margin: 0; min-height: 5.2em; font-size: .97rem; color: var(--text-dark); line-height: 1.55; }
.layer-caption strong { color: #fff; }

/* ---------- The shift ---------- */
.shift { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .shift { grid-template-columns: 4fr 6fr; } }
.shift-then, .shift-now { padding: 1.8rem; }
.shift-then { border: 1px solid var(--line-light); background: var(--paper); }
.shift-now { background: var(--mask); color: var(--silicon); }
.shift h3 { margin-bottom: 1.2rem; }
.chain { display: grid; gap: 0; margin-bottom: 1.2rem; }
.chain span { border: 1px solid var(--ink); padding: .7rem 1rem; font-family: var(--display); font-weight: 600; background: #fff; }
.chain span + span { margin-top: 1.4rem; position: relative; }
.chain span + span::before { content: ""; position: absolute; left: 1.4rem; top: -1.4rem; width: 2px; height: 1.4rem; background: var(--ink); }
.inputs { list-style: none; margin: 0 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; }
.inputs li { border-left: 3px solid var(--copper); background: rgba(230, 233, 227, .08); padding: .55rem .8rem; font-size: .96rem; }
.merge { margin: 1.4rem 0 1.2rem; position: relative; background: var(--copper); color: var(--mask-deep); font-family: var(--display); font-weight: 700; font-size: 1.15rem; padding: .95rem 1.1rem; }
.merge::before { content: ""; position: absolute; left: 1.4rem; top: -1.4rem; width: 2px; height: 1.4rem; background: var(--copper); }
.shift-now p { color: var(--text-dark); margin-bottom: 0; }
.vocab { margin-top: 2.2rem; max-width: 52rem; font-size: 1.12rem; }

/* ---------- Signals ---------- */
.signals { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 2px solid var(--ink); }
@media (min-width: 760px) { .signals { grid-template-columns: 1fr 1fr; } }
.signal { padding: 1.7rem 1.5rem 1.7rem 0; border-bottom: 1px solid var(--line-light); }
@media (min-width: 760px) { .signal:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line-light); } }
.signal .fig { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.02em; line-height: 1.1; color: var(--mask); }
.signal p { margin: .5rem 0 .4rem; max-width: 30rem; }
.signal small { color: var(--muted); font-size: .86rem; }
.note { font-size: .88rem; color: var(--muted); margin-top: 1.4rem; max-width: 46rem; }

/* ---------- Frontiers ---------- */
.frontiers { display: grid; gap: 2.4rem 2rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.front { position: relative; border-top: 1px solid var(--line-dark); padding-top: 1.3rem; }
.front::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--copper); }
.front h3 { color: #fff; margin-bottom: .6rem; }
.front p { color: var(--text-dark); margin-bottom: .6rem; font-size: 1rem; }
.front .kw { font-size: .88rem; color: var(--copper-soft); margin: 0; }

/* ---------- Inference ---------- */
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.points { margin: 1.6rem 0 0; padding: 0; list-style: none; }
.points li { padding: 1rem 0; border-top: 1px solid var(--line-light); }
.points li:last-child { border-bottom: 1px solid var(--line-light); }
.points strong { font-family: var(--display); font-size: 1.1rem; display: block; margin-bottom: .15rem; }
.chart { border: 1px solid var(--ink); background: #fff; padding: 1.4rem; }
.chart h3 { font-size: 1.1rem; margin-bottom: 1.2rem; }
.bars { display: grid; gap: 1.3rem; }
.bar-row .lab { display: flex; justify-content: space-between; font-size: .95rem; margin-bottom: .35rem; gap: 1rem; }
.bar-row .lab b { font-weight: 600; }
.bar-track { height: 22px; background: rgba(15, 31, 25, .07); }
.bar-fill { height: 100%; width: var(--w); transform-origin: left; transform: scaleX(0); transition: transform 1.3s cubic-bezier(.2, .7, .2, 1); }
.chart.in .bar-fill { transform: scaleX(1); }
.bar-fill.pkg-bar { background: var(--mask); }
.bar-fill.net-bar { background: var(--copper); }
.chart figcaption { margin-top: 1.3rem; font-size: .86rem; color: var(--muted); }
.pull { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; letter-spacing: -.015em; margin: 2rem 0 0; max-width: 34rem; }

/* ---------- Physical AI ---------- */
.pipeline { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 2rem 0 0; padding: 0; list-style: none; }
.pipeline li { background: #fff; border: 1px solid var(--line-light); border-top: 4px solid var(--mask); padding: .9rem 1rem 1rem; }
.pipeline strong { display: block; font-family: var(--display); font-size: 1.05rem; }
.pipeline span { font-size: .92rem; color: var(--muted); }
.envelope { margin-top: 1rem; border: 2px solid var(--copper); padding: .8rem 1.1rem; font-family: var(--display); font-weight: 600; }
.two-col { display: grid; gap: 2rem; margin-top: 2.6rem; }
@media (min-width: 800px) { .two-col { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.two-col h3 { margin-bottom: .6rem; }

/* ---------- Roadmap ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 2px solid var(--silicon); margin-bottom: 1.6rem; }
.tabs button { font: inherit; font-size: .95rem; padding: .8rem 1.1rem; background: none; color: var(--text-dark); border: 0; border-bottom: 4px solid transparent; margin-bottom: -2px; cursor: pointer; }
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { color: #fff; border-bottom-color: var(--copper); font-weight: 600; }
.tab-panel h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .7rem; }
.tab-panel p { max-width: 42rem; color: var(--text-dark); font-size: 1.1rem; }
.tab-panel[hidden] { display: none; }

/* ---------- Industry ---------- */
.groups { display: grid; gap: 1.8rem 2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.group h3 { font-size: 1.05rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ink); margin-bottom: .7rem; }
.group p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.7; }
.disclaimer { margin-top: 2.4rem; border: 1px solid var(--ink); background: #fff; padding: 1.2rem 1.4rem; max-width: 56rem; font-size: .96rem; }
.disclaimer strong { font-family: var(--display); }

/* ---------- Name ---------- */
.name-big { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 9vw, 7.2rem); line-height: .95; letter-spacing: -.035em; margin: 0 0 2.2rem; }
.name-big span { display: block; }
.name-big span:last-child { color: var(--copper-soft); padding-left: clamp(1rem, 6vw, 5rem); }
.name-big small { font-size: .32em; font-weight: 500; letter-spacing: 0; color: var(--text-dark); margin-left: .3em; }
.reasons { display: grid; gap: 0 3rem; grid-template-columns: 1fr; margin: 0 0 2.5rem; padding: 0; list-style: none; }
@media (min-width: 800px) { .reasons { grid-template-columns: 1fr 1fr; } }
.reasons li { padding: 1.1rem 0; border-top: 1px solid var(--line-dark); }
.reasons strong { display: block; font-family: var(--display); font-size: 1.12rem; color: #fff; margin-bottom: .2rem; }
.reasons span { color: var(--text-dark); font-size: 1rem; }
.owner-list { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.owner-list li { border: 1px solid var(--line-dark); padding: .4rem .8rem; font-size: .95rem; }

/* ---------- CTA ---------- */
.cta { background: var(--copper); color: var(--mask-deep); padding-block: clamp(3.5rem, 7vw, 6rem); }
.cta h2 { max-width: 40rem; margin-bottom: 1rem; }
.cta p { max-width: 38rem; font-size: 1.15rem; }
.cta .btn { background: var(--mask-deep); color: var(--silicon); margin-top: .6rem; }
.cta .btn:hover { background: var(--mask); }

/* ---------- Footer ---------- */
.site-footer { background: var(--mask-deep); color: var(--text-dark); padding-block: 3rem 2.2rem; font-size: .92rem; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.2fr 1fr; } }
.site-footer .wordmark { color: var(--silicon); margin-bottom: .8rem; }
.site-footer p { margin: 0 0 .7rem; max-width: 40rem; }
.site-footer a { color: var(--copper-soft); }
.legal { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-dark); font-size: .82rem; }

/* ---------- Acquire page ---------- */
.page-hero { background: var(--mask-deep); color: var(--silicon); padding-block: clamp(3rem, 6vw, 5rem); background-image: linear-gradient(rgba(230,233,227,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(230,233,227,.045) 1px, transparent 1px); background-size: 48px 48px; }
.page-hero h1 { margin-bottom: 1.2rem; max-width: 46rem; }
.page-hero .lede { color: var(--text-dark); }
.acq-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .acq-grid { grid-template-columns: 5fr 6fr; gap: 4.5rem; align-items: start; } }
.acq-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: .9rem; }
.acq-copy > * + h2 { margin-top: 2.4rem; }
.check { list-style: none; padding: 0; margin: 0; }
.check li { padding: .55rem 0 .55rem 1.6rem; position: relative; border-bottom: 1px solid var(--line-light); }
.check li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 9px; height: 9px; background: var(--copper); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.4rem 1fr; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line-light); }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--copper-ink); }
.steps strong { display: block; font-family: var(--display); }
.form-card { background: #fff; border: 1px solid var(--ink); padding: clamp(1.4rem, 3vw, 2.2rem); position: sticky; top: 88px; }
.form-card h2 { font-size: 1.6rem; margin-bottom: .4rem; }
.form-card > p { color: var(--muted); font-size: .96rem; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .7rem .8rem; border: 1px solid #6c7d75; border-radius: 2px; background: var(--paper); color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--photon); outline-offset: 1px; border-color: var(--mask); }
.row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .row { grid-template-columns: 1fr 1fr; } }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-left: 4px solid var(--mask); background: var(--silicon); font-size: .98rem; }
.form-status[hidden] { display: none; }
.form-status.err { border-left-color: #a3271b; background: #f8e6e3; }
.privacy-note { font-size: .84rem; color: var(--muted); margin: 1rem 0 0; }
.faq details { border-bottom: 1px solid var(--line-light); padding: 1rem 0; }
.faq details:first-of-type { border-top: 2px solid var(--ink); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.12rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--copper-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: .7rem 0 0; color: var(--muted); max-width: 46rem; }

/* ---------- Responsive nav ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 64px; background: var(--mask-deep); border-bottom: 1px solid var(--line-dark); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.2rem; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line-dark); }
  .nav a.nav-cta { margin-top: .8rem; text-align: center; border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pkg .coolant, .pkg .fibre, .pkg .power { animation: none; }
  .bar-fill { transition: none; transform: scaleX(1); }
  .pkg .layer { transition: none; }
}

/* Grid children may shrink on small screens */
.hero-grid > *, .acq-grid > *, .split > *, .shift > *, .row > * { min-width: 0; }
.field input, .field select, .field textarea { max-width: 100%; }
h1, h2 { overflow-wrap: break-word; }
.page-hero h1 { font-size: clamp(1.9rem, 5vw, 3.6rem); }
