/* ─── Reset & Base ─── */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background-color: var(--paper-bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: var(--tracking);
  line-height: var(--line-height);
}

a {
  color: var(--ink-blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* ─── Paper Grain Overlay ─── */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  will-change: transform;
}

/* ─── Layout Utilities ─── */

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

.section {
  padding: var(--xxl) 0;
  border-bottom: 1px solid var(--rule);
}

.section:last-of-type {
  border-bottom: none;
}

/* ─── Fade-in Animation ─── */

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Theme Toggle ─── */

.theme-toggle {
  background: none;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, border-color 0.15s ease;
  padding: 0;
}

.theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

/* Dark mode: invert logo brightness */
[data-theme="dark"] .nav-logo,
[data-theme="dark"] .footer-logo {
  filter: brightness(1.8);
}

@media (prefers-color-scheme: dark) {
  [data-theme="auto"] .nav-logo,
  [data-theme="auto"] .footer-logo {
    filter: brightness(1.8);
  }
}

/* ─── Navigation ─── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--paper-bg);
  border-bottom: 1px solid var(--rule);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--xs);
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo {
  width: 32px;
  height: 32px;
}

.nav-wordmark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--md);
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  text-decoration: none;
}

.nav-cta {
  display: inline-block;
  padding: var(--xs) var(--sm);
  background-color: var(--ink-blue);
  color: white;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: var(--tracking);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.nav-cta:hover {
  background-color: var(--ink-blue-hover);
  text-decoration: none;
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--xs);
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile slide-down */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: var(--sm);
  padding: var(--sm) var(--md) var(--md);
  border-bottom: 1px solid var(--rule);
  background-color: var(--paper-bg);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile .nav-link {
  font-size: 16px;
  padding: var(--xs) 0;
}

.nav-mobile .nav-cta {
  text-align: center;
}

/* ─── Hero ─── */

.hero {
  padding: var(--hero) var(--md) var(--xxl);
  text-align: center;
}

.hero-content {
  max-width: var(--max-text);
  margin: 0 auto;
}

.hero h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--md);
  color: var(--text-primary);
}

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 var(--lg);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sm);
  flex-wrap: wrap;
  margin-bottom: var(--md);
}

.btn-primary {
  display: inline-block;
  padding: var(--xsm) var(--md);
  background-color: var(--ink-blue);
  color: white;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: var(--tracking);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn-primary:hover {
  background-color: var(--ink-blue-hover);
  text-decoration: none;
}

.btn-outlined {
  display: inline-block;
  padding: var(--xsm) var(--md);
  background-color: transparent;
  color: var(--ink-blue);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: var(--tracking);
  border: 1.5px solid var(--ink-blue);
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn-outlined:hover {
  background-color: var(--ink-blue-10);
  text-decoration: none;
}

.btn-text-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-blue);
}

.hero-platforms {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-tertiary);
  margin: 0;
}

.hero-rule {
  width: 120px;
  height: 1px;
  background-color: var(--rule-strong);
  margin: var(--xl) auto 0;
  border: none;
}

/* ─── Philosophy ─── */

.philosophy {
  padding: var(--xxl) var(--md);
}

.philosophy-text {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 var(--md);
}

.philosophy-text p:last-child {
  margin-bottom: 0;
  color: var(--text-primary);
  font-weight: 600;
}

/* ─── Section Header ─── */

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--text-secondary);
  margin: 0 0 var(--xs);
  padding-bottom: var(--xs);
  border-bottom: 2px solid var(--text-secondary);
  display: inline-block;
}

/* ─── Feature Grid ─── */

.features {
  padding: var(--xxl) var(--md);
}

.features .container {
  padding: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--lg);
  margin-top: var(--lg);
}

.feature-item {
  padding-left: var(--sm);
  border-left: 3px solid var(--ink-blue);
}

.feature-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 var(--xs);
  color: var(--text-primary);
}

.feature-item p {
  font-size: 15px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── AI Section ─── */

.ai-section {
  padding: var(--xxl) var(--md);
}

.ai-pullquote {
  border-left: 3px solid var(--ai-orange);
  background-color: var(--ai-orange-5);
  padding: var(--md);
  margin: var(--lg) 0;
  font-size: 17px;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
}

.ai-capabilities {
  display: flex;
  flex-direction: column;
  gap: var(--lg);
  margin-top: var(--lg);
}

.ai-capability h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 var(--xxs);
  color: var(--text-primary);
}

.ai-capability p {
  font-size: 15px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── MCP Section ─── */

.mcp-section {
  padding: var(--xxl) var(--md);
}

.mcp-intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: var(--md) 0 var(--lg);
}

.mcp-code {
  background-color: var(--paper-hover);
  border: 1px solid var(--rule-strong);
  padding: var(--md);
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-primary);
  overflow-x: auto;
  white-space: pre-line;
}

.mcp-closing {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin: var(--lg) 0 var(--xs);
}

.mcp-meta {
  font-size: 13px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── Privacy Summary ─── */

.privacy-summary {
  padding: var(--xxl) var(--md);
}

.privacy-list {
  list-style: none;
  padding: 0;
  margin: var(--lg) 0;
}

.privacy-list li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  padding: var(--xs) 0;
  border-bottom: 1px solid var(--rule);
}

.privacy-list li:last-child {
  border-bottom: none;
}

.privacy-link {
  display: inline-block;
  margin-top: var(--sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-blue);
}

/* ─── Download Section ─── */

.download {
  padding: var(--xxl) var(--md);
  text-align: center;
}

.download h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 var(--lg);
}

.download-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sm);
  flex-wrap: wrap;
  margin-bottom: var(--md);
}

.download-note {
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 0;
}

/* ─── Footer ─── */

.footer {
  background-color: var(--paper-hover);
  border-top: 1px solid var(--rule-strong);
  padding: var(--lg) var(--md);
}

.footer-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sm);
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--xs);
}

.footer-logo {
  width: 24px;
  height: 24px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: var(--md);
}

.footer-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

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

.footer-copy {
  font-size: 12px;
  color: var(--text-tertiary);
  margin: 0;
}

/* ─── Responsive — Tablet (640px+) ─── */

@media (min-width: 640px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero-sub {
    font-size: 19px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ai-capabilities {
    flex-direction: row;
    gap: var(--lg);
  }

  .ai-capability {
    flex: 1;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-brand {
    gap: var(--xsm);
  }
}

/* ─── Responsive — Desktop (960px+) ─── */

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }

  .nav-hamburger {
    display: none;
  }

  .hero {
    padding: var(--hero) var(--md) var(--xxl);
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-sub {
    font-size: 20px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── Privacy Page ─── */

.privacy-page {
  max-width: var(--max-text);
  margin: 0 auto;
  padding: var(--xl) var(--md);
}

.privacy-page h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 var(--xs);
}

.privacy-page .last-updated {
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 0 0 var(--xl);
}

.privacy-page h2 {
  font-size: 18px;
  font-weight: 700;
  margin: var(--xl) 0 var(--sm);
  padding-bottom: var(--xs);
  border-bottom: 1px solid var(--rule);
}

.privacy-page p,
.privacy-page ul {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 var(--sm);
}

.privacy-page ul {
  padding-left: var(--md);
}

.privacy-page li {
  margin-bottom: var(--xs);
}

.privacy-page strong {
  color: var(--text-primary);
}

/* ─── Features "See all" Link ─── */

.features-more {
  margin-top: var(--lg);
  font-size: 15px;
  font-weight: 600;
}

.features-more a {
  color: var(--ink-blue);
}

/* ─── Page Header (Features, FAQ) ─── */

.page-header {
  padding: var(--xl) var(--md) var(--lg);
  text-align: center;
}

.page-header .container {
  max-width: var(--max-text);
}

.page-header h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--sm);
  color: var(--text-primary);
}

.page-header h1 em {
  font-style: italic;
  color: var(--ai-orange);
}

.page-header-sub {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── Feature Detail Page ─── */

.feature-detail .container {
  max-width: var(--max-text);
}

.feature-detail-intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: var(--sm) 0 var(--lg);
}

.feature-detail h2 {
  font-size: 24px;
  font-weight: 700;
  margin: var(--sm) 0 0;
  color: var(--text-primary);
}

.feature-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--lg);
  margin-top: var(--lg);
}

.feature-detail-card {
  padding-left: var(--sm);
  border-left: 3px solid var(--ink-blue);
}

.feature-detail-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 var(--xs);
  color: var(--text-primary);
}

.feature-detail-card p {
  font-size: 15px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Deep dive items (no border-left, more vertical space) */

.feature-deep-dive {
  display: flex;
  flex-direction: column;
  gap: var(--xl);
  margin-top: var(--lg);
}

.feature-deep-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 var(--xs);
  color: var(--text-primary);
}

.feature-deep-item p {
  font-size: 15px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Feature highlight (text-only callout) */

.feature-highlight {
  margin: var(--lg) 0;
}

.feature-highlight-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 var(--md);
}

.feature-highlight-text p:last-child {
  margin-bottom: 0;
}

/* Chat examples */

.chat-examples {
  display: flex;
  flex-direction: column;
  gap: var(--sm);
  margin-top: var(--lg);
}

.chat-example {
  background-color: var(--paper-hover);
  border: 1px solid var(--rule-strong);
  padding: var(--sm) var(--md);
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
}

/* MCP tools grid */

.mcp-tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--md);
  margin-top: var(--lg);
}

.mcp-tool-category {
  padding: var(--sm);
  border: 1px solid var(--rule);
  background-color: var(--paper-hover);
}

.mcp-tool-category h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 var(--xxs);
  color: var(--text-primary);
}

.mcp-tool-category p {
  font-size: 14px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Platform grid */

.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--lg);
  margin-top: var(--lg);
}

.platform-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 var(--xxs);
  color: var(--text-primary);
}

.platform-item p {
  font-size: 15px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

.platform-coming {
  margin-top: var(--lg);
  font-size: 13px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Page CTA */

.page-cta {
  text-align: center;
  padding: var(--xxl) var(--md);
}

.page-cta .container {
  max-width: var(--max-text);
}

.page-cta h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 var(--lg);
}

/* ─── Trust Badges ─── */

.trust-section {
  padding: var(--xl) var(--md);
}

.trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--md);
  max-width: var(--max-content);
  margin: 0 auto;
}

.trust-badge {
  text-align: center;
  padding: var(--md) var(--sm);
  border: 1px solid var(--rule);
}

.trust-badge-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--text-tertiary);
  margin-bottom: var(--xxs);
}

.trust-badge-value {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ─── Beta Signup ─── */

.beta-signup {
  text-align: center;
  padding: var(--xxl) var(--md);
}

.beta-signup h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 var(--sm);
}

.beta-signup-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto var(--lg);
}

.beta-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--xs);
  flex-wrap: wrap;
  max-width: 440px;
  margin: 0 auto;
}

.beta-input {
  flex: 1;
  min-width: 200px;
  padding: var(--xsm) var(--sm);
  font-size: 16px;
  font-family: var(--font);
  letter-spacing: var(--tracking);
  border: 1.5px solid var(--rule-strong);
  border-radius: 8px;
  background-color: var(--paper-bg);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s ease;
}

.beta-input:focus {
  border-color: var(--ink-blue);
}

.beta-input::placeholder {
  color: var(--text-tertiary);
}

.beta-note {
  font-size: 12px;
  color: var(--text-tertiary);
  margin: var(--sm) 0 0;
}

/* ─── FAQ Page ─── */

.faq-page {
  max-width: var(--max-text);
  margin: 0 auto;
  padding: var(--xl) var(--md) var(--xxl);
}

.faq-page h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 var(--xs);
  text-align: center;
}

.faq-page-sub {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
  max-width: 520px;
  margin: 0 auto var(--xl);
}

.faq-category {
  font-size: 18px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-primary);
  margin: var(--xl) 0 var(--sm);
  padding-bottom: var(--xs);
  border-bottom: 2px solid var(--rule-strong);
  display: block;
}

.faq-category:first-of-type {
  margin-top: 0;
}

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

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 var(--sm);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer strong {
  color: var(--text-primary);
}

.faq-answer a {
  color: var(--ink-blue);
  font-weight: 600;
}

/* ─── How It Works (3-step) ─── */

.how-it-works {
  padding: var(--xxl) var(--md);
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: var(--lg);
  margin-top: var(--lg);
}

.how-step {
  flex: 1;
  position: relative;
}

.how-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--ink-blue);
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: var(--xs);
}

.how-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 var(--xs);
  color: var(--text-primary);
}

.how-step p {
  font-size: 15px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.how-step-arrow {
  display: none;
  font-size: 24px;
  color: var(--text-tertiary);
  text-align: center;
  flex-shrink: 0;
  align-self: center;
}

/* ─── Sparks Section ─── */

.sparks-section {
  padding: var(--xxl) var(--md);
}

.sparks-intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: var(--md) 0 var(--lg);
  max-width: 640px;
}

.sparks-examples {
  display: flex;
  flex-direction: column;
  gap: var(--sm);
  margin-top: var(--lg);
}

.spark-example {
  display: flex;
  align-items: baseline;
  gap: var(--sm);
  padding: var(--sm) var(--md);
  background-color: var(--paper-hover);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--ai-orange);
}

.spark-type {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--ai-orange);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 64px;
}

.spark-text {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.5;
}

.sparks-footer {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: var(--lg) 0 0;
}

.sparks-detail {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: var(--lg) 0 0;
  max-width: 640px;
}

/* Sparks scenario (features page) */

.sparks-scenario {
  margin-top: var(--lg);
}

.scenario-block {
  margin-bottom: var(--lg);
}

.scenario-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: var(--xs);
}

.scenario-quote {
  font-size: 17px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0;
  padding-left: var(--md);
  border-left: 3px solid var(--rule-strong);
}

.scenario-sparks {
  margin-top: 0;
}

/* ─── Life Management Grid ─── */

.life-section {
  padding: var(--xxl) var(--md);
}

.life-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--lg);
  margin-top: var(--lg);
}

.life-item {
  padding-left: var(--sm);
  border-left: 3px solid var(--ink-blue);
}

.life-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 var(--xs);
  color: var(--text-primary);
}

.life-item p {
  font-size: 15px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Why Clevernotes Grid ─── */

.why-section {
  padding: var(--xxl) var(--md);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--lg);
  margin-top: var(--lg);
}

.why-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 var(--xs);
  color: var(--text-primary);
}

.why-item p {
  font-size: 15px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Changelog Page ─── */

.changelog-page {
  max-width: var(--max-text);
  margin: 0 auto;
  padding: var(--xl) var(--md);
}

.changelog-page h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 var(--xs);
}

.changelog-intro {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 var(--xl);
}

.changelog-entry {
  display: flex;
  flex-direction: column;
  gap: var(--xs);
  padding: var(--lg) 0;
  border-bottom: 1px solid var(--rule);
}

.changelog-date {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--text-tertiary);
}

.changelog-content h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 var(--xs);
  color: var(--text-primary);
}

.changelog-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 var(--sm);
}

.changelog-content p:last-child {
  margin-bottom: 0;
}

.changelog-tags {
  display: flex;
  gap: var(--xs);
  flex-wrap: wrap;
  margin-bottom: var(--sm);
}

.changelog-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
}

.tag-feature {
  background-color: var(--ink-blue-10);
  color: var(--ink-blue);
}

.tag-improvement {
  background-color: var(--success-bg);
  color: var(--success);
}

.tag-platform {
  background-color: var(--ai-orange-5);
  color: var(--ai-orange);
}

.tag-integration {
  background-color: var(--rule);
  color: var(--text-secondary);
}

/* ─── Compare Page ─── */

.compare-page {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--xl) var(--md);
}

.compare-page h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 var(--xs);
}

.compare-intro {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 var(--xl);
  max-width: 600px;
}

.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 calc(-1 * var(--md)) var(--xl);
  padding: 0 var(--md);
}

.compare-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th {
  text-align: left;
  padding: var(--sm) var(--xsm);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--rule-strong);
  white-space: nowrap;
}

.compare-table td {
  padding: var(--xs) var(--xsm);
  border-bottom: 1px solid var(--rule);
  color: var(--text-secondary);
  line-height: 1.4;
  vertical-align: top;
}

.compare-feature-col {
  width: 200px;
}

.compare-table td.compare-us,
.compare-table th.compare-us {
  font-weight: 600;
  background-color: var(--ink-blue-10);
}

.compare-table td.compare-us {
  color: var(--text-primary);
}

.compare-table th.compare-us {
  color: var(--ink-blue);
}

.compare-table td.compare-category,
.compare-table th.compare-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--text-tertiary);
  padding-top: var(--lg);
  border-bottom: 2px solid var(--rule-strong);
  background: none;
}

.compare-differentiators {
  margin-top: var(--xl);
}

.compare-differentiators h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 var(--lg);
  color: var(--text-primary);
}

.compare-diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--lg);
}

.compare-diff-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 var(--xs);
  color: var(--text-primary);
}

.compare-diff-item p {
  font-size: 15px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.compare-cta {
  text-align: center;
  padding: var(--xxl) 0 var(--lg);
}

.compare-cta h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 var(--xs);
}

.compare-cta p {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 var(--lg);
}

/* ─── Responsive — Tablet (640px+) — New Sections ─── */

@media (min-width: 640px) {
  .page-header h1 {
    font-size: 36px;
  }

  .faq-page h1 {
    font-size: 36px;
  }

  .feature-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mcp-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-badges {
    grid-template-columns: repeat(4, 1fr);
  }

  .life-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sparks-examples {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .changelog-entry {
    flex-direction: row;
    gap: var(--lg);
  }

  .changelog-date {
    min-width: 120px;
    flex-shrink: 0;
    padding-top: 2px;
  }

  .compare-diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── Responsive — Desktop (960px+) — New Sections ─── */

@media (min-width: 960px) {
  .page-header h1 {
    font-size: 40px;
  }

  .chat-examples {
    flex-direction: row;
  }

  .chat-example {
    flex: 1;
  }

  .how-steps {
    flex-direction: row;
    align-items: flex-start;
  }

  .how-step-arrow {
    display: block;
    margin-top: 36px;
  }
}
