:root {
  --bg: #f5f7f0;
  --surface: #ffffff;
  --surface-strong: #edf1e5;
  --ink: #20231f;
  --muted: #687063;
  --line: rgba(32, 35, 31, .13);
  --accent: #c93d5a;
  --accent-dark: #9f2841;
  --green: #2f8b6c;
  --blue: #2d6f98;
  --gold: #b67b23;
  --shadow: 0 24px 80px rgba(31, 35, 28, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(32, 35, 31, .08);
  background: rgba(245, 247, 240, .88);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.hero-actions,
.plan-row,
.market-grid,
.intro-strip,
.process-list {
  display: flex;
}

.brand {
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #20231f;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.site-nav {
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.header-action:hover,
.header-action:focus-visible {
  color: var(--accent-dark);
}

.header-action {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 850;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(640px, 86svh, 820px);
  overflow: hidden;
  padding: 136px clamp(18px, 5vw, 72px) 72px;
  background: #eef4ec;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 247, 240, .34);
  pointer-events: none;
}

.hero-scene {
  position: absolute;
  inset: 70px 0 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: clamp(18px, 4vw, 54px);
  opacity: .96;
}

.scene-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 1040px;
  margin-left: auto;
  color: #3b4139;
  font-size: 12px;
  font-weight: 850;
}

.scene-toolbar span {
  padding: 8px 11px;
  border: 1px solid rgba(32, 35, 31, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 10px 30px rgba(30, 40, 30, .08);
}

.scene-logo {
  background: #20231f !important;
  color: #fff;
}

.scene-board {
  display: grid;
  grid-template-columns: minmax(190px, .76fr) minmax(260px, 1fr) minmax(280px, 1.1fr);
  grid-template-rows: minmax(148px, auto) minmax(184px, auto);
  gap: 16px;
  width: min(980px, 72vw);
  margin-left: auto;
  transform: rotate(-2deg) translateY(12px);
}

.scene-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(32, 35, 31, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
}

.scene-panel strong {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
}

.inventory-panel {
  grid-row: span 2;
}

.formula-panel {
  background: rgba(32, 35, 31, .92);
  color: #fff;
}

.products-panel {
  grid-row: span 2;
}

.sync-panel {
  grid-column: 2;
}

.inventory-line,
.product-row,
.channel,
.formula-grid {
  display: grid;
  gap: 8px;
}

.inventory-line,
.product-row,
.channel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 38px;
  border-top: 1px solid rgba(32, 35, 31, .09);
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.inventory-line b,
.product-row b,
.channel b {
  color: var(--ink);
  font-weight: 900;
}

.formula {
  margin: 10px 0 18px;
  color: #ffcf71;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 950;
}

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

.formula-grid span {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #e8eee2;
  font-size: 12px;
  font-weight: 850;
}

.product-row.ready b,
.channel.active b {
  color: var(--green);
}

.product-row.warn b,
.channel.planned b {
  color: var(--gold);
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(650px, 100%);
  min-width: 0;
}

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

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(46px, 10vw, 104px);
  line-height: .92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.hero-copy,
.section-copy p,
.market-card p,
.plan p,
.process-list p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 28px;
  color: #3f463b;
  font-size: clamp(18px, 2.2vw, 23px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
}

.section {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 26px;
  padding-bottom: 26px;
  background: #20231f;
  color: #fff;
}

.intro-strip div {
  display: grid;
  gap: 6px;
  min-height: 90px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.intro-strip strong {
  font-size: 22px;
}

.intro-strip span {
  color: rgba(255, 255, 255, .72);
  line-height: 1.5;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: #fff;
}

.section-copy {
  max-width: 620px;
}

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

.process-list article,
.market-card,
.plan,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.process-list article {
  display: grid;
  min-height: 250px;
  padding: 22px;
}

.process-list span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 950;
}

.process-list strong {
  align-self: end;
  font-size: 24px;
}

.marketplace-section {
  background: #f2f5ec;
}

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

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

.market-card,
.plan {
  min-height: 260px;
  padding: 24px;
}

.market-card.active {
  border-color: rgba(201, 61, 90, .34);
  box-shadow: 0 18px 48px rgba(201, 61, 90, .12);
}

.market-status {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.pricing-section {
  background: #fff;
}

.plan {
  display: grid;
  gap: 12px;
  align-content: start;
}

.plan.featured {
  background: #20231f;
  color: #fff;
}

.plan.featured p {
  color: rgba(255, 255, 255, .72);
}

.plan strong {
  align-self: end;
  color: var(--accent-dark);
}

.plan.featured strong {
  color: #ffcf71;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .55fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background: #edf1e5;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.lead-form input:focus,
.lead-form select:focus,
.button:focus-visible,
.site-nav a:focus-visible,
.header-action:focus-visible {
  outline: 3px solid rgba(201, 61, 90, .24);
  outline-offset: 3px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .scene-board {
    width: 105vw;
    transform: rotate(-2deg) translate(28px, 80px);
  }

  .two-column,
  .contact-section,
  .process-list,
  .market-grid,
  .plan-row,
  .intro-strip {
    grid-template-columns: 1fr;
  }

  .process-list article,
  .market-card,
  .plan {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
    padding: 12px 14px;
  }

  .brand span:last-child {
    max-width: 148px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-action {
    font-size: 13px;
  }

  .hero {
    min-height: 86svh;
    padding: 104px 18px 42px;
  }

  .hero::after {
    background: rgba(245, 247, 240, .64);
  }

  .hero-scene {
    inset: 64px 0 0;
    padding: 12px;
  }

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

  .scene-board {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 10px;
    width: 150vw;
    transform: rotate(-2deg) translate(54px, 104px);
  }

  .scene-panel {
    padding: 13px;
  }

  .inventory-panel,
  .products-panel,
  .sync-panel {
    grid-row: auto;
    grid-column: auto;
  }

  .formula {
    font-size: 28px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 48px 18px;
  }

  .intro-strip {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}
