:root {
  --bg: #F3F5FC;
  --bg-alt: #EAEFFA;
  --card: #FFFFFF;
  --text: #12203D;
  --muted: #5B6478;
  --primary: #1A3A6B;
  --primary-dark: #132E5D;
  --accent: #00A9BC;
  --accent-soft: #E1F7F9;
  --primary-soft: #E7ECF7;
  --border: #E1E5F0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(19, 46, 93, 0.08);
  --shadow-lg: 0 20px 50px rgba(19, 46, 93, 0.14);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand {
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

header.site {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 245, 252, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(19, 46, 93, 0.25);
}

nav.site {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav.site a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 12px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

nav.site a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

/* ---------- Layout basics ---------- */

main {
  padding: 0 0 0;
}

h1 {
  font-size: 44px;
  line-height: 1.14;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text);
}

h2 {
  font-size: 26px;
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
  font-weight: 700;
}

h3 {
  font-weight: 600;
  letter-spacing: -0.005em;
}

p.lede {
  font-size: 18.5px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 0 32px;
}

a { color: var(--primary); }

/* ---------- Eyebrow / section headers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-header .eyebrow { margin-bottom: 14px; }

.section-header h2 {
  margin: 0 0 12px;
}

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

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}

.hero-copy .eyebrow { margin-bottom: 18px; }

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.trust-row svg {
  flex-shrink: 0;
  color: var(--accent);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  max-width: 90%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0, 169, 188, 0.22) 0%, rgba(26, 58, 107, 0.12) 55%, transparent 75%);
  border-radius: 50%;
  z-index: 0;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 28px;
  background: var(--bg-alt);
  box-shadow: 0 30px 60px -12px rgba(19, 46, 93, 0.35), 0 0 0 1px rgba(19, 46, 93, 0.04);
}

/* ---------- App Store badge ---------- */

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px 10px 15px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.store-badge-icon {
  display: flex;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge-small {
  font-size: 11px;
  opacity: 0.85;
}

.store-badge-large {
  font-size: 17px;
  font-weight: 600;
}

/* ---------- Feature grid ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--primary-soft);
  color: var(--primary);
}

.icon-circle.accent {
  background: var(--accent-soft);
  color: var(--accent);
}

.icon-circle svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  color: var(--text);
}

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

/* ---------- Showcase / screenshots marquee ---------- */

.screenshots-wrap {
  overflow: hidden;
  padding: 4px 0 12px;
  margin: 0 -24px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 64px, black calc(100% - 64px), transparent);
  mask-image: linear-gradient(to right, transparent, black 64px, black calc(100% - 64px), transparent);
}

.screenshots-track {
  display: flex;
  width: max-content;
  animation: marquee 18s linear infinite;
}

.screenshots-wrap:hover .screenshots-track {
  animation-play-state: paused;
}

.screenshots {
  display: flex;
  gap: 14px;
  padding-right: 14px;
}

.showcase-item {
  flex: none;
  line-height: 0;
}

.screenshots img {
  display: block;
  height: 420px;
  width: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(19, 46, 93, 0.06);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .screenshots-track {
    animation: none;
  }
  .screenshots-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .screenshots-track .screenshots[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 600px) {
  .screenshots img { height: 340px; }
  .screenshots-wrap {
    -webkit-mask-image: linear-gradient(to right, transparent, black 32px, black calc(100% - 32px), transparent);
    mask-image: linear-gradient(to right, transparent, black 32px, black calc(100% - 32px), transparent);
  }
}

/* ---------- Privacy strip ---------- */

.privacy-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}

.privacy-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
}

.privacy-item svg {
  color: var(--accent);
  margin-bottom: 12px;
}

.privacy-item h3 {
  font-size: 15.5px;
  margin: 0 0 6px;
}

.privacy-item p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

.privacy-cta {
  text-align: center;
  margin-top: 32px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Final CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  margin: 0 auto;
}

.cta-band h2 {
  color: #fff;
  margin: 0 0 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 16px;
}

.cta-band .store-badge {
  background: #fff;
  color: #000;
}

/* ---------- Support / legal pages ---------- */

.support-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
  box-shadow: var(--shadow);
}

.support-card h3 {
  margin-top: 0;
}

article {
  font-size: 16px;
  max-width: 720px;
}

article h2:first-child {
  margin-top: 0;
}

article h2 {
  font-size: 19px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

article h2:nth-of-type(1) {
  border-top: none;
  padding-top: 0;
}

.updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
}

/* ---------- Footer ---------- */

footer.site {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}

.footer-brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.footer-tagline {
  color: var(--muted);
  font-size: 13.5px;
  max-width: 320px;
  margin: 10px 0 0;
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; margin-bottom: 12px; }
  .hero-actions { justify-content: center; }
  .trust-row { justify-content: center; }
  p.lede { margin-left: auto; margin-right: auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .privacy-strip { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  .section { padding: 64px 0; }
  .cta-band { padding: 40px 24px; border-radius: 18px; }
  .footer-grid { flex-direction: column; }
}
