:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #14b8a6;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary);
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  border-style: solid;
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent #ffffff;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
}
.nav-link:hover, .nav-link[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  text-decoration: none;
}
.btn-secondary {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--muted);
  text-decoration: none;
}
.btn-primary:focus-visible, .btn-secondary:focus-visible, .pill-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.pill-btn[data-gf-liked] {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}
.share-msg { font-size: 12px; color: var(--accent); font-weight: 600; }

/* Hero Tool */
.hero-tool {
  padding: 24px 0 48px;
}
.hero-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.hero-bar h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero-sub {
  margin: 8px 0 0;
  font-size: 16px;
  color: var(--muted);
  max-width: 70ch;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tool-stage {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 24px;
}
.privacy-strip {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Sections */
.section { padding: 56px 0; }
.section-alt {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section h2 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.2;
}
.section h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

/* Asymmetric Split */
.split-band {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: start;
}
.split-copy p { color: var(--muted); max-width: 70ch; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}
.check-list li {
  padding-left: 24px;
  position: relative;
  font-size: 15px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}
.specs-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.spec-dl { margin: 12px 0 0; }
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.spec-row:last-child { border-bottom: none; }
.spec-row dt { color: var(--muted); font-weight: 600; }
.spec-row dd { margin: 0; font-weight: 600; text-align: right; }

/* Steps */
.steps-row {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.step-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.step-item p { margin: 0; font-size: 14px; color: var(--muted); }

/* Prose */
.prose { max-width: 72ch; }
.prose h2 { margin: 36px 0 12px; font-size: 26px; line-height: 1.25; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 24px 0 8px; font-size: 18px; line-height: 1.3; }
.prose p { margin: 0 0 16px; font-size: 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 14px;
}
.prose th, .prose td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.prose th { background: var(--bg); font-weight: 700; }

/* Related Strip */
.link-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.link-tile {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--text);
  text-decoration: none;
}
.link-tile:hover {
  border-color: var(--primary);
  text-decoration: none;
}
.link-tile strong { display: block; font-size: 16px; margin-bottom: 6px; color: var(--primary); }
.link-tile span { display: block; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 78ch; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}
.faq-item p { margin: 12px 0 0; font-size: 15px; color: var(--muted); }

/* Page & Pricing */
.page-article { padding: 32px 0 64px; }
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}
.page-head { margin-bottom: 32px; }
.page-head h1 { margin: 0 0 12px; font-size: 36px; line-height: 1.2; }
.page-sub { margin: 0; font-size: 18px; color: var(--muted); max-width: 70ch; }
.legal-updated { margin: 0; font-size: 14px; color: var(--muted); }
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.tier-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.tier-featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}
.tier-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.tier-card h2 { margin: 0 0 8px; font-size: 22px; }
.tier-price { margin: 0 0 8px; font-size: 36px; font-weight: 700; line-height: 1.1; }
.tier-price span { font-size: 14px; font-weight: 400; color: var(--muted); }
.tier-desc { margin: 0; font-size: 14px; color: var(--muted); }
.tier-cta { width: 100%; }
.page-faq { margin-top: 48px; }
.cta-banner {
  margin-top: 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { margin: 0 0 6px; font-size: 22px; }
.cta-banner p { margin: 0; color: var(--muted); }
.not-found { padding: 48px 0; max-width: 56ch; }

/* Comments */
.comments-wrap { max-width: 78ch; }
.comment-form {
  display: grid;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
}
.comment-form input, .comment-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  background: var(--card);
  color: var(--text);
}
.form-row, .form-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.reply-banner, .reply-cancel { display: none; font-size: 13px; color: var(--primary); }
.comment-form[data-gf-replying] .reply-banner,
.comment-form[data-gf-replying] .reply-cancel { display: inline-flex; }
.comment-empty { display: none; color: var(--muted); font-size: 14px; }
[data-gf-comments][data-gf-empty] .comment-empty { display: block; }
.comment-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}
.comment-card[data-gf-owner], .reply-card[data-gf-owner] {
  border-color: var(--primary);
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.comment-meta strong { color: var(--text); }
.owner-badge {
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.reply-link {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.comment-text { margin: 0; font-size: 15px; }
.comment-replies { margin-top: 12px; padding-left: 16px; border-left: 2px solid var(--border); display: grid; gap: 8px; }
.reply-card { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
.comment-msg { font-size: 13px; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: grid;
  gap: 20px;
}
.footer-tagline { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 14px;
}
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--text); }
.footer-copy { margin: 0; font-size: 12px; color: var(--muted); }

@media (max-width: 860px) {
  .split-band, .steps-row, .link-strip, .tier-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero-bar h1, .page-head h1 { font-size: 28px; }
  .tool-stage { padding: 16px; }
  .btn-primary, .btn-secondary { width: 100%; }
  .site-nav { gap: 14px; }
}