:root {
  color-scheme: dark;
  --bg: #09090b;
  --panel: #18181b;
  --panel-strong: #111113;
  --line: #27272a;
  --text: #fafafa;
  --muted: #a1a1aa;
  --dim: #71717a;
  --purple: #7c3aed;
  --purple-soft: rgba(124, 58, 237, 0.15);
  --green: #22c55e;
  --orange: #f97316;
  --cyan: #06b6d4;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.08), transparent 360px),
    var(--bg);
  color: var(--text);
}

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

button,
input {
  font: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(9, 9, 11, 0.82);
  border-bottom: 1px solid rgba(39, 39, 42, 0.72);
  display: flex;
  height: 80px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(20px, 5vw, 80px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand,
.mini-brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.brand-mark {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

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

.desktop-nav a {
  transition: color 160ms ease;
}

.desktop-nav a:hover {
  color: var(--text);
}

.button,
.beta-form button,
.mock-header button {
  align-items: center;
  background: var(--purple);
  border: 0;
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.beta-form button:hover,
.mock-header button:hover {
  background: #8b5cf6;
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.24);
  transform: translateY(-1px);
}

.button-small {
  font-size: 14px;
  padding: 10px 18px;
}

.button-large {
  font-size: 16px;
  padding: 15px 24px;
}

.hero {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 48px;
  overflow: hidden;
  padding: 180px clamp(20px, 5vw, 80px) 0;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, #000 0, transparent 70%);
  pointer-events: none;
  position: absolute;
}

.hero-copy {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 850px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.kicker {
  background: var(--purple-soft);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 999px;
  color: #a78bfa;
  display: inline-flex;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  margin: 0;
  padding: 5px 11px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1.05;
  max-width: 850px;
}

.hero-subtitle {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  max-width: 620px;
}

.hero-console {
  background: var(--panel);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.36);
  max-width: 1120px;
  overflow: hidden;
  padding: 1px;
  position: relative;
  width: min(100%, 1120px);
  z-index: 1;
}

.console-topbar {
  align-items: center;
  background: #101013;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
}

.console-topbar span {
  border-radius: 50%;
  display: block;
  height: 10px;
  width: 10px;
}

.console-topbar span:nth-child(1) {
  background: #ef4444;
}

.console-topbar span:nth-child(2) {
  background: #f59e0b;
}

.console-topbar span:nth-child(3) {
  background: #22c55e;
}

.console-topbar strong {
  color: var(--dim);
  font-size: 12px;
  margin-left: 8px;
}

.workflow-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  min-height: 430px;
  padding: clamp(20px, 4vw, 48px);
}

.workflow-grid article {
  align-items: center;
  background: rgba(9, 9, 11, 0.72);
  border: 1px solid rgba(39, 39, 42, 0.86);
  border-radius: 10px;
  display: flex;
  gap: 12px;
  min-height: 86px;
  padding: 16px;
}

.workflow-grid h3 {
  font-size: 14px;
  margin-bottom: 5px;
}

.workflow-grid p {
  color: var(--dim);
  font-size: 12px;
}

.icon-tile,
.feature-icon {
  align-items: center;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.24);
  border-radius: 10px;
  color: #a78bfa;
  display: inline-flex;
  flex: 0 0 auto;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.icon-tile svg,
.feature-icon svg {
  height: 21px;
  width: 21px;
}

.icon-tile.green {
  color: var(--green);
}

.icon-tile.blue {
  color: #60a5fa;
}

.icon-tile.amber,
.icon-tile.orange {
  color: #f59e0b;
}

.icon-tile.cyan {
  color: var(--cyan);
}

.icon-tile.pink,
.icon-tile.danger {
  color: #fb7185;
}

.logo-strip {
  align-items: center;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 48px clamp(20px, 5vw, 80px);
}

.logo-strip > p {
  color: var(--dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.tool-row {
  align-items: center;
  color: var(--dim);
  display: flex;
  flex-wrap: wrap;
  font-size: 18px;
  font-weight: 800;
  gap: clamp(22px, 7vw, 86px);
  justify-content: center;
  width: min(100%, 1120px);
}

.section {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 128px clamp(20px, 5vw, 80px);
}

.section-heading {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  text-align: center;
}

.section-heading h2,
.faq-section h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}

.feature-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1120px;
  width: 100%;
}

.feature-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}

.feature-grid h3 {
  font-size: 18px;
  margin-top: 20px;
}

.feature-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin-top: 10px;
}

.interface-section {
  padding-top: 40px;
}

.app-shell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 240px 1fr;
  max-width: 1120px;
  min-height: 600px;
  overflow: hidden;
  width: 100%;
}

.app-shell aside {
  background: var(--bg);
  border-right: 1px solid var(--line);
  padding: 24px;
}

.mini-brand {
  font-size: 16px;
}

.mini-brand .brand-mark {
  height: 24px;
  width: 24px;
}

.app-shell nav {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.app-shell nav span {
  border-radius: 8px;
  color: var(--dim);
  font-size: 14px;
  font-weight: 700;
  padding: 10px;
}

.app-shell nav .active {
  background: var(--purple-soft);
  color: #a78bfa;
}

.mock-content {
  padding: clamp(24px, 4vw, 40px);
}

.mock-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mock-header h3 {
  font-size: 24px;
}

.mock-header button {
  font-size: 14px;
  padding: 11px 18px;
}

.sync-table {
  background: var(--line);
  display: grid;
  gap: 1px;
}

.table-head,
.table-row {
  align-items: center;
  background: var(--panel);
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 120px 120px;
  min-width: 0;
  padding: 16px;
}

.table-head {
  background: var(--bg);
  color: var(--dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.table-row {
  color: var(--muted);
  font-size: 14px;
}

.table-row > span:first-child {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-weight: 800;
  gap: 12px;
  min-width: 0;
}

.table-row i {
  background: var(--purple-soft);
  border-radius: 6px;
  display: inline-block;
  flex: 0 0 auto;
  height: 32px;
  width: 32px;
}

.status {
  border: 1px solid;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  justify-self: start;
  padding: 5px 8px;
}

.status.good {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.2);
  color: var(--green);
}

.status.drift {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.2);
  color: var(--orange);
}

.beta-section {
  padding: 70px clamp(20px, 5vw, 80px) 128px;
}

.beta-card {
  align-items: center;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(120deg, var(--purple), var(--cyan)) border-box;
  border: 1px solid transparent;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(32px, 6vw, 64px);
  text-align: center;
}

.beta-card h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.beta-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  margin-top: 12px;
}

.beta-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  width: 100%;
}

.beta-form input {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  flex: 1 1 auto;
  height: 50px;
  min-width: 0;
  padding: 0 16px;
}

.beta-form input:focus {
  border-color: var(--purple);
  outline: 2px solid rgba(124, 58, 237, 0.24);
}

.beta-form button {
  flex: 0 0 auto;
  padding: 0 24px;
}

.form-message {
  color: #a78bfa;
  font-size: 14px;
  min-height: 20px;
}

.faq-section {
  padding-top: 0;
}

.faq-list {
  background: var(--line);
  display: grid;
  gap: 1px;
  max-width: 800px;
  width: 100%;
}

details {
  background: var(--bg);
  padding: 24px 0;
}

summary {
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 12px;
}

.site-footer {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 64px;
  grid-template-columns: 1fr;
  padding: 80px clamp(20px, 5vw, 80px) 40px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 18px;
  max-width: 320px;
}

.copyright {
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
  padding-top: 32px;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

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

  .site-header {
    height: 72px;
  }

  .hero {
    padding-top: 130px;
  }

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

  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-shell aside {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

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

  .table-head,
  .table-row {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 620px) {
  .button-small {
    display: none;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section,
  .beta-section,
  .logo-strip,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .workflow-grid article {
    align-items: flex-start;
  }

  .beta-form {
    flex-direction: column;
  }

  .beta-form button {
    height: 50px;
    width: 100%;
  }
}
