:root {
  color-scheme: dark;
  --page: #4450cc;
  --page-deep: #3a47c3;
  --panel: #0c1134;
  --panel-2: #10133a;
  --ink: #f7f7ff;
  --muted: #dfe3ff;
  --line: #f4f5ff;
  --blue: #7288ff;
  --yellow: #f4f10a;
  --green: #42ff56;
  --shadow: #05071b;
  --band: #3342bd;
  --panel-line: rgba(114, 136, 255, 0.1);
  --radius: 0;
  --pixel-font: "Courier New", "Lucida Console", Monaco, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 100% 6px,
    linear-gradient(180deg, var(--page) 0%, var(--page-deep) 52%, var(--page) 100%);
  color: var(--ink);
  font-family: var(--pixel-font);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.032) 1px, transparent 1px, transparent 4px);
  mix-blend-mode: screen;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--yellow);
  color: var(--shadow);
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
.page-shell,
.site-footer {
  width: min(calc(100% - 40px), 1180px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 28px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
}

.brand__text {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
}

.brand__lens {
  width: 30px;
  height: 30px;
  display: inline-block;
  --icon-url: url("/assets/icon-search.svg?v=20260621-glitch");
  --icon-color: var(--line);
  --icon-glitch: var(--blue);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45);
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--yellow);
  outline: none;
}

.menu-toggle {
  display: none;
  border: 2px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--shadow);
  font: 800 0.9rem/1 var(--pixel-font);
  padding: 0.75rem 0.9rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  min-height: 530px;
  padding: clamp(1.6rem, 4vw, 3.35rem);
  border: 5px solid var(--line);
  background:
    linear-gradient(90deg, rgba(12, 17, 52, 0.97), rgba(16, 19, 58, 0.94)),
    var(--panel);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.56);
  overflow: hidden;
}

.hero__copy,
.hero__visual {
  min-width: 0;
}

.eyebrow,
.hero__lead,
h2,
h3,
.button,
.ticker,
.system-status,
summary {
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.35rem;
  font-size: clamp(2.8rem, 7vw, 5.1rem);
  line-height: 0.95;
  font-weight: 900;
  text-shadow: 5px 5px 0 rgba(0, 0, 0, 0.62);
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.1;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
}

h3 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  line-height: 1.2;
}

.hero__lead {
  max-width: 640px;
  margin-bottom: 1rem;
  color: var(--yellow);
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.1;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.hero__text {
  max-width: 610px;
  margin-bottom: 2.2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero__text--prompt {
  display: block;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.65rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 1rem 1.5rem;
  border: 3px solid var(--line);
  color: var(--ink);
  background: transparent;
  box-shadow: 8px 8px 0 var(--shadow);
  font-weight: 900;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(4px, 4px);
  box-shadow: 4px 4px 0 var(--shadow);
  outline: none;
}

.button--primary {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #070800;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero__visual img {
  width: min(100%, 380px);
  border: 0;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 22px rgba(86, 117, 255, 0.32));
}

.status-card {
  position: absolute;
  right: 0;
  bottom: 18px;
  padding: 0.8rem 1rem;
  border: 3px solid var(--blue);
  background: rgba(12, 17, 52, 0.94);
  box-shadow: 6px 6px 0 var(--shadow);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
}

.status-card span {
  color: var(--blue);
}

.status-card strong {
  color: var(--green);
}

.ticker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 30px 0 36px;
  padding: 1rem 1.45rem;
  border: 3px solid var(--line);
  background: rgba(51, 66, 189, 0.78);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.34);
  font-weight: 900;
  text-decoration: none;
}

.ticker span:nth-child(2) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ticker__bell {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  --icon-url: url("/assets/icon-bolt.svg?v=20260621-glitch");
  --icon-color: var(--yellow);
  --icon-glitch: rgba(132, 162, 255, 0.64);
  --icon-glitch-light: rgba(239, 247, 255, 0.68);
}

.section {
  padding: 0 0 42px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.feature-card,
.step-card,
.price-card,
.legal-grid article,
details {
  border: 4px solid var(--line);
  background:
    linear-gradient(var(--panel-line) 1px, transparent 1px) 0 0 / 100% 8px,
    var(--panel);
  box-shadow: 8px 8px 0 var(--shadow);
}

.feature-card {
  min-width: 0;
  min-height: 290px;
  padding: 1.35rem 1.15rem 1.4rem;
}

.feature-card h3,
.feature-card p {
  max-width: 100%;
  min-width: 0;
}

.feature-card p,
.price-card p,
.legal-grid p,
details p {
  color: var(--muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.feature-icon {
  position: relative;
  display: block;
  width: 62px;
  height: 62px;
  margin-bottom: 1.4rem;
  --icon-color: var(--yellow);
  --icon-glitch: rgba(132, 162, 255, 0.58);
  --icon-glitch-light: rgba(239, 247, 255, 0.62);
}

.brand__lens,
.ticker__bell,
.feature-icon {
  background: transparent;
}

.brand__lens,
.ticker__bell {
  position: relative;
}

.brand__lens::before,
.brand__lens::after,
.ticker__bell::before,
.ticker__bell::after,
.feature-icon::before,
.feature-icon::after {
  position: absolute;
  inset: 0;
  content: "";
  -webkit-mask: var(--icon-url) center / contain no-repeat;
  mask: var(--icon-url) center / contain no-repeat;
}

.brand__lens::before,
.ticker__bell::before,
.feature-icon::before {
  background-color: var(--icon-color);
  filter:
    drop-shadow(2px 2px 0 var(--shadow))
    drop-shadow(-1px 0 0 rgba(96, 127, 255, 0.28))
    drop-shadow(1px 0 0 rgba(255, 242, 0, 0.2));
}

.brand__lens::after,
.ticker__bell::after,
.feature-icon::after {
  background:
    linear-gradient(
      90deg,
      transparent 0 8%,
      var(--icon-glitch) 8% 38%,
      transparent 38% 48%,
      var(--icon-glitch-light) 48% 60%,
      transparent 60% 100%
    );
  clip-path: polygon(
    0 10%, 100% 10%, 100% 14%, 0 14%,
    0 39%, 100% 39%, 100% 42%, 0 42%,
    0 57%, 100% 57%, 100% 61%, 0 61%,
    0 84%, 100% 84%, 100% 87%, 0 87%
  );
  opacity: 0.74;
  transform: translate(3px, -1px);
  filter: drop-shadow(-3px 0 0 rgba(44, 72, 210, 0.36));
}

.brand__lens::after {
  opacity: 0.5;
  transform: translate(1px, -1px);
}

.ticker__bell::after {
  opacity: 0.62;
}

.feature-icon::after {
  transform: translate(4px, -1px);
}

.feature-icon--search { --icon-url: url("/assets/icon-search.svg?v=20260621-glitch"); }
.feature-icon--globe { --icon-url: url("/assets/icon-globe.svg?v=20260621-glitch"); }
.feature-icon--data { --icon-url: url("/assets/icon-data.svg?v=20260621-glitch"); }
.feature-icon--lock { --icon-url: url("/assets/icon-lock.svg?v=20260621-glitch"); }
.feature-icon--bolt { --icon-url: url("/assets/icon-bolt.svg?v=20260621-glitch"); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 4vw, 3rem);
  align-items: stretch;
}

.step-card {
  position: relative;
  min-height: 210px;
  padding: 1.35rem 1.25rem;
}

.step-card:not(:last-child)::after {
  position: absolute;
  right: -2.2rem;
  top: 50%;
  content: "›";
  color: var(--line);
  font-size: 2.2rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.step-card__number {
  float: left;
  margin-right: 0.7rem;
  color: var(--blue);
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 900;
}

.step-card p {
  min-height: 70px;
  color: var(--ink);
}

.step-card__glyph {
  display: grid;
  place-items: center;
  width: 80px;
  height: 54px;
  margin: 1.1rem auto 0;
  border: 4px solid var(--blue);
  color: var(--blue);
  font-weight: 900;
}

.console-panel,
.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 42px;
  padding: 1.6rem 2rem;
  border: 4px solid var(--line);
  background: var(--panel);
  box-shadow: 8px 8px 0 var(--shadow);
}

.console-panel h2,
.console-panel p,
.cta-strip p {
  margin-bottom: 0;
}

.terminal-list {
  min-width: min(100%, 390px);
  margin: 0;
  padding: 1rem;
  border: 2px solid var(--blue);
  color: var(--green);
  list-style: none;
}

.terminal-list li::before {
  content: "> ";
  color: var(--yellow);
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.4rem;
  align-items: start;
}

.section-lead {
  color: var(--muted);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.price-card {
  padding: 1.45rem;
}

.price-card--active {
  border-color: var(--yellow);
}

.price-card a {
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

details {
  padding: 1.1rem 1.35rem;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

summary::marker {
  color: var(--yellow);
}

details p {
  margin: 1rem 0 0;
}

.cta-strip {
  margin-top: 0.5rem;
}

.cta-strip p {
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 0.85fr 1.1fr;
  gap: 2rem;
  padding: 28px 10px 32px;
  border-top: 2px dashed rgba(255, 255, 255, 0.75);
}

.site-footer h2 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--yellow);
  outline: none;
}

.system-status {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.6rem 0.9rem;
  border: 2px solid var(--line);
  background: rgba(51, 66, 189, 0.58);
  font-weight: 900;
}

.system-status strong {
  color: var(--green);
}

.legal-page {
  padding-bottom: 46px;
}

.legal-hero {
  margin-bottom: 28px;
  padding: clamp(2rem, 5vw, 4rem);
  border: 5px solid var(--line);
  background: var(--panel);
  box-shadow: 10px 10px 0 var(--shadow);
}

.legal-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.legal-hero p:last-child {
  max-width: 720px;
  color: var(--muted);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 34px;
}

.legal-grid article {
  padding: 1.4rem;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 88px;
    left: 20px;
    right: 20px;
    z-index: 5;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.8rem;
    border: 3px solid var(--line);
    background: var(--panel);
    box-shadow: 8px 8px 0 var(--shadow);
  }

  .site-nav--static,
  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav--static {
    position: static;
    flex: 1 1 100%;
    flex-flow: row wrap;
    margin-top: 0.8rem;
  }

  .site-nav a {
    padding: 0.75rem;
  }

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

  .hero__visual {
    order: -1;
  }

  .hero__visual img {
    width: min(100%, 310px);
  }

  .status-card {
    right: 50%;
    bottom: 0;
    transform: translateX(80%);
  }

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

  .steps,
  .legal-grid,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-card:not(:last-child)::after {
    display: none;
  }

  .console-panel,
  .cta-strip,
  .split-section {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 620px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: min(calc(100% - 22px), 1180px);
  }

  .site-header {
    padding: 16px 0 12px;
  }

  .brand__text {
    font-size: 1.18rem;
  }

  .brand__lens {
    width: 24px;
    height: 24px;
  }

  .menu-toggle {
    padding: 0.68rem 0.72rem;
    font-size: 0.8rem;
  }

  .hero,
  .legal-hero {
    padding: 1.05rem 1.35rem 1.35rem;
    border-width: 4px;
    box-shadow: 7px 7px 0 var(--shadow);
  }

  h1 {
    font-size: clamp(2rem, 10.8vw, 2.75rem);
  }

  h1 span {
    display: block;
  }

  .hero__lead {
    max-width: 24ch;
    font-size: 1.06rem;
    line-height: 1.14;
  }

  .hero__visual img {
    width: min(100%, 250px);
  }

  .status-card {
    position: static;
    width: min(100%, 210px);
    margin: -0.45rem auto 0;
    transform: none;
    font-size: 0.82rem;
  }

  .hero__text {
    max-width: 32ch;
    font-size: 1rem;
  }

  .button {
    width: 100%;
    min-height: 56px;
    padding-inline: 0.8rem;
    text-align: center;
  }

  .ticker {
    align-items: flex-start;
    padding: 0.85rem;
    font-size: 0.85rem;
  }

  .feature-grid,
  .steps,
  .price-grid,
  .legal-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-card p {
    max-width: 28ch;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .console-panel,
  .cta-strip {
    padding: 1.1rem;
  }

  .terminal-list {
    min-width: 0;
    font-size: 0.85rem;
  }

  .system-status {
    flex-direction: column;
  }
}
