:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #596864;
  --line: #d9dfd8;
  --paper: #f8f8f3;
  --panel: #fffefa;
  --teal: #0f766e;
  --teal-dark: #0e5f58;
  --green: #2f7d32;
  --coral: #bc624b;
  --fig: #51415f;
  --steel: #334155;
  --amber: #a16207;
  --champagne: #efe7d8;
  --shadow: 0 22px 70px rgba(23, 32, 29, 0.13);
  --shadow-soft: 0 12px 36px rgba(23, 32, 29, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fbfbf7 0%, var(--paper) 45%, #f4f7f3 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header,
.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(248, 248, 243, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 760;
  letter-spacing: 0;
}

.brand span:last-child {
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--teal-dark));
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  font-size: 0.83rem;
  box-shadow: 0 10px 24px rgba(23, 32, 29, 0.16);
}

.nav-links,
.app-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.94rem;
  color: var(--muted);
}

.nav-links a {
  transition: color 0.18s ease, transform 0.18s ease;
}

.nav-links a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-cta {
  min-height: 36px;
  padding: 8px 12px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 720;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.78fr);
  gap: 28px;
  align-items: center;
  min-height: calc(100svh - 132px);
  padding: 34px 5vw 30px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(248, 248, 243, 0.98) 0%, rgba(248, 248, 243, 0.9) 38%, rgba(248, 248, 243, 0.35) 78%),
    url("/static/assets/ecommerce-ops-hero.webp") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(248, 248, 243, 0.92));
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 820px;
  font-size: clamp(2.65rem, 5.4vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.hero-text,
.section-heading p,
.audit-shell p,
.lead-section p,
.plan-band p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 760;
  letter-spacing: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-dark), #153d39);
  box-shadow: 0 12px 28px rgba(14, 95, 88, 0.24);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 254, 250, 0.86);
  border-color: var(--line);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(23, 32, 29, 0.12);
}

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

.metric-row div {
  padding: 14px;
  background: rgba(255, 254, 250, 0.88);
  border: 1px solid rgba(217, 223, 216, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.metric-row dt {
  font-size: 1.35rem;
  font-weight: 820;
}

.metric-row dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.product-preview {
  min-height: 360px;
  background: rgba(255, 254, 250, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.preview-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.8);
}

.preview-toolbar strong {
  color: var(--ink);
}

.preview-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  min-height: 302px;
}

.queue-list {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(239, 231, 216, 0.34), rgba(243, 247, 243, 0.92)),
    #f3f7f3;
  border-right: 1px solid var(--line);
}

.ticket-pill {
  display: grid;
  gap: 5px;
  width: 100%;
  min-height: 66px;
  padding: 12px;
  text-align: left;
  background: rgba(255, 254, 250, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(23, 32, 29, 0.06);
}

.ticket-pill.active {
  border-color: var(--teal);
  box-shadow: inset 4px 0 0 var(--teal);
}

.ticket-pill.danger {
  box-shadow: inset 4px 0 0 var(--coral);
}

.ticket-pill span {
  font-weight: 760;
}

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

.resolution-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
}

.status-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 10px;
  color: var(--green);
  background: #ecf7ed;
  border: 1px solid #cfe6d2;
  border-radius: 8px;
  font-weight: 760;
}

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

.resolution-panel h2 {
  font-size: 2rem;
}

.resolution-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.evidence-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.evidence-row span {
  padding: 8px 10px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--steel);
  font-size: 0.86rem;
}

.band,
.plan-band,
.audit-shell,
.lead-section {
  padding: 78px 5vw;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

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

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

.feature-card,
.price-card {
  position: relative;
  min-height: 190px;
  padding: 22px;
  background: rgba(255, 254, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.feature-card::before,
.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--teal);
}

.feature-card:nth-child(2)::before,
.price-card:nth-child(2)::before {
  background: var(--coral);
}

.feature-card:nth-child(3)::before,
.price-card:nth-child(3)::before {
  background: var(--fig);
}

.feature-card:nth-child(4)::before {
  background: var(--amber);
}

.feature-card p,
.price-card p,
.timeline li {
  color: var(--muted);
  line-height: 1.6;
}

.price {
  color: var(--ink);
  font-size: 2.4rem;
  font-weight: 840;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
}

.price-card.featured {
  border-color: var(--teal);
  box-shadow: 0 18px 46px rgba(15, 118, 110, 0.14);
}

.audit-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 0.8fr;
  gap: 24px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(239, 231, 216, 0.54), rgba(238, 245, 241, 0.96)),
    #eef5f1;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 720;
}

input,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(23, 32, 29, 0.03);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.62);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

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

.wide {
  grid-column: 1 / -1;
}

.audit-result {
  padding: 24px;
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.audit-result span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 720;
}

.audit-result strong {
  display: block;
  margin: 8px 0;
  font-size: 2.6rem;
}

.audit-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.timeline li {
  position: relative;
  min-height: 170px;
  padding: 52px 18px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline li::before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #fff;
  background: var(--steel);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 820;
}

.lead-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  color: var(--teal-dark);
  font-weight: 720;
}

.form-status strong,
.form-status span {
  display: block;
}

.form-status span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 520;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px 5vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.74);
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.legal-page h2 {
  margin-top: 30px;
  font-size: 1.5rem;
}

.legal-page p {
  color: var(--muted);
  line-height: 1.7;
}

.sample-page {
  padding: 56px 5vw 72px;
}

.sample-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: end;
  padding-bottom: 34px;
}

.sample-hero h1 {
  max-width: 900px;
}

.sample-summary,
.sample-metrics div,
.sample-panel,
.sample-validation {
  background: rgba(255, 254, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.sample-summary {
  padding: 24px;
}

.sample-summary span,
.sample-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 760;
  text-transform: uppercase;
}

.sample-summary strong {
  display: block;
  margin: 10px 0;
  color: var(--teal-dark);
  font-size: 3.2rem;
  line-height: 1;
}

.sample-summary p,
.sample-panel p,
.sample-validation p,
.sample-validation li {
  color: var(--muted);
  line-height: 1.65;
}

.sample-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.sample-metrics div {
  min-height: 116px;
  padding: 18px;
}

.sample-metrics strong {
  display: block;
  margin-top: 12px;
  font-size: 1.9rem;
  line-height: 1.05;
}

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

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

.sample-panel {
  min-height: 220px;
  padding: 22px;
}

.sample-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.bar-list,
.signal-list {
  display: grid;
  gap: 12px;
}

.bar-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
}

.bar-list span {
  color: var(--steel);
  font-weight: 720;
}

.bar-list strong {
  color: var(--muted);
  font-size: 0.9rem;
}

.bar-list i {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  height: 8px;
  background: #e7efeb;
  border-radius: 999px;
  overflow: hidden;
}

.bar-list i::before {
  content: "";
  display: block;
  width: var(--bar);
  height: 100%;
  background: var(--teal);
}

.signal-list div {
  padding: 14px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.signal-list strong {
  display: block;
  margin-bottom: 6px;
}

.signal-list p {
  margin-bottom: 0;
}

.sample-validation {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  margin-top: 18px;
  padding: 26px;
}

.sample-validation ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sample-validation li {
  padding: 12px 14px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.partner-page {
  padding: 56px 5vw 72px;
}

.partner-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: end;
  padding-bottom: 34px;
}

.partner-hero h1 {
  max-width: 980px;
}

.partner-proof,
.partner-panel {
  background: rgba(255, 254, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.partner-proof {
  padding: 24px;
}

.partner-proof span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 760;
  text-transform: uppercase;
}

.partner-proof strong {
  display: block;
  margin: 10px 0;
  color: var(--teal-dark);
  font-size: 2rem;
  line-height: 1.08;
}

.partner-proof p,
.partner-panel p,
.partner-economics p,
.partner-form-section p,
.partner-economics li span {
  color: var(--muted);
  line-height: 1.65;
}

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

.partner-panel {
  min-height: 260px;
  padding: 22px;
}

.partner-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.partner-economics,
.partner-form-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  margin: 18px -5vw 0;
  padding: 72px 5vw;
  background:
    linear-gradient(135deg, rgba(239, 231, 216, 0.52), rgba(238, 245, 241, 0.96)),
    #eef5f1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partner-economics ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-economics li {
  min-height: 150px;
  padding: 18px;
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.partner-economics li strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}

.pilot-page {
  padding: 56px 5vw 72px;
}

.pilot-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 32px;
  align-items: end;
  padding-bottom: 34px;
}

.pilot-hero h1 {
  max-width: 980px;
}

.pilot-preview,
.pilot-panel {
  background: rgba(255, 254, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.pilot-preview {
  overflow: hidden;
}

.pilot-preview-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
}

.pilot-preview-body div {
  min-height: 96px;
  padding: 14px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pilot-preview-body span,
.pilot-terms li span,
.pilot-checklist li {
  color: var(--muted);
  line-height: 1.55;
}

.pilot-preview-body span {
  display: block;
  font-size: 0.78rem;
  font-weight: 780;
  text-transform: uppercase;
}

.pilot-preview-body strong {
  display: block;
  margin-top: 10px;
  color: var(--teal-dark);
  font-size: 2rem;
  line-height: 1;
}

.pilot-preview p {
  margin: 0;
  padding: 0 18px 20px;
  color: var(--muted);
  line-height: 1.6;
}

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

.pilot-panel {
  min-height: 260px;
  padding: 22px;
}

.pilot-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.pilot-panel p,
.pilot-terms p,
.pilot-form-section p {
  color: var(--muted);
  line-height: 1.65;
}

.pilot-terms,
.pilot-form-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  margin: 18px -5vw 0;
  padding: 72px 5vw;
  background:
    linear-gradient(135deg, rgba(239, 231, 216, 0.52), rgba(238, 245, 241, 0.96)),
    #eef5f1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pilot-terms ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pilot-terms li {
  min-height: 150px;
  padding: 18px;
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.pilot-terms li strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}

.pilot-checklist {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 30px;
  margin-top: 18px;
  padding: 42px 0;
}

.pilot-checklist ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pilot-checklist li {
  padding: 14px;
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.proof-page {
  padding: 56px 5vw 72px;
}

.proof-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 32px;
  align-items: end;
  padding-bottom: 34px;
}

.proof-hero h1 {
  max-width: 980px;
}

.proof-summary,
.proof-panel,
.proof-metrics div {
  background: rgba(255, 254, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.proof-summary {
  overflow: hidden;
}

.proof-summary-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
}

.proof-summary-body div {
  min-height: 96px;
  padding: 14px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-summary-body span,
.proof-metrics span,
.proof-list li span,
.proof-economics li span {
  color: var(--muted);
  line-height: 1.55;
}

.proof-summary-body span,
.proof-metrics span {
  display: block;
  font-size: 0.78rem;
  font-weight: 780;
  text-transform: uppercase;
}

.proof-summary-body strong,
.proof-metrics strong {
  display: block;
  margin-top: 10px;
  color: var(--teal-dark);
  font-size: 2rem;
  line-height: 1;
}

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.proof-metrics div {
  min-height: 190px;
  padding: 18px;
}

.proof-metrics p,
.proof-panel p,
.proof-economics p,
.proof-form-section p {
  color: var(--muted);
  line-height: 1.65;
}

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

.proof-panel {
  min-width: 0;
  padding: 22px;
}

.proof-wide {
  grid-column: 1 / -1;
}

.proof-panel-heading {
  max-width: 760px;
  margin-bottom: 18px;
}

.score-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.score-row {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr 0.55fr 1.5fr;
  min-width: 0;
  border-top: 1px solid var(--line);
}

.score-row:first-child {
  border-top: 0;
}

.score-row span {
  min-width: 0;
  padding: 13px;
  overflow-wrap: anywhere;
  color: var(--steel);
  border-left: 1px solid var(--line);
  line-height: 1.45;
}

.score-row span:first-child {
  border-left: 0;
}

.score-head span {
  color: var(--muted);
  background: #f7f9f7;
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

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

.proof-list li {
  padding: 14px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-list strong {
  display: block;
  margin-bottom: 6px;
}

.proof-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.proof-steps li {
  color: var(--muted);
  line-height: 1.65;
}

.proof-economics,
.proof-form-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  margin: 18px -5vw 0;
  padding: 72px 5vw;
  background:
    linear-gradient(135deg, rgba(239, 231, 216, 0.52), rgba(238, 245, 241, 0.96)),
    #eef5f1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-economics ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-economics li {
  min-height: 150px;
  padding: 18px;
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.proof-economics li strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}

.calculator-page {
  padding: 56px 5vw 72px;
}

.calculator-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 32px;
  align-items: end;
  padding-bottom: 34px;
}

.calculator-hero h1 {
  max-width: 980px;
}

.calculator-signal,
.calculator-form,
.calculator-scenarios article {
  background: rgba(255, 254, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.calculator-signal {
  padding: 24px;
}

.calculator-signal span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 760;
  text-transform: uppercase;
}

.calculator-signal strong {
  display: block;
  margin: 10px 0;
  color: var(--teal-dark);
  font-size: 2rem;
  line-height: 1.08;
}

.calculator-signal p,
.calculator-scenarios p,
.calculator-economics p,
.calculator-form-section p,
.calculator-economics li span {
  color: var(--muted);
  line-height: 1.65;
}

.calculator-tool {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: start;
  margin: 18px -5vw 0;
  padding: 42px 5vw;
  background:
    linear-gradient(135deg, rgba(239, 231, 216, 0.52), rgba(238, 245, 241, 0.96)),
    #eef5f1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calculator-form {
  padding: 22px;
}

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

.calculator-scenarios article {
  min-height: 250px;
  padding: 22px;
}

.calculator-scenarios h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.calculator-economics,
.calculator-form-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  margin: 18px -5vw 0;
  padding: 72px 5vw;
  background:
    linear-gradient(135deg, rgba(239, 231, 216, 0.52), rgba(238, 245, 241, 0.96)),
    #eef5f1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calculator-economics ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.calculator-economics li {
  min-height: 150px;
  padding: 18px;
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.calculator-economics li strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}

.dashboard-body {
  min-height: 100vh;
  background: #f4f7f3;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 820;
}

.app-layout {
  display: grid;
  grid-template-columns: 250px minmax(240px, 0.75fr) minmax(340px, 1.1fr) minmax(280px, 0.8fr);
  gap: 16px;
  min-height: calc(100vh - 72px);
  padding: 16px;
}

.app-sidebar,
.queue-column,
.resolver-column,
.report-column {
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.app-sidebar h1,
.app-section-heading h2 {
  font-size: 1.35rem;
  line-height: 1.15;
}

.sidebar-metrics {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.sidebar-metrics div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sidebar-metrics dt {
  color: var(--muted);
}

.sidebar-metrics dd {
  margin: 0;
  font-weight: 820;
}

.policy-box {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #f9f6ef;
  border: 1px solid #eadcc4;
  border-radius: 8px;
}

.policy-box span {
  color: var(--muted);
  font-size: 0.9rem;
}

.ticket-list {
  display: grid;
  gap: 10px;
}

.ticket-card {
  display: grid;
  gap: 7px;
  width: 100%;
  padding: 14px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.ticket-card:hover,
.ticket-card.selected {
  border-color: var(--teal);
}

.ticket-card strong {
  display: block;
}

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

.resolver-output,
.report-panel,
.audit-mini {
  display: grid;
  gap: 14px;
}

.empty-state {
  color: var(--muted);
  padding: 26px;
  background: #f7f9f7;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.badge-row,
.action-list,
.evidence-list,
.report-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  padding: 7px 9px;
  color: var(--steel);
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 760;
}

.badge.low {
  color: var(--green);
  background: #ecf7ed;
  border-color: #cfe6d2;
}

.badge.medium {
  color: var(--amber);
  background: #fff8e6;
  border-color: #efd89f;
}

.badge.high {
  color: var(--coral);
  background: #fff1ec;
  border-color: #f0c4b5;
}

.reply-box,
.note-box,
.report-stat {
  padding: 14px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reply-box pre {
  white-space: pre-wrap;
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
}

.action-list div,
.evidence-list div {
  width: 100%;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.report-stat {
  flex: 1 1 130px;
}

.report-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.report-stat strong {
  display: block;
  margin-top: 4px;
  font-size: 1.35rem;
}

.audit-mini {
  margin-top: 18px;
  padding: 16px;
  background: #f9f6ef;
  border: 1px solid #eadcc4;
  border-radius: 8px;
}

.workbench-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  gap: 18px;
  min-height: calc(100vh - 72px);
  padding: 18px;
}

.workbench-form-section,
.workbench-output-section {
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.markdown-preview {
  max-height: 540px;
  overflow: auto;
}

.markdown-preview pre {
  margin: 0;
  white-space: pre-wrap;
  font-size: 0.88rem;
  line-height: 1.55;
}

.pipeline-page {
  padding: 28px 5vw 60px;
}

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

.pipeline-summary {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pipeline-summary span {
  color: var(--muted);
}

.pipeline-summary strong {
  font-size: 1.9rem;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
}

.pursuit-panel {
  margin-bottom: 18px;
}

.pipeline-panel {
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.validation-panel,
.validation-output,
.validation-history {
  display: grid;
  gap: 14px;
}

.validation-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.validation-form textarea {
  min-height: 190px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.55;
}

.validation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.validation-table .pipeline-table {
  min-width: 620px;
}

.validation-history h3 {
  margin: 4px 0 0;
}

.validation-history-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.pursuit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.reply-action-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.pursuit-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pursuit-card strong {
  font-size: 1.05rem;
}

.pursuit-card span,
.pursuit-card p {
  color: var(--muted);
  line-height: 1.5;
}

.reply-action-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reply-action-card strong {
  font-size: 1.05rem;
}

.reply-action-card span,
.reply-action-card p {
  color: var(--muted);
  line-height: 1.5;
}

.reply-action-card p {
  margin-bottom: 0;
}

.reply-action-command {
  padding: 10px;
  overflow-wrap: anywhere;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.8rem;
  line-height: 1.45;
}

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

.asset-chip {
  max-width: 100%;
  padding: 6px 8px;
  overflow-wrap: anywhere;
  color: var(--steel);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.76rem;
}

.pursuit-card p {
  margin-bottom: 0;
}

.pursuit-meta {
  display: grid;
  gap: 8px;
  align-content: end;
  font-size: 0.84rem;
}

.route-link {
  color: var(--teal-dark);
  font-weight: 780;
}

.pipeline-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.pipeline-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.pipeline-table th,
.pipeline-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.pipeline-table th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

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

.draft-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.draft-card pre {
  max-height: 220px;
  overflow: auto;
  margin: 0;
  white-space: pre-wrap;
  color: var(--steel);
  font-size: 0.86rem;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .hero-shell,
  .audit-shell,
  .lead-section,
  .sample-hero,
  .sample-validation,
  .partner-hero,
  .partner-economics,
  .partner-form-section,
  .pilot-hero,
  .pilot-terms,
  .pilot-checklist,
  .pilot-form-section,
  .proof-hero,
  .proof-economics,
  .proof-form-section,
  .calculator-hero,
  .calculator-tool,
  .calculator-economics,
  .calculator-form-section,
  .pipeline-hero,
  .pipeline-grid {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
  }

  .feature-grid,
  .timeline,
  .partner-grid,
  .pilot-grid,
  .proof-metrics,
  .proof-report-grid,
  .calculator-scenarios,
  .sample-grid,
  .sample-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-layout {
    grid-template-columns: 1fr 1fr;
  }

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

  .app-sidebar,
  .report-column {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-header,
  .app-header {
    position: static;
    padding: 14px;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
  }

  .nav-links {
    flex: 1 1 210px;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
  }

  .hero-shell,
  .band,
  .plan-band,
  .audit-shell,
  .lead-section,
  .sample-page {
    padding: 38px 18px;
  }

  .partner-page {
    padding: 38px 18px;
  }

  .pilot-page {
    padding: 38px 18px;
  }

  .proof-page {
    padding: 38px 18px;
  }

  .calculator-page {
    padding: 38px 18px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    min-height: calc(100svh - 128px);
    background:
      linear-gradient(90deg, rgba(248, 248, 243, 0.98) 0%, rgba(248, 248, 243, 0.88) 62%, rgba(248, 248, 243, 0.5) 100%),
      url("/static/assets/ecommerce-ops-hero.webp") center / cover no-repeat;
  }

  h1 {
    font-size: 2.75rem;
  }

  .product-preview {
    display: none;
    min-height: auto;
  }

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

  .queue-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-row,
  .feature-grid,
  .pricing-grid,
  .timeline,
  .partner-grid,
  .partner-economics ul,
  .pilot-grid,
  .pilot-terms ul,
  .pilot-preview-body,
  .proof-metrics,
  .proof-economics ul,
  .proof-summary-body,
  .proof-report-grid,
  .calculator-form,
  .calculator-scenarios,
  .calculator-economics ul,
  .sample-metrics,
  .sample-grid,
  .sample-grid-three,
  .audit-form,
  .lead-form,
  .app-layout,
  .validation-form,
  .workbench-form {
    grid-template-columns: 1fr;
  }

  .hero-shell .metric-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-shell .metric-row div {
    padding: 10px;
  }

  .hero-shell .metric-row dt {
    font-size: 1.05rem;
  }

  .hero-shell .metric-row dd {
    font-size: 0.76rem;
  }

  .queue-column,
  .resolver-column,
  .app-sidebar,
  .report-column,
  .workbench-layout {
    grid-column: auto;
  }

  .workbench-layout {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .partner-economics,
  .partner-form-section,
  .pilot-terms,
  .pilot-form-section,
  .proof-economics,
  .proof-form-section {
    margin-right: -18px;
    margin-left: -18px;
    padding: 24px;
  }

  .calculator-tool,
  .calculator-economics,
  .calculator-form-section {
    margin-right: -18px;
    margin-left: -18px;
    padding: 24px;
  }

  .score-row,
  .score-row.score-head {
    grid-template-columns: 1fr;
  }

  .score-row span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .score-row span:first-child {
    border-top: 0;
  }

  .pilot-checklist {
    padding: 24px 0;
  }

  .pipeline-page {
    padding: 24px 12px 48px;
  }

  .pipeline-table-wrap {
    overflow-x: visible;
  }

  .pipeline-table,
  .pipeline-table thead,
  .pipeline-table tbody,
  .pipeline-table tr,
  .pipeline-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .pipeline-table thead {
    display: none;
  }

  .pipeline-table tr {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f7f9f7;
  }

  .pipeline-table td {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
  }

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

  .pipeline-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 820;
    text-transform: uppercase;
  }
}
