:root {
  --accent: #117E86;
  --accent-2: #38b2bc;
  --bg: #ffffff;
  --bg-soft: #f4f7f8;
  --card: #ffffff;
  --text: #14181a;
  --muted: #5c6a6e;
  --border: #e4eaec;
  --radius: 18px;
  --shadow: 0 18px 50px -28px rgba(17, 126, 134, 0.45);
  --maxw: 1080px;
  font-synthesis-weight: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #3fc6cf;
    --accent-2: #5fe0e8;
    --bg: #0d1112;
    --bg-soft: #141a1c;
    --card: #161d1f;
    --text: #eef3f4;
    --muted: #9bacb0;
    --border: #243133;
    --shadow: 0 18px 60px -30px rgba(0, 0, 0, 0.8);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  border: 0; background: transparent; color: var(--muted);
  padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 0; cursor: pointer;
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: 46px; line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 32ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; }

.phone-stack { display: flex; justify-content: center; gap: 16px; }
.phone {
  width: 220px; border-radius: 34px; box-shadow: var(--shadow);
  border: 1px solid var(--border); background: var(--card);
}
.phone.back { width: 190px; align-self: flex-end; opacity: 0.92; }

/* Sections */
section.block { padding: 56px 0; }
section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: 32px; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px;
}
.feature .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
  font-size: 22px; margin-bottom: 14px;
}
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Privacy strip */
.privacy-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pill-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; background: var(--card);
}
.pill-card h3 { margin: 0 0 6px; font-size: 16px; }
.pill-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Pricing */
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 720px; margin: 0 auto; }
.price-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: var(--card);
}
.price-card.free { border-style: dashed; }
.price-card h3 { margin: 0 0 4px; font-size: 20px; }
.price-card .price { font-size: 30px; font-weight: 800; margin: 6px 0 14px; }
.price-card .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.price-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.price-card li { margin-bottom: 6px; }

/* CTA */
.cta-final { text-align: center; }
.cta-final h2 { font-size: 30px; margin: 0 0 16px; }

/* Doc pages */
.doc { padding: 56px 0 72px; }
.doc h1 { font-size: 36px; margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; font-size: 14px; }
.doc h2 { font-size: 22px; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 20px; }
.doc a { word-break: break-word; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0; color: var(--muted); font-size: 14px; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }

[hidden] { display: none !important; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 36px; }
  .hero p.lead { max-width: none; }
  .features, .privacy-strip { grid-template-columns: 1fr; }
  .price-wrap { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .phone { width: 180px; }
  .phone.back { display: none; }
}
