:root {
  --bg: #fbfbfd;
  --bg-elevated: #ffffff;
  --bg-muted: #f2f3f7;
  --text: #1d1d1f;
  --text-secondary: #5f6168;
  --border: rgba(0, 0, 0, 0.08);
  --accent: #0a7ae1;
  --accent-hover: #0868c0;
  --accent-soft: rgba(10, 122, 225, 0.1);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 40px rgba(0, 0, 0, 0.1);
  --radius: 14px;
  --max: 1080px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101113;
    --bg-elevated: #1a1b1e;
    --bg-muted: #17181b;
    --text: #f2f2f4;
    --text-secondary: #a0a2a8;
    --border: rgba(255, 255, 255, 0.09);
    --accent: #3395ff;
    --accent-hover: #5aa9ff;
    --accent-soft: rgba(51, 149, 255, 0.14);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 48px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; height: auto; display: block; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.brand:hover { text-decoration: none; color: var(--text); }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 15px; }
.site-nav a { color: var(--text-secondary); }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.site-nav .lang { border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; font-size: 13px; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero .wrap > *, .split > *, .features > * { min-width: 0; }
.hero-icon { width: 88px; height: 88px; border-radius: 20px; box-shadow: var(--shadow); margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 6vw, 60px); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 14px; }
.hero .tagline { font-size: clamp(19px, 2.4vw, 23px); color: var(--text-secondary); margin: 0 0 28px; max-width: 30em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; font-weight: 600;
  padding: 13px 22px; border-radius: 12px; font-size: 17px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.button:hover { background: var(--accent-hover); color: #fff; text-decoration: none; transform: translateY(-1px); }
.button svg { width: 20px; height: 20px; }
.price { font-weight: 600; }
.fineprint { color: var(--text-secondary); font-size: 14px; margin-top: 14px; }
.fineprint span + span::before { content: "·"; margin: 0 8px; opacity: 0.6; }

.shot {
  justify-self: center;
  width: min(340px, 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

/* Sections */
section { padding: 64px 0; }
section.muted { background: var(--bg-muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 12px; }
.section-lead { color: var(--text-secondary); font-size: 19px; margin: 0 0 36px; max-width: 40em; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.feature svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 12px; }
.feature h3 { font-size: 17px; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--text-secondary); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .shot-wide {
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border);
}
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 30px; margin: 0 0 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230a7ae1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3 3 7-7'/%3E%3C/svg%3E") center/12px no-repeat;
}

.faq { display: grid; gap: 12px; max-width: 760px; }
.faq details {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px;
}
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-secondary); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--text-secondary); }

.final-cta { text-align: center; }
.final-cta .cta-row { justify-content: center; }

/* Document pages (privacy, support) */
.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.02em; margin: 0 0 8px; }
.doc .meta { color: var(--text-secondary); margin: 0 0 36px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.callout {
  background: var(--accent-soft); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 28px;
}
.callout strong { display: block; margin-bottom: 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--text-secondary); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.site-footer a { color: var(--text-secondary); }

@media (max-width: 860px) {
  .hero { padding: 48px 0 32px; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 36px; }
  .features { grid-template-columns: 1fr 1fr; }
  .site-nav .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .site-footer nav { margin-left: 0; }
}
