:root {
  --ink: #e9f1f1;
  --muted: #9aabaa;
  --dim: #687675;
  --bg: #090e0f;
  --surface: #101718;
  --surface-2: #151e1f;
  --line: #263233;
  --accent: #78e6d0;
  --accent-deep: #0f8878;
  --warning: #f1c36c;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  padding: .7rem 1rem;
  color: var(--bg);
  background: var(--accent);
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: auto;
  padding: 28px 24px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--accent); color: var(--accent); font: 700 13px/1 monospace; letter-spacing: .08em; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 14px; letter-spacing: .02em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font: 500 10px/1 monospace; text-transform: uppercase; letter-spacing: .12em; }
.header-link { color: var(--muted); font: 600 11px/1 monospace; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.header-link:hover { color: var(--accent); }

.section { position: relative; padding: 112px 24px; border-bottom: 1px solid var(--line); overflow: hidden; }
.section-inner { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; }
.hero { min-height: 820px; display: grid; align-items: center; padding-top: 140px; background: radial-gradient(circle at 83% 35%, rgba(40, 116, 105, .2), transparent 30%), var(--bg); }
.hero-grid, .final-grid { position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent 88%); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(300px, .62fr); gap: clamp(48px, 8vw, 110px); align-items: center; }
.eyebrow, .section-number { margin: 0 0 22px; color: var(--accent); font: 600 11px/1.3 monospace; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 30px; height: 1px; background: var(--accent); }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2 { margin: 0; font-weight: 480; line-height: 1.06; letter-spacing: -.045em; }
h1 { max-width: 820px; font-size: clamp(3rem, 6vw, 5.75rem); }
h1 em { color: var(--accent); font-style: normal; }
h2 { font-size: clamp(2.3rem, 4.3vw, 4.35rem); }
h3 { line-height: 1.22; }
.lead { max-width: 700px; margin: 30px 0 36px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-width: 325px; padding: 18px 20px; border: 1px solid var(--accent); color: var(--bg); background: var(--accent); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.button:hover { color: var(--accent); background: transparent; transform: translateY(-2px); }
.button:focus-visible, .header-link:focus-visible, .brand:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.system-card { padding: 18px; border: 1px solid var(--line); background: rgba(16, 23, 24, .85); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.system-card-head { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--dim); font: 600 10px/1 monospace; letter-spacing: .1em; text-transform: uppercase; }
.status { color: var(--accent); }
.status i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.system-core { position: relative; display: grid; height: 285px; place-items: center; overflow: hidden; }
.system-core::before, .system-core::after { content: ""; position: absolute; background: var(--line); }
.system-core::before { width: 100%; height: 1px; }
.system-core::after { width: 1px; height: 100%; }
.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.orbit-one { width: 210px; height: 210px; }
.orbit-two { width: 145px; height: 145px; border-style: dashed; animation: spin 18s linear infinite; }
.orbit-two::after { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 15px var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
.core-label { z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 28px; border-radius: 50%; background: var(--surface); }
.core-label strong { color: var(--accent); font-size: 42px; line-height: 1; }
.core-label small { margin-top: 8px; color: var(--dim); font: 500 9px/1 monospace; text-transform: uppercase; letter-spacing: .09em; }
.system-stats { margin: 0; border-top: 1px solid var(--line); }
.system-stats div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.system-stats div:last-child { border: 0; padding-bottom: 0; }
.system-stats dt { color: var(--dim); font: 500 10px/1.3 monospace; text-transform: uppercase; }
.system-stats dd { margin: 0; color: var(--ink); font: 600 11px/1.3 monospace; text-transform: uppercase; }

.split-layout { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: clamp(50px, 9vw, 140px); }
.section-intro { align-self: start; }
.section-summary { margin: 28px 0 0; color: var(--muted); font-size: 1.08rem; }
.problem { background: var(--surface); }
.issue-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.issue-list li { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.issue-list span { padding-top: 4px; color: var(--accent); font: 600 10px/1 monospace; }
.issue-list p { margin: 0; font-size: 1.06rem; }
.callout { margin: 32px 0 0; padding-left: 22px; border-left: 2px solid var(--accent); color: var(--ink); font-size: 1.22rem; }

.proof { background: linear-gradient(135deg, var(--bg), #0d1415); }
.narrow-heading { max-width: 820px; }
.bridge { margin: 40px 0 16px; color: var(--ink); font-weight: 600; }
.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.evidence-card { position: relative; min-height: 330px; padding: 34px; border: 1px solid var(--line); background: var(--surface); }
.card-index { display: block; margin-bottom: 60px; color: var(--accent); font: 600 10px/1 monospace; letter-spacing: .1em; }
.evidence-card h3 { max-width: 500px; margin: 0 0 18px; font-size: 1.55rem; }
.evidence-card p { margin: 0; color: var(--muted); }
.software-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 24px 0 0; padding: 0; list-style: none; }
.software-list li { padding: 6px 9px; border: 1px solid var(--line); color: var(--accent); font: 600 10px/1 monospace; }
.placeholder { display: grid; grid-template-columns: 130px 1fr; gap: 20px; margin-top: 22px; padding: 18px; border: 1px dashed rgba(241, 195, 108, .5); color: #c7b995; background: rgba(241, 195, 108, .04); }
.placeholder-tag { padding-top: 4px; color: var(--warning); font: 700 10px/1 monospace; letter-spacing: .08em; }
.placeholder p { margin: 0; font-size: .86rem; line-height: 1.5; }

.process { background: var(--surface); }
.section-heading-row { display: grid; grid-template-columns: 1fr .55fr; gap: 60px; align-items: end; margin-bottom: 64px; }
.section-heading-row .section-summary { margin-bottom: 5px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.steps li { min-height: 300px; padding: 24px; border-right: 1px solid var(--line); }
.steps li:first-child { border-left: 1px solid var(--line); }
.step-number { display: block; margin-bottom: 74px; color: var(--accent); font: 600 11px/1 monospace; }
.steps h3 { margin: 0 0 12px; font-size: 1.18rem; }
.steps p { margin: 0; color: var(--muted); font-size: .93rem; }
.inline-cta { display: flex; align-items: center; justify-content: flex-end; gap: 30px; margin-top: 54px; padding-top: 34px; border-top: 1px solid var(--line); }
.inline-cta p { margin: 0; font-size: 1.1rem; }

.workflow { background: var(--bg); }
.workflow .split-layout { grid-template-columns: .72fr 1.28fr; }
.media-placeholder { display: flex; min-height: 410px; align-items: center; justify-content: center; flex-direction: column; border: 1px solid var(--line); background-color: var(--surface); background-image: linear-gradient(45deg, rgba(120, 230, 208, .025) 25%, transparent 25%, transparent 75%, rgba(120, 230, 208, .025) 75%), linear-gradient(45deg, rgba(120, 230, 208, .025) 25%, transparent 25%, transparent 75%, rgba(120, 230, 208, .025) 75%); background-position: 0 0, 16px 16px; background-size: 32px 32px; text-align: center; }
.media-icon { display: grid; width: 72px; height: 72px; margin-bottom: 24px; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); }
.media-placeholder strong { font-size: 1.15rem; }
.media-placeholder span { margin-top: 6px; color: var(--accent); font: 600 11px/1.4 monospace; text-transform: uppercase; letter-spacing: .1em; }
.media-placeholder small { margin-top: 46px; color: var(--dim); font: 500 9px/1 monospace; text-transform: uppercase; letter-spacing: .1em; }
.span-end { grid-column: 2; }

.partner { padding-top: 72px; padding-bottom: 72px; background: var(--accent); color: var(--bg); }
.partner-box { display: grid; grid-template-columns: .45fr .85fr 1fr; gap: 50px; align-items: start; }
.partner .section-number { color: #175c53; }
.partner h2 { grid-column: 2 / 4; font-size: clamp(1.75rem, 2.7vw, 2.65rem); }
.partner p:last-child { margin: 0; color: #1c4a45; font-size: 1.02rem; }

.faq { background: var(--surface); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 24px 46px 24px 0; cursor: pointer; font-size: 1.06rem; font-weight: 650; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary span, summary span::after { position: absolute; right: 4px; top: 50%; width: 15px; height: 1px; background: var(--accent); }
summary span::after { content: ""; right: 0; top: 0; transform: rotate(90deg); transition: transform .2s; }
details[open] summary span::after { transform: rotate(0); }
details > p, .faq-placeholder { max-width: 650px; margin: 0; padding: 0 46px 26px 0; color: var(--muted); }
.faq-placeholder { color: #c7b995; }
.faq-placeholder b { color: var(--warning); font: 700 10px/1 monospace; letter-spacing: .07em; }

.final-cta { min-height: 650px; display: grid; place-items: center; text-align: center; background: var(--accent-deep); border-bottom: 0; }
.final-grid { opacity: .18; mask-image: radial-gradient(circle at center, black, transparent 72%); }
.final-content { display: flex; align-items: center; flex-direction: column; max-width: 900px; }
.final-cta .section-number { color: #b8fff1; }
.final-cta h2 { color: white; }
.final-cta > .section-inner > p:not(.section-number) { max-width: 600px; margin: 26px auto 32px; color: #d1efeb; font-size: 1.08rem; }
.button-light { border-color: white; color: #0c564c; background: white; }
.button-light:hover { color: white; border-color: white; }
.contact-placeholder { max-width: 750px; margin-top: 34px; text-align: left; background: rgba(5, 36, 33, .3); border-color: rgba(255, 255, 255, .5); color: #e7f3f1; }
.contact-placeholder .placeholder-tag { color: white; }

.signature { padding: 27px 24px; color: var(--muted); background: #050809; text-align: center; }
.signature p { margin: 0; font: 500 11px/1.5 monospace; letter-spacing: .06em; }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 150px; }
  .hero-layout, .split-layout, .workflow .split-layout { grid-template-columns: 1fr; }
  .system-card { max-width: 520px; }
  .section-intro { max-width: 720px; }
  .evidence-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 1px solid var(--line); }
  .section-heading-row { grid-template-columns: 1fr; gap: 12px; }
  .span-end { grid-column: auto; }
  .partner-box { grid-template-columns: 1fr 1fr; }
  .partner h2 { grid-column: 2; }
  .partner-box > p:last-child { grid-column: 2; }
}

@media (max-width: 620px) {
  .site-header { padding: 20px; }
  .header-link { display: none; }
  .section { padding: 82px 20px; }
  .hero { padding-top: 135px; }
  h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  h2 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .button { width: 100%; min-width: 0; gap: 12px; }
  .system-core { height: 245px; }
  .evidence-card { min-height: auto; padding: 26px; }
  .card-index { margin-bottom: 38px; }
  .placeholder { grid-template-columns: 1fr; gap: 10px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:nth-child(3) { min-height: auto; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .step-number { margin-bottom: 38px; }
  .inline-cta { align-items: stretch; flex-direction: column; }
  .media-placeholder { min-height: 340px; padding: 20px; }
  .partner-box { grid-template-columns: 1fr; gap: 25px; }
  .partner h2 { grid-column: auto; }
  .partner-box > p:last-child { grid-column: auto; }
  .partner { padding-top: 62px; padding-bottom: 62px; }
  .contact-placeholder { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
