
:root {
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --tint: #f8fafc;
  --brand: #4f46e5;
  --brand-dark: #4338ca;
  --brand-wash: #eef2ff;
  --good: #047857;
  --warn: #b45309;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--body); background: #fff;
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .4em; }
img, svg { max-width: 100%; height: auto; }
code { background: var(--tint); padding: .1em .35em; border-radius: 5px; font-size: .9em; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.band { padding: 72px 0; }
.band-tint { background: var(--tint); border-block: 1px solid var(--line); }
.center { text-align: center; }
.lede { font-size: 1.18rem; color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--brand); margin-bottom: .6em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; color: var(--ink); font-size: 1.14rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), #7c3aed); display: grid; place-items: center; color: #fff; font-size: .9rem; font-weight: 800; }
.site-nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.site-nav a { color: var(--body); font-size: .96rem; font-weight: 500; }
.site-nav a:hover { color: var(--brand); text-decoration: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 9px; padding: 7px 11px; font: inherit; font-size: .9rem; cursor: pointer; }

/* buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 8px 15px; font-size: .92rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* hero */
.hero { padding: 76px 0 64px; background: linear-gradient(180deg, var(--brand-wash) 0%, #fff 72%); }
.hero h1 { max-width: 16ch; }
.hero .lede { max-width: 56ch; font-size: 1.26rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-note { font-size: .92rem; color: var(--muted); margin-top: 16px; }

/* generic grid */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-wash); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }

/* trust strip */
.strip { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; color: var(--muted); font-size: .95rem; }
.strip span { display: inline-flex; align-items: center; gap: 7px; }
.tick { color: var(--good); font-weight: 700; }

/* tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 620px; background: #fff; }
table.compare th, table.compare td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { background: var(--tint); font-size: .84rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
table.compare tbody th { font-weight: 600; color: var(--ink); width: 34%; }
table.compare .yes { color: var(--good); font-weight: 600; }
table.compare .no { color: var(--muted); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; box-shadow: var(--shadow); }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-wash), var(--shadow); position: relative; }
.plan-flag { position: absolute; top: -12px; left: 28px; background: var(--brand); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 11px; border-radius: 99px; }
.price { font-size: 2.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.price small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; }
.plan li { padding-left: 24px; position: relative; margin-bottom: .55em; font-size: .97rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding-top: 12px; color: var(--body); }
.faq details > div p:last-child { margin-bottom: 0; }

/* callout */
.callout { background: var(--brand-wash); border: 1px solid #c7d2fe; border-radius: var(--radius); padding: 22px 24px; }
.callout.warn { background: #fffbeb; border-color: #fde68a; }
.callout p:last-child { margin-bottom: 0; }

/* cta band */
.cta { background: var(--ink); color: #cbd5e1; }
.cta h2 { color: #fff; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: #475569; }
.cta .btn-ghost:hover { border-color: #fff; color: #fff; }

/* forms */
.form-card { max-width: 440px; margin: 0 auto; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; font: inherit; background: #fff; color: var(--ink); }
.field input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.field .hint { font-size: .84rem; color: var(--muted); margin: 5px 0 0; }
.form-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 9px; padding: 11px 14px; font-size: .93rem; margin-bottom: 15px; }

/* footer */
.site-footer { background: var(--tint); border-top: 1px solid var(--line); padding: 52px 0 32px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 36px; }
.site-footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: .9em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5em; }
.site-footer a { color: var(--body); }
.footer-base { border-top: 1px solid var(--line); padding-top: 22px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-4, .plans, .footer-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .band { padding: 52px 0; }
  .hero { padding: 48px 0 40px; }
  .site-nav { display: none; }
  .site-nav.open { display: flex; position: absolute; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; border-bottom: 1px solid var(--line); }
  .site-nav.open a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .footer-grid { gap: 26px; }
}
@media print { .site-header, .site-footer, .cta { display: none; } }
