/* ============================================
   KIPPLE LABS — Global Styles
   ============================================ */

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

:root {
  --void: #1a1a2e;
  --paper: #f5f0e8;
  --signal: #c4705a;
  --slate: #6b7b8d;
  --protocol: #2d5a7b;
  --signal-hover: #b5614b;
  --protocol-hover: #245070;
  --grid: 30px;
  --max-width: 1200px;
  --nav-height: 72px;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400&display=swap');
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--void);
  background-color: var(--paper);
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { max-width: 65ch; }
.text-slate { color: var(--slate); }
.text-protocol { color: var(--protocol); }

code, .mono {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.9em;
}

a {
  color: var(--protocol);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--protocol-hover); }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

section {
  padding: clamp(60px, 8vw, 120px) 0;
}

.section-divider {
  border: none;
  border-top: 1px solid rgba(107, 123, 141, 0.2);
  margin: 0;
}

/* --- Grid Background (subtle) --- */
.grid-bg {
  background-image:
    linear-gradient(rgba(107, 123, 141, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 123, 141, 0.06) 1px, transparent 1px);
  background-size: var(--grid) var(--grid);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--paper);
  border-bottom: 1px solid rgba(107, 123, 141, 0.15);
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(245, 240, 232, 0.95);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--void);
}

.nav-logo svg { height: 36px; width: auto; }

.nav-logo .wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}
.nav-logo .wordmark-light {
  font-weight: 300;
  color: var(--slate);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--void);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--signal); }
.nav-links a.active { color: var(--signal); }

/* --- Nav Dropdowns --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-top: 1px;
  transition: transform 0.2s;
}

.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 12px;
  z-index: 1001;
}

.dropdown-menu-inner {
  background: var(--paper);
  border: 1px solid rgba(107, 123, 141, 0.15);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 200px;
  box-shadow: 0 8px 30px rgba(26, 26, 46, 0.1);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--void);
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu a:hover {
  background: rgba(107, 123, 141, 0.06);
  color: var(--signal);
}

.dropdown-menu .dropdown-desc {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--slate);
  margin-top: 2px;
}

/* Dark theme dropdowns */
.page-axis .dropdown-menu-inner {
  background: var(--void);
  border-color: rgba(245, 240, 232, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-axis .dropdown-menu a { color: rgba(245, 240, 232, 0.7); }
.page-axis .dropdown-menu a:hover {
  background: rgba(245, 240, 232, 0.04);
  color: var(--signal);
}
.page-axis .dropdown-menu .dropdown-desc { color: rgba(245, 240, 232, 0.4); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-signal {
  background: var(--signal);
  color: var(--paper);
}
.btn-signal:hover {
  background: var(--signal-hover);
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(196, 112, 90, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--void);
  border: 1.5px solid rgba(107, 123, 141, 0.3);
}
.btn-outline:hover {
  border-color: var(--void);
  color: var(--void);
  transform: translateY(-1px);
}

.btn-protocol {
  background: var(--protocol);
  color: var(--paper);
}
.btn-protocol:hover {
  background: var(--protocol-hover);
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 90, 123, 0.3);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.nav-cta {
  padding: 8px 22px;
  font-size: 0.85rem;
}

/* --- Mobile Menu --- */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--void);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding-top: calc(var(--nav-height) + clamp(60px, 8vw, 100px));
  padding-bottom: clamp(60px, 8vw, 100px);
  text-align: center;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero .subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--slate);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  padding: 40px 0;
  border-top: 1px solid rgba(107, 123, 141, 0.12);
  border-bottom: 1px solid rgba(107, 123, 141, 0.12);
}

.trust-bar .label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate);
  margin-bottom: 24px;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}

.trust-logos .trust-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.05em;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.trust-logos .trust-item:hover { opacity: 1; }

/* ============================================
   FEATURE GRID
   ============================================ */
.features { text-align: center; }

.features h2 { margin-bottom: 16px; }

.features .section-subtitle {
  color: var(--slate);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 60px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: left;
}

.feature-card {
  padding: 32px;
  border: 1px solid rgba(107, 123, 141, 0.12);
  border-radius: 8px;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.3);
}

.feature-card:hover {
  border-color: rgba(107, 123, 141, 0.25);
  box-shadow: 0 8px 30px rgba(26, 26, 46, 0.06);
  transform: translateY(-2px);
}

.feature-card .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.65;
}

/* ============================================
   QUOTE / TESTIMONIAL
   ============================================ */
.quote-section {
  text-align: center;
  background: var(--void);
  color: var(--paper);
}

.quote-section blockquote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 24px;
  font-weight: 400;
}

.quote-section cite {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--slate);
}

/* ============================================
   HOW IT WORKS (4-step)
   ============================================ */
.steps-section h2 {
  text-align: center;
  margin-bottom: 16px;
}

.steps-section .section-subtitle {
  text-align: center;
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 60px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--signal);
  color: var(--paper);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
  margin: 0 auto;
}

/* Step connector line */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: rgba(107, 123, 141, 0.2);
}

/* ============================================
   STATS
   ============================================ */
.stats-row {
  display: flex;
  justify-content: center;
  gap: clamp(40px, 6vw, 80px);
  margin-top: 60px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat .number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--signal);
  display: block;
}

.stat .label {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 4px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  background: var(--void);
  color: var(--paper);
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section .subtitle {
  color: var(--slate);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 36px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--void);
  color: var(--paper);
  padding: 60px 0 40px;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand svg { height: 32px; width: auto; }

.footer-brand .tagline {
  font-size: 0.85rem;
  color: var(--slate);
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-links a {
  color: rgba(245, 240, 232, 0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--paper); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom .copyright {
  font-size: 0.8rem;
  color: var(--slate);
}

.footer-bottom .standards {
  font-size: 0.8rem;
  color: var(--slate);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.pricing-card {
  padding: 40px 32px;
  border: 1px solid rgba(107, 123, 141, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--signal);
  box-shadow: 0 8px 30px rgba(196, 112, 90, 0.1);
  position: relative;
}

.pricing-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.pricing-card .price-note {
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 24px;
}

.pricing-card ul {
  list-style: none;
  flex-grow: 1;
}

.pricing-card ul li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--slate);
  border-bottom: 1px solid rgba(107, 123, 141, 0.08);
  padding-left: 20px;
  position: relative;
}

.pricing-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--signal);
}

/* API Pricing Table */
.api-pricing {
  margin-top: 60px;
}

.api-pricing h3 {
  text-align: center;
  margin-bottom: 32px;
}

.api-table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
}

.api-table th,
.api-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(107, 123, 141, 0.12);
}

.api-table th {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.api-table td {
  font-size: 0.95rem;
}

.api-table .price-cell {
  font-family: 'JetBrains Mono', monospace;
  color: var(--signal);
  font-weight: 500;
}

.api-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--slate);
}

/* Enterprise section */
.enterprise-section {
  margin-top: 60px;
  text-align: center;
}

.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
  text-align: left;
}

.enterprise-card {
  padding: 28px;
  border: 1px solid rgba(107, 123, 141, 0.12);
  border-radius: 8px;
}

.enterprise-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}

.enterprise-card p {
  font-size: 0.9rem;
  color: var(--slate);
}

/* ============================================
   FAQ
   ============================================ */
.faq-section h2 {
  text-align: center;
  margin-bottom: 48px;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(107, 123, 141, 0.12);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--void);
  transition: color 0.2s;
}

.faq-question:hover { color: var(--signal); }

.faq-question .icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--slate);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ============================================
   DOCS PAGE
   ============================================ */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.doc-card {
  padding: 32px;
  border: 1px solid rgba(107, 123, 141, 0.12);
  border-radius: 8px;
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
  background: rgba(255, 255, 255, 0.3);
}

.doc-card:hover {
  border-color: var(--protocol);
  box-shadow: 0 8px 30px rgba(26, 26, 46, 0.06);
  transform: translateY(-2px);
  color: inherit;
}

.doc-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.doc-card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
}

.code-preview {
  margin-top: 48px;
  background: var(--void);
  border-radius: 8px;
  padding: 32px;
  overflow-x: auto;
}

.code-preview h3 {
  color: var(--paper);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.code-preview .code-desc {
  color: var(--slate);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.code-block {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

.code-block code {
  color: var(--paper);
  font-size: 0.85rem;
  line-height: 1.8;
  white-space: pre;
}

.code-block .method { color: var(--signal); }
.code-block .path { color: #a0c4ff; }
.code-block .comment { color: var(--slate); }

/* Quick start */
.quick-start {
  margin-top: 60px;
  text-align: center;
}

.quick-start h2 { margin-bottom: 16px; }
.quick-start .section-subtitle {
  color: var(--slate);
  margin: 0 auto 40px;
  max-width: 400px;
}

.quick-start-steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.qs-step {
  text-align: center;
  max-width: 200px;
}

.qs-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--protocol);
  color: var(--paper);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  margin-bottom: 12px;
}

.qs-step p {
  font-size: 0.9rem;
  color: var(--slate);
  margin: 0 auto;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story {
  max-width: 720px;
}

.about-story h2 {
  margin-bottom: 24px;
}

.about-story p {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 20px;
}

.founder-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.founder-section h2 { margin-bottom: 16px; }
.founder-section h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--signal);
}

.founder-section p {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 16px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.mission-item {
  padding: 28px;
  border-left: 3px solid var(--signal);
}

.mission-item h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
}

.mission-item p {
  font-size: 0.9rem;
  color: var(--slate);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.approach-card {
  padding: 32px;
  border: 1px solid rgba(107, 123, 141, 0.12);
  border-radius: 8px;
}

.approach-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.approach-card p { font-size: 0.9rem; color: var(--slate); line-height: 1.65; }

.philosophy-list {
  max-width: 720px;
}

.philosophy-list p {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 20px;
  padding-left: 24px;
  border-left: 2px solid rgba(107, 123, 141, 0.15);
}

/* ============================================
   AXIS PROTOCOL PAGE (Dark theme)
   ============================================ */
.page-axis {
  background: var(--void);
  color: var(--paper);
}

.page-axis .nav {
  background: rgba(26, 26, 46, 0.95);
  border-bottom-color: rgba(245, 240, 232, 0.08);
}

.page-axis .nav-logo { color: var(--paper); }
.page-axis .nav-links a { color: rgba(245, 240, 232, 0.7); }
.page-axis .nav-links a:hover { color: var(--signal); }

.page-axis h1, .page-axis h2, .page-axis h3 { color: var(--paper); }
.page-axis p { color: rgba(245, 240, 232, 0.7); }

.page-axis .hero .subtitle { color: rgba(245, 240, 232, 0.6); }

.page-axis .feature-card {
  background: rgba(245, 240, 232, 0.04);
  border-color: rgba(245, 240, 232, 0.08);
}
.page-axis .feature-card:hover {
  border-color: rgba(245, 240, 232, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.page-axis .feature-card p { color: rgba(245, 240, 232, 0.6); }

.page-axis .step-number {
  background: var(--protocol);
}

.page-axis .step p { color: rgba(245, 240, 232, 0.6); }
.page-axis .step:not(:last-child)::after { background: rgba(245, 240, 232, 0.1); }

.page-axis .code-preview {
  background: rgba(245, 240, 232, 0.04);
  border: 1px solid rgba(245, 240, 232, 0.08);
}

.page-axis .section-divider { border-top-color: rgba(245, 240, 232, 0.06); }

.page-axis .trust-bar {
  border-color: rgba(245, 240, 232, 0.06);
}

.page-axis .btn-outline {
  color: var(--paper);
  border-color: rgba(245, 240, 232, 0.2);
}
.page-axis .btn-outline:hover {
  border-color: var(--paper);
  color: var(--paper);
}

/* Spec section */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.spec-card {
  padding: 32px;
  border: 1px solid rgba(245, 240, 232, 0.08);
  border-radius: 8px;
}

.spec-card h3 { margin-bottom: 12px; }
.spec-card p { font-size: 0.95rem; line-height: 1.65; }

/* Operator benefits */
.operator-list {
  list-style: none;
  margin-top: 20px;
}

.operator-list li {
  padding: 12px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
  color: rgba(245, 240, 232, 0.7);
  border-bottom: 1px solid rgba(245, 240, 232, 0.04);
}

.operator-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--protocol);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .step:not(:last-child)::after { display: none; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .enterprise-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .founder-section { grid-template-columns: 1fr; gap: 40px; }
  .approach-grid { grid-template-columns: 1fr; max-width: 480px; }
  .spec-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 24px;
    border-bottom: 1px solid rgba(107, 123, 141, 0.15);
    gap: 20px;
  }

  .page-axis .nav-links.open {
    background: var(--void);
    border-bottom-color: rgba(245, 240, 232, 0.08);
  }

  .dropdown-menu {
    position: static;
    transform: none;
    padding-top: 0;
    padding-left: 16px;
    min-width: 0;
  }

  .dropdown-menu-inner {
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    min-width: 0;
  }

  .nav-dropdown .dropdown-menu { display: block; }
  .nav-dropdown > a::after { display: none; }

  .feature-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }

  .hero-buttons { flex-direction: column; align-items: center; }

  .footer .container { flex-direction: column; text-align: center; }
  .footer-links { flex-direction: column; gap: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .stats-row { flex-direction: column; gap: 32px; }
}

/* ============================================
   ANIMATIONS (subtle)
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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