:root {
  color-scheme: light;
  --ink: #101722;
  --muted: #5f6878;
  --paper: #ffffff;
  --wash: #f4f7f6;
  --panel: #ffffff;
  --line: #dce4e8;
  --mint: #19a987;
  --mint-dark: #0d7662;
  --amber: #e9a83b;
  --coral: #ef725f;
  --blue: #2458d8;
  --shadow: 0 22px 60px rgba(22, 31, 55, 0.13);
}

* {
  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 {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 228, 232, 0.82);
  background: rgba(255, 255, 255, 0.94);
  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: 850;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(25, 169, 135, 0.18);
}

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

.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(25, 169, 135, 0.34);
  box-shadow: 0 12px 28px rgba(22, 31, 55, 0.1);
}

.button.primary {
  border-color: var(--mint-dark);
  background: var(--mint-dark);
  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 78% 16%, rgba(233, 168, 59, 0.22), transparent 26%),
    radial-gradient(circle at 4% 35%, rgba(25, 169, 135, 0.14), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f7faf9 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: 720px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.99;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 640px;
  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: 750;
}

.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: 132px;
  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: 730px;
  margin-bottom: 30px;
}

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

.section-header p,
.policy-strip 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: 205px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
}

.feature-card strong,
.step strong {
  display: block;
  margin-top: 14px;
  font-size: 18px;
}

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

.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.dot.mint {
  background: var(--mint);
}

.dot.amber {
  background: var(--amber);
}

.dot.coral {
  background: var(--coral);
}

.dot.blue {
  background: var(--blue);
}

.workflow-band {
  border-block: 1px solid var(--line);
  background: var(--wash);
}

.workflow {
  padding-block: 72px;
}

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

.step {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
}

.step span {
  color: var(--mint-dark);
  font-size: 14px;
  font-weight: 850;
}

.screen-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(168px, 1fr));
  gap: 16px;
  overflow-x: auto;
  padding: 4px 0 18px;
}

.screen-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 14px 34px rgba(22, 31, 55, 0.12);
}

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

.policy-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(25, 169, 135, 0.1), rgba(233, 168, 59, 0.1)),
    #ffffff;
}

.policy-strip > div:first-child {
  max-width: 720px;
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

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

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

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

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

.legal-main {
  background: #f8faf9;
}

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

.legal-hero {
  padding: 62px 0 30px;
}

.legal-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
}

.legal-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.legal-section {
  padding: 0 0 76px;
}

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

.legal-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.15;
}

.legal-card h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}

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

.legal-card p {
  margin: 0 0 12px;
}

.legal-card ul,
.legal-card ol {
  margin: 0;
  padding-left: 20px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.contact-row strong {
  display: block;
}

.contact-row span,
.contact-row a {
  color: var(--muted);
}

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

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .store-buttons {
    flex-wrap: wrap;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 46px;
  }

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

  .phone.primary-shot {
    right: 38%;
  }

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

  .phone.third-shot {
    right: 58%;
  }

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

  .policy-strip,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .policy-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .nav-links > a:not(.button) {
    display: none;
  }

  .store-buttons {
    width: 100%;
  }

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

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

  .hero-copy p,
  .section-header p,
  .policy-strip p,
  .legal-hero p {
    font-size: 16px;
  }

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

  .phone {
    width: 210px;
  }

  .phone.primary-shot {
    right: 26%;
  }

  .phone.secondary-shot {
    right: -18px;
    top: 112px;
  }

  .phone.third-shot {
    right: 52%;
    top: 142px;
  }

  .section,
  .workflow {
    padding-block: 54px;
  }

  .policy-strip,
  .legal-card {
    padding: 22px;
  }
}
