:root {
  --brand: #ffb600;
  --accent: #FF6200;
  --accent-dark: #CC4E00;
  --teal: #00DDB3;
  --bg: #060809;
  --surface: #0C1014;
  --surface-2: #141A1F;
  --line: #1E2830;
  --line-strong: #2A3845;
  --text: #EDF2F4;
  --muted: #8BAEC0;
  --low: #5E7D8E;
  --critical: #FF2D2D;
  --ok: #00D97E;
  --shadow: rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 182, 0, 0.05), transparent 340px),
    var(--bg);
  color: var(--text);
  font-family:
    "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(139, 174, 192, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 174, 192, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.2) 74%, transparent 100%);
}

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

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

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

code {
  display: block;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 8, 9, 0.9);
  backdrop-filter: blur(14px);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--brand), transparent 58%);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: max-content;
  margin-right: auto;
}

.brand-mark-frame {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 182, 0, 0.45);
  border-radius: 8px;
  background: #F3F1EC;
  box-shadow: 0 0 0 1px rgba(255, 98, 0, 0.14), 0 10px 28px rgba(0, 0, 0, 0.36);
}

.brand-mark {
  position: absolute;
  top: 41%;
  left: 50%;
  width: 118px;
  max-width: none;
  height: 118px;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.brand-name {
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.top-nav a,
.nav-cta,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.top-nav a {
  padding: 0.55rem 0.75rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.top-nav a:hover {
  color: var(--brand);
  background: rgba(255, 182, 0, 0.08);
}

.nav-cta {
  padding: 0.58rem 0.9rem;
  color: #080806;
  background: var(--brand);
  box-shadow: 0 0 0 1px rgba(255, 98, 0, 0.3);
}

.nav-cta:hover {
  background: #FFC533;
  box-shadow: 0 0 0 1px rgba(255, 98, 0, 0.55), 0 12px 32px rgba(255, 182, 0, 0.16);
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, calc(100vh - 108px), 760px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(100deg, rgba(255, 182, 0, 0.1), transparent 34%),
    linear-gradient(180deg, var(--surface), var(--bg));
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent, rgba(255, 98, 0, 0.08) 36%, transparent 37%),
    repeating-linear-gradient(90deg, transparent 0 16px, rgba(255, 182, 0, 0.03) 16px 17px);
  opacity: 0.9;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  width: min(1180px, 90vw);
  min-height: clamp(560px, calc(100vh - 108px), 760px);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.2rem) 0;
}

.eyebrow,
.section-kicker,
.monitor-kicker,
.metric-label,
.run-id,
.price-note {
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 182, 0, 0.24);
  color: var(--brand);
  background: rgba(255, 182, 0, 0.08);
  font-size: 0.72rem;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 18px var(--brand);
}

.hero-identity {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: min(100%, 430px);
  gap: 0.95rem;
  margin: 0 0 1.15rem;
  padding: 0.58rem 0.85rem 0.58rem 0.58rem;
  border: 1px solid rgba(139, 174, 192, 0.2);
  border-left: 3px solid var(--brand);
  background: rgba(12, 16, 20, 0.68);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.26);
}

.hero-logo-plate {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255, 182, 0, 0.38);
  border-radius: 8px;
  background: #F3F1EC;
  box-shadow: 0 0 0 1px rgba(255, 98, 0, 0.12);
}

.hero-logo-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-identity p {
  margin: 0 0 0.28rem;
  color: var(--text);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.hero-identity span {
  display: block;
  max-width: 260px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.25;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Arial Narrow", Impact, sans-serif;
  line-height: 0.98;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.9rem, 5vw, 4.2rem);
  letter-spacing: 0;
}

.hero-tagline {
  margin: 1.1rem 0 0;
  color: var(--brand);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(1.3rem, 2.35vw, 1.65rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-text {
  max-width: 620px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.pilot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.55rem;
}

.button {
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--line-strong);
  font-size: 0.95rem;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active,
.nav-cta:active {
  transform: translateY(0);
}

.button-primary {
  color: #090800;
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 0 0 1px rgba(255, 98, 0, 0.32), 0 18px 48px rgba(255, 182, 0, 0.15);
}

.button-primary:hover {
  border-color: var(--accent);
  background: #ffc533;
}

.button-secondary {
  color: var(--text);
  background: rgba(12, 16, 20, 0.82);
}

.button-secondary:hover {
  color: var(--brand);
  border-color: var(--accent);
  background: rgba(255, 98, 0, 0.08);
}

.hero-meta {
  display: none;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
  color: var(--low);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
}

.hero-meta span {
  padding: 0.22rem 0.48rem;
  border: 1px solid var(--line);
  background: rgba(20, 26, 31, 0.55);
}

.signal-console {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(12, 16, 20, 0.94);
  box-shadow: 0 32px 90px var(--shadow), 0 0 0 1px rgba(255, 182, 0, 0.12);
}

.console-topbar,
.monitor-head,
.metric-row,
.evidence-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.console-topbar {
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.window-dots {
  display: flex;
  gap: 0.35rem;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.window-dots span:nth-child(1) {
  background: var(--critical);
}

.window-dots span:nth-child(2) {
  background: var(--brand);
}

.window-dots span:nth-child(3) {
  background: var(--ok);
}

.console-url {
  flex: 1;
  overflow: hidden;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
  color: var(--low);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: var(--bg);
}

.status-pill {
  padding: 0.3rem 0.5rem;
  border: 1px solid rgba(255, 45, 45, 0.28);
  color: var(--critical);
  background: rgba(255, 45, 45, 0.08);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  white-space: nowrap;
}

.monitor-head {
  padding: 1.3rem 1.35rem 0.7rem;
}

.monitor-kicker {
  margin: 0 0 0.32rem;
  color: var(--low);
  font-size: 0.66rem;
}

.monitor-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.run-id {
  color: var(--brand);
  font-size: 0.74rem;
}

.alert-strip {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin: 0.2rem 1.35rem 1rem;
  padding: 0.8rem;
  border: 1px solid rgba(255, 45, 45, 0.25);
  border-left: 3px solid var(--critical);
  color: var(--muted);
  background: rgba(255, 45, 45, 0.07);
}

.alert-code {
  min-width: max-content;
  color: var(--critical);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
}

.evidence-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  padding: 0 1.35rem 1.35rem;
}

.screenshot-card,
.log-card,
.evidence-card,
.compact-card,
.step-card,
.case-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(12, 16, 20, 0.86);
}

.browser-frame {
  display: grid;
  min-height: 230px;
  padding: 1rem;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 7px, transparent 7px 14px),
    var(--bg);
}

.frame-line {
  width: 80%;
  height: 8px;
  margin-bottom: 0.55rem;
  background: var(--line-strong);
}

.frame-line.short {
  width: 42%;
  background: rgba(255, 182, 0, 0.42);
}

.frame-block {
  height: 54px;
  margin: 0.4rem 0 0.6rem;
  border: 1px solid var(--line-strong);
  background: rgba(20, 26, 31, 0.78);
}

.frame-error {
  align-self: end;
  color: var(--critical);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 0.85;
}

.frame-caption {
  align-self: end;
  color: var(--low);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
}

.log-card {
  min-width: 0;
  padding: 0.95rem;
  background: var(--bg);
}

.log-card p {
  overflow-wrap: anywhere;
  margin: 0 0 0.72rem;
  color: var(--muted);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
}

.log-card p:last-child {
  margin-bottom: 0;
}

.log-card span {
  color: var(--accent);
}

.metric-row {
  border-top: 1px solid var(--line);
}

.metric-row div {
  flex: 1;
  padding: 0.9rem 1rem;
  border-right: 1px solid var(--line);
}

.metric-row div:last-child {
  border-right: 0;
}

.metric-label {
  display: block;
  color: var(--low);
  font-size: 0.62rem;
}

.metric-row strong {
  color: var(--brand);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.section {
  width: min(1120px, 90vw);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6.8rem) 0;
}

.section-tight {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.2rem;
}

.section-kicker {
  margin: 0 0 0.65rem;
  color: var(--brand);
  font-size: 0.75rem;
}

.section-heading h2,
.pilot-panel h2 {
  font-size: clamp(2.3rem, 5.5vw, 4.3rem);
  letter-spacing: 0;
}

.section-heading p,
.pilot-panel p,
.compact-card p,
.evidence-card p,
.step-card p,
.case-card p,
.faq-list p,
.site-footer p {
  color: var(--muted);
}

.problem-grid,
.steps-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.compact-card,
.step-card,
.case-card,
.evidence-card {
  padding: 1.15rem;
}

.compact-card {
  border-top: 2px solid var(--brand);
}

.compact-card:nth-child(even) {
  border-top-color: var(--accent);
}

.card-index,
.step-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
}

.compact-card h3,
.step-card h3,
.case-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.05;
}

.compact-card p,
.step-card p,
.case-card p {
  margin: 0;
  font-size: 0.93rem;
}

.evidence-section,
.cases-section {
  position: relative;
  width: 100%;
  max-width: none;
  padding-right: 5vw;
  padding-left: 5vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 26, 31, 0.8), rgba(6, 8, 9, 0.96));
}

.evidence-section > *,
.cases-section > * {
  width: min(1120px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.evidence-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 0.9rem;
}

.evidence-card {
  min-height: 184px;
}

.evidence-shot {
  grid-row: span 2;
}

.telegram-card {
  grid-column: span 2;
}

.evidence-title {
  margin-bottom: 1rem;
}

.evidence-title span {
  color: var(--text);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.evidence-title strong {
  color: var(--brand);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 500;
}

.mini-browser {
  min-height: 305px;
  padding: 1rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, transparent 0 26px, rgba(255, 255, 255, 0.035) 27px),
    var(--bg);
}

.mini-url {
  overflow: hidden;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.55rem;
  color: var(--low);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: var(--surface-2);
}

.mini-state {
  color: var(--critical);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  line-height: 0.82;
}

.mini-browser p {
  max-width: 220px;
}

.evidence-card code + code {
  margin-top: 0.75rem;
}

.telegram-bubble {
  max-width: 520px;
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(0, 221, 179, 0.2);
  border-left: 3px solid var(--teal);
  background: rgba(0, 221, 179, 0.08);
}

.steps-grid {
  position: relative;
}

.step-card {
  border-top: 2px solid var(--line-strong);
}

.step-card span {
  color: var(--brand);
}

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

.case-card {
  min-height: 190px;
  background:
    linear-gradient(180deg, rgba(255, 182, 0, 0.055), transparent 48%),
    rgba(12, 16, 20, 0.86);
}

.pilot-section {
  padding: clamp(4rem, 8vw, 6.8rem) 5vw;
}

.pilot-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(2rem, 6vw, 4rem);
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(1.3rem, 4vw, 2.6rem);
  border: 1px solid rgba(255, 182, 0, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 182, 0, 0.13), transparent 34%),
    var(--surface);
  box-shadow: 0 30px 90px var(--shadow);
}

.pilot-aside {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(6, 8, 9, 0.68);
}

.price-note {
  margin-bottom: 1rem;
  color: var(--brand);
  font-size: 0.78rem;
}

.pilot-aside ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pilot-aside li {
  display: flex;
  gap: 0.55rem;
  color: var(--muted);
}

.pilot-aside li::before {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 0.55rem;
  content: "";
  background: var(--accent);
}

.faq-section {
  padding-top: 3rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 880px;
}

details {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(12, 16, 20, 0.74);
}

summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  color: var(--text);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

details[open] summary {
  border-bottom: 1px solid var(--line);
  color: var(--brand);
}

details p {
  margin: 0;
  padding: 1rem 1.15rem 1.15rem;
}

details code {
  display: inline;
  color: var(--brand);
  font-size: 0.9em;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.4rem 5vw;
  border-top: 1px solid var(--line);
  color: var(--low);
  background: #040506;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.site-footer strong {
  color: var(--text);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .top-nav {
    display: none;
  }

  .hero-shell,
  .pilot-panel {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
  }

  .signal-console {
    max-width: 720px;
  }

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

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

  .evidence-shot,
  .telegram-card {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 62px;
    padding: 0 4vw;
  }

  .brand-mark {
    width: 104px;
    height: 104px;
  }

  .brand-mark-frame {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1.06rem;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0.45rem 0.62rem;
    font-size: 0.78rem;
  }

  .hero-shell,
  .section {
    width: min(100% - 2rem, 1120px);
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .hero-text {
    display: none;
  }

  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero-meta span {
    flex: 1 1 100%;
  }

  .hero-meta {
    display: none;
  }

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

  .hero-shell {
    gap: 1.2rem;
    padding: 1.25rem 0 1.8rem;
  }

  .hero-identity {
    width: 100%;
    gap: 0.7rem;
    padding: 0.5rem 0.65rem 0.5rem 0.5rem;
  }

  .hero-logo-plate {
    width: 72px;
    height: 72px;
  }

  .hero-identity p {
    font-size: 1.05rem;
  }

  .hero-identity span {
    font-size: 0.78rem;
  }

  .console-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .signal-console .evidence-layout,
  .signal-console .metric-row {
    display: none;
  }

  .evidence-layout,
  .problem-grid,
  .steps-grid,
  .case-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .evidence-shot,
  .telegram-card {
    grid-column: auto;
  }

  .metric-row {
    align-items: stretch;
    flex-direction: column;
  }

  .metric-row div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

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

  .browser-frame {
    min-height: 190px;
  }

  .site-footer {
    flex-direction: column;
  }
}
