:root {
  --red: #a12622;
  --red-dark: #7e1d1a;
  --ink: #202124;
  --muted: #65676b;
  --line: #e7e5e2;
  --paper: #fff;
  --wash: #f6f5f3;
  --blue: #174a9c;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse at 5% 0%, #fff 0, var(--wash) 58%);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.55;
}
.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 42px 24px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 44px;
  align-items: center;
  min-height: 700px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font:
    800 1.5rem Manrope,
    sans-serif;
  text-decoration: none;
  letter-spacing: -0.04em;
}
.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
  flex: 0 0 auto;
}
.byline {
  margin: 8px 0 34px 54px;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}
.hero h1 {
  margin: 12px 0 0 0;
  font:
    800 clamp(3.2rem, 6vw, 2.8rem)/0.99 Manrope,
    sans-serif;
  letter-spacing: -0.065em;
}
.hero h1 span {
  color: var(--red);
}
.lead {
  max-width: 570px;
  margin: 24px 0;
  color: #555;
  font-size: 1.17rem;
  line-height: 1.75;
}
.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin: 28px 0 38px;
}
.primary-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  background: var(--red);
  color: white;
  padding: 13px 18px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 5px 12px #a1262222;
}
.primary-link:hover {
  background: var(--red-dark);
}
.text-link {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}
.feature-list {
  display: grid;
  gap: 19px;
}
.feature {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.feature-icon {
  flex: 0 0 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #a1262210;
  color: var(--red);
  font-size: 1.8rem;
}
.feature h2 {
  font:
    700 1rem Montserrat,
    sans-serif;
  margin: 1px 0 4px;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.hero-visual {
  text-align: center;
}
.phone {
  display: block;
  width: min(100%, 510px);
  max-height: 730px;
  object-fit: contain;
  margin: auto;
  filter: drop-shadow(0 28px 35px #0002);
}
.visual-caption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.workflow {
  padding: 68px 0 26px;
  border-top: 1px solid var(--line);
}
.section-heading {
  max-width: 680px;
  margin: 0 auto 30px;
  text-align: center;
}
.eyebrow {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 800;
  margin: 0 0 8px;
}
.section-heading h2,
.docs-callout h2 {
  font:
    800 clamp(1.8rem, 3.5vw, 2.8rem)/1.15 Manrope,
    sans-serif;
  letter-spacing: -0.045em;
  margin: 0 0 12px;
}
.section-heading > p:last-child,
.docs-callout > div > p:last-child {
  color: var(--muted);
  margin: 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.step {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 25px #00000008;
}
.step > img {
  display: block;
  width: 100%;
  height: 270px;
  object-fit: contain;
  background: #f3f3f3;
  border-bottom: 1px solid var(--line);
}
.step-copy {
  padding: 20px 22px 24px;
}
.step-number {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.1em;
}
.step h3 {
  font:
    700 1.12rem Montserrat,
    sans-serif;
  margin: 7px 0;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.docs-callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin: 68px 0 54px;
  padding: 32px 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.docs-callout > div {
  max-width: 700px;
}
.docs-callout .primary-link {
  white-space: nowrap;
  flex-shrink: 0;
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 42px 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 25px;
  align-items: center;
}
.footer-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}
.footer-brand img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
}
.footer-brand strong {
  font-family: Manrope, sans-serif;
}
.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-footer nav a {
  color: #555;
  text-decoration: none;
  font-size: 0.88rem;
}
.site-footer nav a:hover {
  color: var(--red);
}
.site-footer .copyright {
  grid-column: 1/-1;
  color: #858585;
  font-size: 0.8rem;
  margin: 8px 0 0;
}
@media (max-width: 900px) {
  .page {
    padding: 25px 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
  }
  .hero-copy {
    max-width: 720px;
    margin: auto;
  }
  .hero-visual {
    max-width: 560px;
    margin: auto;
  }
  .phone {
    max-height: 640px;
  }
  .steps {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: auto;
  }
  .step > img {
    height: auto;
    max-height: 360px;
  }
  .docs-callout {
    align-items: flex-start;
    flex-direction: column;
  }
  .workflow {
    padding-top: 48px;
  }
}
@media (max-width: 560px) {
  .page {
    padding: 20px 16px;
  }
  .brand {
    font-size: 1.22rem;
  }
  .brand-logo {
    width: 38px;
    height: 38px;
  }
  .byline {
    margin-bottom: 25px;
  }
  .hero h1 {
    font-size: 3.35rem;
  }
  .lead {
    font-size: 1.04rem;
  }
  .cta-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .docs-callout {
    padding: 25px 22px;
    margin: 45px 0 35px;
  }
  .site-footer {
    grid-template-columns: 1fr;
    padding: 22px 16px;
  }
  .site-footer nav {
    justify-content: flex-start;
    gap: 12px 17px;
  }
  .site-footer .copyright {
    grid-column: auto;
  }
}

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 55px 24px 90px;
  line-height: 1.75;
}
.legal h1 {
  font:
    800 clamp(2.4rem, 6vw, 3.6rem)/1.1 Manrope,
    sans-serif;
  letter-spacing: -0.05em;
  margin: 8px 0 14px;
}
.legal h2 {
  font:
    700 1.25rem Montserrat,
    sans-serif;
  margin: 34px 0 8px;
}
.legal a {
  color: var(--red);
}
.legal .back {
  display: inline-block;
  margin-bottom: 34px;
  text-decoration: none;
  font-weight: 700;
}
.legal-note {
  margin-top: 32px;
  padding: 14px 16px;
  background: #fff5e9;
  border-radius: 8px;
  color: #6a4c2e;
  font-size: 0.9rem;
}

.download-block {
  margin: 0 0 32px;
}
.download-label {
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--ink);
}
.store-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
}
.store-badge img {
  display: block;
  width: 174px;
  height: auto;
  max-height: 60px;
}
.download-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}
@media (max-width: 560px) {
  .store-badges {
    gap: 10px;
  }
  .store-badge img {
    width: min(174px, 42vw);
  }
}

/* Shared footer spacing on documentation and legal pages */
.docs-shell + .site-footer,
.article-shell + .site-footer,
.legal + .site-footer {
  margin-top: 0;
}
@media (max-width: 900px) {
  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }
}
