:root {
  --bg: #ffffff;
  --ink: #122528;
  --muted: #5c6b6e;
  --soft: #eef5f4;
  --line: #dbe6e4;
  --panel: #f8fbfb;
  --dark: #102225;
  --dark-2: #182f33;
  --cyan: #1dddc2;
  --cyan-dark: #0b8d7e;
  --amber: #d69834;
  --danger: #dd5b4f;
  --shadow: 0 24px 70px rgba(18, 37, 40, 0.12);
  --radius: 8px;
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 37, 40, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 37, 40, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 48%);
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 220px;
  overflow: visible;
}

.brand-logo {
  display: block;
  width: 220px;
  height: auto;
  margin: -38px 0;
  flex: 0 0 auto;
  user-select: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a,
.header-cta,
.button {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

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

.header-cta {
  min-width: 132px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.header-cta:hover {
  background: var(--ink);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: 56px;
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 170px);
  margin: 0 auto;
  padding: 64px 0 72px;
}

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

.hero h1 {
  margin: 0;
  font-size: 64px;
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 780;
}

.hero p {
  margin: 28px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 760;
  cursor: pointer;
}

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

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

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

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

.button.secondary:hover {
  border-color: var(--ink);
}

.product-shell {
  overflow: hidden;
  border: 1px solid #233b3f;
  border-radius: var(--radius);
  background: var(--dark);
  box-shadow: var(--shadow);
}

.product-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #bed4d3;
}

.window-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #385155;
}

.window-dot:first-child {
  background: var(--danger);
}

.window-dot:nth-child(2) {
  background: var(--amber);
}

.window-dot:nth-child(3) {
  background: var(--cyan);
}

.topbar-title {
  margin-left: 10px;
  font-size: 13px;
  font-weight: 650;
}

.product-body {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
}

.product-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.rail-mark {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #284347;
}

.rail-mark.active {
  background: var(--cyan);
}

.investigation-panel,
.queue-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.investigation-panel {
  padding: 18px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.panel-title {
  color: #f4fbfb;
  font-size: 15px;
  font-weight: 760;
}

.panel-status,
.queue-count {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.route-visual {
  display: grid;
  place-items: center;
  min-height: 210px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.route-visual svg {
  width: 100%;
  max-width: 520px;
  height: auto;
}

.finding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.finding-grid div {
  min-height: 78px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.finding-label {
  display: block;
  margin-bottom: 8px;
  color: #8ea7aa;
  font-size: 12px;
  font-weight: 700;
}

.finding-grid strong {
  display: block;
  color: #f8fbfb;
  font-size: 14px;
  line-height: 1.4;
}

.queue-panel {
  grid-column: 2;
  padding: 18px;
}

.queue-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.queue-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  align-items: start;
  gap: 12px;
  min-height: 66px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.severity {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
}

.severity.high {
  background: var(--danger);
}

.severity.medium {
  background: var(--amber);
}

.severity.low {
  background: var(--cyan);
}

.queue-list strong,
.queue-list span {
  display: block;
}

.queue-list strong {
  color: #f8fbfb;
  font-size: 14px;
  line-height: 1.35;
}

.queue-list div span {
  margin-top: 5px;
  color: #9fb6b8;
  font-size: 12px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 104px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.proof-strip div {
  min-height: 126px;
  padding: 24px;
  background: #fff;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  font-size: 16px;
  line-height: 1.35;
}

.proof-strip span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.asymmetry-section,
.approach-section,
.use-case-section,
.contact-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0;
}

.asymmetry-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  border-top: 1px solid var(--line);
}

.section-copy {
  max-width: 560px;
}

.section-copy.compact {
  max-width: 760px;
}

.section-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.06;
  letter-spacing: 0;
}

.section-copy p,
.contact-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.asymmetry-grid article,
.use-case-grid article {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.route-number {
  display: block;
  margin-bottom: 42px;
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 800;
}

.asymmetry-grid h3,
.use-case-grid h3,
.process-row h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.asymmetry-grid p,
.use-case-grid p,
.process-row p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

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

.process-list {
  display: grid;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.process-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.process-index {
  color: var(--cyan-dark);
  font-size: 14px;
  font-weight: 800;
}

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

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.65fr);
  gap: 72px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact-copy {
  max-width: 620px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 42px rgba(18, 37, 40, 0.07);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 730;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  outline: none;
}

.contact-form input {
  height: 46px;
  padding: 0 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 122px;
  padding: 12px 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan-dark);
  box-shadow: 0 0 0 3px rgba(29, 221, 194, 0.18);
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

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

  .hero,
  .asymmetry-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 42px;
    min-height: auto;
    padding-top: 48px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .product-shell {
    max-width: 720px;
  }

  .asymmetry-section,
  .contact-section {
    gap: 42px;
  }

  .use-case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body::before {
    background-size: 42px 42px;
  }

  .site-header {
    width: min(340px, calc(100vw - 56px));
    max-width: var(--max);
    gap: 16px;
    padding: 16px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 190px;
    max-width: 56vw;
    margin: -34px 0;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .proof-strip,
  .asymmetry-section,
  .approach-section,
  .use-case-section,
  .contact-section,
  .site-footer {
    width: min(340px, calc(100vw - 56px));
    max-width: 340px;
    margin-left: 14px;
    margin-right: auto;
    min-width: 0;
  }

  .hero {
    display: block;
    padding: 38px 0 44px;
  }

  .hero-copy,
  .product-shell,
  .section-copy,
  .contact-copy,
  .contact-form {
    width: 100%;
    max-width: 340px;
    min-width: 0;
  }

  .hero h1,
  .hero p {
    width: 100%;
    max-width: 100%;
  }

  .product-shell {
    width: 100%;
    margin-top: 42px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.03;
  }

  .hero p,
  .section-copy p,
  .contact-copy p {
    font-size: 16px;
  }

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

  .product-body {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .product-rail {
    display: none;
  }

  .queue-panel {
    grid-column: auto;
  }

  .finding-grid,
  .proof-strip,
  .asymmetry-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin-bottom: 56px;
  }

  .asymmetry-section,
  .approach-section,
  .use-case-section,
  .contact-section {
    padding: 68px 0;
  }

  .section-copy h2,
  .contact-copy h2 {
    font-size: 32px;
    line-height: 1.12;
  }

  .asymmetry-grid article,
  .use-case-grid article {
    min-height: auto;
  }

  .route-number {
    margin-bottom: 28px;
  }

  .process-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-form {
    padding: 18px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
