:root {
  --ink: #102536;
  --muted: #557084;
  --blue: #075b9b;
  --blue-dark: #053f6a;
  --sky: #dff1ff;
  --cream: #f7f6f1;
  --line: #dbe4ea;
  --white: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; line-height: 1.6; }
a { color: inherit; text-underline-offset: .2em; }
img { display: block; max-width: 100%; }

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid rgba(16, 37, 54, .12);
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.06rem; font-weight: 760; text-decoration: none; }
.brand img { border-radius: 11px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: var(--muted); font-size: .94rem; font-weight: 650; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--blue); }
.language-picker { display: inline-flex; }
.language-picker select { max-width: 128px; padding: 6px 28px 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--blue); background: var(--white); font: inherit; font-size: .84rem; font-weight: 700; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.hero {
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: center;
  gap: 72px;
  padding: 90px 0 100px;
}

.eyebrow { margin: 0 0 16px; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 28px; font-size: clamp(3.4rem, 8vw, 6.8rem); line-height: .92; letter-spacing: -.065em; }
h1 span { color: var(--blue); }
.lead { max-width: 700px; margin-bottom: 34px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge { display: inline-flex; height: 52px; align-items: center; justify-content: center; text-decoration: none; }
.store-badge img { width: auto; max-width: none; }
.store-badge.apple img { height: 52px; }
.store-badge.google { width: 174px; overflow: hidden; }
.store-badge.google img { height: 68px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 11px 22px; border: 1px solid var(--ink); border-radius: 999px; font-weight: 750; text-decoration: none; }
.button.primary { border-color: var(--blue); color: var(--white); background: var(--blue); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary:hover { background: var(--white); }

.hero-mark { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-mark::before { content: ""; position: absolute; width: min(420px, 88vw); aspect-ratio: 1; border-radius: 50%; background: var(--sky); }
.hero-mark::after { content: ""; position: absolute; width: 68%; aspect-ratio: 1; border: 1px solid rgba(7, 91, 155, .28); border-radius: 50%; }
.logo-card { position: relative; z-index: 1; padding: 28px; border: 1px solid rgba(16, 37, 54, .1); border-radius: 36px; background: rgba(255, 255, 255, .82); box-shadow: 0 30px 70px rgba(7, 63, 106, .13); transform: rotate(3deg); backdrop-filter: blur(8px); }
.logo-card img { border-radius: 28px; }

.features { padding: 110px 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; margin-bottom: 55px; }
.section-heading h2, .data-note h2, .legal-contact h2 { margin-bottom: 0; font-size: clamp(2rem, 4.5vw, 3.7rem); line-height: 1.04; letter-spacing: -.045em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature-grid article { min-height: 260px; padding: 30px 26px; border-right: 1px solid var(--line); }
.feature-grid article:nth-child(3n) { border-right: 0; }
.feature-grid article:nth-child(n+4) { border-top: 1px solid var(--line); }
.feature-number { display: block; margin-bottom: 46px; color: var(--blue); font-size: .76rem; font-weight: 850; letter-spacing: .1em; }
.feature-grid h3 { margin-bottom: 12px; font-size: 1.18rem; }
.feature-grid p { color: var(--muted); }

.data-note { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px 72px; margin-bottom: 110px; padding: 54px; border-radius: 30px; color: var(--white); background: var(--ink); }
.data-note .eyebrow { color: #8bceff; }
.data-note p { color: #d8e3eb; }
.data-note-copy p:last-child { margin-bottom: 0; }
.data-note > a { grid-column: 2; color: #8bceff; font-weight: 750; }

footer { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 45px 0 32px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand img { border-radius: 8px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand span, .copyright { color: var(--muted); font-size: .82rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; }
.footer-links a { color: var(--muted); font-size: .88rem; }
.copyright { grid-column: 1 / -1; margin: 0; }

.legal-page { padding: 82px 0 110px; }
.legal-intro { max-width: 800px; margin-bottom: 64px; }
.legal-intro h1 { margin-bottom: 18px; font-size: clamp(3.2rem, 7vw, 6.3rem); }
.legal-intro > p:last-child { color: var(--muted); }
.legal-content { max-width: 810px; }
.legal-content section { padding: 30px 0; border-top: 1px solid var(--line); }
.legal-content h2 { margin-bottom: 12px; font-size: 1.22rem; }
.legal-content p { color: #344f62; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content a { color: var(--blue); }
.legal-contact { max-width: 810px; margin-top: 54px; padding: 34px; border-radius: 22px; background: var(--sky); }
.legal-contact h2 { font-size: 2rem; }
.legal-contact p { margin-bottom: 0; }

@media (max-width: 820px) {
  .site-header { min-height: 78px; }
  nav a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 72px 0; }
  .hero-mark { min-height: 330px; }
  .section-heading, .data-note { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid article { border-bottom: 1px solid var(--line); }
  .feature-grid article:nth-child(odd) { border-right: 1px solid var(--line); }
  .feature-grid article:nth-child(even) { border-right: 0; }
  .feature-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .data-note > a { grid-column: 1; }
}

@media (max-width: 560px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .site-header { align-items: flex-start; padding: 15px 0; }
  .brand span { display: none; }
  nav { gap: 16px; padding-top: 11px; }
  nav a { font-size: .83rem; }
  h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
  .hero { min-height: auto; padding-top: 58px; }
  .hero-mark { min-height: 285px; }
  .logo-card { padding: 22px; }
  .logo-card img { width: 145px; }
  .features { padding: 80px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: auto; border-right: 0; }
  .feature-grid article:nth-child(odd) { border-right: 0; }
  .feature-number { margin-bottom: 22px; }
  .data-note { margin-bottom: 75px; padding: 32px 26px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
