:root {
  --ink: #121212;
  --muted: #5d6470;
  --line: #d7d0bd;
  --paper: #fff7df;
  --panel: #ffffff;
  --yellow: #ffd231;
  --yellow-deep: #f2b705;
  --black: #111111;
  --green: #18794e;
  --green-soft: #e5f4ed;
  --cyan: #0b7285;
  --cyan-soft: #e3f7fb;
  --red: #b42318;
  --red-soft: #fee9e7;
  --amber: #a15c00;
  --amber-soft: #fff0d7;
  --shadow: 0 20px 60px rgba(21, 23, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff8e3 0%, #f7f8fb 42%, #f7f8fb 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 28px;
  background: rgba(255, 248, 224, 0.94);
  border-bottom: 1px solid rgba(17, 17, 17, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--black);
  background: var(--ink);
  color: var(--yellow);
  font-size: 12px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 9px 14px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: #fff;
}

.hero {
  position: relative;
  min-height: calc(100svh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 34px;
  padding: 70px 6vw 58px;
  overflow: hidden;
  background:
    linear-gradient(118deg, rgba(255, 210, 49, 0.96) 0%, rgba(255, 210, 49, 0.92) 47%, rgba(18, 18, 18, 0.94) 47.2%, rgba(18, 18, 18, 0.94) 100%),
    repeating-linear-gradient(135deg, rgba(18, 18, 18, 0.08) 0, rgba(18, 18, 18, 0.08) 16px, transparent 16px, transparent 32px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 18px;
  background: repeating-linear-gradient(135deg, var(--black) 0, var(--black) 22px, var(--yellow) 22px, var(--yellow) 44px);
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: #5f4700;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 8px;
  font-size: clamp(66px, 11vw, 142px);
  line-height: 0.88;
  letter-spacing: 0;
  color: var(--black);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(27px, 3.7vw, 48px);
  line-height: 1.08;
  font-weight: 720;
  letter-spacing: 0;
  color: var(--black);
}

.hero-text {
  max-width: 690px;
  color: #352b10;
  font-size: 19px;
  font-weight: 560;
}

.promise-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.promise-row span {
  padding: 9px 12px;
  border: 1px solid rgba(18, 18, 18, 0.42);
  background: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  font-weight: 800;
}

.hero-actions,
.final-cta .button {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(21, 23, 26, 0.14);
}

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

.button.secondary {
  background: #fff;
  color: var(--ink);
}

.button.ghost {
  border-color: rgba(21, 23, 26, 0.26);
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink);
}

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

.hero-visual {
  min-height: 440px;
  display: grid;
  place-items: center;
  z-index: 2;
}

.traffic-map {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.34));
}

.traffic-map::before {
  content: "";
  position: absolute;
  inset: 42px;
  border: 3px solid var(--black);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.42) 0, rgba(255, 255, 255, 0.42) 11px, rgba(255, 255, 255, 0.08) 11px, rgba(255, 255, 255, 0.08) 24px),
    linear-gradient(135deg, #ff8f1f 0%, #ffd231 58%, #f06f1a 100%);
}

.traffic-map::after {
  content: "BOT SCAN\A PROBE DETECTED\A CLEAN PASS\A MIRROR FIRED";
  white-space: pre;
  position: absolute;
  right: 20px;
  bottom: 12px;
  width: 210px;
  padding: 14px;
  color: var(--yellow);
  background: var(--black);
  border: 2px solid var(--yellow);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
}

.ward-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  transform: translate(-50%, -50%);
}

.node-ring,
.node-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
}

.node-ring {
  background: var(--yellow);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.2);
  animation: pulse 4s ease-in-out infinite;
}

.node-core {
  inset: 32px;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 850;
}

.lane {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 230px;
  height: 48px;
  padding: 0 12px;
  border: 2px solid var(--black);
  background: var(--yellow);
  color: var(--black);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0;
}

.lane-clean {
  left: 0;
  top: 92px;
}

.lane-mirror {
  right: 0;
  bottom: 96px;
  background: var(--black);
  color: var(--yellow);
}

.packet {
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  background: #fff;
}

.packet-a,
.packet-b,
.packet-c {
  color: var(--green);
}

.packet-d,
.packet-e {
  color: var(--red);
}

.destination {
  position: absolute;
  display: grid;
  place-items: center;
  width: 126px;
  height: 72px;
  border: 2px solid var(--black);
  background: var(--panel);
  font-weight: 800;
}

.destination-upstream {
  right: 18px;
  top: 40px;
  box-shadow: 10px 10px 0 var(--green);
}

.destination-mirror {
  left: 28px;
  bottom: 34px;
  color: var(--yellow);
  background: var(--black);
  box-shadow: 10px 10px 0 var(--red);
}

.impact-band {
  padding: 34px 6vw;
  color: var(--yellow);
  background: var(--ink);
}

.impact-band p {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: 0;
}

.section {
  padding: 92px 6vw;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 58px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
}

.split.reverse > div:first-child {
  order: 2;
}

.section p {
  color: var(--muted);
  font-size: 17px;
}

.flow-panel,
.proof-panel,
.quickstart pre {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.flow-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.flow-row:last-child {
  border-bottom: 0;
}

.flow-row p {
  margin: 4px 0 0;
  font-size: 15px;
}

.flow-dot {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border: 2px solid currentColor;
}

.flow-dot.good {
  color: var(--green);
  background: var(--green-soft);
}

.flow-dot.watch {
  color: var(--amber);
  background: var(--amber-soft);
}

.flow-dot.mirror {
  color: var(--red);
  background: var(--red-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-top: 0;
  background: var(--line);
}

.feature-grid article {
  min-height: 210px;
  padding: 28px;
  background: var(--panel);
}

.feature-grid p {
  margin: 0;
  font-size: 15px;
}

.quickstart {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 46px;
  align-items: center;
  background: #eef7f5;
  border-top: 1px solid #c7ded8;
  border-bottom: 1px solid #c7ded8;
}

pre {
  margin: 0;
  overflow-x: auto;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
}

.quickstart pre {
  padding: 28px;
  color: #e8fff8;
  background: #111815;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
  gap: 58px;
  align-items: center;
}

.proof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.proof-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.proof-panel article {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-panel article:nth-child(2n) {
  border-right: 0;
}

.proof-panel article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.proof-panel span {
  display: block;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.proof-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1;
}

.proof-panel p {
  margin: 0;
  font-size: 15px;
}

.limits {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  background: #fff6e8;
  border-top: 1px solid #ead0a9;
  border-bottom: 1px solid #ead0a9;
}

.limits-copy {
  max-width: 860px;
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.support p {
  max-width: 720px;
}

.faq {
  max-width: 980px;
  margin: 0 auto;
}

.faq h2 {
  margin-bottom: 30px;
}

details {
  border-top: 1px solid var(--line);
  background: var(--panel);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 780;
}

details p {
  max-width: 760px;
  margin-bottom: 22px;
}

.final-cta {
  padding: 90px 6vw 100px;
  text-align: center;
  background: var(--ink);
  color: #fff;
}

.final-cta .section-kicker {
  color: #9ee6d0;
}

.final-cta h2 {
  margin-bottom: 8px;
}

.final-cta .button.primary {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
}

.site-footer a {
  color: #fff;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    gap: 12px;
    min-height: auto;
    padding: 16px 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
  }

  .hero,
  .proof,
  .split,
  .split.reverse,
  .quickstart {
    grid-template-columns: 1fr;
  }

  .split.reverse > div:first-child {
    order: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-visual {
    min-height: 360px;
  }

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

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

  .support {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
}

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

  .brand {
    width: 100%;
  }

  .nav-links {
    justify-content: flex-start;
    font-size: 13px;
  }

  .hero,
  .section,
  .final-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1 {
    font-size: 64px;
  }

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

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

  .proof-panel {
    grid-template-columns: 1fr;
  }

  .proof-panel article,
  .proof-panel article:nth-child(2n),
  .proof-panel article:nth-last-child(-n + 2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-panel article:last-child {
    border-bottom: 0;
  }

  .traffic-map {
    width: 310px;
  }

  .ward-node {
    width: 116px;
    height: 116px;
  }

  .node-core {
    inset: 26px;
  }

  .lane {
    min-width: 184px;
    height: 42px;
    font-size: 11px;
  }

  .lane-clean {
    top: 54px;
  }

  .lane-mirror {
    bottom: 62px;
  }

  .destination {
    width: 104px;
    height: 58px;
    font-size: 13px;
  }

  .destination-upstream {
    right: 0;
    top: 0;
  }

  .destination-mirror {
    left: 0;
    bottom: 0;
  }

  .traffic-map::after {
    right: 8px;
    bottom: -18px;
    width: 180px;
    font-size: 11px;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
  }
}
