/* ---------- Elyce — Brand System ---------- */
:root {
  /* Verde Cadena de Suministro */
  --primary: #1B4332;
  --primary-deep: #0F2A1F;
  --accent: #52B788;
  --accent-soft: #74C69D;
  --bg: #F1F8F5;
  --surface: #D8F3DC;
  --paper: #FBFEFC;
  --ink: #0a1f17;
  --ink-soft: #2c4a3e;
  --muted: #6b8478;
  --rule: rgba(27, 67, 50, 0.12);
  --rule-strong: rgba(27, 67, 50, 0.22);

  /* Type */
  --display: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--primary-deep); }

/* ---------- Layout ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-tight { max-width: 1040px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) {
  .container, .container-tight { padding: 0 20px; }
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-strong { color: var(--primary); }
.serif { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; }
.serif-italic { font-family: var(--display); font-style: italic; font-weight: 400; }
.mono { font-family: var(--mono); }

.h-display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.h-section {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.h-card {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.lede {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 400;
  text-wrap: pretty;
  max-width: 60ch;
}
.body-text { color: var(--ink-soft); line-height: 1.6; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--primary-deep);
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}
.btn-ghost:hover {
  background: var(--paper);
  border-color: var(--primary);
}
.btn-arrow {
  transition: transform 0.25s ease;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Construction badge ---------- */
.beta-bar {
  background: var(--primary-deep);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.beta-bar-content {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap;
}
.beta-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(82,183,136,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(82,183,136,0); }
  100% { box-shadow: 0 0 0 0 rgba(82,183,136,0); }
}
.beta-sep { color: rgba(255,255,255,0.3); }

/* ---------- Header / nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 248, 245, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex; align-items: baseline; gap: 12px;
}
.brand-mark {
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.nav-link {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--primary); }
@media (max-width: 820px) {
  .nav-links li:not(.nav-cta) { display: none; }
  .brand-sub { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-meta {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-meta-item { display: flex; align-items: center; gap: 8px; }
.hero-wordmark {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(120px, 22vw, 320px);
  line-height: 0.85;
  letter-spacing: -0.035em;
  color: var(--primary);
  margin: 8px 0 16px;
}
.hero-tagline {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
  border-top: 1px solid var(--rule-strong);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 18px;
}
.hero-statement {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: end;
}
.hero-statement-text {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 22ch;
}
.hero-statement-text em {
  font-style: italic;
  color: var(--primary);
}
.hero-aside {
  border-left: 1px solid var(--rule-strong);
  padding-left: 28px;
  display: flex; flex-direction: column; gap: 24px;
}
.hero-aside-label { color: var(--muted); }
.hero-aside-text { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.hero-cta {
  margin-top: 60px;
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.hero-stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}
.hero-stat-num {
  font-family: var(--display);
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.hero-stat-num small { font-size: 0.5em; vertical-align: super; opacity: 0.6; }
.hero-stat-label { font-size: 13px; color: var(--ink-soft); }

@media (max-width: 820px) {
  .hero { padding: 60px 0 60px; }
  .hero-statement { grid-template-columns: 1fr; gap: 32px; }
  .hero-aside { border-left: none; border-top: 1px solid var(--rule-strong); padding-left: 0; padding-top: 24px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ---------- Section frame ---------- */
.section {
  padding: 120px 0;
  position: relative;
}
.section-paper { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-dark { background: var(--primary-deep); color: var(--paper); }
.section-dark .body-text { color: rgba(255,255,255,0.7); }
.section-dark .eyebrow { color: var(--accent); }
.section-dark .h-section { color: var(--paper); }

.section-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: end;
}
.section-header .eyebrow { padding-top: 6px; }
@media (max-width: 820px) {
  .section { padding: 80px 0; }
  .section-header { grid-template-columns: 1fr; gap: 18px; margin-bottom: 50px; }
}

/* ---------- Manifesto ---------- */
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.manifesto-quote {
  font-family: var(--display);
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.manifesto-quote em { font-style: italic; color: var(--primary); }
.manifesto-body { color: var(--ink-soft); line-height: 1.65; font-size: 17px; }
.manifesto-body p + p { margin-top: 18px; }
.manifesto-sign {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex; align-items: center; gap: 14px;
}
.sign-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface);
  display: grid; place-items: center;
  color: var(--primary);
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
}
@media (max-width: 820px) { .manifesto-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Preview / mockup ---------- */
.preview-wrap { position: relative; }
.preview-frame {
  background: var(--primary-deep);
  border-radius: 28px;
  padding: 24px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 30px 60px -30px rgba(15,42,31,0.45),
    0 12px 24px -16px rgba(15,42,31,0.35);
  position: relative;
}
.preview-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 0 8px 16px;
}
.chrome-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.chrome-url {
  margin-left: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.preview-screen {
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr 320px;
  min-height: 540px;
  border: 1px solid rgba(255,255,255,0.06);
}

/* App sidebar */
.app-side { background: var(--paper); border-right: 1px solid var(--rule); padding: 22px 18px; display: flex; flex-direction: column; gap: 8px; }
.app-side-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 22px; }
.app-side-brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--primary);
  display: grid; place-items: center;
  color: var(--paper);
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
}
.app-side-brand-name { font-family: var(--display); font-style: italic; font-size: 19px; color: var(--primary); }
.app-side-item {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 10px;
  font-size: 13px;
  color: var(--ink-soft);
  border-radius: 8px;
  cursor: pointer;
}
.app-side-item.active { background: var(--surface); color: var(--primary); font-weight: 500; }
.app-side-item-icon {
  width: 16px; height: 16px;
  color: currentColor;
  opacity: 0.7;
  flex-shrink: 0;
}
.app-side-divider { height: 1px; background: var(--rule); margin: 12px 0; }
.app-side-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; color: var(--muted); padding: 0 10px; text-transform: uppercase; }

/* App main */
.app-main { padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; overflow: hidden; }
.app-main-top { display: flex; justify-content: space-between; align-items: center; }
.app-main-title { font-family: var(--display); font-size: 22px; color: var(--ink); }
.app-main-sub { font-size: 11px; color: var(--muted); font-family: var(--mono); }
.app-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.app-stat {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 14px;
}
.app-stat-label { font-size: 10px; font-family: var(--mono); color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.app-stat-value { font-family: var(--display); font-size: 26px; color: var(--ink); line-height: 1; }
.app-stat-delta { font-size: 11px; color: var(--accent); margin-top: 4px; }
.app-stat-delta.down { color: #c97373; }

/* Mini map 2D */
.app-map {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
  min-height: 0;
}
.app-map-head { display: flex; justify-content: space-between; align-items: center; }
.app-map-title { font-size: 13px; font-weight: 500; color: var(--ink); }
.app-map-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 3px;
  min-height: 160px;
}
.cell {
  background: var(--surface);
  border-radius: 3px;
  position: relative;
}
.cell.full { background: var(--accent); }
.cell.empty { background: var(--bg); border: 1px dashed var(--rule); }
.cell.warn { background: #f4d35e; }
.cell.aisle { background: transparent; }

/* App right rail */
.app-rail { background: var(--paper); border-left: 1px solid var(--rule); padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; }
.app-rail-title { font-size: 13px; font-weight: 500; }
.activity-row {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
}
.activity-row:last-child { border-bottom: none; }
.activity-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 7px; flex-shrink: 0; }
.activity-dot.warn { background: #f4d35e; }
.activity-dot.in { background: var(--primary); }
.activity-text { color: var(--ink); line-height: 1.4; }
.activity-time { color: var(--muted); font-family: var(--mono); font-size: 10px; }

.preview-mobile {
  position: absolute;
  right: -28px;
  bottom: -40px;
  width: 200px;
  height: 410px;
  background: var(--primary-deep);
  border-radius: 32px;
  padding: 8px;
  box-shadow: 0 30px 60px -20px rgba(15,42,31,0.4);
  transform: rotate(4deg);
}
.preview-mobile-screen {
  width: 100%; height: 100%;
  background: var(--bg);
  border-radius: 26px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.mobile-cam-view {
  background: linear-gradient(180deg, #1a3a2a 0%, #0c2419 100%);
  flex: 1;
  position: relative;
  display: grid; place-items: center;
}
.mobile-reticle {
  width: 130px; height: 130px;
  border-radius: 16px;
  position: relative;
}
.mobile-reticle::before, .mobile-reticle::after,
.mobile-reticle span::before, .mobile-reticle span::after {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  border: 2px solid var(--accent);
}
.mobile-reticle::before { top: 0; left: 0; border-right: none; border-bottom: none; border-top-left-radius: 6px; }
.mobile-reticle::after  { top: 0; right: 0; border-left: none; border-bottom: none; border-top-right-radius: 6px; }
.mobile-reticle span::before { bottom: 0; left: 0; border-right: none; border-top: none; border-bottom-left-radius: 6px; }
.mobile-reticle span::after  { bottom: 0; right: 0; border-left: none; border-top: none; border-bottom-right-radius: 6px; }
.mobile-scanline {
  position: absolute;
  left: 10%; right: 10%;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  top: 50%;
  animation: scan 2.4s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { top: 22%; opacity: 1; }
  50% { top: 78%; opacity: 0.6; }
}
.mobile-tag {
  position: absolute; bottom: 24px; left: 16px; right: 16px;
  background: rgba(15,42,31,0.85);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  display: flex; justify-content: space-between;
}
.mobile-tag strong { color: var(--accent); font-weight: 500; }
.mobile-status {
  background: var(--paper);
  padding: 12px 14px;
  display: flex; justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.mobile-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

@media (max-width: 920px) {
  .preview-screen { grid-template-columns: 1fr; min-height: auto; }
  .app-side { display: none; }
  .app-rail {
    border-left: none;
    border-top: 1px solid var(--rule);
    padding: 18px 16px;
  }
  .preview-mobile {
    position: relative;
    right: auto; bottom: auto;
    transform: none;
    margin: 28px auto 0;
    display: block;
  }
}
@media (max-width: 560px) {
  .preview-frame { padding: 14px; border-radius: 20px; }
  .preview-chrome { padding: 0 4px 12px; }
  .chrome-url { font-size: 10px; }
  .preview-screen { border-radius: 12px; }
  .app-main { padding: 16px; gap: 12px; }
  .app-main-title { font-size: 18px; }
  .app-main-sub { font-size: 9px; }
  .app-stats-row { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .app-stat { padding: 10px 8px; }
  .app-stat-value { font-size: 20px; }
  .app-stat-label { font-size: 9px; }
  .app-stat-delta { font-size: 10px; }
  .app-map { padding: 12px; }
  .app-map-grid { min-height: 120px; }
  .app-map-title { font-size: 12px; }
  .preview-mobile { width: 180px; height: 370px; }
  .activity-row { font-size: 11px; padding: 8px 0; }
  .activity-time { font-size: 9px; }
}

/* ---------- Features ---------- */
.feature-list { display: flex; flex-direction: column; }
.feature-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr 0.6fr;
  gap: 40px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  transition: padding 0.3s ease;
}
.feature-row:last-child { border-bottom: 1px solid var(--rule); }
.feature-row:hover { padding-left: 12px; }
.feature-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.08em;
  padding-top: 4px;
}
.feature-title {
  font-family: var(--display);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.feature-desc { color: var(--ink-soft); line-height: 1.55; font-size: 15px; }
.feature-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  justify-self: end;
  white-space: nowrap;
  align-self: start;
  margin-top: 6px;
}
.feature-status.coming { background: rgba(244, 211, 94, 0.18); color: #8a6d11; }
.feature-status.planned { background: transparent; border: 1px solid var(--rule-strong); color: var(--muted); }

@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .feature-row:hover { padding-left: 0; }
  .feature-status { justify-self: start; }
}

/* ---------- Roadmap ---------- */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-left: 1px solid rgba(255,255,255,0.12);
}
.roadmap-col {
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 32px 28px;
  min-height: 380px;
  display: flex; flex-direction: column;
}
.roadmap-q { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 10px; }
.roadmap-stage {
  font-family: var(--display);
  font-style: italic;
  font-size: 24px;
  color: var(--paper);
  margin-bottom: 20px;
}
.roadmap-items { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.roadmap-item {
  display: flex; gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.4;
}
.roadmap-item-mark {
  flex-shrink: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  margin-top: 2px;
  position: relative;
}
.roadmap-item.done .roadmap-item-mark {
  background: var(--accent);
  border-color: var(--accent);
}
.roadmap-item.done .roadmap-item-mark::after {
  content: '';
  position: absolute;
  left: 3px; top: 0;
  width: 4px; height: 7px;
  border: solid var(--primary-deep);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.roadmap-item.doing .roadmap-item-mark {
  border-color: var(--accent);
  background: radial-gradient(circle, var(--accent) 30%, transparent 30%);
}
.roadmap-progress {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  display: flex; justify-content: space-between;
}
@media (max-width: 980px) { .roadmap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .roadmap-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing-frame {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule-strong);
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
}
.tier {
  padding: 40px 32px 36px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column;
  position: relative;
}
.tier:last-child { border-right: none; }
.tier.featured { background: var(--primary-deep); color: var(--paper); }
.tier.featured .tier-name,
.tier.featured .tier-price,
.tier.featured .tier-feature span { color: var(--paper); }
.tier.featured .tier-desc,
.tier.featured .tier-meta { color: rgba(255,255,255,0.65); }
.tier.featured .tier-feature .check { color: var(--accent); }
.tier.featured .tier-cta { background: var(--accent); color: var(--primary-deep); }
.tier.featured .tier-cta:hover { background: var(--paper); }
.tier-badge {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--primary-deep);
  padding: 4px 10px;
  border-radius: 999px;
}
.tier-name {
  font-family: var(--display);
  font-style: italic;
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 4px;
}
.tier-desc { color: var(--ink-soft); font-size: 14px; margin-bottom: 26px; line-height: 1.45; min-height: 42px; }
.tier-price {
  font-family: var(--display);
  font-size: 56px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
  display: flex; align-items: baseline; gap: 6px;
}
.tier-price small {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}
.tier-price-strike {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
}
.tier-price-strike s { opacity: 0.7; }
.tier-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.tier-feature { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); line-height: 1.4; }
.tier-feature .check { color: var(--primary); font-weight: 700; flex-shrink: 0; }
.tier-cta {
  margin-top: auto;
  padding: 13px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 14px;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
}
.tier-cta:hover { background: var(--primary-deep); }
.tier-meta {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 880px) {
  .pricing-frame { grid-template-columns: 1fr; }
  .tier { border-right: none; border-bottom: 1px solid var(--rule); }
  .tier:last-child { border-bottom: none; }
}

/* ---------- Waitlist ---------- */
.waitlist {
  background: var(--primary-deep);
  color: var(--paper);
  border-radius: 24px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.waitlist::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(82,183,136,0.18), transparent 60%);
  pointer-events: none;
}
.waitlist h2 { color: var(--paper); }
.waitlist-text { color: rgba(255,255,255,0.72); margin-top: 18px; line-height: 1.6; max-width: 42ch; }
.waitlist-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  z-index: 1;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.field input, .field select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--paper);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}
.field input:focus, .field select:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.09);
}
.field input::placeholder { color: rgba(255,255,255,0.4); }
.field select { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2374C69D' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field select option { background: var(--primary-deep); color: var(--paper); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.submit-btn {
  width: 100%;
  background: var(--accent);
  color: var(--primary-deep);
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 14px;
  margin-top: 6px;
  transition: all 0.25s;
  display: flex; justify-content: center; align-items: center; gap: 10px;
}
.submit-btn:hover { background: var(--paper); }
.form-foot {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 14px;
  text-align: center;
  line-height: 1.5;
}
.success-state {
  text-align: center;
  padding: 30px 10px;
}
.success-state .check-big {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  margin: 0 auto 18px;
  color: var(--primary-deep);
  font-size: 28px;
  font-weight: 700;
}
.success-state h3 { font-family: var(--display); font-style: italic; font-size: 28px; color: var(--paper); margin-bottom: 8px; }
.success-state p { color: rgba(255,255,255,0.7); font-size: 14px; }
@media (max-width: 820px) {
  .waitlist { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 28px;
  padding: 28px 0;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--primary); }
.faq-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  display: grid; place-items: center;
  color: var(--primary);
  transition: all 0.25s;
}
.faq-item.open .faq-icon { background: var(--primary); color: var(--paper); border-color: var(--primary); transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 0 32px; }
.faq-a-text { color: var(--ink-soft); line-height: 1.65; max-width: 70ch; }

/* ---------- Footer ---------- */
.footer {
  background: var(--primary-deep);
  color: var(--paper);
  padding: 100px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-mark {
  font-family: var(--display);
  font-style: italic;
  font-size: 80px;
  line-height: 1;
  color: var(--paper);
  margin-bottom: 18px;
}
.footer-brand-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.footer-blurb { color: rgba(255,255,255,0.6); margin-top: 26px; max-width: 36ch; font-size: 14px; line-height: 1.6; }
.footer-col-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-wrap: wrap; gap: 14px;
}
.footer-bottom a:hover { color: var(--accent); }
@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; padding-bottom: 60px; }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Mobile polish ---------- */
@media (max-width: 560px) {
  body { font-size: 15px; }
  .container, .container-tight { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 36px; gap: 14px; }

  .beta-bar { padding: 8px 0; font-size: 10px; letter-spacing: 0.1em; }
  .beta-bar-content { gap: 8px; }
  .beta-sep { display: none; }

  .nav-inner { padding: 14px 0; }
  .brand-mark { font-size: 24px; }

  .hero { padding: 48px 0 50px; }
  .hero-meta { margin-bottom: 28px; gap: 10px; }
  .hero-wordmark {
    font-size: clamp(92px, 28vw, 160px);
    line-height: 0.88;
    letter-spacing: -0.04em;
  }
  .hero-tagline {
    flex-direction: column;
    gap: 8px;
    padding-top: 18px;
    font-size: 11px;
    letter-spacing: 0.22em;
  }
  .hero-statement {
    margin-top: 48px;
    gap: 24px;
  }
  .hero-statement-text { font-size: 22px; line-height: 1.25; }
  .hero-aside { padding-top: 20px; gap: 18px; }
  .hero-aside-text { font-size: 14px; }
  .hero-cta { margin-top: 36px; }
  .hero-cta .btn { flex: 1; justify-content: center; font-size: 13px; padding: 12px 16px; }
  .hero-stats {
    margin-top: 52px;
    grid-template-columns: 1fr 1fr;
    gap: 22px 20px;
    padding-top: 24px;
  }
  .hero-stat-num { font-size: 38px; }
  .hero-stat-label { font-size: 12px; }

  .h-display { font-size: 56px; }
  .h-section { font-size: 36px; line-height: 1.05; }
  .lede { font-size: 16px; }

  .manifesto-grid { gap: 28px; }
  .manifesto-quote { font-size: 26px; line-height: 1.2; }
  .manifesto-body { font-size: 15px; }
  .manifesto-body p + p { margin-top: 14px; }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }
  .feature-num { padding-top: 0; font-size: 11px; }
  .feature-title { font-size: 22px; line-height: 1.15; }
  .feature-desc { font-size: 14px; }
  .feature-status { font-size: 10px; padding: 4px 8px; }

  .roadmap-col { padding: 24px 22px; min-height: auto; }
  .roadmap-stage { font-size: 22px; margin-bottom: 16px; }
  .roadmap-item { font-size: 13px; }

  .tier { padding: 32px 24px 28px; }
  .tier-name { font-size: 28px; }
  .tier-desc { font-size: 13px; min-height: 0; margin-bottom: 20px; }
  .tier-price { font-size: 44px; }
  .tier-features { gap: 10px; margin-bottom: 22px; }
  .tier-feature { font-size: 13px; }

  .waitlist { padding: 32px 22px; border-radius: 18px; gap: 24px; }
  .waitlist-form { padding: 22px 18px; }
  .field input, .field select { padding: 11px 12px; font-size: 14px; }

  .faq-q { font-size: 18px; padding: 22px 0; gap: 16px; }
  .faq-icon { width: 28px; height: 28px; }
  .faq-item.open .faq-a { padding: 0 0 24px; }
  .faq-a-text { font-size: 14px; }

  .footer { padding: 64px 0 28px; }
  .footer-top { padding-bottom: 44px; gap: 28px; }
  .footer-brand-mark { font-size: 56px; }
  .footer-bottom { font-size: 10px; gap: 10px; flex-direction: column; align-items: flex-start; padding-top: 24px; }
}

@media (max-width: 380px) {
  .hero-wordmark { font-size: 88px; }
  .h-section { font-size: 32px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}

/* Avoid horizontal scroll caused by anything overflowing */
html, body { overflow-x: hidden; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s cubic-bezier(0.25, 0.8, 0.3, 1), transform 0.85s cubic-bezier(0.25, 0.8, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.06s; }
.reveal[data-delay="2"] { transition-delay: 0.12s; }
.reveal[data-delay="3"] { transition-delay: 0.18s; }
.reveal[data-delay="4"] { transition-delay: 0.24s; }
