:root {
  --bg: #f7f7f2;
  --surface: #ffffff;
  --ink: #211f1d;
  --muted: #68615a;
  --line: #e2e0d8;
  --accent: #bb2222;
  --accent-dark: #8d1919;
  --accent-soft: #ffe9e9;
  --green: #1f7a4d;
  --shadow: 0 18px 45px rgba(42, 38, 33, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(226, 224, 216, 0.8);
  background: rgba(247, 247, 242, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 8px 18px rgba(187, 34, 34, 0.25);
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.button.secondary {
  background: var(--surface);
  color: var(--accent-dark);
  border-color: var(--line);
}

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

.button.secondary:hover {
  background: #fff6f6;
}

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.phone-shell {
  width: min(100%, 380px);
  margin-left: auto;
  padding: 14px;
  border: 1px solid #d8d5cb;
  border-radius: 34px;
  background: #171513;
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 680px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--bg);
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 18px 12px;
  font-size: 16px;
  font-weight: 750;
}

.info-dot {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 800;
}

.app-panel {
  margin: 8px 16px 14px;
  padding: 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
}

.app-panel strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
}

.app-panel span {
  display: block;
  margin-top: 6px;
  color: #ffeaea;
  font-size: 13px;
}

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

.app-tile {
  min-height: 130px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  font-weight: 800;
}

.tile-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--accent);
}

.source-card {
  margin: 14px 16px 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 72px 0;
}

.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-lead {
  max-width: 710px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.feature-card {
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-card h3 {
  margin: 14px 0 8px;
  font-size: 18px;
  line-height: 1.2;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.step {
  padding: 24px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.56);
}

.step span {
  color: var(--accent);
  font-weight: 850;
}

.step h3 {
  margin: 10px 0 8px;
  font-size: 20px;
}

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

.contact-band {
  background: #211f1d;
  color: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 32px;
  align-items: start;
}

.contact-layout p {
  color: #d7d2cb;
}

.contact-box {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-box a {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  text-decoration: none;
}

.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 20px 72px;
}

.legal-page h1 {
  margin: 0;
  color: var(--accent-dark);
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

.legal-page h2 {
  margin: 34px 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-page a {
  color: var(--accent-dark);
  font-weight: 700;
}

.legal-card {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 880px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
  }

  .phone-shell {
    margin: 0 auto;
  }

  .feature-grid,
  .steps,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    gap: 16px;
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .nav-links .button {
    display: none;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy p,
  .section-lead {
    font-size: 16px;
  }

  .phone-screen {
    min-height: 590px;
  }

  .app-tile {
    min-height: 112px;
  }
}
