:root {
  --ink: #0c0e14;
  --ink-soft: #424a57;
  --paper: #f9f7f1;
  --paper-2: #efebe1;
  --line: rgba(16, 19, 26, 0.12);
  --dark: #090c11;
  --dark-2: #111722;
  --dark-3: #171f2c;
  --dark-line: rgba(226, 232, 240, 0.16);
  --dark-text: #f3f6f8;
  --dark-muted: #aab5c4;
  --primary: #ff6b35;
  --primary-hover: #e95b27;
  --accent: #35c2ff;
  --approval: #f2b84b;
  --shipped: #55d082;
  --progress: #49a9ff;
  --focus: #79d7ff;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 20px 50px rgba(16, 19, 26, 0.05);
  --shadow-md: 0 24px 70px rgba(0, 0, 0, 0.34);
  --shadow-hover: 0 28px 60px rgba(16, 19, 26, 0.08);
  --space-xs: 0.5rem;
  --space-sm: 0.8rem;
  --space-md: 1.25rem;
  --space-lg: clamp(5.5rem, 8vw, 9rem);
  --space-xl: clamp(6.5rem, 10vw, 11rem);
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  line-height: 1.65;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 12, 17, 0.94);
  border-bottom: 1px solid var(--dark-line);
  color: var(--dark-text);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 2rem));
  min-height: 4.25rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.25), rgba(53, 194, 255, 0.16));
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.91rem;
  color: var(--dark-muted);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--dark-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--dark-text);
  cursor: pointer;
}

.menu-toggle svg {
  margin: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25em;
  white-space: nowrap;
  min-height: 2.85rem;
  padding: 0.82rem 1.08rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 760;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: #160b07;
}

.button-primary:hover {
  background: var(--primary-hover);
}

.button-secondary {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

.button-ghost {
  color: inherit;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.section {
  padding: var(--space-lg) 0;
}

.section-tight {
  padding: clamp(3rem, 5vw, 5rem) 0;
}

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

.light-section {
  background: var(--paper);
  color: var(--ink);
}

.paper-section {
  background: var(--paper-2);
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(780px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 4.25rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--dark-line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 82%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  column-gap: clamp(48px, 6vw, 96px);
  row-gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.editorial-frame {
  position: relative;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.editorial-frame::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at top left, rgba(255, 107, 53, 0.05), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-status-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
}

.status-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--dark-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.eyebrow,
.panel-label,
.chip,
.status,
.timeline-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 760;
}

.eyebrow {
  color: var(--primary);
  margin: 0 0 1rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.01em;
  max-width: 18ch;
  text-wrap: balance;
  margin-bottom: 1.1rem;
}

.text-strike {
  text-decoration: line-through;
  color: var(--dark-muted);
  opacity: 0.8;
}

.highlight-orange {
  position: relative;
  color: var(--dark-text);
  white-space: nowrap;
}

.highlight-orange::after {
  content: "";
  position: absolute;
  left: -2%;
  bottom: 8%;
  width: 104%;
  height: 0.2em;
  background: var(--primary);
  opacity: 0.5;
  z-index: -1;
  border-radius: 2px;
}

.page-hero h1 {
  max-width: 13ch;
}

.contact-hero h1 {
  max-width: none;
  font-size: clamp(2.55rem, 6vw, 4rem);
}

h2,
.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: 0;
  max-width: 13ch;
  text-wrap: balance;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.lead {
  font-size: clamp(1.08rem, 1.2vw, 1.25rem);
  line-height: 1.55;
  max-width: 48rem;
  color: inherit;
}

.dark-section .lead,
.dark-section .muted {
  color: var(--dark-muted);
}

.muted {
  color: var(--ink-soft);
}

.hero-copy .lead {
  max-width: 50ch;
  margin-bottom: 1rem;
}

.workflow-rail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--dark-muted);
  margin-bottom: 1.8rem;
}

.workflow-rail .arr {
  color: var(--primary);
  opacity: 0.7;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.proof-note {
  margin: 1.2rem 0 0;
  color: var(--dark-muted);
  font-size: 0.92rem;
}

.command-panel {
  background: linear-gradient(180deg, rgba(23, 31, 44, 0.98), rgba(13, 18, 27, 0.98));
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.panel-topbar {
  min-height: 3.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--dark-line);
  background: rgba(255, 255, 255, 0.035);
}

.window-dots {
  display: flex;
  gap: 0.4rem;
}

.window-dots span {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.panel-label {
  color: var(--dark-muted);
}

.panel-body {
  padding: clamp(1rem, 2.4vw, 1.4rem);
}

.goal-card {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
  margin-bottom: 1rem;
}

.goal-card span {
  display: block;
  color: var(--dark-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}

.goal-card strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.35;
}

.task-list,
.feed-list,
.control-list {
  display: grid;
  gap: 0.72rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.task-item,
.feed-item,
.control-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

.task-index {
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  color: var(--dark-muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.task-text strong,
.feed-copy strong,
.control-copy strong {
  display: block;
  line-height: 1.25;
}

.task-text span,
.feed-copy span,
.control-copy span {
  display: block;
  margin-top: 0.2rem;
  color: var(--dark-muted);
  font-size: 0.88rem;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.24rem 0.48rem;
  border-radius: var(--radius-sm);
  border: 1px solid currentColor;
  white-space: nowrap;
}

.status-progress {
  color: var(--progress);
  background: rgba(73, 169, 255, 0.1);
}

.status-approval {
  color: var(--approval);
  background: rgba(242, 184, 75, 0.11);
}

.status-shipped {
  color: var(--shipped);
  background: rgba(85, 208, 130, 0.1);
}

.status-draft {
  color: #d8e0ea;
  background: rgba(216, 224, 234, 0.08);
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: clamp(2rem, 4vw, 3.6rem);
}

.section-heading h2 {
  max-width: 16ch;
}

.section-heading .lead {
  max-width: 55ch;
  margin-top: 0.5rem;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.flow-step,
.role-card,
.compare-card,
.stage-card,
.info-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: var(--shadow-sm);
}

.flow-step {
  min-height: 14rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flow-step .step-number {
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: 800;
}

.flow-step h3,
.role-card h3,
.compare-card h3,
.stage-card h3,
.info-card h3,
.faq-card h3 {
  margin-bottom: 0.75rem;
}

.flow-step p,
.role-card p,
.compare-card p,
.stage-card p,
.info-card p,
.faq-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.feed-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  column-gap: clamp(48px, 6vw, 96px);
  row-gap: 2rem;
  align-items: start;
}

.feed-shell .lead {
  max-width: 50ch;
}

.feed-list .feed-item {
  grid-template-columns: auto 1fr auto;
}

.feed-time {
  color: var(--dark-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.product-role-section {
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.product-role-section .section-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: clamp(24px, 5vw, 80px);
}

.product-role-section .section-heading {
  max-width: 820px;
  margin-bottom: 52px;
}

.product-role-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 36px);
}

.product-role-card {
  width: 100%;
  min-width: 0;
}

@media (max-width: 760px) {
  .product-role-grid {
    grid-template-columns: 1fr;
  }
}

.role-card,
.compare-card,
.stage-card,
.info-card,
.faq-card {
  padding: 1.15rem;
}

.flow-step,
.role-card,
.compare-card,
.stage-card,
.info-card,
.faq-card {
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1), border-color 300ms ease;
  will-change: transform, box-shadow;
}

.flow-step:hover,
.role-card:hover,
.compare-card:hover,
.stage-card:hover,
.info-card:hover,
.faq-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(16, 19, 26, 0.22);
}

.role-card .meta {
  display: block;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.role-card .example {
  margin: 1rem 0;
  padding: 0.75rem;
  border-left: 3px solid var(--accent);
  background: rgba(53, 194, 255, 0.08);
  color: var(--ink);
  font-size: 0.94rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.7rem;
  padding: 0.24rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.5);
}

.with-icon {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.card-icon {
  width: 22px;
  height: 22px;
  color: var(--ink-soft);
  flex-shrink: 0;
  margin-top: 0.1em;
  transition: color 160ms ease;
}

.role-card:hover .card-icon,
.stage-card:hover .card-icon,
.info-card:hover .card-icon {
  color: var(--accent);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.mode-card {
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  will-change: transform, box-shadow;
  display: flex;
  flex-direction: column;
}

.mode-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.mode-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.mode-desc {
  color: var(--dark-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.mode-card h3 {
  color: var(--dark-text);
  margin-bottom: 0.5rem;
}

.mode-card .compare-list {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.mode-card .compare-list li {
  color: var(--dark-muted);
  border-left-color: rgba(255, 255, 255, 0.15);
}

.mode-card:hover .compare-list li {
  border-left-color: var(--primary);
  color: var(--dark-text);
}

.agent-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  margin-top: auto;
}

.agent-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--dark-muted);
  transition: border-color 200ms ease, color 200ms ease;
}

.mode-card .button {
  transition: transform 200ms ease;
}

.mode-card:hover .button {
  transform: translateY(-2px);
}

.mode-card:hover .agent-chip {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--dark-text);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.case-card {
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  will-change: transform, box-shadow;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}

.case-header h3 {
  margin: 0;
  color: var(--dark-text);
  font-size: 1.35rem;
}

.status-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.case-url {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--dark-muted);
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
  transition: color 200ms ease;
}

.case-url:hover {
  color: var(--primary);
}

.case-desc {
  color: var(--dark-text);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

.challenge-box {
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--dark-muted);
  padding: 0.8rem 1rem;
  color: var(--dark-muted);
  font-size: 0.9rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.5rem;
}

.case-card .compare-list {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.case-card .compare-list li {
  color: var(--dark-muted);
  border-left-color: rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
}

.case-card:hover .compare-list li {
  border-left-color: var(--primary);
  color: var(--dark-text);
}

.safe-outcome {
  color: var(--dark-muted);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  margin-top: auto;
}

.case-card .button {
  transition: transform 200ms ease;
}

.case-card:hover .button {
  transform: translateY(-2px);
}

.case-card:hover .agent-chip {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--dark-text);
}

.compare-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.compare-list li {
  padding-left: 1rem;
  border-left: 3px solid var(--line);
  color: var(--ink-soft);
}

.compare-card.after .compare-list li {
  border-color: var(--primary);
}

.control-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fffaf0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.control-panel .panel-topbar {
  background: #161b24;
  color: var(--dark-text);
}

.control-panel .panel-body {
  display: grid;
  gap: 0.85rem;
}

.control-row {
  grid-template-columns: minmax(8rem, auto) 1fr auto;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.control-row .control-copy span {
  color: var(--ink-soft);
}

.control-row .status {
  color: var(--ink);
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
}

.stage-card {
  min-height: 11rem;
}

.timeline-label {
  color: var(--primary);
  margin-bottom: 0.7rem;
}

.final-cta {
  text-align: center;
}

.final-cta h2 {
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.page-hero {
  background: var(--paper);
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(3rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.page-hero.dark-page {
  background: var(--dark);
  color: var(--dark-text);
  border-bottom-color: var(--dark-line);
}

.page-hero .lead {
  margin-bottom: 1.6rem;
}

.text-hero .container {
  width: min(920px, calc(100% - 2rem));
}

.text-hero h1 {
  max-width: 16ch;
}

.text-hero .lead {
  max-width: 55ch;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  column-gap: clamp(48px, 6vw, 96px);
  row-gap: 2rem;
  align-items: start;
}

.two-col .lead {
  max-width: 50ch;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mini-brief {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fffaf0;
}

.dark-brief {
  display: grid;
  gap: 0.8rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.dark-brief.after {
  background: rgba(242, 184, 75, 0.05);
  border-color: rgba(242, 184, 75, 0.2);
}

.brief-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.68);
}

.brief-item .task-index {
  color: var(--ink-soft);
  border-color: var(--line);
}

.form-shell {
  width: min(680px, 100%);
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fffaf0;
  box-shadow: var(--shadow-sm);
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.field label {
  font-weight: 760;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(16, 19, 26, 0.2);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

form[data-form="early-access"] button[type="submit"] {
  margin-bottom: 16px;
}

form[data-form="early-access"] button[type="submit"] + .helper {
  margin-top: 14px;
  line-height: 1.5;
}

.helper,
.form-message {
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.form-message {
  min-height: 1.4rem;
  margin: 1rem 0 0;
  font-weight: 700;
}

.form-message.success {
  color: #197a3d;
}

.form-message.error {
  color: #9a3412;
}

.legal-layout {
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.legal-layout .narrow {
  width: min(760px, calc(100% - 2rem));
}

.legal-layout h1 {
  max-width: none;
}

.legal-layout h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.2;
  margin-top: 3rem;
  margin-bottom: 1rem;
  max-width: none;
}

.legal-layout p {
  color: var(--ink-soft);
}















.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: var(--delay, 0ms);
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes subtle-pulse {
    0% { border-color: var(--line); }
    50% { border-color: rgba(255, 107, 53, 0.5); }
    100% { border-color: var(--line); }
  }

  @keyframes task-highlight {
    0% { background: transparent; }
    10% { background: rgba(255, 255, 255, 0.05); }
    90% { background: rgba(255, 255, 255, 0.05); }
    100% { background: transparent; }
  }

  @keyframes attention-pulse {
    0% { background: transparent; border-color: transparent; }
    50% { background: rgba(242, 184, 75, 0.08); border-color: rgba(242, 184, 75, 0.2); }
    100% { background: transparent; border-color: transparent; }
  }

  #hero-direction-card {
    animation: subtle-pulse 3s infinite ease-in-out;
  }

  .active-task {
    animation: task-highlight 2s ease-in-out forwards;
  }
  
  .active-task .status {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
  }

  .attention-row {
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    animation: attention-pulse 3s infinite ease-in-out;
  }
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1279px) {
  .hero-grid,
  .feed-shell,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero-title,
  h1,
  .page-hero h1 {
    max-width: 18ch;
  }

  .flow-grid,
  .stage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    left: 0;
    right: 0;
    top: 4.25rem;
    display: none;
    min-height: calc(100vh - 4.25rem);
    padding: 1.5rem;
    background: #090c11;
    flex-direction: column;
    align-items: flex-start;
    font-size: 1.1rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .flow-grid,
  .stage-grid,
  .role-grid,
  .compare-grid,
  .mode-grid,
  .case-grid,
  .info-grid,
  .split-list,
  

  .control-row,
  .task-item,
  .feed-list .feed-item {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .status {
    width: fit-content;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    height: 64px;
    padding-inline: 16px;
    gap: 12px;
    width: 100%;
  }

  .brand {
    min-width: 0;
    flex: 1;
    gap: 0.45rem;
  }

  .brand span:last-child {
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-actions {
    gap: 10px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .nav-actions .button {
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1;
    min-height: 40px;
    border-radius: 8px;
    white-space: nowrap;
    max-width: none;
  }

  .hide-mobile {
    display: none;
  }

  .brand-mark {
    width: 1.85rem;
    height: 1.85rem;
  }
}

@media (max-width: 480px) {
  .nav-actions .button {
    padding: 9px 12px;
    font-size: 13px;
    min-height: 38px;
  }
}

@media (max-width: 380px) {
  .nav-actions .button {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .cta-row {
    align-items: stretch;
  }

  .cta-row .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --- CASE STUDY DETAIL PAGES --- */

.case-study-brand-name {
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.case-detail-hero .case-study-brand-name,
.dark-section .case-study-brand-name {
  color: var(--dark-text);
  text-decoration-color: var(--primary);
}

.case-detail-hero {
  padding: 8rem 0 4rem;
  text-align: center;
}

.case-detail-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 1rem auto;
  max-width: 25ch;
  color: var(--dark-text);
}

.case-detail-hero .business-name {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--dark-muted);
  text-transform: uppercase;
  margin-top: 1rem;
}

.case-detail-hero .lead {
  max-width: 65ch;
  margin: 1.5rem auto 2.5rem;
  color: var(--dark-muted);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.case-detail-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1rem 6rem;
}

.case-snapshot-panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 4rem;
  box-shadow: var(--shadow-sm);
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.snapshot-item .snapshot-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.snapshot-item .snapshot-value {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.4;
}

.snapshot-item a {
  color: var(--muted);
  text-decoration: none;
  transition: color 200ms ease;
}

.snapshot-item a:hover {
  color: var(--primary);
}

.case-detail-content h2 {
  font-size: 1.85rem;
  margin-top: 1rem;
  margin-bottom: 2.25rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.75rem;
  max-width: 760px;
  line-height: 1.1;
  letter-spacing: normal;
  text-wrap: unset;
}

.case-card-panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.case-card-panel h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.case-card-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.case-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.case-agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.agent-detail-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.agent-detail-card .agent-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.agent-detail-card .agent-role {
  font-size: 0.72rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 760;
  line-height: 1.3;
}

.agent-detail-card .agent-name {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.agent-detail-card p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

.case-workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.workflow-detail-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.workflow-detail-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.workflow-step {
  margin-bottom: 1rem;
}

.workflow-step:last-child {
  margin-bottom: 0;
}

.workflow-step strong {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.25rem;
}

.workflow-step p {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}

.state-card-before {
  background: rgba(255, 107, 53, 0.05);
  border-color: rgba(255, 107, 53, 0.2);
}

.state-card-after {
  background: var(--bg);
  border-color: var(--line);
}

.state-card-before span.state-label,
.state-card-after span.state-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: block;
  letter-spacing: 0.05em;
}

.state-card-before p,
.state-card-after p {
  color: var(--text);
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.list-panel {
  margin-bottom: 4rem;
}

.list-panel ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-panel li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text);
}

.list-panel li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.proof-required-panel {
  background: repeating-linear-gradient(
    -45deg,
    rgba(242, 184, 75, 0.03),
    rgba(242, 184, 75, 0.03) 10px,
    rgba(242, 184, 75, 0.0) 10px,
    rgba(242, 184, 75, 0.0) 20px
  );
  border: 1px dashed rgba(242, 184, 75, 0.4);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 4rem;
}

.proof-required-panel .proof-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #d97706; /* alert color */
  margin-bottom: 1.5rem;
  display: inline-block;
  background: rgba(242, 184, 75, 0.1);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
}

.proof-required-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.proof-required-panel li {
  margin-bottom: 0.75rem;
  color: var(--text);
  padding-left: 1.5rem;
  position: relative;
}

.proof-required-panel li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #d97706;
}

.draft-quote {
  padding: 3rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  background: var(--bg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 4rem;
}

.draft-quote .draft-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: block;
  letter-spacing: 0.05em;
}

.draft-quote p {
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

@media (max-width: 900px) {
  .case-split-grid,
  .case-workflow-grid,
  .case-agent-grid {
    grid-template-columns: 1fr;
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

/* Early access form button spacing */
.form-shell button[type="submit"] {
  margin-bottom: 16px;
}

.form-shell button[type="submit"] + .helper {
  margin-top: 14px;
  line-height: 1.5;
}

/* Footer Brand and Description */






/* Product Role Cards Layout */
.product-role-card {
  min-height: 300px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
}

.role-card-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.role-card-icon {
  width: 24px;
  height: 24px;
  margin-top: 8px;
  margin-bottom: 4px;
  color: var(--dark-muted);
}

.role-card-title {
  margin: 0;
  line-height: 1.05;
}

.role-card-description {
  margin-top: 12px;
  margin-bottom: 0;
  min-height: auto;
  line-height: 1.4;
}

.role-card-bottom {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-role-card .example-output {
  min-height: auto;
  padding: 12px 16px;
  line-height: 1.4;
  display: flex;
  align-items: center;
}

.product-role-card .status-pill {
  margin-top: 0;
  align-self: flex-start;
}

/* About Page Mission Section */
.about-section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: clamp(24px, 5vw, 80px);
}

.about-mission-title {
  max-width: 760px;
  font-size: clamp(3.5rem, 6vw, 6.25rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin: 0 0 28px 0;
  text-wrap: balance;
}

.about-mission-copy {
  max-width: 760px;
  line-height: 1.55;
}

.site-footer {
  background: #080c11;
  color: #f7f4ed;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: clamp(56px, 8vw, 120px);
  align-items: start;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-description {
  max-width: 360px;
  line-height: 1.55;
  text-wrap: balance;
  color: var(--dark-muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  column-gap: clamp(48px, 6vw, 88px);
  align-items: start;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column h4 {
  margin: 0 0 18px;
}

.footer-column a {
  display: block;
  margin-bottom: 14px;
  text-align: left;
  white-space: nowrap;
  color: var(--dark-muted);
  text-decoration: none;
}

.footer-column a:hover {
  color: #f7f4ed;
}

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

  .footer-links {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    row-gap: 32px;
  }
}

@media (max-width: 520px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   IDEA INPUT CONSOLE (homepage hero action module)
   ===================================================== */
.idea-console {
  position: relative;
  background: linear-gradient(180deg, rgba(23, 31, 44, 0.98), rgba(13, 18, 27, 0.98));
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.idea-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 107, 53, 0.08), transparent 62%);
  pointer-events: none;
}

.idea-console-body {
  position: relative;
  padding: clamp(1.25rem, 2.6vw, 1.75rem);
}

.idea-title {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: none;
  margin-bottom: 0.5rem;
  color: var(--dark-text);
}

.idea-subtitle {
  color: var(--dark-muted);
  font-size: 0.98rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.idea-label {
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 760;
  color: var(--dark-muted);
  margin-bottom: 0.5rem;
}

.idea-textarea {
  width: 100%;
  min-height: 8.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  color: var(--dark-text);
  line-height: 1.55;
  resize: vertical;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.idea-textarea::placeholder {
  color: rgba(170, 181, 196, 0.65);
}

.idea-textarea:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.idea-textarea:focus {
  outline: none;
  border-color: rgba(255, 107, 53, 0.65);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.idea-helper {
  color: var(--dark-muted);
  font-size: 0.86rem;
  margin: 0.6rem 0 1rem;
}

.idea-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.idea-submit {
  flex: 1 1 12rem;
}

.idea-record {
  gap: 0.45rem;
}

.idea-record svg {
  width: 1.05rem;
  height: 1.05rem;
}

.idea-record.is-recording {
  border-color: rgba(255, 107, 53, 0.5);
  color: var(--primary);
  background: rgba(255, 107, 53, 0.08);
}

.idea-note {
  color: var(--dark-muted);
  font-size: 0.82rem;
  margin: 0.9rem 0 0;
}

.idea-validation {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  color: var(--approval);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  transition: opacity 180ms ease, max-height 180ms ease, margin 180ms ease;
}

.idea-validation.is-visible {
  max-height: 5rem;
  opacity: 1;
  margin-top: 0.85rem;
}

/* =====================================================
   IDEA FEEDBACK PAGE (/idea-feedback.html)
   ===================================================== */
.your-idea-card {
  margin-top: 1.75rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--dark-line);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  width: 100%;
  max-width: none;
}

.your-idea-label {
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 760;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.your-idea-text {
  margin: 0;
  color: var(--dark-text);
  line-height: 1.55;
  white-space: pre-wrap;
}

.feedback-layout {
  display: grid;
  gap: 1.5rem;
  max-width: 860px;
}

/* Audio playback bar */
.audio-bar {
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(23, 31, 44, 0.92), rgba(13, 18, 27, 0.92));
  padding: 1rem 1.25rem;
}

.audio-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.audio-title {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 760;
  color: var(--dark-text);
}

.audio-note {
  color: var(--dark-muted);
  font-size: 0.8rem;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.audio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.4rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--dark-text);
  font-weight: 700;
}

.audio-btn svg {
  width: 1rem;
  height: 1rem;
}

.audio-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.audio-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--dark-muted);
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.audio-meta strong {
  color: var(--dark-text);
  font-weight: 760;
}

/* Structured feedback panel */
.feedback-panel {
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  display: grid;
  gap: 2rem;
}

.feedback-disclaimer {
  margin: 0;
  padding: 0.7rem 0.9rem;
  border: 1px dashed rgba(242, 184, 75, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(242, 184, 75, 0.06);
  color: var(--approval);
  font-size: 0.85rem;
}

.feedback-section-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feedback-section-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
}

.feedback-section-title {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.2;
  margin: 0;
  max-width: none;
  color: var(--dark-text);
}

.feedback-placeholder {
  margin: 0;
  color: var(--dark-muted);
  line-height: 1.6;
}

.feedback-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feedback-list li {
  padding-left: 1rem;
  border-left: 3px solid rgba(255, 255, 255, 0.15);
  color: var(--dark-muted);
  line-height: 1.5;
}

/* Verdict card */
.verdict-card {
  border: 1px solid rgba(242, 184, 75, 0.28);
  border-radius: var(--radius-lg);
  background: rgba(242, 184, 75, 0.06);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.verdict-label {
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 760;
  color: var(--approval);
  margin-bottom: 0.6rem;
}

.verdict-statement {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--dark-text);
  margin: 0 0 0.75rem;
}

.verdict-next {
  margin: 0;
  color: var(--dark-muted);
  font-size: 0.95rem;
}

/* Tighten the flow between the idea hero and the assessment body */
.feedback-hero {
  padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  border-bottom: none;
}

.feedback-body {
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
}

/* Align the header column with the centered feedback content column below */
.feedback-hero .container {
  max-width: 860px;
}

@media (max-width: 560px) {
  .idea-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .idea-actions .button {
    flex: 0 0 auto;
    width: 100%;
  }
}
