:root {
  /* Same system as the console: white and soft grey, near-black type, one
   * deep green accent. Big product imagery does the selling, not gradients. */
  --bg: #ffffff;
  --bg-alt: #f6f6f4;
  --card: #ffffff;
  --card-edge: #e5e5e2;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --accent: #047857;
  --accent-dark: #065f46;
  --pick: #a3530b;
  --ink: #0f1a14;
  --shadow: 0 1px 0 rgba(26,26,26,.06), 0 1px 3px rgba(26,26,26,.08);
  --shadow-lg: 0 2px 4px rgba(16,24,20,.06), 0 24px 60px -12px rgba(16,24,20,.22);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
.section { scroll-margin-top: 72px; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; }
h1, h2, h3, .brand { font-family: var(--font-head); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }

a { color: var(--accent); text-decoration: none; }
/* Utility — the console stylesheet defines this too; the chat widget needs it here. */
.hidden { display: none !important; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--card-edge); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; position: relative; }

/* Account menu. Shown at every width: below 880px it is the only navigation
 * there is, and at any width it is the only way to see which account this
 * browser is holding, or to sign out. */
.nav-menu-btn { background: none; border: 1px solid var(--card-edge); border-radius: 9px;
  color: var(--text); width: 40px; height: 40px; flex: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; }
.nav-menu-btn:hover { border-color: var(--accent); color: var(--accent); }
.nav-menu-btn svg { width: 20px; height: 20px; }

.nav-menu { position: absolute; top: 56px; right: 0; z-index: 20; min-width: 260px;
  background: var(--card); border: 1px solid var(--card-edge); border-radius: 12px;
  padding: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.nav-menu-group { padding: 4px 0; }
.nav-menu-group + .nav-menu-group { border-top: 1px solid var(--card-edge); }
.nav-menu-item { display: block; padding: 9px 12px; border-radius: 8px; font-size: .92rem;
  color: var(--text); }
.nav-menu-item:hover { background: rgba(0,0,0,.05); }
.nav-menu-item.primary { color: var(--accent); font-weight: 600; }
/* The account line wraps rather than truncating — a half-shown address answers
 * the question it was added to answer only halfway. */
.nav-menu-who { padding: 8px 12px 10px; font-size: .78rem; color: var(--muted);
  display: flex; flex-direction: column; gap: 2px; }
.nav-menu-who strong { color: var(--text); font-size: .88rem; word-break: break-all; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); letter-spacing: .3px; }
.brand-mark { color: var(--accent); letter-spacing: -2px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--muted); font-size: .95rem; }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-block; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--card-edge); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* Hero */
.hero { padding: 84px 0 64px; background: radial-gradient(1100px 560px at 72% -8%, #1b3b6e 0%, transparent 58%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; text-transform: uppercase; font-size: .8rem; letter-spacing: 1.5px; margin-bottom: 14px; }
h1 { font-size: 3.05rem; line-height: 1.08; letter-spacing: -.5px; margin-bottom: 18px; }
.lede { color: var(--muted); font-size: 1.14rem; margin-bottom: 28px; max-width: 540px; }
.lede strong, .hero strong { color: var(--text); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { color: var(--muted); font-size: .85rem; }

.hero-card { display: flex; justify-content: center; }
.hero-anim { width: 100%; max-width: 440px; }
.hero-anim svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 50px rgba(0,0,0,.45)); }
.device { position: relative; width: 100%; max-width: 340px; background: #ffffff; border: 1px solid var(--card-edge); border-radius: 26px; padding: 18px 14px 16px; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.device-notch { width: 110px; height: 7px; border-radius: 99px; background: #e5e5e2; margin: 0 auto 14px; }
.scan-mock { background: var(--card); border: 1px solid var(--card-edge); border-radius: 14px; padding: 22px; }
.scan-mock-head { color: var(--muted); font-size: .72rem; letter-spacing: 2px; margin-bottom: 10px; }
.scan-mock-code { font-size: .95rem; margin-bottom: 14px; }
.scan-mock-directive { font-size: 2.1rem; font-weight: 800; letter-spacing: 2px; margin-bottom: 8px; font-family: var(--font-head); }
.scan-mock-directive.pick { color: var(--pick); }
.scan-mock-detail { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.scan-mock-detail strong { color: var(--text); }
.scan-mock-bar { color: var(--text); letter-spacing: -1px; font-size: 1.5rem; opacity: .8; }
.scan-mock-foot { color: var(--muted); font-size: .78rem; margin-top: 16px; border-top: 1px solid var(--card-edge); padding-top: 12px; }

/* Trust band */
.trust { border-top: 1px solid var(--card-edge); border-bottom: 1px solid var(--card-edge); background: var(--bg-alt); padding: 18px 0; }
.trust-inner { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; }
.trust-chip { font-size: .82rem; color: var(--muted); border: 1px solid var(--card-edge); border-radius: 99px; padding: 6px 14px; background: var(--card); }

/* Pain cards */
.card.pain { border-left: 3px solid var(--pick); }

/* ROI calculator */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.roi-inputs { background: var(--card); border: 1px solid var(--card-edge); border-radius: 12px; padding: 22px 24px; display: flex; flex-direction: column; gap: 20px; }
.roi-inputs label { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; font-size: .92rem; color: var(--muted); }
.roi-inputs input[type="range"] { grid-column: 1 / -1; accent-color: var(--accent); width: 100%; }
.roi-out { font-weight: 700; color: var(--text); font-family: var(--font-head); justify-self: end; }
.roi-result { background: linear-gradient(160deg, #133a31, var(--card)); border: 1px solid var(--accent); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.roi-stat { margin-bottom: 14px; }
.roi-num { font-size: 2.4rem; font-weight: 800; color: var(--accent); font-family: var(--font-head); line-height: 1.1; }
.roi-lbl { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .6px; }
/* The line that connects the saving to the price. It carries the argument, so
 * it reads at body weight rather than as a footnote. */
.roi-payback { font-size: .95rem; font-weight: 600; margin-top: 10px; }
.roi-note { color: var(--muted); font-size: .82rem; margin-top: 6px; }

/* CTA band */
.cta-band { background: radial-gradient(900px 420px at 50% 120%, #1b3b6e 0%, transparent 60%); }
.center-lede { margin-left: auto; margin-right: auto; }

/* Fade-in on scroll — subtle reveal as each block enters the viewport.
   Elements start slightly down & transparent, then settle into place.
   Disabled entirely for users who prefer reduced motion. */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
h2 { font-size: 2rem; margin-bottom: 10px; }
.section-lede { color: var(--muted); margin-bottom: 36px; max-width: 640px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card { background: var(--card); border: 1px solid var(--card-edge); border-radius: 12px; padding: 24px; }
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .92rem; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #ffffff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }

/* Pricing — two options */
/* Full container width, so the cards line up with the comparison table below
 * them — the two read as one argument, and a narrower column made the seam
 * obvious. */
.plan-2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
@media (max-width: 1100px) and (min-width: 881px) { .plan-2 { grid-template-columns: 1fr 1fr; } .plan-custom { grid-column: 1 / -1; } }
.plan-custom .price { font-size: 2rem; }
.plan-tag { font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); font-weight: 700; margin-bottom: 4px; }
.plan-desc { color: var(--muted); font-size: .92rem; margin: 8px 0 4px; }
.price-alt { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.plan-featured { border-color: var(--accent); }
.plan .price { margin-top: 6px; }
.plan ul { list-style: none; margin: 16px 0 22px; flex: 1; }
.plan li { color: var(--muted); font-size: .92rem; padding: 6px 0 6px 24px; position: relative; }
.plan li::before { content: "✓"; color: var(--accent); position: absolute; left: 0; }

/* "No hardware" reassurance panel under pricing */
.addon { background: var(--card); border: 1px solid var(--card-edge); border-radius: 12px; padding: 24px 26px; margin-top: 28px; }
.addon h3 { font-size: 1.15rem; margin-bottom: 4px; }

/* Year-one cost comparison. The point of the table is the last column, so it
 * is the only one that carries weight; our own rows are tinted rather than
 * bolded whole, to keep that column readable. */
.compare { background: var(--card); border: 1px solid var(--card-edge); border-radius: 12px; padding: 24px 26px; margin-top: 28px; }
.compare h3 { font-size: 1.15rem; margin-bottom: 6px; }
.compare > p { color: var(--muted); font-size: .92rem; }
.compare-scroll { overflow-x: auto; }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; margin-top: 18px; font-size: .9rem; }
.compare-table th, .compare-table td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--card-edge); }
.compare-table thead th { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .6px; }
.compare-table tbody th { font-weight: 600; }
.compare-table td { color: var(--muted); }
.compare-table tr.us th, .compare-table tr.us td { color: var(--text); }
.compare-table tr.us th::before { content: "▮ "; color: var(--accent); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-note { color: var(--muted); font-size: .8rem; margin-top: 14px; }
/* On a phone the seat count is the column we can afford to lose: the argument
 * survives on "what setup costs" and "what year one costs". */
@media (max-width: 620px) {
  .compare-table { min-width: 0; font-size: .82rem; }
  .compare-table th:nth-child(2), .compare-table td:nth-child(2) { display: none; }
}

/* Pricing */
.plan-2 { align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card ul { list-style: none; margin: 18px 0 24px; flex: 1; }
.price-card li { color: var(--muted); font-size: .92rem; padding: 6px 0 6px 24px; position: relative; }
.price-card li::before { content: "✓"; color: var(--accent); position: absolute; left: 0; }
.price { font-size: 1.9rem; font-weight: 800; }
.price span { font-size: .95rem; color: var(--muted); font-weight: 400; }
.plan-featured { border-color: var(--accent); transform: translateY(-6px); }
.badge { position: absolute; top: -12px; right: 18px; background: var(--accent); color: #ffffff; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; letter-spacing: .5px; }
.pricing-note { color: var(--muted); font-size: .88rem; margin-top: 24px; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--card-edge); border-radius: 10px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin-top: 10px; font-size: .94rem; }

/* Footer */
.footer { border-top: 1px solid var(--card-edge); padding: 32px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer small { color: var(--muted); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .roi, .plan-2 { grid-template-columns: 1fr; }
  h1 { font-size: 2.3rem; }
  .nav-links { display: none; }
  /* The privacy pages have no hamburger menu, so hiding the whole link row on
   * phones removed their only language switch. Keep just the language link —
   * it's the one thing a phone visitor needs from that row. */
  .nav-legal .nav-links { display: flex; }
  .nav-legal .nav-links a:not([lang]) { display: none; }
  .plan-featured { transform: none; }
}

/* Support chat styles live in chat.css — shared with the console. */

/* Legal pages. Long-form prose, so it gets a reading measure and real spacing
 * between sections — a privacy policy nobody can read is not a disclosure. */
.legal h2 { font-size: 1.15rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: .95rem; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 12px 20px; }
.legal li { margin-bottom: 8px; }
.legal ul ul { margin-top: 8px; }
.legal strong { color: var(--text); }

@media print { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Pilot lead form ---------- */
.pilot-form { max-width: 640px; margin: 8px auto 0; text-align: left; }
.pilot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.pilot-grid label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.pilot-grid input, .pilot-grid select {
  font: inherit; font-size: 1rem; padding: 11px 12px; border-radius: 10px;
  background: var(--card); color: var(--text);
  border: 1px solid var(--card-edge, #e5e5e2);
}
.pilot-grid input:focus, .pilot-grid select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.pilot-msg-field { grid-column: 1 / -1; }
.pilot-opt { font-weight: 400; opacity: .7; }
.pilot-status { min-height: 1.4em; margin-top: 10px; font-size: .92rem; }
.pilot-status.ok { color: var(--accent); }
.pilot-status.err { color: var(--pick); }
.pilot-alt { margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
/* WhatsApp button in the brand green people recognise on sight. */
.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #08301b; border: none; font-weight: 700;
}
.btn-wa:hover { background: #1ebe5b; color: #08301b; }
.btn-wa svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 620px) { .pilot-grid { grid-template-columns: 1fr; } }

/* ---------- Arabic (RTL) ---------- */
/* Flex and grid flip themselves under dir="rtl"; what needs help is the
   typeface (Sora has no Arabic glyphs — Cairo is loaded by the ar pages),
   letter-spacing (wrong for connected script), and the few places a physical
   left/right was hard-coded. */
html[lang="ar"] body { font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif; }
html[lang="ar"] .eyebrow, html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; }
html[lang="ar"] .brand-mark { letter-spacing: -2px; } /* the logo glyphs stay as designed */
[dir="rtl"] .compare-table th, [dir="rtl"] .compare-table td { text-align: right; }
[dir="rtl"] .chat-launcher, [dir="rtl"] .chat-panel { right: auto; left: 20px; }
/* Numbers, prices and phone numbers read LTR inside RTL text. */
[dir="rtl"] .price, [dir="rtl"] .roi-num, [dir="rtl"] .compare-table td { unicode-bidi: plaintext; }

/* ---------- A delivery's journey (process visual) ---------- */
.flow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 28px; counter-reset: none; }
.flow-step { position: relative; text-align: center; }
.flow-step h3 { font-size: 1rem; margin: 10px 0 6px; }
.flow-step p { color: var(--muted); font-size: .88rem; line-height: 1.5; }
/* Arrow to the next step (desktop row). */
.flow-step:not(:last-child)::after {
  content: "→"; position: absolute; top: 118px; right: -15px; color: var(--accent);
  font-size: 1.3rem; font-weight: 800; opacity: .8;
}
.flow-num { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--accent); color: #ffffff; font-weight: 800; font-size: .85rem; margin-top: 14px; }
.flow-screen {
  position: relative; overflow: hidden; height: 250px; max-width: 170px; margin: 0 auto;
  border: 3px solid #d9d9d6; border-radius: 22px; background: #ffffff;
  padding: 18px 10px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(0,0,0,.04);
  font-size: .72rem; color: var(--text);
}
.flow-screen::before { content: ""; position: absolute; top: 6px; left: 50%; width: 36px; height: 4px;
  margin-left: -18px; border-radius: 4px; background: #d9d9d6; }
.fs-title { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; color: var(--accent); margin-top: 4px; }
.fs-stow .fs-title { color: #60a5fa; }
.fs-pick .fs-title { color: var(--pick); }
.fs-line { font-weight: 600; }
.fs-sub { color: var(--muted); font-size: .66rem; }
.fs-big { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 8px; background: rgba(0,0,0,.06); }
.fs-badge { margin-top: auto; font-size: .64rem; font-weight: 700; padding: 5px 8px; border-radius: 999px; }
.fs-ok { background: rgba(4,120,87,.16); color: var(--accent); }
.fs-warn { background: rgba(163,83,11,.16); color: var(--pick); }
.fs-sheet { width: 100%; display: flex; flex-direction: column; gap: 3px; margin-top: 6px; }
.fs-row { display: grid; grid-template-columns: 1fr 1.3fr .7fr; gap: 3px; font-size: .6rem; text-align: start; }
.fs-row i, .fs-row b { font-style: normal; padding: 3px 4px; background: rgba(0,0,0,.05); border-radius: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fs-head b { background: rgba(4,120,87,.18); color: var(--accent); }
.fs-box { width: 78px; height: 58px; border-radius: 6px; background: linear-gradient(160deg, #c99a5b, #a87a3e);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; margin-top: 6px; }
.fs-bars { background: #fff; color: #111; font-size: .7rem; letter-spacing: -1px; padding: 1px 4px; border-radius: 2px; }
.fs-scanline { position: absolute; left: 14%; right: 14%; top: 24px; height: 2px; background: #f43f5e;
  box-shadow: 0 0 8px #f43f5e; animation: fs-scan 2.2s ease-in-out infinite; }
@keyframes fs-scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(58px); } }
.fs-rack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 80%; }
.fs-rack i { height: 16px; border-radius: 3px; background: rgba(0,0,0,.07); border: 1px solid rgba(0,0,0,.08); }
.fs-rack i.on { background: rgba(29,78,216,.45); border-color: #60a5fa; animation: fs-pulse 1.6s ease-in-out infinite; }
@keyframes fs-pulse { 50% { box-shadow: 0 0 0 4px rgba(29,78,216,.25); } }
.fs-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; width: 100%; margin-top: 6px; }
.fs-kpis span { background: rgba(0,0,0,.05); border-radius: 6px; padding: 6px 4px; font-size: .58rem; color: var(--muted); display: flex; flex-direction: column; }
.fs-kpis b { color: var(--text); font-size: .8rem; }
.fs-chart { display: flex; align-items: flex-end; gap: 5px; height: 80px; width: 85%; margin-top: 8px; }
.fs-chart i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--accent), rgba(4,120,87,.25));
  transform-origin: bottom; animation: fs-grow 1.4s cubic-bezier(.2, .7, .3, 1) both; }
.fs-chart i:nth-child(2) { animation-delay: .1s; } .fs-chart i:nth-child(3) { animation-delay: .2s; }
.fs-chart i:nth-child(4) { animation-delay: .3s; } .fs-chart i:nth-child(5) { animation-delay: .4s; } .fs-chart i:nth-child(6) { animation-delay: .5s; }
@keyframes fs-grow { from { transform: scaleY(0); } }
[dir="rtl"] .flow-step:not(:last-child)::after { content: "←"; right: auto; left: -15px; }

/* ---------- Built for your kind of business ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.ind-card { background: var(--card); border: 1px solid var(--card-edge); border-radius: 14px; padding: 22px;
  transition: transform .2s ease, border-color .2s ease; }
.ind-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.ind-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; background: rgba(4,120,87,.12); margin-bottom: 12px; }
.ind-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.ind-card p { color: var(--muted); font-size: .9rem; line-height: 1.55; }

@media (max-width: 980px) {
  .flow { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .flow-step:not(:last-child)::after { display: none; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .fs-scanline, .fs-rack i.on, .fs-chart i { animation: none; }
}

/* ---------- Real photos ----------
 * Each panel layers: a darkening overlay, the photo, and a designed gradient.
 * Until a photo file exists in assets/img/photos/ the gradient shows (no
 * broken-image icon, no layout shift); drop the file in and the photo appears.
 * See assets/img/photos/README.md for the shot list and sizes. */
.ind-card { padding: 0; overflow: hidden; }
.ind-card h3, .ind-card p { padding: 0 22px; }
.ind-card h3 { margin-top: 16px; }
.ind-card p { padding-bottom: 22px; }
.ind-photo { position: relative; height: 150px; display: flex; align-items: flex-end; padding: 14px;
  background-size: cover; background-position: center; border-bottom: 1px solid var(--card-edge); }
.ind-photo .ind-icon { margin: 0; width: 46px; height: 46px; font-size: 1.4rem; background: rgba(255,255,255,.72);
  backdrop-filter: blur(4px); border: 1px solid rgba(255, 255, 255, .12); }
.ind-photo-warehouse { background-image: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.55)), url("../img/photos/warehouse.webp"), linear-gradient(135deg, #1d3a6b, #12284b 60%, #0f6d5a); }
.ind-photo-supermarket { background-image: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.55)), url("../img/photos/supermarket.webp"), linear-gradient(135deg, #3a2a6b, #1a2650 60%, #0f6d5a); }
.ind-photo-retail { background-image: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.55)), url("../img/photos/retail.webp"), linear-gradient(135deg, #5b2a55, #1a2650 60%, #1d4f7a); }
.ind-photo-pharma { background-image: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.55)), url("../img/photos/pharma.webp"), linear-gradient(135deg, #12546b, #14304f 60%, #0f6d5a); }
.ind-photo-building { background-image: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.55)), url("../img/photos/building.webp"), linear-gradient(135deg, #6b4a1d, #2a2a3f 60%, #4a3a1a); }
.ind-photo-auto { background-image: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.55)), url("../img/photos/auto.webp"), linear-gradient(135deg, #2b2f3a, #14203a 60%, #6b1d2a); }
@media print { .ind-photo { background-image: none !important; height: auto; } }

/* Line icons replace emoji: they take the brand colour and render the same on every device. */
.ind-icon .ico { width: 24px; height: 24px; color: var(--accent); }

/* Sign in / Sign up — the inverse of "Book a pilot": outlined in the accent,
 * filling in on hover, so the two sit together without competing. */
.btn-inverse { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-inverse:hover { background: var(--accent); color: #ffffff; }
.nav-inner > .btn-inverse { margin-inline-start: auto; }
.nav-inner > .btn-inverse + .btn-primary { margin-inline-start: -6px; }
@media (max-width: 880px) { .btn-long { display: none; } }
@media (max-width: 480px) {
  .nav-inner > .btn { padding: 8px 12px; font-size: .85rem; }
  .nav-inner { gap: 10px; }
}
.nav-inner > .btn { white-space: nowrap; }
@media (max-width: 420px) {
  .nav-inner .brand { font-size: 1rem; white-space: nowrap; }
  .nav-inner > .btn { padding: 7px 10px; font-size: .8rem; }
  .nav-inner { gap: 7px; }
}
/* Smallest phones: the logo mark alone (the word "StowFlow" is in the hero
 * right below), so both buttons and the menu fit on one line. */
@media (max-width: 420px) {
  .nav-inner .brand { font-size: 0; }
  .nav-inner .brand .brand-mark { font-size: 1.1rem; }
}
.pilot-ref-note { margin: 0 0 12px; padding: 8px 12px; border-radius: 10px; font-size: .9rem;
  background: rgba(4,120,87,.12); color: var(--accent); }
.api-doc h3 { font-size: 1rem; margin: 22px 0 8px; }
.api-doc pre { background: var(--bg-alt, #0f172a); border: 1px solid rgba(0,0,0,.08); border-radius: 10px;
  padding: 12px 14px; overflow-x: auto; font-size: .82rem; line-height: 1.5; margin: 0 0 12px; }
.api-doc code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.api-doc p code, .api-doc li code { font-size: .85em; padding: 1px 5px; border-radius: 5px; background: rgba(0,0,0,.06); }

/* =====================================================================
 * Design system — marketing site
 *
 * Modelled on how Shopify and Stripe sell software: a white page, confident
 * near-black headlines in one typeface, plenty of space, the real product as
 * the hero image, and colour used sparingly — for the primary action and for
 * meaning. Overrides the older dark styles above without rewriting each.
 * ===================================================================== */
body { background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { color: var(--ink); letter-spacing: -.022em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.03em; }
h3 { font-size: 1.05rem; letter-spacing: -.01em; }
.section-lede, .lede { color: var(--muted); }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--card-edge); border-bottom: 1px solid var(--card-edge); }

/* Nav: white, hairline, no glass. */
.nav { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--card-edge); }
.brand { color: var(--ink); letter-spacing: -.02em; }
.nav-links a { color: #3d3d3d; font-weight: 500; font-size: .93rem; }
.nav-links a:hover { color: var(--ink); }
.nav-menu-btn { border-color: var(--card-edge); color: var(--ink); background: #fff; }
.nav-menu { background: #fff; border-color: var(--card-edge); box-shadow: var(--shadow-lg); }
.nav-menu-item { color: var(--text); }
.nav-menu-item:hover { background: #f4f4f2; }

/* Buttons: solid dark-green primary, white secondary with a hairline. */
.btn { border-radius: 9px; font-weight: 600; letter-spacing: -.005em; transition: background .15s, border-color .15s, box-shadow .15s; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: inset 0 -1px 0 rgba(0,0,0,.2), var(--shadow); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: #fff; border-color: #d6d6d2; color: var(--ink); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: #bdbdb8; color: var(--ink); background: #fafaf8; }
.btn-inverse { background: #fff; color: var(--ink); border-color: #d6d6d2; }
.btn-inverse:hover { background: #fafaf8; color: var(--ink); border-color: #bdbdb8; }
.btn-lg { padding: 13px 24px; font-size: 1rem; }

/* Hero: text first, then the product itself, large. */
.hero { background: linear-gradient(180deg, #f6f8f6 0%, #fff 70%); padding: 88px 0 0; border-bottom: 1px solid var(--card-edge); overflow: hidden; }
.hero-grid { grid-template-columns: 1fr; gap: 56px; text-align: center; }
.hero-grid > div:first-child { max-width: 820px; margin: 0 auto; }
.eyebrow { display: inline-block; color: var(--accent); background: #e7f4ee; border: 1px solid #cfe8dc; border-radius: 999px;
  padding: 4px 12px; font-size: .8rem; font-weight: 600; text-transform: none; letter-spacing: 0; margin-bottom: 22px; }
.lede { font-size: 1.2rem; line-height: 1.55; max-width: 680px; margin: 0 auto 32px; }
.lede strong, .hero strong { color: var(--ink); font-weight: 600; }
.hero-cta { justify-content: center; }
.hero-note { color: #6b6b6b; font-size: .85rem; }
.hero-card { display: block; }
.shot { position: relative; max-width: 1080px; margin: 0 auto; }
.shot-browser { border-radius: 14px 14px 0 0; border: 1px solid #d9d9d6; border-bottom: 0; background: #fff;
  box-shadow: var(--shadow-lg); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #f4f4f2; border-bottom: 1px solid #e5e5e2; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d9d6; }
.shot-bar span { margin-inline-start: 12px; font-size: .74rem; color: #616161; background: #fff; border: 1px solid #e5e5e2;
  border-radius: 6px; padding: 2px 10px; }
.shot-browser img { display: block; width: 100%; height: auto; }
.shot-phone { position: absolute; right: -14px; bottom: -1px; width: 26%; max-width: 270px; border-radius: 30px 30px 0 0;
  border: 8px solid #1a1a1a; border-bottom: 0; background: #1a1a1a; box-shadow: var(--shadow-lg); overflow: hidden; }
.shot-phone img { display: block; width: 100%; height: auto; border-radius: 22px 22px 0 0; }
@media (max-width: 700px) { .shot-phone { display: none; } .hero { padding-top: 56px; } }

/* Trust band: quiet text, not pills. */
.trust { background: #fff; border-top: 0; border-bottom: 1px solid var(--card-edge); padding: 22px 0; }
.trust-chip { background: none; border: 0; border-radius: 0; color: #5c5c5c; font-weight: 500; font-size: .88rem; padding: 4px 10px; }
.trust-chip + .trust-chip { border-inline-start: 1px solid #e0e0dc; }

/* Cards */
.card, .ind-card, details, .roi-inputs, .addon, .compare { background: #fff; border: 1px solid var(--card-edge); border-radius: 14px; box-shadow: var(--shadow); }
.card p, .ind-card p { color: var(--muted); }
.card.pain { border-left: 1px solid var(--card-edge); border-top: 3px solid #d97706; }
.step-num, .flow-num { background: var(--ink); color: #fff; }
.ind-card:hover { transform: none; border-color: #cfcfca; box-shadow: var(--shadow-lg); }
.ind-photo { height: 140px; background-color: #f1f3f1; border-bottom: 1px solid var(--card-edge); }
.ind-photo-warehouse, .ind-photo-supermarket, .ind-photo-retail, .ind-photo-pharma, .ind-photo-building, .ind-photo-auto {
  background-image: var(--ph, none); }
.ind-photo-warehouse { --ph: url("../img/photos/warehouse.webp"); }
.ind-photo-supermarket { --ph: url("../img/photos/supermarket.webp"); }
.ind-photo-retail { --ph: url("../img/photos/retail.webp"); }
.ind-photo-pharma { --ph: url("../img/photos/pharma.webp"); }
.ind-photo-building { --ph: url("../img/photos/building.webp"); }
.ind-photo-auto { --ph: url("../img/photos/auto.webp"); }
.ind-photo .ind-icon, .ind-icon { background: #fff; border: 1px solid var(--card-edge); box-shadow: var(--shadow); backdrop-filter: none; }

/* Process phones: light screens like the real app. */
.flow-screen { background: #fff; border: 1px solid #d9d9d6; box-shadow: var(--shadow-lg); color: var(--text); }
.flow-screen::before { background: #e0e0dc; }
.fs-stow .fs-title { color: #1d4ed8; }
.fs-big { background: #f4f4f2; }
.fs-row i, .fs-row b, .fs-kpis span { background: #f4f4f2; }
.fs-rack i { background: #f1f1ef; border-color: #e0e0dc; }
.fs-rack i.on { background: rgba(29,78,216,.18); border-color: #1d4ed8; }
.fs-chart i { background: linear-gradient(180deg, var(--accent), rgba(4,120,87,.25)); }
.fs-scanline { background: #dc2626; box-shadow: none; }
.flow-step:not(:last-child)::after { color: #b5b5b0; font-weight: 400; }

/* ROI */
.roi-result { background: var(--ink); border: 0; color: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); }
.roi-result .roi-num { color: #6ee7b7; }
.roi-result .roi-lbl, .roi-result .roi-note { color: #b9c7bf; text-transform: none; letter-spacing: 0; }
.roi-result .roi-payback { color: #fff; }
.roi-inputs label { color: #3d3d3d; }
.roi-out { color: var(--ink); }

/* Pricing */
.plan-featured { border: 2px solid var(--ink); transform: none; }
.badge { background: var(--ink); color: #fff; letter-spacing: 0; }
.plan-tag { letter-spacing: 0; text-transform: none; font-size: .82rem; }
.price { color: var(--ink); letter-spacing: -.03em; }
.compare-table thead th { text-transform: none; letter-spacing: 0; font-size: .82rem; }
.compare-table tr.us th, .compare-table tr.us td { background: #f1f8f4; }

/* FAQ */
details { box-shadow: none; }
summary { color: var(--ink); }

/* CTA band */
.cta-band { background: var(--bg-alt); border-top: 1px solid var(--card-edge); }

/* Forms */
.pilot-grid label { color: #3d3d3d; }
.pilot-grid input, .pilot-grid select { background: #fff; color: var(--ink); border: 1px solid #cfcfca; border-radius: 9px; }
.pilot-grid input:focus, .pilot-grid select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(4,120,87,.15); }
.pilot-ref-note { background: #e7f4ee; color: #0c5132; }

/* Footer */
.footer { background: #fff; }
.footer small { color: #6b6b6b; }

/* API docs */
.api-doc pre { background: #f6f6f4; border-color: var(--card-edge); color: var(--ink); }
.api-doc p code, .api-doc li code { background: #f1f1ef; }

/* Industry cards: until real photos are added (assets/img/photos/), the slot
   collapses to the icon rather than showing an empty grey block. When you add
   photos, give .ind-photo back a height (e.g. 150px). */
.ind-photo { height: auto; padding: 22px 22px 0; background-color: transparent; border-bottom: 0; }
.ind-card h3 { margin-top: 14px; }

/* FAQ: a quiet plus/minus instead of the browser's triangle. */
details { padding: 0; border-radius: 12px; }
details summary { list-style: none; padding: 16px 48px 16px 20px; position: relative; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; inset-inline-end: 20px; top: 50%; transform: translateY(-52%);
  font-size: 1.3rem; font-weight: 400; color: #6b6b6b; }
details[open] summary::after { content: "−"; }
details > p, details > ul, details > div { padding: 0 20px 16px; margin-top: 0; }
.compare-table tr.us th::before { content: none; }

/* ---------- Warmer whites ----------
 * Pure #fff over the whole page glared. The page is now a warm off-white,
 * cards a touch lighter than the page so they still lift off it. */
:root {
  --bg: #faf9f6;
  --bg-alt: #f3f1ec;
  --card: #fffefc;
  --card-edge: #e7e4dd;
}
body, .footer, .trust { background: var(--bg); }
.nav { background: rgba(250,249,246,.92); }
.hero { background: linear-gradient(180deg, #f2f1ea 0%, var(--bg) 75%); }
.card, .ind-card, details, .roi-inputs, .addon, .compare, .nav-menu, .shot-browser,
.btn-ghost, .btn-inverse, .nav-menu-btn, .pilot-grid input, .pilot-grid select, .flow-screen { background: var(--card); }
.shot-bar { background: #f1efe9; }

/* Pricing: five key points per card, the rest behind "See the full plan". */
.price-card ul.plan-folded .plan-extra { display: none; }
.price-card ul.plan-folded { flex: 0 0 auto; margin-bottom: 8px; }
.plan-more { align-self: flex-start; background: none; border: 0; padding: 6px 0; margin: 0 0 auto;
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--accent); cursor: pointer; }
.plan-more:hover { text-decoration: underline; }
.plan-more:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.price-card .plan-more + .btn { margin-top: 20px; }
/* Two plans side by side, centred. */
.plan-2.plan-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; margin-inline: auto; }
@media (max-width: 880px) { .plan-2.plan-two { grid-template-columns: 1fr; } }
/* Links inside running text are underlined, not told apart by colour alone
 * (WCAG 1.4.1). Buttons and the header keep their own look. */
p a:not(.btn):not(.brand), li a:not(.btn), small a, .footer a:not(.brand) { text-decoration: underline; text-underline-offset: 2px; }
