/* ============================================================
   OPENDOCS — Marketing Site Styles
   GitBook-inspired clean, warm design
   ============================================================ */

/* --- Reset -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-ui);
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navbar ------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #334155;
  letter-spacing: -0.03em;
}

.navbar-logo svg { flex-shrink: 0; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s;
}

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

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- Buttons ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: var(--r-sm); }
.btn-md { padding: 10px 20px; font-size: 14px; border-radius: var(--r-md); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--r-md); }

.btn-primary {
  background: var(--text);
  color: #fff;
}
.btn-primary:hover { background: #292524; }

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: var(--accent-dark); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: var(--surface-2); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-md);
}
.btn-ghost:hover { color: var(--text); }

.btn-arrow::after {
  content: '\2192';
  margin-left: 4px;
  transition: transform 0.15s;
}
.btn-arrow:hover::after { transform: translateX(2px); }

/* --- Hero background decoration ----------------------------- */
.hero-bg {
  position: relative;
}

.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

/* Primary blob — large blue glow behind the SVG shape */
.hero-bg::before {
  width: 900px;
  height: 900px;
  top: -200px;
  right: -250px;
  background:
    radial-gradient(ellipse at 40% 45%, #2563EB 0%, transparent 55%),
    radial-gradient(ellipse at 65% 55%, #3b82f6 0%, transparent 50%);
  opacity: 0.10;
  filter: blur(80px);
  animation: heroFloat 20s ease-in-out infinite;
}

/* Secondary blob — warm soft glow for depth */
.hero-bg::after {
  width: 400px;
  height: 400px;
  top: 200px;
  right: 50px;
  background:
    radial-gradient(ellipse at 50% 50%, #60a5fa 0%, transparent 60%);
  opacity: 0.06;
  filter: blur(50px);
  animation: heroFloat 15s ease-in-out 3s infinite reverse;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-20px, 15px) scale(1.03); }
  66% { transform: translate(10px, -10px) scale(0.97); }
}

/* Decorative abstract shape — SVG-based swirl accent */
.hero-decoration {
  position: absolute;
  top: -20px;
  right: -160px;
  width: 620px;
  height: 620px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  mask-image: linear-gradient(to bottom, black 50%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 95%);
}

@media (max-width: 960px) {
  .hero-decoration {
    width: 420px;
    height: 420px;
    top: 0;
    right: -180px;
  }
  .hero-bg::before {
    width: 500px;
    height: 500px;
    right: -200px;
  }
  .hero-bg::after {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-decoration {
    width: 300px;
    height: 300px;
    top: 20px;
    right: -160px;
    opacity: 0.6;
  }
}

/* --- Hero --------------------------------------------------- */
.hero {
  padding: 100px 24px 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-badge .badge-label {
  background: var(--accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 680px;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hero product image */
.hero-visual {
  margin: 48px auto 0;
  max-width: var(--max-width);
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.hero-visual-inner {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 32px 32px 0;
  position: relative;
}

.hero-screenshot {
  background: var(--surface);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  padding: 16px 24px;
  min-height: 320px;
}

.hero-screenshot-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.hero-screenshot-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.hero-screenshot-dots span:nth-child(1) { background: #ef4444; }
.hero-screenshot-dots span:nth-child(2) { background: #f59e0b; }
.hero-screenshot-dots span:nth-child(3) { background: #22c55e; }

.screenshot-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.screenshot-toolbar-item {
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
}
.screenshot-toolbar-item.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.screenshot-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.screenshot-line {
  height: 12px;
  background: var(--surface-2);
  border-radius: 4px;
}
.screenshot-line:nth-child(1) { width: 65%; }
.screenshot-line:nth-child(2) { width: 85%; }
.screenshot-line:nth-child(3) { width: 45%; }
.screenshot-line:nth-child(4) { width: 72%; }
.screenshot-line:nth-child(5) { width: 55%; }

/* --- Stats bar ---------------------------------------------- */
.stats-bar {
  padding: 48px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.stats-bar-inner {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Testimonial aside (replaces photo placeholder) --------- */
.testimonial-aside {
  flex-shrink: 0;
  width: 160px;
}

/* --- Logo bar ----------------------------------------------- */
.logo-bar {
  padding: 60px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo-bar-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logo-bar-logos span {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* --- Section layout ----------------------------------------- */
.section {
  padding: var(--section-padding) 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-full {
  padding: var(--section-padding) 24px;
}

.section-full .section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Section label — uppercase accent text like GitBook */
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 640px;
}

.section-title-center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 24px;
}

.section-desc-center {
  text-align: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Feature cards (2-col split) ---------------------------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.feature-card-lg {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card-lg-visual {
  height: 240px;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.feature-card-lg-body {
  padding: 32px;
}

.feature-card-lg-body .section-label { margin-bottom: 12px; }

.feature-card-lg-body h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.feature-card-lg-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* --- 3-col feature grid ------------------------------------- */
.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card-visual {
  height: 200px;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-card-body {
  padding: 24px;
}

.feature-card-body .section-label { margin-bottom: 8px; }

.feature-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.feature-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Feature list (simple) ---------------------------------- */
.feature-grid-simple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.feature-simple {
  padding: 24px 0;
}

.feature-simple-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-simple-icon svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

.feature-simple h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-simple p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Testimonial block -------------------------------------- */
.testimonial {
  padding: 80px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.testimonial-photo {
  flex-shrink: 0;
  width: 160px;
}

.testimonial-photo img,
.testimonial-photo-placeholder {
  width: 140px;
  height: 160px;
  border-radius: var(--r-lg);
  object-fit: cover;
  background: var(--bg);
}

.testimonial-company {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.testimonial-content blockquote {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.testimonial-attribution {
  font-size: 14px;
  color: var(--text-muted);
}

.testimonial-attribution strong {
  color: var(--text);
  font-weight: 600;
}

/* --- Enterprise section ------------------------------------- */
.enterprise-section {
  text-align: center;
  padding: var(--section-padding) 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.enterprise-section .section-title {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.enterprise-section .section-desc {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.enterprise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  text-align: left;
}

.enterprise-card-center {
  grid-row: 1 / 3;
  grid-column: 2;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.enterprise-item {
  padding: 0;
}

.enterprise-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.enterprise-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.enterprise-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Customer stories carousel ------------------------------ */
.customer-stories {
  padding: 80px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.customer-stories .section-label { margin-bottom: 12px; }

.stories-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  margin-top: 32px;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.story-card {
  flex: 0 0 260px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 180px;
  scroll-snap-align: start;
}

.story-card-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* --- CTA Banner --------------------------------------------- */
.cta-banner {
  background: var(--bg);
  padding: 80px 24px;
}

.cta-inner {
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* --- Footer ------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 24px 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: #334155;
  letter-spacing: -0.03em;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-social a:hover { color: var(--text); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-faint);
}

/* --- Pricing ------------------------------------------------ */
.pricing-header {
  text-align: center;
  padding: 80px 24px 48px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.pricing-header .section-label { margin-bottom: 12px; }

.pricing-header h1 {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.pricing-header p {
  font-size: 18px;
  color: var(--text-muted);
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.billing-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.billing-label-active {
  color: var(--text);
  font-weight: 600;
}

.save-badge {
  display: inline-block;
  background: #dcfce7;
  color: #16a34a;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  margin-left: 4px;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--border);
  border: none;
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.toggle-switch.active {
  background: var(--accent);
}

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.toggle-switch.active .toggle-knob {
  transform: translateX(22px);
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

.pricing-plan {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
}

.pricing-plan.featured {
  border-color: var(--accent);
}

.pricing-plan .popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.pricing-plan-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-plan-price {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  line-height: 1;
}

.pricing-plan-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-plan-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-plan-cta {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 24px;
  transition: all 0.15s;
}

.pricing-plan .plan-cta-default {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}
.pricing-plan .plan-cta-default:hover { background: var(--surface-2); }

.pricing-plan .plan-cta-accent {
  background: var(--text);
  color: #fff;
}
.pricing-plan .plan-cta-accent:hover { background: #292524; }

.pricing-features { list-style: none; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border-subtle);
}
.pricing-features li:last-child { border-bottom: none; }

.check-yes { color: var(--success); flex-shrink: 0; }
.check-no { color: var(--text-faint); flex-shrink: 0; }

/* Comparison table */
.comparison-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.comparison-section h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
}

.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th,
.comparison-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.comparison-table th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.comparison-table td:nth-child(2),
.comparison-table td:nth-child(3),
.comparison-table th:nth-child(2),
.comparison-table th:nth-child(3) {
  text-align: center;
  width: 140px;
}

/* --- FAQ (details/summary) ---------------------------------- */
.faq-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px;
}

.faq-section h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

details.faq-item {
  border-bottom: 1px solid var(--border);
}

summary.faq-question {
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  list-style: none;
}

summary.faq-question::-webkit-details-marker { display: none; }

summary.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}

details.faq-item[open] > summary.faq-question::after {
  content: '\2212';
}

.faq-answer {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Content pages ------------------------------------------ */
.content-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px;
}

.content-page h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.content-page h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 12px;
}

.content-page p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.content-page ul, .content-page ol {
  margin-bottom: 16px;
  padding-left: 24px;
  list-style: disc;
}

.content-page li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 4px;
}

.content-page ol { list-style: decimal; }

.blog-grid {
  display: grid;
  gap: 24px;
  margin-top: 8px;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px 28px;
  transition: border-color 0.2s;
}

.blog-card:hover {
  border-color: var(--accent);
}

.blog-card h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 8px 0;
}

.blog-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.blog-card time {
  font-size: 13px;
  color: var(--text-muted);
}

.changelog-list {
  margin-top: 8px;
}

.changelog-entry {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin-bottom: 32px;
}

.changelog-entry time {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.changelog-entry h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 4px 0 12px;
}

.changelog-entry ul {
  list-style: disc;
  padding-left: 20px;
}

.changelog-entry li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- Status / error page ------------------------------------ */
.status-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  text-align: center;
}

.status-code {
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.status-page h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
}

.status-page p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.status-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* --- Mobile toggle ------------------------------------------ */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
}

/* --- Responsive --------------------------------------------- */
@media (max-width: 960px) {
  :root { --section-padding: 80px; }

  .feature-split { grid-template-columns: 1fr; }
  .feature-grid-3 { grid-template-columns: 1fr; }
  .feature-grid-simple { grid-template-columns: 1fr 1fr; }

  .enterprise-grid {
    grid-template-columns: 1fr;
  }
  .enterprise-card-center {
    grid-row: auto;
    grid-column: auto;
    min-height: 200px;
  }

  .pricing-cards { grid-template-columns: 1fr; max-width: 480px; }

  .testimonial { flex-direction: column; gap: 24px; }
  .testimonial-photo, .testimonial-aside { width: auto; }
  .testimonial-photo img,
  .testimonial-photo-placeholder { width: 100px; height: 120px; }
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    z-index: 100;
    gap: 16px;
  }
  .mobile-toggle { display: block; }
  .navbar-inner { position: relative; }

  .hero { padding: 60px 24px 40px; }
  .hero h1 { font-size: 36px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .feature-grid-simple { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .stats-bar-inner { gap: 32px; }
}

/* Mobile touch target minimum (44px) */
@media (max-width: 768px) {
  .btn-sm { padding: 10px 18px; font-size: 14px; min-height: 44px; }
  summary.faq-question { min-height: 44px; }
}
