/* ============================================
   FLINTPOS MARKETING WEBSITE — STYLES
   Design system matches the FlintPOS app:
   Dark slate backgrounds · Green accent · Mono font
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0f172a;
  color: #cbd5e1;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- DESIGN TOKENS --- */
:root {
  --surface-900: #0f172a;
  --surface-800: #1e293b;
  --surface-700: #334155;
  --surface-600: #475569;
  --surface-500: #64748b;
  --surface-400: #94a3b8;
  --surface-300: #cbd5e1;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-700: #15803d;
  --green-900: #14532d;
  --green-950: #052e16;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --red-500: #ef4444;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.3);
  --shadow-lg: 0 4px 6px rgba(0,0,0,0.5), 0 16px 48px rgba(0,0,0,0.4);
}

/* --- UTILITIES --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-green { color: var(--green-500); }
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 12px;
  display: block;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 18px;
  color: var(--surface-400);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-500);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 0 0 0 rgba(34,197,94,0);
}
.btn-primary:hover {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(34,197,94,0.35);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--surface-300);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--surface-700);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.btn-ghost:hover {
  border-color: var(--green-500);
  color: var(--green-500);
  background: rgba(34,197,94,0.06);
}
.btn-lg { font-size: 16px; padding: 14px 32px; }
.btn-full { width: 100%; justify-content: center; margin-top: 4px; }
.btn-nav {
  background: var(--green-500);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: var(--radius);
  transition: background 0.15s;
}
.btn-nav:hover { background: #16a34a; }
.nav-links a.btn-nav,
.mobile-menu a.btn-nav { color: #fff !important; }

/* --- BADGES / TAGS --- */
.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
}
.tag--amber { background: rgba(245,158,11,0.15); color: var(--amber-400); }
.tag--green { background: rgba(34,197,94,0.15); color: var(--green-400); }
.tag--blue  { background: rgba(59,130,246,0.15); color: var(--blue-400); }
.tag--teal  { background: rgba(20,184,166,0.15); color: var(--teal-400); }
.tag--gray  { background: rgba(100,116,139,0.2); color: var(--surface-400); }

/* ============================================
   NAV
   ============================================ */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-700);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.logo-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.logo-text {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 18px;
  color: #f1f5f9;
  letter-spacing: 0;
}
.logo-tagline {
  font-size: 9px;
  font-weight: 500;
  color: var(--green-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}
.nav-phone {
  margin-right: auto;
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-phone:hover { color: var(--green-400); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #f1f5f9;
  transition: color 0.15s;
}
.nav-links a:hover { color: #fff; }
.nav-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-mobile-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--surface-400);
  border-radius: 2px;
  transition: background 0.15s;
}
.nav-mobile-btn:hover span { background: #f1f5f9; }
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--surface-700);
  gap: 2px;
}
.nav-mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--surface-300);
  padding: 10px 0;
  border-bottom: 1px solid var(--surface-800);
}
.nav-mobile-menu a:last-child { border-bottom: none; color: var(--green-500); }
.nav-mobile-menu.open { display: flex; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(34,197,94,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: var(--green-400);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 800;
  color: #f1f5f9;
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 24px;
}
.hero-headline-sub {
  display: block;
  margin-top: 14px;
  color: var(--green-500);
  font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.08;
}
.hero-subhead {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--surface-400);
  max-width: 760px;
  margin: 0 auto 24px;
  line-height: 1.7;
}
.hero-proof-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  list-style: none;
  width: fit-content;
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: left;
}
.hero-proof-list li {
  position: relative;
  padding-left: 28px;
  color: var(--surface-300);
  font-size: 15px;
  line-height: 1.45;
}
.hero-proof-list li::before {
  content: '✓';
  position: absolute;
  top: 0;
  left: 0;
  color: var(--green-500);
  font-weight: 800;
}
.hero-cta {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hero-demo-button {
  min-width: min(100%, 250px);
  justify-content: center;
  font-size: 18px;
  padding: 18px 38px;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(34, 197, 94, 0.24);
}

.hero-secondary-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(246, 252, 242, 0.66);
  font-size: 14px;
  font-weight: 800;
}

.hero-secondary-actions a {
  color: rgba(246, 252, 242, 0.92);
  text-decoration: underline;
  text-decoration-color: rgba(246, 252, 242, 0.34);
  text-underline-offset: 4px;
  transition: color 0.15s, text-decoration-color 0.15s;
}

.hero-secondary-actions a:hover {
  color: #86efac;
  text-decoration-color: rgba(134, 239, 172, 0.56);
}
.hero-downloads {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  max-width: 980px;
  margin-inline: auto;
  margin-bottom: 16px;
}
.hero-downloads .download-btn-sm {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
}
.hero-trial-note {
  display: block;
  font-size: 13px;
  color: var(--surface-500);
  text-align: center;
  line-height: 1.3;
  max-width: 100%;
  margin: 0 auto 18px;
}
.hero-contact-note {
  font-size: 14px;
  font-weight: 600;
  color: var(--surface-300);
  text-align: center;
  margin-bottom: 28px;
}
.hero-contact-note a {
  color: var(--green-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lead-capture-card {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(71, 85, 105, 0.7);
  background: rgba(15, 23, 42, 0.72);
}
.lead-capture-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
}
.lead-capture-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lead-capture-fields {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 160px;
  gap: 10px;
  align-items: stretch;
}
.lead-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lead-field span {
  font-size: 11px;
  font-weight: 700;
  color: var(--surface-300);
  letter-spacing: 0.02em;
}
.lead-capture-card .lead-field input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid rgba(100, 116, 139, 0.7);
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lead-capture-card .lead-field input:focus {
  border-color: rgba(74, 222, 128, 0.7);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}
.lead-capture-card .lead-field input::placeholder {
  color: var(--surface-500);
}
.lead-capture-fields .lead-field input[type="email"] {
  height: 48px !important;
  min-height: 48px !important;
  line-height: 48px;
}
.lead-submit {
  box-sizing: border-box;
  min-width: 150px;
  height: 48px !important;
  min-height: 48px !important;
  justify-content: center;
  padding-block: 0;
  padding-inline: 18px;
  font-size: 15px;
}
.lead-submit:disabled {
  cursor: wait;
  opacity: 0.75;
}
.lead-capture-note {
  margin: -2px 0 0;
  font-size: 12px;
  color: var(--surface-500);
  text-align: center;
}
.lead-capture-status {
  min-height: 0;
  font-size: 13px;
  font-weight: 600;
}
.lead-capture-status.is-success {
  color: var(--green-400);
}
.lead-capture-status.is-error {
  color: #fda4af;
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.demo-modal.is-open {
  display: flex;
}
.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(10px);
}
.demo-modal-panel {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  max-height: min(760px, calc(100svh - 48px));
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(71, 85, 105, 0.85);
  border-radius: 16px;
  background: #111827;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.demo-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(100, 116, 139, 0.65);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.78);
  color: var(--surface-300);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.demo-modal-close:hover {
  border-color: var(--green-500);
  color: #fff;
}
.demo-modal-copy {
  padding-right: 44px;
  margin-bottom: 20px;
}
.demo-modal-copy h2 {
  color: #f8fafc;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.demo-modal-copy p {
  color: var(--surface-400);
  font-size: 18px;
  line-height: 1.65;
}
.demo-modal-copy .demo-modal-phone {
  margin-top: 10px;
  color: var(--surface-300);
  font-size: 15px;
  font-weight: 600;
}
.demo-modal-phone a {
  color: var(--green-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.demo-request-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.demo-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.demo-request-form .lead-field input,
.demo-request-form .lead-field textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid rgba(100, 116, 139, 0.7);
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.demo-request-form .lead-field textarea {
  min-height: 112px;
  padding: 12px 14px;
  resize: vertical;
}
.demo-request-form .lead-field input:focus,
.demo-request-form .lead-field textarea:focus {
  border-color: rgba(74, 222, 128, 0.7);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}
.demo-submit {
  justify-content: center;
  align-self: flex-start;
}
.demo-success-panel {
  padding: 8px 0 4px;
}
.demo-success-panel h2 {
  color: #f8fafc;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.12;
  margin: 0 0 14px;
}
.demo-success-panel p {
  color: var(--surface-300);
  font-size: 18px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 0 24px;
}
.demo-success-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  background: var(--surface-800);
  border: 1px solid var(--surface-700);
  border-radius: var(--radius-lg);
  padding: 24px 0;
  max-width: 820px;
  margin: 0 auto;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
}
.stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--green-400);
}
.stat-label {
  font-size: 12px;
  color: var(--surface-500);
  margin-top: 4px;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--surface-700);
}

/* ============================================
   ORIGIN
   ============================================ */
.origin {
  background: var(--surface-800);
  border-top: 1px solid var(--surface-700);
  border-bottom: 1px solid var(--surface-700);
  padding: 56px 0;
}
.origin-inner {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: 800px;
}
.origin-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
}
.origin-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 12px;
}
.origin-content p {
  color: var(--surface-400);
  line-height: 1.75;
  margin-bottom: 12px;
}
.origin-sig {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--green-500);
}

/* ============================================
   WHO IT'S FOR
   ============================================ */
.who {
  padding: 100px 0;
}
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.who-card {
  background: var(--surface-800);
  border: 1px solid var(--surface-700);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
}
.who-card:hover {
  border-color: var(--surface-600);
  transform: translateY(-2px);
}
.who-card--featured {
  border-color: var(--green-700);
  background: linear-gradient(135deg, var(--surface-800) 0%, rgba(21,128,61,0.12) 100%);
}
.who-card--featured:hover { border-color: var(--green-500); }
.who-badge {
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--green-500);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.who-icon {
  width: 48px;
  height: 48px;
  background: rgba(34,197,94,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
  margin-bottom: 16px;
}
.who-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 10px;
}
.who-card p {
  font-size: 14px;
  color: var(--surface-400);
  line-height: 1.7;
  margin-bottom: 16px;
}
.who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.who-list li {
  font-size: 13px;
  color: var(--surface-400);
  padding-left: 18px;
  position: relative;
}
.who-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--green-500);
  border-radius: 50%;
}

/* ============================================
   DELIVERY FEATURE
   ============================================ */
.delivery-feature {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--surface-900) 0%, rgba(5,46,22,0.15) 50%, var(--surface-900) 100%);
}

/* Board Mock */
.delivery-board-mock {
  background: var(--surface-800);
  border: 1px solid var(--surface-700);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 72px;
  box-shadow: var(--shadow-lg);
}
.board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--surface-900);
  border-bottom: 1px solid var(--surface-700);
}
.board-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
}
.board-date {
  font-size: 12px;
  color: var(--surface-500);
}
.board-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  min-height: 320px;
}
.board-col {
  padding: 16px;
  border-right: 1px solid var(--surface-700);
}
.board-col:last-child { border-right: none; }
.col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--surface-300);
}
.col-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
}
.col-badge--amber { background: rgba(245,158,11,0.15); color: var(--amber-400); }
.col-badge--green { background: rgba(34,197,94,0.15); color: var(--green-400); }

/* Truck capacity bars */
.truck-capacity {
  background: var(--surface-900);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cap-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--surface-500);
}
.cap-row span:first-child { width: 42px; flex-shrink: 0; }
.cap-row span:last-child { width: 54px; text-align: right; flex-shrink: 0; }
.cap-bar {
  flex: 1;
  height: 5px;
  background: var(--surface-700);
  border-radius: 3px;
  overflow: hidden;
}
.cap-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s;
}
.cap-fill--green { background: var(--green-500); }
.cap-fill--yellow { background: var(--amber-500); }
.cap-fill--red { background: var(--red-500); }

/* Delivery cards */
.delivery-card {
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  border-left: 3px solid transparent;
  background: var(--surface-900);
  border: 1px solid var(--surface-700);
}
.delivery-card--unassigned { border-left-color: var(--amber-500); }
.delivery-card--scheduled  { border-left-color: var(--blue-500); }
.delivery-card--dispatched { border-left-color: var(--teal-500); }
.delivery-card--delivered  { border-left-color: var(--green-500); opacity: 0.7; }
.card-order {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--surface-500);
  margin-bottom: 2px;
}
.card-customer {
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 2px;
}
.card-detail {
  font-size: 12px;
  color: var(--surface-400);
  margin-bottom: 2px;
}
.card-address {
  font-size: 11px;
  color: var(--surface-500);
  margin-bottom: 6px;
}
.card-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--teal-400);
  margin-bottom: 6px;
}
.card-tags { display: flex; gap: 4px; flex-wrap: wrap; }

/* Delivery features grid */
.delivery-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.df-card {
  background: var(--surface-800);
  border: 1px solid var(--surface-700);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s;
}
.df-card:hover { border-color: var(--surface-600); }
.df-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.df-icon--green  { background: rgba(34,197,94,0.12); color: var(--green-500); }
.df-icon--amber  { background: rgba(245,158,11,0.12); color: var(--amber-500); }
.df-icon--blue   { background: rgba(59,130,246,0.12); color: var(--blue-500); }
.df-icon--teal   { background: rgba(20,184,166,0.12); color: var(--teal-500); }
.df-icon--purple { background: rgba(168,85,247,0.12); color: var(--purple-500); }
.df-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 10px;
}
.df-card p {
  font-size: 14px;
  color: var(--surface-400);
  line-height: 1.7;
}

/* ============================================
   CUSTOMER FEATURE
   ============================================ */
.customer-feature {
  padding: 100px 0;
  background: var(--surface-800);
  border-top: 1px solid var(--surface-700);
  border-bottom: 1px solid var(--surface-700);
}
.customer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}
.fi-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fi-icon--green  { background: rgba(34,197,94,0.12); color: var(--green-500); }
.fi-icon--amber  { background: rgba(245,158,11,0.12); color: var(--amber-500); }
.fi-icon--blue   { background: rgba(59,130,246,0.12); color: var(--blue-500); }
.fi-icon--teal   { background: rgba(20,184,166,0.12); color: var(--teal-500); }
.fi-icon--purple { background: rgba(168,85,247,0.12); color: var(--purple-500); }
.feature-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 6px;
}
.feature-item p {
  font-size: 14px;
  color: var(--surface-400);
  line-height: 1.7;
}

/* Customer card mock */
.customer-card-mock {
  background: var(--surface-900);
  border: 1px solid var(--surface-700);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 80px;
  box-shadow: var(--shadow-lg);
}
.mock-header {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--surface-500);
  margin-bottom: 12px;
}
.mock-customer-name {
  font-size: 20px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 4px;
}
.mock-customer-contact {
  font-size: 13px;
  color: var(--surface-400);
  margin-bottom: 12px;
}
.mock-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.mock-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mock-chip--amber  { background: rgba(245,158,11,0.15); color: var(--amber-400); }
.mock-chip--green  { background: rgba(34,197,94,0.15); color: var(--green-400); }
.mock-chip--blue   { background: rgba(59,130,246,0.15); color: var(--blue-400); }
.mock-divider {
  height: 1px;
  background: var(--surface-700);
  margin: 16px 0;
}
.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.mock-label {
  font-size: 12px;
  color: var(--surface-500);
}
.mock-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--surface-300);
}
.mock-value--amber { color: var(--amber-400); }
.mock-value--green { color: var(--green-400); }
.mock-address {
  background: var(--surface-800);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.addr-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--green-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.addr-street {
  font-size: 13px;
  color: var(--surface-300);
  margin-bottom: 2px;
}
.addr-note {
  font-size: 11px;
  color: var(--surface-500);
}
.mock-orders-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--surface-500);
  margin-bottom: 10px;
}
.mock-order-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--surface-800);
}
.mock-order-row:last-child { border-bottom: none; }
.mock-order-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--surface-500);
  width: 42px;
  flex-shrink: 0;
}
.mock-order-desc {
  font-size: 13px;
  color: var(--surface-300);
  flex: 1;
}
.mock-order-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.status--green { background: rgba(34,197,94,0.15); color: var(--green-400); }
.status--blue  { background: rgba(59,130,246,0.15); color: var(--blue-400); }

/* ============================================
   FULL FEATURES GRID
   ============================================ */
.full-features {
  padding: 100px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface-800);
  border: 1px solid var(--surface-700);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--surface-600);
  transform: translateY(-2px);
}
.fc-icon {
  width: 40px;
  height: 40px;
  background: rgba(34,197,94,0.1);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 13px;
  color: var(--surface-400);
  line-height: 1.65;
}
.fc-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-500);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.15s;
}
.fc-guide-link:hover { opacity: 1; }
.section-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}
.section-guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-500);
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 8px;
  padding: 7px 14px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.section-guide-btn:hover {
  background: rgba(34,197,94,0.14);
  border-color: rgba(34,197,94,0.45);
  color: #4ade80;
}

/* ============================================
   DIFFERENTIATORS
   ============================================ */
.differentiators {
  padding: 100px 0;
  background: var(--surface-800);
  border-top: 1px solid var(--surface-700);
  border-bottom: 1px solid var(--surface-700);
}
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.diff-col {
  background: var(--surface-900);
  border: 1px solid var(--surface-700);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.diff-heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--surface-700);
}
.diff-heading--red   { color: var(--red-500); }
.diff-heading--green { color: var(--green-500); }
.diff-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.diff-list li {
  font-size: 14px;
  color: var(--surface-400);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.diff-list--no li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--red-500);
  font-size: 12px;
  top: 1px;
}
.diff-list--yes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-size: 13px;
  font-weight: 700;
  top: 0;
}

/* ============================================
   PLATFORM
   ============================================ */
.platform {
  padding: 100px 0;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.platform-card {
  background: var(--surface-800);
  border: 1px solid var(--surface-700);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
.plat-icon {
  width: 56px;
  height: 56px;
  background: rgba(34,197,94,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
  margin: 0 auto 16px;
}
.platform-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 10px;
}
.platform-card p {
  font-size: 14px;
  color: var(--surface-400);
  line-height: 1.7;
}

/* ============================================
   COST COMPARISON
   ============================================ */
.cost-compare { padding: 100px 0; background: var(--bg-950); }
.compare-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.compare-tab { background: var(--bg-800); border: 2px solid var(--bg-600); color: var(--text-400); border-radius: 10px; padding: 12px 22px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .2s; display: flex; align-items: center; gap: 8px; }
.compare-tab .tab-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; transition: all .2s; }
.compare-tab:hover { color: var(--text-100); }
/* Square — near-black */
.compare-tab[data-comp="square"] .tab-dot { background: #c8c8c8; }
.compare-tab[data-comp="square"]:hover { border-color: #888; }
.compare-tab[data-comp="square"].active { background: #1a1a1a; border-color: #555; color: #fff; }
/* Clover — brand green */
.compare-tab[data-comp="clover"] .tab-dot { background: #00A14B; }
.compare-tab[data-comp="clover"]:hover { border-color: #00A14B; }
.compare-tab[data-comp="clover"].active { background: #007836; border-color: #00A14B; color: #fff; }
/* Toast — brand red */
.compare-tab[data-comp="toast"] .tab-dot { background: #E8472A; }
.compare-tab[data-comp="toast"]:hover { border-color: #E8472A; }
.compare-tab[data-comp="toast"].active { background: #c23418; border-color: #E8472A; color: #fff; }
/* Lightspeed — brand orange-red */
.compare-tab[data-comp="lightspeed"] .tab-dot { background: #FF4E00; }
.compare-tab[data-comp="lightspeed"]:hover { border-color: #FF4E00; }
.compare-tab[data-comp="lightspeed"].active { background: #cc3e00; border-color: #FF4E00; color: #fff; }
/* Custom */
.compare-tab[data-comp="custom"] .tab-dot { background: #64748b; }
.compare-tab[data-comp="custom"]:hover { border-color: #64748b; }
.compare-tab[data-comp="custom"].active { background: #334155; border-color: #64748b; color: #fff; }
.compare-info-card { background: var(--bg-800); border: 1px solid var(--bg-700); border-radius: 16px; padding: 28px; margin-bottom: 20px; display: flex; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.compare-info-left { flex: 0 0 auto; }
.compare-info-name { font-size: 18px; font-weight: 700; color: var(--text-100); }
.compare-info-tier { font-size: 12px; color: var(--text-500); text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }
.compare-info-price { font-size: 48px; font-weight: 800; color: #ef4444; line-height: 1; margin-top: 8px; }
.compare-info-price sup { font-size: 20px; vertical-align: top; margin-top: 10px; display: inline-block; }
.compare-info-price sub { font-size: 15px; font-weight: 400; color: var(--text-400); }
.compare-info-note { flex: 1 1 300px; font-size: 13px; color: var(--text-400); line-height: 1.7; border-left: 1px solid var(--bg-600); padding-left: 28px; }
.compare-custom-card { background: var(--bg-800); border: 1px solid var(--bg-700); border-radius: 16px; padding: 28px; margin-bottom: 20px; }
.compare-custom-card label { font-size: 13px; color: var(--text-400); display: block; margin-bottom: 12px; }
.compare-slider-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.compare-slider { flex: 1; accent-color: var(--brand-500); cursor: pointer; }
.compare-slider-min, .compare-slider-max { font-size: 12px; color: var(--text-500); white-space: nowrap; }
.compare-value { font-size: 40px; font-weight: 800; color: #ef4444; }
.compare-value sub { font-size: 15px; font-weight: 400; color: var(--text-400); }
.compare-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.compare-stat { background: var(--bg-800); border: 1px solid var(--bg-700); border-radius: 12px; padding: 20px; text-align: center; }
.compare-stat-num { font-size: 24px; font-weight: 700; color: var(--text-100); }
.compare-stat-label { font-size: 12px; color: var(--text-500); margin-top: 4px; }
.compare-stat--highlight { border-color: rgba(34,197,94,.3); }
.compare-stat--highlight .compare-stat-num { color: var(--brand-400); }
.compare-chart-wrap { background: var(--bg-900); border: 1px solid var(--bg-700); border-radius: 16px; padding: 24px 16px 12px; margin-bottom: 24px; }
#compareChart { width: 100%; height: auto; display: block; }
.compare-legend { display: flex; gap: 20px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.compare-legend span { font-size: 12px; color: var(--text-400); display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.legend-flint::before { content:''; display:inline-block; width:24px; height:3px; background:#22c55e; border-radius:2px; flex-shrink:0; }
.legend-saas::before { content:''; display:inline-block; width:24px; height:0; border-top:3px dashed #ef4444; flex-shrink:0; }
.legend-savings::before { content:''; display:inline-block; width:18px; height:12px; background:rgba(34,197,94,.25); border-radius:3px; flex-shrink:0; }
/* Feature comparison table */
.compare-table-wrap { background: var(--bg-800); border: 1px solid var(--bg-700); border-radius: 20px; overflow: hidden; margin-bottom: 16px; box-shadow: 0 4px 24px rgba(0,0,0,.3); }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table thead { background: var(--bg-900); }
.compare-table thead th { padding: 18px 24px; font-size: 13px; font-weight: 700; text-align: left; border-bottom: 2px solid var(--bg-600); letter-spacing: .3px; }
.compare-table thead th:first-child { color: var(--text-500); width: 52%; text-transform: uppercase; font-size: 11px; letter-spacing: 1px; }
.compare-table thead th.th-flint { color: var(--brand-400); background: rgba(34,197,94,.08); text-align: center; width: 24%; font-size: 14px; border-left: 1px solid rgba(34,197,94,.2); }
.compare-table thead th.th-comp { text-align: center; width: 24%; font-size: 14px; border-left: 1px solid var(--bg-600); }
.compare-table tbody tr { border-bottom: 1px solid var(--bg-700); transition: background .15s; }
.compare-table tbody tr:nth-child(even) { background: rgba(255,255,255,.025); }
.compare-table tbody tr:last-child { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(255,255,255,.05); }
.compare-table tbody td { padding: 15px 24px; font-size: 14px; color: var(--text-300); }
.compare-table tbody td.tc-feat { color: var(--text-200); font-weight: 500; }
.compare-table tbody td.tc-val { text-align: center; font-size: 20px; border-left: 1px solid var(--bg-700); }
.compare-table tbody td.tc-val:first-of-type { background: rgba(34,197,94,.04); border-left: 1px solid rgba(34,197,94,.15); }
.tc-yes { color: #22c55e; }
.tc-no { color: #ef4444; opacity: .8; }
.tc-partial { color: #eab308; }
/* ============================================
   B2B CUSTOMER PORTAL
   ============================================ */
.portal-feature { padding: 100px 0; background: var(--bg-950); }
.portal-screen-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.pst { background: var(--bg-800); border: 2px solid var(--bg-600); color: var(--text-400); border-radius: 8px; padding: 8px 20px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; }
.pst:hover { color: var(--text-200); border-color: var(--bg-500); }
.pst.active { background: #1d4ed8; border-color: #3b82f6; color: #fff; }
/* Browser chrome frame */
.portal-mock-frame { max-width: 420px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.07); }
.pmf-chrome { background: #1a1f2e; padding: 10px 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #2a3045; }
.pmf-dots { display: flex; gap: 6px; }
.pmf-dots span { width: 10px; height: 10px; border-radius: 50%; }
.pmf-dots span:nth-child(1) { background: #ff5f57; }
.pmf-dots span:nth-child(2) { background: #febc2e; }
.pmf-dots span:nth-child(3) { background: #28c840; }
.pmf-url { flex: 1; background: #2a3045; border-radius: 6px; padding: 4px 12px; font-size: 11px; color: #64748b; text-align: center; font-family: monospace; }
.pmf-body { background: #f3f4f6; height: 540px; overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; }
/* Portal chrome inside the mock */
.pm-header { background: #fff; border-bottom: 1px solid #e5e7eb; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 5; }
.pm-store-name { font-size: 13px; font-weight: 700; color: #111827; }
.pm-store-sub { font-size: 10px; color: #6b7280; }
.pm-logout-btn { font-size: 12px; color: #9ca3af; background: none; border: none; padding: 4px 8px; }
.pm-nav { background: #fff; border-bottom: 1px solid #e5e7eb; padding: 0 4px; display: flex; position: sticky; top: 57px; z-index: 4; }
.pm-nav-btn { font-size: 11px; font-weight: 500; color: #6b7280; background: none; border: none; border-bottom: 2px solid transparent; padding: 9px 10px; cursor: pointer; display: flex; align-items: center; gap: 4px; white-space: nowrap; transition: color .15s; }
.pm-nav-btn.pm-nav-active { color: #2563eb; border-bottom-color: #2563eb; }
.pm-screen { padding: 14px; display: block; }
.pm-hidden { display: none !important; }
/* Dashboard */
.pm-greeting { margin-bottom: 12px; }
.pm-greeting-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 2px; }
.pm-hi { font-size: 18px; font-weight: 800; color: #111827; }
.pm-badge { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.pm-badge--wholesale { background: #ede9fe; color: #7c3aed; border: 1px solid #c4b5fd; }
.pm-badge--contractor { background: #dbeafe; color: #1d4ed8; border: 1px solid #93c5fd; }
.pm-company { font-size: 12px; color: #6b7280; }
.pm-balance-card { border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.pm-balance--normal { background: #eff6ff; border: 1px solid #bfdbfe; }
.pm-balance--pastdue { background: #fef2f2; border: 1px solid #fecaca; }
.pm-balance-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #6b7280; margin-bottom: 4px; }
.pm-balance-amount--normal { font-size: 28px; font-weight: 800; color: #1d4ed8; margin-bottom: 8px; }
.pm-balance-amount--pastdue { font-size: 28px; font-weight: 800; color: #dc2626; margin-bottom: 2px; }
.pm-balance-pastdue-row { font-size: 11px; color: #dc2626; display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.pm-pay-btn { background: #2563eb; color: #fff; border: none; border-radius: 8px; padding: 8px 14px; font-size: 12px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.pm-quicknav { margin-bottom: 12px; display: flex; flex-direction: column; gap: 8px; }
.pm-qn-primary { background: #2563eb; border: none; border-radius: 12px; padding: 14px; text-align: left; cursor: pointer; width: 100%; }
.pm-qn-icon { font-size: 18px; display: block; margin-bottom: 4px; }
.pm-qn-primary .pm-qn-title { font-size: 13px; font-weight: 700; color: #fff; }
.pm-qn-primary .pm-qn-sub { font-size: 11px; color: rgba(255,255,255,.75); margin-top: 2px; }
.pm-qn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pm-qn-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; text-align: left; cursor: pointer; }
.pm-qn-card .pm-qn-title { font-size: 12px; font-weight: 700; color: #111827; }
.pm-qn-card .pm-qn-sub { font-size: 10px; color: #6b7280; margin-top: 2px; }
.pm-acct-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; }
.pm-acct-title { font-size: 11px; font-weight: 700; color: #374151; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .4px; }
.pm-acct-row { display: flex; justify-content: space-between; font-size: 11px; padding: 4px 0; border-bottom: 1px solid #f3f4f6; }
.pm-acct-row:last-child { border-bottom: none; }
.pm-acct-row span:first-child { color: #6b7280; }
.pm-acct-row span:last-child { color: #111827; font-weight: 500; }
/* Orders screen */
.pm-order-tabs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.pm-ot { background: #fff; border: 1px solid #e5e7eb; border-radius: 99px; padding: 5px 14px; font-size: 11px; font-weight: 600; color: #6b7280; cursor: pointer; }
.pm-ot.pm-ot-active { background: #2563eb; color: #fff; border-color: #2563eb; }
.pm-order-list { display: flex; flex-direction: column; gap: 8px; }
.pm-order-row { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.pm-order-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 3px; }
.pm-order-num { font-size: 12px; font-weight: 700; color: #111827; }
.pm-status { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 99px; }
.pm-status--pending { background: #dbeafe; color: #1d4ed8; }
.pm-status--due { background: #fef3c7; color: #92400e; }
.pm-status--paid { background: #d1fae5; color: #065f46; }
.pm-order-sub { font-size: 10px; color: #6b7280; }
.pm-order-right { text-align: right; flex-shrink: 0; }
.pm-order-total { font-size: 12px; font-weight: 700; color: #111827; }
.pm-order-due { font-size: 10px; color: #d97706; font-weight: 600; }
.pm-order-cancel { font-size: 10px; color: #ef4444; cursor: pointer; }
.pm-order-chevron { font-size: 18px; color: #9ca3af; font-weight: 300; line-height: 1; }
/* Order form / browse */
.pm-search-bar { background: #fff; border: 1px solid #d1d5db; border-radius: 10px; padding: 8px 12px; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pm-search-icon { font-size: 13px; color: #9ca3af; }
.pm-search-input { border: none; outline: none; font-size: 12px; color: #374151; flex: 1; background: transparent; }
.pm-product-list { display: flex; flex-direction: column; gap: 4px; padding-bottom: 64px; }
.pm-product-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pm-product-name { font-size: 12px; font-weight: 600; color: #111827; }
.pm-product-sku { font-size: 10px; color: #9ca3af; }
.pm-product-price { font-size: 13px; font-weight: 700; margin-top: 2px; }
.pm-price-wholesale { color: #7c3aed; }
.pm-price-contractor { color: #1d4ed8; }
.pm-price-unit { font-size: 10px; font-weight: 400; color: #6b7280; }
.pm-product-increments { font-size: 9px; color: #7c3aed; margin-top: 1px; }
.pm-product-action { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.pm-qty-input { width: 36px; text-align: center; border: 1px solid #d1d5db; border-radius: 6px; padding: 4px; font-size: 11px; color: #111; background: #f9fafb; }
.pm-add-btn { background: #2563eb; color: #fff; border: none; border-radius: 6px; padding: 5px 10px; font-size: 11px; font-weight: 600; cursor: pointer; }
.pm-add-btn--added { background: #16a34a; }
.pm-split-hint { font-size: 10px; padding: 4px 10px; border-radius: 6px; margin-bottom: 2px; }
.pm-split-good { background: #d1fae5; color: #065f46; }
.pm-split-warn { background: #fef3c7; color: #92400e; }
.pm-cart-footer { position: sticky; bottom: 0; background: #fff; border-top: 1px solid #e5e7eb; padding: 10px 14px; margin: 0 -14px; }
.pm-cart-btn { width: 100%; background: #2563eb; color: #fff; border: none; border-radius: 10px; padding: 11px 16px; font-size: 12px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.pm-cart-badge { background: rgba(255,255,255,.2); border-radius: 99px; padding: 2px 8px; font-size: 10px; }
/* Login screen */
.pm-screen--login { min-height: 480px; display: flex !important; flex-direction: column; align-items: center; justify-content: center; background: #f9fafb; }
.pm-login-logo { width: 64px; height: 64px; border-radius: 16px; background: #1d4ed8; color: #fff; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.pm-login-store { font-size: 16px; font-weight: 700; color: #111827; text-align: center; }
.pm-login-portal { font-size: 12px; color: #6b7280; text-align: center; margin-bottom: 20px; }
.pm-login-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.06); width: 100%; max-width: 280px; }
.pm-form-group { margin-bottom: 12px; }
.pm-form-label { font-size: 11px; font-weight: 600; color: #374151; margin-bottom: 4px; }
.pm-form-field { border: 1px solid #d1d5db; border-radius: 8px; padding: 7px 10px; font-size: 12px; color: #374151; background: #fff; width: 100%; box-sizing: border-box; }
.pm-input-pw { letter-spacing: 3px; color: #9ca3af; }
.pm-signin-btn { width: 100%; background: #2563eb; color: #fff; border: none; border-radius: 8px; padding: 10px; font-size: 13px; font-weight: 700; cursor: pointer; margin-bottom: 10px; }
.pm-forgot { text-align: center; font-size: 11px; color: #2563eb; }
/* Portal feature grid */
.portal-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.pf-card { background: var(--bg-800); border: 1px solid var(--bg-700); border-radius: 16px; padding: 24px; }
.pf-card .pf-icon { font-size: 26px; margin-bottom: 12px; line-height: 1; }
.pf-card h4 { font-size: 15px; font-weight: 700; color: var(--text-100); margin-bottom: 8px; }
.pf-card p { font-size: 13px; color: var(--text-400); line-height: 1.65; }
@media (max-width: 900px) { .portal-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .portal-feature-grid { grid-template-columns: 1fr; } }

/* Tablet/cloud availability toggle */
.fc-toggle-wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: rgba(249,115,22,.06); border: 1px solid rgba(249,115,22,.2); border-radius: 12px; padding: 14px 20px; margin-bottom: 20px; }
.fc-toggle-label { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text-200); user-select: none; }
#fcToggle { display: none; }
.fc-toggle-switch { position: relative; width: 44px; height: 24px; background: var(--bg-600); border-radius: 12px; transition: background .2s; flex-shrink: 0; }
.fc-toggle-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .2s; }
#fcToggle:checked + .fc-toggle-switch { background: #f97316; }
#fcToggle:checked + .fc-toggle-switch::after { transform: translateX(20px); }
.fc-price { color: #f97316; font-weight: 700; }
.fc-toggle-note { font-size: 12px; color: var(--text-500); }
/* FC required badge in table */
.fc-req-cell { text-align: center; border-left: 1px solid var(--bg-700); background: rgba(249,115,22,.04); }
.fc-badge { display: inline-block; font-size: 10px; font-weight: 700; color: #f97316; background: rgba(249,115,22,.12); border: 1px solid rgba(249,115,22,.25); border-radius: 4px; padding: 2px 6px; line-height: 1.4; letter-spacing: .2px; white-space: nowrap; }
/* FC legend swatch */
.legend-fc::before { content:''; display:inline-block; width:24px; height:3px; background:#f97316; border-radius:2px; flex-shrink:0; }
.compare-symbol-legend { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-bottom: 12px; }
.csl-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-400); }
.csl-item .tc-yes, .csl-item .tc-partial, .csl-item .tc-no { font-size: 16px; }
.compare-footnote { font-size: 12px; color: var(--text-500); text-align: center; line-height: 1.7; }

/* ============================================
   PRICING
   ============================================ */
.pricing {
  padding: 100px 0;
  background: var(--surface-800);
  border-top: 1px solid var(--surface-700);
  border-bottom: 1px solid var(--surface-700);
}
/* Two-path layout */
.pricing-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto 40px;
  align-items: start;
}
.ppath {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--surface-700);
  background: var(--surface-900);
}
.ppath--own {
  border-color: rgba(34,197,94,0.35);
}
.ppath-head {
  padding: 28px 32px 26px;
  border-bottom: 1px solid var(--surface-700);
}
.ppath--own .ppath-head {
  background: linear-gradient(160deg, rgba(21,128,61,0.13) 0%, rgba(15,23,42,0) 100%);
  border-bottom-color: rgba(34,197,94,0.18);
}
.ppath-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-500);
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 16px;
}
.ppath-title {
  font-size: 20px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 10px;
  line-height: 1.3;
}
.ppath-desc {
  font-size: 13.5px;
  color: var(--surface-400);
  line-height: 1.65;
}
.ppath-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* Tier cards inside a path */
.pt-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pt-tier {
  background: var(--surface-800);
  border: 1px solid var(--surface-700);
  border-radius: 12px;
  padding: 20px;
}
.pt-tier--featured {
  border-color: rgba(34,197,94,0.4);
  background: linear-gradient(160deg, rgba(21,128,61,0.1) 0%, var(--surface-800) 100%);
  position: relative;
}
.pt-popular {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-500);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.pt-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--surface-500);
  margin-bottom: 10px;
}
.pt-price {
  font-size: 34px;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1;
  margin-bottom: 2px;
}
.pt-price sup {
  font-size: 18px;
  font-weight: 700;
  color: var(--surface-400);
  vertical-align: super;
  margin-right: 1px;
}
.pt-period {
  font-size: 12px;
  color: var(--surface-500);
  margin-bottom: 16px;
}
.pt-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.pt-features li {
  font-size: 13px;
  color: var(--surface-400);
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}
.pt-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-weight: 700;
  font-size: 12px;
}
.pt-trial {
  font-size: 11px;
  color: var(--surface-500);
  text-align: center;
  margin-top: 8px;
}
/* Single wide tier (cloud main) */
.pt-tiers--single { grid-template-columns: 1fr; }
.pt-tiers--single .pt-tier { padding: 24px 28px; }
.pt-tiers--single .pt-features { columns: 2; gap: 6px; display: block; }
.pt-tiers--single .pt-features li { break-inside: avoid; margin-bottom: 8px; }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto 32px;
}
.pricing-cards--single {
  display: flex;
  justify-content: center;
  max-width: 100%;
}
.pricing-cards--single .pricing-card {
  width: 100%;
  max-width: 440px;
}
.pricing-cards--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
}
.pricing-note-sm {
  font-size: 11px;
  color: #475569;
  text-align: center;
  margin-top: 8px;
}
.download-btn-sm {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  color: #94a3b8;
  font-size: 12px;
  text-decoration: none;
  transition: background 0.15s;
}
.download-btn-sm:hover { background: rgba(255,255,255,0.08); color: #e2e8f0; }
.pricing-card {
  background: var(--surface-900);
  border: 1px solid var(--surface-700);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.pricing-card--featured {
  border-color: var(--green-700);
  background: linear-gradient(135deg, var(--surface-900) 0%, rgba(21,128,61,0.1) 100%);
}
.pricing-cards:not(.pricing-cards--single) .pricing-card--featured {
  transform: scale(1.02);
}
.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-500);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.pricing-tier {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--surface-500);
  margin-bottom: 12px;
}
.pricing-amount {
  font-size: 40px;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1;
  margin-bottom: 4px;
}
.price-currency {
  font-size: 24px;
  vertical-align: super;
  margin-right: 2px;
  color: var(--surface-400);
}
.pricing-period {
  font-size: 13px;
  color: var(--surface-500);
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  min-height: 160px;
}
.pricing-features li {
  font-size: 14px;
  color: var(--surface-400);
  padding-left: 20px;
  position: relative;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-weight: 700;
}
.pricing-note {
  font-size: 13px;
  color: var(--surface-500);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 18px;
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: #f97316;
}
.pricing-trial-note {
  font-size: 12px;
  color: var(--surface-500);
  text-align: center;
  margin-top: 10px;
}
.download-box {
  margin-top: 28px;
  background: var(--surface-800);
  border: 1px solid var(--surface-700);
  border-radius: 14px;
  padding: 24px 28px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.download-box-label {
  font-size: 13px;
  color: var(--surface-400);
  margin-bottom: 14px;
  text-align: center;
}
.download-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--surface-700);
  border: 1px solid var(--surface-600);
  border-radius: 10px;
  color: var(--surface-100);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  flex: 1;
  min-width: 220px;
}
.download-btn:hover {
  background: var(--surface-600);
  border-color: rgba(249,115,22,0.4);
  text-decoration: none;
  color: #fff;
}
.download-btn svg { flex-shrink: 0; color: #f97316; }
.download-btn strong { display: block; font-size: 14px; font-weight: 600; }
.download-btn em { display: block; font-size: 12px; font-style: normal; color: var(--surface-400); margin-top: 2px; }

/* ============================================
   CTA
   ============================================ */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--surface-900) 0%, rgba(5,46,22,0.3) 50%, var(--surface-900) 100%);
  text-align: center;
  border-top: 1px solid rgba(34,197,94,0.15);
}
.cta-inner { max-width: 640px; }
.cta-icon {
  width: 72px;
  height: 72px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
  margin: 0 auto 28px;
}
.cta-section h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-section p {
  font-size: 17px;
  color: var(--surface-400);
  line-height: 1.75;
  margin-bottom: 36px;
}
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-demo-button {
  min-width: min(100%, 320px);
  justify-content: center;
  font-size: 18px;
  padding: 18px 42px;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(34, 197, 94, 0.22);
}

.cta-secondary-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.cta-secondary-actions a {
  color: #2d3b4a;
  text-decoration: underline;
  text-decoration-color: rgba(45, 59, 74, 0.28);
  text-underline-offset: 4px;
  transition: color 0.15s, text-decoration-color 0.15s;
}

.cta-secondary-actions a:hover {
  color: #15803d;
  text-decoration-color: rgba(21, 128, 61, 0.45);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--surface-900);
  border-top: 1px solid var(--surface-700);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.footer-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--surface-600);
  letter-spacing: 0.08em;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 13px;
  color: var(--surface-500);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--green-500); }
.footer-contact {
  font-size: 13px;
  color: var(--surface-400);
}
.footer-contact a {
  color: var(--green-400);
  font-weight: 600;
}
.footer-copy {
  font-size: 12px;
  color: var(--surface-600);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-proof-list { max-width: 680px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  .nav-inner { gap: 12px; }
  .nav-phone {
    margin-left: auto;
    margin-right: 4px;
    font-size: 13px;
  }
  .hero { padding: 72px 0 60px; }
  .lead-capture-card {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
    margin-bottom: 20px;
  }
  .lead-capture-card h3 {
    text-align: center;
    white-space: normal;
  }
  .lead-capture-fields { grid-template-columns: 1fr; }
  .lead-submit { width: 100%; min-width: 0; }
  .demo-modal { padding: 14px; align-items: flex-start; }
  .demo-modal-panel { max-height: calc(100svh - 28px); padding: 22px; }
  .demo-modal-copy { padding-right: 36px; }
  .demo-form-grid { grid-template-columns: 1fr; }
  .demo-submit { width: 100%; }
  .demo-success-actions { flex-direction: column; }
  .demo-success-actions .btn-primary,
  .demo-success-actions .btn-ghost { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; padding: 20px; gap: 16px; }
  .stat { flex-direction: row; gap: 12px; padding: 0; }
  .stat-divider { width: 100%; height: 1px; }
  .who-grid { grid-template-columns: 1fr; }
  .board-columns { grid-template-columns: 1fr; }
  .board-col { border-right: none; border-bottom: 1px solid var(--surface-700); }
  .delivery-features-grid { grid-template-columns: 1fr; }
  .driver-layout { grid-template-columns: 1fr; }
  .driver-phone { max-width: 300px; margin: 0 auto; position: static; }
  .customer-layout { grid-template-columns: 1fr; }
  .customer-right { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .compare-info-card { flex-direction: column; gap: 16px; }
  .compare-info-note { border-left: none; border-top: 1px solid var(--bg-600); padding-left: 0; padding-top: 16px; }
  .compare-stats-row { grid-template-columns: 1fr; }
  .pricing-paths { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .origin-inner { flex-direction: column; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn-primary,
  .hero-cta .btn-ghost { width: 100%; max-width: 320px; justify-content: center; }
  .hero-trial-note { max-width: 320px; margin-bottom: 20px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 32px; }
  .hero-headline-sub { font-size: 26px; }
  .hero-proof-list { width: 100%; }
}

/* ============================================
   DRIVER APP SECTION
   ============================================ */
.driver-feature {
  padding: 100px 0;
  background: var(--surface-800);
  border-top: 1px solid var(--surface-700);
  border-bottom: 1px solid var(--surface-700);
}
.driver-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: start;
}
.driver-phone {
  background: var(--surface-900);
  border: 1px solid var(--surface-600);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 80px;
}
.phone-notch {
  width: 72px;
  height: 5px;
  background: var(--surface-600);
  border-radius: 3px;
  margin: 10px auto 0;
}
.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  margin-top: 8px;
  background: var(--surface-800);
  border-bottom: 1px solid var(--surface-700);
  font-size: 11px;
  font-weight: 600;
  color: var(--surface-300);
}
.phone-truck-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  background: rgba(34,197,94,0.15);
  color: var(--green-400);
  padding: 2px 8px;
  border-radius: 100px;
  white-space: nowrap;
}
.phone-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-stop {
  background: var(--surface-800);
  border: 1px solid var(--surface-700);
  border-left: 3px solid var(--surface-600);
  border-radius: 10px;
  padding: 11px 12px;
}
.phone-stop--active { border-left-color: var(--teal-500); }
.phone-stop--delivered { border-left-color: var(--green-500); opacity: 0.7; }
.stop-seq {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  color: var(--surface-500);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stop-name {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 2px;
}
.stop-addr {
  font-size: 11px;
  color: var(--surface-400);
  margin-bottom: 2px;
}
.stop-material {
  font-size: 11px;
  color: var(--surface-500);
  margin-bottom: 7px;
}
.stop-meta {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.phone-msg {
  background: rgba(34,197,94,0.07);
  border: 1px solid rgba(34,197,94,0.18);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 4px;
}
.msg-from {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  color: var(--green-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}
.msg-bubble {
  font-size: 12px;
  color: var(--surface-300);
  line-height: 1.55;
}

/* Driver feature list */
.driver-feat-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}
.dfl-item {
  display: flex;
  gap: 16px;
}
.dfl-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dfl-icon--green  { background: rgba(34,197,94,0.12);  color: var(--green-500); }
.dfl-icon--amber  { background: rgba(245,158,11,0.12);  color: var(--amber-500); }
.dfl-icon--blue   { background: rgba(59,130,246,0.12);  color: var(--blue-500); }
.dfl-icon--teal   { background: rgba(20,184,166,0.12);  color: var(--teal-500); }
.dfl-icon--purple { background: rgba(168,85,247,0.12);  color: var(--purple-500); }
.dfl-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 6px;
}
.dfl-item p {
  font-size: 14px;
  color: var(--surface-400);
  line-height: 1.7;
}

/* ============================================
   TABLET APP SECTION
   ============================================ */
.tablet-feature {
  padding: 100px 0;
  background: var(--surface-900);
}

/* Browser-window mockup */
.tab-mock-wrap {
  margin-top: 56px;
  margin-bottom: 64px;
}
.tab-mock-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #334155;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.tab-mock-chrome {
  background: #1e293b;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #334155;
}
.tab-mock-dots {
  display: flex;
  gap: 5px;
}
.tab-mock-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
  display: block;
}
.tab-mock-dots span:first-child { background: #ef4444; }
.tab-mock-dots span:nth-child(2) { background: #f59e0b; }
.tab-mock-dots span:nth-child(3) { background: #22c55e; }
.tab-mock-url {
  flex: 1;
  background: #0f172a;
  border-radius: 5px;
  padding: 3px 10px;
  font-size: 11px;
  color: #64748b;
  font-family: 'JetBrains Mono', monospace;
}

/* App itself */
.tab-mock-app {
  background: #0f172a;
  display: flex;
  flex-direction: column;
  height: 480px;
}

/* App header */
.tab-mock-header {
  height: 48px;
  background: #1e293b;
  border-bottom: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  flex-shrink: 0;
}
.tab-mock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tab-mock-icon {
  width: 26px;
  height: 26px;
  background: var(--green-500);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tab-mock-order {
  font-size: 12px;
  font-weight: 700;
  color: #f1f5f9;
  font-family: 'JetBrains Mono', monospace;
}
.tab-mock-store {
  font-size: 11px;
  color: #64748b;
}
.tab-mock-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tab-mock-cust-btn {
  font-size: 11px;
  color: #94a3b8;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 4px 10px;
}
.tab-mock-void {
  font-size: 11px;
  color: #64748b;
  background: transparent;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 4px 8px;
}

/* Two-panel layout */
.tab-mock-panels {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Products panel */
.tab-mock-products {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid #334155;
}
.tab-mock-search {
  margin: 8px 10px 4px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #475569;
  flex-shrink: 0;
}
.tab-mock-cats {
  display: flex;
  gap: 5px;
  padding: 6px 10px;
  flex-shrink: 0;
}
.tab-mock-cat {
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 20px;
  background: #1e293b;
  color: #64748b;
  white-space: nowrap;
  border: 1px solid #334155;
}
.tab-mock-cat--on {
  background: var(--green-500);
  color: #fff;
  border-color: var(--green-500);
}
.tab-mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px 10px 8px;
  overflow-y: auto;
  flex: 1;
}
.tab-mock-prod {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 6px;
  position: relative;
}
.tab-mock-prod--in {
  border-color: var(--green-500);
  background: rgba(34,197,94,0.07);
}
.tab-mock-prod-img {
  width: 100%;
  aspect-ratio: 1;
  background: #334155;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 6px;
  margin-bottom: 5px;
}
.tab-mock-prod-name {
  font-size: 10px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.3;
}
.tab-mock-prod-price {
  font-size: 9px;
  color: #64748b;
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
}
.tab-mock-prod-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  background: var(--green-500);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cart panel */
.tab-mock-cart {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #0f172a;
}
.tab-mock-cart-title {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  padding: 10px 12px 6px;
  border-bottom: 1px solid #1e293b;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tab-mock-cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 6px 0;
}
.tab-mock-cart-item {
  padding: 6px 12px;
  border-bottom: 1px solid #1e293b;
}
.tab-mock-ci-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.tab-mock-ci-name {
  font-size: 11px;
  font-weight: 500;
  color: #f1f5f9;
}
.tab-mock-ci-price {
  font-size: 11px;
  font-weight: 600;
  color: #f1f5f9;
  font-family: 'JetBrains Mono', monospace;
}
.tab-mock-ci-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #64748b;
}
.tab-mock-ci-btn {
  width: 18px;
  height: 18px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1;
}
.tab-mock-totals {
  border-top: 1px solid #1e293b;
  padding: 8px 12px;
  flex-shrink: 0;
}
.tab-mock-tot-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #64748b;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 3px;
}
.tab-mock-tot-total {
  font-weight: 700;
  font-size: 12px;
  color: #f1f5f9;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid #334155;
}
.tab-mock-pay-btns {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.tab-mock-pay-btn {
  border-radius: 8px;
  padding: 8px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.tab-mock-pay-btn--green {
  background: var(--green-500);
  color: #fff;
}
.tab-mock-pay-btn--ghost {
  background: transparent;
  border: 1px solid #334155;
  color: #94a3b8;
}

/* Feature list below mockup */
.tablet-feat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
}
@media (max-width: 768px) {
  .tab-mock-app { height: auto; }
  .tab-mock-panels { flex-direction: column; }
  .tab-mock-cart { width: 100%; }
  .tablet-feat-list { grid-template-columns: 1fr; }
}

/* ============================================
   WHY FLINTPOS STRIP
   ============================================ */
.why-strip {
  padding: 64px 0;
  border-top: 1px solid var(--surface-700, #1e293b);
  border-bottom: 1px solid var(--surface-700, #1e293b);
}
.why-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 40px;
}
.why-strip-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-strip-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.10);
  color: var(--green-500, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-strip-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.4;
  margin: 0;
}
.why-strip-item p {
  font-size: 14px;
  color: var(--surface-400, #94a3b8);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 1024px) {
  .why-strip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .why-strip-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   LIGHT YARD THEME REFRESH
   ============================================ */
body {
  background: #f4f7f1;
  color: #1f2933;
}

.section-header h2,
.origin-content h2,
.who-card h3,
.df-card h3,
.feature-item h4,
.feature-card h3,
.platform-card h3,
.pricing-amount,
.ppath-title,
.pt-price,
.pricing-card h3,
.diff-col h3,
.why-strip-item h4,
.logo-text {
  color: #122018;
}

.logo-icon {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
}

.section-header p,
.origin-content p,
.who-card p,
.who-list li,
.df-card p,
.feature-item p,
.feature-card p,
.platform-card p,
.pricing-features li,
.pricing-period,
.pricing-note,
.why-strip-item p,
.mock-customer-contact,
.mock-label,
.mock-order-desc {
  color: #516070;
}

.nav-bar {
  background: rgba(250, 252, 247, 0.93);
  border-bottom-color: #d7e1d1;
  box-shadow: 0 8px 24px rgba(47, 58, 45, 0.08);
}

.nav-links a,
.nav-phone {
  color: #243040;
}

.nav-links a:hover,
.nav-phone:hover {
  color: #13833d;
}

.nav-mobile-btn span {
  background: #52616f;
}

.nav-mobile-btn:hover span {
  background: #122018;
}

.nav-mobile-menu {
  background: #fbfdf8;
  border-top-color: #d7e1d1;
}

.nav-mobile-menu a {
  color: #243040;
  border-bottom-color: #e4eadf;
}

.hero--yard {
  min-height: calc(100svh - 64px);
  padding: 0;
  isolation: isolate;
  background: #182116;
}

.hero-photo,
.hero-photo img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-photo {
  z-index: -2;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(0.95) contrast(1.03);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 12, 9, 0.86) 0%, rgba(17, 31, 23, 0.74) 38%, rgba(17, 31, 23, 0.34) 72%, rgba(17, 31, 23, 0.14) 100%),
    linear-gradient(180deg, rgba(9, 17, 13, 0.28) 0%, rgba(9, 17, 13, 0.58) 100%);
}

.hero--yard .hero-inner {
  min-height: calc(100svh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  max-width: 760px;
  margin: 0;
  padding-top: 56px;
  padding-bottom: 48px;
}

.hero--yard .hero-badge {
  margin-bottom: 22px;
  background: rgba(246, 252, 242, 0.9);
  border-color: rgba(255, 255, 255, 0.52);
  color: #166534;
}

.hero--yard .hero-headline {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.36);
}

.hero--yard .hero-headline-sub {
  color: #7be28f;
}

.hero--yard .hero-subhead,
.hero--yard .hero-proof-list li,
.hero--yard .hero-contact-note {
  color: rgba(246, 252, 242, 0.92);
}

.hero--yard .hero-subhead {
  max-width: 670px;
  margin-left: 0;
  margin-right: 0;
}

.hero--yard .hero-cta,
.hero--yard .hero-proof-list {
  justify-content: flex-start;
  margin-left: 0;
}

.hero--yard .hero-trial-note {
  color: rgba(246, 252, 242, 0.72);
  text-align: left;
  margin-left: 0;
}

.hero--yard .hero-contact-note {
  text-align: left;
}

.hero--yard .lead-capture-card {
  width: min(640px, 100%);
  margin-left: 0;
  background: rgba(250, 252, 247, 0.94);
  border-color: rgba(250, 252, 247, 0.78);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.hero--yard .lead-capture-card h3 {
  color: #122018;
}

.hero--yard .lead-capture-note {
  color: #697586;
}

.hero--yard .lead-capture-card .lead-field input {
  background: #ffffff;
  color: #122018;
  border-color: #ccd7c6;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.46);
  color: #ffffff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.origin,
.customer-feature,
.pricing,
.differentiators {
  background: #ffffff;
  border-color: #dfe8da;
}

.origin-inner {
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  align-items: center;
}

.origin-content h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.12;
}

.origin-content p {
  color: #405060;
}

.origin-photo {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #dbe5d4;
  box-shadow: 0 24px 56px rgba(48, 63, 47, 0.18);
}

.origin-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.origin-photo--founders {
  border-radius: 20px;
  background: #ffffff;
}

.origin-photo--founders img {
  aspect-ratio: 4 / 5;
  object-position: center 22%;
}

.origin-photo figcaption {
  padding: 10px 14px;
  border-top: 1px solid #dbe5d4;
  color: #516070;
  font-size: 13px;
  font-weight: 700;
  background: #fbfdf8;
}

.yard-flow {
  padding: 100px 0;
  background: #f4f7f1;
}

.yard-flow-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.78fr);
  gap: 56px;
  align-items: start;
}

.yard-flow-copy h2 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #122018;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

.yard-flow-copy > p {
  max-width: 650px;
  color: #516070;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.flow-step {
  border-top: 1px solid #cdd9c5;
  padding-top: 16px;
}

.flow-step span {
  display: block;
  margin-bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 800;
  color: #15803d;
}

.flow-step strong {
  display: block;
  color: #122018;
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 6px;
}

.flow-step p {
  color: #657384;
  font-size: 13px;
  line-height: 1.55;
}

.yard-flow-media {
  display: grid;
  gap: 16px;
  justify-items: end;
}

.screen-card,
.delivery-screen {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #d3dfcd;
  background: #ffffff;
  box-shadow: 0 24px 56px rgba(48, 63, 47, 0.16);
}

.screen-card img,
.delivery-screen img {
  cursor: zoom-in;
}

.screen-card img:focus-visible,
.delivery-screen img:focus-visible {
  outline: 3px solid rgba(34, 197, 94, 0.75);
  outline-offset: -3px;
}

.screen-card img,
.delivery-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-card {
  aspect-ratio: 16 / 10;
}

.screen-card--primary {
  transform: none;
}

.delivery-feature {
  background: #ffffff;
  border-top: 1px solid #dfe8da;
  border-bottom: 1px solid #dfe8da;
}

.delivery-screen {
  margin: 0 auto 56px;
  max-width: 1080px;
}

.delivery-screen img {
  aspect-ratio: 16 / 10;
  object-position: top center;
}

.delivery-screen figcaption {
  padding: 12px 18px;
  color: #64748b;
  font-size: 13px;
  border-top: 1px solid #e5ece1;
  background: #fbfdf8;
}

.who-card,
.df-card,
.feature-card,
.platform-card,
.pricing-card,
.diff-col,
.customer-card-mock,
.download-box,
.ppath,
.pt-tier,
.pf-card,
.compare-info-card,
.compare-custom-card,
.compare-stat,
.compare-table-wrap {
  background: #ffffff;
  border-color: #dbe5d4;
  box-shadow: 0 12px 30px rgba(48, 63, 47, 0.06);
}

.who-card--featured,
.pricing-card--featured,
.pt-tier--featured {
  background: linear-gradient(135deg, #ffffff 0%, #edf8ee 100%);
  border-color: rgba(34, 197, 94, 0.42);
}

.full-features,
.platform,
.portal-feature,
.why-strip {
  background: #f4f7f1;
}

.customer-card-mock {
  background: #fbfdf8;
}

.mock-customer-name,
.mock-value,
.addr-street,
.mock-order-num,
.pricing-amount,
.platform-card h3 {
  color: #122018;
}

.mock-address {
  background: #ffffff;
  border: 1px solid #e1e9dc;
}

.mock-divider,
.mock-order-row {
  border-color: #e1e9dc;
  background-color: #e1e9dc;
}

.trial-badge {
  background: #fff7ed;
  color: #9a4c05;
  border-color: #fed7aa;
}

.download-btn-sm {
  background: #f7faf4;
  border-color: #dbe5d4;
  color: #405060;
}

.download-btn-sm:hover {
  background: #edf8ee;
  color: #15803d;
}

.driver-feature,
.tablet-feature,
.cta-section,
.footer {
  background: #ffffff;
  border-color: #dfe8da;
}

.driver-feature .section-header h2,
.tablet-feature .section-header h2,
.cta-section h2,
.footer .logo-text,
.dfl-item h4,
.stop-name,
.tab-mock-order,
.tab-mock-prod-name,
.tab-mock-ci-name,
.tab-mock-ci-price,
.tab-mock-tot-total {
  color: #122018;
}

.driver-feature .section-header p,
.tablet-feature .section-header p,
.cta-section p,
.dfl-item p,
.stop-addr,
.stop-material,
.msg-bubble,
.footer-tagline,
.footer-copy,
.footer-links a {
  color: #516070;
}

.driver-phone,
.tab-mock-frame {
  background: #ffffff;
  border-color: #dbe5d4;
  box-shadow: 0 24px 56px rgba(48, 63, 47, 0.14);
}

.phone-bar,
.phone-stop,
.phone-msg,
.tab-mock-chrome,
.tab-mock-header,
.tab-mock-prod,
.tab-mock-cart,
.tab-mock-cart-item,
.tab-mock-search,
.tab-mock-cat,
.tab-mock-ci-btn {
  background: #f7faf4;
  border-color: #dbe5d4;
}

.phone-notch,
.tab-mock-dots span,
.tab-mock-prod-img {
  background: #c9d6c2;
}

.phone-bar,
.tab-mock-store,
.tab-mock-url,
.tab-mock-cust-btn,
.tab-mock-void,
.tab-mock-search,
.tab-mock-cat,
.tab-mock-prod-price,
.tab-mock-ci-qty,
.tab-mock-tot-row {
  color: #64748b;
}

.tab-mock-app,
.tab-mock-products {
  background: #ffffff;
  border-color: #dbe5d4;
}

.tab-mock-url,
.tab-mock-cust-btn {
  background: #ffffff;
  border-color: #dbe5d4;
}

.tab-mock-cat--on,
.tab-mock-pay-btn--green {
  background: var(--green-500);
  border-color: var(--green-500);
  color: #ffffff;
}

.tab-mock-prod--in {
  background: #edf8ee;
  border-color: rgba(34, 197, 94, 0.42);
}

.tab-mock-cart-title,
.tab-mock-cart-item,
.tab-mock-totals,
.tab-mock-tot-total {
  border-color: #dbe5d4;
}

.tab-mock-pay-btn--ghost {
  border-color: #dbe5d4;
  color: #405060;
}

.cta-section {
  background: linear-gradient(180deg, #ffffff 0%, #edf8ee 100%);
}

.footer {
  border-top: 1px solid #dfe8da;
}

.footer-contact {
  color: #516070;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(9, 15, 12, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox-panel {
  position: relative;
  width: min(1180px, 94vw);
  max-height: 88vh;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #dbe5d4;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.image-lightbox-img {
  width: 100%;
  max-height: calc(88vh - 32px);
  object-fit: contain;
  border-radius: 10px;
}

.image-lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
  border: 1px solid #dbe5d4;
  border-radius: 999px;
  background: #ffffff;
  color: #122018;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(18, 32, 24, 0.18);
}

.image-lightbox-close:hover {
  background: #edf8ee;
  color: #15803d;
}

/* ============================================
   ARTICLES
   ============================================ */
.articles-home,
.articles-index-section,
.article-page,
.article-shell,
.article-cta-band {
  background: #ffffff;
}

.articles-home {
  padding: 100px 0;
  border-top: 1px solid #dfe8da;
}

.articles-home .section-header h2,
.articles-hero h1,
.article-hero h1,
.article-content h2,
.article-cta-inner h2,
.article-card h2,
.article-card h3 {
  color: #122018;
}

.articles-home .section-header p,
.articles-hero p,
.article-hero p,
.article-content p,
.article-card p,
.article-cta-inner p {
  color: #516070;
}

.articles-home-grid,
.articles-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.article-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 28px;
  border: 1px solid #dbe5d4;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(237, 248, 238, 0.96)),
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.18), transparent 34%);
  color: inherit;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 18px 42px rgba(48, 63, 47, 0.14);
}

.article-card--wide {
  grid-column: span 2;
}

.article-card span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
}

.article-card h2,
.article-card h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.article-card h3 {
  font-size: clamp(20px, 2vw, 28px);
}

.article-card p {
  max-width: 620px;
  font-size: 15px;
  line-height: 1.65;
}

.articles-home-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.articles-hero {
  padding: 110px 0 84px;
  background:
    linear-gradient(135deg, rgba(5, 46, 22, 0.96), rgba(18, 32, 24, 0.94)),
    url('assets/stone-bins.webp') center/cover;
}

.articles-hero-inner {
  max-width: 860px;
}

.articles-hero h1 {
  max-width: 880px;
  color: #ffffff;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

.articles-hero p {
  max-width: 680px;
  margin-top: 22px;
  color: #dceee2;
  font-size: 19px;
  line-height: 1.65;
}

.articles-index-section {
  padding: 72px 0 110px;
}

.article-hero {
  padding: 86px 0 72px;
  background: #edf8ee;
  border-bottom: 1px solid #dbe5d4;
}

.article-hero--tax {
  background: linear-gradient(135deg, #edf8ee 0%, #eef6ff 100%);
}

.article-hero--units {
  background: linear-gradient(135deg, #f7faf4 0%, #fff7ed 100%);
}

.article-hero--registers {
  background: linear-gradient(135deg, #eef6ff 0%, #edf8ee 100%);
}

.article-hero--mobile {
  background: linear-gradient(135deg, #f7faf4 0%, #f5f3ff 100%);
}

.article-hero--delivery {
  background: linear-gradient(135deg, #edf8ee 0%, #ecfeff 100%);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 52px;
  align-items: center;
}

.article-back {
  display: inline-flex;
  margin-bottom: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-700);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-back::before {
  content: "<";
  margin-right: 8px;
}

.article-hero h1 {
  max-width: 860px;
  font-size: clamp(40px, 5.6vw, 66px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.article-hero p {
  max-width: 720px;
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.65;
}

.article-hero-media {
  overflow: hidden;
  border: 1px solid #dbe5d4;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(48, 63, 47, 0.16);
}

.article-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  gap: 76px;
  align-items: start;
  padding-top: 74px;
  padding-bottom: 96px;
}

.article-sidebar {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0;
}

.article-sidebar span {
  margin-bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
}

.article-sidebar a {
  color: #516070;
  font-size: 14px;
  font-weight: 700;
}

.article-sidebar a:hover {
  color: var(--green-700);
}

.article-content {
  max-width: 760px;
}

.article-content section + section {
  margin-top: 54px;
}

.article-content h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
}

.article-content p {
  font-size: 18px;
  line-height: 1.82;
}

.article-content p + p {
  margin-top: 18px;
}

.article-callout {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--green-500);
  border-radius: 8px;
  background: #edf8ee;
  color: #24402d;
  font-size: 17px;
  line-height: 1.65;
}

.article-callout strong {
  color: #122018;
}

.article-screenshot {
  margin: 34px 0;
}

.article-screenshot img {
  width: 100%;
  border: 1px solid #dbe5d4;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(48, 63, 47, 0.13);
  cursor: zoom-in;
}

.article-screenshot--wide {
  width: 100%;
  max-width: 100%;
}

.article-screenshot--phone {
  width: min(100%, 420px);
  margin-left: auto;
  margin-right: auto;
}

.article-screenshot figcaption {
  margin-top: 12px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.article-content .btn-primary {
  margin-top: 26px;
}

.article-cta-band {
  padding: 72px 0;
  border-top: 1px solid #dbe5d4;
  background: linear-gradient(180deg, #ffffff 0%, #edf8ee 100%);
}

.article-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.article-cta-inner h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.article-cta-inner p {
  max-width: 620px;
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .hero--yard .hero-inner {
    max-width: none;
    min-height: auto;
    padding-top: 82px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 12, 9, 0.86) 0%, rgba(17, 31, 23, 0.76) 54%, rgba(17, 31, 23, 0.86) 100%);
  }

  .origin-inner,
  .yard-flow-inner {
    grid-template-columns: 1fr;
  }

  .screen-card--primary {
    transform: none;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .article-hero-grid,
  .article-layout,
  .article-cta-inner {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    display: none;
  }

  .article-hero-media {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .hero--yard .hero-inner {
    padding-top: 58px;
    padding-bottom: 34px;
  }

  .hero--yard .hero-headline {
    font-size: clamp(42px, 14vw, 64px);
  }

  .hero--yard .hero-headline-sub {
    font-size: clamp(25px, 8vw, 36px);
  }

  .lead-capture-fields {
    grid-template-columns: 1fr;
  }

  .hero--yard .hero-cta {
    width: 100%;
  }

  .hero--yard .hero-cta .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .hero-secondary-actions {
    width: 100%;
    justify-content: center;
  }

  .yard-flow,
  .delivery-feature,
  .who,
  .customer-feature,
  .full-features,
  .platform,
  .articles-home,
  .pricing {
    padding: 72px 0;
  }

  .articles-home-grid,
  .articles-index-grid {
    grid-template-columns: 1fr;
  }

  .article-card--wide {
    grid-column: auto;
  }

  .article-card {
    min-height: 220px;
    padding: 24px;
  }

  .articles-hero,
  .article-hero {
    padding: 72px 0 54px;
  }

  .articles-hero h1,
  .article-hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .article-layout {
    padding-top: 54px;
    padding-bottom: 72px;
  }

  .article-content p {
    font-size: 17px;
    line-height: 1.76;
  }
}
