:root {
  --ink: #21131b;
  --muted: #7c6670;
  --paper: #ffffff;
  --line: rgba(89, 39, 56, 0.14);
  --rose: #9c1f43;
  --coral: #c85d42;
  --amber: #d8a45b;
  --teal: #356f74;
  --navy: #2b1724;
  --mist: #fff8f2;
  --shadow: 0 28px 84px rgba(70, 32, 45, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff8f2;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 248, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--ink);
  text-decoration: none;
  font-size: 22px;
  font-weight: 950;
}

.logo-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--rose), var(--coral) 52%, var(--amber));
  box-shadow: 0 14px 32px rgba(156, 31, 67, 0.26);
}

.logo-heart,
.logo-heart::before,
.logo-heart::after {
  position: absolute;
  background: #ffffff;
}

.logo-heart {
  width: 16px;
  height: 16px;
  transform: rotate(-45deg);
  border-radius: 3px;
}

.logo-heart::before,
.logo-heart::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.logo-heart::before {
  top: -8px;
  left: 0;
}

.logo-heart::after {
  left: 8px;
  top: 0;
}

nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

nav a:hover {
  color: var(--rose);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--coral) 56%, var(--amber));
  box-shadow: 0 18px 40px rgba(156, 31, 67, 0.28);
  font-weight: 950;
  cursor: pointer;
}

.pill-btn:hover {
  transform: translateY(-1px);
}

.pill-btn:active {
  transform: translateY(1px);
}

.primary-download {
  position: relative;
  min-height: 68px;
  padding: 0 36px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(135deg, #8c183a, #c65a42 52%, #d8a45b);
  box-shadow:
    0 18px 42px rgba(156, 31, 67, 0.34),
    0 0 0 8px rgba(156, 31, 67, 0.08);
  font-size: 18px;
}

.primary-download::after {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(156, 31, 67, 0.18);
  animation: downloadPulse 1.8s ease-out infinite;
}

.pill-btn.small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.android-icon {
  position: relative;
  width: 20px;
  height: 18px;
  border-radius: 7px 7px 4px 4px;
  background: currentColor;
}

.android-icon::before,
.android-icon::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 2px;
  height: 7px;
  border-radius: 2px;
  background: currentColor;
}

.android-icon::before {
  left: 5px;
  transform: rotate(-28deg);
}

.android-icon::after {
  right: 5px;
  transform: rotate(28deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(390px, 0.96fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(40px, 7vw, 92px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 18% 22%, rgba(216, 164, 91, 0.24), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(156, 31, 67, 0.14), transparent 30%),
    linear-gradient(135deg, #fff8f2, #fff4ea 48%, #f7ece7);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.lede,
.section-copy p,
.feature-grid p,
.cta p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.hero-actions .primary-download {
  min-width: 260px;
}

.install-note {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.hero-visual,
.feature-visual {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 28px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-visual img,
.feature-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  padding: 28px clamp(18px, 4vw, 40px);
  background: #ffffff;
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  color: var(--navy);
  font-size: 28px;
}

.metrics span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.match-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(0, 0.86fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 72px);
  background: #ffffff;
}

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

.check-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 38px;
  color: #4a3941;
  font-size: 17px;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--coral));
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.features {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(180deg, rgba(255, 248, 242, 0.9), rgba(247, 236, 231, 0.76)),
    #fff8f2;
}

.section-head {
  max-width: 830px;
  margin-bottom: 34px;
}

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

.feature-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 52px rgba(50, 20, 48, 0.08);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--coral));
}

.feature-icon::before {
  font-size: 24px;
  line-height: 1;
}

.feature-icon.shield::before {
  content: "◆";
}

.feature-icon.verified::before {
  content: "✓";
}

.feature-icon.chat::before {
  content: "●";
}

.trust {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.88fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 72px);
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 18%, rgba(216, 164, 91, 0.24), transparent 34%),
    linear-gradient(135deg, #21131b, #3a1b2a 52%, #5c2b25);
}

.trust .eyebrow {
  color: #ffd9b4;
}

.trust h2 {
  max-width: 760px;
}

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

.trust-list div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.trust-list strong,
.trust-list span {
  display: block;
}

.trust-list strong {
  margin-bottom: 7px;
  font-size: 18px;
}

.trust-list span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.58;
}

.cta {
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(68px, 10vw, 128px) 18px;
  background:
    radial-gradient(circle at 50% 22%, rgba(156, 31, 67, 0.14), transparent 34%),
    linear-gradient(135deg, #fff8f2, #fff3e5);
}

.cta h2 {
  max-width: 860px;
}

.cta p {
  max-width: 620px;
  margin-bottom: 30px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #ffffff;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 950;
}

.mobile-download-bar {
  display: none;
}

@keyframes downloadPulse {
  0% {
    opacity: 0.58;
    transform: scale(0.96);
  }

  70% {
    opacity: 0;
    transform: scale(1.1);
  }

  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero,
  .match-section,
  .trust {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 620px) {
  body {
    padding-bottom: 92px;
  }

  .topbar {
    gap: 12px;
    min-height: 68px;
    padding: 12px 14px;
  }

  .brand {
    font-size: 19px;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .pill-btn.small {
    margin-left: auto;
    min-height: 40px;
    padding: 0 14px;
    width: auto;
    min-width: 118px;
  }

  h1 {
    font-size: 42px;
    line-height: 0.98;
  }

  h2 {
    font-size: 34px;
  }

  .hero,
  .match-section,
  .features,
  .trust {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    gap: 24px;
    padding-top: 26px;
  }

  .lede,
  .section-copy p,
  .feature-grid p,
  .cta p {
    font-size: 16px;
    line-height: 1.62;
  }

  .hero-visual,
  .feature-visual {
    border-radius: 18px;
  }

  .metrics,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
  }

  .pill-btn {
    width: 100%;
    min-height: 60px;
  }

  .topbar .pill-btn.small {
    flex: 0 0 auto;
    width: auto;
    min-width: 112px;
  }

  .primary-download {
    min-height: 66px;
    padding: 0 22px;
    font-size: 17px;
    box-shadow:
      0 18px 40px rgba(156, 31, 67, 0.36),
      0 0 0 7px rgba(156, 31, 67, 0.1);
  }

  .primary-download::after {
    inset: -7px 0;
  }

  .install-note {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .metrics div {
    padding: 20px 18px;
  }

  .match-section,
  .features,
  .trust,
  .cta {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .feature-grid article {
    padding: 22px;
  }

  .mobile-download-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: block;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 248, 242, 0.92);
    border-top: 1px solid rgba(89, 39, 56, 0.14);
    box-shadow: 0 -16px 36px rgba(33, 19, 27, 0.12);
    backdrop-filter: blur(18px);
  }

  .mobile-download-bar .pill-btn {
    min-height: 58px;
  }

  footer {
    flex-direction: column;
  }
}
