/* Content pages (guides, how it works, FAQ, comparisons, blog; lib/site).
   Same bright look as the pricing and legal pages. The footer, skip link and
   focus styles come from a11y.css. */
:root {
  color-scheme: light;
  --ink: oklch(0.2 0.03 296);
  --text-2: oklch(0.36 0.02 296);
  --muted: oklch(0.45 0.02 296);
  --purple: oklch(0.55 0.25 293);
  --purple-ink: oklch(0.45 0.24 293);
  --magenta: oklch(0.62 0.27 320);
  --border: oklch(0.9 0.02 293);
  --tint: oklch(0.97 0.01 293);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh; display: flex; flex-direction: column;
  background:
    radial-gradient(circle at 12% 4%, oklch(0.55 0.25 293 / 0.08), transparent 38%),
    radial-gradient(circle at 92% 30%, oklch(0.62 0.27 320 / 0.06), transparent 40%),
    #fff;
  color: var(--ink); font-family: Inter, system-ui, sans-serif; line-height: 1.6;
}
a { color: var(--purple-ink); text-underline-offset: 3px; }
a:hover { color: oklch(0.38 0.22 293); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88em; background: var(--tint); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }

/* Header */
.s-top { display: flex; align-items: center; gap: 20px; padding: 14px clamp(16px, 4vw, 40px); }
.s-logo img { height: 34px; width: auto; display: block; }
.s-nav { display: flex; gap: 4px 20px; flex-wrap: wrap; margin-left: auto; }
.s-nav a { color: var(--text-2); font-weight: 600; font-size: 0.92rem; text-decoration: none; padding: 6px 2px; }
.s-nav a:hover, .s-nav a[aria-current="page"] { color: var(--purple-ink); }
.s-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.s-cta, .s-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  padding: 10px 20px; border-radius: 999px; color: #fff !important; font-weight: 700; font-size: 0.92rem; text-decoration: none;
  background: linear-gradient(90deg, var(--purple), var(--magenta)); box-shadow: 0 8px 20px -8px oklch(0.55 0.25 293 / 0.7);
}
.s-cta:hover, .s-btn:hover { box-shadow: 0 10px 24px -8px oklch(0.55 0.25 293 / 0.85); }
@media (max-width: 760px) {
  .s-top { flex-wrap: wrap; gap: 10px 14px; }
  .s-logo img { height: 28px; }
  .s-cta { margin-left: auto; padding: 8px 16px; }
  .s-nav { order: 3; width: 100%; margin-left: 0; gap: 2px 16px; }
  .s-nav a { font-size: 0.86rem; }
}

/* Article */
.s-main { flex: 1 0 auto; width: min(820px, 100%); margin: 0 auto; padding: 8px clamp(16px, 4vw, 32px) 40px; }
.s-main:has(.s-wide) { width: min(1120px, 100%); }
.s-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 4px 0 14px; padding: 0; font-size: 0.82rem; color: var(--muted); }
.s-crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--muted); }
.s-crumbs a { color: var(--muted); }
.s-eyebrow { margin: 0 0 6px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple-ink); }
.s-head h1 { margin: 0 0 12px; font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.9rem, 4.4vw, 2.7rem); line-height: 1.12; letter-spacing: -0.02em; }
.grad { background: linear-gradient(100deg, var(--purple-ink), oklch(0.5 0.25 320)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s-lead { margin: 0 0 10px; font-size: 1.08rem; color: var(--text-2); }
.s-meta { margin: 0 0 6px; font-size: 0.84rem; color: var(--muted); }
.s-body h2, .s-faq h2, .s-related h2, .s-ctabox h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.45rem; line-height: 1.2; margin: 34px 0 12px; letter-spacing: -0.01em; }
.s-body h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.12rem; margin: 0 0 8px; }
.s-body p, .s-body li { color: var(--text-2); font-size: 1rem; }
.s-tldr { margin: 20px 0 6px; padding: 16px 18px; border-radius: 14px; background: var(--tint); border: 1px solid var(--border); border-left: 4px solid var(--purple); }
.s-tldr p { margin: 0; color: var(--ink) !important; }
.s-note { padding: 12px 16px; border-radius: 12px; background: oklch(0.97 0.02 85); border: 1px solid oklch(0.88 0.06 85); font-size: 0.94rem !important; }
.s-small { font-size: 0.86rem !important; color: var(--muted) !important; }
.s-list { padding-left: 1.2em; }
.s-list li { margin: 6px 0; }
.s-steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 12px; }
.s-steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 58px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.s-steps li::before {
  content: counter(s); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 0.85rem;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
}
.s-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.s-compare > div { border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; background: #fff; }
.s-compare .s-yes { border-color: oklch(0.8 0.1 300); background: oklch(0.98 0.012 300); }
.s-compare ul { padding-left: 1.1em; margin: 0; }
@media (max-width: 640px) { .s-compare { grid-template-columns: 1fr; } }

/* Tables scroll on their own on small screens; the page never does sideways. */
.s-table { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: #fff; margin: 14px 0 8px; }
.s-table table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 0.94rem; }
.s-table th, .s-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.s-table tr:last-child th, .s-table tr:last-child td { border-bottom: 0; }
.s-table thead th { background: var(--tint); font-family: 'Space Grotesk', sans-serif; }
.s-table thead small { display: block; font-size: 0.72rem; color: var(--purple-ink); font-family: Inter, sans-serif; }
.s-table tbody th { color: var(--ink); font-weight: 600; }
.s-table td { color: var(--text-2); }

/* FAQ */
.s-faq details { border: 1px solid var(--border); border-radius: 14px; background: #fff; margin: 10px 0; }
.s-faq details[open] { border-color: oklch(0.82 0.1 300); }
.s-faq summary { cursor: pointer; padding: 15px 18px; font-weight: 600; list-style-position: inside; }
.s-faq details > div { padding: 0 18px 16px; color: var(--text-2); }

/* Cards (hubs and "Read next") */
.s-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.s-card a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 18px; border: 1px solid var(--border); border-radius: 16px; background: #fff; text-decoration: none; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.s-card a:hover { border-color: oklch(0.75 0.12 300); box-shadow: 0 14px 30px -20px oklch(0.4 0.1 293 / 0.45); }
.s-card strong { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; line-height: 1.25; }
.s-card span:not(.s-card-kind):not(.grad) { color: var(--text-2); font-size: 0.9rem; line-height: 1.45; }
.s-card-kind { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-ink); }
.s-related ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.s-related li { display: flex; flex-direction: column; padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.s-related li a { font-weight: 700; }
.s-related li span { color: var(--text-2); font-size: 0.9rem; }

.s-ctabox { margin: 36px 0 10px; padding: 24px; border-radius: 18px; text-align: center; color: #fff; background: linear-gradient(120deg, oklch(0.45 0.21 300), oklch(0.52 0.25 293) 45%, oklch(0.56 0.26 318)); }
.s-ctabox h2 { margin: 0 0 8px !important; color: #fff; }
.s-ctabox p { margin: 0 auto 16px; max-width: 560px; color: oklch(0.97 0.02 300); }
.s-ctabox .s-btn { background: #fff; color: var(--purple-ink) !important; box-shadow: none; }
.s-ctabox .s-btn:focus-visible { outline-color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
