:root {
  --ink: #14232b;
  --muted: #5e6d74;
  --soft: #edf7f5;
  --surface: #ffffff;
  --line: #dce8e6;
  --teal: #19b7a5;
  --teal-dark: #0d897f;
  --coral: #f0525f;
  --navy: #102c3a;
  --gold: #f5b544;
  --shadow: 0 18px 55px rgba(16, 44, 58, .11);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f8fbfa;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { color: var(--muted); margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 1rem; letter-spacing: 0; }
h1 { font-size: clamp(2.15rem, 4.4vw, 3.85rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; font-size: 1.35rem; }
.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: conic-gradient(from 120deg, var(--teal), #75e1d4, var(--coral), var(--teal));
  position: relative; box-shadow: 0 8px 22px rgba(25,183,165,.24);
}
.brand-mark::after {
  content: ""; position: absolute; inset: 10px 12px 13px; border: 3px solid #fff; border-top: 0;
  transform: rotate(-35deg); border-radius: 0 0 12px 12px;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 10px 12px; border-radius: var(--radius); color: #2f444c; font-weight: 700; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--soft); color: var(--teal-dark); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 10px; min-width: 44px; min-height: 44px; }
.icon-bars { display: block; width: 20px; height: 14px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); position: relative; }
.icon-bars::after { content: ""; position: absolute; left: 0; top: 4px; width: 20px; border-top: 2px solid var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 12px 18px; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease, border .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 12px 24px rgba(240,82,95,.24); }
.btn-primary:hover { background: #dc3e4c; }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 12px 24px rgba(25,183,165,.22); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }

.hero {
  padding: 36px 0 52px;
  background: linear-gradient(180deg, #f4fbf9 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 44px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  color: var(--teal-dark); font-weight: 850; font-size: .82rem; text-transform: uppercase;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 7px rgba(25,183,165,.13); }
.hero-copy p { font-size: 1.06rem; max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-weight: 700; font-size: .93rem; }
.proof-row span { display: inline-flex; align-items: center; gap: 8px; }
.check { width: 18px; height: 18px; border-radius: 50%; background: var(--teal); color: #fff; display: inline-grid; place-items: center; font-size: 12px; }
.hero-visual { position: relative; max-width: 460px; justify-self: end; width: 100%; }
.hero-card {
  border: 1px solid var(--line); background: #fff; border-radius: 12px;
  box-shadow: 0 16px 42px rgba(16,44,58,.08); padding: 10px;
}
.hero-card img { border-radius: 14px; aspect-ratio: 16/9; object-fit: cover; }
.metric-panel {
  position: absolute; left: -8px; bottom: -18px; width: min(310px, 76%);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px;
}
.metric-panel strong { display: block; font-size: 1.55rem; color: var(--teal-dark); line-height: 1; }
.metric-line { height: 8px; border-radius: 999px; margin-top: 12px; background: linear-gradient(90deg, var(--teal) 72%, #dbe8e6 72%); }

.section { padding: 76px 0; }
.section.alt { background: #fff; }
.section.dark { background: var(--navy); color: #fff; }
.section.dark p, .section.dark li { color: #bdd0d6; }
.section-head { max-width: 780px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: 0 8px 28px rgba(16,44,58,.05);
}
.dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
.icon {
  width: 48px; height: 48px; border-radius: var(--radius); background: var(--soft); color: var(--teal-dark);
  display: grid; place-items: center; margin-bottom: 18px; font-weight: 900;
}
.feature-list { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; }

.comparison { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { text-align: left; padding: 16px; border-bottom: 1px solid var(--line); }
th { background: var(--soft); color: var(--ink); }
tr:last-child td { border-bottom: 0; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; }
.price-card.featured { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.badge { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: #fff2d8; color: #80540a; font-weight: 850; font-size: .78rem; }
.price { font-size: 2.45rem; font-weight: 900; color: var(--ink); margin: 8px 0; }
.price small { font-size: .95rem; color: var(--muted); }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { padding: 0; overflow: hidden; }
.thumb {
  aspect-ratio: 16/9; background:
    radial-gradient(circle at 75% 26%, rgba(240,82,95,.36), transparent 22%),
    radial-gradient(circle at 24% 78%, rgba(25,183,165,.42), transparent 28%),
    linear-gradient(135deg, #e9f8f6, #ffffff);
  border-bottom: 1px solid var(--line);
}
.article-body { padding: 22px; }
.meta { color: var(--muted); font-size: .9rem; font-weight: 700; }

.page-hero { padding: 56px 0; background: linear-gradient(135deg, var(--soft), #fff); border-bottom: 1px solid var(--line); }
.breadcrumbs { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.breadcrumbs a { color: var(--teal-dark); font-weight: 750; }
.content-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.article-content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: min(6vw, 42px); }
.article-content h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); margin-top: 2rem; }
.article-content h3 { margin-top: 1.5rem; }
.article-content ul, .article-content ol { color: var(--muted); padding-left: 1.35rem; }
.toc { position: sticky; top: 96px; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.faq details + details { margin-top: 12px; }
.faq summary { cursor: pointer; font-weight: 850; }
.faq p { margin-top: 12px; }

.cta-band { background: var(--teal); color: #fff; padding: 58px 0; }
.cta-band p { color: rgba(255,255,255,.86); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }

.site-footer { background: #0b202a; color: #d7e4e2; padding: 52px 0 28px; }
.site-footer p, .site-footer a { color: #aebfc5; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 30px; }
.footer-col { display: grid; gap: 9px; align-content: start; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 22px; font-size: .9rem; }

@media (max-width: 900px) {
  .nav { min-height: 82px; }
  .brand { font-size: 1.18rem; }
  .brand-logo { width: 36px; height: 36px; }
  .menu-btn { padding: 8px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none; position: absolute; left: 16px; right: 16px; top: 82px; padding: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-actions .btn { display: none; }
  .hero-grid, .grid-2, .content-wrap, .cta-inner { grid-template-columns: 1fr; display: grid; }
  .grid-3, .pricing, .article-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 18px; padding-bottom: 40px; }
  .eyebrow { margin-bottom: 10px; }
  .hero-visual { justify-self: start; max-width: 560px; }
  .metric-panel { position: static; margin-top: 12px; width: 100%; }
  .toc { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
