:root {
  --bg: #ffffff;
  --panel: #f5f6f8;
  --text: #16181d;
  --muted: #5b6270;
  --line: #e3e6eb;
  --accent: #5b3df5;
  --accent-text: #ffffff;
  --code: #eef0f4;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181d;
    --panel: #1f232a;
    --text: #e8eaed;
    --muted: #a3a9b4;
    --line: #2e333c;
    --accent: #9d8cff;
    --accent-text: #0f1014;
    --code: #262b33;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
/* grid and flex children may shrink below their content (the 1280px screenshot, long words) */
.hero > *, .grid3 > *, .grid2 > *, .plans > *, .plan, .card { min-width: 0; }
.btn { text-align: center; white-space: normal; }
p, li, td, th, summary { overflow-wrap: anywhere; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 32px; height: 32px; }
nav.links { display: flex; gap: 18px; font-size: 15px; }
nav.links a { color: var(--text); text-decoration: none; }
nav.links a:hover { color: var(--accent); }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--line);
  color: var(--text); background: var(--panel); text-decoration: none; font-weight: 600; font-size: 15px; cursor: pointer;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.hero { padding: 64px 0 40px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.15; margin: 0 0 16px; letter-spacing: -.02em; }
.lede { font-size: 19px; color: var(--muted); margin: 0 0 24px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { font-size: 14px; color: var(--muted); }
.shot { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.shot img { display: block; width: 100%; }
section { padding: 48px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 30px; margin: 0 0 12px; letter-spacing: -.01em; }
section > .wrap > p.sub { color: var(--muted); margin: 0 0 28px; max-width: 720px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--code); color: var(--muted); vertical-align: middle; margin-left: 6px; }
ol.steps { padding-left: 22px; }
ol.steps li { margin: 0 0 10px; }
kbd { font: 13px ui-monospace, Menlo, monospace; background: var(--code); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
table.facts { width: 100%; border-collapse: collapse; font-size: 15px; table-layout: fixed; }
table.facts th, table.facts td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.facts th { width: 32%; color: var(--muted); font-weight: 600; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 17px; }
details p { margin: 10px 0 0; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.plan.pro { border-color: var(--accent); }
.price { font-size: 38px; font-weight: 800; letter-spacing: -.02em; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { margin: 6px 0 10px; padding-left: 20px; }
.plan li { margin: 4px 0; }
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 0 0 18px; }
.toggle button { border: 0; background: transparent; color: var(--text); padding: 8px 16px; font: inherit; font-size: 14px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); }
form.pay { display: flex; flex-direction: column; gap: 8px; }
form.pay input[type=email] {
  padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit;
}
.msg { font-size: 14px; min-height: 1.2em; color: var(--muted); }
.legal { max-width: 760px; }
.legal h1 { font-size: 34px; margin: 40px 0 6px; }
.legal h2 { font-size: 21px; margin: 28px 0 8px; }
footer.bottom { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer.bottom a { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 820px) {
  .wrap { padding: 0 16px; }
  .hero { grid-template-columns: 1fr; padding-top: 32px; gap: 28px; }
  section { padding: 36px 0; }
  section h2 { font-size: 25px; }
  table.facts th { width: 38%; }
  table.facts th, table.facts td { padding: 8px 6px; }
  .cta .btn { flex: 1 1 auto; }
  .hero h1 { font-size: 34px; }
  .grid3, .grid2, .plans { grid-template-columns: 1fr; }
  nav.links { gap: 12px; font-size: 14px; }
  nav.links .hide-sm { display: none; }
}
