:root {
  --ww-canvas: #010102;
  --ww-surface-1: #0f1011;
  --ww-surface-2: #141516;
  --ww-surface-3: #18191a;
  --ww-hairline: #23252a;
  --ww-hairline-strong: #34343a;
  --ww-ink: #f7f8f8;
  --ww-ink-muted: #d0d6e0;
  --ww-ink-subtle: #8a8f98;
  --ww-ink-tertiary: #62666d;
  --ww-primary: #5e6ad2;
  --ww-primary-hover: #828fff;
  --ww-success: #27a644;
  --font-display: 'Inter', 'SF Pro Display', -apple-system, system-ui, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, system-ui, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --rounded-xs: 4px;
  --rounded-sm: 6px;
  --rounded-md: 8px;
  --rounded-lg: 12px;
  --rounded-xl: 16px;
  --rounded-pill: 9999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ww-ink);
  background: var(--ww-canvas);
  letter-spacing: -0.05px;
}

a { color: var(--ww-primary); text-decoration: none; }
a:hover { color: var(--ww-primary-hover); }
a:focus-visible { outline: 2px solid var(--ww-primary); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }

.ww-container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

.ww-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.ww-sidebar {
  background: var(--ww-surface-1);
  border-right: 1px solid var(--ww-hairline);
  padding: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  flex-shrink: 0;
}

.ww-sidebar-header {
  padding: 20px 20px 12px;
  border-bottom: 1px solid var(--ww-hairline);
}

.ww-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.ww-logo-mark {
  background: var(--ww-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: var(--rounded-xs);
  letter-spacing: 0.5px;
}

.ww-logo-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--ww-ink);
  letter-spacing: -0.3px;
}

.ww-sidebar-nav { padding: 12px 8px; }

.ww-sidebar-section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--ww-ink-subtle);
  text-transform: uppercase;
  padding: 8px 12px 4px;
  margin-top: 8px;
}

.ww-sidebar-link {
  display: block;
  padding: 7px 12px;
  font-size: 13px;
  color: var(--ww-ink-muted);
  border-radius: var(--rounded-md);
  margin-bottom: 1px;
  transition: background 0.1s, color 0.1s;
}

.ww-sidebar-link:hover { background: var(--ww-surface-2); color: var(--ww-ink); }
.ww-sidebar-link.active { background: var(--ww-surface-2); color: var(--ww-ink); border: 1px solid var(--ww-hairline-strong); }

.ww-main { background: var(--ww-canvas); overflow: auto; }

.ww-topbar {
  border-bottom: 1px solid var(--ww-hairline);
  padding: 12px 32px;
  background: var(--ww-canvas);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ww-ink-subtle);
}

.ww-topbar a { color: var(--ww-ink-subtle); }
.ww-topbar .sep { color: var(--ww-hairline-strong); }

.ww-content { padding: 40px 32px 80px; max-width: 960px; }

.ww-page-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--ww-ink-subtle);
  text-transform: uppercase;
  margin-bottom: 10px;
}

h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.0px;
  color: var(--ww-ink);
  margin-bottom: 16px;
}

h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.6px;
  color: var(--ww-ink);
  margin: 40px 0 12px;
  scroll-margin-top: 20px;
}

h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.2px;
  color: var(--ww-ink);
  margin: 28px 0 10px;
  scroll-margin-top: 20px;
}

p { color: var(--ww-ink-muted); line-height: 1.6; margin-bottom: 14px; font-size: 15px; }

.ww-lead { font-size: 18px; color: var(--ww-ink-muted); line-height: 1.5; letter-spacing: -0.1px; margin-bottom: 32px; }

ul, ol { margin: 0 0 14px 24px; }
li { color: var(--ww-ink-muted); line-height: 1.6; margin-bottom: 4px; font-size: 15px; }

.ww-toc {
  background: var(--ww-surface-1);
  border: 1px solid var(--ww-hairline);
  border-radius: var(--rounded-lg);
  padding: 20px 24px;
  margin-bottom: 32px;
  max-width: 480px;
}

.ww-toc-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--ww-ink-subtle);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ww-toc-list { list-style: none; margin: 0; }
.ww-toc-item { margin-bottom: 5px; }
.ww-toc-item a { font-size: 13px; color: var(--ww-primary); }
.ww-toc-sub { padding-left: 14px; }

.ww-card {
  background: var(--ww-surface-1);
  border: 1px solid var(--ww-hairline);
  border-radius: var(--rounded-lg);
  padding: 24px;
}

.ww-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.ww-feature-card {
  background: var(--ww-surface-1);
  border: 1px solid var(--ww-hairline);
  border-radius: var(--rounded-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.ww-card-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--ww-ink-subtle);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ww-card-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--ww-ink);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.ww-card-desc { font-size: 13px; color: var(--ww-ink-subtle); line-height: 1.55; flex-grow: 1; margin-bottom: 14px; }
.ww-card-link { font-size: 13px; font-weight: 500; color: var(--ww-primary); }

.ww-compare-table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--rounded-lg); border: 1px solid var(--ww-hairline); }

.ww-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ww-compare-table th {
  background: var(--ww-surface-2);
  color: var(--ww-ink);
  font-weight: 600;
  font-size: 13px;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ww-hairline-strong);
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.ww-compare-table td {
  padding: 11px 16px;
  color: var(--ww-ink-muted);
  border-bottom: 1px solid var(--ww-hairline);
  vertical-align: top;
  line-height: 1.5;
}

.ww-compare-table tr:last-child td { border-bottom: none; }
.ww-compare-table tbody tr:hover td { background: var(--ww-surface-1); }

.ww-compare-table td:first-child {
  font-weight: 500;
  color: var(--ww-ink);
  white-space: nowrap;
}

.badge-yes { color: var(--ww-success); font-weight: 500; }
.badge-no { color: var(--ww-ink-tertiary); }
.badge-partial { color: #f59e0b; font-weight: 500; }

.ww-disclaimer {
  background: var(--ww-surface-1);
  border: 1px solid var(--ww-hairline);
  border-left: 3px solid var(--ww-primary);
  border-radius: var(--rounded-md);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ww-ink-subtle);
  margin: 24px 0;
  line-height: 1.55;
}

.ww-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--ww-hairline);
}

.ww-related-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ww-ink);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.ww-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.ww-related-card {
  background: var(--ww-surface-1);
  border: 1px solid var(--ww-hairline);
  border-radius: var(--rounded-lg);
  padding: 16px;
  text-decoration: none;
  display: block;
}

.ww-related-card:hover { border-color: var(--ww-hairline-strong); }
.ww-related-card-title { font-size: 13px; font-weight: 500; color: var(--ww-primary); margin-bottom: 4px; }
.ww-related-card-desc { font-size: 12px; color: var(--ww-ink-subtle); line-height: 1.5; }

.ww-cta-banner {
  background: var(--ww-surface-1);
  border: 1px solid var(--ww-hairline);
  border-radius: var(--rounded-lg);
  padding: 48px;
  margin: 48px 0;
}

.ww-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--rounded-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  transition: background 0.15s;
  line-height: 1.2;
}

.ww-btn-primary { background: var(--ww-primary); color: #fff; }
.ww-btn-primary:hover { background: var(--ww-primary-hover); color: #fff; }
.ww-btn-secondary { background: var(--ww-surface-2); color: var(--ww-ink); border: 1px solid var(--ww-hairline); }

.ww-footer {
  background: var(--ww-canvas);
  border-top: 1px solid var(--ww-hairline);
  padding: 40px 32px 24px;
  font-size: 13px;
}

.ww-footer-inner { max-width: 1280px; margin: 0 auto; }

.ww-footer-top {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.ww-footer-col { min-width: 120px; }

.ww-footer-col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--ww-ink-subtle);
  margin-bottom: 12px;
}

.ww-footer-links { list-style: none; }
.ww-footer-links li { margin-bottom: 7px; }
.ww-footer-links a { font-size: 13px; color: var(--ww-ink-subtle); }
.ww-footer-links a:hover { color: var(--ww-ink-muted); }

.ww-footer-bottom {
  border-top: 1px solid var(--ww-hairline);
  padding-top: 20px;
  font-size: 12px;
  color: var(--ww-ink-tertiary);
  line-height: 1.55;
}

.ww-footer-bottom p { margin-bottom: 6px; font-size: 12px; color: var(--ww-ink-tertiary); }

.ww-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ww-surface-2);
  border-top: 1px solid var(--ww-hairline-strong);
  padding: 14px 32px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ww-cookie-text { font-size: 13px; color: var(--ww-ink-muted); flex-grow: 1; }
.ww-cookie-text a { color: var(--ww-primary); }
.ww-cookie-btns { display: flex; gap: 10px; }
.ww-cookie-accept { background: var(--ww-primary); color: #fff; border: none; padding: 7px 16px; border-radius: var(--rounded-md); font-size: 13px; font-weight: 500; cursor: pointer; font-family: var(--font-body); }
.ww-cookie-reject { background: transparent; color: var(--ww-ink-subtle); border: 1px solid var(--ww-hairline-strong); padding: 7px 14px; border-radius: var(--rounded-md); font-size: 13px; cursor: pointer; font-family: var(--font-body); }

.ww-form-group { margin-bottom: 18px; }
.ww-form label { display: block; font-size: 13px; font-weight: 500; color: var(--ww-ink); margin-bottom: 6px; }
.ww-form input, .ww-form textarea {
  width: 100%;
  background: var(--ww-surface-1);
  border: 1px solid var(--ww-hairline-strong);
  border-radius: var(--rounded-md);
  padding: 8px 12px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--ww-ink);
  height: 40px;
  transition: border-color 0.15s, outline 0.15s;
}

.ww-form input:focus, .ww-form textarea:focus {
  outline: 2px solid rgba(94,106,210,0.5);
  outline-offset: 0;
  border-color: var(--ww-primary);
}

.ww-form textarea { height: auto; min-height: 110px; resize: vertical; }
.ww-form-confirmation { display: none; font-size: 14px; font-weight: 500; color: var(--ww-success); background: var(--ww-surface-1); border: 1px solid var(--ww-hairline); padding: 10px 14px; border-radius: var(--rounded-md); margin-top: 14px; }

.ww-mobile-toggle {
  display: none;
  background: var(--ww-surface-1);
  border: none;
  color: var(--ww-ink);
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid var(--ww-hairline);
  font-family: var(--font-body);
}

.ww-status-badge {
  display: inline-flex;
  align-items: center;
  background: var(--ww-surface-2);
  color: var(--ww-ink-muted);
  font-size: 11px;
  font-weight: 400;
  padding: 2px 8px;
  border-radius: var(--rounded-pill);
  border: 1px solid var(--ww-hairline);
  margin-bottom: 12px;
}

.ww-section-divider { border: none; border-top: 1px solid var(--ww-hairline); margin: 40px 0; }

@media (max-width: 1024px) {
  .ww-layout { grid-template-columns: 200px 1fr; }
  .ww-card-grid { grid-template-columns: repeat(2, 1fr); }
  .ww-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .ww-layout { grid-template-columns: 1fr; }
  .ww-sidebar { position: static; height: auto; }
  .ww-sidebar-nav.collapsed { display: none; }
  .ww-mobile-toggle { display: block; }
  .ww-content { padding: 24px 20px 60px; }
  .ww-topbar { padding: 10px 20px; }
  .ww-card-grid { grid-template-columns: 1fr; }
  .ww-related-grid { grid-template-columns: 1fr; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .ww-cta-banner { padding: 28px 20px; }
  .ww-footer-top { gap: 28px; }
  .ww-footer { padding: 32px 20px 20px; }
}

@media (max-width: 480px) {
  h1 { font-size: 24px; letter-spacing: -0.5px; }
  .ww-compare-table { font-size: 12px; }
  .ww-compare-table th, .ww-compare-table td { padding: 8px 10px; }
}
