:root {
  --bg: #ffffff;
  --bg-alt: #f4f7f6;
  --text: #13201e;
  --muted: #4b5b58;
  --line: #dbe4e2;
  --brand: #0f766e;
  --brand-ink: #ffffff;
  --brand-soft: #e3f3f0;
  --accent: #e8590c;
  --radius: 12px;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1513;
    --bg-alt: #13201d;
    --text: #e6efed;
    --muted: #a5b6b2;
    --line: #26332f;
    --brand: #2dd4bf;
    --brand-ink: #062b27;
    --brand-soft: #14302b;
    --accent: #ff8a4c;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 .6em; }
h3 { font-size: 1.15rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--bg); padding: 8px; z-index: 10; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); text-decoration: none; margin: 0; }
.main-nav { display: flex; gap: 20px; margin-left: auto; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--text); }
@media (max-width: 860px) { .main-nav { display: none; } .header-inner .btn { margin-left: auto; } }

/* buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--text); }

/* sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.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); max-width: 720px; }
.hero { padding: 64px 0 56px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 16px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .95rem; }
.hero-points li::before { content: "✓ "; color: var(--brand); font-weight: 700; }

/* answer box: a short, quotable definition for answer engines */
.answer { border-left: 4px solid var(--brand); background: var(--brand-soft); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.answer p:last-child { margin: 0; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg); }
.card p:last-child { margin: 0; }
.card ul { padding-left: 1.1em; margin: .5em 0 0; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; background: var(--brand-soft); color: var(--brand); padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; }

.split { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

ol.steps { counter-reset: s; list-style: none; padding: 0; }
ol.steps li { counter-increment: s; position: relative; padding-left: 52px; margin-bottom: 22px; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 700; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-alt); }
tbody tr:last-child td { border-bottom: 0; }

/* pricing */
.price { font-size: 2.4rem; font-weight: 800; margin: 8px 0 0; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.card.featured { border: 2px solid var(--brand); }

/* breadcrumbs */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 0 0; margin: 0; font-size: .875rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; }
.breadcrumbs a { color: var(--muted); }

/* article */
.prose h2 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; margin: 24px 0; }
.toc ol { margin: .4em 0 0; }
.updated { color: var(--muted); font-size: .9rem; }

/* 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(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq summary h3 { display: inline; font-size: 1.05rem; }
.faq details > div { padding: 0 0 16px; color: var(--muted); }

/* cta */
.cta-band { background: var(--brand-soft); }
.cta-inner { display: grid; gap: 40px; grid-template-columns: 1.1fr 1fr; align-items: center; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }
.demo-form { display: grid; gap: 12px; background: var(--bg); padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.demo-form label { display: grid; gap: 4px; font-size: .9rem; font-weight: 600; }
.demo-form input, .demo-form select { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); }
.fine { font-size: .85rem; color: var(--muted); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 24px; color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; margin-bottom: 24px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-h { font-size: 1rem; color: var(--text); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.h3 { font-size: 1.15rem; margin: 0 0 .4em; }
