:root {
  --ink: #1c2420;
  --muted: #647069;
  --line: #d9ded8;
  --paper: #f7f4ee;
  --white: #ffffff;
  --herb: #1f6a4a;
  --herb-dark: #174a37;
  --tomato: #c94c36;
  --gold: #c4922f;
  --blue: #315f88;
  --shadow: 0 18px 50px rgba(28, 36, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid rgba(28, 36, 32, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
}

.brand-mark svg {
  display: block;
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 5px 10px rgba(28, 36, 32, 0.12));
}

.logo-plate {
  fill: #fdfaf3;
  stroke: var(--herb);
  stroke-width: 5;
}

.logo-post {
  fill: var(--herb);
}

.logo-fork,
.logo-check {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-fork {
  stroke: var(--tomato);
  stroke-width: 3;
}

.logo-check {
  stroke: #fff7e8;
  stroke-width: 4;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  gap: clamp(10px, 2vw, 22px);
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--ink);
}

.workspace {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(28px, 6vw, 70px) clamp(18px, 4vw, 52px);
}

.workspace-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--tomato);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.2;
}

.intro {
  max-width: 680px;
  color: #405149;
  font-size: clamp(17px, 2vw, 21px);
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.primary-action {
  color: white;
  background: var(--herb);
}

.primary-action:hover {
  background: var(--herb-dark);
}

.secondary-action {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.secondary-action:hover {
  border-color: var(--herb);
}

.full {
  width: 100%;
}

.live-panel {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.campaign-photo {
  min-height: 250px;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.22)),
    url("https://images.unsplash.com/photo-1543353071-873f17a7a088?auto=format&fit=crop&w=1200&q=82") center/cover;
}

.campaign-shell {
  padding: 22px;
}

.campaign-head,
.brief-grid,
.verification-track {
  display: flex;
  gap: 10px;
}

.campaign-head {
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.campaign-head div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.campaign-head strong {
  color: var(--ink);
  font-size: 24px;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--herb);
  border-radius: 999px;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0;
}

.brief-grid div,
.opportunity dl div {
  padding: 12px;
  background: #f4f6f2;
  border-radius: 8px;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.verification-track {
  flex-wrap: wrap;
}

.verification-track span {
  flex: 1 1 92px;
  min-height: 38px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #eef0ec;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.verification-track .done {
  color: white;
  background: var(--blue);
}

.band {
  padding: clamp(44px, 7vw, 92px) clamp(18px, 4vw, 52px);
  border-top: 1px solid rgba(28, 36, 32, 0.1);
}

.section-head {
  max-width: 840px;
  margin-bottom: 30px;
}

.section-head p:not(.eyebrow),
.pilot-copy p {
  color: #4d5a53;
  font-size: 18px;
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 24px;
  align-items: start;
}

.builder,
.quote-box,
.mini-card,
.signup,
.verification-demo {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(28, 36, 32, 0.08);
}

.builder,
.signup {
  padding: 22px;
}

label,
fieldset {
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
  color: #33423a;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfbf8;
  border: 1px solid #ccd4cc;
  border-radius: 8px;
}

textarea {
  min-height: 108px;
  resize: vertical;
}

fieldset {
  padding: 14px;
  border: 1px solid #dce2dc;
  border-radius: 8px;
}

legend {
  padding: 0 8px;
}

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

.check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  font-weight: 700;
}

.check input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--herb);
}

.quote-box {
  position: sticky;
  top: 92px;
  padding: 22px;
}

.quote-box span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.quote-box strong {
  display: block;
  margin: 4px 0 8px;
  font-size: 54px;
  line-height: 1;
}

.quote-box p,
.quote-box li {
  color: #46564e;
}

.quote-box ul {
  padding-left: 20px;
  margin: 18px 0 0;
}

.applicant-review {
  margin-top: 42px;
}

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

.creator-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(28, 36, 32, 0.08);
}

.creator-card.is-accepted {
  border-color: #8ec4a0;
  box-shadow: 0 14px 34px rgba(31, 106, 74, 0.14);
}

.creator-card.is-declined {
  opacity: 0.72;
}

.creator-topline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.creator-topline h3,
.creator-topline p {
  margin: 0;
}

.creator-topline p,
.creator-note {
  color: var(--muted);
}

.avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: white;
  background: var(--herb);
  border-radius: 8px;
  font-weight: 900;
}

.avatar.alt {
  background: var(--blue);
}

.avatar.warm {
  background: var(--tomato);
}

.creator-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.creator-stats div {
  min-height: 72px;
  padding: 12px;
  background: #f4f6f2;
  border-radius: 8px;
}

.creator-note {
  margin: 0;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proof-row a {
  padding: 7px 9px;
  color: var(--herb-dark);
  background: #e3f0e8;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.decision-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
}

.decline-button {
  min-height: 44px;
  color: var(--tomato);
}

.accept-button {
  min-height: 44px;
}

.decision-status {
  min-height: 46px;
  padding: 12px;
  color: #5d4b22;
  background: #fff7e8;
  border: 1px solid #ead7ad;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.decision-status.accepted {
  color: #174a37;
  background: #e3f0e8;
  border-color: #b4d5c0;
}

.decision-status.declined {
  color: #772f22;
  background: #fae6e1;
  border-color: #e7b8ae;
}

.split {
  background: #eef2ed;
}

.compact {
  max-width: 720px;
}

.creator-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 22px;
}

.opportunity {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.opportunity img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.opportunity > div {
  padding: 24px;
}

.creator-profile-preview {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(28, 36, 32, 0.08);
}

.creator-profile-preview img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.creator-profile-preview > div {
  padding: 22px;
}

.creator-profile-preview dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.creator-profile-preview dl div {
  padding: 12px;
  background: #f4f6f2;
  border-radius: 8px;
}

.social-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 36px;
  margin-bottom: 16px;
}

.social-chip-row a,
.social-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  color: var(--herb-dark);
  background: #e3f0e8;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.secondary-grid {
  margin-top: 24px;
}

.marketplace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: start;
}

.marketplace > .section-head,
.marketplace-tabs,
.market-panel {
  grid-column: 1;
}

.marketplace-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.market-tab {
  min-height: 44px;
  padding: 0 14px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.market-tab.is-active {
  color: white;
  background: var(--herb);
  border-color: var(--herb);
}

.market-panel {
  display: none;
}

.market-panel.is-active {
  display: block;
}

.market-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 16px;
  align-items: end;
  margin-bottom: 16px;
}

.market-toolbar p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.market-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(28, 36, 32, 0.08);
}

.market-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.market-card h3,
.market-card p {
  margin: 0;
}

.market-card p {
  color: var(--muted);
}

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

.market-stats div {
  padding: 10px;
  background: #f4f6f2;
  border-radius: 8px;
}

.market-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dm-panel {
  position: sticky;
  top: 92px;
  grid-column: 2;
  grid-row: 2 / span 3;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.dm-head span:first-child {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dm-head h3 {
  margin: 2px 0 0;
}

.dm-thread {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 270px;
  max-height: 360px;
  overflow: auto;
  padding: 16px;
  background: #f8f7f2;
}

.dm-bubble {
  max-width: 86%;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dm-bubble.me {
  justify-self: end;
  color: white;
  background: var(--herb);
  border-color: var(--herb);
}

.dm-bubble strong {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
}

.dm-compose {
  padding: 16px;
}

.quick-message-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.quick-message-row .secondary-action {
  min-height: 40px;
  padding: 0 10px;
  font-size: 13px;
}

.dm-compose textarea {
  min-height: 92px;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  color: var(--herb-dark);
  background: #e3f0e8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.opportunity dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.mini-card {
  padding: 22px;
}

.mini-card ol {
  padding-left: 22px;
  color: #46564e;
}

.mini-card li + li {
  margin-top: 10px;
}

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

.timeline article {
  min-height: 210px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  place-items: center;
  color: white;
  background: var(--tomato);
  border-radius: 8px;
  font-weight: 900;
}

.timeline p,
.opportunity p {
  color: #4c5b53;
}

.verification-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr) minmax(240px, 0.6fr);
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  padding: 22px;
}

.verify-controls {
  display: grid;
  gap: 8px;
}

output {
  display: block;
  min-height: 54px;
  padding: 14px;
  color: #663c06;
  background: #fff3d8;
  border: 1px solid #ecd097;
  border-radius: 8px;
  font-weight: 900;
}

output.ready {
  color: #174a37;
  background: #e3f0e8;
  border-color: #b4d5c0;
}

.pilot,
.accounts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 450px);
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(rgba(247, 244, 238, 0.84), rgba(247, 244, 238, 0.92)),
    url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.pilot-copy {
  max-width: 720px;
}

.accounts {
  align-items: start;
}

.dashboard-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(28, 36, 32, 0.08);
}

.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.dashboard-head span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-head strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.account-list {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.account-row {
  padding: 14px;
  background: #f8f9f5;
  border: 1px solid #e0e6df;
  border-radius: 8px;
}

.account-row h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.account-row p {
  margin-bottom: 10px;
  color: var(--muted);
}

.account-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-meta span,
.account-meta a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  color: #385247;
  background: #e9eee8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.empty-state {
  color: var(--muted);
  margin: 0;
}

.role-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.role-toggle label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  background: #f4f6f2;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.role-toggle input {
  width: 16px;
  min-height: 16px;
  margin-right: 8px;
}

.form-note {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 4vw, 52px);
  color: #516058;
  border-top: 1px solid rgba(28, 36, 32, 0.1);
}

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

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .workspace,
  .app-grid,
  .applicant-grid,
  .marketplace,
  .market-toolbar,
  .creator-board,
  .pilot,
  .accounts,
  .verification-demo {
    grid-template-columns: 1fr;
  }

  .workspace {
    min-height: auto;
  }

  .quote-box {
    position: static;
  }

  .marketplace > .section-head,
  .marketplace-tabs,
  .market-panel,
  .dm-panel {
    grid-column: 1;
  }

  .dm-panel {
    position: static;
    grid-row: auto;
  }

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

@media (max-width: 640px) {
  h1 {
    font-size: 42px;
  }

  .hero-actions,
  footer {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .brief-grid,
  .two-col,
  .market-grid,
  .market-stats,
  .market-actions,
  .quick-message-row,
  .opportunity,
  .opportunity dl,
  .creator-profile-preview dl,
  .creator-topline,
  .decision-row,
  .timeline,
  .role-toggle {
    grid-template-columns: 1fr;
  }

  .campaign-photo,
  .opportunity img {
    min-height: 220px;
  }
}
