:root {
  color-scheme: light;
  --ink: #102033;
  --navy: #0b1726;
  --teal: #0f766e;
  --blue: #2563eb;
  --green: #16a34a;
  --muted: #64748b;
  --line: #cbd5e1;
  --soft: #f8fafc;
  --panel: #ffffff;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 14px clamp(20px, 4vw, 64px);
  background: rgba(11, 23, 38, 0.96);
  color: #fff;
  border-bottom: 1px solid rgba(203, 213, 225, 0.16);
}

.brand img {
  width: 230px;
  height: auto;
}

.nav,
.header-actions,
.footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a,
.nav-link,
.footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav a:hover,
.nav-link:hover,
.footer a:hover {
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background: #1d4ed8;
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

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

.button-secondary:hover {
  background: #f1f5f9;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.button-ghost:hover {
  background: #e2e8f0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 80px) clamp(40px, 6vw, 80px);
  background: linear-gradient(180deg, #0b1726 0%, #102033 54%, #f8fafc 54%, #f8fafc 100%);
  color: #fff;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta .eyebrow {
  color: #5eead4;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

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

.hero-subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  max-width: 710px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 14px;
}

.trust-note {
  color: rgba(226, 232, 240, 0.8);
  font-size: 14px;
}

.hero-visual {
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.26);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(54px, 7vw, 92px) clamp(20px, 5vw, 80px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  background: #fff;
}

.text-stack p,
.section-intro {
  max-width: 860px;
  color: #475569;
  font-size: 18px;
}

.pain-grid,
.value-grid,
.feature-grid,
.screenshot-grid {
  display: grid;
  gap: 14px;
}

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

.pain-grid span,
.value-grid article,
.feature-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.pain-grid span {
  padding: 14px 16px;
  color: #334155;
  font-weight: 700;
}

.solution,
.screenshots,
.faq {
  background: var(--soft);
}

.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}

.value-grid article,
.feature-grid article {
  padding: 22px;
}

.value-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.value-grid p,
.feature-grid p,
.faq-list p {
  margin: 0;
  color: #475569;
}

.workflow {
  background: #fff;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.workflow-steps span {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid #99f6e4;
  border-radius: 8px;
  background: #ecfeff;
  color: #134e4a;
  font-weight: 800;
  text-align: center;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 30px;
}

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

figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

figcaption {
  padding: 12px 14px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.demo {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
  gap: clamp(24px, 5vw, 64px);
  background: var(--navy);
  color: #fff;
}

.demo p {
  color: rgba(255, 255, 255, 0.76);
}

.demo-links {
  display: grid;
  gap: 12px;
}

.demo-links a {
  padding: 18px;
  border: 1px solid rgba(203, 213, 225, 0.24);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 750;
  text-decoration: none;
}

.demo-links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

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

.security {
  background: #fff;
}

.security p {
  max-width: 920px;
  color: #475569;
  font-size: 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  padding-top: 10px;
}

.cta {
  margin: clamp(20px, 4vw, 56px) clamp(20px, 5vw, 80px) clamp(56px, 7vw, 92px);
  padding: clamp(36px, 6vw, 64px);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 34px clamp(20px, 5vw, 80px);
  background: #07111f;
  color: #fff;
}

.footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

@media (max-width: 1040px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .header-actions,
  .footer nav {
    flex-wrap: wrap;
  }

  .hero,
  .split,
  .demo {
    grid-template-columns: 1fr;
  }

  .hero {
    background: var(--navy);
  }

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

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

@media (max-width: 680px) {
  .site-header {
    position: static;
  }

  .brand img {
    width: 210px;
  }

  .nav {
    gap: 12px;
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-actions,
  .header-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .button,
  .nav-link {
    width: 100%;
  }

  .pain-grid,
  .value-grid,
  .feature-grid,
  .screenshot-grid,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 18px;
  }
}
