:root {
  --bg: #ffffff;
  --surface: #f7f7f8;
  --surface-hover: #efeff1;
  --text: #131517;
  --secondary: #5c6066;
  --muted: #73777e;
  --primary: #131517;
  --primary-hover: #2c2f33;
  --brand: #d9146d;
  --line: #eaecef;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(19, 21, 23, 0.04);
  --shadow-md: 0 12px 32px rgba(19, 21, 23, 0.08);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease, opacity 150ms ease;
}

a:hover {
  color: var(--brand);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1020px;
}

/* Luma-style whisper-clean minimal topbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  flex-wrap: wrap;
  padding-top: 6px;
  padding-bottom: 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand:hover {
  color: var(--text);
  opacity: 0.78;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background-color: var(--brand);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background-color: var(--surface);
  color: var(--text);
}

.tool-stage-wrap {
  padding: 28px 0 56px;
  background-color: var(--bg);
}

.content-section,
.faq-section,
.page-article {
  padding: 56px 0;
}

.content-section {
  background-color: var(--surface);
  border-top: 1px solid var(--line);
}

.faq-section {
  background-color: var(--bg);
  border-top: 1px solid var(--line);
}

.page-article {
  background-color: var(--bg);
}

.prose {
  max-width: 720px;
}

.prose h1 {
  margin: 0 0 12px;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text);
}

.prose h2 {
  margin: 36px 0 12px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--text);
}

.prose h3 {
  margin: 24px 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text);
}

.prose p,
.prose li {
  max-width: 68ch;
  color: var(--secondary);
}

.prose strong {
  color: var(--text);
}

.prose a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--text);
}

.prose .lead,
.meta-note {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 20px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 22px;
  margin: 24px 0;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cta-banner p {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--bg);
}

.btn-secondary {
  background-color: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  margin-left: 8px;
}

.btn-secondary:hover {
  background-color: var(--surface);
  color: var(--text);
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::after {
  content: "+";
  font-size: 18px;
  color: var(--muted);
  margin-left: 12px;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--secondary);
  font-size: 15px;
}

.site-footer {
  background-color: var(--bg);
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.footer-tag,
.footer-copy {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  font-size: 14px;
  color: var(--secondary);
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 640px) {
  .site-header {
    position: relative;
  }

  .header-inner {
    flex-wrap: nowrap;
    min-height: 46px;
    gap: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .brand {
    font-size: 13.5px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .site-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 2px;
  }
  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    font-size: 12.5px;
    padding: 5px 9px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .container {
    padding: 0 14px;
  }

  .tool-stage-wrap {
    padding: 12px 0 32px;
  }

  .prose h1 {
    font-size: 28px;
  }

  .cta-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    margin-left: 0;
  }
}
