:root {
  color-scheme: dark;
  --bg: #04070f;
  --bg-alt: #0a101c;
  --surface: rgba(148, 163, 184, 0.08);
  --surface-strong: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --text-dim: rgba(226, 232, 240, 0.76);
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --accent-soft: rgba(56, 189, 248, 0.14);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 30px 70px rgba(2, 6, 23, 0.55);
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: 'Sora', 'Manrope', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(circle at 82% 6%, rgba(45, 212, 191, 0.08), transparent 60%),
    var(--bg);
}

.hero {
  padding: 48px clamp(24px, 5vw, 80px) 96px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1.12rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.32);
  object-fit: cover;
  display: inline-block;
  overflow: hidden;
}

.brand-name {
  display: inline-flex;
  align-items: center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 22px;
  text-decoration: none;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #021221;
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.35);
}

.button--primary:hover,
.button--primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(14, 165, 233, 0.45);
}

.button--ghost {
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--text);
  background: rgba(15, 23, 42, 0.4);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(148, 163, 184, 0.12);
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  margin: 0 0 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin: 32px 0 28px;
}

.hero-highlights {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--text-dim);
}

.hero-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.hero-highlights li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.browser-frame {
  background: rgba(15, 23, 42, 0.85);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: var(--shadow-soft);
  padding: clamp(18px, 3vw, 26px);
  width: min(480px, 100%);
  position: relative;
  overflow: hidden;
}

.browser-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.12), transparent 65%);
  pointer-events: none;
}

.browser-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
}

.browser-content {
  background: rgba(2, 6, 23, 0.82);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.22);
  overflow: hidden;
  position: relative;
  padding: clamp(14px, 3vw, 20px);
}

.hero-screenshot {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: rgba(2, 6, 23, 0.75);
  gap: 16px;
  padding: clamp(12px, 3vw, 18px);
}

.hero-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 24px 46px rgba(2, 6, 23, 0.55);
}

.hero-screenshot figcaption {
  margin: 0;
  padding-top: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-dim);
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.section {
  padding: clamp(72px, 12vw, 120px) clamp(24px, 6vw, 80px);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  margin: 0 0 16px;
}

.section-lead {
  font-size: 1.04rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature {
  padding: 28px;
  background: rgba(15, 23, 42, 0.72);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.18);
  display: grid;
  gap: 12px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature:hover,
.feature:focus-within {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.feature p {
  color: var(--text-dim);
  line-height: 1.6;
}

.section--screenshots {
  background: rgba(2, 6, 23, 0.6);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  justify-items: center;
}

.screenshot {
  margin: 0;
  background: rgba(15, 23, 42, 0.78);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.35);
  width: min(100%, 420px);
}

.screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot figcaption {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.section--alt {
  background: var(--bg-alt);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.workflow {
  padding: 26px;
  background: rgba(2, 6, 23, 0.6);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.2);
  display: grid;
  gap: 12px;
}

.workflow p {
  color: var(--text-dim);
  line-height: 1.6;
}

.section--cta {
  text-align: center;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.footer {
  padding: 48px clamp(24px, 6vw, 80px) 64px;
  background: #020617;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  margin-bottom: 32px;
}

.footer-brand p {
  color: var(--text-dim);
  max-width: 240px;
  line-height: 1.6;
}

.footer-heading {
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--accent);
}

.footer-note {
  margin: 0;
  color: rgba(148, 163, 184, 0.6);
  font-size: 0.86rem;
}

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-text {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .nav-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-highlights {
    gap: 12px;
  }

  .hero-highlights li {
    align-items: flex-start;
  }

  .cta-actions {
    flex-direction: column;
  }
}
