@layer reset, base, components, sections, responsive;

@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body,
  h1,
  h2,
  h3,
  p,
  ol,
  ul {
    margin: 0;
  }

  button,
  input,
  textarea {
    font: inherit;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  img,
  canvas {
    display: block;
    max-width: 100%;
  }
}

@layer base {
  :root {
    --ink: #050607;
    --ink-soft: #0c0f10;
    --panel: #101415;
    --paper: #e8e4da;
    --paper-bright: #f5f1e8;
    --paper-dim: #aaa89f;
    --line: rgba(232, 228, 218, 0.16);
    --line-bright: rgba(232, 228, 218, 0.34);
    --cyan: #8deeff;
    --lime: #b8ff66;
    --red: #ff594d;
    --mono: 'IBM Plex Mono', 'Cascadia Mono', monospace;
    --display: 'Cabinet Grotesk', 'Arial Narrow', sans-serif;
    color-scheme: dark;
    font-synthesis: none;
  }

  body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--display);
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  ::selection {
    background: var(--cyan);
    color: var(--ink);
  }

  :focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
  }

  .skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    transform: translateY(-150%);
    background: var(--paper);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 12px;
  }

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

  .page-shell {
    width: min(100% - 48px, 1440px);
    margin-inline: auto;
  }

  .section-rule {
    border-top: 1px solid var(--line);
  }

  .section-index,
  .eyebrow {
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
      transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@layer components {
  .boot-sequence {
    position: fixed;
    z-index: 999;
    inset: 0;
    display: grid;
    place-items: center;
    background: var(--ink);
    transition:
      opacity 500ms ease,
      visibility 500ms ease;
  }

  .boot-sequence--complete {
    visibility: hidden;
    opacity: 0;
  }

  .boot-frame {
    width: min(520px, calc(100% - 48px));
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .boot-brand {
    margin-bottom: 28px;
    color: var(--paper);
  }

  .boot-line {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    margin-top: 9px;
    color: var(--paper-dim);
  }

  .boot-line i {
    height: 1px;
    background: repeating-linear-gradient(
      90deg,
      rgba(232, 228, 218, 0.4) 0 2px,
      transparent 2px 6px
    );
  }

  .boot-line b {
    color: var(--lime);
    font-weight: 500;
  }

  .boot-progress {
    height: 2px;
    margin-top: 26px;
    overflow: hidden;
    background: var(--line);
  }

  .boot-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: translateX(-100%);
    animation: boot-progress 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    background: var(--cyan);
  }

  @keyframes boot-progress {
    to {
      transform: translateX(0);
    }
  }

  .site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    height: 78px;
    padding-inline: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid transparent;
    transition:
      background 240ms ease,
      border-color 240ms ease,
      height 240ms ease;
  }

  .site-header--scrolled {
    height: 66px;
    border-color: var(--line);
    background: rgba(5, 6, 7, 0.88);
    backdrop-filter: blur(18px);
  }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
  }

  .brand-name {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.24em;
  }

  .brand-mark {
    position: relative;
    display: block;
    aspect-ratio: 1;
    color: var(--paper);
  }

  .brand-mark--small {
    width: 29px;
  }

  .brand-mark--hero {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    width: min(49%, 250px);
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 36px rgba(141, 238, 255, 0.08));
  }

  .mark-shell,
  .mark-seam,
  .mark-face,
  .mark-signal {
    position: absolute;
    display: block;
  }

  .mark-shell {
    inset: 3%;
    background: currentColor;
    clip-path: polygon(50% 0, 92% 24%, 92% 76%, 50% 100%, 8% 76%, 8% 24%);
  }

  .mark-seam {
    z-index: 2;
    top: 6%;
    right: 4%;
    left: 4%;
    height: 23%;
    transform: rotate(-17deg);
    background: var(--ink);
  }

  .mark-face {
    z-index: 3;
    inset: 26% 27% 21%;
    background: var(--ink);
    clip-path: polygon(18% 0, 82% 0, 82% 55%, 66% 55%, 66% 84%, 50% 100%, 34% 84%, 34% 55%, 18% 55%);
  }

  .mark-signal {
    z-index: 4;
    left: 50%;
    width: 15%;
    aspect-ratio: 1.4;
    transform: translateX(-50%);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
  }

  .mark-signal--top {
    top: 20%;
    background: var(--cyan);
  }

  .mark-signal--bottom {
    bottom: 8%;
    transform: translateX(-50%) rotate(180deg);
    background: var(--red);
  }

  .primary-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.4vw, 42px);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .primary-nav a {
    position: relative;
    color: var(--paper-dim);
    transition: color 180ms ease;
  }

  .primary-nav a:hover {
    color: var(--paper);
  }

  .primary-nav .nav-cta {
    padding: 10px 13px;
    border: 1px solid var(--line-bright);
    color: var(--paper);
  }

  .primary-nav .nav-cta:hover {
    border-color: var(--cyan);
    color: var(--cyan);
  }

  .menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--paper);
  }

  .button {
    min-height: 52px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid transparent;
    border-radius: 0;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
      background 180ms ease,
      border-color 180ms ease,
      color 180ms ease,
      transform 180ms ease;
  }

  .button:hover:not(:disabled) {
    transform: translateY(-2px);
  }

  .button--primary {
    background: var(--paper);
    color: var(--ink);
  }

  .button--primary:hover {
    background: var(--cyan);
  }

  .button--danger {
    border-color: rgba(255, 89, 77, 0.5);
    background: rgba(255, 89, 77, 0.08);
    color: #ffb0aa;
  }

  .button--danger:hover:not(:disabled) {
    border-color: var(--red);
    background: var(--red);
    color: var(--ink);
  }

  .button--wide {
    width: 100%;
  }

  .button:disabled,
  .text-button:disabled {
    cursor: default;
    opacity: 0.35;
  }

  .text-link,
  .text-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 0;
    background: none;
    color: var(--paper-dim);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 180ms ease;
  }

  .text-link:hover,
  .text-button:hover:not(:disabled) {
    color: var(--cyan);
  }

  .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
    gap: clamp(48px, 9vw, 150px);
    align-items: end;
  }

  .section-heading h2 {
    max-width: 900px;
    margin-top: 22px;
    font-size: clamp(42px, 5.2vw, 78px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.96;
  }

  .section-heading > p {
    color: var(--paper-dim);
    font-size: 17px;
    line-height: 1.65;
  }
}

@layer sections {
  .hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    background:
      radial-gradient(circle at 72% 44%, rgba(141, 238, 255, 0.055), transparent 34%),
      var(--ink);
  }

  .signal-field,
  .hero-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .signal-field {
    z-index: 0;
    opacity: 0.76;
  }

  .hero-grid {
    z-index: 1;
    background-image:
      linear-gradient(rgba(232, 228, 218, 0.032) 1px, transparent 1px),
      linear-gradient(90deg, rgba(232, 228, 218, 0.032) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding-top: max(138px, 14vh);
    padding-bottom: 42px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.74fr);
    grid-template-rows: 1fr auto;
    gap: 44px 7vw;
    align-items: center;
  }

  .hero-copy {
    max-width: 780px;
  }

  .pulse-dot,
  .access-status i {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 12px rgba(184, 255, 102, 0.55);
  }

  .eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .hero h1 {
    max-width: 920px;
    margin-top: 28px;
    font-size: clamp(64px, 7.2vw, 124px);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 0.82;
  }

  .hero h1 em {
    display: block;
    color: transparent;
    font-style: normal;
    -webkit-text-stroke: 1px rgba(232, 228, 218, 0.68);
  }

  .hero-description {
    max-width: 650px;
    margin-top: 34px;
    color: var(--paper-dim);
    font-size: clamp(17px, 1.35vw, 21px);
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 38px;
    display: flex;
    align-items: center;
    gap: 28px;
  }

  .identity-stage {
    position: relative;
    width: min(100%, 570px);
    aspect-ratio: 1;
    justify-self: end;
    overflow: hidden;
    border: 1px solid var(--line);
    background:
      linear-gradient(90deg, transparent 49.9%, rgba(141, 238, 255, 0.12) 50%, transparent 50.1%),
      linear-gradient(transparent 49.9%, rgba(141, 238, 255, 0.12) 50%, transparent 50.1%),
      rgba(5, 6, 7, 0.68);
  }

  .identity-stage::before,
  .identity-stage::after {
    position: absolute;
    z-index: 2;
    content: '';
    pointer-events: none;
  }

  .identity-stage::before {
    inset: 18px;
    border: 1px solid rgba(232, 228, 218, 0.11);
  }

  .identity-stage::after {
    inset: 0;
    background: repeating-linear-gradient(
      to bottom,
      transparent 0 4px,
      rgba(232, 228, 218, 0.015) 4px 5px
    );
  }

  .stage-coordinate {
    position: absolute;
    z-index: 5;
    color: rgba(232, 228, 218, 0.5);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .stage-coordinate--top {
    top: 28px;
    left: 30px;
  }

  .stage-coordinate--side {
    top: 50%;
    right: -30px;
    transform: rotate(90deg);
  }

  .aperture-ring {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(141, 238, 255, 0.13);
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }

  .aperture-ring--outer {
    width: 82%;
    aspect-ratio: 1;
    animation: ring-rotate 26s linear infinite;
  }

  .aperture-ring--outer::before,
  .aperture-ring--outer::after {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 14px rgba(141, 238, 255, 0.7);
    content: '';
  }

  .aperture-ring--outer::before {
    top: 13%;
    left: 15%;
  }

  .aperture-ring--outer::after {
    right: 2%;
    bottom: 34%;
  }

  .aperture-ring--inner {
    width: 62%;
    aspect-ratio: 1;
    border-style: dashed;
    animation: ring-rotate-reverse 20s linear infinite;
  }

  @keyframes ring-rotate {
    to {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }

  @keyframes ring-rotate-reverse {
    to {
      transform: translate(-50%, -50%) rotate(-360deg);
    }
  }

  .scan-beam {
    position: absolute;
    z-index: 3;
    top: 10%;
    right: 8%;
    left: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    box-shadow: 0 0 18px rgba(141, 238, 255, 0.55);
    animation: scan-beam 4.8s ease-in-out infinite;
  }

  @keyframes scan-beam {
    0%,
    100% {
      top: 16%;
      opacity: 0;
    }
    14%,
    86% {
      opacity: 1;
    }
    50% {
      top: 84%;
    }
  }

  .stage-lock {
    position: absolute;
    z-index: 5;
    right: 28px;
    bottom: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .stage-lock span {
    color: var(--paper-dim);
  }

  .stage-lock strong {
    color: var(--lime);
    font-size: 12px;
  }

  .hero-telemetry {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .hero-telemetry > div {
    min-width: 0;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-right: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .hero-telemetry > div:last-child {
    border-right: 0;
  }

  .hero-telemetry span {
    color: rgba(232, 228, 218, 0.46);
  }

  .hero-telemetry strong {
    overflow: hidden;
    color: var(--paper);
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-telemetry .status-safe {
    color: var(--lime);
  }

  .hero-index {
    position: absolute;
    z-index: 3;
    right: -8px;
    bottom: -32px;
    color: rgba(232, 228, 218, 0.025);
    font-family: var(--mono);
    font-size: clamp(120px, 19vw, 330px);
    font-weight: 600;
    letter-spacing: -0.1em;
    line-height: 0.8;
    pointer-events: none;
  }

  .manifesto {
    padding-block: clamp(100px, 14vw, 220px);
    background: var(--paper);
    color: var(--ink);
  }

  .manifesto-grid {
    display: grid;
    grid-template-columns: minmax(150px, 0.3fr) minmax(0, 1fr);
    gap: 48px;
  }

  .manifesto .section-index {
    color: #247585;
  }

  .manifesto-title {
    max-width: 1100px;
    font-size: clamp(52px, 7vw, 106px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.92;
  }

  .manifesto-title span {
    display: block;
    color: rgba(5, 6, 7, 0.34);
  }

  .manifesto-copy {
    max-width: 700px;
    margin-top: 54px;
    margin-left: auto;
    font-size: clamp(18px, 1.5vw, 23px);
    line-height: 1.6;
  }

  .system-section,
  .personas-section,
  .safety-section,
  .install-section,
  .compatibility {
    padding-block: clamp(100px, 11vw, 170px);
  }

  .pipeline {
    margin-top: 94px;
    display: grid;
    grid-template-columns:
      minmax(138px, 1fr) minmax(40px, 0.45fr)
      minmax(138px, 1fr) minmax(40px, 0.45fr)
      minmax(138px, 1fr) minmax(40px, 0.45fr)
      minmax(138px, 1fr) minmax(40px, 0.45fr)
      minmax(138px, 1fr);
    align-items: center;
  }

  .pipeline-node {
    position: relative;
    min-height: 220px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    background: rgba(232, 228, 218, 0.018);
  }

  .pipeline-node > span {
    color: rgba(232, 228, 218, 0.4);
    font-family: var(--mono);
    font-size: 9px;
  }

  .pipeline-node strong {
    margin-top: auto;
    font-size: 18px;
    font-weight: 500;
  }

  .pipeline-node small {
    margin-top: 2px;
    color: var(--paper-dim);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .pipeline-node--active {
    border-color: rgba(141, 238, 255, 0.38);
    background: rgba(141, 238, 255, 0.035);
  }

  .pipeline-node--guard {
    border-color: rgba(184, 255, 102, 0.48);
    box-shadow: inset 0 0 36px rgba(184, 255, 102, 0.025);
  }

  .node-glyph {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 27px auto;
    display: block;
    border: 1px solid var(--line-bright);
  }

  .node-glyph::before,
  .node-glyph::after {
    position: absolute;
    content: '';
  }

  .node-glyph--camera::before {
    inset: 17px 13px;
    border: 1px solid var(--paper);
  }

  .node-glyph--camera::after {
    top: 22px;
    left: 27px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
  }

  .node-glyph--core::before {
    inset: 12px;
    border: 1px dashed var(--cyan);
    animation: ring-rotate 9s linear infinite;
  }

  .node-glyph--core::after {
    inset: 24px;
    background: var(--cyan);
  }

  .node-glyph--guard::before {
    inset: 10px 17px;
    border-right: 2px solid var(--lime);
    border-left: 2px solid var(--lime);
  }

  .node-glyph--guard::after {
    top: 29px;
    right: 8px;
    left: 8px;
    height: 2px;
    background: var(--lime);
  }

  .node-glyph--output::before {
    inset: 13px 9px;
    border: 1px solid var(--paper);
  }

  .node-glyph--output::after {
    right: 17px;
    bottom: 17px;
    width: 7px;
    height: 7px;
    background: var(--lime);
  }

  .node-glyph--call::before {
    inset: 9px;
    border: 1px solid var(--paper);
    border-radius: 50%;
  }

  .node-glyph--call::after {
    inset: 22px;
    border-radius: 50%;
    background: var(--paper);
  }

  .pipeline-route {
    display: grid;
    justify-items: center;
    gap: 7px;
  }

  .pipeline-route i {
    position: relative;
    width: 100%;
    height: 1px;
    overflow: hidden;
    background: var(--line-bright);
  }

  .pipeline-route i::after {
    position: absolute;
    top: -2px;
    left: -10px;
    width: 9px;
    height: 5px;
    background: var(--cyan);
    content: '';
    animation: route-pulse 2.4s linear infinite;
  }

  @keyframes route-pulse {
    to {
      left: calc(100% + 10px);
    }
  }

  .pipeline-route b {
    color: rgba(232, 228, 218, 0.4);
    font-family: var(--mono);
    font-size: 7px;
    font-weight: 500;
    letter-spacing: 0.08em;
  }

  .system-facts {
    margin-top: 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
  }

  .system-facts article {
    padding: 28px 30px 10px 0;
    border-right: 1px solid var(--line);
  }

  .system-facts article + article {
    padding-left: 30px;
  }

  .system-facts article:last-child {
    border-right: 0;
  }

  .fact-number {
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 9px;
  }

  .system-facts h3 {
    margin-top: 38px;
    font-size: 26px;
    font-weight: 500;
  }

  .system-facts p {
    max-width: 370px;
    margin-top: 13px;
    color: var(--paper-dim);
    line-height: 1.65;
  }

  .personas-section {
    background: var(--paper);
    color: var(--ink);
  }

  .personas-section .section-index {
    color: #247585;
  }

  .personas-section .section-heading > p {
    color: rgba(5, 6, 7, 0.58);
  }

  .persona-deck {
    margin-top: 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: end;
  }

  .persona-card {
    border: 1px solid rgba(5, 6, 7, 0.2);
    background: #dcd8ce;
  }

  .persona-card--featured {
    transform: translateY(-34px);
    border-color: var(--ink);
  }

  .persona-portrait {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #131718;
  }

  .persona-portrait--one {
    --portrait-color: #8deeff;
    --portrait-offset: -9%;
  }

  .persona-portrait--two {
    --portrait-color: #b8ff66;
    --portrait-offset: 8%;
  }

  .persona-portrait--three {
    --portrait-color: #ff594d;
    --portrait-offset: -2%;
  }

  .portrait-grid {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
      linear-gradient(rgba(232, 228, 218, 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(232, 228, 218, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
  }

  .portrait-face {
    position: absolute;
    top: 14%;
    left: calc(50% + var(--portrait-offset));
    width: 58%;
    height: 76%;
    transform: translateX(-50%);
    background:
      linear-gradient(115deg, rgba(255, 255, 255, 0.28), transparent 24%),
      var(--portrait-color);
    clip-path: polygon(
      30% 0,
      70% 2%,
      91% 21%,
      95% 47%,
      82% 57%,
      78% 79%,
      62% 100%,
      32% 92%,
      15% 69%,
      8% 37%
    );
    filter: saturate(0.65);
  }

  .portrait-face::before {
    position: absolute;
    inset: 25% 19% 0 34%;
    background: rgba(5, 6, 7, 0.42);
    clip-path: polygon(0 0, 100% 11%, 75% 100%, 12% 82%);
    content: '';
  }

  .portrait-scan {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 47%;
    width: 1px;
    background: rgba(232, 228, 218, 0.45);
    box-shadow: 0 0 16px var(--portrait-color);
  }

  .persona-meta {
    padding: 20px;
  }

  .persona-meta > span {
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.09em;
  }

  .persona-meta > strong {
    margin-top: 16px;
    display: block;
    font-size: 34px;
    font-weight: 500;
    letter-spacing: -0.04em;
  }

  .persona-meta > div {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .persona-meta b {
    color: #207b52;
  }

  .persona-meta i {
    color: rgba(5, 6, 7, 0.48);
    font-style: normal;
  }

  .consent-note {
    margin-top: 48px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(5, 6, 7, 0.2);
    padding-top: 16px;
    color: rgba(5, 6, 7, 0.6);
    font-size: 13px;
  }

  .consent-note span {
    color: var(--ink);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.09em;
  }

  .safety-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(520px, 1fr);
    gap: clamp(60px, 9vw, 140px);
    align-items: center;
  }

  .safety-copy h2,
  .install-copy h2 {
    margin-top: 24px;
    font-size: clamp(48px, 5.5vw, 86px);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 0.94;
  }

  .safety-copy > p:not(.section-index),
  .install-copy > p:not(.section-index) {
    max-width: 600px;
    margin-top: 30px;
    color: var(--paper-dim);
    font-size: 18px;
    line-height: 1.65;
  }

  .safety-actions {
    margin-top: 38px;
    display: flex;
    align-items: center;
    gap: 22px;
  }

  .guard-demo {
    border: 1px solid var(--line-bright);
    background: var(--panel);
  }

  .demo-toolbar,
  .demo-log {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.07em;
  }

  .demo-toolbar {
    min-height: 48px;
    padding: 0 15px;
    border-bottom: 1px solid var(--line);
    color: var(--paper-dim);
  }

  .demo-toolbar strong {
    color: var(--lime);
    font-weight: 500;
  }

  .demo-toolbar strong i {
    width: 6px;
    height: 6px;
    display: inline-block;
    margin-right: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
  }

  .demo-screen {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 30%, #343e40, #101415 52%, #060708);
  }

  .demo-screen::after {
    position: absolute;
    z-index: 5;
    inset: 0;
    background: repeating-linear-gradient(
      to bottom,
      transparent 0 4px,
      rgba(232, 228, 218, 0.018) 4px 5px
    );
    content: '';
    pointer-events: none;
  }

  .demo-persona {
    position: absolute;
    right: 28%;
    bottom: -15%;
    left: 28%;
    height: 94%;
    background: linear-gradient(135deg, #a7e0e9, #394a4d 62%, #1e282a);
    clip-path: polygon(25% 0, 73% 0, 96% 21%, 89% 61%, 70% 72%, 67% 100%, 31% 100%, 29% 73%, 10% 58%, 4% 22%);
  }

  .demo-persona span {
    position: absolute;
    inset: 24% 17% 28%;
    background: rgba(5, 6, 7, 0.42);
    clip-path: polygon(0 0, 100% 9%, 78% 100%, 14% 83%);
  }

  .demo-reticle {
    position: absolute;
    z-index: 3;
    inset: 14% 30%;
    border: 1px solid rgba(141, 238, 255, 0.56);
  }

  .demo-reticle::before,
  .demo-reticle::after {
    position: absolute;
    background: var(--cyan);
    content: '';
  }

  .demo-reticle::before {
    top: 50%;
    right: -10px;
    left: -10px;
    height: 1px;
  }

  .demo-reticle::after {
    top: -10px;
    bottom: -10px;
    left: 50%;
    width: 1px;
  }

  .demo-label {
    position: absolute;
    z-index: 6;
    bottom: 12px;
    left: 14px;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .demo-black {
    position: absolute;
    z-index: 4;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    background: #000;
    opacity: 0;
    transition: opacity 120ms linear;
  }

  .black-mark {
    color: var(--red);
    font-family: var(--mono);
    font-size: 15px;
    letter-spacing: 0.12em;
  }

  .demo-black small {
    margin-top: 8px;
    color: rgba(232, 228, 218, 0.45);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .guard-demo--closed .demo-black {
    opacity: 1;
  }

  .guard-demo--closed .demo-toolbar strong {
    color: var(--red);
  }

  .demo-log {
    min-height: 64px;
    padding: 0 15px;
    border-top: 1px solid var(--line);
  }

  .demo-log div {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .demo-log span {
    color: rgba(232, 228, 218, 0.4);
  }

  .demo-log b {
    font-weight: 500;
  }

  .install-section {
    background: #0a0c0d;
  }

  .install-grid {
    display: grid;
    grid-template-columns: minmax(520px, 1fr) minmax(0, 0.72fr);
    gap: clamp(60px, 10vw, 160px);
    align-items: center;
  }

  .install-terminal {
    border: 1px solid var(--line-bright);
    background: #060708;
    box-shadow: 18px 18px 0 rgba(141, 238, 255, 0.025);
  }

  .terminal-top {
    min-height: 48px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    color: var(--paper-dim);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .terminal-top i {
    color: rgba(232, 228, 218, 0.24);
    font-style: normal;
    letter-spacing: 0.25em;
  }

  .install-terminal ol {
    padding: 0;
    list-style: none;
  }

  .install-terminal li {
    min-height: 70px;
    padding: 0 18px;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 18px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 10px;
  }

  .install-terminal li span {
    color: rgba(232, 228, 218, 0.35);
  }

  .install-terminal li b {
    font-weight: 400;
  }

  .install-terminal li em {
    color: var(--lime);
    font-size: 8px;
    font-style: normal;
    letter-spacing: 0.08em;
  }

  .terminal-complete {
    padding: 20px 18px;
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .install-copy ul {
    margin-top: 38px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    list-style: none;
  }

  .install-copy li {
    padding: 14px;
    background: #0a0c0d;
    color: var(--paper-dim);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .compatibility {
    text-align: center;
  }

  .compatibility .section-index {
    text-align: left;
  }

  .compatibility-row {
    margin-top: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--paper);
    font-family: var(--mono);
    font-size: clamp(13px, 1.3vw, 19px);
    letter-spacing: 0.08em;
  }

  .compatibility-row i {
    width: 4px;
    height: 4px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--cyan);
  }

  .compatibility-caption {
    margin-top: 46px;
    color: var(--paper-dim);
  }

  .access-section {
    position: relative;
    min-height: 82svh;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--line);
    background:
      radial-gradient(circle at 16% 55%, rgba(141, 238, 255, 0.08), transparent 38%),
      #07090a;
  }

  .signal-field--footer {
    opacity: 0.46;
  }

  .access-grid {
    position: relative;
    z-index: 2;
    padding-block: 120px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
    gap: clamp(60px, 9vw, 140px);
    align-items: center;
  }

  .access-grid h2 {
    max-width: 900px;
    margin-top: 26px;
    font-size: clamp(58px, 7.6vw, 118px);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 0.86;
  }

  .access-grid h2 span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px rgba(232, 228, 218, 0.55);
  }

  .access-panel {
    padding: 28px;
    border: 1px solid var(--line-bright);
    background: rgba(5, 6, 7, 0.78);
    backdrop-filter: blur(12px);
  }

  .access-status {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--lime);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .access-panel p {
    margin-block: 32px;
    color: var(--paper-dim);
    line-height: 1.65;
  }

  .access-panel small {
    margin-top: 14px;
    display: block;
    color: rgba(232, 228, 218, 0.42);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
  }

  .site-footer {
    padding-block: 42px;
    border-top: 1px solid var(--line);
    background: #030404;
  }

  .footer-grid {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }

  .footer-grid > div:first-child p {
    margin-top: 14px;
    color: var(--paper-dim);
    font-size: 13px;
  }

  .footer-meta {
    display: flex;
    gap: 30px;
    color: rgba(232, 228, 218, 0.43);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.07em;
  }

  .footer-meta a:hover {
    color: var(--cyan);
  }
}

@layer responsive {
  @media (max-width: 1180px) {
    .hero-content {
      grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.65fr);
      gap: 40px;
    }

    .pipeline {
      grid-template-columns: repeat(5, minmax(190px, 1fr));
      overflow-x: auto;
      padding-bottom: 12px;
      scrollbar-color: var(--cyan) var(--line);
    }

    .pipeline-route {
      display: none;
    }

    .pipeline-node {
      min-height: 210px;
      border-right: 0;
    }

    .pipeline-node:last-child {
      border-right: 1px solid var(--line);
    }
  }

  @media (max-width: 900px) {
    .page-shell {
      width: min(100% - 32px, 1440px);
    }

    .site-header {
      height: 66px;
      padding-inline: 16px;
      border-bottom-color: var(--line);
      background: rgba(5, 6, 7, 0.9);
      backdrop-filter: blur(18px);
    }

    .menu-toggle {
      padding: 8px 0;
      display: flex;
      align-items: center;
      gap: 9px;
      font-family: var(--mono);
      font-size: 9px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .menu-toggle i {
      position: relative;
      width: 18px;
      height: 1px;
      display: block;
      background: currentColor;
    }

    .menu-toggle i::after {
      position: absolute;
      top: 5px;
      left: 0;
      width: 12px;
      height: 1px;
      background: currentColor;
      content: '';
    }

    .primary-nav {
      position: fixed;
      top: 66px;
      right: 0;
      left: 0;
      padding: 24px 16px;
      display: none;
      align-items: stretch;
      flex-direction: column;
      gap: 0;
      border-bottom: 1px solid var(--line);
      background: var(--ink);
    }

    .primary-nav--open {
      display: flex;
    }

    .primary-nav a {
      padding-block: 13px;
    }

    .primary-nav .nav-cta {
      margin-top: 10px;
    }

    .hero-content {
      padding-top: 116px;
      grid-template-columns: 1fr;
      grid-template-rows: auto;
    }

    .identity-stage {
      width: min(100%, 620px);
      justify-self: center;
    }

    .hero-telemetry {
      grid-template-columns: repeat(2, 1fr);
    }

    .hero-telemetry > div:nth-child(2) {
      border-right: 0;
    }

    .hero-telemetry > div:nth-child(-n + 2) {
      border-bottom: 1px solid var(--line);
    }

    .manifesto-grid,
    .section-heading,
    .safety-grid,
    .install-grid,
    .access-grid {
      grid-template-columns: 1fr;
    }

    .manifesto-grid {
      gap: 42px;
    }

    .manifesto-copy {
      margin-left: 0;
    }

    .section-heading {
      gap: 34px;
    }

    .section-heading > p {
      max-width: 660px;
    }

    .system-facts {
      grid-template-columns: 1fr;
    }

    .system-facts article,
    .system-facts article + article {
      padding: 28px 0;
      border-right: 0;
      border-bottom: 1px solid var(--line);
    }

    .system-facts article:last-child {
      border-bottom: 0;
    }

    .system-facts h3 {
      margin-top: 18px;
    }

    .persona-deck {
      grid-template-columns: repeat(3, minmax(250px, 1fr));
      overflow-x: auto;
      padding-top: 34px;
      padding-bottom: 14px;
    }

    .safety-grid,
    .install-grid,
    .access-grid {
      gap: 64px;
    }

    .install-terminal {
      order: 2;
    }

    .access-section {
      min-height: auto;
    }

    .access-panel {
      max-width: 580px;
    }
  }

  @media (max-width: 620px) {
    .hero h1 {
      font-size: clamp(56px, 19vw, 82px);
    }

    .hero-actions {
      align-items: stretch;
      flex-direction: column;
    }

    .hero-actions .button {
      width: 100%;
    }

    .hero-telemetry {
      grid-template-columns: 1fr;
    }

    .hero-telemetry > div {
      border-right: 0;
      border-bottom: 1px solid var(--line);
    }

    .hero-telemetry > div:last-child {
      border-bottom: 0;
    }

    .identity-stage {
      aspect-ratio: 1 / 1.12;
    }

    .manifesto-title {
      font-size: clamp(48px, 15vw, 72px);
    }

    .section-heading h2,
    .safety-copy h2,
    .install-copy h2 {
      font-size: clamp(42px, 12.5vw, 64px);
    }

    .pipeline {
      margin-top: 58px;
    }

    .persona-deck {
      margin-top: 54px;
    }

    .consent-note,
    .footer-grid,
    .footer-meta {
      align-items: flex-start;
      flex-direction: column;
    }

    .safety-grid {
      grid-template-columns: 1fr;
    }

    .safety-actions {
      align-items: flex-start;
      flex-direction: column;
    }

    .guard-demo {
      min-width: 0;
    }

    .demo-log {
      min-height: 118px;
      align-items: flex-start;
      flex-direction: column;
      padding-block: 14px;
    }

    .install-copy ul {
      grid-template-columns: 1fr;
    }

    .compatibility-row {
      align-items: flex-start;
      flex-direction: column;
    }

    .compatibility-row i {
      display: none;
    }

    .access-grid h2 {
      font-size: clamp(54px, 16vw, 78px);
    }

    .access-panel {
      padding: 20px;
    }

    .footer-meta {
      gap: 10px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      scroll-behavior: auto !important;
      transition-duration: 0.01ms !important;
    }

    .reveal {
      opacity: 1;
      transform: none;
    }
  }
}
