:root {
  --ink: #122033;
  --muted: #5d6876;
  --line: #dce3ea;
  --paper: #f7f9fb;
  --white: #ffffff;
  --teal: #108ca2;
  --teal-dark: #0c6576;
  --red: #9f1c10;
  --yellow: #f4d900;
  --navy: #17123f;
  --green: #5d8c45;
  --shadow: 0 22px 80px rgba(18, 32, 51, .16);
}

* {
  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: var(--paper);
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(18, 32, 51, .08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 4px;
  border: 1px solid rgba(18, 32, 51, .14);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(18, 32, 51, .08);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
  color: #243348;
}

.site-nav a {
  opacity: .86;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-login {
  padding: 11px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  padding: 124px clamp(20px, 6vw, 88px) 78px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 249, 251, .98) 0%, rgba(247, 249, 251, .88) 46%, rgba(247, 249, 251, .2) 100%),
    linear-gradient(135deg, rgba(16, 140, 162, .14), rgba(159, 28, 16, .11));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 710px;
}

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

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

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: 104px;
  line-height: .9;
  letter-spacing: 0;
}

h2 {
  font-size: 58px;
  line-height: .96;
  letter-spacing: 0;
  margin-bottom: 20px;
}

h3 {
  font-size: 22px;
  line-height: 1.12;
  margin-bottom: 12px;
}

.hero-text,
.section-copy p,
.workflow-grid p,
.pricing-layout p,
.site-footer p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-text {
  max-width: 610px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 850;
}

.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .82);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-row a {
  display: block;
  width: 156px;
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scan-grid {
  position: absolute;
  right: -8vw;
  top: 13vh;
  width: min(58vw, 760px);
  height: min(58vw, 760px);
  transform: rotate(-8deg);
  opacity: .82;
}

.scan-grid span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(18, 32, 51, .11);
  border-radius: 34px;
}

.scan-grid span:nth-child(2) { inset: 8%; border-color: rgba(16, 140, 162, .24); }
.scan-grid span:nth-child(3) { inset: 16%; border-color: rgba(159, 28, 16, .16); }
.scan-grid span:nth-child(4) { inset: 24%; border-color: rgba(93, 140, 69, .22); }
.scan-grid span:nth-child(5) { inset: 32%; border-color: rgba(23, 18, 63, .2); }
.scan-grid span:nth-child(6) { inset: 40%; background: rgba(244, 217, 0, .18); }

.phone-shell {
  position: absolute;
  right: clamp(18px, 7vw, 110px);
  bottom: -90px;
  width: min(26vw, 360px);
  min-width: 260px;
  max-height: 80vh;
  border: 10px solid #111827;
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.phone-shell img {
  width: 100%;
  height: 100%;
  max-height: 78vh;
  object-fit: cover;
  object-position: top;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.proof-band div {
  padding: 26px clamp(18px, 3vw, 38px);
  border-right: 1px solid var(--line);
}

.proof-band div:last-child {
  border-right: 0;
}

.proof-band strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.proof-band span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(76px, 10vw, 132px) clamp(20px, 6vw, 88px);
}

.feature-section,
.capture-section,
.docs-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.section-copy {
  max-width: 650px;
}

.feature-list,
.link-grid,
.pricing-layout {
  display: grid;
  gap: 16px;
}

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

.feature-list article,
.workflow-grid article,
.pricing-layout article,
.link-grid a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 14px 38px rgba(18, 32, 51, .06);
}

.feature-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #e8f6f9;
  color: var(--teal-dark);
  font-weight: 900;
}

.capture-section {
  background: var(--white);
}

.capture-visual {
  justify-self: center;
  width: min(360px, 100%);
  border: 10px solid #111827;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.check-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-top: 1px solid var(--line);
  color: #304055;
  font-weight: 720;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--green);
}

.workflow-section {
  background: #eef4f5;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.workflow-grid span {
  display: block;
  margin-bottom: 40px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.docs-section {
  background: var(--paper);
}

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

.link-grid a {
  font-weight: 850;
  color: var(--teal-dark);
}

.pricing-section {
  background: var(--white);
}

.pricing-layout {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-layout article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.pricing-layout a {
  margin-top: auto;
  color: var(--red);
  font-weight: 900;
}

.featured-plan {
  border-top: 5px solid var(--teal) !important;
}

.cta-section {
  padding: clamp(84px, 12vw, 150px) clamp(20px, 7vw, 108px);
  background: var(--ink);
  color: var(--white);
}

.cta-section h2 {
  max-width: 980px;
}

.cta-section .eyebrow {
  color: #9ee4ef;
}

.cta-section .button.secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .3);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 38px clamp(20px, 6vw, 88px);
  background: #0c1421;
  color: var(--white);
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer p {
  max-width: 410px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .68);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: rgba(255, 255, 255, .74);
  font-weight: 700;
}

.legal-page {
  background: var(--paper);
}

.legal-page .site-header {
  position: sticky;
}

.legal-hero {
  padding: 132px clamp(20px, 6vw, 88px) 54px;
  background:
    linear-gradient(90deg, rgba(247, 249, 251, .98) 0%, rgba(247, 249, 251, .9) 58%, rgba(247, 249, 251, .38) 100%),
    linear-gradient(135deg, rgba(16, 140, 162, .13), rgba(159, 28, 16, .1));
}

.legal-hero h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: 78px;
  line-height: .96;
}

.legal-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.legal-shell {
  display: grid;
  grid-template-columns: minmax(180px, 250px) minmax(0, 900px);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding: 56px clamp(20px, 6vw, 88px) 96px;
}

.legal-nav {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(18, 32, 51, .06);
}

.legal-nav span {
  margin-bottom: 6px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-nav a {
  color: #304055;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
}

.legal-nav a:hover {
  color: var(--teal-dark);
}

.legal-content {
  min-width: 0;
  width: 100%;
  max-width: 900px;
  color: #26364a;
  font-size: 17px;
  line-height: 1.76;
  overflow-wrap: break-word;
}

.legal-content > *:first-child {
  margin-top: 0;
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
  color: var(--ink);
  letter-spacing: 0;
}

.legal-content h1 {
  margin: 54px 0 16px;
  font-size: 38px;
  line-height: 1.08;
}

.legal-content h2 {
  margin: 34px 0 12px;
  font-size: 27px;
  line-height: 1.15;
}

.legal-content h3 {
  margin: 28px 0 10px;
  font-size: 21px;
  line-height: 1.2;
}

.legal-content p {
  margin-bottom: 18px;
}

.legal-content ul {
  margin: 0 0 22px;
  padding-left: 24px;
}

.legal-content li {
  margin: 11px 0;
}

.legal-content li > ul {
  margin-top: 10px;
}

.legal-content a {
  color: var(--teal-dark);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-content p,
.legal-content li,
.legal-content a,
.legal-content h1,
.legal-content h2,
.legal-content h3 {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 1080px) {
  h1 {
    font-size: 76px;
  }

  h2 {
    font-size: 46px;
  }

  .feature-section,
  .capture-section,
  .docs-section,
  .feature-list,
  .workflow-grid,
  .pricing-layout {
    grid-template-columns: 1fr 1fr;
  }

  .phone-shell {
    opacity: .34;
    right: 24px;
  }

  .legal-hero h1 {
    font-size: 58px;
  }

  .legal-shell {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 14px 12px;
  }

  .nav-login {
    text-align: center;
    margin-top: 8px;
  }

  .hero {
    min-height: 90vh;
    padding-top: 112px;
    padding-bottom: 44px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .eyebrow {
    max-width: 300px;
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  h1 {
    max-width: 330px;
    font-size: 48px;
    line-height: .98;
  }

  h2 {
    font-size: 36px;
    line-height: 1.02;
  }

  .legal-hero {
    padding-top: 98px;
    padding-bottom: 38px;
  }

  .legal-hero h1 {
    max-width: 340px;
    font-size: 44px;
  }

  .legal-hero p:last-child {
    max-width: 340px;
    font-size: 16px;
  }

  .legal-shell {
    display: block;
    padding-top: 32px;
    padding-bottom: 64px;
  }

  .legal-nav {
    display: none;
  }

  .legal-content {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.68;
    overflow-wrap: anywhere;
  }

  .legal-content h1 {
    font-size: 30px;
  }

  .legal-content h2 {
    font-size: 24px;
  }

  .hero-text,
  .section-copy p,
  .workflow-grid p,
  .pricing-layout p,
  .site-footer p {
    font-size: 16px;
  }

  .hero-text {
    max-width: 330px;
  }

  .phone-shell {
    width: 220px;
    min-width: 220px;
    right: -48px;
    bottom: -40px;
    opacity: .2;
  }

  .scan-grid {
    width: 520px;
    height: 520px;
    right: -240px;
    top: 180px;
  }

  .proof-band,
  .feature-section,
  .capture-section,
  .docs-section,
  .feature-list,
  .workflow-grid,
  .pricing-layout,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .proof-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-band div:last-child {
    border-bottom: 0;
  }

  .capture-visual {
    width: min(280px, 92vw);
  }

  .site-footer {
    display: block;
  }

  .site-footer nav {
    justify-content: flex-start;
    margin-top: 28px;
  }
}
