/* Seula — marketing site.
   Shares the look of the in-app Help book: system fonts, generous measure,
   automatic dark mode, Apple-blue accent, rounded screenshots. */

:root {
  --bg: #ffffff;
  --bg-elevated: #f5f5f7;
  --bg-hero: linear-gradient(180deg, #eef2f8 0%, #ffffff 70%);
  --bg-accent: #eef4ff;
  --text: #1d1d1f;
  --text-secondary: #515154;
  --text-tertiary: #86868b;
  --link: #0066cc;
  --rule: #d2d2d7;
  --shot-bg: #f5f5f7;
  --shot-border: #c7c7cc;
  --card-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161617;
    --bg-elevated: #1f1f21;
    --bg-hero: linear-gradient(180deg, #1c2330 0%, #161617 70%);
    --bg-accent: #16263f;
    --text: #f5f5f7;
    --text-secondary: #c7c7cc;
    --text-tertiary: #98989d;
    --link: #4f9dff;
    --rule: #3a3a3c;
    --shot-bg: #2a2a2c;
    --shot-border: #545458;
    --card-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 600; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }

/* ── Top bar ─────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--rule);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
}
.topbar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
}
.topbar .brand img { width: 28px; height: 28px; border-radius: 7px; }
.topbar nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.topbar nav a { color: var(--text-secondary); font-size: 15px; }
.topbar nav a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 620px) { .topbar nav a.hide-sm { display: none; } }

.langs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 5px;
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: 10px;
}
.langs a {
  display: block;
  line-height: 0;
  padding: 2px;
  border-radius: 4px;
}
.langs a img {
  display: block;
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.langs a:not(.current) { opacity: 0.5; }
.langs a:not(.current):hover { opacity: 1; }
.langs a.current { box-shadow: 0 0 0 2px var(--link); }

/* ── Buttons ─────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 500;
  background: var(--link);
  color: #fff;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn.secondary {
  background: transparent;
  color: var(--link);
  border-color: var(--rule);
}
.btn.small { padding: 7px 16px; font-size: 15px; }

/* ── Hero ────────────────────────────────────────────────────────── */

.hero {
  background: var(--bg-hero);
  border-bottom: 1px solid var(--rule);
  padding: 72px 0 0;
  text-align: center;
}
.hero img.app-icon {
  width: 104px;
  height: 104px;
  border-radius: 23px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
.hero h1 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 22px 0 10px;
}
.hero .tagline {
  font-size: clamp(19px, 3vw, 24px);
  color: var(--text-secondary);
  max-width: 30ch;
  margin: 0 auto 26px;
  line-height: 1.35;
}
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .platform {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-tertiary);
}
.hero-shot {
  margin: 50px auto 0;
  max-width: 900px;
  padding: 0 24px;
}
.hero-shot img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--shot-border);
  box-shadow: var(--card-shadow);
  display: block;
}

/* ── Intro ───────────────────────────────────────────────────────── */

.section { padding: 80px 0; }
.section.tight { padding: 56px 0; }
.section h2 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
.lede {
  font-size: 21px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 62ch;
}
.intro { text-align: center; }
.intro .lede { margin: 0 auto; }
.intro .pill-row {
  margin: 28px 0 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.pill {
  font-size: 14px;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: 980px;
  padding: 7px 15px;
}

/* ── Feature rows ────────────────────────────────────────────────── */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 44px 0;
  border-top: 1px solid var(--rule);
}
.feature:first-of-type { border-top: none; }
.feature .copy h3 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.feature .copy p { margin: 0; color: var(--text-secondary); font-size: 17px; }
.feature figure { margin: 0; }
.feature figure img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--shot-border);
  box-shadow: var(--card-shadow);
  display: block;
}
.feature.reverse .copy { order: 2; }
.feature.reverse figure { order: 1; }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; gap: 22px; padding: 36px 0; }
  .feature.reverse .copy, .feature.reverse figure { order: 0; }
}

/* ── Privacy band ────────────────────────────────────────────────── */

.privacy-band {
  background: var(--bg-accent);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.privacy-band .lede { margin: 0 auto; }
.privacy-band .check-row {
  margin: 26px 0 0;
  display: flex;
  gap: 14px 30px;
  justify-content: center;
  flex-wrap: wrap;
}
.privacy-band .check-row span { color: var(--text); font-size: 16px; }
.privacy-band .check-row span::before { content: "✓"; color: #2fae5e; font-weight: 700; margin-right: 8px; }

/* ── Pricing ─────────────────────────────────────────────────────── */

.pricing { text-align: center; }
.pricing .price {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
}
.pricing .price small { display: block; margin-top: 6px; font-size: 17px; font-weight: 500; color: var(--text-tertiary); }
.pricing .pro-note {
  margin: 20px auto 0;
  max-width: 52ch;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-tertiary);
}
.pricing .pro-note strong { color: var(--text-secondary); font-weight: 600; }

/* ── Footer ──────────────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--rule);
  padding: 40px 0 56px;
  color: var(--text-tertiary);
  font-size: 14px;
}
footer .links { display: flex; gap: 22px; flex-wrap: wrap; margin: 0 0 14px; }
footer .links a { color: var(--text-secondary); }
footer .brand-line { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; }
footer .brand-line img { width: 22px; height: 22px; border-radius: 6px; }
footer .brand-line strong { color: var(--text); }

/* ── Legal pages ─────────────────────────────────────────────────── */

.legal { max-width: 740px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.legal .updated { color: var(--text-tertiary); font-size: 14px; margin: 0 0 28px; }
.legal h2 { font-size: 21px; font-weight: 600; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--text-secondary); }
.legal ul { padding-left: 22px; }
.legal li { margin: 0 0 7px; }
.legal .back { display: inline-block; margin-bottom: 26px; font-size: 15px; }
.legal .fineprint { font-size: 13px; line-height: 1.5; }
