:root {
  --paper: #efe1c6;
  --paper-strong: #f7eedc;
  --ink: #171410;
  --ink-soft: #514c45;
  --line: rgba(23, 20, 16, 0.18);
  --line-strong: rgba(23, 20, 16, 0.38);
  --emerald: #2c6e49;
  --amber: #d08c1f;
  --crimson: #a33b2d;
  --fog: rgba(255, 248, 236, 0.62);
  --shadow: 0 24px 60px rgba(31, 22, 13, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(208, 140, 31, 0.22), transparent 28%),
    radial-gradient(circle at right 20%, rgba(44, 110, 73, 0.14), transparent 26%),
    linear-gradient(180deg, #f5ead4 0%, #e9d8b7 100%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 18px 18px;
  mix-blend-mode: multiply;
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 80px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 18px;
  backdrop-filter: blur(14px);
}

.brand-block {
  display: grid;
  gap: 4px;
}

.brand-kicker,
.eyebrow,
.mini-tag,
.card-label,
.board-tag,
.board-pulse,
.credit-counter,
.topnav a,
.text-button {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brand-kicker,
.eyebrow,
.card-label,
.mini-tag,
.credit-counter {
  font-size: 0.73rem;
  color: var(--ink-soft);
}

.brand {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.topnav a,
.text-button {
  color: var(--ink);
  font-size: 0.78rem;
  text-decoration: none;
}

.hero,
.insight-grid,
.demo-section,
.value-section,
.channel-section,
.roadmap-section,
.pricing-section,
.cta-section {
  margin-top: 32px;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  padding: 34px 0 12px;
}

.hero-copy,
.thesis-board,
.insight-card,
.upload-panel,
.result-panel,
.channel-card,
.roadmap-card,
.pricing-card,
.cta-section {
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.88), rgba(247, 238, 220, 0.88));
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 59, 45, 0.22), transparent 68%);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  margin-top: 14px;
}

.intro {
  max-width: 56ch;
  margin: 22px 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.text-button:hover,
.text-button:focus-visible,
.topnav a:hover,
.topnav a:focus-visible {
  transform: translateY(-1px);
}

.solid {
  background: linear-gradient(135deg, #1e1a16, #3f2d17);
  color: var(--paper-strong);
}

.ghost {
  background: rgba(255, 251, 243, 0.46);
}

.stretch {
  width: 100%;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
}

.thesis-board {
  padding: 22px;
  transform: rotate(-1.4deg);
}

.board-header,
.panel-topline,
.result-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.board-pulse {
  color: var(--crimson);
}

.board-card,
.result-card,
.value-card {
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.78);
}

.board-card {
  padding: 18px;
}

.board-card h2 {
  margin-top: 6px;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.board-card h3 {
  margin-top: 4px;
  font-size: 1.8rem;
}

.board-card p:last-child {
  margin-bottom: 0;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.board-tall {
  min-height: 240px;
}

.board-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.board-strip span {
  border: 1px dashed var(--line-strong);
  padding: 7px 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

.insight-grid,
.demo-layout,
.channel-grid,
.roadmap-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

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

.insight-card,
.channel-card,
.roadmap-card,
.pricing-card {
  padding: 24px;
}

.insight-card h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.insight-card p:last-child {
  max-width: 54ch;
  line-height: 1.7;
  color: var(--ink-soft);
}

.section-heading {
  max-width: 72ch;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  margin-top: 10px;
}

.section-heading p:last-child {
  margin-top: 10px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.demo-layout {
  grid-template-columns: 0.88fr 1.12fr;
}

.upload-panel,
.result-panel {
  padding: 22px;
}

.upload-stage {
  display: block;
  margin-top: 18px;
  cursor: pointer;
}

.upload-stage input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.upload-placeholder {
  min-height: 320px;
  border: 1px dashed var(--line-strong);
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 247, 232, 0.86), rgba(240, 226, 192, 0.68)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
}

.upload-placeholder p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.upload-placeholder span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.chart-wire {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 9px;
  width: 100%;
  max-width: 360px;
  min-height: 160px;
}

.bar {
  display: block;
  width: 18px;
  border-radius: 999px;
  position: relative;
}

.bar::before {
  content: "";
  position: absolute;
  inset: -14px 7px auto;
  height: calc(100% + 28px);
  background: currentColor;
  opacity: 0.24;
}

.green {
  background: var(--emerald);
  color: var(--emerald);
}

.amber {
  background: var(--amber);
  color: var(--amber);
}

.red {
  background: var(--crimson);
  color: var(--crimson);
}

.bar-short {
  height: 38px;
}

.bar-medium {
  height: 78px;
}

.bar-tall {
  height: 124px;
}

.preview-image {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 1px solid var(--line);
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 18px;
}

.control-grid label {
  display: grid;
  gap: 6px;
  font-size: 0.94rem;
}

select,
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 252, 246, 0.78);
  color: var(--ink);
  font: inherit;
}

select,
input[type="text"],
input[type="email"] {
  min-height: 44px;
  padding: 0 12px;
}

textarea {
  min-height: 120px;
  padding: 12px;
  resize: vertical;
}

.microcopy {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.disclaimer {
  position: relative;
  z-index: 1;
}

.text-button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.result-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.result-card {
  padding: 16px 18px;
}

.result-card h3 {
  margin-top: 4px;
  font-size: 1.9rem;
}

.result-card p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.accent {
  background:
    linear-gradient(135deg, rgba(208, 140, 31, 0.15), rgba(255, 252, 246, 0.8)),
    rgba(255, 252, 246, 0.78);
}

.highlighted {
  background:
    linear-gradient(135deg, rgba(44, 110, 73, 0.18), rgba(255, 252, 246, 0.82)),
    rgba(255, 252, 246, 0.78);
}

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

.metrics strong {
  display: block;
  margin-top: 4px;
  font-size: 1.4rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.value-card {
  min-height: 220px;
  padding: 18px;
}

.value-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
}

.value-card h3 {
  margin-top: 18px;
  font-size: 2rem;
}

.value-card p {
  line-height: 1.7;
  color: var(--ink-soft);
}

.channel-grid,
.roadmap-grid,
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.channel-card h3,
.roadmap-card h3,
.pricing-card h3 {
  margin-top: 8px;
  font-size: 2.1rem;
}

.channel-card p:last-child,
.roadmap-card p:last-child,
.pricing-card p:last-child {
  line-height: 1.7;
  color: var(--ink-soft);
}

.featured {
  background:
    linear-gradient(160deg, rgba(44, 110, 73, 0.16), rgba(255, 252, 246, 0.82)),
    rgba(255, 252, 246, 0.78);
  transform: translateY(-10px);
}

.cta-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  padding: 28px;
}

.cta-copy h2 {
  margin-top: 10px;
  font-size: clamp(2.8rem, 5vw, 4.1rem);
}

.cta-copy p:last-child {
  line-height: 1.7;
  color: var(--ink-soft);
}

.compact {
  margin-top: 18px;
}

.full-width {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.inline-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.68);
  line-height: 1.6;
}

.subtle {
  background: rgba(255, 248, 236, 0.42);
  color: var(--ink-soft);
}

.success-state {
  border-color: rgba(44, 110, 73, 0.38);
  background: rgba(44, 110, 73, 0.08);
}

.error-state {
  border-color: rgba(163, 59, 45, 0.38);
  background: rgba(163, 59, 45, 0.08);
}

.compact-page {
  padding-top: 40px;
}

.solo-layout {
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
}

.solo-card {
  width: min(760px, 100%);
}

.solo-title {
  max-width: 12ch;
}

.admin-shell {
  padding-bottom: 120px;
}

.admin-main {
  display: grid;
  gap: 28px;
}

.admin-section {
  display: grid;
  gap: 16px;
}

.admin-list {
  display: grid;
  gap: 16px;
}

.admin-card {
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.92), rgba(247, 238, 220, 0.92));
  box-shadow: var(--shadow);
  padding: 20px;
}

.admin-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-card h3 {
  margin-top: 8px;
  font-size: 2rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.detail-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.78);
}

.detail-grid dt {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.detail-grid dd {
  margin: 6px 0 0;
  font-weight: 600;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.json-editor {
  width: 100%;
  min-height: 220px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 252, 246, 0.78);
  font: 0.9rem/1.6 "IBM Plex Mono", monospace;
}

.image-frame {
  margin-top: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.image-frame img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  background: rgba(255, 248, 236, 0.4);
}

.table-shell {
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.92), rgba(247, 238, 220, 0.92));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-shell table {
  width: 100%;
  border-collapse: collapse;
}

.table-shell th,
.table-shell td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.table-shell th {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.table-shell td {
  font-size: 0.95rem;
}

.empty-state {
  padding: 24px;
  border: 1px dashed var(--line-strong);
  color: var(--ink-soft);
  text-align: center;
}

@media (max-width: 1040px) {
  .hero,
  .demo-layout,
  .cta-section,
  .channel-grid,
  .roadmap-grid,
  .pricing-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }

  .featured {
    transform: none;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1200px);
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: start;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.8rem, 18vw, 4.4rem);
  }

  .board-grid,
  .control-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .thesis-board {
    transform: none;
  }

  .button {
    width: 100%;
  }

  .admin-card-header,
  .admin-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .table-shell {
    overflow-x: auto;
  }
}

.home-page {
  color: #ecf1ef;
  background:
    radial-gradient(circle at top left, rgba(112, 169, 102, 0.12), transparent 28%),
    radial-gradient(circle at right 14%, rgba(220, 228, 132, 0.08), transparent 24%),
    linear-gradient(180deg, #081016 0%, #0c1319 100%);
}

.home-page .noise {
  opacity: 0.06;
  mix-blend-mode: screen;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.home-page .page-shell {
  width: min(1220px, calc(100% - 32px));
  padding-bottom: 120px;
}

.home-page .topbar {
  padding: 22px 0 20px;
  border-bottom: 1px solid rgba(236, 241, 239, 0.08);
  backdrop-filter: none;
}

.home-page .brand-kicker,
.home-page .eyebrow,
.home-page .card-label,
.home-page .mini-tag {
  color: rgba(236, 241, 239, 0.58);
}

.home-page .brand,
.home-page .topnav a,
.home-page .text-button {
  color: #f7fbf9;
}

.home-page .home-main {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.home-page .home-hero,
.home-page .workbench,
.home-page .pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 24px;
}

.home-page .home-hero {
  align-items: start;
}

.home-page .home-card,
.home-page .upload-panel,
.home-page .result-panel,
.home-page .cta-section {
  border: 1px solid rgba(236, 241, 239, 0.12);
  background:
    linear-gradient(180deg, rgba(13, 22, 30, 0.92), rgba(11, 18, 24, 0.96)),
    rgba(11, 18, 24, 0.96);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
}

.home-page .hero-copy {
  padding: clamp(30px, 4vw, 46px);
}

.home-page .hero-copy::after {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(123, 201, 111, 0.12), transparent 70%);
}

.home-page h1,
.home-page h2,
.home-page h3 {
  color: #fbfdfc;
}

.home-page h1 {
  max-width: 8.5ch;
  font-size: clamp(3rem, 6.6vw, 5rem);
  line-height: 0.94;
}

.home-page .intro,
.home-page .microcopy,
.home-page .section-heading p:last-child,
.home-page .proof-card p:last-child,
.home-page .sample-primary p,
.home-page .sample-card p,
.home-page .value-card p,
.home-page .process-list p {
  color: rgba(236, 241, 239, 0.72);
}

.home-page .solid {
  background: #d6ee6b;
  border-color: #d6ee6b;
  color: #091015;
}

.home-page .ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(236, 241, 239, 0.18);
  color: #f7fbf9;
}

.home-page .signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.home-page .hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.home-page .hero-metric {
  padding: 16px;
  border: 1px solid rgba(236, 241, 239, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.home-page .hero-metric h3 {
  margin-top: 8px;
  font-size: 1.28rem;
  line-height: 1.05;
}

.home-page .hero-metric p:last-child {
  margin-bottom: 0;
  color: rgba(236, 241, 239, 0.7);
  line-height: 1.55;
}

.home-page .signal-strip span,
.home-page .price-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(236, 241, 239, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-page .hero-note {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(236, 241, 239, 0.1);
}

.home-page .hero-note strong {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d6ee6b;
}

.home-page .hero-note p {
  margin: 0;
  color: rgba(236, 241, 239, 0.72);
  line-height: 1.65;
}

.home-page .hero-sample {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.home-page .sample-badge {
  color: #d6ee6b;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.home-page .sample-primary,
.home-page .sample-card,
.home-page .proof-card,
.home-page .result-card,
.home-page .value-card {
  border: 1px solid rgba(236, 241, 239, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.home-page .sample-primary {
  min-height: 196px;
  padding: 22px;
}

.home-page .sample-primary h2 {
  margin-top: 8px;
  font-size: clamp(2.1rem, 3.8vw, 2.8rem);
  line-height: 1;
}

.home-page .sample-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-page .sample-card {
  padding: 18px;
}

.home-page .sample-card h3 {
  margin-top: 6px;
  font-size: 1.6rem;
}

.home-page .proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-page .proof-card {
  padding: 22px;
}

.home-page .proof-card h3 {
  margin-top: 8px;
  font-size: 1.82rem;
}

.home-page .upload-panel,
.home-page .result-panel {
  padding: 24px;
}

.home-page .upload-placeholder,
.home-page select,
.home-page input[type="text"],
.home-page input[type="email"],
.home-page textarea {
  border-color: rgba(236, 241, 239, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #f7fbf9;
}

.home-page select::placeholder,
.home-page input[type="text"]::placeholder,
.home-page input[type="email"]::placeholder,
.home-page textarea::placeholder {
  color: rgba(236, 241, 239, 0.34);
}

.home-page .upload-placeholder {
  min-height: 300px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}

.home-page .upload-placeholder p {
  color: #f7fbf9;
}

.home-page .upload-placeholder span,
.home-page .result-card p:last-child,
.home-page .detail-grid dd,
.home-page .inline-status {
  color: rgba(236, 241, 239, 0.76);
}

.home-page .inline-status {
  border-color: rgba(236, 241, 239, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.home-page .subtle {
  background: rgba(255, 255, 255, 0.025);
}

.home-page .success-state {
  border-color: rgba(112, 169, 102, 0.4);
  background: rgba(112, 169, 102, 0.1);
}

.home-page .error-state {
  border-color: rgba(210, 98, 81, 0.42);
  background: rgba(210, 98, 81, 0.1);
}

.home-page .result-stack {
  gap: 14px;
}

.home-page .result-card {
  padding: 18px 20px;
}

.home-page .result-card h3 {
  font-size: 1.7rem;
}

.home-page .metrics strong {
  color: #fbfdfc;
}

.home-page .accent {
  background:
    linear-gradient(135deg, rgba(214, 238, 107, 0.14), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
}

.home-page .highlighted {
  background:
    linear-gradient(135deg, rgba(112, 169, 102, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
}

.home-page .framework-section {
  display: grid;
  gap: 18px;
}

.home-page .value-card {
  min-height: 0;
}

.home-page .value-card span {
  border-color: rgba(236, 241, 239, 0.14);
  color: #f7fbf9;
}

.home-page .pricing-layout {
  align-items: stretch;
}

.home-page .pricing-panel,
.home-page .process-panel {
  padding: 28px;
}

.home-page .pricing-panel h2,
.home-page .process-panel h2 {
  margin-top: 10px;
  font-size: clamp(2.8rem, 5vw, 4rem);
}

.home-page .price-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.home-page .process-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.home-page .process-list div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(236, 241, 239, 0.1);
}

.home-page .process-list strong {
  color: #d6ee6b;
  font-family: "IBM Plex Mono", monospace;
}

.home-page .process-list p {
  margin: 0;
}

.home-page .cta-section {
  border-color: rgba(214, 238, 107, 0.18);
}

@media (max-width: 1120px) {
  .home-page .home-hero,
  .home-page .workbench,
  .home-page .pricing-layout,
  .home-page .proof-grid,
  .home-page .value-grid {
    grid-template-columns: 1fr;
  }

  .home-page .hero-metrics {
    grid-template-columns: 1fr;
  }

  .home-page .sample-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .home-page .page-shell {
    width: min(100% - 20px, 1220px);
  }

  .home-page .topbar {
    padding-bottom: 16px;
  }

  .home-page h1 {
    max-width: none;
    font-size: clamp(2.9rem, 16vw, 4.3rem);
  }

  .home-page .sample-primary h2,
  .home-page .pricing-panel h2,
  .home-page .process-panel h2 {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .home-page .signal-strip,
  .home-page .price-points {
    gap: 8px;
  }
}

.home-page .beta-hero,
.home-page .beta-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 24px;
}

.home-page .beta-copy,
.home-page .beta-form,
.home-page .sample-panel,
.home-page .process-panel {
  padding: 28px;
}

.home-page .beta-points {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.home-page .beta-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(236, 241, 239, 0.78);
  line-height: 1.6;
}

.home-page .beta-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d6ee6b;
}

.home-page .beta-form form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.home-page .beta-form .upload-placeholder {
  min-height: 210px;
}

.home-page .beta-status {
  margin-top: 18px;
}

.home-page .compact-heading {
  display: grid;
  gap: 8px;
}

.home-page .compact-heading h2 {
  font-size: clamp(2.3rem, 4.6vw, 3.3rem);
}

.home-page .sample-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.home-page .sample-row {
  padding: 18px;
  border: 1px solid rgba(236, 241, 239, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.home-page .sample-row h3 {
  margin-top: 8px;
  font-size: 1.52rem;
  line-height: 1.08;
}

.home-page .beta-grid .proof-card h3 {
  font-size: 1.62rem;
}

@media (max-width: 1120px) {
  .home-page .beta-hero,
  .home-page .beta-proof {
    grid-template-columns: 1fr;
  }
}

.clean-beta {
  color: #17212b;
  background: #f4efe6;
}

.clean-beta .noise {
  display: none;
}

.clean-beta .page-shell {
  width: min(1120px, calc(100% - 32px));
  padding-bottom: 72px;
}

.clean-beta .topbar {
  position: static;
  padding: 24px 0 20px;
  border-bottom: 1px solid rgba(23, 33, 43, 0.08);
  backdrop-filter: none;
}

.clean-beta .brand-kicker,
.clean-beta .eyebrow,
.clean-beta .card-label,
.clean-beta .mini-tag {
  color: rgba(23, 33, 43, 0.56);
}

.clean-beta .brand {
  color: #17212b;
}

.clean-beta .topnav {
  align-items: center;
  gap: 12px;
}

.clean-beta .topnav a,
.clean-beta .text-button {
  color: #17212b;
}

.clean-beta .topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(23, 33, 43, 0.1);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
}

.clean-beta .topnav .topbar-cta {
  background: #17212b;
  border-color: #17212b;
  color: #fffdf8;
}

.clean-beta .home-main {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.clean-beta .beta-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 20px;
  align-items: stretch;
}

.clean-beta .beta-lower-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.clean-beta .home-card,
.clean-beta .upload-panel,
.clean-beta .result-panel,
.clean-beta .cta-section {
  border: 1px solid rgba(23, 33, 43, 0.08);
  border-radius: 20px;
  background: #fffdf8;
  box-shadow: 0 10px 24px rgba(33, 24, 16, 0.06);
}

.clean-beta h1,
.clean-beta h2,
.clean-beta h3 {
  color: #17212b;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  line-height: 1.04;
  text-wrap: balance;
}

.clean-beta h1 {
  max-width: 11ch;
  font-size: clamp(2.9rem, 5.4vw, 4.6rem);
}

.clean-beta .intro,
.clean-beta .microcopy,
.clean-beta .section-heading p:last-child,
.clean-beta .sample-row p:last-child,
.clean-beta .process-list p,
.clean-beta .result-card p:last-child,
.clean-beta .inline-status,
.clean-beta .beta-points li,
.clean-beta .form-intro {
  color: rgba(23, 33, 43, 0.72);
  text-wrap: pretty;
}

.clean-beta .beta-copy,
.clean-beta .beta-form,
.clean-beta .sample-panel,
.clean-beta .process-panel {
  padding: 32px;
}

.clean-beta .beta-copy {
  display: grid;
  align-content: start;
}

.clean-beta .beta-points {
  gap: 12px;
  margin-top: 22px;
}

.clean-beta .beta-points li::before {
  background: #6b8572;
}

.clean-beta .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.clean-beta .stat-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(23, 33, 43, 0.08);
  border-radius: 16px;
  background: #f7f2e9;
}

.clean-beta .stat-card strong {
  display: block;
  font-size: 1.22rem;
  line-height: 1.25;
}

.clean-beta .stat-card span {
  color: rgba(23, 33, 43, 0.66);
  font-size: 0.94rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.clean-beta .disclaimer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 33, 43, 0.08);
}

.clean-beta .beta-form {
  display: grid;
  gap: 18px;
}

.clean-beta .form-heading {
  display: grid;
  gap: 8px;
}

.clean-beta .form-heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
}

.clean-beta .form-intro {
  margin: 0;
  line-height: 1.6;
}

.clean-beta .beta-form form {
  display: grid;
  gap: 14px;
}

.clean-beta label {
  display: grid;
  gap: 8px;
  color: #233241;
  font-size: 0.95rem;
  font-weight: 600;
}

.clean-beta .contact-grid {
  display: grid;
  gap: 12px;
}

.clean-beta .control-grid {
  gap: 12px;
  margin: 0;
}

.clean-beta .upload-placeholder,
.clean-beta select,
.clean-beta input[type="text"],
.clean-beta input[type="email"],
.clean-beta textarea {
  border: 1px solid rgba(23, 33, 43, 0.1);
  border-radius: 14px;
  background: #fffdf8;
  color: #17212b;
  box-shadow: none;
}

.clean-beta select,
.clean-beta input[type="text"],
.clean-beta input[type="email"] {
  min-height: 48px;
  padding: 0 14px;
}

.clean-beta textarea {
  min-height: 124px;
  padding: 12px 14px;
}

.clean-beta select::placeholder,
.clean-beta input[type="text"]::placeholder,
.clean-beta input[type="email"]::placeholder,
.clean-beta textarea::placeholder {
  color: rgba(23, 33, 43, 0.36);
}

.clean-beta .upload-stage {
  margin-top: 0;
  gap: 10px;
}

.clean-beta .upload-label {
  color: #233241;
}

.clean-beta .upload-placeholder {
  min-height: 136px;
  padding: 18px;
  border-style: dashed;
  background: #f6f1e8;
  text-align: left;
  place-items: start;
}

.clean-beta .upload-placeholder p {
  margin: 0;
  color: #17212b;
  font-size: 1rem;
  font-weight: 600;
}

.clean-beta .upload-placeholder span {
  color: rgba(23, 33, 43, 0.64);
  font-size: 0.92rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.clean-beta .preview-image {
  border-radius: 12px;
  background: #fff;
}

.clean-beta .upload-reset {
  justify-self: start;
  font-size: 0.74rem;
  color: rgba(23, 33, 43, 0.68);
}

.clean-beta .is-hidden {
  display: none;
}

.clean-beta .inline-status {
  border: 1px solid rgba(23, 33, 43, 0.08);
  border-radius: 14px;
  background: #f6f1e8;
}

.clean-beta .subtle {
  background: #f6f1e8;
}

.clean-beta .success-state {
  border-color: rgba(107, 133, 114, 0.24);
  background: rgba(107, 133, 114, 0.1);
}

.clean-beta .error-state {
  border-color: rgba(167, 92, 75, 0.24);
  background: rgba(167, 92, 75, 0.08);
}

.clean-beta .button {
  min-height: 50px;
  border-radius: 14px;
  border-color: transparent;
}

.clean-beta .solid {
  background: #17212b;
  color: #fffdf8;
}

.clean-beta .solid:hover,
.clean-beta .solid:focus-visible {
  background: #121a23;
}

.clean-beta .beta-status {
  margin-top: 2px;
}

.clean-beta .result-stack {
  gap: 12px;
}

.clean-beta .result-card,
.clean-beta .sample-row {
  border: 1px solid rgba(23, 33, 43, 0.08);
  border-radius: 16px;
  background: #fffdf8;
}

.clean-beta .result-card {
  padding: 18px;
}

.clean-beta .result-card h3 {
  font-size: 1.3rem;
  line-height: 1.18;
}

.clean-beta .accent {
  background: #f3f6f1;
  border-color: rgba(107, 133, 114, 0.16);
}

.clean-beta .detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.clean-beta .detail-grid div {
  border-radius: 12px;
  border: 1px solid rgba(23, 33, 43, 0.08);
  background: #f6f1e8;
}

.clean-beta .section-heading {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.clean-beta .section-heading .eyebrow,
.clean-beta .section-heading h2,
.clean-beta .section-heading p {
  margin: 0;
}

.clean-beta .compact-heading {
  display: grid;
  gap: 8px;
}

.clean-beta .compact-heading h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.clean-beta .sample-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.clean-beta .sample-row {
  padding: 18px 20px;
}

.clean-beta .sample-row h3 {
  margin-top: 6px;
  font-size: 1.2rem;
  line-height: 1.3;
  text-wrap: pretty;
}

.clean-beta .process-list {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.clean-beta .process-list div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(23, 33, 43, 0.08);
}

.clean-beta .process-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.clean-beta .process-list strong {
  color: #6b8572;
  font-family: "IBM Plex Mono", monospace;
}

@media (max-width: 1120px) {
  .clean-beta .page-shell {
    width: min(100% - 24px, 1120px);
  }

  .clean-beta .beta-hero-grid,
  .clean-beta .beta-lower-grid,
  .clean-beta .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .clean-beta .topbar {
    align-items: flex-start;
    gap: 16px;
  }

  .clean-beta .topnav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .clean-beta h1 {
    max-width: none;
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .clean-beta .beta-copy,
  .clean-beta .beta-form,
  .clean-beta .sample-panel,
  .clean-beta .process-panel {
    padding: 22px;
  }

  .clean-beta .control-grid {
    grid-template-columns: 1fr;
  }
}
