:root {
  color-scheme: light;
  --ink: #17191f;
  --muted: #667085;
  --soft: #f4f5f7;
  --paper: #ffffff;
  --line: #dde1e8;
  --primary: #7b2ff2;
  --primary-dark: #5520b7;
  --primary-soft: #f3edff;
  --primary-line: #d8c7ff;
  --teal: #0f766e;
  --amber: #c47d13;
  --blue: #315f9f;
  --shadow: 0 24px 70px rgba(31, 38, 54, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f7f7f5 0%, #ffffff 46%, #f5f7f8 100%);
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid rgba(221, 225, 232, 0.72);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  box-shadow: 0 8px 20px rgba(123, 47, 242, 0.22);
}

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

.site-nav a {
  text-decoration: none;
}

.nav-cta {
  padding: 10px 14px;
  border-radius: 7px;
  color: #fff;
  background: var(--primary);
}

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  min-height: calc(100vh - 72px);
  padding: clamp(46px, 7vw, 88px) 0;
}

.status-line {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 10px;
  border: 1px solid #d8ddd9;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: var(--primary-line);
  font-size: 13px;
  font-weight: 700;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.96;
  font-weight: 780;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 28px;
  color: #4b5565;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(123, 47, 242, 0.24);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
}

.fine-print {
  max-width: 520px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.hero-media {
  position: relative;
  min-width: 0;
}

.hero-media::before {
  position: absolute;
  inset: auto 14% -20px 14%;
  height: 70px;
  border-radius: 999px;
  background: rgba(23, 25, 31, 0.16);
  filter: blur(24px);
  content: "";
}

.hero-media img,
.hero-media video {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(23, 25, 31, 0.08);
  border-radius: 34px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.phone-preview {
  width: min(430px, 100%, 32vh);
  justify-self: center;
}

.capabilities,
.sample-export,
.test-plan,
.feedback {
  padding: clamp(56px, 8vw, 92px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(260px, 0.38fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.02;
  font-weight: 760;
}

.section-heading p,
.feedback p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.feature-number {
  display: block;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.workflow-list {
  display: grid;
  gap: 18px;
}

.workflow-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(220px, 0.42fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(31, 38, 54, 0.07);
}

.workflow-card.reverse .workflow-copy {
  order: 2;
}

.workflow-card.reverse .phone-frame {
  order: 1;
}

.workflow-copy {
  max-width: 600px;
}

.workflow-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.04;
}

.workflow-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.phone-frame {
  position: relative;
  width: min(280px, 100%);
  margin: 0;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(23, 25, 31, 0.08);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: 0 24px 56px rgba(31, 38, 54, 0.16);
}

.phone-frame img {
  width: 100%;
  height: auto;
}

.phone-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 16px;
  align-items: start;
}

.phone-pair .phone-frame {
  width: min(260px, 100%);
}

.phone-pair .offset {
  margin-top: 54px;
}

.sample-export {
  display: grid;
  grid-template-columns: minmax(260px, 0.64fr) minmax(260px, 0.46fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.pdf-preview {
  margin: 0;
  padding: clamp(12px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8fa;
  box-shadow: 0 24px 60px rgba(31, 38, 54, 0.12);
}

.pdf-preview img {
  width: 100%;
  border: 1px solid rgba(23, 25, 31, 0.12);
  border-radius: 3px;
  background: var(--paper);
}

.sample-export-copy {
  max-width: 540px;
}

.sample-export-copy h2 {
  margin-bottom: 18px;
}

.sample-export-copy p {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.test-plan {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.steps p {
  margin-bottom: 0;
  color: #4b5565;
  font-size: 15px;
  line-height: 1.52;
}

.wide-cta {
  min-width: min(100%, 280px);
}

.feedback {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.feedback div {
  max-width: 760px;
}

.feedback h2 {
  margin-bottom: 16px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .section-heading,
  .sample-export,
  .feedback {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .workflow-card.reverse .workflow-copy,
  .workflow-card.reverse .phone-frame {
    order: initial;
  }

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

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav,
  .site-nav .nav-cta {
    width: 100%;
  }

  .site-nav .nav-cta {
    display: inline-flex;
    justify-content: center;
    text-align: center;
  }

  .section-shell {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

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

  .workflow-card {
    padding: 18px;
  }

  .phone-frame,
  .phone-pair .phone-frame {
    width: min(100%, 315px);
  }

  .phone-pair .offset {
    margin-top: 0;
  }

  .pdf-preview {
    padding: 10px;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}
