:root {
  --bg: #f4efe7;
  --paper: rgba(255, 250, 244, 0.72);
  --ink: #112018;
  --muted: #506052;
  --line: rgba(17, 32, 24, 0.12);
  --accent: #e46c2f;
  --accent-deep: #b84816;
  --forest: #244534;
  --cream: #fff9f1;
  --shadow: 0 20px 60px rgba(25, 34, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(228, 108, 47, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(36, 69, 52, 0.22), transparent 24%),
    linear-gradient(180deg, #f7f1e6 0%, #efe5d8 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.orb {
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.32;
  pointer-events: none;
}

.orb-left {
  background: rgba(228, 108, 47, 0.38);
  top: -6rem;
  left: -8rem;
}

.orb-right {
  background: rgba(36, 69, 52, 0.28);
  right: -8rem;
  top: 12rem;
}

.topbar,
.section,
.footer {
  width: min(1120px, calc(100vw - 2rem));
  margin: 0 auto;
}

.topbar {
  padding: 1.2rem 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.toolbar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand p,
.brand small {
  margin: 0;
}

.brand p {
  font-weight: 800;
}

.brand small {
  color: var(--muted);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 1rem;
  background: var(--forest);
  color: white;
  font-weight: 800;
}

.section {
  padding: 4rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding-top: 4.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent-deep);
  font-weight: 800;
}

h1,
h2 {
  font-family: "Fraunces", serif;
  line-height: 0.98;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 12ch;
}

.lead,
.proof-grid p,
.package-card li,
.outreach-grid p,
.wallet-note,
.footer p,
.signal-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button,
.ghost-button {
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-button {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 30px rgba(228, 108, 47, 0.28);
}

.secondary-button,
.ghost-button {
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  border: 1px solid var(--line);
}

.stat-grid,
.mini-list,
.proof-grid,
.packages-grid,
.outreach-grid {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

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

.funnel-card {
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(17, 32, 24, 0.08);
  border-radius: 1.2rem;
  padding: 1rem;
}

.funnel-card strong {
  display: block;
  font-size: 1.3rem;
}

.funnel-card span {
  color: var(--muted);
}

.stat-grid li,
.signal-card,
.proof-grid article,
.package-card,
.calc-shell,
.outreach-grid article,
.wallet-shell {
  background: var(--paper);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

.stat-grid li {
  padding: 1rem;
  border-radius: 1.4rem;
}

.stat-grid strong {
  display: block;
  font-size: 1.5rem;
}

.signal-card {
  border-radius: 2rem;
  padding: 1.8rem;
  transform: rotate(-2deg);
}

.card-label,
.package-tag {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(36, 69, 52, 0.1);
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mini-list {
  display: grid;
  gap: 0.9rem;
}

.mini-list dt {
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 800;
}

.mini-list dd {
  margin: 0.25rem 0 0;
  font-weight: 700;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.4rem;
  margin-bottom: 1.6rem;
}

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

.proof-grid article,
.package-card,
.outreach-grid article {
  border-radius: 1.6rem;
  padding: 1.4rem;
}

.dashboard-shell {
  background: var(--paper);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
  border-radius: 1.8rem;
  padding: 1rem;
  overflow: auto;
}

.filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.search-input {
  min-width: 14rem;
  max-width: 18rem;
}

.active-filter {
  background: var(--forest);
  color: white;
}

.due-panel {
  background: var(--paper);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
  border-radius: 1.6rem;
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.kanban-shell {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.kanban-column {
  background: var(--paper);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
  border-radius: 1.4rem;
  padding: 1rem;
}

.kanban-list {
  display: grid;
  gap: 0.7rem;
}

.kanban-card {
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 32, 24, 0.08);
}

.kanban-card strong {
  font-size: 0.95rem;
}

.kanban-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.due-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.due-chip,
.due-empty {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(228, 108, 47, 0.14);
  color: var(--accent-deep);
  font-weight: 700;
}

.due-empty {
  background: rgba(17, 32, 24, 0.08);
  color: var(--muted);
}

.dashboard-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.dashboard-table th,
.dashboard-table td {
  text-align: left;
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid rgba(17, 32, 24, 0.08);
}

.dashboard-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--accent-deep);
  letter-spacing: 0.06em;
}

.dashboard-table input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent);
}

.notes-input {
  width: 100%;
  min-width: 15rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(17, 32, 24, 0.12);
  background: rgba(255, 255, 255, 0.75);
  font: inherit;
  color: var(--ink);
}

.actions-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.table-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(36, 69, 52, 0.08);
  border: 1px solid rgba(17, 32, 24, 0.1);
  color: var(--forest);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.table-button {
  cursor: pointer;
  font: inherit;
}

.due-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.5rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(17, 32, 24, 0.08);
}

.due-badge[data-state="future"] {
  color: var(--forest);
  background: rgba(36, 69, 52, 0.1);
}

.due-badge[data-state="today"] {
  color: #8a4b00;
  background: rgba(228, 108, 47, 0.16);
}

.due-badge[data-state="overdue"] {
  color: #8b1e12;
  background: rgba(180, 45, 28, 0.16);
}

.proof-grid h3,
.package-title,
.outreach-grid h3 {
  margin-top: 0;
}

.package-card.featured {
  background: linear-gradient(180deg, rgba(228, 108, 47, 0.92), rgba(180, 72, 22, 0.92));
  color: white;
}

.package-card.featured .package-tag,
.package-card.featured li {
  color: rgba(255, 255, 255, 0.9);
}

.package-card ul {
  padding-left: 1rem;
}

.calculator .calc-shell {
  border-radius: 2rem;
  padding: 1.4rem;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 1.3rem;
}

.calc-panel {
  display: grid;
  gap: 0.8rem;
}

.calc-panel label {
  font-weight: 700;
}

.calc-input {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(17, 32, 24, 0.12);
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  color: var(--ink);
}

.calc-help {
  margin: -0.2rem 0 0.3rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.picker-shell {
  align-items: start;
}

.stack-output {
  gap: 0.8rem;
}

.stack-copy {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
}

.stack-chip-row,
.stack-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.stack-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
}

.repo-meta {
  font-size: 0.88rem;
  color: var(--accent-deep);
  font-weight: 700;
}

.scope-output {
  align-content: start;
}

.brief-box {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.brief-copy {
  margin: 0;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

.csv-preview {
  margin: 0;
  padding: 0.9rem;
  border-radius: 0.9rem;
  background: rgba(17, 32, 24, 0.24);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 0.84rem;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.list-output {
  display: grid;
  gap: 0.45rem;
}

.list-output p {
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.approval-output {
  align-content: start;
}

.phase-map {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.phase-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(228, 108, 47, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 0.82rem;
  font-weight: 800;
}

.delivery-output {
  align-content: start;
}

.matrix-grid {
  display: grid;
  gap: 0.7rem;
}

.matrix-card {
  padding: 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.matrix-card p,
.matrix-card strong {
  margin: 0;
}

.matrix-card strong {
  display: block;
  margin: 0.2rem 0 0.4rem;
}

.matrix-role {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.calc-output {
  border-radius: 1.5rem;
  padding: 1.2rem;
  background: var(--forest);
  color: white;
  display: grid;
  align-content: center;
  gap: 0.5rem;
}

.calc-output p,
.calc-output strong {
  margin: 0;
}

.calc-output strong {
  font-size: clamp(2rem, 5vw, 3rem);
  font-family: "Fraunces", serif;
}

.wallet-shell {
  border-radius: 2rem;
  padding: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wallet-box {
  display: grid;
  gap: 1rem;
  min-width: min(100%, 34rem);
}

.wallet-box code {
  word-break: break-all;
  display: block;
  padding: 1rem;
  background: rgba(17, 32, 24, 0.08);
  border-radius: 1rem;
  border: 1px dashed rgba(17, 32, 24, 0.18);
}

.footer {
  padding: 1rem 0 3rem;
}

.reveal,
.reveal-delay {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 700ms ease forwards;
}

.reveal-delay {
  animation-delay: 180ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero,
  .calculator .calc-shell,
  .proof-grid,
  .packages-grid,
  .outreach-grid,
  .wallet-shell,
  .kanban-shell {
    grid-template-columns: 1fr;
  }

  .wallet-shell {
    display: grid;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

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

  .funnel-bar {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 12ch;
  }
}

@media (max-width: 640px) {
  .topbar {
    gap: 1rem;
    align-items: start;
    flex-direction: column;
  }

  .toolbar {
    justify-content: flex-start;
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    padding-top: 2rem;
  }
}
