:root {
  --pdf-red: #d93025;
  --pdf-red-dark: #a91f18;
  --pdf-red-soft: #fff1ef;
  --ink: #182033;
  --muted: #5f6b7d;
  --line: #dde4ef;
  --panel: #ffffff;
  --paper: #f5f7fb;
  --green: #1c7c62;
  --blue: #235b9f;
  --shadow: 0 24px 80px rgba(18, 27, 45, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: linear-gradient(180deg, #fff 0%, var(--paper) 48%, #fff 100%);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

img,
video {
  max-width: 100%;
}

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

.section-shell {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 16px 0;
  border-bottom: 1px solid rgba(221, 228, 239, 0.78);
  background: rgba(245, 247, 251, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(221, 228, 239, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #536071;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a:hover {
  background: var(--pdf-red-soft);
  color: var(--pdf-red-dark);
}

.install-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pdf-red), var(--pdf-red-dark));
  box-shadow: 0 18px 38px rgba(217, 48, 37, 0.23);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.install-button .chrome-icon {
  width: 22px;
  height: 22px;
}

.install-button .external-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.install-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(217, 48, 37, 0.28);
  filter: saturate(1.04);
}

.install-button-small {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
}

.install-button-small .chrome-icon {
  width: 18px;
  height: 18px;
}

.install-button-small .external-icon {
  width: 14px;
  height: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  gap: 42px;
  align-items: center;
  padding: 74px 0 46px;
}

.hero-copy {
  display: grid;
  gap: 20px;
}

.eyebrow {
  width: fit-content;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid rgba(217, 48, 37, 0.2);
  border-radius: 999px;
  background: var(--pdf-red-soft);
  color: var(--pdf-red-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 740px;
  margin-bottom: 0;
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: 0.99;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: #263044;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-text,
.section-heading p,
.demo-copy p,
.final-cta p,
.result-copy + .result-list,
.feature-card p,
.step-card p,
.faq-list p,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 4px;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  color: #313b4f;
  font-weight: 900;
}

.secondary-link::after {
  content: "->";
  margin-left: 8px;
  color: var(--pdf-red);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.trust-row span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #515f72;
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  min-width: 0;
}

.product-frame,
.demo-card {
  overflow: hidden;
  border: 1px solid rgba(221, 228, 239, 0.95);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-frame {
  position: relative;
  padding: 10px;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid #edf1f6;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #dfe5ee;
}

.browser-bar span:first-child {
  background: #ff5f57;
}

.browser-bar span:nth-child(2) {
  background: #ffbd2e;
}

.browser-bar span:nth-child(3) {
  background: #28c840;
}

.browser-bar strong {
  margin-left: 8px;
  color: #7b8798;
  font-size: 12px;
}

.product-frame video,
.demo-card video {
  display: block;
  width: 100%;
  background: #101828;
}

.product-frame video {
  border-radius: 14px;
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 2px;
  min-width: 168px;
  padding: 12px 14px;
  border: 1px solid rgba(221, 228, 239, 0.94);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(18, 27, 45, 0.16);
}

.floating-card strong {
  font-size: 14px;
}

.floating-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.floating-card-top {
  top: 70px;
  right: -16px;
}

.floating-card-bottom {
  bottom: 24px;
  left: -18px;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 18px 0 62px;
}

.proof-strip span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #4c596c;
  font-weight: 850;
}

.feature-section,
.steps-section,
.faq-section {
  padding: 78px 0;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p {
  margin-bottom: 0;
  font-size: 17px;
}

.feature-grid,
.steps-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.step-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(18, 27, 45, 0.06);
}

.feature-card,
.step-card {
  padding: 24px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--pdf-red-soft);
  color: var(--pdf-red-dark);
  font-weight: 950;
}

.feature-card:nth-child(2n) .feature-icon,
.step-card:nth-child(2n) span {
  background: #eef7f3;
  color: var(--green);
}

.feature-card:nth-child(3n) .feature-icon,
.step-card:nth-child(3n) span {
  background: #eef4fb;
  color: var(--blue);
}

.feature-card p,
.step-card p {
  margin-bottom: 0;
}

.demo-band {
  background: #111827;
  color: #fff;
}

.demo-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(480px, 1.28fr);
  gap: 34px;
  align-items: center;
  padding: 74px 0;
}

.demo-copy {
  display: grid;
  gap: 14px;
}

.demo-copy h2 {
  color: #fff;
}

.demo-copy p:not(.eyebrow) {
  margin-bottom: 0;
  color: #c7d0df;
  font-size: 17px;
}

.demo-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: #0b1020;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--pdf-red-soft);
  color: var(--pdf-red-dark);
  font-size: 13px;
  font-weight: 950;
}

.result-band {
  background: #eef2f7;
}

.result-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: center;
  padding: 68px 0;
}

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

.result-list span {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #313b4f;
  font-weight: 900;
}

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

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

.faq-list summary {
  cursor: pointer;
  color: #263044;
  font-size: 18px;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.final-cta {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 86px 0 96px;
  text-align: center;
}

.final-cta p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer .section-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
}

.site-footer p {
  margin: 0;
  text-align: right;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

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

  .hero {
    padding-top: 48px;
  }

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

  .floating-card {
    display: none;
  }
}

@media (max-width: 680px) {
  .section-shell,
  .site-header,
  .proof-strip {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    gap: 12px;
  }

  .site-nav {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .install-button-small {
    width: 100%;
  }

  .hero {
    gap: 26px;
    padding: 34px 0 34px;
  }

  .feature-grid,
  .steps-grid,
  .result-list {
    grid-template-columns: 1fr;
  }

  .feature-section,
  .steps-section,
  .faq-section {
    padding: 56px 0;
  }

  .demo-inner,
  .result-inner {
    padding: 54px 0;
  }

  .site-footer .section-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }
}
