:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #0d0d0f;
  --panel-strong: #121216;
  --text: #f7f7f8;
  --muted: #a4a6ad;
  --subtle: #6f737c;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #64d2ff;
  --accent-2: #7cffb2;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% -10%, rgba(100, 210, 255, 0.18), transparent 34rem),
    var(--bg);
  background-size: 56px 56px, 56px 56px, auto, auto;
}

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

.page-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.workflow-steps {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 0 0 1px rgba(100, 210, 255, 0.08);
}

.nav-links {
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.nav-links a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.84fr);
  gap: 72px;
  align-items: center;
  min-height: min(760px, calc(100vh - 72px));
  padding: 64px 0 84px;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(48px, 5.9vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 650;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.34);
}

.button-primary {
  color: #070707;
  background: #f8f8f8;
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.console-panel {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), transparent 42%),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
}

.console-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.console-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 74% 48%, rgba(100, 210, 255, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(5, 5, 5, 0.06), rgba(5, 5, 5, 0.72));
}

.panel-bar {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 7px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.panel-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4a4d55;
}

.terminal-lines {
  position: relative;
  z-index: 2;
  max-width: 390px;
  margin: 26px 28px 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 5, 6, 0.52);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.terminal-lines p {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted);
}

.terminal-lines span {
  min-width: 24px;
  color: var(--accent-2);
}

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

.section-heading {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 38px;
}

.section-heading h2,
.workflow-band h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.focus-item {
  min-height: 330px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.focus-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.55;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  object-fit: cover;
  background: var(--panel);
}

.focus-item:last-child {
  border-right: 0;
}

.focus-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--subtle);
  font-size: 12px;
}

.focus-item h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.focus-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.workflow-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
  padding: 70px 0;
  border-top: 1px solid var(--line);
}

.workflow-steps {
  flex-wrap: wrap;
  gap: 10px;
}

.workflow-visual-wrap {
  display: grid;
  gap: 12px;
}

.workflow-image {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.workflow-steps span {
  flex: 1 1 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 14px;
  font-weight: 650;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 0 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  color: var(--text);
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 650;
  line-height: 1.35;
}

.company-name {
  margin: 14px 0 0;
  color: var(--subtle);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer p:last-child {
  max-width: 360px;
  margin-bottom: 0;
  text-align: right;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .hero,
  .section-heading,
  .workflow-band {
    grid-template-columns: 1fr;
  }

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

  .console-panel {
    min-height: 360px;
  }

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

  .focus-item:nth-child(2) {
    border-right: 0;
  }

  .focus-item:nth-child(1),
  .focus-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links a {
    flex: 1;
    text-align: center;
  }

  h1 {
    font-size: 46px;
  }

  .hero {
    padding: 48px 0 72px;
  }

  .console-panel {
    min-height: 330px;
  }

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

  .focus-item,
  .focus-item:nth-child(2) {
    border-right: 0;
  }

  .focus-item,
  .focus-item:nth-child(1),
  .focus-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .focus-item:last-child {
    border-bottom: 0;
  }

  .focus-number {
    margin-bottom: 34px;
  }

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

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