:root {
  color-scheme: dark light;
  --ink: #f4f7f8;
  --muted: #aeb7bd;
  --line: rgb(255 255 255 / 14%);
  --paper: #111318;
  --panel: #1a1e24;
  --aqua: #6239e8;
  --leaf: #9b7ff5;
  --orange: #f03b33;
  --soft: #151a1f;
  --hero-text: #dce4e7;
  --header-bg: rgb(17 19 24 / 78%);
  --button-primary-text: #111318;
  --button-secondary-bg: rgb(255 255 255 / 8%);
  --media-bg: linear-gradient(135deg, #151922, #242a33);
  --slot-bg: linear-gradient(145deg, rgb(98 57 232 / 18%), rgb(155 127 245 / 12%)), #171c21;
  --slot-frame-bg: rgb(255 255 255 / 5%);
  --slot-border: rgb(255 255 255 / 22%);
  --badge-bg: rgb(22 25 30 / 90%);
  --badge-border: rgb(255 255 255 / 14%);
  --table-head-bg: #20262c;
  --check: #9b7ff5;
  --play-bg: #f4f7f8;
  --play-ink: #17181c;
  --shadow: 0 24px 70px rgb(0 0 0 / 34%);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --ink: #17181c;
    --muted: #62646d;
    --line: #dedfe6;
    --paper: #fbfbfd;
    --panel: #ffffff;
    --orange: #dc2626;
    --soft: #f4f1fb;
    --hero-text: #34353b;
    --header-bg: rgb(251 251 253 / 82%);
    --button-primary-text: #ffffff;
    --button-secondary-bg: #ffffff;
    --media-bg: linear-gradient(135deg, #1d2027, #343943);
    --slot-bg: linear-gradient(145deg, rgb(98 57 232 / 14%), rgb(155 127 245 / 10%)), #f6f4fc;
    --slot-frame-bg: rgb(255 255 255 / 76%);
    --slot-border: rgb(24 24 27 / 24%);
    --badge-bg: rgb(255 255 255 / 90%);
    --badge-border: rgb(255 255 255 / 28%);
    --table-head-bg: #f8faf9;
    --check: var(--leaf);
    --play-bg: #ffffff;
    --play-ink: #17181c;
    --shadow: 0 24px 70px rgb(24 24 27 / 14%);
  }
}

* {
  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;
  background:
    linear-gradient(145deg, rgb(14 12 28 / 96%) 0%, rgb(20 16 36 / 90%) 34%, rgb(17 19 24 / 98%) 66%, rgb(32 14 22 / 90%) 100%),
    linear-gradient(90deg, rgb(98 57 232 / 14%) 0%, rgb(155 127 245 / 10%) 42%, rgb(240 59 51 / 8%) 100%),
    var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

@media (prefers-color-scheme: light) {
  body {
    background:
      linear-gradient(145deg, rgb(248 244 253 / 94%) 0%, rgb(240 232 252 / 86%) 32%, rgb(251 251 253 / 96%) 64%, rgb(255 245 246 / 78%) 100%),
      linear-gradient(90deg, rgb(98 57 232 / 14%) 0%, rgb(155 127 245 / 12%) 42%, rgb(220 38 38 / 7%) 100%),
      var(--paper);
  }
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 24px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--button-primary-text);
  font-weight: 720;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.brand,
nav,
.hero-actions,
.proof-band,
.site-footer {
  display: flex;
  align-items: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.brand {
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: block;
}

nav {
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(560px, 1.25fr);
  gap: 42px;
  align-items: center;
  max-width: 1240px;
  min-height: 730px;
  margin: 0 auto;
  padding: 58px 24px 88px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.8rem, 10vw, 8.4rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.75rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 520px;
  margin-bottom: 14px;
  color: var(--hero-text);
  font-size: 1.32rem;
}

.hero-note {
  max-width: 520px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 720;
  text-decoration: none;
}

.button-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--button-primary-text);
}

.button-secondary {
  background: var(--button-secondary-bg);
}

.hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--media-bg);
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  gap: 7px;
  padding: 14px 18px;
  background: rgb(255 255 255 / 9%);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 48%);
}

.hero-media img,
.video-player {
  display: block;
  width: 100%;
  height: auto;
}

.hero-media .video-frame {
  min-height: 600px;
  border: 0;
  border-radius: 0;
  background: var(--slot-bg);
}

.slot-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(280px, calc(100% - 44px));
  padding: 16px;
  border: 1px solid var(--badge-border);
  border-radius: 8px;
  background: var(--badge-bg);
  box-shadow: 0 18px 45px rgb(24 24 27 / 18%);
}

.slot-badge strong,
.slot-badge span,
.proof-band strong,
.proof-band span,
.workflow-steps span {
  display: block;
}

.slot-badge span,
.proof-band span {
  color: var(--muted);
  font-size: 0.95rem;
}

.proof-band {
  justify-content: space-between;
  gap: 22px;
  max-width: 1180px;
  margin: -56px auto 0;
  padding: 18px 24px 42px;
}

.proof-band div {
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 24px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.center-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.feature-stories {
  display: grid;
  gap: 28px;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  gap: 34px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 76%, transparent);
}

.feature-story-reversed .feature-copy {
  order: 2;
}

.feature-copy {
  padding: 24px;
}

.feature-copy p:not(.eyebrow),
.split-panel p,
.workflow-steps p,
.pricing-grid p {
  color: var(--muted);
}

.feature-copy ul,
.quick-list,
.pricing-grid ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-copy li,
.quick-list li,
.pricing-grid li {
  position: relative;
  padding-left: 24px;
}

.feature-copy li::before,
.quick-list li::before,
.pricing-grid li::before {
  position: absolute;
  left: 0;
  color: var(--check);
  content: "✓";
  font-weight: 900;
}

.video-slot {
  min-height: 420px;
  padding: 16px;
  border-radius: 10px;
  background: var(--slot-bg);
}

.video-frame,
.image-frame {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  width: 100%;
  min-height: 388px;
  border: 1px dashed var(--slot-border);
  border-radius: 8px;
  background: var(--slot-frame-bg);
  text-align: center;
}

.play-glyph {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 37%, var(--play-ink) 38% 62%, transparent 63%),
    var(--play-bg);
  box-shadow: inset 0 0 0 1px var(--line), 0 14px 32px rgb(24 24 27 / 12%);
}

.video-frame p {
  margin: 10px 0 0;
  font-weight: 780;
}

.video-frame small {
  color: var(--muted);
}

.video-player {
  aspect-ratio: 16 / 10;
  background: #111318;
}

.image-frame {
  min-height: 300px;
}

.image-frame p {
  margin: 0;
  font-weight: 780;
}

.image-frame small {
  color: var(--muted);
}

.feature-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.feature-link {
  margin: 22px 0 0;
  font-weight: 760;
}

.feature-link a,
.related-links a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.feature-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 42px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 76px 24px 72px;
}

.comparison-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(520px, 1.04fr);
  gap: 42px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 76px 24px 72px;
}

.answers-hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 76px 24px 18px;
}

.feature-hero-copy {
  max-width: 660px;
}

.comparison-hero-copy {
  max-width: 700px;
}

.feature-hero h1,
.comparison-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(3.25rem, 6vw, 6.5rem);
  line-height: 0.9;
}

.answer-box {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.answer-box h2 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.12;
}

.answer-box p {
  color: var(--muted);
}

.answer-box p:last-child {
  margin-bottom: 0;
}

.feature-media-grid {
  display: grid;
  gap: 18px;
}

.feature-detail-section {
  padding-top: 62px;
  padding-bottom: 62px;
}

.comparison-section,
.sources-section {
  padding-top: 62px;
  padding-bottom: 62px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.detail-grid h3 {
  font-size: 1.2rem;
  line-height: 1.18;
}

.detail-grid p {
  color: var(--muted);
}

.workflow-list,
.use-case-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.workflow-list {
  counter-reset: workflow;
  list-style: none;
}

.workflow-list li {
  position: relative;
  min-height: 84px;
  padding: 22px 22px 22px 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.workflow-list li::before {
  position: absolute;
  left: 22px;
  top: 22px;
  color: var(--orange);
  content: counter(workflow, decimal-leading-zero);
  counter-increment: workflow;
  font-weight: 800;
}

.use-case-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.use-case-list li {
  position: relative;
  min-height: 96px;
  padding: 22px 22px 22px 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.use-case-list li::before {
  position: absolute;
  left: 22px;
  color: var(--check);
  content: "✓";
  font-weight: 900;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feature-directory,
.alternative-directory,
.intent-directory {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.feature-directory a,
.alternative-directory a,
.intent-directory a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
}

.alternative-directory,
.intent-directory {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.choice-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.choice-grid h3 {
  font-size: 1.35rem;
}

.choice-grid p {
  color: var(--muted);
}

.source-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.source-list a {
  color: var(--ink);
  text-underline-offset: 4px;
}

.answer-list {
  display: grid;
  gap: 14px;
}

.answer-list article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.answer-list h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.16;
}

.answer-list p {
  margin: 0;
  color: var(--muted);
}

.related-links a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  text-decoration: none;
}

.different-section {
  max-width: none;
  padding-right: 0;
  padding-left: 0;
  background: var(--soft);
}

.different-section > * {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

.split-panel > div,
.quick-list,
.workflow-steps article,
.pricing-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.split-panel > div {
  padding: 26px;
}

.quick-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 26px;
}

.comparison-table {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--table-head-bg);
  color: var(--ink);
}

tbody th {
  width: 24%;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.workflow-section,
.pricing-section {
  padding-top: 58px;
}

.workflow-steps,
.pricing-grid {
  display: grid;
  gap: 16px;
}

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

.workflow-steps article,
.pricing-grid article {
  min-height: 250px;
  padding: 24px;
}

.workflow-steps span {
  margin-bottom: 54px;
  color: var(--orange);
  font-weight: 800;
}

.workflow-steps h3,
.pricing-grid h3,
.split-panel h3 {
  font-size: 1.32rem;
  line-height: 1.12;
}

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

.pricing-grid article {
  min-height: 310px;
}

.pricing-featured {
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.plan-label {
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 38px 24px 54px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.feature-story,
.different-section,
.workflow-section,
.pricing-section,
.faq-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 760;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

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

  .hero,
  .feature-hero,
  .comparison-hero,
  .feature-story,
  .split-panel,
  .detail-grid,
  .choice-grid,
  .use-case-list,
  .pricing-grid,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 38px;
  }

  .hero-copy {
    max-width: none;
  }

  .feature-hero-copy {
    max-width: none;
  }

  .comparison-hero-copy {
    max-width: none;
  }

  .feature-story-reversed .feature-copy {
    order: 0;
  }

  .proof-band {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-lede {
    font-size: 1.08rem;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .section {
    padding-block: 62px;
  }

  .feature-story,
  .feature-copy,
  .split-panel > div,
  .quick-list,
  .workflow-steps article,
  .pricing-grid article {
    padding: 18px;
  }

  .video-slot,
  .video-frame,
  .image-frame {
    min-height: 280px;
  }

  .quick-list,
  .use-case-list {
    grid-template-columns: 1fr;
  }

  .feature-hero {
    padding-top: 42px;
  }

  .comparison-hero {
    padding-top: 42px;
  }

  .feature-hero h1,
  .comparison-hero h1 {
    font-size: 3.25rem;
  }
}
