:root {
  --bg: #06070a;
  --bg-2: #0b0d11;
  --surface: rgba(15, 18, 24, 0.78);
  --surface-strong: rgba(20, 24, 32, 0.94);
  --line: rgba(230, 236, 248, 0.14);
  --line-strong: rgba(230, 236, 248, 0.28);
  --text: #f2f4ef;
  --muted: #a7b0b7;
  --soft: #d7ddd4;
  --cyan: #78d8ff;
  --amber: #e5c56d;
  --green: #9ad5b4;
  --red: #ff7f70;
  --max: 1180px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #050609 0%, #0c0f14 45%, #06070a 100%);
  background-size: 42px 42px, 42px 42px, auto;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.12;
  mix-blend-mode: screen;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-frame {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 40;
  width: min(calc(100% - 32px), var(--max));
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transform: translateX(-50%);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 -18px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 7, 10, 0.92), rgba(6, 7, 10, 0));
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.brand,
.site-nav {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0;
}

.brand-sigil {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 46%, var(--cyan) 48%, transparent 52%),
    linear-gradient(0deg, transparent 46%, var(--amber) 48%, transparent 52%);
  box-shadow: 0 0 26px rgba(120, 216, 255, 0.22);
}

.site-nav {
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 10, 14, 0.62);
}

.site-nav a {
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 140px max(24px, calc((100vw - var(--max)) / 2)) 66px;
}

#cognition-field {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  background: #06070a;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 7, 10, 0.94) 0%, rgba(6, 7, 10, 0.6) 48%, rgba(6, 7, 10, 0.2) 100%),
    linear-gradient(180deg, rgba(6, 7, 10, 0.12) 0%, rgba(6, 7, 10, 0.72) 88%);
}

.hero-content {
  width: min(760px, 100%);
  padding-bottom: 34px;
}

.kicker,
.section-label,
.vector-code,
.meta-row span,
.signal-list span,
.signal-list em,
label,
.form-status,
.site-footer {
  font-family: var(--mono);
  letter-spacing: 0;
}

.kicker,
.section-label {
  display: inline-flex;
  color: var(--amber);
  font-size: 13px;
  margin: 0 0 22px;
}

h1,
h2,
h3,
.hero-line,
.private-lines p {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(68px, 11vw, 164px);
}

.hero-line {
  max-width: 860px;
  margin-top: 22px;
  color: var(--soft);
  font-size: clamp(30px, 4.2vw, 62px);
}

.hero-copy {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 640;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(242, 244, 239, 0.58);
}

.button.primary {
  border-color: rgba(120, 216, 255, 0.55);
  background: #d9f3ff;
  color: #071016;
}

.button.secondary {
  background: rgba(8, 10, 14, 0.55);
  color: var(--text);
}

.hero-meta {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 66px;
  width: min(390px, calc(100% - 48px));
  border-top: 1px solid var(--line-strong);
}

.meta-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.meta-row span {
  color: var(--muted);
  font-size: 12px;
}

.meta-row strong {
  color: var(--soft);
  font-size: 14px;
  font-weight: 560;
}

.section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 110px 0;
}

.manifesto {
  border-bottom: 1px solid var(--line);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

h2 {
  max-width: 12ch;
  font-size: clamp(42px, 6vw, 86px);
}

.manifesto-copy {
  padding-top: 12px;
}

.manifesto-copy p,
.access-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.manifesto-copy p + p {
  margin-top: 24px;
}

.section-header {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 42px;
}

.section-header h2 {
  max-width: 13ch;
}

.vector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.vector-card {
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(10, 12, 17, 0.54);
  transition: background 200ms ease, transform 200ms ease;
}

.vector-card:hover {
  background:
    linear-gradient(180deg, rgba(120, 216, 255, 0.075), rgba(229, 197, 109, 0.035)),
    rgba(12, 15, 20, 0.72);
  transform: translateY(-3px);
}

.vector-code {
  display: inline-flex;
  margin-bottom: 58px;
  color: var(--cyan);
  font-size: 12px;
}

h3 {
  font-size: clamp(24px, 2.3vw, 34px);
}

.vector-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.private-mode {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 120px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(340px, 1fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(120, 216, 255, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.private-copy h2 {
  max-width: 9ch;
}

.private-lines {
  display: grid;
  gap: 18px;
}

.private-lines p {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-size: clamp(34px, 5vw, 68px);
}

.private-lines p:nth-child(1) {
  color: var(--cyan);
}

.private-lines p:nth-child(2) {
  color: var(--amber);
}

.private-lines p:nth-child(3) {
  color: var(--green);
}

.signal-list {
  border-top: 1px solid var(--line-strong);
}

.signal-list a {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 138px;
  gap: 24px;
  align-items: center;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, padding 180ms ease;
}

.signal-list a:hover,
.signal-list a:focus-visible {
  padding-left: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.signal-list span,
.signal-list em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.signal-list strong {
  color: var(--soft);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.06;
}

.access {
  padding-bottom: 90px;
}

.access-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.7fr);
  gap: clamp(34px, 6vw, 76px);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(120, 216, 255, 0.09), rgba(229, 197, 109, 0.05) 42%, rgba(154, 213, 180, 0.055)),
    var(--surface);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.access-panel h2 {
  max-width: 13ch;
  margin-bottom: 24px;
}

.access-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 5, 8, 0.55);
  color: var(--text);
  outline: none;
  padding: 13px 14px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(120, 216, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(120, 216, 255, 0.11);
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--green);
  font-size: 12px;
}

.site-footer {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 0 0 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.site-footer p:nth-child(2) {
  text-align: center;
}

.site-footer p:last-child {
  text-align: right;
}

@keyframes soft-reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  animation: soft-reveal 640ms ease forwards;
  animation-delay: var(--delay, 0ms);
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 900px;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 240px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 7, 10, 0.72) 0%, rgba(6, 7, 10, 0.86) 78%),
      linear-gradient(90deg, rgba(6, 7, 10, 0.72), rgba(6, 7, 10, 0.25));
  }

  .hero-meta {
    left: 24px;
    right: auto;
    bottom: 48px;
  }

  .manifesto-grid,
  .section-header,
  .private-mode,
  .access-panel {
    grid-template-columns: 1fr;
  }

  .vector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 830px;
    padding-inline: 20px;
    padding-bottom: 230px;
  }

  h1 {
    font-size: clamp(56px, 18vw, 82px);
  }

  .hero-line {
    font-size: clamp(28px, 10vw, 42px);
  }

  .hero-copy,
  .manifesto-copy p,
  .access-panel p {
    font-size: 16px;
  }

  .button,
  .hero-actions a,
  .access-form button {
    width: 100%;
  }

  .section {
    width: min(calc(100% - 36px), var(--max));
    padding: 78px 0;
  }

  .section-header {
    gap: 14px;
  }

  h2 {
    font-size: clamp(38px, 13vw, 58px);
  }

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

  .vector-card {
    min-height: 240px;
  }

  .vector-code {
    margin-bottom: 34px;
  }

  .private-mode {
    padding: 86px 18px;
  }

  .private-lines p {
    font-size: clamp(31px, 12vw, 46px);
  }

  .signal-list a {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
  }

  .signal-list em {
    grid-column: 2;
  }

  .access-panel {
    padding: 22px;
  }

  .site-footer {
    width: min(calc(100% - 36px), var(--max));
    grid-template-columns: 1fr;
  }

  .site-footer p,
  .site-footer p:nth-child(2),
  .site-footer p:last-child {
    text-align: left;
  }
}

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

  .reveal,
  .button,
  .vector-card,
  .signal-list a {
    transition: none;
    animation: none;
  }

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