:root {
  color-scheme: dark;
  --bg: #0d1117;
  --bg-soft: #111820;
  --card: #161b22;
  --card-muted: #1b222c;
  --border: #30363d;
  --border-strong: #3d4652;
  --text: #f0f6fc;
  --muted: #8b949e;
  --muted-strong: #c9d1d9;
  --accent: #7dd8e8;
  --accent-strong: #a7f3ff;
  --accent-dark: #14313a;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 76px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(48, 54, 61, 0.9);
  background: rgba(13, 17, 23, 0.86);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  background: var(--card);
  color: var(--accent-strong);
  font-size: 0.95rem;
}

.nav-links {
  gap: 6px;
}

.nav-links a {
  border-radius: 7px;
  padding: 8px 12px;
  color: var(--muted-strong);
  font-size: 0.92rem;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover {
  background: var(--card);
  color: var(--text);
}

.section {
  padding: 88px 0;
}

.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding-top: 96px;
  padding-bottom: 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 56px;
  align-items: center;
}

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

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

h1 {
  margin-bottom: 10px;
  font-size: clamp(3.5rem, 10vw, 6.75rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.25;
}

.tagline {
  margin-bottom: 18px;
  color: var(--muted-strong);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.22;
}

.hero-description {
  max-width: 660px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.06rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

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

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

.button-primary {
  border-color: rgba(125, 216, 232, 0.52);
  background: var(--accent-dark);
  color: var(--accent-strong);
}

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

.button-secondary {
  background: var(--card);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--muted);
  background: var(--card-muted);
}

.button-large {
  min-height: 52px;
  padding-inline: 22px;
}

.note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-preview {
  min-width: 0;
}

.desktop-frame {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.browser-top {
  display: flex;
  gap: 8px;
  height: 42px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 0 14px;
  background: #11161d;
}

.browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3d4652;
}

.mock-screen {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  min-height: 390px;
  background: #0f141b;
}

.mock-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  border-right: 1px solid var(--border);
  padding: 22px 16px;
}

.mock-sidebar span,
.mock-line,
.mock-panel {
  border-radius: 6px;
  background: #242c36;
}

.mock-sidebar span {
  height: 28px;
}

.mock-content {
  padding: 34px 30px;
}

.mock-line {
  width: 64%;
  height: 16px;
  margin-bottom: 14px;
}

.mock-line.wide {
  width: 84%;
}

.mock-panel {
  width: 100%;
  height: 180px;
  margin-top: 28px;
  border: 1px solid #2b333d;
  background:
    linear-gradient(90deg, rgba(125, 216, 232, 0.11), transparent 54%),
    #151b23;
}

.overlay-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(330px, calc(100% - 44px));
  border: 1px solid rgba(125, 216, 232, 0.32);
  border-radius: 8px;
  background: rgba(22, 27, 34, 0.96);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
  padding: 16px;
}

.overlay-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(125, 216, 232, 0.1);
}

.overlay-status {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.76rem;
}

.overlay-card p {
  margin-bottom: 12px;
  color: var(--muted-strong);
  font-weight: 600;
}

.overlay-answer,
.overlay-input {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--muted-strong);
  font-size: 0.88rem;
}

.overlay-answer {
  margin-bottom: 10px;
  background: #111820;
}

.overlay-input {
  color: var(--muted);
  background: #0d1117;
}

.section-heading {
  margin-bottom: 32px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.card {
  min-height: 158px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  padding: 22px;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.card:hover {
  border-color: var(--border-strong);
  background: var(--card-muted);
  transform: translateY(-2px);
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-band {
  border-block: 1px solid var(--border);
  background: var(--bg-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0d1117;
  padding: 22px;
}

.steps span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.steps strong {
  display: block;
  margin-bottom: 10px;
  line-height: 1.3;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.safety-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 44px;
  align-items: start;
}

.safety-card,
.download-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}

.safety-card {
  padding: 28px;
}

.safety-card p {
  color: var(--muted-strong);
  font-size: 1.04rem;
}

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

.safety-list li {
  border-top: 1px solid var(--border);
  padding-top: 10px;
  color: var(--muted);
}

.download-section {
  padding-top: 44px;
}

.download-panel {
  padding: 42px;
  text-align: center;
}

.download-panel h2 {
  margin-inline: auto;
}

.download-buttons {
  justify-content: center;
  margin-top: 28px;
}

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

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

  .product-preview {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 24px, 1120px);
    min-height: 58px;
  }

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

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding: 7px 8px;
    font-size: 0.84rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-inner {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    padding-top: 68px;
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 4.7rem);
  }

  h2 {
    font-size: 2rem;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .mock-screen {
    grid-template-columns: 62px 1fr;
    min-height: 350px;
  }

  .mock-sidebar {
    padding: 18px 12px;
  }

  .mock-content {
    padding: 24px 18px;
  }

  .overlay-card {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }

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

  .card {
    min-height: auto;
  }

  .safety-grid {
    gap: 20px;
  }

  .download-panel {
    padding: 30px 18px;
  }
}

@media (max-width: 430px) {
  section {
    scroll-margin-top: 110px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
  }

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

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