/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background: #0b0b0b;
  color: #e8e8e2;
  font-family: "Figtree", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ========== CSS VARIABLES ========== */
:root {
  --orange: #e78229;
  --orange-dim: #b8621d;
  --orange-glow: rgba(231, 130, 41, 0.18);
  --bg: #0b0b0b;
  --bg2: #111111;
  --bg3: #181818;
  --bg4: #1f1f1f;
  --border: rgba(255, 255, 255, 0.07);
  --border-bright: rgba(231, 130, 41, 0.35);
  --text: #e8e8e2;
  --text-dim: #999990;
  --text-muted: #5a5a52;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--orange-dim);
  border-radius: 2px;
}

/* ========== NOISE TEXTURE OVERLAY ========== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.6;
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4 {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1,
h2 {
  font-size: clamp(1.44rem, 2.8vw, 2.4rem);
}
h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
}
p {
  line-height: 1.75;
}
a {
  color: inherit;
  text-decoration: none;
}
code,
.mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85em;
}

/* ========== LAYOUT ========== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section {
  padding: 7rem 0;
  position: relative;
}
.section + .section {
  border-top: 1px solid var(--border);
}
.mb-3 {
  margin-bottom: 3rem;
}
.section:nth-child(even) {
  background: var(--bg);
}
.section:nth-child(odd) {
  background: var(--bg2);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.22s;
}
.reveal-delay-3 {
  transition-delay: 0.34s;
}
.reveal-delay-4 {
  transition-delay: 0.46s;
}
.reveal-delay-5 {
  transition-delay: 0.58s;
}

/* ========== PILL LABEL ========== */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(231, 130, 41, 0.1);
  border: 1px solid rgba(231, 130, 41, 0.3);
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.label-centered {
  justify-content: center;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 3px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.22s;
  border: none;
}
.btn-full {
  width: 100%;
  justify-content: center;
}
.btn-primary {
  background: var(--orange);
  color: #0b0b0b;
}
.btn-primary:hover {
  background: #f0922e;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(231, 130, 41, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-bright);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--orange);
  border: none;
  padding-left: 0;
}
.btn-ghost:hover {
  color: #f0922e;
  text-decoration: underline;
}
.btn-ghost-sm {
  font-size: 0.85rem;
}
.btn-primary-lg {
  font-size: 1.05rem;
  padding: 1rem 2.5rem;
}
.btn-primary-sm {
  font-size: 0.85rem;
  padding: 0.6rem 1.4rem;
}
.btn-mt {
  margin-top: 1rem;
}
.btn-ml {
  margin-left: 1rem;
}

/* ========== NAVIGATION ========== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 11, 11, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.nav-logo svg {
  width: 28px;
  height: 28px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}
.nav-links a {
  padding: 0.2rem 0.4rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  border-radius: 3px;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-cta {
  margin-left: 0.5rem;
  padding: 0.5rem 1.2rem !important;
  font-size: 0.85rem !important;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========== PRESS MENTIONS ========== */
.press-card {
  background: linear-gradient(
    90deg,
    rgba(231, 130, 41, 0.2) 0%,
    var(--bg3) 100%
  );
  border-radius: 6px;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0 0.5rem 0; /* Reduced margin below (0.5rem instead of 2.5rem) to compensate the 40px of shadow */
  box-shadow: 0 12px 40px rgba(231, 130, 41, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.press-title {
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: bold;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.press-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.press-icon {
  font-size: 1.2rem;
}
.press-url {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--orange);
  text-decoration: none;
  word-break: break-all;
}
.press-url:hover {
  text-decoration: underline;
  color: #fff;
}
.press-excerpt {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

/* ========== ANIMATED WORKFLOW IMAGE ========== */
.img-workflow-native {
  display: block;
  width: 1280px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
}

/* ========== HERO ========== */
#hero {
  padding-top: 140px;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(231, 130, 41, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 130, 41, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}
.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(
    ellipse,
    rgba(231, 130, 41, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
}
.hero-headline {
  max-width: 820px;
}
.hero-headline .accent {
  color: var(--orange);
}
.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.15rem;
  color: var(--text-dim);
  font-weight: 400;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}
.hero-stat {
  flex: 1 1 0;
  min-width: 0;
}
.hero-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-stat strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--orange);
}
.hero-stat span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-workflow {
  margin-top: 4rem;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg2);
  position: relative;
}
.workflow-caption {
  text-align: center;
  font-size: 0.78rem;
  font-family: "JetBrains Mono", monospace;
  color: var(--text-muted);
  margin-top: 0.8rem;
  letter-spacing: 0.06em;
}

/* ========== PROBLEM TABLE ========== */
.problem-table {
  display: flex;
  flex-direction: column;
  margin-top: 3.5rem;
  border-bottom: 3px solid var(--border);
}
.problem-row {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 2.5rem;
  padding: 1.3rem 0;
  align-items: center;
}
.problem-row:not(:last-child) {
  border-bottom: 3px solid var(--border);
}
.problem-header {
  padding-top: 0;
  padding-bottom: 1.2rem;
  align-items: end;
}
.problem-cell h3 {
  font-size: 1.1rem;
}
.problem-cell .problem-item:last-child {
  margin-bottom: 0;
}

.problem-arrow-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}
.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}
.problem-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}
.icon-bad {
  background: rgba(220, 60, 60, 0.15);
  color: #dc3c3c;
  border: 1px solid rgba(220, 60, 60, 0.3);
}
.icon-good {
  background: rgba(231, 130, 41, 0.15);
  color: var(--orange);
  border: 1px solid rgba(231, 130, 41, 0.3);
}
.problem-item p {
  font-size: 0.92rem;
  color: var(--text-dim);
}
.problem-quote {
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--orange);
  background: var(--bg2);
  border-radius: 0 4px 4px 0;
}
.problem-quote p {
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}
.problem-quote .q-author {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--orange);
  margin-top: 0.75rem;
}
/* Wrapper for the compare table block */
.compare-block {
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
}
.compare-block-title {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.compare-overflow {
  overflow-x: auto;
}
/* True story */
.problem-story-block {
  margin-top: 3.5rem;
}
.problem-story-block h3 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.problem-story {
  background: var(--bg3);
  padding: 2rem;
  border-radius: 4px;
  border: 1px dashed var(--border-bright);
}
.problem-story p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.problem-story p:last-child {
  margin-bottom: 0;
}

/* ========== ECONOMICS ========== */
.economics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.eco-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition:
    border-color 0.3s,
    transform 0.3s;
  display: flex;
  flex-direction: column;
}
.eco-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
}
.eco-img {
  width: 100%;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.eco-img img {
  width: 100%;
  height: auto;
  display: block;
}
/* Fallback styling for when images (docs/*.webp) are missing */
.eco-img::after {
  content: "Image Placeholder";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  z-index: -1;
}
.eco-content {
  padding: 2rem 1.75rem;
  flex-grow: 1;
}
.eco-content h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.eco-content p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ========== WORKFLOW ========== */
.section-intro-dim {
  color: var(--text-dim);
}
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 3.5rem;
  padding-bottom: 1em;
  position: relative;
}
.workflow-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--orange-dim),
    transparent
  );
  z-index: 0;
}
.wf-step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}
.wf-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border-bright);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.05em;
  transition: all 0.3s;
}
.wf-step:hover .wf-number {
  background: var(--orange-glow);
  border-color: var(--orange);
  box-shadow: 0 0 18px var(--orange-glow);
}
.wf-step h4 {
  font-family: "Syne", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wf-step p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.workflow-visual {
  margin-top: 4rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

/* ========== FRICTIONLESS UX ========== */
.frictionless-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: center;
}
.frictionless-text p {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.frictionless-text p:last-child {
  margin-bottom: 0;
}
.frictionless-text strong {
  color: var(--text);
}
.frictionless-img {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg2);
  position: relative;
}
.frictionless-img img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
}
.frictionless-img::after {
  content: "Image Placeholder";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  z-index: 0;
}

/* ========== FEATURES ========== */
.features-intro {
  margin-top: 1.5rem;
  color: var(--text-dim);
}
/* Inline pull-quote block inside features */
.features-pullquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--orange);
  background: var(--bg2);
}
.features-pullquote p {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  color: var(--text);
  line-height: 1.5;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  margin-top: 3.5rem;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.feat-card {
  background: var(--bg);
  padding: 2rem 1.75rem;
  transition: background 0.25s;
  display: flex;
  flex-direction: column;
}
.feat-card:hover {
  background: var(--bg3);
}
.feat-icon {
  width: 40px;
  height: 40px;
  background: var(--orange-glow);
  border: 1px solid rgba(231, 130, 41, 0.25);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}
.feat-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.feat-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.feat-card .feat-tag {
  display: inline-block;
  margin-top: auto;
  padding-top: 1rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: var(--orange);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ========== WHO IT'S FOR ========== */
.personas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
}
.persona-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.persona-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.persona-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
}
.persona-card:hover::before {
  transform: scaleX(1);
}
.persona-role {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.persona-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
}
/* Bubble */
.persona-bubble {
  margin: 0.75rem 0 3rem 0;
  position: relative;
  background: rgba(220, 60, 60, 0.1);
  border: 1px solid rgba(220, 60, 60, 0.25);
  border-radius: 12px;
  padding: 1rem;
  font-size: 1rem;
  color: #c08080;
  font-style: italic;
}
.bubble-arrow {
  display: block;
  position: absolute;
  bottom: -20px;
  left: 20px;
  width: 32px;
  height: 20px;
}

/* ========== VIDEOS ========== */
.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.video-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.video-card:hover {
  border-color: var(--border-bright);
}
.video-card iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border: none;
}
.video-card-meta {
  padding: 1.2rem 1.5rem;
  background: var(--bg2);
}
.video-card-meta .v-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.video-card-meta h4 {
  font-family: "Syne", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}
.video-card-meta p {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
}
.video-card-large {
  grid-column: 1 / -1;
}

/* ========== SETUP ========== */
.setup-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}
.setup-text p {
  color: var(--text-dim);
  margin-bottom: 2rem;
}
.setup-steps {
  counter-reset: steps;
}
.setup-step {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange-glow);
  border: 1px solid rgba(231, 130, 41, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--orange);
}
.setup-step h4 {
  font-family: "Syne", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.setup-step p {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.setup-img {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.setup-img img {
  width: 100%;
  display: block;
}
.setup-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-family: "JetBrains Mono", monospace;
  color: var(--text-muted);
}

/* ========== SOVEREIGNTY ========== */
.item-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
/* Second item-grid row in execution model (1.5px gap instead of 3rem) */
.item-grid-gap {
  margin-top: 1.5px;
}
.item-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.75rem;
  background: var(--bg);
  transition: border-color 0.3s;
}
.item-card:hover {
  border-color: var(--border-bright);
}
.item-card .item-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.item-card h4 {
  font-family: "Syne", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.item-card p {
  font-size: 0.83rem;
  color: var(--text-dim);
}

/* ========== PROOF / CREDENTIALS ========== */
.proof-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}
.proof-creds h3 {
  margin-bottom: 1.5rem;
}
.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--border);
}
/* Let the text column shrink correctly inside the flex row on narrow screens. */
.cred-item > :last-child {
  min-width: 0;
  flex: 1 1 auto;
}
.cred-item:last-child {
  border-bottom: none;
}
.cred-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.cred-item h4 {
  font-family: "Syne", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.cred-item p {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.proof-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.proof-num {
  background: var(--bg2);
  padding: 2rem 1.5rem;
  text-align: center;
}
.proof-num strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.proof-num span {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.proof-manifesto {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border-bright);
  border-radius: 6px;
  background: var(--bg2);
}
.proof-manifesto p {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}
/* Engineering philosophy block (proof right column) */
.proof-philosophy {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.proof-philosophy .label {
  margin-bottom: 1rem;
}
.proof-philosophy-body-quote {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.proof-philosophy-body {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.proof-philosophy-author {
  font-size: 0.78rem;
  font-family: "JetBrains Mono", monospace;
  color: var(--orange);
}

/* ========== PRICING ========== */
.pricing-price {
  margin: auto 0 1.5rem 0;
  padding: 1rem;
  background: var(--bg2);
  border-radius: 4px;
  border: 1px solid var(--border);
}
.pricing-price strong {
  font-family: "Syne", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--orange);
  display: block;
}
.pricing-price span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.25rem;
}

/* ========== FINAL CTA ========== */
#download {
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 500px;
  background: radial-gradient(
    ellipse,
    rgba(231, 130, 41, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}
/* Container inside #download needs relative positioning + z-index */
.download-container {
  position: relative;
  z-index: 2;
}
#download h2 {
  max-width: 700px;
  margin: 0 auto 1.5rem;
}
#download p {
  max-width: 520px;
  margin: 0 auto 2.5rem;
  color: var(--text-dim);
  font-size: 1.05rem;
}
.download-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  font-family: "JetBrains Mono", monospace;
  color: var(--text-muted);
}

/* ========== FOOTER ========== */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  max-width: 280px;
}
/* Footer logo: same layout as .nav-logo but 24px svg + 1.1rem text */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.footer-logo svg {
  width: 24px;
  height: 24px;
}
.footer-copyright {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-family: "JetBrains Mono", monospace;
  color: var(--text-muted);
}
.footer-col h5 {
  font-family: "Syne", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 0.6rem;
}
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--orange);
}
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-legal {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 700px;
}
.footer-legal strong {
  color: var(--text-dim);
}
.footer-legal-link {
  color: var(--text-dim);
}

/* ========== INLINE SVG LOGO SIZING ========== */
.logo-svg {
  width: 28px;
  height: 28px;
}

/* ========== SEPARATOR ========== */
.divider {
  width: 48px;
  height: 2px;
  background: var(--orange);
  margin: 1.5rem 0;
}

/* ========== COMPARISON TABLE ========== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
  font-size: 0.88rem;
}
.compare-table th {
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
}
.compare-table th:first-child {
  color: var(--text-muted);
}
.compare-table th.th-bad {
  color: #c08080;
}
.compare-table th.th-good {
  color: var(--orange);
}
.compare-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  vertical-align: top;
}
.compare-table td:first-child {
  color: var(--text);
  font-weight: 500;
}
.compare-table tr:last-child td {
  border-bottom: none;
}
.compare-table .bad {
  color: #c08080;
}
.compare-table .good {
  color: var(--orange);
}
.compare-table tr:hover td {
  background: var(--bg3);
}

/* ========== MOBILE ========== */
@media (max-width: 900px) {
  /* The hero stats become a 2×2 grid before translated labels start colliding. */
  .hero-stat-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
  }
  .problem-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .problem-arrow-cell {
    transform: rotate(90deg);
    padding: 1rem 0;
  }
  .setup-inner,
  .proof-grid,
  .economics-grid,
  .frictionless-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .workflow-steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .workflow-steps::before {
    display: none;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .personas-grid {
    grid-template-columns: 1fr;
  }
  .videos-grid {
    grid-template-columns: 1fr;
  }
  .item-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  /* Tighten dense proof and hero blocks on the smallest phone widths. */
  .hero-stat-row {
    gap: 1.25rem 0.85rem;
  }
  .hero-stat strong {
    font-size: 1.4rem;
  }
  .hero-stat span {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .item-grid {
    grid-template-columns: 1fr;
  }
  .workflow-steps {
    grid-template-columns: 1fr;
  }
  .cred-item {
    gap: 0.85rem;
  }
  .proof-numbers {
    grid-template-columns: 1fr;
  }
  .proof-num {
    padding: 1.6rem 1.25rem;
  }
  .proof-manifesto,
  .proof-philosophy {
    padding: 1.5rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ========== TAGLINE TYPING EFFECT ========== */
.hero-tagline-line1 {
  display: block;
  color: var(--text);
}
.hero-tagline-line2 {
  display: block;
  margin-top: 0.6rem;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(1rem, 2vw, 1.65rem);
  font-weight: 500;
  color: var(--orange);
  letter-spacing: -0.01em;
  min-height: 2rem;
}
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--orange);
  margin-left: 3px;
  vertical-align: text-bottom;
  animation: cur-blink 0.7s step-end infinite;
}
.typing-cursor.done {
  animation: none;
  opacity: 0;
  transition: opacity 0.5s 0.4s;
}
@keyframes cur-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* ========== HIGHLIGHT ACCENT IN HEADINGS ========== */
.accent-orange {
  color: var(--orange);
}

/* ========== LANG SWITCHER ========== */
.lang-switcher select {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 4px 8px;
  font-size: 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-switcher select:hover {
  border-color: var(--orange);
  color: var(--text);
}

.lang-switcher select option {
  background: var(--bg2);
  color: var(--text);
}
