/* ===========================================================================
   Vakari.AI — Design System
   Editorial finance aesthetic. Georgia for display, Calibri for body, Consolas
   for mono — universal system fonts, no web-font dependency. Violet-600 brand
   accent on a warm paper base. Substantial type, generous space, a touch of
   editorial restraint.
   =========================================================================== */

:root {
  /* Type — system fonts, no external dependency */
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Calibri, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: Consolas, "Courier New", ui-monospace, monospace;

  /* Color — aligned to brand deck tokens */
  --paper: #FBF8F3;          /* warm off-white base */
  --paper-deep: #F5F2EA;
  --ink: #1F2937;            /* primary text */
  --ink-soft: #374151;       /* secondary text */
  --ink-muted: #6B7280;      /* tertiary text */
  --ink-faint: #9CA3AF;
  --rule: #C9C2B5;           /* warm rule line */
  --rule-soft: #E5E0D5;

  --violet: #6D28D9;
  --violet-deep: #5B21B6;
  --violet-soft: #EDE9FE;
  --violet-wash: #F5F3FF;
  --violet-paper: #F8F5FF;   /* very subtle violet wash */

  --gold: #B8923A;           /* editorial accent for emphasis */
  --terra: #B8593A;          /* alternate accent */

  /* Layout */
  --max: 1280px;
  --gutter: 32px;
  --rhythm: 24px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ============== RESET & BASE ============== */

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

html, body { margin: 0; padding: 0; }

html {
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ============== TYPOGRAPHY ============== */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 500;
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}

h1 {
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(23px, 2.8vw, 30px);
  line-height: 1.22;
  font-weight: 400;
}

h4 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0;
}

p {
  margin: 0 0 1.2em 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
}

p.lead {
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink);
}

p.dek {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0;
}

strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }

.serif { font-family: var(--font-display); }
.mono { font-family: var(--font-mono); font-size: 0.92em; }

/* ============== LAYOUT ============== */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: 100px 0; }
section.tight { padding: 60px 0; }
section.airy { padding: 140px 0; }

.rule {
  border-top: 1px solid var(--rule);
  margin: 0;
}

.rule-violet {
  height: 2px;
  background: var(--violet);
  width: 60px;
  margin: 0;
}

/* ============== NAV ============== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 244, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}

.nav.scrolled { border-bottom-color: var(--rule); }

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

.brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a {
  position: relative;
  transition: color .2s var(--ease);
}

.nav-links a:hover { color: var(--violet); }
.nav-links a.active { color: var(--violet); }

.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: background .2s var(--ease);
}

.nav-cta:hover { background: var(--violet); color: white; }

/* Hamburger toggle — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: -8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-mobile-cta { display: none; }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: background .2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  /* Mobile dropdown menu */
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 8px 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .3s var(--ease), opacity .2s var(--ease);
  }
  .nav-links.open {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 14px var(--gutter);
    font-size: 16px;
    border-bottom: 1px solid var(--rule-soft);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .nav-mobile-cta {
    display: block;
    margin: 10px var(--gutter) 6px;
    padding: 13px 20px;
    background: var(--ink);
    color: var(--paper);
    border-radius: 999px;
    text-align: center;
    border-bottom: none;
    font-weight: 500;
  }
  .nav-links .nav-mobile-cta:hover { background: var(--violet); color: #fff; }
}

/* ============== HERO ============== */

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

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

.hero-eyebrow {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--violet);
}

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

.hero h1 em {
  font-style: italic;
  color: var(--violet);
  font-weight: 400;
}

.hero .dek {
  margin-bottom: 40px;
  max-width: 540px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: all .2s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--violet); }

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

.btn-arrow {
  transition: transform .2s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(3px); }

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

/* ============== PRODUCT MOCKUP ============== */

/* Carousel: holds the 3 slides + the dots */
.mockup-carousel {
  position: relative;
  /* Reserve height to prevent layout collapse during transitions */
  /* Use min-height instead so taller slides can grow */
}

/* In carousel mode, slides stack absolutely; only .active is visible */
.mockup-carousel .mockup-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}

.mockup-carousel .mockup-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mockup-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  position: relative;
  z-index: 5;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rule);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all .3s var(--ease);
  position: relative;
}

.mockup-dot:hover {
  background: var(--ink-faint);
  transform: scale(1.2);
}

.mockup-dot.active {
  background: var(--violet);
  width: 28px;
  border-radius: 4px;
}

.mockup {
  position: relative;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--rule);
  box-shadow: 0 30px 60px -20px rgba(26, 26, 26, 0.12),
              0 18px 36px -18px rgba(109, 40, 217, 0.08);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-1deg) rotateX(0.5deg);
  transition: transform .4s var(--ease);
}

.mockup:hover {
  transform: perspective(1400px) rotateY(-0.5deg) rotateX(0deg) translateY(-4px);
}

.mockup-chrome {
  height: 36px;
  background: #F8F6F1;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}

.mockup-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #DDD8CB;
}

.mockup-chrome span:nth-child(1) { background: #E5B4AC; }
.mockup-chrome span:nth-child(2) { background: #E5D0AC; }
.mockup-chrome span:nth-child(3) { background: #B5D4B8; }

.mockup-body { padding: 22px 28px; }

/* AP Workbench mockup */
.ap-mock {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
}

.ap-mock-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.ap-mock-sub {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.ap-mock-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.ap-tile {
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
}

.ap-tile-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ap-tile-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.ap-tile-meta {
  font-size: 10px;
  color: var(--ink-muted);
  margin-top: 4px;
}

.ap-mock-row {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  margin-bottom: 8px;
  background: white;
  font-size: 12px;
}

.ap-mock-row.alert {
  border-color: var(--violet);
  background: var(--violet-paper);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.06);
}

.ap-row-vendor {
  font-weight: 600;
  color: var(--ink);
  flex: 0 0 130px;
}

.ap-row-detail {
  flex: 1;
  color: var(--ink-soft);
  font-size: 11px;
}

.ap-row-status {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--ink-muted);
}

.ap-row-status.match { background: #DCF5DC; color: #2D6A2D; }
.ap-row-status.exception { background: #FBE4E4; color: #8B2828; }
.ap-row-status.review { background: #FCF1D5; color: #8A6A1F; }

/* Highlight callout in mockup */
.ap-callout {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--violet);
  color: white;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}

.ap-callout-icon {
  flex: 0 0 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
}

.ap-callout strong { color: white; }

/* Floating tag overlay — positioned inside the mockup boundary so labels don't clip */
.mockup-tag {
  position: absolute;
  top: 22px;
  right: 22px;
  background: var(--ink);
  color: var(--paper);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  z-index: 2;
  white-space: nowrap;
}

/* ============== THESIS BAND ============== */

.thesis {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.thesis::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(109, 40, 217, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.thesis-eyebrow {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
}

.thesis-eyebrow::before { background: rgba(255, 255, 255, 0.4) !important; }

.thesis h2 {
  color: var(--paper);
  font-weight: 400;
  max-width: 980px;
  margin-bottom: 48px;
}

.thesis h2 em {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.thesis p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 19px;
  max-width: 720px;
  line-height: 1.65;
}

.thesis .pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.45;
  color: white;
  font-weight: 400;
  border-left: 3px solid var(--violet);
  padding-left: 28px;
  margin-top: 48px;
  max-width: 700px;
}

/* ============== PILLARS ============== */

.pillars {
  padding: 130px 0;
}

.pillars-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}

.pillars-header h2 {
  max-width: 600px;
}

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

.pillar {
  border-top: 1px solid var(--rule);
  padding-top: 32px;
  position: relative;
}

.pillar-number {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--violet);
  margin-bottom: 16px;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.pillar p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  line-height: 1.6;
}

.pillar-image {
  margin-top: auto;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 20px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  .pillars-header { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Pillar product imagery */

.pi-doc {
  font-size: 11px;
}

.pi-doc-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.pi-doc-meta {
  color: var(--ink-muted);
  font-size: 10px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.pi-doc-clause {
  background: white;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid var(--rule);
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.pi-doc-clause.highlight {
  background: var(--violet-soft);
  border-color: var(--violet);
  color: var(--ink);
}

.pi-doc-clause .extract-key {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet);
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

.pi-flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
}

.pi-flow-step {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
}

.pi-flow-step.match {
  border-color: #95C9A4;
  background: #F2FAF4;
}

.pi-flow-step.match::before {
  content: "✓";
  color: #2D6A2D;
  font-weight: 600;
}

.pi-flow-step.exception {
  border-color: #E5B4AC;
  background: #FCF6F4;
}

.pi-flow-step.exception::before {
  content: "!";
  color: #8B2828;
  font-weight: 700;
  font-family: var(--font-display);
  width: 14px;
  text-align: center;
}

.pi-flow-step.action {
  border-color: var(--violet);
  background: var(--violet-soft);
  color: var(--ink);
  font-weight: 500;
}

.pi-flow-step.action::before {
  content: "→";
  color: var(--violet);
  font-weight: 700;
}

.pi-flow-step strong { font-weight: 500; }

.pi-audit {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.pi-audit-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--rule);
}

.pi-audit-line:last-child { border-bottom: none; }

.pi-audit-key { color: var(--violet); }
.pi-audit-string { color: var(--terra); }

/* ============== TYPE-DRIVEN BANDS ============== */

.statement {
  padding: 140px 0;
  text-align: left;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.statement-text {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.025em;
  max-width: 1100px;
  color: var(--ink);
}

.statement-text em {
  color: var(--violet);
  font-style: italic;
}

.statement-byline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 48px;
}

/* ============== AI POSTURE ============== */

.posture {
  padding: 100px 0;
}

.posture-grid {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.posture-grid h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.posture-grid p {
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.55;
}

.posture-grid p:last-child {
  font-style: italic;
  color: var(--ink-muted);
  font-size: 17px;
}

@media (max-width: 800px) {
  .posture-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============== FOUNDERS BAND ============== */

.founders {
  padding: 100px 0;
  background: var(--paper-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.founders-text h3 {
  margin-bottom: 24px;
  max-width: 480px;
}

.founders-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  line-height: 2.2;
}

.founders-meta-label {
  display: inline-block;
  width: 90px;
  color: var(--violet);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.investor-row {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.investor {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 400;
}

.investor-sep {
  color: var(--ink-faint);
  font-size: 14px;
}

@media (max-width: 800px) {
  .founders-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============== FINAL CTA ============== */

.final-cta {
  padding: 140px 0;
  text-align: left;
  background: var(--paper);
  border-top: 1px solid var(--rule);
}

.final-cta-eyebrow { margin-bottom: 24px; }

.final-cta h2 {
  margin-bottom: 32px;
  max-width: 800px;
  font-weight: 400;
}

.final-cta h2 em {
  color: var(--violet);
}

.final-cta-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.final-cta-fine {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

/* ============== FOOTER ============== */

footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 40px;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
  transition: color .2s var(--ease);
}

.footer-col a:hover { color: white; }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* ============== ANIMATION ============== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeUp .8s var(--ease) both;
}

.fade-in-1 { animation-delay: .1s; }
.fade-in-2 { animation-delay: .2s; }
.fade-in-3 { animation-delay: .3s; }
.fade-in-4 { animation-delay: .4s; }

/* ============== UTILITIES ============== */

.violet { color: var(--violet); }
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 32px; }

/* Page-specific (manifesto, product, etc.) extends below */

/* WHY page */
.why-hero {
  padding: 140px 0 60px;
  border-bottom: 1px solid var(--rule);
}

.why-hero h1 {
  max-width: 950px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  font-weight: 400;
  margin-bottom: 32px;
}

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

.why-hero-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  gap: 24px;
}

.essay {
  padding: 80px 0;
}

.essay-body {
  max-width: 720px;
  margin: 0 auto;
}

.essay-body h2 {
  font-size: 32px;
  margin: 56px 0 20px;
  letter-spacing: -0.02em;
}

.essay-body h3 {
  font-size: 22px;
  margin: 40px 0 12px;
  font-family: var(--font-body);
  font-weight: 600;
}

.essay-body p {
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.4em;
}

.essay-body p.first::first-letter {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.9;
  font-weight: 400;
  float: left;
  margin: 4px 12px 0 0;
  color: var(--violet);
}

.essay-body blockquote {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.35;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  border-left: 3px solid var(--violet);
  padding: 8px 0 8px 32px;
  margin: 48px 0;
  letter-spacing: -0.01em;
}

.beliefs {
  background: var(--paper-deep);
  padding: 80px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.beliefs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: belief;
  max-width: 800px;
  margin: 0 auto;
}

.beliefs-list li {
  counter-increment: belief;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
  display: flex;
  gap: 24px;
  align-items: baseline;
}

.beliefs-list li::before {
  content: "0" counter(belief);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--violet);
  flex: 0 0 32px;
  font-weight: 500;
}

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

.beliefs-statement {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--ink);
}

/* PRODUCT page */
.product-hero {
  padding: 120px 0 60px;
  border-bottom: 1px solid var(--rule);
}

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

.product-section:nth-child(even) { background: var(--paper-deep); }

.product-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.product-section.alt .product-section-grid {
  grid-template-columns: 1.2fr 1fr;
  direction: rtl;
}

.product-section.alt .product-section-grid > * {
  direction: ltr;
}

.product-section h2 {
  margin-bottom: 24px;
}

.product-section .product-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 18px;
}

.product-section .feature-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 14px;
}

.product-section .feature-list li {
  font-size: 16px;
  color: var(--ink-soft);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.product-section .feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--violet);
  font-weight: 600;
}

@media (max-width: 900px) {
  .product-section-grid,
  .product-section.alt .product-section-grid {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 48px;
  }
}

/* PERSPECTIVE / Blog */
.essay-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.essay-card:hover .essay-card-title {
  color: var(--violet);
}

.essay-card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.essay-card-meta-line {
  display: block;
  margin-bottom: 8px;
}

.essay-card-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--ink);
  transition: color .2s var(--ease);
}

.essay-card-dek {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 600px;
}

@media (max-width: 800px) {
  .essay-card { grid-template-columns: 1fr; gap: 16px; }
  .essay-card-title { font-size: 26px; }
}

/* CONTACT */
.contact-hero {
  padding: 120px 0 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-top: 80px;
}

.contact-card {
  padding: 40px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: white;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}

.contact-card:hover {
  border-color: var(--violet);
  transform: translateY(-4px);
}

.contact-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--violet);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.contact-card p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.55;
}

.contact-card .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* FOUNDERS minimal page */
.founders-hero {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
}

.founders-bio {
  padding: 60px 0;
  border-bottom: 1px solid var(--rule);
}

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

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

.founders-bio h2 {
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.025em;
  font-family: var(--font-display);
  margin: 0 0 8px 0;
}

.founders-bio-role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
}

.founders-bio p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
}

@media (max-width: 800px) {
  .founders-bio-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   Hero carousel layout-shift fix — appended 2026-05-09
   Stack all slides in one CSS Grid cell so the container sizes
   to the tallest slide and locks. Page no longer jumps when
   slides cycle. (Verified 0px shift before/after.)
   ============================================================ */

.mockup-carousel {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  align-items: start;
}

.mockup-carousel > .mockup-slide,
.mockup-carousel > .mockup-slide.active {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
}

.mockup-carousel > .mockup-dots {
  grid-column: 1;
  grid-row: 2;
}

/* ===========================================================================
   v1.4 — Build additions (2026-05-22)
   New components: logo mark, three-panel hero, thesis complexity graphic,
   three-pillar product layout, reframed AI posture. Georgia type system.
   =========================================================================== */

/* ---- Logo mark (replaces the brand-dot) ------------------------------------ */
.brand-mark {
  width: 26px;
  height: 20px;
  display: inline-block;
  flex: 0 0 auto;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }

/* Footer brand mark */
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-brand-mark {
  width: 24px;
  height: 18.6px;
  flex: 0 0 auto;
}
.footer-brand-mark svg { width: 100%; height: 100%; display: block; }

/* ---- Three-panel hero view (item 5) ---------------------------------------- */
/* Replaces the rotating carousel. Three product surfaces shown as one
   connected triptych — procurement, AP, close — left to right. */
.tripanel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.tripanel-card {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 40px -22px rgba(31, 41, 55, 0.18),
              0 10px 22px -16px rgba(109, 40, 217, 0.10);
}

.tripanel-head {
  padding: 13px 15px 11px;
  border-bottom: 1px solid var(--rule);
  background: #F8F6F1;
}

.tripanel-stage {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 600;
  margin-bottom: 4px;
}

.tripanel-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}

.tripanel-body {
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tp-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.tp-line .tp-ic {
  flex: 0 0 15px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  text-align: center;
  line-height: 1.5;
}
.tp-line.ok   .tp-ic { color: #2D6A2D; }
.tp-line.flag .tp-ic { color: #8B2828; }
.tp-line.act  .tp-ic { color: var(--violet); }

.tp-chip {
  margin-top: auto;
  padding: 9px 11px;
  border-radius: 7px;
  background: var(--violet);
  color: #FFFFFF;
  font-size: 11px;
  line-height: 1.45;
}
.tp-chip strong { color: #FFFFFF; font-weight: 700; }

/* Connecting thread between the three panels — the "one record" idea */
.tripanel-thread {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.tripanel-thread::before,
.tripanel-thread::after {
  content: "";
  height: 1px;
  background: var(--rule);
  flex: 1;
}

@media (max-width: 900px) {
  .tripanel { grid-template-columns: 1fr; }
}

/* ---- Thesis complexity graphic (item 6) ------------------------------------ */
/* A visual of the fragmented stack: scattered tools, tangle of connections,
   the human stuck reconciling in the middle. Sits in the dark thesis band. */
.fragmap {
  margin: 8px 0 44px;
  padding: 30px 28px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
}

.fragmap-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
}

.fragmap-tools {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.fragmap-tool {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 7px;
  background: rgba(255,255,255,0.04);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
}
.fragmap-tool .ft-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  flex: 0 0 auto;
}
.fragmap-tool .ft-role {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* The tangle in the middle */
.fragmap-core {
  text-align: center;
  padding: 0 6px;
}
.fragmap-core-badge {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1.5px dashed rgba(229, 178, 172, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  background: rgba(184, 89, 58, 0.10);
}
.fragmap-core-badge span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: #E5B2AC;
  line-height: 1.25;
}
.fragmap-core-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.fragmap-caption {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

@media (max-width: 720px) {
  .fragmap-grid { grid-template-columns: 1fr; gap: 18px; }
  .fragmap-core-badge { width: 76px; height: 76px; }
}

/* ---- Three-pillar product layout (item 16) --------------------------------- */
/* Procurement / AP / Close as three equal columns — equal coverage. */
.tracks {
  padding: 96px 0;
  border-bottom: 1px solid var(--rule);
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 56px;
}

.track {
  border-top: 2px solid var(--violet);
  padding-top: 26px;
  display: flex;
  flex-direction: column;
}

.track-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 14px;
}

.track h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.track p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 22px;
}

.track .feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 11px;
}

.track .feature-list li {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.track .feature-list li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--violet);
  font-weight: 700;
}

.track-mock {
  margin-top: auto;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-radius: 9px;
  padding: 16px;
}

@media (max-width: 900px) {
  .tracks-grid { grid-template-columns: 1fr; gap: 44px; }
}

/* ---- Reframed AI posture (item 10) ----------------------------------------- */
.posture-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.posture-point {
  border-top: 1px solid var(--rule);
  padding-top: 18px;
}

.posture-point-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 10px;
}

.posture-point h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.posture-point p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 800px) {
  .posture-points { grid-template-columns: 1fr; gap: 18px; }
}

/* ---- Clickable email link -------------------------------------------------- */
a.maillink {
  color: var(--violet);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
a.maillink:hover { border-bottom-color: var(--violet); }

/* ---- Perspective: essays in progress (not yet published) ------------------- */
.essay-card-soon { cursor: default; }
.essay-card-soon .essay-card-title { color: var(--ink); }
.essay-card-soon:hover .essay-card-title { color: var(--ink); }
.essay-card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px 10px;
  margin-top: 12px;
}

/* ===========================================================================
   v1.4 final pass (2026-05-22) — Option B vertical hero stack + fixes
   =========================================================================== */

/* ---- Three-panel hero: vertical flow stack (replaces .tripanel) ------------ */
.triflow {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.triflow-card {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 178px;
  box-shadow: 0 18px 40px -22px rgba(31, 41, 55, 0.18),
              0 10px 22px -16px rgba(109, 40, 217, 0.10);
}

.triflow-side {
  background: #F8F6F1;
  border-right: 1px solid var(--rule);
  padding: 18px 18px;
  flex: 0 0 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.triflow-stage {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 600;
  margin-bottom: 5px;
}
.triflow-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.18;
}

.triflow-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.tf-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.tf-line .tf-ic {
  flex: 0 0 14px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  line-height: 1.5;
}
.tf-line.ok   .tf-ic { color: #2D6A2D; }
.tf-line.flag .tf-ic { color: #8B2828; }
.tf-line.act  .tf-ic { color: var(--violet); }

.tf-chip {
  margin-top: 4px;
  padding: 11px 13px;
  border-radius: 7px;
  background: var(--violet);
  color: #FFFFFF;
  font-size: 12.5px;
  line-height: 1.5;
}
.tf-chip strong { color: #FFFFFF; font-weight: 700; }

@media (max-width: 900px) {
  .triflow-card { flex-direction: column; }
  .triflow-side {
    flex: none;
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 14px 16px;
  }
}

/* ---- Contract lifecycle section: "same contract, three stages" (Option 2) -- */
.lifecycle {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
}
.lifecycle-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  text-align: center;
  margin-bottom: 14px;
}
.lifecycle h2 {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 16px;
}
.lifecycle-lede {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lc-card {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lc-head {
  background: #F8F6F1;
  border-bottom: 1px solid var(--rule);
  padding: 16px 18px;
}
.lc-stage {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 600;
  margin-bottom: 5px;
}
.lc-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
}
.lc-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lc-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.lc-mock {
  margin-top: auto;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 12px;
  background: var(--paper-deep);
}
.lc-clause {
  background: var(--violet-soft);
  border: 1px solid var(--violet);
  border-radius: 6px;
  padding: 11px 12px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink);
}
.lc-ckey {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--violet);
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}
.lc-step {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 10px 11px;
  font-size: 11.5px;
  color: var(--ink-soft);
  background: #FFFFFF;
}
.lc-step.ok   { border-color: #95C9A4; background: #F2FAF4; }
.lc-step.flag { border-color: #E5B4AC; background: #FCF6F4; }
.lc-step.act  { border-color: var(--violet); background: var(--violet-soft); }
.lc-step .lc-ic { font-family: var(--font-mono); font-weight: 700; }
.lc-step.ok   .lc-ic { color: #2D6A2D; }
.lc-step.flag .lc-ic { color: #8B2828; }
.lc-step.act  .lc-ic { color: var(--violet); }
.lifecycle-close {
  text-align: center;
  max-width: 620px;
  margin: 44px auto 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.lifecycle-close strong { color: var(--ink); font-weight: 700; }

@media (max-width: 900px) {
  .lifecycle-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ---- Footer: centered brand + full Vakari.ai wordmark --------------------- */
.footer-brand-row {
  justify-content: flex-start;
  align-items: center;
}
.footer-brand-row .footer-brand-mark {
  width: 26px;
  height: 20.2px;
  position: relative;
  top: 1px;
}
.footer-brand-block {
  text-align: left;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.footer-wordmark .dot { color: var(--violet); }

/* ---- Contact cards: equal height, button pinned to bottom ----------------- */
.contact-card {
  display: flex;
  flex-direction: column;
}
.contact-card .btn {
  margin-top: auto;
}

/* ---- Thesis pull-quote: wider so it sits on one line ---------------------- */
.thesis .pull {
  max-width: 900px;
}

/* ---- Wordmark dot rule: violet on light; footer wordmark all-white -------- */
.brand-dot-v { color: var(--violet); }
.footer-wordmark .dot-gold { color: var(--paper); }

/* ===========================================================================
   v1.4 mobile polish (2026-05-22) — small-screen type + spacing tuning
   =========================================================================== */
@media (max-width: 600px) {
  /* Tighter section rhythm on phones */
  section { padding: 64px 0; }
  .hero { padding: 24px 0; }
  .thesis { padding: 72px 0; }
  .pillars { padding: 72px 0; }
  .statement { padding: 80px 0; }
  .final-cta { padding: 80px 0; }
  .lifecycle { padding: 64px 0; }

  /* Hero headline — rein in for small screens */
  h1 { font-size: clamp(38px, 11vw, 52px); line-height: 1.08; }

  /* Dek paragraph — smaller so it doesn't dominate the fold */
  p.dek { font-size: 19px; line-height: 1.45; }
  .hero .dek { margin-bottom: 32px; }

  /* Section headlines */
  h2 { font-size: clamp(28px, 8vw, 38px); }

  /* Thesis band headline scales down */
  .thesis h2 { font-size: clamp(26px, 7.5vw, 34px); }
  .statement-text { font-size: clamp(28px, 8vw, 38px); }

  /* Hero CTAs stack full-width for easy tapping */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }

  /* Final-CTA buttons stack too */
  .final-cta-buttons { flex-direction: column; align-items: stretch; }
  .final-cta-buttons .btn { justify-content: center; }

  /* Hero cards: let height be natural when stacked vertically */
  .triflow-card { min-height: 0; }

  /* Eyebrow + meta wrap gracefully */
  .why-hero-meta { flex-wrap: wrap; gap: 10px 20px; }

  /* Generous tap targets */
  .btn { padding: 14px 24px; }
  .nav-links a { min-height: 48px; display: flex; align-items: center; }
}

/* ===========================================================================
   v1.6 → essay reader + live essay card (2026-06)
   =========================================================================== */
.essay-card-link { text-decoration: none; display: block; }
.essay-card-link .essay-card { cursor: pointer; }
.essay-card-tag-live {
  color: var(--paper);
  background: var(--violet);
  border-color: var(--violet);
}
.essay-card-link:hover .essay-card-title { color: var(--violet); }

/* ---- Essay reader ---------------------------------------------------------- */
.essay-reader {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.essay-reader-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 20px;
}
.essay-reader h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 20px;
}
.essay-reader-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.essay-reader-dek {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink-soft);
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin: 0 0 48px;
}
.essay-reader p {
  font-size: 18px;
  line-height: 1.72;
  color: var(--ink);
  margin: 0 0 22px;
}
.essay-reader h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--violet);
  margin: 44px 0 16px;
}
.essay-reader-pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-soft);
  border-left: 3px solid var(--violet);
  padding-left: 22px;
  margin: 32px 0;
}
.essay-reader ul {
  margin: 0 0 22px;
  padding-left: 0;
  list-style: none;
}
.essay-reader li {
  font-size: 18px;
  line-height: 1.66;
  color: var(--ink);
  margin: 0 0 14px;
  padding-left: 26px;
  position: relative;
}
.essay-reader li::before {
  content: "\2022";
  color: var(--violet);
  position: absolute;
  left: 6px;
  top: -1px;
  font-size: 18px;
}
.essay-reader strong { font-weight: 700; color: var(--ink); }
.essay-reader em { font-style: italic; }
.essay-reader-back {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
  text-decoration: none;
  margin-bottom: 40px;
}
.essay-reader-back:hover { text-decoration: underline; }
.essay-reader-end {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
@media (max-width: 800px) {
  .essay-reader h1 { font-size: 32px; }
  .essay-reader { padding: 48px 20px 72px; }
}

/* ---- FAQ page -------------------------------------------------------------- */
.faq-list { max-width: 760px; margin: 0 auto; padding: 8px 24px 0; }
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 32px 0;
}
.faq-item:first-child { padding-top: 8px; }
.faq-q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 14px;
}
.faq-a {
  font-size: 18px;
  line-height: 1.66;
  color: var(--ink-soft);
  margin: 0;
}
.faq-a strong { color: var(--ink); font-weight: 600; }
