:root {
  --ink: #262019;
  --muted: #6e6355;
  --soft: #faf6ef;
  --paper: #ffffff;
  --line: #e6dcc8;
  --line-soft: #f2eada;
  --orange: #d9642e;
  --orange-dark: #b8541f;
  --orange-tint: #f7dfcb;
  --green: #4c7a34;
  --green-bg: #e7f0dc;
  --red-bg: #fbe3d9;
  --header-h: 64px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(38, 32, 25, .06), 0 8px 24px rgba(38, 32, 25, .06);
  --shadow-lg: 0 24px 64px rgba(38, 32, 25, .16);
  --sans: 'DM Sans', system-ui, sans-serif;
  --mono: 'DM Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
  background: rgba(250,246,239,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.desktop-nav {
  display: flex;
  gap: 24px;
  margin-right: auto;
}

.desktop-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}

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

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-trust {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .03em;
}

.header-cta {
  padding: 10px 18px;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .15s;
}

.header-cta:hover { opacity: .85; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  height: 2px;
  background: var(--ink);
  margin: 0 8px;
  border-radius: 2px;
}

/* ── LAYOUT ── */
.site-main { display: block; }

section {
  padding: 88px 32px;
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading { max-width: 640px; margin-bottom: 44px; }

.section-eyebrow {
  color: var(--orange);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.section-heading h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -.02em;
  margin: 0;
  line-height: 1.15;
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 460px) 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
  max-width: 1280px;
}

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

.hero h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: .98;
  letter-spacing: -.03em;
  margin: 0;
}

.hero-kicker {
  color: var(--orange);
  font-weight: 700;
  font-size: 18px;
  margin: 16px 0 0;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 18px 0 0;
  max-width: 440px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero-cta {
  padding: 15px 26px;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(217,100,46,.28);
  transition: transform .15s, box-shadow .15s;
}

.hero-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(217,100,46,.34); }

.hero-cta-note { font-size: 12px; color: var(--muted); font-weight: 600; }

.hero-visual { position: relative; }

.hero-visual-frame {
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--soft);
}

.hero-visual-frame img { width: 100%; height: auto; display: block; }

/* ── OUTCOME STRIP ── */
.outcome-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 0;
  padding-bottom: 0;
  max-width: 1180px;
}

.outcome-item {
  padding: 22px 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.outcome-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--orange-tint);
  color: var(--orange);
  font-weight: 800;
  font-size: 14px;
}

.outcome-item p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

/* ── HOW IT WORKS ── */
.hiw-step {
  display: grid;
  grid-template-columns: minmax(0, 400px) 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--line-soft);
}

.hiw-step:first-of-type { border-top: none; }

.hiw-step--reverse { direction: rtl; }
.hiw-step--reverse > * { direction: ltr; }

.hiw-step--text-only { grid-template-columns: 1fr; }
.hiw-step--text-only .hiw-step-body { max-width: 640px; }

.hiw-step-body {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.hiw-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
}

.hiw-title {
  font-size: 19px;
  font-weight: 800;
  margin: 4px 0 8px;
  letter-spacing: -.01em;
}

.hiw-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 420px;
}

.hiw-step-visual {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--soft);
}

.hiw-step-visual img { width: 100%; height: auto; display: block; }

/* ── FEATURE (Inventory / Cost Centers) ── */
.feature { padding-top: 56px; padding-bottom: 56px; }

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: 56px;
  align-items: center;
}

.feature-copy h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0 0 16px;
}

.feature-desc { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; }

.feature-visual {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--soft);
}

.feature-visual img { width: 100%; height: auto; display: block; }

/* ── SETUP NOTE ── */
.setup-note {
  text-align: center;
  max-width: 680px;
}

.setup-note h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -.02em;
  margin: 0 0 14px;
}

.setup-note p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/* ── PRICING ── */
.pricing .section-heading {
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-single {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 380px;
  margin: 0 auto;
}

.pricing-toggle {
  display: inline-flex;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 28px;
}

.pricing-toggle-btn {
  border: none;
  background: transparent;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s, color .15s;
}

.pricing-toggle-btn.is-active {
  background: var(--orange);
  color: #fff;
}

.pricing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: var(--soft);
  width: 100%;
}

.pricing-amount {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 4px;
  text-align: center;
}

.pricing-amount-period {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 4px;
}

.pricing-savings {
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--orange);
  min-height: 16px;
  margin: 0 0 22px;
}

.pricing-features {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
}

.pricing-features li { padding-left: 20px; position: relative; }
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.pricing-cta {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: opacity .15s;
}

.pricing-cta:hover { opacity: .88; }

.pricing-cta-note {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  margin: 10px 0 0;
}

.pricing-note {
  margin: 24px auto 0;
  max-width: 380px;
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}

.pricing-note a { color: var(--orange); font-weight: 700; text-decoration: none; }

/* ── FAQ ── */
.faq-list { display: grid; gap: 10px; }

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  background: var(--soft);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '+';
  color: var(--orange);
  font-weight: 800;
  font-size: 18px;
  margin-left: 16px;
  flex-shrink: 0;
}

.faq-list details[open] summary::after { content: '−'; }

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ── FOOTER ── */
.site-footer {
  padding: 32px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

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

/* ── MOBILE NAV ── */
.mobile-nav[hidden] { display: none; }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 90;
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}

.mobile-nav a:first-child {
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: center;
  border-bottom: none;
  margin-bottom: 10px;
}

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .header-trust { display: none; }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
    gap: 36px;
  }
  .hero-subtitle { max-width: none; }
  .outcome-strip { grid-template-columns: repeat(2, 1fr); }
  .hiw-step,
  .hiw-step--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .hiw-desc { max-width: none; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-cta-group .header-cta { padding: 8px 14px; font-size: 12px; }
  .menu-toggle { display: flex; }
  section { padding: 56px 20px; }
  .site-header { padding: 0 16px; gap: 16px; }
}
