/* easli landing — shared styles
 * Brand: calm blue (#1F6FEB), accessible, GDPR-conscious.
 * Mobile-first. No external dependencies. */

:root {
  --primary: #1F6FEB;
  --primary-dark: #0F4FB8;
  --primary-soft: #EAF1FF;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FF;
  --text: #0F172A;
  --text-muted: #475569;
  --text-subtle: #64748B;
  --border: #E2E8F0;
  --green: #16A34A;
  --max-width: 1100px;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

/* ===== Top nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.3px;
  color: var(--text);
}
.brand-logo {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.5px;
}
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
}
.nav ul a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}
.nav ul a:hover { color: var(--primary); text-decoration: none; }

@media (max-width: 640px) {
  .nav ul { display: none; }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding: 80px 20px 64px;
  text-align: center;
}
.hero-inner { max-width: 780px; margin: 0 auto; }
.eyebrow {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
}
h1 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -1.4px;
  margin: 0 0 20px;
  font-weight: 800;
}
h1 .accent { color: var(--primary); }
.lede {
  font-size: 21px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 auto 36px;
  max-width: 620px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  background: var(--text);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-store:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: #fff;
  text-decoration: none;
}
.btn-store.disabled {
  opacity: 0.5;
  pointer-events: none;
}
.btn-store small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
  margin-bottom: -2px;
}

@media (max-width: 640px) {
  h1 { font-size: 40px; letter-spacing: -1px; }
  .lede { font-size: 18px; }
  .hero { padding: 56px 20px 44px; }
}

/* ===== Sections ===== */
section { padding: 64px 20px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin: 0 0 12px;
}
h2 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.6px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 16px;
}
.section-lede {
  font-size: 18px;
  color: var(--text-muted);
  text-align: center;
  max-width: 580px;
  margin: 0 auto 48px;
}

/* ===== Feature grid ===== */
.bg-soft { background: var(--bg-soft); }
.feature-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.feature {
  background: #fff;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--primary-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.feature p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== How it works ===== */
.steps {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  text-align: left;
}
.step {
  position: relative;
  padding-left: 56px;
}
.step-num {
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
}
.step h3 { margin: 6px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ===== Privacy callout ===== */
.privacy {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
}
.privacy h2 { color: #fff; }
.privacy p { color: rgba(255, 255, 255, 0.92); font-size: 17px; }
.privacy-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 32px;
  text-align: left;
}
.privacy-point {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 18px;
}
.privacy-point strong { display: block; margin-bottom: 4px; }
.privacy-point span { color: rgba(255, 255, 255, 0.85); font-size: 14px; }

/* ===== Languages strip ===== */
.lang-strip {
  font-size: 17px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.8;
  letter-spacing: -0.1px;
}
.lang-strip span {
  display: inline-block;
  margin: 4px 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 500;
  font-size: 14px;
}

/* ===== Footer ===== */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 40px 20px;
  font-size: 14px;
  color: var(--text-subtle);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
footer a { color: var(--text-muted); margin-right: 18px; }
.footer-brand { font-weight: 600; color: var(--text); }

/* ===== Legal pages ===== */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}
.legal h1 {
  font-size: 36px;
  text-align: left;
  margin-bottom: 8px;
}
.legal-updated {
  color: var(--text-subtle);
  font-size: 14px;
  margin-bottom: 36px;
}
.legal h2 {
  font-size: 22px;
  text-align: left;
  margin: 36px 0 12px;
  letter-spacing: -0.3px;
}
.legal h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}
.legal p, .legal li {
  font-size: 16px;
  color: var(--text);
  line-height: 1.65;
}
.legal ul { padding-left: 22px; }
.legal .callout {
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 15px;
}
.legal address {
  font-style: normal;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 12px 0 24px;
  line-height: 1.7;
}

/* ===== Skip link (a11y) ===== */
.skip-link {
  position: absolute;
  left: -999px;
  top: 4px;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
}
.skip-link:focus { left: 16px; }
