:root {
  --teal: #0f766e;
  --teal-dark: #115e59;
  --teal-soft: #e6f4f2;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --purple: #7c3aed;
  --radius: 12px;
  --max: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 2px; }
a:hover { color: var(--teal-dark); }
code, kbd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--bg-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 9px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cbd5e1; color: var(--ink); }
.btn-sm { padding: 7px 14px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Hero */
.hero { padding: 72px 0 40px; background: linear-gradient(180deg, var(--teal-soft) 0%, #fff 70%); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--teal-dark); background: #fff; border: 1px solid #b7e0da; border-radius: 999px; padding: 4px 12px; margin-bottom: 18px; }
h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 18px; }
.lead { font-size: 19px; color: var(--ink-2); margin: 0 0 28px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }
.shot { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(15,23,42,.28), 0 2px 6px rgba(15,23,42,.06); overflow: hidden; background: #fff; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.015em; line-height: 1.2; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0 0 8px; line-height: 1.3; }
.section-lead { font-size: 18px; color: var(--ink-2); max-width: 680px; margin: 0 0 40px; }

/* Problem strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.strip > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.strip p { margin: 0; color: var(--ink-2); }
.strip strong { display: block; font-size: 17px; margin-bottom: 6px; color: var(--ink); }
@media (max-width: 820px) { .strip { grid-template-columns: 1fr; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1.35fr; gap: 48px; align-items: center; margin-bottom: 72px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip > :first-child { order: 2; }
.feature p { color: var(--ink-2); font-size: 17px; }
.feature ul { padding-left: 20px; color: var(--ink-2); }
.feature li { margin: 4px 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.tag.pro { color: var(--purple); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 24px; } .feature.flip > :first-child { order: 0; } }

/* Grid of small features */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.grid3 h3 { font-size: 16px; }
.grid3 p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 820px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--teal); box-shadow: 0 16px 40px -20px rgba(15,118,110,.45); }
.plan .name { font-weight: 700; font-size: 17px; }
.plan .price { font-size: 36px; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 0; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan .sub { font-size: 14px; color: var(--muted); min-height: 42px; margin: 2px 0 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan li { padding: 6px 0 6px 24px; position: relative; font-size: 15px; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.plan .badge { align-self: flex-start; font-size: 12px; font-weight: 700; color: #fff; background: var(--teal); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.plan .alt-link { display: block; text-align: center; font-size: 14px; margin-top: 10px; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* Compare table */
table.compare { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 15px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.compare th { background: var(--bg-2); font-weight: 600; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 140px; }
.yes { color: var(--teal); font-weight: 700; }
.no { color: #94a3b8; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p, .faq details ul { color: var(--ink-2); margin: 12px 0 0; }

/* CTA band */
.cta { background: var(--ink); color: #fff; text-align: center; padding: 64px 0; }
.cta h2 { color: #fff; }
.cta p { color: #cbd5e1; font-size: 18px; margin: 0 0 26px; }
.cta .btn-row { justify-content: center; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: #475569; }

/* Article pages */
.article { padding: 56px 0 72px; }
.article h1 { font-size: clamp(30px, 4vw, 42px); }
.article h2 { font-size: 25px; margin-top: 44px; }
.article h3 { margin-top: 28px; }
.article p, .article li { font-size: 17px; color: var(--ink-2); }
.article li { margin: 6px 0; }
.article .meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.article figure { margin: 28px 0; }
.article figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.callout { background: var(--teal-soft); border: 1px solid #b7e0da; border-radius: var(--radius); padding: 18px 20px; margin: 24px 0; }
.callout p { margin: 0; }
.callout.warn { background: #fff7ed; border-color: #fed7aa; }
.sources { font-size: 15px; }
.sources li { font-size: 15px; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps > li { counter-increment: s; position: relative; padding-left: 48px; margin: 18px 0; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; font-size: 15px; display: grid; place-items: center; }
.guides-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guides-list a { display: block; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; }
.guides-list a:hover { border-color: var(--teal); }
.guides-list span { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }
@media (max-width: 820px) { .guides-list { grid-template-columns: 1fr; } }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0; font-size: 14px; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }
.article .cta p { color: #cbd5e1; }
.article .cta h2 { margin-top: 0; color: #fff; }
.article .lead { margin-bottom: 24px; }
.article .eyebrow { margin-bottom: 12px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.feature.flip { grid-template-columns: 1.35fr 1fr; }
@media (max-width: 900px) { .feature.flip { grid-template-columns: 1fr; } }
