:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1c1b19;
  --muted: #5f5c55;
  --line: #e7e3da;
  --accent: #1f5eff;
  --accent-ink: #ffffff;
  --warn-bg: #fff4e0;
  --warn-ink: #7a4b00;
  --radius: 14px;
  --max: 1040px;
  font-synthesis: none;
  color-scheme: light dark;
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
/* Dark theme: follows the system unless the visitor picked a theme with the toggle. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131312;
    --surface: #1c1c1a;
    --text: #efece6;
    --muted: #a8a49b;
    --line: #2f2e2b;
    --accent: #7ea2ff;
    --accent-ink: #0b1a44;
    --warn-bg: #3a2a0c;
    --warn-ink: #ffd48a;
  }
}
:root[data-theme="dark"] {
  --bg: #131312;
  --surface: #1c1c1a;
  --text: #efece6;
  --muted: #a8a49b;
  --line: #2f2e2b;
  --accent: #7ea2ff;
  --accent-ink: #0b1a44;
  --warn-bg: #3a2a0c;
  --warn-ink: #ffd48a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
header.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.logo { font-weight: 700; font-size: 19px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--accent); }
.nav a.small { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }

.notice {
  display: inline-block;
  background: var(--warn-bg);
  color: var(--warn-ink);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero { padding: 56px 0 40px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 18px; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 650;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 12px;
}
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.fine { font-size: 14px; color: var(--muted); }

/* Compose mock */
.mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
  overflow: hidden;
  font-size: 14px;
}
.mock .bar { background: #404040; color: #fff; padding: 10px 14px; font-weight: 600; }
.mock .row { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.mock .from { background: #f1f4fb; display: flex; gap: 8px; align-items: center; color: #444; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mock .from { background: #22262f; color: #cfd5e3; } }
:root[data-theme="dark"] .mock .from { background: #22262f; color: #cfd5e3; }
.mock .pill { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; color: var(--text); font-weight: 600; }
.mock .body { padding: 16px 14px 60px; color: var(--text); }
.mock .send { margin: 0 14px 14px; display: inline-block; background: #0b57d0; color: #fff; padding: 8px 18px; border-radius: 18px; font-weight: 600; }

section { padding: 56px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.02em; margin: 0 0 12px; }
section > .wrap > p.sub { color: var(--muted); margin: 0 0 32px; max-width: 42em; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.step-n { font-weight: 700; color: var(--accent); font-size: 14px; margin-bottom: 6px; }

table.compare { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: 14px; color: var(--muted); font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }
.compare td.us { font-weight: 650; }
.table-scroll { overflow-x: auto; }

.price { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; }
.price .card.main { border: 2px solid var(--accent); }
.price .amount { font-size: 44px; font-weight: 750; letter-spacing: -0.02em; }
.price ul { padding-left: 18px; margin: 12px 0 18px; color: var(--muted); }

details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 650; }
details p { color: var(--muted); margin: 10px 0 0; }

footer { padding: 36px 0 60px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer a { color: var(--muted); margin-right: 16px; }

.doc { max-width: 760px; padding: 24px 0 64px; }
.doc h1 { font-size: 36px; letter-spacing: -0.02em; }
.doc h2 { font-size: 22px; margin-top: 32px; }
.doc p, .doc li { color: var(--text); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .grid3, .price { grid-template-columns: 1fr; }
  .nav a.small.hide-sm { display: none; }
}
@media (max-width: 480px) {
  .nav a.small { margin-left: 14px; }
  .theme-toggle { margin-left: 12px; }
  .by { display: none; }
}

/* SteadyTabs additions */
.by { color: var(--muted); font-size: 13px; font-weight: 500; text-decoration: none; margin-left: 8px; margin-right: auto; white-space: nowrap; }
header.nav > nav { display: flex; align-items: center; flex-shrink: 0; }
.product { display: block; text-decoration: none; color: inherit; max-width: 520px; }
.product:hover { border-color: var(--accent); }
.product .go { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 650; }
.product .tag { display: inline-block; font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.soon { color: var(--muted); font-size: 15px; margin-top: 24px; }
.doc h3 { font-size: 18px; margin-top: 24px; }
footer p { margin: 12px 0 0; }

.theme-toggle {
  margin-left: 16px;
  width: 34px;
  height: 34px;
  padding: 0;
  font-size: 16px;
  line-height: 1;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  vertical-align: middle;
}
.theme-toggle:hover { color: var(--text); border-color: var(--muted); }

/* Footer links sit next to each other without whitespace; let them wrap individually. */
footer .wrap > a { display: inline-block; margin-bottom: 6px; }

/* Product screenshots with light/dark variants. Pure CSS so the manual theme toggle (data-theme) is respected. */
img.shot { display: block; max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, .08); }
img.img-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) img.img-light { display: none; }
  :root:not([data-theme="light"]) img.img-dark { display: block; }
}
:root[data-theme="dark"] img.img-light { display: none; }
:root[data-theme="dark"] img.img-dark { display: block; }
.hero .shot-wrap { display: flex; justify-content: center; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; margin-top: 8px; }
.split + .split { margin-top: 48px; }
.split.rev > :first-child { order: 2; }
.split h3 { font-size: 22px; margin: 0 0 8px; letter-spacing: -0.01em; }
.split p { color: var(--muted); margin: 0 0 10px; }
.checks { list-style: none; padding: 0; margin: 12px 0 0; }
.checks li { position: relative; padding-left: 26px; margin: 8px 0; color: var(--muted); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.card .checks li { font-size: 16px; }
.plan-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.price3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price3 .card.main { border: 2px solid var(--accent); }
.price3 .amount { font-size: 40px; font-weight: 750; letter-spacing: -0.02em; }
.price3 .amount small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.compare td, .compare th { min-width: 120px; }
@media (max-width: 820px) {
  .split, .price3 { grid-template-columns: 1fr; gap: 20px; }
  .split.rev > :first-child { order: 0; }
}
/* Shared headers carry two product links; tighten them on narrow phones so nothing overflows. */
@media (max-width: 400px) {
  .logo { font-size: 17px; }
  .nav a.small { margin-left: 10px; font-size: 14px; }
  .theme-toggle { margin-left: 10px; }
}
