:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --alt: #f8fafc;
  --good: #16a34a;
  --radius: 14px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--primary); }
img { max-width: 100%; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow-center { max-width: 820px; text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-nav a[aria-current="page"] { color: var(--primary); }
.site-nav .btn { color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font: inherit; }

/* Buttons */
.btn { display: inline-block; background: var(--primary); color: #fff; border: 1px solid var(--primary); border-radius: 10px; padding: 10px 18px; font-weight: 600; text-decoration: none; font-size: 15px; }
.btn:hover { background: var(--primary-dark); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--primary); }
.btn.big { padding: 14px 24px; font-size: 16px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }

/* Hero */
.hero { padding: 80px 0 56px; background: radial-gradient(1200px 400px at 50% -10%, #dbeafe, transparent); }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 18px; }
.hero .lead { font-size: 19px; color: #334155; margin: 0 auto; max-width: 680px; }
.eyebrow { color: var(--primary); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.08em; margin: 0 0 12px; }
.hero.home { text-align: left; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero.home .cta-row { justify-content: flex-start; }
.hero.home .lead { margin: 0; }
.hero-visual .window { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.35); overflow: hidden; background: #0f172a; }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #1e293b; }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #475569; }
.window-bar em { margin-left: 12px; font-style: normal; font-size: 12px; color: #93c5fd; }
.window-body { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #1d4ed8, #0ea5e9 60%, #22d3ee); padding: 18px; display: grid; grid-template-columns: 44px; gap: 14px; align-content: start; }
.desk-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(255, 255, 255, 0.35); }
.desk-panel { position: absolute; right: 18px; bottom: 18px; width: 55%; height: 55%; border-radius: 10px; background: rgba(255, 255, 255, 0.9); }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--alt); }
.section-title { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.01em; text-align: center; margin: 0 0 12px; }
.section-lead { text-align: center; color: var(--muted); font-size: 17px; margin: 0 auto 32px; max-width: 680px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card p { margin: 0; color: #334155; }
.link-card { display: block; color: inherit; text-decoration: none; transition: border-color 0.15s; }
.link-card:hover { border-color: var(--primary); }
.link-card time { font-size: 13px; color: var(--muted); }
.soon { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; color: #92400e; background: #fef3c7; border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 28px 0 0; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px 70px; position: relative; display: flex; flex-direction: column; gap: 4px; }
.steps li::before { content: counter(s); position: absolute; left: 22px; top: 20px; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; }
.checks { list-style: none; padding: 0; max-width: 820px; margin: 0 auto; }
.checks li { padding: 8px 0 8px 32px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 4px; color: var(--good); font-weight: 800; }
.split { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding-bottom: 12px; }
.chips a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--ink); font-size: 14px; }

/* Pricing */
.interval-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: #fff; margin-top: 8px; }
.interval-toggle button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); }
.interval-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.interval-toggle button[aria-pressed="true"] .save { color: #86efac; }
.save { color: var(--good); font-size: 13px; }
.section-lead .interval-toggle { margin: 0; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 12px; }
.plan { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; background: #fff; display: flex; flex-direction: column; }
.plan.highlight { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 20px 40px -24px rgba(37, 99, 235, 0.5); }
.plan .tag { position: absolute; top: -11px; left: 20px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 10px; }
.plan h3 { margin: 0; font-size: 20px; }
.plan .muted { margin: 4px 0 14px; font-size: 14px; min-height: 42px; }
.plan .price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.billing-note { font-size: 13px; color: var(--muted); margin: 2px 0 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; font-size: 14px; }
.plan li { padding: 5px 0; border-top: 1px solid var(--line); }
.plan .btn { text-align: center; }
.p-monthly { display: none; }
[data-interval="monthly"] .p-monthly { display: inline; }
[data-interval="monthly"] .p-annual { display: none; }
.enterprise { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 20px 0; }
.table-wrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare thead th { background: var(--alt); font-size: 14px; }
.compare.features td:not(:first-child), .compare.features th:not(:first-child) { text-align: center; }
.compare .good { color: var(--good); font-weight: 700; }
.yes { color: var(--good); font-weight: 700; }
.no { color: #cbd5e1; }
.source { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* FAQ */
.faq { max-width: 820px; margin: 24px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 17px; }
.faq p { color: #334155; margin: 10px 0 0; }

/* CTA */
.final-cta { padding: 72px 0; background: var(--ink); color: #fff; }
.final-cta h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; }
.final-cta .lead { color: #cbd5e1; }
.final-cta .btn.ghost { background: transparent; color: #fff; border-color: #475569; }

/* Articles */
.breadcrumbs { font-size: 14px; color: var(--muted); padding-top: 20px; }
.breadcrumbs a { color: var(--muted); }
.article { max-width: 780px; padding-top: 16px; padding-bottom: 64px; }
.article h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin: 8px 0 12px; }
.prose { font-size: 17px; color: #1e293b; }
.prose h2 { font-size: 24px; margin: 36px 0 10px; }
.prose code { background: var(--alt); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 0.9em; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.section .prose { max-width: 780px; margin: 0 auto; }
.notice { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.posts { display: grid; gap: 16px; max-width: 820px; margin: 0 auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 24px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.site-footer h3 { font-size: 14px; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer a { color: var(--muted); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: var(--ink); }
.legal-line { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 16px 24px; gap: 14px; }
  .site-nav.open { display: flex; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .enterprise, .legal-line { flex-direction: column; align-items: flex-start; }
}
