/* Vera marketing site — design system aligned with Vera Chat (#D97757) */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Instrument+Serif:ital@0;1&display=swap");

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

:root {
  --vera-accent: #d97757;
  --vera-accent-hover: #c4653e;
  --vera-accent-soft: rgba(217, 119, 87, 0.12);
  --vera-accent-glow: rgba(217, 119, 87, 0.35);

  --bg-base: #faf9f6;
  --bg-elevated: #ffffff;
  --bg-muted: #f0efe8;
  --bg-dark: #1a1a18;
  --bg-dark-elevated: #242422;

  --text-primary: #1a1a18;
  --text-secondary: #5c5c58;
  --text-tertiary: #8a8a84;
  --text-inverse: #f5f5f0;

  --border: rgba(26, 26, 24, 0.08);
  --border-strong: rgba(26, 26, 24, 0.14);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(26, 26, 24, 0.04);
  --shadow-md: 0 8px 32px rgba(26, 26, 24, 0.08);
  --shadow-lg: 0 24px 64px rgba(26, 26, 24, 0.12);

  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;

  --header-h: 72px;
  --content-max: 1120px;
  --prose-max: 720px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-base);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Layout ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner,
.section-inner,
.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.brand:hover {
  opacity: 0.92;
}

.brand > span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.site-header .brand-mark {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(217, 119, 87, 0.18), rgba(217, 119, 87, 0.06));
  box-shadow:
    0 1px 2px rgba(217, 119, 87, 0.12),
    0 0 0 1px rgba(217, 119, 87, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.footer-brand .brand-mark {
  width: 28px;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-desktop a {
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--text-primary);
  background: var(--bg-muted);
}

.nav-desktop a[aria-current="page"] {
  color: var(--vera-accent);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg-base);
  padding: 24px;
  border-top: 1px solid var(--border);
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

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

.nav-mobile a {
  padding: 14px 16px;
  font-size: 1.0625rem;
  font-weight: 500;
  border-radius: var(--radius-md);
}

.nav-mobile a:hover { background: var(--bg-muted); }

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--vera-accent);
  color: white;
  box-shadow: 0 2px 12px var(--vera-accent-glow);
}

.btn-primary:hover {
  background: var(--vera-accent-hover);
  box-shadow: 0 4px 20px var(--vera-accent-glow);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover { background: var(--bg-muted); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 11px 16px;
}

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

.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ── Hero ── */

.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, var(--vera-accent-soft), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(217, 119, 87, 0.06), transparent 50%);
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vera-accent);
  background: var(--vera-accent-soft);
  border-radius: 999px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--vera-accent);
}

.hero-lead {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 32rem;
  margin-bottom: 32px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.hero-meta span { display: flex; align-items: center; gap: 6px; }

.hero-visual {
  position: relative;
}

.demo-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.demo-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.demo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.demo-dot.accent { background: var(--vera-accent); }

.demo-card-body { padding: 20px; }

.prompt-bubble {
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.5;
}

.prompt-bubble.user {
  margin-left: 24px;
  background: var(--bg-muted);
  color: var(--text-primary);
}

.prompt-bubble.vera {
  margin-right: 24px;
  background: var(--vera-accent-soft);
  border: 1px solid rgba(217, 119, 87, 0.2);
}

.prompt-bubble .label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vera-accent);
  margin-bottom: 6px;
}

/* ── Sections ── */

.section {
  padding: 88px 0;
}

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

.section-dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.section-dark .section-label { color: var(--vera-accent); }
.section-dark .section-lead { color: rgba(245, 245, 240, 0.72); }
.section-dark .card { background: var(--bg-dark-elevated); border-color: rgba(255,255,255,0.08); }

.section-dark .prose h2 {
  color: var(--text-inverse);
  margin-top: 0;
}

.section-dark .prose p,
.section-dark .prose li {
  color: rgba(245, 245, 240, 0.82);
}

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

.section-dark .prose ol {
  padding-left: 1.5rem;
}

.section-dark .prose li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.section-dark .prose li::marker {
  color: var(--vera-accent);
  font-weight: 600;
}

.section-dark .prose code {
  font-size: 0.875em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 245, 240, 0.95);
}

.section-header {
  max-width: var(--prose-max);
  margin-bottom: 48px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vera-accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Cards & grids ── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vera-accent-soft);
  color: var(--vera-accent);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--vera-accent);
}

.card-link:hover { text-decoration: underline; }

/* ── Pipeline ── */

.pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.pipeline-step {
  padding: 10px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.pipeline-step.highlight {
  background: var(--vera-accent);
  color: white;
}

.pipeline-arrow {
  color: var(--text-tertiary);
  font-size: 1.25rem;
}

/* ── Pipeline flowchart (resources) ── */

.flowchart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.flow-group {
  text-align: center;
  width: 100%;
}

.flow-label,
.flow-path-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vera-accent);
  margin-bottom: 10px;
}

.flow-nodes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.flow-node {
  padding: 10px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.flow-node.highlight {
  background: var(--vera-accent);
  color: white;
  border-color: transparent;
}

.flow-node.router {
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-color: transparent;
}

.flow-arrow-down {
  color: var(--text-tertiary);
  font-size: 1.25rem;
  line-height: 1;
}

.flow-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: 920px;
}

.flow-path {
  padding: 20px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-base);
}

.flow-path-agent {
  border-color: rgba(217, 119, 87, 0.25);
  background: var(--vera-accent-soft);
}

.flow-path-query {
  border-color: var(--border-strong);
}

.flow-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.flow-chain .flow-arrow {
  font-size: 1rem;
}

.flow-output {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-strong);
  width: 100%;
  max-width: 640px;
  text-align: center;
}

.flow-output .flow-nodes {
  margin-bottom: 10px;
}

.flow-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 40rem;
  margin: 16px auto 0;
}

.flow-table {
  width: 100%;
  margin-top: 32px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.flow-table th,
.flow-table td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: left;
}

.flow-table th {
  background: var(--bg-muted);
  font-weight: 600;
}

/* ── Prompt library (resources) ── */

.prompt-library {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.prompt-category {
  padding: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.prompt-category h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.prompt-category-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.55;
}

.prompt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prompt-copy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  font-family: "Consolas", "SF Mono", monospace;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-primary);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.prompt-copy:hover {
  border-color: var(--vera-accent);
  background: var(--vera-accent-soft);
}

.prompt-copy::after {
  content: "Copy";
  flex-shrink: 0;
  margin-left: auto;
  padding: 2px 8px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vera-accent);
  background: white;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .flow-split {
    grid-template-columns: 1fr;
  }
}

/* ── Code / prompts ── */

.code-block {
  background: var(--bg-dark);
  color: #e8e6df;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  font-family: "Consolas", "SF Mono", monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
  overflow-x: auto;
}

.code-block .comment { color: #7a9a7a; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.stat {
  text-align: center;
  padding: 24px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--vera-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ── Verans CTA band ── */

.verans-band {
  padding: 64px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2420 100%);
  border-radius: var(--radius-xl);
  text-align: center;
  color: var(--text-inverse);
}

.verans-band h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.verans-band p {
  color: rgba(245, 245, 240, 0.75);
  max-width: 36rem;
  margin: 0 auto 28px;
}

/* ── Verans landing page ── */

.verans-hero {
  padding-bottom: 56px;
}

.verans-hero-inner {
  position: relative;
  text-align: center;
  max-width: 640px;
}

.verans-hero-inner .hero-eyebrow {
  justify-content: center;
}

.verans-hero-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.verans-hero-inner h1 em {
  font-style: italic;
  color: var(--vera-accent);
}

.verans-hero-inner .hero-lead {
  margin: 0 auto 28px;
}

.verans-hero-note {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.verans-band-combined {
  padding: 48px;
  text-align: left;
}

.verans-band-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

.verans-band-intro h2 {
  text-align: left;
  margin-bottom: 12px;
}

.verans-band-intro p {
  margin: 0 0 24px;
  max-width: none;
}

.verans-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.verans-btn-on-dark {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.verans-btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.16);
}

.verans-band-intro .form-note {
  text-align: left;
  margin-top: 12px;
}

.verans-benefits {
  display: grid;
  gap: 14px;
}

.verans-benefit-card {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.verans-benefit-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  background: rgba(217, 119, 87, 0.18);
  color: #ffc9b5;
  font-size: 1.125rem;
}

.verans-benefit-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-inverse);
}

.verans-benefit-card p {
  margin: 0;
  max-width: none;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(245, 245, 240, 0.72);
}

@media (min-width: 900px) {
  .verans-band-grid {
    grid-template-columns: minmax(260px, 0.95fr) 1.05fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .verans-band-combined {
    padding: 32px 24px;
  }

  .verans-cta-row .btn {
    flex: 1 1 100%;
  }
}

/* ── Forms (Verans waitlist) ── */

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
  justify-content: center;
}

.form-input {
  flex: 1;
  min-width: 200px;
  padding: 13px 18px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: white;
  outline: none;
}

.form-input::placeholder { color: rgba(255,255,255,0.4); }

.form-input:focus {
  border-color: var(--vera-accent);
  box-shadow: 0 0 0 3px var(--vera-accent-soft);
}

.form-note {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: rgba(245, 245, 240, 0.5);
}

/* ── Resource list ── */

.resource-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resource-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.resource-item:hover {
  border-color: var(--vera-accent);
  box-shadow: var(--shadow-sm);
}

.resource-item .tag {
  flex-shrink: 0;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--vera-accent-soft);
  color: var(--vera-accent);
  border-radius: 999px;
}

.resource-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.resource-item p { font-size: 0.875rem; color: var(--text-secondary); }

/* ── Prose pages ── */

.prose {
  max-width: var(--prose-max);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
}

.prose h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.prose p, .prose li {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.prose ul, .prose ol {
  margin: 0 0 1rem 1.25rem;
}

.prose strong { color: var(--text-primary); font-weight: 600; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 1.5rem 0;
}

.prose th, .prose td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}

.prose th { background: var(--bg-muted); font-weight: 600; }

/* ── Footer ── */

.site-footer {
  padding: 64px 0 32px;
  background: var(--bg-dark);
  color: rgba(245, 245, 240, 0.65);
  font-size: 0.875rem;
}

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

.footer-brand p {
  margin-top: 12px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-inverse);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-col a:hover { color: var(--vera-accent); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* ── Name & essence ── */

.essence-section {
  padding: 72px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.essence-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.35;
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 48px;
  color: var(--text-primary);
}

.essence-quote em {
  font-style: italic;
  color: var(--vera-accent);
}

.origin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.origin-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-base);
}

.origin-card.featured {
  border-color: rgba(217, 119, 87, 0.35);
  background: var(--vera-accent-soft);
}

.origin-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vera-accent);
  margin-bottom: 12px;
}

.origin-root {
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.origin-gloss {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.origin-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.essence-bridge {
  margin-top: 40px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-muted);
  text-align: center;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.essence-bridge strong { color: var(--text-primary); }

.brand-tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--vera-accent);
  margin-top: 3px;
}

@media (max-width: 600px) {
  .essence-section { padding: 48px 0; }
}

/* ── Page hero (inner pages) ── */

.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: var(--prose-max);
}

/* ── Toast ── */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 24px;
  background: var(--bg-dark);
  color: white;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  z-index: 200;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 600px) {
  .hero { padding: 48px 0 64px; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .verans-band { padding: 40px 24px; }
}
