:root {
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --card: #ffffff;
  --text: #0b1220;
  --muted: #5b6474;
  --line: #e3e6eb;
  --brand: #0a6cff;
  --brand-ink: #ffffff;
  --shadow: 0 1px 2px rgba(11, 18, 32, .06), 0 8px 24px rgba(11, 18, 32, .06);
  --radius: 14px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1018;
    --bg-alt: #111823;
    --card: #141c28;
    --text: #e8edf4;
    --muted: #9aa5b5;
    --line: #233041;
    --brand: #3d8bff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
code { font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg-alt); padding: .1em .35em; border-radius: 5px; }
pre { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; overflow-x: auto; }
pre code { background: none; padding: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: var(--card); padding: 8px 12px; border-radius: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.top nav { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.top nav a { color: var(--muted); padding: 6px 10px; border-radius: 8px; white-space: nowrap; font-size: .95rem; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); background: var(--bg-alt); text-decoration: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-weight: 600; font-size: 1rem; }
.btn:hover { text-decoration: none; border-color: var(--muted); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.small { padding: 7px 14px; font-size: .9rem; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 10px; }
.cta.center { justify-content: center; }

/* sections */
.hero { padding: 72px 0 48px; background: radial-gradient(1200px 400px at 50% -10%, color-mix(in srgb, var(--accent, var(--brand)) 16%, transparent), transparent); }
.hero.product { padding-top: 32px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--brand); margin-bottom: .6em; }
.lead { font-size: 1.2rem; color: var(--muted); }
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.feature-row.flip .split > :first-child { order: 2; }
.shot { border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--card); }
.crumbs { padding-top: 18px; font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }

.card, .feature, .perk, .tier { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card { display: flex; flex-direction: column; align-items: flex-start; border-top: 3px solid var(--accent, var(--brand)); }
.card h2, .card h3 { margin-top: 12px; }
.card h3 a, .card h2 a { color: var(--text); }
.card .card-links { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.icon { width: 88px; height: 88px; }
.icon.big { width: 112px; height: 112px; margin-bottom: 8px; }
.price { font-size: 1.6rem; font-weight: 700; margin: 4px 0 14px; }
.price span { font-size: .9rem; color: var(--muted); font-weight: 500; }
.feature h3, .perk h3 { margin-bottom: .35em; }
.feature p, .perk p { color: var(--muted); margin: 0; font-size: .97rem; }

.bundle-strip { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }

.ticks, .notes, .steps { padding-left: 0; list-style: none; }
.ticks li, .notes li { position: relative; padding-left: 26px; margin: 6px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: #2fb35a; font-weight: 700; }
.notes li::before { content: "i"; position: absolute; left: 2px; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--muted); color: var(--muted); font: 700 11px/14px ui-monospace, monospace; text-align: center; }
.steps { counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; margin: 14px 0; min-height: 30px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.specs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); }
.specs strong { color: var(--text); margin-right: 4px; }

/* comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { background: var(--bg-alt); font-size: .9rem; }
.us { background: color-mix(in srgb, var(--brand) 8%, transparent); font-weight: 600; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 32px 14px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.5rem; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq summary h3 { display: inline; font-size: 1.05rem; }
.faq p { color: var(--muted); }

/* pricing */
.tier { display: flex; flex-direction: column; gap: 4px; }
.tier h2 { font-size: 1.25rem; }
.tier .btn { margin-top: auto; }
.tier > a.small { text-align: center; margin-top: 8px; }
.tier.featured { border: 2px solid var(--brand); position: relative; }
.badge { align-self: flex-start; background: var(--brand); color: var(--brand-ink); font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; }
.hash { word-break: break-all; margin-top: 12px; }

/* guides & articles */
.guide-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.guide { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--text); }
.guide:hover { border-color: var(--brand); text-decoration: none; }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 700; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); padding: 2px 8px; border-radius: 999px; }
.article { padding-top: 28px; padding-bottom: 32px; }
.article h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.article h2 { margin-top: 1.6em; font-size: 1.5rem; }
.article li { margin: 6px 0; }
.answer { background: color-mix(in srgb, var(--brand) 8%, var(--card)); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; }
.answer h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .4em; color: var(--brand); }
.answer p { margin: 0; }
.toc { border-left: 3px solid var(--line); padding: 4px 0 4px 16px; margin: 20px 0; font-size: .95rem; }
.toc ol { margin: 6px 0 0; padding-left: 18px; }
.promo { display: flex; align-items: center; gap: 16px; padding: 18px; margin: 32px 0; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); background: var(--card); }
.promo div { flex: 1; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 24px; background: var(--bg-alt); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 28px; }
.foot h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.foot-grid > div > a:not(.brand) { display: block; color: var(--text); padding: 3px 0; font-size: .95rem; }
.copy { margin-top: 32px; }

@media (max-width: 900px) {
  .split, .grid3, .grid4, .foot-grid, .guide-list { grid-template-columns: 1fr; }
  .feature-row.flip .split > :first-child { order: 0; }
  .hero { padding: 48px 0 32px; }
  .section { padding: 48px 0; }
  .top-in { gap: 10px; }
  .brand span { display: none; }
  .promo { flex-wrap: wrap; }
}

/* portrait screenshots (small utility windows) stay a sensible size */
.shot { max-height: 640px; width: auto; justify-self: center; }
.split > *, .grid3 > *, .grid4 > * { min-width: 0; }
h1, h2 { overflow-wrap: break-word; }
@media (max-width: 900px) { .shot { max-height: none; width: 100%; } }
.top nav { min-width: 0; }
.top-in > .brand { flex-shrink: 0; }
