/* Estatio Design System v4 — B2B SaaS */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #FFFFFF;
  --bg-soft: #FAFAF9;
  --ink: #0A0A0A;
  --ink-soft: #171717;
  --slate: #525252;
  --slate-light: #737373;
  --mute: #737373;
  --border: #ECECE8;
  --border-strong: #D4D4D0;
  --lime: #BFE82E;
  --lime-dark: #6B8A14;
  --lime-soft: #F7FCE3;
  --lime-text: #4A6B0A;
  --cta-text: #1A2E00;

  /* Legacy aliases — andere Seiten bis zum Redesign */
  --paper: var(--bg);
  --bone: var(--bg-soft);
  --cream: #F2EDDF;
  --linen: #E8E2D2;
  --bronze: #8B6B3D;
  --terracotta: #C8602F;
  --serif: 'Inter', -apple-system, system-ui, sans-serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;

  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 10px;
  --r-pill: 100px;

  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; font-size: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

/* ===== Typography ===== */

.serif { font-family: var(--sans); }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
  font-family: var(--sans);
}

.heading-md {
  font-family: var(--sans);
  font-size: clamp(26px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink);
}

.display-xl {
  font-family: var(--sans);
  font-size: clamp(28px, 4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.display-lg {
  font-family: var(--sans);
  font-size: clamp(26px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.display-md {
  font-family: var(--sans);
  font-size: clamp(22px, 2.5vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.display-sm {
  font-family: var(--sans);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.lime-dot { color: var(--lime); }
.accent-dot { color: var(--lime-dark); }

/* ===== Layout ===== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Nav ===== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.logo {
  font-family: var(--sans);
  font-size: 18px;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
}

.nav-links a {
  font-size: 13px;
  color: var(--slate);
  transition: color 0.15s;
  font-weight: 400;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 500; }

.nav-cta {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
  border: 0.5px solid transparent;
  white-space: nowrap;
  font-family: var(--sans);
}

.btn-primary {
  background: var(--lime);
  color: var(--cta-text);
}
.btn-primary:hover { background: #A8CE25; }

.btn-dark {
  background: var(--ink);
  color: var(--bg);
}
.btn-dark:hover { background: var(--ink-soft); }

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  background: transparent;
  border-color: var(--ink);
}

.btn-text {
  padding: 9px 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  border-radius: 0;
}

.btn-lg { padding: 11px 18px; font-size: 14px; }

.btn-full { width: 100%; justify-content: center; padding: 11px 18px; font-size: 14px; }

/* ===== Hero ===== */

.hero {
  padding: 72px 0 80px;
  border-bottom: 0.5px solid var(--border);
  background: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 520px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--lime-soft);
  border: 0.5px solid rgba(191, 232, 46, 0.45);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--lime-text);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime-dark);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--sans);
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 520px;
}

.hero-sub {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 28px;
}

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

.hero-security {
  margin-top: 20px;
  font-size: 12px;
  color: var(--mute);
  line-height: 1.5;
}

/* Hero live preview */

.hero-preview-wrap {
  display: flex;
  justify-content: flex-end;
}

.hero-preview-card {
  width: 100%;
  max-width: 440px;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
}

.hero-preview-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
}

.hero-preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}

.hero-preview-url {
  margin-left: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  color: var(--mute);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero-preview-body {
  padding: 28px 24px 24px;
  background: var(--bg-soft);
  color: var(--ink);
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.hero-preview-logo {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
  color: var(--ink);
}

.hero-preview-eyebrow {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime-dark);
  margin-bottom: 10px;
  font-weight: 500;
}

.hero-preview-title {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--ink);
}

.hero-preview-meta {
  font-size: 11px;
  line-height: 1.55;
  color: var(--slate);
}

.hero-preview-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.hero-preview-stat-right { text-align: right; }

.hero-preview-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 4px;
  font-weight: 500;
}

.hero-preview-value {
  font-size: 18px;
  letter-spacing: -0.02em;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}

.hero-preview-value-factor { color: var(--lime-dark); }

/* ===== Quality strip ===== */

.quality-strip {
  padding: 48px 0;
  background: var(--bg-soft);
  border-bottom: 0.5px solid var(--border);
}

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

.eyebrow-lime {
  color: var(--lime-dark);
}

.quality-headline {
  font-family: var(--sans);
  font-size: clamp(22px, 2.5vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  margin-top: 12px;
}

/* ===== Showcase ===== */

.section-showcase {
  padding-top: 0;
  background: var(--bg);
}

.showcase-wrapper {
  margin-top: 0;
}

.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
}

.section-showcase .expo-card {
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 0.5px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.section-showcase .expo-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: var(--bg-soft);
  color: var(--ink);
}

.section-showcase .expo-mini-logo {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
  font-weight: 600;
  color: var(--ink);
}

.section-showcase .expo-eyebrow {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--lime-dark);
}

.section-showcase .expo-title {
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--ink);
}

.section-showcase .expo-meta {
  font-size: 11px;
  line-height: 1.55;
  font-family: var(--sans);
  color: var(--slate);
}

.section-showcase .expo-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.section-showcase .expo-stat-right { text-align: right; }

.section-showcase .expo-price-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 500;
  color: var(--mute);
}

.section-showcase .expo-price {
  font-family: var(--sans);
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1;
  font-weight: 500;
  color: var(--ink);
}

.section-showcase .expo-price-accent {
  color: var(--lime-dark);
}

.expo-card {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg);
  border: 0.5px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.expo-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.expo-preview.ink { background: var(--ink); color: var(--bg); }
.expo-preview.soft { background: var(--bg-soft); color: var(--ink); }
.expo-preview.cream { background: var(--bg-soft); color: var(--ink); }
.expo-preview.bronze { background: var(--ink); color: var(--bg); }
.expo-preview.terracotta { background: var(--ink-soft); color: var(--bg); }
.expo-preview.lime { background: var(--lime-soft); color: var(--ink); }

.expo-mini-logo {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
  font-weight: 600;
}

.expo-eyebrow {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.75;
  font-weight: 500;
}

.expo-eyebrow-accent { color: var(--lime-dark); opacity: 1; }

.expo-preview.ink .expo-eyebrow { color: var(--lime); opacity: 1; }

.expo-title {
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  font-weight: 500;
}

.expo-meta {
  font-size: 11px;
  line-height: 1.55;
  opacity: 0.75;
  font-family: var(--sans);
}

.expo-preview.soft .expo-meta { color: var(--slate); opacity: 1; }

.expo-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.expo-footer-light { border-top-color: var(--border); }

.expo-stat-right { text-align: right; }

.expo-price-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 4px;
  font-weight: 500;
}

.expo-preview.soft .expo-price-label { color: var(--mute); opacity: 1; }

.expo-price {
  font-family: var(--sans);
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1;
  font-weight: 500;
}

.expo-price-accent { color: var(--lime); }

.expo-preview.soft .expo-price-accent { color: var(--lime-dark); }

/* ===== Sections ===== */

.section { padding: 80px 0; }

.section-soft {
  background: var(--bg-soft);
}

.section-features {
  padding-top: 72px;
  background: var(--bg);
}

.section-categories {
  background: var(--bg);
}

.section-heading {
  margin-bottom: 48px;
  max-width: 640px;
}

.section-heading-compact {
  margin-bottom: 32px;
}

.section-heading .eyebrow {
  display: block;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
  margin-top: 16px;
  max-width: 520px;
}

/* ===== Features ===== */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.features-index {
  background: var(--border);
}

.feature {
  background: var(--bg);
  padding: 32px 28px;
}

.feature-index h3 {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
  color: var(--ink);
}

.feature-index p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
}

.feature-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--lime-soft);
  color: var(--lime-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-num {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime-dark);
  margin-bottom: 24px;
  font-weight: 500;
}

.feature h3 {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--ink);
}

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

/* ===== Stats bar ===== */

.stats-bar {
  padding: 48px 0;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  background: var(--bg-soft);
}

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

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

.stat-value {
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 12px;
}

.stat-accent { color: var(--lime-dark); }

.stat-term {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 8px;
}

.stat-sublabel {
  font-size: 13px;
  font-weight: 400;
  color: var(--mute);
  line-height: 1.4;
  margin: 0;
  text-transform: none;
}

/* ===== Steps ===== */

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

.steps-index { margin-top: 0; }

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

.steps-five {
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.step-card {
  padding: 28px;
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step-card:hover {
  border-color: var(--lime-dark);
  transform: translateY(-2px);
}

.step-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--lime-soft);
  color: var(--lime-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step { padding: 0; }

.step-card.step { padding: 28px; }

.step-num {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1;
  color: var(--lime-dark);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.step-card .step-num {
  margin-bottom: 14px;
}

.step h4 {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
}

/* ===== Asset types ===== */

.asset-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.asset-pill {
  padding: 10px 16px;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 0.5px solid var(--border);
  font-size: 13px;
  color: var(--ink);
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  transition: border-color 0.15s;
}

.asset-pill:hover { border-color: var(--border-strong); }

.asset-pill-main {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}

.asset-pill-sub {
  font-size: 10px;
  color: var(--mute);
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.asset-pill .count {
  font-size: 11px;
  color: var(--mute);
}

/* ===== Index — spacing & categories ===== */

.page-index .hero {
  padding: 88px 0;
}

.page-index .quality-strip {
  padding: 88px 0;
}

.page-index .section {
  padding: 88px 0;
}

.page-index .section-features {
  padding: 88px 0;
}

.page-index .stats-bar {
  padding: 88px 0;
}

.page-index .stats-bar .stat-value {
  font-size: clamp(28px, 4vw, 48px);
}

.page-index .editorial-quote {
  padding: 88px 0;
}

.page-index .section-soft {
  border-top: 0.5px solid var(--border);
}

.page-index .section-categories {
  background: var(--bg);
  border-top: 0.5px solid var(--border);
}

.page-index .section-cta {
  padding: 88px 0;
  border-top: 0.5px solid var(--border);
}

.page-index .section-showcase {
  border-top: 0.5px solid var(--border);
  padding: 88px 0;
}

.page-index .quality-strip-inner {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.page-index .quality-strip .eyebrow {
  display: block;
  margin-bottom: 0;
}

.page-index .quality-headline {
  margin-top: 20px;
  font-size: 34px;
  letter-spacing: -0.025em;
  line-height: 1.15;
  white-space: nowrap;
}

.page-index .quality-subline {
  margin: 24px auto 0;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--slate);
  font-weight: 400;
}

.page-index .section-heading {
  margin-bottom: 40px;
  max-width: 720px;
}

@media (max-width: 1100px) {
  .page-index .quality-headline {
    white-space: normal;
    font-size: clamp(22px, 2.8vw, 30px);
  }
}

.page-index .section-heading-categories {
  max-width: 680px;
}

.page-index .section-heading-compact {
  margin-bottom: 48px;
}

.page-index .section-heading .eyebrow {
  margin-bottom: 18px;
}

.page-index .section-heading .heading-md,
.page-index .section-heading .heading-categories,
.page-index .section-heading h2 {
  margin: 0;
}

.page-index .section-sub {
  margin-top: 22px;
  max-width: 640px;
}

.page-index .heading-categories {
  font-family: var(--sans);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
}

.page-index .showcase {
  gap: 24px;
}

.page-index .steps-five {
  gap: 24px;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  background: var(--bg-soft);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  transition: border-color 0.2s ease;
}

.category-card:hover {
  border-color: var(--lime-dark);
}

.category-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--lime-soft);
  color: var(--lime-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.category-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 28px;
}

.category-stat-num {
  font-family: var(--sans);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.category-stat-label {
  font-size: 13px;
  color: var(--mute);
  font-weight: 500;
  line-height: 1.3;
}

.category-card-divider {
  height: 0.5px;
  background: var(--border);
  margin-bottom: 28px;
}

.category-card-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime-dark);
  font-weight: 500;
  margin-bottom: 8px;
}

.category-card-title {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.25;
}

.category-card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate);
  margin-bottom: 24px;
}

.category-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-card-list li {
  font-size: 13px;
  line-height: 1.45;
  color: var(--slate);
  padding: 5px 0;
  position: relative;
  padding-left: 14px;
}

.category-card-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--mute);
  font-weight: 600;
}

.category-explore-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 40px;
  font-size: 15px;
  font-weight: 500;
  color: var(--lime-dark);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.category-explore-link::after {
  content: '→';
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.category-explore-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.category-explore-link:hover::after {
  transform: translateX(4px);
}

/* ===== Editorial quote ===== */

.editorial-quote {
  padding: 80px 0;
  background: var(--bg);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.editorial-quote-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 32px;
}

.editorial-quote-text {
  font-family: var(--sans);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 400;
}

.editorial-quote-meta {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
  font-style: normal;
}

/* ===== CTA Band ===== */

.cta-band {
  background: var(--bg-soft);
  color: var(--ink);
  border-radius: 12px;
  padding: 56px 48px;
  margin: 0 0 80px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  border: 0.5px solid var(--border);
}

.cta-band h2 {
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink);
}

.cta-band .accent-dot { color: var(--lime-dark); }

.cta-band p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 24px;
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-cta-ghost {
  background: transparent;
  border: 0.5px solid rgba(255,255,255,0.3);
  color: var(--paper);
}
.btn-cta-ghost:hover { border-color: rgba(255,255,255,0.7); }

/* ===== Footer ===== */

.footer {
  padding: 72px 0 36px;
  border-top: 0.5px solid var(--border);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  font-size: 18px;
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-tag {
  font-size: 15px;
  line-height: 1.4;
  color: var(--slate);
  max-width: 260px;
}

.footer h5 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
  margin-bottom: 20px;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { font-size: 13px; color: var(--slate); transition: color 0.15s; }
.footer a:hover { color: var(--ink); }

.footer-bottom {
  padding-top: 32px;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--slate-light);
}

/* ===== Marketplace / Library ===== */

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

.btn-sm {
  padding: 8px 14px;
  font-size: 12px;
}

.library-hero {
  padding: 80px 0;
  border-bottom: 0.5px solid var(--border);
  background: var(--bg);
}

.library-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.library-hero-content {
  max-width: 560px;
}

.library-hero-headline {
  font-family: var(--sans);
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--ink);
  margin-top: 12px;
}

.library-hero-sub {
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate);
  margin-top: 18px;
}

.library-beta-card {
  padding: 32px;
  background: var(--lime-soft);
  border: 0.5px solid var(--border);
  border-radius: 12px;
}

.library-beta-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--bg);
  border: 0.5px solid var(--border);
  color: var(--lime-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.library-beta-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime-dark);
  font-weight: 500;
  margin-bottom: 8px;
}

.library-beta-title {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
}

.library-beta-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 20px;
}

.library-section {
  padding: 100px 0;
  background: var(--bg);
}

.library-section-output {
  padding-top: 100px;
}

.library-section-coverage {
  padding: 96px 0;
  background: var(--bg-soft);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.library-section-coverage .library-section-header-coverage {
  margin-bottom: 48px;
}

.library-section-community {
  background: var(--bg);
}

.library-section-header {
  margin-bottom: 48px;
  max-width: 640px;
}

.library-section-header .section-sub {
  margin-top: 14px;
}

/* Output — featured */

.output-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 36px;
  margin-bottom: 16px;
  background: var(--lime-soft);
  border: 0.5px solid var(--border);
  border-radius: 12px;
}

.output-featured-main {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.output-icon-box {
  border-radius: var(--r-sm);
  background: var(--bg);
  border: 0.5px solid var(--border);
  color: var(--lime-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.output-icon-box-lg {
  width: 48px;
  height: 48px;
}

.output-icon-box-md {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  background: var(--lime-soft);
  border: none;
}

.output-featured-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--lime-dark);
  margin-bottom: 8px;
}

.output-featured-title {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}

.output-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}

.output-bullets li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate);
  margin-bottom: 8px;
}

.output-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime-dark);
  transform: translateY(-50%);
}

.output-bullets-featured {
  padding-top: 8px;
}

.output-bullets-featured li {
  font-size: 14px;
  margin-bottom: 10px;
}

/* Output — grid cards */

.output-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.output-card {
  position: relative;
  background: var(--bg-soft);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}

.output-card:hover {
  border-color: var(--lime-dark);
}

.output-card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 8px;
  border-radius: var(--r-pill);
  background: #F5F5F4;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  line-height: 1.2;
}

.output-title {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
  padding-right: 72px;
}

.output-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 16px;
}

.output-bullets-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
  margin-bottom: 8px;
}

.output-card .output-bullets {
  margin-top: auto;
}

/* Coverage — 3-column matrix */

.coverage-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: 12px;
}

.coverage-col {
  padding: 24px;
}

.coverage-col + .coverage-col {
  border-left: 0.5px solid var(--border);
}

.coverage-col-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime-dark);
  font-weight: 500;
  margin-bottom: 10px;
}

.coverage-col-title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 6px;
}

.coverage-col-sub {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.4;
}

.coverage-col-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.coverage-col-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 0.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s ease, padding-left 0.2s ease;
  border-left: 2px solid transparent;
  margin-left: -2px;
  padding-left: 2px;
}

.coverage-col-item:last-child {
  border-bottom: none;
}

.coverage-col-item:hover {
  border-left-color: var(--lime);
}

.coverage-col-item:hover .coverage-col-item-icon {
  background: var(--lime);
  color: var(--cta-text);
}

.coverage-col-item-icon {
  grid-row: 1 / 3;
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  background: var(--lime-soft);
  color: var(--lime-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.coverage-col-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.coverage-col-item-sub {
  font-size: 12px;
  color: var(--mute);
  line-height: 1.3;
}

.coverage-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 64px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate);
  text-align: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.coverage-footnote-icon {
  flex-shrink: 0;
  color: var(--lime-dark);
}

/* Community */

.library-community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.library-community-content {
  max-width: 520px;
}

.library-community-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate);
  margin: 16px 0 28px;
}

.community-process-card {
  padding: 32px;
  background: var(--bg-soft);
  border: 0.5px solid var(--border);
  border-radius: 12px;
}

.community-process {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.community-process::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 28px;
  bottom: 28px;
  width: 0.5px;
  background: var(--border);
}

.community-process-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  position: relative;
}

.community-process-step:first-child {
  padding-top: 0;
}

.community-process-step:last-child {
  padding-bottom: 0;
}

.community-process-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--lime-soft);
  border: 0.5px solid var(--border);
  color: var(--lime-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.community-process-num {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
  margin-bottom: 4px;
}

.community-process-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}

/* CTA */

.library-cta-wrap {
  padding: 100px 0;
  background: var(--bg);
}

.cta-band-marketplace-accent {
  text-align: center;
  padding: 80px 48px;
  background: var(--lime-soft);
  border: 0.5px solid var(--border);
  border-radius: 12px;
}

.cta-band-marketplace-title {
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  max-width: 560px;
  margin: 0 auto;
}

.cta-band-marketplace-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 520px;
  margin: 18px auto 28px;
}

.cta-actions-center {
  justify-content: center;
}

/* ===== Pricing page ===== */

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

.pricing-hero-section {
  padding: 88px 0 48px;
  background: var(--bg);
}

.pricing-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.pricing-hero .eyebrow {
  display: block;
  margin-bottom: 20px;
}

.pricing-hero-headline {
  font-family: var(--sans);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}

.pricing-hero-sub {
  margin: 24px auto 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 640px;
}

.pricing-main-section {
  padding: 0 0 88px;
  background: var(--bg);
}

.pricing-beta-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  background: var(--lime-soft);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 48px;
}

.pricing-beta-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--bg);
  border: 0.5px solid var(--border);
  color: var(--lime-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-beta-banner-content .eyebrow {
  display: block;
  margin-bottom: 12px;
}

.pricing-beta-banner-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0 0 20px;
  max-width: 640px;
}

.billing-switch-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.billing-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--bg-soft);
  border: 0.5px solid var(--border);
  border-radius: var(--r-pill);
}

.billing-switch-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  background: transparent;
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.billing-switch-option.is-active {
  background: var(--bg);
  color: var(--ink);
  box-shadow: none;
}

.billing-switch-badge {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lime-dark);
  background: var(--lime-soft);
  border: 0.5px solid rgba(107, 138, 20, 0.25);
  border-radius: var(--r-pill);
  padding: 3px 8px;
  white-space: nowrap;
}

.pricing-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-tier-card {
  position: relative;
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pricing-tier-card:not(.pricing-tier-card-featured):hover {
  border-color: var(--lime-dark);
  transform: translateY(-2px);
}

.pricing-tier-card-featured {
  border: 1.5px solid var(--lime-dark);
}

.pricing-tier-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime-dark);
  background: var(--lime-soft);
  border-radius: var(--r-pill);
  padding: 5px 10px;
}

.pricing-tier-name {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.2;
}

.pricing-tier-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate);
  margin: 0 0 28px;
}

.pricing-tier-price-block {
  margin-bottom: 24px;
}

.pricing-tier-price {
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 6px;
}

.pricing-tier-price-custom {
  font-size: 36px;
  letter-spacing: -0.02em;
}

.pricing-tier-price-sub {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.4;
  margin-bottom: 6px;
}

.pricing-tier-price-meta {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.4;
  margin-bottom: 4px;
}

.pricing-tier-price-note {
  font-size: 12px;
  color: var(--mute);
  line-height: 1.4;
}

.pricing-tier-cta {
  margin-bottom: 28px;
}

.pricing-tier-divider {
  height: 0.5px;
  background: var(--border);
  margin-bottom: 24px;
}

.pricing-tier-features {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.pricing-tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  padding: 7px 0;
}

.pricing-check {
  flex-shrink: 0;
  color: var(--lime-dark);
  margin-top: 2px;
}

.pricing-vat-note {
  text-align: center;
  font-size: 12px;
  color: var(--mute);
  line-height: 1.5;
  margin: 40px 0 0;
}

.pricing-faq-section {
  padding: 88px 0;
  background: var(--bg-soft);
  border-top: 0.5px solid var(--border);
}

.pricing-faq-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.pricing-faq-header .eyebrow {
  display: block;
  margin-bottom: 20px;
}

.pricing-faq-headline {
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}

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

.pricing-faq-item {
  border-bottom: 0.5px solid var(--border);
}

.pricing-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.pricing-faq-icon {
  flex-shrink: 0;
  color: var(--mute);
  transition: transform 0.2s ease;
}

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

.pricing-faq-answer {
  display: none;
  padding: 0 0 22px;
}

.pricing-faq-item.is-open .pricing-faq-answer {
  display: block;
}

.pricing-faq-answer p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0;
  max-width: 680px;
}

.pricing-cta-section {
  padding: 88px 0;
  background: var(--bg);
}

.pricing-cta-band {
  text-align: center;
  background: var(--lime-soft);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 80px 40px;
}

.pricing-cta-headline {
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 auto 16px;
  max-width: 560px;
}

.pricing-cta-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0 auto 28px;
  max-width: 520px;
}

@media (max-width: 1100px) {
  .pricing-tier-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-tier-grid .pricing-tier-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    justify-self: center;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .pricing-beta-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pricing-beta-banner-icon {
    margin: 0 auto;
  }
  .pricing-beta-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .pricing-hero-section { padding: 64px 0 40px; }
  .pricing-main-section { padding-bottom: 64px; }
  .pricing-faq-section,
  .pricing-cta-section { padding: 64px 0; }
  .pricing-tier-grid {
    grid-template-columns: 1fr;
  }
  .pricing-tier-grid .pricing-tier-card:last-child {
    grid-column: auto;
    max-width: none;
  }
  .billing-switch {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
  }
  .billing-switch-option {
    width: 100%;
    justify-content: center;
  }
  .pricing-cta-band { padding: 56px 24px; }
}

/* ===== Auth pages ===== */

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}

.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  background: var(--bone);
}

.auth-form-inner { width: 100%; max-width: 400px; }

.auth-side {
  background: var(--ink);
  color: var(--paper);
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-side-headline {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-top: 60px;
  font-weight: 400;
}

.auth-side-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  margin-top: 22px;
  max-width: 380px;
}

.auth-quote {
  border-top: 0.5px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
  color: rgba(255,255,255,0.92);
  font-weight: 400;
}

.auth-quote-meta {
  margin-top: 16px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.auth-form-inner h1 {
  font-family: var(--serif);
  font-size: 40px;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 12px;
  font-weight: 400;
}

.auth-form-inner .sub {
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 36px;
  line-height: 1.5;
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper);
  border: 0.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(191, 232, 46, 0.25);
}

.field-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--slate);
  margin: -4px 0 24px;
}

.field-row a { color: var(--ink); font-weight: 500; }

.divider-or {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--slate-light);
  font-size: 11px;
  margin: 24px 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.divider-or::before, .divider-or::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--border);
}

.social-btn {
  width: 100%;
  padding: 12px;
  background: var(--paper);
  border: 0.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.15s;
}
.social-btn:hover { border-color: var(--ink); }

.auth-foot {
  margin-top: 30px;
  font-size: 13px;
  color: var(--slate);
  text-align: center;
}
.auth-foot a { color: var(--ink); font-weight: 500; }

/* ===== Dashboard ===== */

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
  background: var(--bone);
}

.sidebar {
  background: var(--paper);
  border-right: 0.5px solid var(--border);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
}

.sidebar .logo { font-size: 22px; margin-bottom: 32px; padding: 0 10px; }

.sidebar-section-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--slate-light);
  padding: 0 12px;
  margin: 16px 0 8px;
  font-weight: 500;
}

.sidebar-item {
  padding: 9px 12px;
  font-size: 13px;
  color: var(--slate);
  border-radius: var(--r-sm);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s;
}

.sidebar-item:hover { background: var(--bone); color: var(--ink); }
.sidebar-item.active { background: var(--ink); color: var(--paper); font-weight: 500; }

.sidebar-item .icon {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sidebar-footer {
  margin-top: auto;
  padding: 16px;
  background: var(--cream);
  border-radius: var(--r-md);
}

.upgrade-tag {
  display: inline-block;
  padding: 3px 8px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-pill);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.sidebar-footer .quota {
  font-size: 12px;
  color: var(--ink);
  margin-bottom: 10px;
}

.quota-bar {
  height: 4px;
  background: rgba(26,23,20,0.15);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 10px;
}

.quota-fill { height: 100%; background: var(--ink); width: 60%; }

.main { padding: 36px 40px; overflow-x: hidden; }

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 18px;
}

.main-header h1 {
  font-family: var(--serif);
  font-size: 40px;
  letter-spacing: -0.025em;
  font-weight: 400;
  line-height: 1;
}

.main-header .sub {
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 500;
}

.main-actions { display: flex; gap: 10px; }

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

.stat {
  background: var(--paper);
  border: 0.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 22px;
  transition: all 0.15s;
}

.stat:hover { border-color: var(--ink); }
.stat.cream { background: var(--cream); border-color: var(--cream); }

.stat-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
  font-weight: 500;
}

.stat-value {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -0.025em;
  line-height: 1;
  font-weight: 400;
}

.stat-trend {
  font-size: 11px;
  color: var(--bronze);
  margin-top: 6px;
}

.projects-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.projects-row .title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.projects-row .filters { display: flex; gap: 4px; font-size: 12px; }

.mini-pill {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  color: var(--slate);
  cursor: pointer;
}

.mini-pill:hover { color: var(--ink); }
.mini-pill.active { background: var(--ink); color: var(--paper); }

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.project-card {
  background: var(--paper);
  border: 0.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}

.project-preview {
  height: 175px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.project-preview.ink { background: var(--ink); color: var(--paper); }
.project-preview.cream { background: var(--cream); color: var(--ink); }
.project-preview.bronze { background: var(--bronze); color: var(--paper); }
.project-preview.terracotta { background: var(--terracotta); color: var(--paper); }
.project-preview.linen { background: var(--linen); color: var(--ink); }
.project-preview.paper { background: var(--paper); color: var(--ink); border-bottom: 0.5px solid var(--border); }

.project-title {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 400;
}

.project-tag {
  font-size: 9px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 10px;
  font-weight: 500;
}

.project-preview.ink .project-tag { color: var(--lime); opacity: 1; }

.project-bottom {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.project-price {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.025em;
}

.project-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

.project-preview.cream .project-dot,
.project-preview.linen .project-dot,
.project-preview.paper .project-dot { background: var(--ink); }

.project-meta {
  padding: 11px 16px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--slate);
}

.project-add {
  background: var(--paper);
  border: 0.5px dashed var(--border-strong);
  border-radius: var(--r-md);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.15s;
  cursor: pointer;
}

.project-add:hover { background: var(--cream); border-color: var(--ink); }

.add-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  color: var(--ink);
}

.add-text { font-size: 13px; color: var(--slate); }

.dashboard-callout {
  margin-top: 70px;
  padding: 36px;
  background: var(--paper);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.dashboard-callout h3 {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.02em;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 8px;
}

.dashboard-callout p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.55;
}

/* ===== Responsive ===== */

@media (max-width: 1100px) {
  .category-cards { grid-template-columns: repeat(2, 1fr); }
  .category-cards .category-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    justify-self: center;
    width: 100%;
  }
  .output-grid { grid-template-columns: repeat(2, 1fr); }
  .output-featured { grid-template-columns: 1fr; gap: 28px; }
  .library-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .library-community-grid { grid-template-columns: 1fr; gap: 40px; }
  .coverage-matrix { grid-template-columns: repeat(2, 1fr); }
  .coverage-col:nth-child(3) {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 0.5px solid var(--border);
  }
  .coverage-col:nth-child(2) { border-left: 0.5px solid var(--border); }
  .steps-four { grid-template-columns: repeat(2, 1fr); }
  .steps-five {
    grid-template-columns: repeat(6, 1fr);
  }
  .steps-five > .step {
    grid-column: span 2;
  }
  .steps-five > .step:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .steps-five > .step:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (max-width: 1000px) {
  .container { padding: 0 20px; }
  .nav-inner {
    grid-template-columns: 1fr auto;
    padding: 14px 20px;
  }
  .nav-links { display: none; }
  .nav-cta { grid-column: 2; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { max-width: none; }
  .hero-preview-wrap { justify-content: flex-start; }
  .hero-preview-card { max-width: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .showcase { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .steps-four { grid-template-columns: 1fr; gap: 36px; }
  .steps-five {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps-five > .step {
    grid-column: auto;
  }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; gap: 28px; margin-bottom: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .output-grid { grid-template-columns: 1fr; }
  .coverage-matrix { grid-template-columns: 1fr; }
  .coverage-col + .coverage-col {
    border-left: none;
    border-top: 0.5px solid var(--border);
  }
  .coverage-col:nth-child(3) { grid-column: auto; }
  .library-section-coverage { padding: 72px 0; }
  .coverage-footnote { margin-top: 48px; }
  .output-featured-main { flex-direction: column; }
  .library-hero { padding: 56px 0; }
  .library-section { padding: 72px 0; }
  .library-cta-wrap { padding: 72px 0; }
  .cta-band-marketplace-accent { padding: 56px 28px; }
  .projects, .pricing-tier-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .auth-page { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 56px 0; }
  .page-index .hero { padding: 64px 0; }
  .page-index .quality-strip { padding: 64px 0; }
  .page-index .section { padding: 64px 0; }
  .page-index .stats-bar { padding: 64px 0; }
  .page-index .editorial-quote { padding: 64px 0; }
  .category-cards { grid-template-columns: 1fr; }
  .category-cards .category-card:last-child {
    grid-column: auto;
    max-width: none;
  }
  .dashboard-callout { grid-template-columns: 1fr; }
}
