/* ============================================
   AELUNE — finalized landing page styles
   ============================================ */

@font-face {
  font-family: 'Garamond Italic';
  src: url('assets/garamond-italic.otf') format('opentype');
  font-display: swap;
}

:root {
  --ink:        #0d0d10;
  --ink-2:      #36363c;
  --ink-3:      #74747c;
  --ink-4:      #a6a6ac;
  --line:       #e8e8eb;
  --line-soft:  #f1f1f3;
  --paper:      #ffffff;
  --paper-soft: #fafaf8;
  --paper-warm: #f6f5f0;
  --blue:       #4478FD;
  --blue-dark:  #2b5cd6;
  --blue-soft:  #e9efff;
  --blue-deep:  #0e1f4a;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
}

body { overflow-x: hidden; }

/* ===== Type utility classes ===== */
.serif {
  font-family: 'Garamond Italic', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.005em;
}
.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-feature-settings: normal;
}
.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 400;
}

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

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  background: transparent;
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 16px 40px;
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Garamond Italic', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  transition: color 0.4s ease;
}
.site-header .brand .mark {
  width: 26px;
  height: 26px;
  background: url('assets/logo-black.png') center / contain no-repeat;
  transition: filter 0.4s ease;
}
.site-header nav {
  display: flex;
  gap: 28px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin-left: auto;
  font-size: 13px;
  color: var(--ink-2);
}
.site-header nav a {
  position: relative;
  padding: 6px 2px;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.4s ease;
}
.site-header nav a:hover { opacity: 1; }
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.site-header nav a:hover::after { transform: scaleX(1); }
.site-header .header-x {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.site-header .header-x:hover { opacity: 1; color: var(--blue); transform: scale(1.08); }
.site-header > .btn { margin-left: 14px; }

/* Hero overlay state — light text on dark blue */
.site-header.on-dark { color: #fff; }
.site-header.on-dark .brand { color: #fff; }
.site-header.on-dark .brand .mark {
  background-image: url('assets/logo-white.png');
}
.site-header.on-dark nav { color: rgba(255,255,255,0.85); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 8px 22px -10px rgba(68,120,253,0.5);
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 14px 28px -12px rgba(68,120,253,0.65);
}
.btn-ghost {
  background: rgba(255,255,255,0.7);
  color: var(--ink);
  border-color: rgba(13,13,16,0.15);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: #fff;
  border-color: var(--ink);
}
.btn-light {
  background: #fff;
  color: var(--blue);
}
.btn-light:hover {
  background: var(--paper-soft);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}
.btn .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.btn:hover .arrow { transform: translateX(3px); }
.btn-sm {
  padding: 8px 14px;
  font-size: 12px;
}

/* ===== Sections ===== */
.section {
  padding: 140px 0;
  position: relative;
}
.section-tight { padding: 96px 0; }

.section-heading {
  text-align: center;
  margin-bottom: 72px;
}
.section-heading .eyebrow { margin-bottom: 18px; display: inline-block; }
.section-heading h2 {
  font-family: 'Garamond Italic', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.section-heading p {
  max-width: 540px;
  margin: 24px auto 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 140px 0 100px;
  background: url('assets/hero-bg.png') center / cover no-repeat;
}
.hero .stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  position: relative;
}
.hero-eyebrow .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.3;
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0%   { transform: scale(0.6); opacity: 0.4; }
  80%, 100% { transform: scale(2.5); opacity: 0; }
}

.hero h1 {
  font-family: 'Garamond Italic', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(110px, 18vw, 240px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin: 0 0 36px;
  color: var(--ink);
}

.hero-sub {
  font-family: 'Garamond Italic', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.25;
  color: var(--ink-2);
  max-width: 720px;
  margin: 0 auto 24px;
}
.hero-tagline {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero-scroll .line {
  width: 32px;
  height: 1px;
  background: var(--ink-3);
  position: relative;
  overflow: hidden;
}
.hero-scroll .line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-100%);
  animation: scroll-line 2.4s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ===== About ===== */
.about {
  background: url('assets/about-bg.png') center top / 100% 100% no-repeat;
  background-color: #eaf1ff;
  padding: 200px 0 180px;
  text-align: center;
}
.about h2 {
  font-family: 'Garamond Italic', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 5.5vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0 0 56px;
  color: var(--ink);
}
.about-copy {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
}
.about-copy p { margin: 0 0 18px; }
.about-copy p:last-child { margin-bottom: 0; }

/* ===== How it works ===== */
.how {
  background: url('assets/howitworks-bg.png') center top / 100% 100% no-repeat;
  background-color: #f4f6fb;
  padding: 200px 0 160px;
}
.how .steps {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.how .steps::before {
  content: "";
  position: absolute;
  left: 46px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(13,13,16,0.18) 8%, rgba(13,13,16,0.18) 92%, transparent 100%);
}
.step {
  display: flex;
  gap: 36px;
  padding: 28px 0;
  align-items: flex-start;
}
.step-node {
  width: 92px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.step-node .dot-outer {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--ink);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-node .dot-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.step-content {
  flex: 1;
  padding-top: 0;
}
.step-content .eyebrow { margin-bottom: 6px; }
.step-content h3 {
  font-family: 'Garamond Italic', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 30px;
  line-height: 1.1;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.step-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 480px;
}

/* ===== Agents ===== */
.agents-section {
  padding: 160px 0;
  background: var(--paper);
}
.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.agent-card {
  padding: 40px 32px 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
}
.agent-card:hover {
  transform: translateY(-4px);
  border-color: rgba(68,120,253,0.3);
  box-shadow: 0 30px 60px -30px rgba(13,13,16,0.15), 0 1px 0 rgba(68,120,253,0.04);
}
.agent-avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--blue-soft);
  border: 1px solid rgba(68,120,253,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.agent-name {
  font-family: 'Garamond Italic', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 38px;
  line-height: 1;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.agent-theme {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
  font-style: italic;
  max-width: 250px;
  margin: 0 auto;
}
.agents-foot {
  margin-top: 40px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ===== Features ===== */
.features-section {
  background: var(--paper-soft);
  padding: 160px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.feature {
  background: #fff;
  padding: 44px 36px;
  position: relative;
  transition: background 0.3s ease;
}
.feature:hover { background: var(--paper-soft); }
.feature-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink-4);
  margin-bottom: 28px;
}
.feature-glyph {
  width: 36px;
  height: 36px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.feature h3 {
  font-family: 'Garamond Italic', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 26px;
  line-height: 1.1;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.feature p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ===== Roadmap ===== */
.roadmap-section {
  background: var(--blue);
  color: #fff;
  padding: 0;
  min-height: 320vh;
  position: relative;
  overflow: visible;
}
.roadmap-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0 80px;
}
.roadmap-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.12), transparent 35%);
  pointer-events: none;
}
.roadmap-section .container { position: relative; z-index: 1; }
.roadmap-section .section-heading h2 { color: #fff; }
.roadmap-section .section-heading .eyebrow { color: rgba(255,255,255,0.6); }
.roadmap-section .section-heading p { color: rgba(255,255,255,0.78); }
.roadmap-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}

.constellation, .phase-node, .phase-label { /* legacy — superseded by .gantt */ }

/* ===== Gantt-style roadmap ===== */
.gantt {
  max-width: 1180px;
  margin: 60px auto 0;
  position: relative;
  font-family: 'Inter', sans-serif;
}
.gantt-head {
  display: grid;
  grid-template-columns: repeat(var(--cols, 12), 1fr);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.gantt-month {
  padding: 10px 0 14px 12px;
  color: rgba(255,255,255,0.55);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
}
.gantt-month::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 1px;
  height: 10px;
  background: rgba(255,255,255,0.35);
}
.gantt-month:first-child::before { display: none; }

.gantt-body {
  position: relative;
  padding: 22px 0 4px;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}
.gantt-body.is-dragging { cursor: grabbing; }
.gantt-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.gantt-grid-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.08);
}
.gantt-grid-line-end { background: rgba(255,255,255,0.18); }

.gantt-now {
  position: absolute;
  top: -28px;
  bottom: 0;
  width: 0;
  z-index: 4;
  pointer-events: none;
  transition: left 120ms cubic-bezier(0.22, 1, 0.36, 1);
}
.gantt-now.is-dragging { transition: none; }
.gantt-now-line {
  position: absolute;
  top: 22px;
  bottom: 0;
  left: 0;
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.0), 0 0 18px rgba(255,255,255,0.35);
}
.gantt-now-tab {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-50%);
  padding: 5px 9px;
  background: #fff;
  color: var(--blue);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  font-weight: 500;
  white-space: nowrap;
  cursor: grab;
  pointer-events: auto;
  transition: transform 140ms ease;
}
.gantt-now.is-dragging .gantt-now-tab {
  cursor: grabbing;
  transform: translateX(-50%) scale(1.06);
}
.gantt-now-handle {
  position: absolute;
  left: 0;
  top: 22px;
  width: 22px;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: auto;
  cursor: grab;
}
.gantt-now.is-dragging .gantt-now-handle { cursor: grabbing; }

.gantt-rows {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gantt-row {
  position: relative;
  height: 78px;
}
.gantt-bar {
  position: absolute;
  top: 0;
  height: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  transition:
    background-color 380ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 380ms cubic-bezier(0.22, 1, 0.36, 1),
    color 380ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1);
}
.gantt-bar.current {
  background: #fff;
  border-color: #fff;
  color: var(--blue);
  box-shadow: 0 8px 40px rgba(255,255,255,0.18);
}
.gantt-bar-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: color 380ms cubic-bezier(0.22, 1, 0.36, 1);
}
.gantt-bar.current .gantt-bar-meta { color: var(--blue); opacity: 0.7; }
.gantt-bar-title {
  font-family: 'Garamond Italic', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.gantt-bar-body {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 380ms cubic-bezier(0.22, 1, 0.36, 1);
}
.gantt-bar.current .gantt-bar-body { color: rgba(13, 13, 16, 0.65); }

/* ===== FAQ ===== */
.faq-section { padding: 160px 0; }
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--ink);
  transition: color 0.2s ease;
}
.faq-trigger:hover { color: var(--blue); }
.faq-trigger .q {
  font-family: 'Garamond Italic', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  flex: 1;
}
.faq-trigger .toggle {
  width: 22px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
}
.faq-trigger .toggle::before,
.faq-trigger .toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: var(--ink-2);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq-trigger .toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .toggle::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 280px; }
.faq-answer-inner {
  padding: 0 4px 28px;
  max-width: 560px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--paper);
  padding: 60px 0 36px;
  border-top: 1px solid var(--line);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.footer-row .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Garamond Italic', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
}
.footer-row .brand .mark {
  width: 24px;
  height: 24px;
  background: url('assets/logo-black.png') center / contain no-repeat;
}
.footer-row .center {
  flex: 1;
  text-align: center;
  font-family: 'Garamond Italic', serif;
  font-style: italic;
  font-size: 26px;
  color: var(--ink-3);
}
.footer-row .socials {
  display: flex;
  gap: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.footer-row .socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s ease;
}
.footer-row .socials a svg { display: block; }
.footer-row .socials a:hover { color: var(--blue); }
.footer-fine {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-4);
  text-align: center;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1),
              filter 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Variants */
.reveal-fade { transform: none; }
.reveal-fade.in { transform: none; }

.reveal-up-sm { transform: translateY(14px); }
.reveal-up-sm.in { transform: translateY(0); }

.reveal-up-lg { transform: translateY(48px); }
.reveal-up-lg.in { transform: translateY(0); }

.reveal-left { transform: translateX(-32px); }
.reveal-left.in { transform: translateX(0); }

.reveal-right { transform: translateX(32px); }
.reveal-right.in { transform: translateX(0); }

.reveal-blur { filter: blur(8px); transform: translateY(18px); }
.reveal-blur.in { filter: blur(0); transform: translateY(0); }

.reveal-scale { transform: scale(0.94); transform-origin: center bottom; }
.reveal-scale.in { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-eyebrow .dot::after, .hero-scroll .line::after {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== Tweet card mock (used in How It Works step 1) ===== */
.tweet-mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.5;
  max-width: 260px;
}
.tweet-mock-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.tweet-mock-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-soft), var(--blue));
}
.tweet-mock-handle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
}
.tweet-mock-body { color: var(--ink-2); }
.tweet-mock-foot {
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-4);
}

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .site-header nav { display: none; }
  .agents-grid, .features-grid { grid-template-columns: 1fr; }
  .features-grid { gap: 1px; }
  .gantt {
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 12px;
  }
  .gantt-head, .gantt-body { min-width: 880px; }
  .gantt-bar-body { font-size: 11px; }
  .footer-row { flex-direction: column; gap: 20px; text-align: center; }
}
