:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5e6676;
  --paper: #ffffff;
  --wash: #f4f6fb;
  --line: #dce2ec;
  --blue: #225ee8;
  --blue-dark: #153a91;
  --green: #17a47a;
  --coral: #f37358;
  --gold: #f4b73f;
  --shadow: 0 22px 60px rgba(22, 31, 55, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 226, 236, 0.78);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(34, 94, 232, 0.2);
}

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

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

.nav-links a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 18px;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 94, 232, 0.32);
  box-shadow: 0 12px 28px rgba(22, 31, 55, 0.1);
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.button.app-store {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
}

.store-buttons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(244, 183, 63, 0.22), transparent 26%),
    radial-gradient(circle at 4% 34%, rgba(23, 164, 122, 0.14), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}

.hero-inner {
  display: grid;
  width: min(1120px, calc(100% - 32px));
  grid-template-columns: minmax(0, 1fr) minmax(330px, 460px);
  gap: 48px;
  align-items: center;
  margin: 0 auto;
  padding: 64px 0 58px;
}

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

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

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.78);
}

.hero-media {
  position: relative;
  min-height: 590px;
}

.phone-stack {
  position: absolute;
  inset: 0;
}

.phone {
  position: absolute;
  width: min(58vw, 255px);
  margin: 0;
}

.phone img {
  display: block;
  width: 100%;
  border-radius: 16px;
  clip-path: inset(0 round 16px);
}

.phone.primary-shot {
  right: 72px;
  top: 0;
  z-index: 3;
}

.phone.secondary-shot {
  right: 0;
  top: 130px;
  z-index: 2;
  transform: rotate(6deg);
}

.phone.third-shot {
  right: 190px;
  top: 164px;
  z-index: 1;
  transform: rotate(-7deg);
}

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

.section-header {
  max-width: 720px;
  margin-bottom: 30px;
}

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

.section-header p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.feature-card {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--paper);
}

.feature-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

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

.dot {
  width: 12px;
  height: 12px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--blue);
}

.feature-card:nth-child(2) .dot {
  background: var(--green);
}

.feature-card:nth-child(3) .dot {
  background: var(--coral);
}

.feature-card:nth-child(4) .dot {
  background: var(--gold);
}

.gallery-band {
  background: #111827;
  color: #ffffff;
}

.gallery-band .section-header p {
  color: rgba(255, 255, 255, 0.68);
}

.screen-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.screen-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.screen-frame img {
  width: 100%;
}

.policy-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--wash);
}

.policy-strip h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: 0;
}

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

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

.footer-inner {
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 700;
}

.text-link {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.simple-page {
  background: var(--wash);
}

.legal-wrap {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 76px;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(26px, 5vw, 48px);
  background: #ffffff;
}

.legal-card h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

.legal-card h2 {
  margin: 34px 0 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.legal-card p,
.legal-card li {
  color: #384152;
}

.legal-card ul {
  padding-left: 22px;
}

.legal-meta {
  margin: 0 0 28px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .hero-media {
    min-height: 500px;
  }

  .phone.primary-shot {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .phone.secondary-shot {
    right: 8%;
  }

  .phone.third-shot {
    left: 8%;
    right: auto;
  }

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

  .policy-strip,
  .footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }

  .nav-links {
    width: 100%;
  }

  .store-buttons {
    width: 100%;
  }

  .store-buttons .button {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 12px;
  }

  .nav-links > a:not(.button) {
    display: none;
  }

  .hero-inner,
  .section {
    width: min(100% - 24px, 1120px);
  }

  .hero-media {
    min-height: 430px;
  }

  .phone {
    width: 205px;
  }

  .phone.primary-shot {
    top: 0;
  }

  .phone.secondary-shot {
    top: 106px;
    right: -12px;
  }

  .phone.third-shot {
    top: 142px;
    left: -12px;
  }

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

  .screen-row {
    gap: 14px;
  }

  .screen-frame {
    max-width: 330px;
  }
}
