:root {
  --paper: #fbfbf8;
  --surface: #ffffff;
  --ink: #171615;
  --muted: #67645e;
  --line: #dedbd2;
  --line-strong: #c9c3b6;
  --green: #0b8f6a;
  --green-dark: #07684e;
  --coral: #e85c4a;
  --amber: #e7a72f;
  --violet: #6957d7;
  --soft-green: #e8f6f1;
  --soft-coral: #fff0ed;
  --soft-amber: #fff6df;
  --soft-violet: #f0edff;
  --shadow: 0 24px 70px rgba(25, 24, 22, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  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;
}

input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(222, 219, 210, 0.8);
  background: rgba(251, 251, 248, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  font-size: 12px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a,
.header-cta {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 700;
}

.header-cta:hover {
  border-color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(28px, 4.5vw, 58px);
  align-items: center;
  padding: clamp(38px, 6vw, 62px) clamp(22px, 6vw, 76px) 42px;
}

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

.simple-page {
  padding-top: clamp(54px, 8vw, 90px);
}

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

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

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(11, 143, 106, 0.22);
}

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

.button.secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--ink);
}

.button.full {
  width: 100%;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.proof-strip span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.submission-console {
  width: min(100%, 560px);
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.console-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #f4f4ef;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.status-dot.green {
  background: var(--green);
}

.status-dot.yellow {
  background: var(--amber);
}

.status-dot.coral {
  background: var(--coral);
}

.console-title {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.console-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.console-summary > div {
  min-width: 0;
  padding: 18px;
  background: var(--surface);
}

.summary-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.console-summary strong {
  overflow-wrap: anywhere;
}

.queue-table {
  padding: 8px 18px 18px;
}

.queue-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.queue-row:last-child {
  border-bottom: 0;
}

.queue-head {
  min-height: 44px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tag,
.priority {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}

.tag.green,
.priority.high {
  background: var(--soft-green);
  color: var(--green-dark);
}

.tag.amber,
.priority.medium {
  background: var(--soft-amber);
  color: #77520d;
}

.tag.coral,
.priority.coral {
  background: var(--soft-coral);
  color: #a23124;
}

.tag.violet,
.priority.violet {
  background: var(--soft-violet);
  color: #4230a8;
}

.console-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  color: var(--muted);
  font-size: 12px;
}

.console-footer span {
  padding: 14px;
  background: #f8f8f4;
}

section {
  padding: 88px clamp(22px, 6vw, 76px);
}

.section-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-copy.narrow {
  max-width: 880px;
}

.section-copy p,
.section-heading p,
.problem p,
.boundary-list,
.onboarding-copy p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.step-grid,
.offer-grid,
.pricing-grid,
.deliverable-grid,
.flow-grid,
.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card,
.offer-card,
.price-card,
.deliverable-card,
.flow-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-card {
  padding: 28px;
}

.step-card p,
.offer-card p,
.price-card p,
.deliverable-card p,
.flow-card p,
.faq p {
  color: var(--muted);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 32px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  background: var(--soft-coral);
  color: #a23124;
  font-size: 13px;
  font-weight: 900;
}

.offer-card,
.price-card {
  position: relative;
  padding: 30px;
}

.deliverable-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

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

.deliverable-card {
  padding: 26px;
}

.deliverable-icon {
  display: inline-flex;
  width: 40px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--soft-green);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.workspace-preview {
  display: grid;
  align-content: stretch;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
}

.workspace-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.workspace-header strong {
  color: #ffffff;
}

.workspace-list {
  display: grid;
}

.workspace-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.workspace-list div:last-child {
  border-bottom: 0;
}

.workspace-list span {
  color: rgba(255, 255, 255, 0.68);
}

.workspace-list strong {
  text-align: right;
}

.offer-card.featured,
.price-card.highlighted {
  border-color: rgba(11, 143, 106, 0.55);
  box-shadow: 0 18px 54px rgba(11, 143, 106, 0.12);
}

.feature-label {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

.preview-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.preview-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

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

.preview-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.preview-table tr:last-child td {
  border-bottom: 0;
}

.table-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.report-section {
  padding-top: 78px;
}

.report-preview {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 20px 55px rgba(25, 24, 22, 0.08);
}

.report-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.report-summary div {
  min-width: 0;
  padding: 22px;
  background: #f8f8f4;
}

.report-summary span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.report-summary strong {
  font-size: 34px;
  line-height: 1;
}

.report-table {
  padding: 10px 22px 22px;
}

.report-row {
  display: grid;
  grid-template-columns: 1fr auto 1.7fr;
  gap: 18px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
}

.report-row:last-child {
  border-bottom: 0;
}

.report-head {
  min-height: 46px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.purchase-flow {
  background: var(--paper);
}

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

.flow-card {
  padding: 26px;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 30px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--soft-amber);
  color: #77520d;
  font-size: 12px;
  font-weight: 900;
}

.setup-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 980px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.setup-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.option-grid {
  max-width: 1180px;
}

.price {
  margin: 8px 0 8px;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.price-note {
  min-height: 72px;
}

.price-card .button {
  margin-top: 24px;
}

.boundaries {
  padding-top: 72px;
  padding-bottom: 72px;
}

.boundary-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 38px;
  align-items: center;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #191816;
  color: #ffffff;
}

.boundary-panel .eyebrow,
.boundary-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.boundary-panel h2 {
  margin-bottom: 0;
}

.boundary-list {
  display: grid;
  gap: 12px;
}

.boundary-list p {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

summary {
  min-height: 62px;
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.onboarding {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.onboarding-copy {
  position: sticky;
  top: 100px;
}

.onboarding-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
}

input,
select {
  min-height: 48px;
  padding: 0 13px;
}

textarea {
  padding: 13px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(11, 143, 106, 0.18);
  border-color: var(--green);
}

.full-span {
  grid-column: 1 / -1;
}

.check-label {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  font-weight: 650;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.summary-output {
  min-height: 160px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8f8f4;
  color: var(--muted);
  white-space: pre-wrap;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(22px, 6vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .onboarding,
  .boundary-panel,
  .deliverable-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .submission-console {
    justify-self: start;
  }

  .step-grid,
  .offer-grid,
  .pricing-grid,
  .deliverable-grid,
  .flow-grid,
  .option-grid {
    grid-template-columns: 1fr;
  }

  .price-note {
    min-height: auto;
  }

  .onboarding-copy {
    position: static;
  }

  .setup-panel {
    display: grid;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero,
  section {
    padding-left: 16px;
    padding-right: 16px;
  }

  section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero {
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 24px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-actions {
    margin: 24px 0 20px;
  }

  .console-summary,
  .console-footer,
  .onboarding-form {
    grid-template-columns: 1fr;
  }

  .proof-strip,
  .console-summary,
  .console-footer {
    display: none;
  }

  .submission-console {
    max-height: 190px;
  }

  .queue-table {
    padding: 6px 14px 14px;
  }

  .queue-row {
    grid-template-columns: 1fr auto;
    gap: 10px;
    min-height: 42px;
  }

  .queue-row span:nth-child(2) {
    display: none;
  }

  .queue-table .queue-row:nth-child(n+4) {
    display: none;
  }

  .queue-head {
    min-height: 36px;
  }

  .onboarding-form {
    padding: 18px;
  }

  .workspace-header,
  .workspace-list div,
  .report-row {
    grid-template-columns: 1fr;
  }

  .workspace-header,
  .workspace-list div {
    display: grid;
  }

  .workspace-list strong {
    text-align: left;
  }

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

  .report-row {
    gap: 8px;
    padding: 14px 0;
  }

  .report-head {
    display: none;
  }

  .form-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
  }

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