/* ============================================================
   Tokens — same palette as the product itself (Simpli Shop
   Manager's actual UI), so the marketing site and the live demo
   feel like one product, not a brochure bolted onto an app.
   ============================================================ */
:root {
  --steel: #2B3138;
  --steel-light: #3D444C;
  --ink: #1E2226;
  --ink-soft: #5B6169;
  --paper: #F6F5F2;
  --panel: #FFFFFF;
  --line: #E4E1DA;
  --amber: #D97B1F;
  --amber-soft: #F3D9B8;
  --green: #3E8C5A;
  --green-soft: #DCEFE2;
  --blue-soft: #DDE6F0;
  --blue-ink: #2A4A70;

  --font-display: "Archivo", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1em; max-width: 62ch; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }

.section-lede {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 56ch;
  margin-bottom: 44px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:focus-visible {
  outline: 3px solid var(--blue-ink);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--amber);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(217,123,31,0.35); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--steel); }
.btn-block { width: 100%; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(43,49,56,0.94); /* --steel, same as the footer */
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.brand-logo-img {
  height: 72px;
  width: auto;
  display: block;
}
.brand-logo-footer {
  height: 60px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.95rem;
  font-weight: 500;
}
.main-nav a { text-decoration: none; color: #C7CCD1; }
.main-nav a:hover { color: #fff; }
.nav-login {
  background: var(--paper);
  color: var(--ink) !important;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 600;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.nav-login:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.nav-signup {
  background: var(--amber);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 700;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.nav-signup:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217,123,31,0.35);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-top: 72px; padding-bottom: 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  max-width: 15ch;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin: 28px 0 18px;
  flex-wrap: wrap;
}
.hero-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
}

/* --- Phone mockup: the one bold visual moment on the page --- */
.hero-visual { display: flex; justify-content: center; }
.phone {
  width: 300px;
  background: var(--steel);
  border-radius: 34px;
  padding: 14px 12px;
  box-shadow: 0 30px 60px -20px rgba(43,49,56,0.45);
  animation: phone-rise 0.7s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes phone-rise {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .phone { animation: none; }
}
.phone-notch {
  width: 70px;
  height: 6px;
  background: rgba(255,255,255,0.25);
  border-radius: 4px;
  margin: 0 auto 12px;
}
.phone-screen {
  background: var(--paper);
  border-radius: 20px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.msg-bubble {
  font-size: 0.85rem;
  line-height: 1.4;
  padding: 10px 13px;
  border-radius: 12px;
}
.msg-shop {
  background: var(--panel);
  border: 1px solid var(--line);
  border-bottom-left-radius: 3px;
  align-self: flex-start;
}
.dvi-photo {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.dvi-photo-fill {
  height: 96px;
  background: linear-gradient(135deg, #C9CDD1 0%, #9AA1A8 55%, #7C838B 100%);
}
.dvi-caption {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-soft);
  padding: 7px 10px;
}
.approve-row { display: flex; flex-direction: column; gap: 8px; }
.approve-btn, .decline-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 0;
  border-radius: 8px;
  border: none;
  cursor: default;
}
.approve-btn { background: var(--green); color: #fff; }
.decline-btn { background: transparent; color: #B4432E; border: 1.5px solid #B4432E; }

/* ============================================================
   How it works — a genuine 3-step sequence, so numbering is earned
   ============================================================ */
.how { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.flow-step { position: relative; padding-top: 8px; }
.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--amber-soft);
  color: #8A4E10;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
}
.flow-step p { color: var(--ink-soft); font-size: 0.97rem; }

/* ============================================================
   Feature rows
   ============================================================ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: none; }
.feature-row-reverse .feature-copy { order: 2; }
.feature-row-reverse .feature-visual { order: 1; }
.feature-copy p { color: var(--ink-soft); }

/* --- job board mock --- */
.mock-board {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-board-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--paper);
  border-radius: 6px;
  padding: 11px 13px;
}
.mock-board-text { display: flex; flex-direction: column; gap: 2px; }
.mock-board-text strong { font-size: 0.92rem; }
.mock-board-text span { font-size: 0.78rem; color: var(--ink-soft); }
.mock-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  white-space: nowrap;
}
.mock-pill-amber { background: var(--amber-soft); color: #8A4E10; }
.mock-pill-blue { background: var(--blue-soft); color: var(--blue-ink); }
.mock-pill-green { background: var(--green-soft); color: #256240; }

/* --- inventory mock --- */
.mock-inventory {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-inv-row {
  display: flex;
  justify-content: space-between;
  background: var(--paper);
  border-radius: 6px;
  padding: 11px 13px;
  font-size: 0.88rem;
}
.mock-inv-low { background: #F5DBD4; }
.mock-stock-ok { color: var(--green); font-weight: 600; }
.mock-stock-low { color: #8A2F1C; font-weight: 700; }

/* --- chart mock --- */
.mock-chart {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 20px 14px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 180px;
}
.mock-bar {
  flex: 1;
  background: var(--steel-light);
  border-radius: 4px 4px 0 0;
}
.mock-bar-accent { background: var(--amber); }

/* --- followup mock --- */
.mock-followup {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}
.mock-followup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.mock-value { font-weight: 700; }
.mock-send-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--amber);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  cursor: default;
}

/* ============================================================
   Demo CTA band
   ============================================================ */
.demo-cta {
  background: var(--steel);
  color: #fff;
}
.demo-cta h2 { color: #fff; }
.demo-cta p { color: #C7CCD1; }
.demo-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* ============================================================
   Positioning — "built for you, not enterprise chains"
   ============================================================ */
.positioning {
  background: var(--steel);
  color: #fff;
}
.positioning h2 { color: #fff; max-width: 18ch; }
.positioning-copy p { color: #C7CCD1; }
.positioning-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.positioning-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.positioning-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 22px 24px;
}
.positioning-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--amber);
}
.positioning-stat-num span { font-size: 1rem; font-weight: 500; color: #B9C0C7; }
.positioning-stat-label { color: #C7CCD1; font-size: 0.92rem; margin-top: 4px; }

/* ============================================================
   Comparison table
   ============================================================ */
.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 640px;
}
.comparison-table th, .comparison-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.comparison-table thead th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-bottom: 2px solid var(--line);
}
.comparison-table th.comparison-us {
  color: var(--ink);
  background: var(--amber-soft);
}
.comparison-table td.comparison-us {
  background: rgba(243,217,184,0.35);
  font-weight: 600;
}
.comparison-row-label { color: var(--ink-soft); font-weight: 500; white-space: nowrap; }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.check { color: var(--green); font-weight: 600; }
.check::before { content: "✓ "; }
.cross { color: var(--ink-soft); }
.comparison-footnote {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 16px;
  max-width: 80ch;
}

/* ============================================================
   Pricing
   ============================================================ */
.price-table {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.price-plan {
  background: var(--panel);
  border: 1.5px solid var(--steel);
  border-radius: 14px;
  padding: 36px 32px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  margin: 6px 0 4px;
}
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.price-desc { color: var(--ink-soft); }
.price-list {
  list-style: none;
  margin: 20px 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-list li {
  padding-left: 26px;
  position: relative;
  font-size: 0.95rem;
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-soft);
  box-shadow: inset 0 0 0 4px var(--green);
}
.price-note-card {
  background: var(--amber-soft);
  border-radius: 14px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.price-note-card h3 { color: #6B3A0C; }
.price-note-card p { color: #6B3A0C; }

/* ============================================================
   Founder note
   ============================================================ */
.founder { padding: 56px 0 96px; }
.founder-inner { max-width: 62ch; }
.founder p { color: var(--ink-soft); font-size: 1.02rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--steel);
  color: #B9C0C7;
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.brand-footer { color: #fff; }
.footer-tagline { color: #8A939C; font-size: 0.85rem; margin: 6px 0 0; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; font-size: 0.9rem; }
.footer-nav a { text-decoration: none; color: #C7CCD1; }
.footer-nav a:hover { color: #fff; }
.footer-copy { font-size: 0.82rem; color: #8A939C; margin: 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 880px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--steel);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 10px 0; }
  .nav-login { width: 100%; text-align: center; margin-top: 6px; }
  .nav-signup { width: 100%; text-align: center; margin-top: 6px; }
  .nav-toggle { display: flex; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 8px; }
  .phone { width: 260px; }

  .flow { grid-template-columns: 1fr; gap: 28px; }
  .feature-row,
  .feature-row-reverse { grid-template-columns: 1fr; }
  .feature-row-reverse .feature-copy,
  .feature-row-reverse .feature-visual { order: initial; }

  .price-table { grid-template-columns: 1fr; }
  .positioning-grid { grid-template-columns: 1fr; }
  .demo-inner { text-align: left; }
}

@media (max-width: 520px) {
  section { padding: 56px 0; }
  .hero { padding-top: 40px; }
}
