/* ============================================================
   Butcher Core — public marketing site
   Identity carried over from the operations portal:
   warm "bone" paper + oxblood, Hanken Grotesk for UI,
   Fraunces for display headlines. Craft-butchery editorial.
   ============================================================ */

:root{
  /* surfaces */
  --paper:#F4F0E7;
  --paper-2:#EFE9DC;
  --surface:#FFFFFF;
  --surface-2:#FBF9F4;
  --border:#E7E0D2;
  --border-strong:#D8CFBC;

  /* ink */
  --ink:#211C16;
  --ink-2:#6E665A;
  --ink-3:#9A9183;

  /* brand — oxblood */
  --brand:#9B2E26;
  --brand-700:#7E241D;
  --brand-600:#8E2A22;
  --brand-soft:#F6E7E2;
  --brand-line:#E7C8C0;

  /* field / agriculture green */
  --field:#3C6B4A;
  --field-soft:#E6EFE6;

  /* status */
  --ok:#2E6E4E;        --ok-soft:#E4F0E7;
  --warn:#9A6708;      --warn-soft:#F7ECD6;
  --alert:#B23A2A;     --alert-soft:#F8E4DF;

  /* species accents (from the cut-sheet system) */
  --beef-soft:#F4E5E1;   --beef-ink:#9B2E26;
  --pork-soft:#F1E7EE;   --pork-ink:#8A436A;
  --lamb-soft:#E7EFE0;   --lamb-ink:#4E6E2E;
  --goat-soft:#E0EDEE;   --goat-ink:#2E6E6A;
  --deer-soft:#F4EDDC;   --deer-ink:#8A5A1E;

  --shadow-sm:0 1px 2px rgba(33,28,22,.05);
  --shadow:0 2px 10px rgba(33,28,22,.07);
  --shadow-md:0 10px 30px rgba(33,28,22,.10);
  --shadow-lg:0 30px 70px rgba(33,28,22,.20);

  --radius:14px;
  --radius-lg:22px;
  --wrap:1180px;

  --sans:'Hanken Grotesk',system-ui,-apple-system,sans-serif;
  --display:'Inter Tight','Hanken Grotesk',system-ui,sans-serif;

  /* motion: one easing and two durations for every transition and demo */
  --ease:cubic-bezier(.22,1,.36,1);
  --dur:.42s;
  --dur-fast:.22s;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--sans);
  background:var(--paper);
  color:var(--ink);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
img,svg{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer}
::selection{background:var(--brand-soft)}
::-webkit-scrollbar{width:11px;height:11px}
::-webkit-scrollbar-thumb{background:#D8CFBC;border-radius:10px;border:2px solid var(--paper)}
::-webkit-scrollbar-thumb:hover{background:#C7BCA4}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 26px;width:100%}

/* ============================ Typography ============================ */
h1,h2,h3,h4{font-family:var(--display);font-weight:700;letter-spacing:-.025em;line-height:1.06;color:var(--ink)}
/* even line lengths in headings (no lone last word), and no one-word last line in paragraphs */
h1,h2,h3{text-wrap:balance}
p,li{text-wrap:pretty}
.display{
  font-family:var(--display);font-weight:750;letter-spacing:-.035em;line-height:1.0;
  font-size:clamp(2.6rem,5.8vw,4.4rem);
}
.h2{font-size:clamp(1.9rem,4vw,2.9rem);letter-spacing:-.03em}

.eyebrow{
  display:inline-flex;align-items:center;gap:8px;font-family:var(--sans);
  font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.13em;
  color:var(--brand-700);
}
.eyebrow::before{content:"";width:22px;height:2px;border-radius:2px;background:var(--brand);opacity:.7}
.eyebrow.center::before{display:none}
.accent{color:var(--brand)}
.accent-underline{position:relative;white-space:nowrap}
.accent-underline::after{
  content:"";position:absolute;left:0;right:0;bottom:.03em;height:.34em;z-index:-1;
  background:var(--brand-soft);border-radius:4px;
}

/* ============================ Buttons ============================ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:13px 22px;border-radius:12px;border:1px solid var(--border-strong);
  background:var(--surface);color:var(--ink);font-size:15px;font-weight:700;
  white-space:nowrap;transition:background var(--dur-fast),border-color var(--dur-fast),transform var(--dur-fast) var(--ease),box-shadow var(--dur-fast);
}
.btn:hover{background:var(--surface-2);border-color:var(--ink-3);transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn i{font-size:19px}
.btn-primary{background:var(--brand);border-color:var(--brand);color:#fff;box-shadow:0 4px 14px rgba(155,46,38,.28)}
.btn-primary:hover{background:var(--brand-700);border-color:var(--brand-700);box-shadow:0 8px 22px rgba(155,46,38,.34)}

.btn-light{background:#fff;border-color:#fff;color:var(--brand-700)}
.btn-light:hover{background:var(--paper);border-color:var(--paper);color:var(--brand-700)}
.btn-outline-light{background:transparent;border-color:rgba(255,255,255,.5);color:#fff}
.btn-outline-light:hover{background:rgba(255,255,255,.12);border-color:#fff}
.btn-lg{padding:15px 26px;font-size:16px;border-radius:13px}
.btn-block{width:100%}

/* anchor targets clear the sticky header when jumped to */
section[id]{scroll-margin-top:88px}

/* ============================ Header / nav ============================ */
.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(244,240,231,.82);backdrop-filter:saturate(1.3) blur(12px);
  border-bottom:1px solid transparent;transition:border-color .2s,background .2s,box-shadow .2s;
}

/* nav dropdown — section shortcuts */
.nav-dd{position:relative;display:flex;align-items:center}
.nav-dd-toggle{display:inline-flex;align-items:center;gap:5px;padding:9px 14px;border-radius:9px;
  font-size:14.5px;font-weight:600;color:var(--ink-2);background:none;border:none;cursor:pointer;
  transition:background .13s,color .13s;font-family:inherit}
.nav-dd-toggle:hover,.nav-dd:hover .nav-dd-toggle{background:rgba(33,28,22,.05);color:var(--ink)}
.nav-dd-toggle.active{color:var(--brand-700);background:var(--brand-soft)}
.nav-dd-toggle .chev{font-size:15px;transition:transform .2s}
.nav-dd:hover .nav-dd-toggle .chev{transform:rotate(180deg)}
.nav-dd-menu{position:absolute;top:calc(100% + 9px);left:50%;transform:translateX(-50%) translateY(7px);
  background:var(--surface);border:1px solid var(--border);border-radius:15px;box-shadow:var(--shadow-lg);
  padding:8px;width:264px;opacity:0;visibility:hidden;transition:opacity .16s,transform .16s;z-index:70}
.nav-dd::after{content:"";position:absolute;top:100%;left:0;right:0;height:12px}
/* focus-within opens it for keyboard users too — tabbing onto "Features" shows its links */
.nav-dd:hover .nav-dd-menu,.nav-dd:focus-within .nav-dd-menu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
/* two columns: the feature pages, then who it's for */
.nav-dd-menu.wide{width:590px;display:grid;grid-template-columns:1.12fr 1fr;gap:0 6px;padding:10px}
.nav-dd-col{display:flex;flex-direction:column;min-width:0}
.nav-dd-col+.nav-dd-col{border-left:1px solid var(--border);padding-left:6px}
.nav-dd-h{display:block;font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;
  color:var(--ink-3);padding:6px 11px 5px}
.nav-dd-menu .nav-new{display:inline-block;margin-left:6px;font-size:9px;font-weight:800;letter-spacing:.04em;
  text-transform:uppercase;color:var(--ok);background:var(--ok-soft);padding:1px 6px;border-radius:999px;vertical-align:1px}
@media(max-width:900px){.nav-dd-menu.wide{width:520px;left:0;transform:translateY(7px)}
  .nav-dd:hover .nav-dd-menu.wide,.nav-dd:focus-within .nav-dd-menu.wide{transform:translateY(0)}}
.nav-dd-menu a{display:flex;align-items:center;gap:12px;padding:9px 11px;border-radius:10px;
  font-size:13.5px;font-weight:600;color:var(--ink-2);white-space:nowrap}
.nav-dd-menu a:hover{background:var(--surface-2);color:var(--brand-700)}
.nav-dd-menu a i{font-size:18px;color:var(--brand);width:20px;text-align:center;flex-shrink:0}
.nav-dd-menu a small{display:block;font-size:11px;color:var(--ink-3);font-weight:500;margin-top:1px}
.nav-dd-menu a b{font-weight:700}
@media(max-width:760px){.nav-dd{display:none}}

/* mobile-nav section group */
.mnav-group{font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;
  color:var(--ink-3);padding:14px 12px 4px}
.mobile-nav a.mnav-sub{padding:11px 12px 11px 24px;font-size:15px;color:var(--ink-2)}
.site-header.scrolled{border-color:var(--border);box-shadow:var(--shadow-sm)}
.nav{display:flex;align-items:center;gap:20px;height:70px}
.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}
.brand-mark{
  width:38px;height:38px;border-radius:11px;background:var(--brand);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  box-shadow:0 4px 12px rgba(155,46,38,.34);
}
.brand-mark i{color:#fff;font-size:22px}

/* the real emblem (cleaver + chef hat in the oxblood ring). `.brand-mark` above stays
   the generic square used inside the *tenant* mockups — that's a shop's own logo slot,
   not ours, so it must not pick up Butcher Core's mark. */
.brand-logo{width:42px;height:42px;object-fit:contain;display:block;flex-shrink:0}
/* on the dark footer the emblem's black cleaver disappears — sit it on a light disc */
.foot-mark .brand-logo{background:#fff;border-radius:50%;padding:2px;
  box-shadow:0 2px 10px rgba(0,0,0,.28)}
/* wordmark lockup (BUTCHERCORE + "software for butchers") */
.brand-wordmark{display:block;height:auto;max-width:100%}
.brand-name{font-family:var(--display);font-size:19px;font-weight:700;letter-spacing:-.03em;line-height:1;color:var(--ink)}
.brand-name b{font-weight:700}

.brand-text{display:flex;flex-direction:column;line-height:1}
.brand-by{font-family:var(--sans);font-size:10.5px;font-weight:600;letter-spacing:.02em;color:var(--ink-3);margin-top:3px}
.brand-by b{font-weight:800;color:var(--brand-700)}
.nav-links{display:flex;align-items:center;gap:4px;margin-left:12px}
.nav-links a{
  padding:9px 14px;border-radius:9px;font-size:14.5px;font-weight:600;color:var(--ink-2);
  transition:background .13s,color .13s;
}
.nav-links a:hover{background:rgba(33,28,22,.05);color:var(--ink)}
.nav-links a.active{color:var(--brand-700);background:var(--brand-soft)}
.nav-right{display:flex;align-items:center;gap:10px;margin-left:auto}
.nav-signin{font-size:15px;font-weight:700;color:var(--ink);padding:11px 18px;
  border:1px solid var(--border-strong);border-radius:10px;background:var(--surface);
  transition:background .15s,border-color .15s,color .15s}
.nav-signin:hover{background:var(--surface-2);border-color:var(--ink-3);color:var(--brand-700)}
.menu-btn{display:none;width:42px;height:42px;border:1px solid var(--border-strong);border-radius:11px;
  background:var(--surface);flex-direction:column;align-items:center;justify-content:center;gap:4px}
.menu-btn span{width:18px;height:2px;background:var(--ink);border-radius:2px;transition:.2s}
body.menu-open .menu-btn span:nth-child(1){transform:translateY(6px) rotate(45deg)}
body.menu-open .menu-btn span:nth-child(2){opacity:0}
body.menu-open .menu-btn span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

.mobile-nav{
  position:fixed;inset:70px 0 auto 0;z-index:55;background:var(--paper);
  border-bottom:1px solid var(--border);box-shadow:var(--shadow-md);
  padding:14px 26px 22px;display:none;flex-direction:column;gap:4px;
  /* the drawer's content (14 links + the Sign in button) is taller than a phone
     viewport, and it's position:fixed — so page scroll can't reach the overflow
     and the bottom items were stranded off-screen entirely. Cap it to the room
     under the header and let the drawer itself scroll. dvh so a collapsing mobile
     URL bar doesn't push the last item under the chrome; vh first as the fallback. */
  max-height:calc(100vh - 70px);
  max-height:calc(100dvh - 70px);
  overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
  padding-bottom:max(22px,env(safe-area-inset-bottom));
}
.mobile-nav.open{display:flex}
.mobile-nav a{padding:13px 12px;border-radius:11px;font-size:16px;font-weight:600;color:var(--ink)}
.mobile-nav a:hover{background:var(--surface-2)}
/* buttons inside the mobile menu keep full button styling (beats .mobile-nav a specificity) */
.mobile-nav a.btn{justify-content:center;font-size:16px;font-weight:700;padding:14px 18px;border-radius:12px;margin-top:8px}
.mobile-nav a.btn-primary{color:#fff}
/* Sign in rides at the TOP of the drawer: a returning shop opening the menu to
   sign in shouldn't have to scroll past 11 feature links to find it. */
.mnav-cta{display:flex;gap:8px;margin-bottom:10px;padding-bottom:12px;border-bottom:1px solid var(--border)}
.mnav-cta a.btn{flex:1;margin-top:0;padding:14px 12px}

/* ============================ Sections ============================ */
section{position:relative}
.section{padding:96px 0}
.section-sm{padding:56px 0}
.sec-head{max-width:640px;margin:0 auto 50px;text-align:center}

.sec-head .eyebrow{margin-bottom:15px}
.sec-head h2{margin-bottom:16px}
.sec-head p{color:var(--ink-2);font-size:1.08rem}
.bg-surface{background:var(--surface)}
.bg-paper2{background:var(--paper-2)}

/* ============================ Hero ============================ */
.hero{padding:64px 0 40px;position:relative;overflow:hidden}
.hero::before{
  content:"";position:absolute;top:-260px;right:-160px;width:620px;height:620px;border-radius:50%;
  background:radial-gradient(circle at center,rgba(155,46,38,.10),transparent 68%);z-index:0;pointer-events:none;
}
.hero .wrap{position:relative;z-index:1}
.hero-grid{display:grid;grid-template-columns:.84fr 1.16fr;gap:44px;align-items:center}
.hero h1{margin:20px 0 22px}
.hero-sub{font-size:1.2rem;color:var(--ink-2);max-width:37ch;line-height:1.6}
.hero-cta{display:flex;gap:13px;flex-wrap:wrap;margin-top:30px}
.hero-note{margin-top:20px;font-size:13.5px;color:var(--ink-3);display:flex;align-items:flex-start;gap:9px}
.hero-note i{color:var(--field);font-size:17px;flex-shrink:0;margin-top:1px}
.hero-note b{color:var(--ink-2);font-weight:700}

.species-strip{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}

/* pill / chips */
.pill{
  display:inline-flex;align-items:center;gap:7px;padding:6px 13px;border-radius:999px;
  font-size:12.5px;font-weight:700;letter-spacing:.01em;border:1px solid transparent;line-height:1.5;
}
.pill i{font-size:14px}
.pill-beef{background:var(--beef-soft);color:var(--beef-ink)}
.pill-pork{background:var(--pork-soft);color:var(--pork-ink)}
.pill-lamb{background:var(--lamb-soft);color:var(--lamb-ink)}
.pill-goat{background:var(--goat-soft);color:var(--goat-ink)}
.pill-deer{background:var(--deer-soft);color:var(--deer-ink)}
.pill-line{background:var(--surface);border-color:var(--border-strong);color:var(--ink-2)}

/* ============================ Product mockup panel ============================ */
.panel{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg);overflow:hidden;position:relative;
}
.panel-chrome{
  display:flex;align-items:center;gap:8px;padding:12px 15px;background:var(--surface-2);
  border-bottom:1px solid var(--border);
}
.panel-dots{display:flex;gap:6px}
.panel-dots span{width:11px;height:11px;border-radius:50%;background:var(--border-strong)}
.panel-dots span:nth-child(1){background:#E0A6A0}
.panel-url{
  flex:1;background:var(--surface);border:1px solid var(--border);border-radius:8px;
  font-size:11.5px;color:var(--ink-3);padding:5px 12px;text-align:center;font-weight:600;
  max-width:280px;margin:0 auto;
}
.panel-url i{font-size:12px;color:var(--field);vertical-align:-1px;margin-right:4px}

/* mini app: sidebar + body */
.app-mini{display:grid;grid-template-columns:186px 1fr;min-height:430px}
.app-side{background:var(--surface);border-right:1px solid var(--border);padding:14px 12px;display:flex;flex-direction:column;gap:3px}
.app-brand{display:flex;align-items:center;gap:9px;padding:4px 8px 14px;border-bottom:1px solid var(--border);margin-bottom:10px}
.app-brand .brand-mark{width:30px;height:30px;border-radius:9px}
.app-brand .brand-mark i{font-size:17px}
.app-brand b{font-family:var(--display);font-size:14px;font-weight:600;line-height:1}
.app-brand small{font-size:9.5px;color:var(--ink-3);font-weight:700;letter-spacing:.02em}
.app-nav{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;font-size:12.5px;font-weight:600;color:var(--ink-2)}
.app-nav i{font-size:16px}
.app-nav.on{background:var(--brand-soft);color:var(--brand-700);font-weight:700}
.app-nav .n{margin-left:auto;font-size:10px;font-weight:800;padding:0 7px;border-radius:999px;background:var(--brand);color:#fff}
.app-body{padding:16px;background:var(--surface-2);overflow:hidden}
.app-topline{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}
.app-topline b{font-family:var(--display);font-size:16px;font-weight:600}
.app-live{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:700;color:var(--ok);
  background:var(--ok-soft);padding:4px 10px;border-radius:999px}
.app-live .d{width:7px;height:7px;border-radius:50%;background:var(--ok);animation:pulse 2s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(46,110,78,.5)}70%{box-shadow:0 0 0 6px rgba(46,110,78,0)}100%{box-shadow:0 0 0 0 rgba(46,110,78,0)}}

.kpi-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}
.kpi{background:var(--surface);border:1px solid var(--border);border-radius:11px;padding:11px 12px}
.kpi .kl{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--ink-2);font-weight:700;margin-bottom:5px;white-space:nowrap;overflow:hidden}
.kpi .kl i{font-size:12px}
.kpi .kv{font-family:var(--display);font-size:24px;font-weight:600;line-height:1;letter-spacing:-.02em}
.kpi .kv.warn{color:var(--warn)}
.kpi .kv.alert{color:var(--alert)}

.mini-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}
.mini-head{padding:10px 13px;border-bottom:1px solid var(--border);font-size:12px;font-weight:800}
table.mini{width:100%;border-collapse:collapse}
table.mini td{padding:8px 13px;border-bottom:1px solid var(--border);font-size:11.5px;vertical-align:middle}
table.mini tr:last-child td{border-bottom:none}
.mini-strong{font-weight:700}
.mini-mut{color:var(--ink-3)}
.badge{display:inline-flex;align-items:center;gap:4px;padding:2px 9px;border-radius:999px;font-size:10px;font-weight:800;line-height:1.6;white-space:nowrap}
.b-beef{background:var(--beef-soft);color:var(--beef-ink)}
.b-pork{background:var(--pork-soft);color:var(--pork-ink)}
.b-lamb{background:var(--lamb-soft);color:var(--lamb-ink)}
.b-ok{background:var(--ok-soft);color:var(--ok)}
.b-warn{background:var(--warn-soft);color:var(--warn)}
.b-alert{background:var(--alert-soft);color:var(--alert)}
.b-goat{background:var(--goat-soft);color:var(--goat-ink)}
.b-deer{background:var(--deer-soft);color:var(--deer-ink)}
.b-field{background:var(--field-soft);color:var(--field)}
.b-brand{background:var(--brand);color:#fff}

/* floating stat cards over the panel */
.panel-wrap{position:relative}
.float-card{
  position:absolute;background:var(--surface);border:1px solid var(--border);border-radius:14px;
  box-shadow:var(--shadow-md);padding:12px 15px;display:flex;align-items:center;gap:11px;z-index:3;
}
.float-card i{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;
  font-size:18px;flex-shrink:0}
.float-card .ft{font-size:11px;color:var(--ink-3);font-weight:700;line-height:1.2}
.float-card .fv{font-size:14px;font-weight:800;line-height:1.25}
.float-tr{top:-22px;right:-18px}
.float-bl{bottom:-22px;left:-20px}
@media(max-width:1080px){.float-card{display:none}}

/* ============================ Logo / trust row ============================ */
.trust{padding:34px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--surface)}
.trust p{text-align:center;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.13em;color:var(--ink-3);margin-bottom:20px}
.trust-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px 34px}
.trust-item{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:700;color:var(--ink-2)}
.trust-item i{font-size:21px;color:var(--brand);opacity:.85}

/* ============================ Feature cards ============================ */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}

.ficon{
  width:50px;height:50px;border-radius:14px;background:var(--brand-soft);color:var(--brand);
  display:flex;align-items:center;justify-content:center;font-size:26px;margin-bottom:17px;flex-shrink:0;
}

.fcard-link{margin-top:16px;display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:700;color:var(--brand-700)}
.fcard-link i{font-size:16px;transition:transform .15s}
.fcard-link:hover i{transform:translateX(4px)}

/* The row is laid out with the tick absolutely positioned rather than as a flex item:
   a flex li turns every inline child into its own flex item, so an emphasised phrase
   (<b>) would break onto its own column mid-sentence instead of flowing with the text. */

/* ============================ Split feature rows ============================ */
/* copy is short, so the visual gets the wider column (flipped when the visual sits left) */
.split{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:64px;align-items:center}
.split.rev{grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr)}
.split.rev .split-media{order:-1}
.split-copy .eyebrow{margin-bottom:14px}
.split-copy h2{font-size:clamp(2rem,3.4vw,2.75rem);line-height:1.04;letter-spacing:-.03em;margin-bottom:16px}
.split-copy p{color:var(--ink-2);font-size:1.12rem;line-height:1.6;margin-bottom:8px;max-width:30em}
.split-media{position:relative}
@media(max-width:900px){.split,.split.rev{grid-template-columns:minmax(0,1fr);gap:36px}.split.rev .split-media{order:0}}

/* ============================ Animated SMS demo ============================ */

.phone{width:330px;max-width:88vw;background:#171310;border-radius:46px;padding:12px;box-shadow:var(--shadow-lg);position:relative;justify-self:center}
.phone-notch{position:absolute;top:13px;left:50%;transform:translateX(-50%);width:118px;height:25px;background:#171310;border-radius:0 0 16px 16px;z-index:6}
.phone-screen{background:var(--paper);border-radius:35px;overflow:hidden;height:588px;display:flex;flex-direction:column;position:relative}
.sms-header{background:rgba(255,255,255,.92);border-bottom:1px solid var(--border);padding:34px 16px 11px;
  display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;z-index:4}
.sms-header .avatar-lg{width:42px;height:42px;border-radius:50%;background:var(--brand);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px}
.sms-header b{font-size:13.5px;font-weight:800}
.sms-header small{font-size:10.5px;color:var(--ink-3);font-weight:600}
.sms-thread{flex:1;overflow-y:auto;padding:15px 13px 18px;display:flex;flex-direction:column;gap:8px;scroll-behavior:smooth}
.sms-thread::-webkit-scrollbar{width:0;height:0}

.sms-msg{max-width:84%;display:flex;flex-direction:column}
.sms-msg.in{align-self:flex-start;align-items:flex-start}
.sms-msg.out{align-self:flex-end;align-items:flex-end}
.sms-bubble{padding:9px 13px;border-radius:18px;font-size:12.8px;line-height:1.42}
.sms-msg.in .sms-bubble{background:var(--surface);border:1px solid var(--border);border-bottom-left-radius:5px;color:var(--ink)}
.sms-msg.out .sms-bubble{background:var(--brand);color:#fff;border-bottom-right-radius:5px;box-shadow:0 2px 8px rgba(155,46,38,.24)}
.sms-time{font-size:9px;color:var(--ink-3);margin-top:3px;padding:0 5px;font-weight:600}

/* animation states — only active once JS marks the thread */
.sms-thread.anim .sms-msg,.sms-thread.anim .sms-status{opacity:0;transform:translateY(11px) scale(.97);
  transition:opacity .34s ease,transform .34s cubic-bezier(.2,.8,.3,1)}
.sms-thread.anim .sms-msg.show,.sms-thread.anim .sms-status.show{opacity:1;transform:none}

/* MMS attachment — the sample cut-sheet "photo" */
.sms-msg.img .sms-bubble{padding:6px;background:var(--brand)}
.cs-photo{width:236px;max-width:100%;background:#fff;border-radius:12px;overflow:hidden}
.cs-photo-head{background:var(--brand-soft);padding:9px 11px;border-bottom:1px solid var(--brand-line)}
.cs-photo-head b{font-size:10.5px;color:var(--brand-700);font-weight:800;letter-spacing:.03em;display:block}
.cs-photo-head small{font-size:9px;color:var(--ink-2);font-weight:600}
.cs-photo-body{padding:8px 11px 10px;display:flex;flex-direction:column;gap:5px}
.cs-line{display:flex;align-items:center;justify-content:space-between;font-size:10px;gap:8px}
.cs-line b{color:var(--ink);font-weight:700}
.cs-line .v{color:var(--brand-700);font-weight:800;white-space:nowrap}
.cs-line.edit .v{color:var(--warn)}
.cs-photo-foot{border-top:1px solid var(--border);padding:6px 11px;font-size:8.5px;color:var(--ink-3);font-weight:700;letter-spacing:.05em;display:flex;align-items:center;gap:5px}
.cs-photo-foot i{font-size:11px;color:var(--brand)}

/* typing indicator */
.sms-typing .sms-bubble{display:inline-flex;gap:4px;align-items:center;padding:12px 14px}
.sms-typing .td{width:6px;height:6px;border-radius:50%;background:var(--ink-3);animation:smsType 1.15s infinite}
.sms-typing.out .td{background:rgba(255,255,255,.85)}
.sms-typing .td:nth-child(2){animation-delay:.18s}
.sms-typing .td:nth-child(3){animation-delay:.36s}
@keyframes smsType{0%,60%,100%{opacity:.32;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}

/* confirmation chip */
.sms-status{align-self:center;margin-top:6px}
.sms-status .chip2{display:inline-flex;align-items:center;gap:6px;background:var(--ok-soft);color:var(--ok);
  font-size:10.5px;font-weight:800;padding:6px 13px;border-radius:999px;letter-spacing:.02em}
.sms-status .chip2 i{font-size:14px}

/* right-side explainer steps */

/* ============================ Stat band ============================ */
.band{background:var(--ink);color:#F4F0E7;padding:70px 0;position:relative;overflow:hidden}
.band::after{content:"";position:absolute;right:-120px;top:-120px;width:420px;height:420px;border-radius:50%;
  background:radial-gradient(circle,rgba(155,46,38,.32),transparent 70%)}
.band .wrap{position:relative;z-index:1}
.band-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.stat{text-align:center}
.stat .num{font-family:var(--display);font-size:clamp(2.3rem,4.5vw,3.2rem);font-weight:700;letter-spacing:-.03em;line-height:1;color:#fff}
.stat .num small{font-size:.5em;color:var(--brand);font-weight:600}
.stat .cap{margin-top:10px;font-size:.92rem;color:rgba(244,240,231,.7);line-height:1.4}

/* ============================ Pricing ============================ */
.price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:stretch}
.price-card{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:30px 28px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;position:relative;
}
.price-card.featured{border-color:var(--brand);box-shadow:0 20px 50px rgba(155,46,38,.16);transform:translateY(-6px)}
.price-tag{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--brand);color:#fff;
  font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:5px 14px;border-radius:999px;box-shadow:var(--shadow-sm)}
.price-name{font-family:var(--display);font-size:1.4rem;font-weight:600;margin-bottom:5px}
.price-desc{font-size:.92rem;color:var(--ink-2);margin-bottom:20px;min-height:42px}
.price-amt{display:flex;align-items:baseline;gap:6px;margin-bottom:4px}
.price-amt .amt{font-family:var(--display);font-size:2.9rem;font-weight:700;letter-spacing:-.03em;line-height:1}
.price-amt .per{font-size:.9rem;color:var(--ink-3);font-weight:600}
.price-sub{font-size:.85rem;color:var(--ink-3);margin-bottom:22px}
.price-card .btn{margin-bottom:22px}
.price-feats{list-style:none;display:flex;flex-direction:column;gap:12px}
/* tick positioned absolutely, like .flist: a flex li splits an inline <b> into its own column */
.price-feats li{position:relative;padding-left:28px;font-size:.94rem;color:var(--ink-2);line-height:1.45}
.price-feats li i{position:absolute;left:0;top:1px;color:var(--field);font-size:18px}
.price-feats li.off{color:var(--ink-3)}
.price-feats li.off i{color:var(--border-strong)}

/* ============================ FAQ ============================ */
.faq{max-width:780px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.faq-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:border-color .15s}
.faq-item.open{border-color:var(--border-strong)}
.faq-q{width:100%;text-align:left;background:none;border:none;padding:19px 22px;display:flex;align-items:center;gap:14px;
  font-size:1.05rem;font-weight:700;color:var(--ink);font-family:var(--sans)}
.faq-q i{margin-left:auto;font-size:20px;color:var(--brand);transition:transform .2s;flex-shrink:0}
.faq-item.open .faq-q i{transform:rotate(45deg)}
/* answers are open without JS (and to crawlers); main.js collapses them into the accordion */
.faq-a{overflow:hidden;transition:max-height .28s ease}
.js .faq-a{max-height:0}
.faq-a p{padding:0 22px 20px;color:var(--ink-2);font-size:.98rem;line-height:1.6}

/* ============================ CTA band ============================ */
.cta{background:var(--brand);color:#fff;padding:76px 0;position:relative;overflow:hidden}
.cta::before{content:"";position:absolute;right:-140px;bottom:-160px;width:460px;height:460px;border-radius:50%;background:rgba(255,255,255,.07)}
.cta::after{content:"";position:absolute;left:-120px;top:-140px;width:340px;height:340px;border-radius:50%;background:rgba(255,255,255,.06)}
.cta .wrap{position:relative;z-index:1;text-align:center;max-width:720px}
.cta h2{color:#fff;font-size:clamp(2rem,4vw,3rem);margin-bottom:16px}
.cta p{color:rgba(255,255,255,.9);font-size:1.15rem;margin-bottom:30px;max-width:52ch;margin-left:auto;margin-right:auto}
.cta-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* ============================ Contact ============================ */
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:50px;align-items:start}
.contact-methods{display:flex;flex-direction:column;gap:12px;margin-top:26px}
.cmethod{display:flex;align-items:center;gap:15px;padding:16px 18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);transition:border-color .15s,box-shadow .15s}
.cmethod:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}
.cmethod .ci{width:44px;height:44px;border-radius:12px;background:var(--brand-soft);color:var(--brand);display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}
.cmethod small{display:block;font-size:12px;color:var(--ink-3);font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.cmethod b{font-size:1.05rem;font-weight:700}
.form-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:30px;box-shadow:var(--shadow)}
/* scoped to the form: "field" is also the green colour modifier on cards (.fcard.field, .mfcard.field…) */
.form-card .field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}
.field label{font-size:13px;font-weight:700;color:var(--ink-2)}
.field label .req{color:var(--brand)}
.field .input,.field textarea,.field select{
  border:1px solid var(--border-strong);border-radius:11px;background:var(--surface-2);
  padding:13px 14px;font:inherit;font-size:15px;color:var(--ink);outline:none;width:100%;transition:border-color .13s,box-shadow .13s,background .13s;
}
.field .input:focus,.field textarea:focus,.field select:focus{border-color:var(--brand);background:var(--surface);box-shadow:0 0 0 3px var(--brand-soft)}
.field textarea{resize:vertical;min-height:110px;line-height:1.5}
.form-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-ok{display:none;text-align:center;padding:26px 10px}
.form-ok.show{display:block}
.form-ok .ok-ic{width:64px;height:64px;border-radius:50%;background:var(--ok-soft);color:var(--ok);display:flex;align-items:center;justify-content:center;font-size:34px;margin:0 auto 16px}
.form-ok h3{font-size:1.5rem;margin-bottom:8px}
.form-ok p{color:var(--ink-2)}

/* ============================ Page hero (interior) ============================ */
.page-hero{padding:64px 0 40px;text-align:center;position:relative;overflow:hidden}
.page-hero::before{content:"";position:absolute;top:-200px;left:50%;transform:translateX(-50%);width:700px;height:500px;
  background:radial-gradient(ellipse at center,rgba(155,46,38,.09),transparent 65%);z-index:0}
.page-hero .wrap{position:relative;z-index:1}
.page-hero h1{font-size:clamp(2.3rem,5vw,3.6rem);margin:16px auto 18px;max-width:16ch}
.page-hero p{max-width:60ch;margin:0 auto;color:var(--ink-2);font-size:1.15rem}

/* ============================ Footer ============================ */
footer{background:var(--ink);color:rgba(244,240,231,.75);padding:60px 0 26px}
.foot-grid{display:grid;grid-template-columns:1.45fr repeat(4,1fr);gap:32px;margin-bottom:40px}
.foot-brand .brand-name{color:#fff}
.foot-brand p{margin-top:14px;font-size:.92rem;line-height:1.6;max-width:34ch;color:rgba(244,240,231,.6)}
.foot-by{display:inline-flex;align-items:center;gap:7px;margin-top:17px;font-size:.92rem;font-weight:700;color:#fff;
  background:rgba(244,240,231,.07);border:1px solid rgba(244,240,231,.16);padding:9px 15px;border-radius:999px;
  transition:background .15s,border-color .15s}
.foot-by:hover{background:rgba(244,240,231,.13);border-color:rgba(244,240,231,.32);color:#fff}
.foot-by span{color:rgba(244,240,231,.55);font-weight:600}
.foot-by i{font-size:15px;color:rgba(244,240,231,.6)}
.foot-mark{margin-bottom:2px}
.foot-col h5{font-family:var(--sans);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:rgba(244,240,231,.5);margin-bottom:15px}
.foot-col a,.foot-col p{display:block;font-size:.94rem;color:rgba(244,240,231,.72);margin-bottom:10px;transition:color .13s}
.foot-col a:hover{color:#fff}
.foot-bottom{border-top:1px solid rgba(244,240,231,.12);padding-top:22px;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;font-size:.86rem;color:rgba(244,240,231,.55)}
.foot-bottom .fb-links{display:flex;gap:20px}
.foot-bottom a:hover{color:#fff}

/* ============================ Reveal animation ============================ */
/* Content starts visible: only once the inline head script has tagged <html class="js">
   does .reveal hide it for the scroll-in. Crawlers that don't run JavaScript, reader
   modes and a failed main.js all get the whole page instead of a blank one. */
.reveal{transition:opacity var(--dur) var(--ease),transform var(--dur) var(--ease)}
.js .reveal{opacity:0;transform:translateY(14px)}
.js .reveal.in{opacity:1;transform:none}
.reveal.d1{transition-delay:.06s}
.reveal.d2{transition-delay:.12s}
.reveal.d3{transition-delay:.18s}
.reveal.d4{transition-delay:.24s}
@media(prefers-reduced-motion:reduce){.js .reveal{opacity:1;transform:none;transition:none}.app-live .d{animation:none}}

/* ============================================================
   NEW FEATURE SECTIONS — billing, reports, ⌘K search, extras
   ============================================================ */

/* ---- section intro on a two-column split that shows a live panel ---- */
.feature-tag{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;text-transform:uppercase;
  letter-spacing:.1em;color:var(--field);background:var(--field-soft);border:1px solid #cfe0cf;
  padding:5px 11px;border-radius:999px}
.feature-tag.brand{color:var(--brand-700);background:var(--brand-soft);border-color:var(--brand-line)}
.feature-tag i{font-size:14px}

/* ---------------- Billing / invoice animation ---------------- */
.bill-demo{max-width:430px;width:100%;margin:0 auto}
.bill-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
  padding:15px 16px 13px;background:var(--surface);border-bottom:1px solid var(--border)}
.bill-head .bh-name{font-family:var(--display);font-weight:600;font-size:16px;line-height:1.1}
.bill-head .bh-sub{font-size:11.5px;color:var(--ink-3);font-weight:600;margin-top:2px}
.bill-status-pill{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:800;
  padding:4px 10px;border-radius:999px;letter-spacing:.02em;white-space:nowrap;
  background:var(--surface-2);color:var(--ink-3);border:1px solid var(--border-strong);transition:.3s}
.bill-status-pill i{font-size:12px}
.bill-status-pill.finalized{background:var(--warn-soft);color:var(--warn);border-color:transparent}
.bill-status-pill.paid{background:var(--ok-soft);color:var(--ok);border-color:transparent}

.bill-body{padding:14px 16px 16px;background:var(--surface-2)}
.bill-lines{display:flex;flex-direction:column;gap:8px}
.bill-line{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;
  background:var(--surface);border:1px solid var(--border);border-radius:11px;padding:10px 13px}
.bill-line .bl-main{font-size:12.5px;font-weight:700;color:var(--ink);display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.bill-line .bl-meta{font-size:10.5px;color:var(--ink-3);font-weight:600;margin-top:3px}
.bill-line .bl-amt{font-family:var(--display);font-weight:600;font-size:14.5px;letter-spacing:-.01em;white-space:nowrap}
.bill-line.auto{border-color:var(--brand-line);background:linear-gradient(90deg,var(--brand-soft),var(--surface) 62%)}
.bl-chip{display:inline-flex;align-items:center;gap:4px;font-size:8.5px;font-weight:800;letter-spacing:.04em;
  text-transform:uppercase;color:var(--brand-700);background:var(--surface);border:1px solid var(--brand-line);
  padding:2px 7px;border-radius:999px}
.bl-chip i{font-size:10px}

.bill-sum{margin-top:12px;border-top:1px dashed var(--border-strong);padding-top:11px;display:flex;flex-direction:column;gap:6px}
.bill-sumrow{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--ink-2);font-weight:600}
.bill-sumrow .v{font-weight:700;color:var(--ink)}
.bill-sumrow.total{margin-top:3px;padding-top:9px;border-top:1px solid var(--border);font-size:13px;color:var(--ink);font-weight:800}
.bill-sumrow.total .v{font-family:var(--display);font-weight:600;font-size:21px;letter-spacing:-.02em;color:var(--brand-700)}

.bill-steps{display:flex;align-items:center;gap:6px;margin-top:14px}
.bstep{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;font-size:10.5px;font-weight:800;
  padding:7px 6px;border-radius:9px;background:var(--surface);border:1px solid var(--border);color:var(--ink-3);transition:.3s}
.bstep i{font-size:13px}
.bstep.done{background:var(--ok-soft);color:var(--ok);border-color:transparent}
.bstep.active{background:var(--brand);color:#fff;border-color:var(--brand);box-shadow:0 4px 12px rgba(155,46,38,.28)}
.bill-arrow{color:var(--border-strong);font-size:13px;flex-shrink:0}

/* animation states — set once JS marks the demo */
.bill-demo.anim .bill-line{opacity:0;transform:translateY(10px) scale(.98);
  transition:opacity .4s ease,transform .4s cubic-bezier(.2,.8,.3,1)}
.bill-demo.anim .bill-line.show{opacity:1;transform:none}
.bill-demo.anim .bill-sum{opacity:0;transition:opacity .4s ease}
.bill-demo.anim .bill-sum.show{opacity:1}

/* ---------------- Reports / analytics animation ---------------- */
.report-demo{width:100%}
.rep-kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:11px;margin-bottom:14px}
.rep-kpi{background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:13px 15px}
.rep-kpi .rk-l{display:flex;align-items:center;gap:6px;font-size:10.5px;font-weight:800;color:var(--ink-3);text-transform:uppercase;letter-spacing:.04em}
.rep-kpi .rk-l i{font-size:14px;color:var(--brand)}
.rep-kpi .rk-v{font-family:var(--display);font-weight:600;font-size:26px;letter-spacing:-.02em;line-height:1;margin-top:7px}
.rep-kpi .rk-s{font-size:10.5px;color:var(--ink-3);font-weight:600;margin-top:3px}
.rep-kpi .rk-v.field-c{color:var(--field)}

.rep-chart{background:var(--surface);border:1px solid var(--border);border-radius:13px;overflow:hidden}
.rep-chart-head{display:flex;align-items:center;justify-content:space-between;padding:11px 15px;border-bottom:1px solid var(--border)}
.rep-chart-head b{font-size:12.5px;font-weight:800}
.rep-chart-head span{font-size:10.5px;color:var(--ink-3);font-weight:700}
.rep-rows{padding:12px 15px;display:flex;flex-direction:column;gap:10px}
.rep-row{display:grid;grid-template-columns:52px 1fr 62px;align-items:center;gap:11px}
.rep-row .rr-l{font-size:11.5px;font-weight:700;color:var(--ink-2)}
.rep-row .rr-v{font-size:11.5px;font-weight:800;text-align:right;font-variant-numeric:tabular-nums}
.rr-track{background:var(--surface-2);border-radius:6px;height:9px;overflow:hidden}
.rr-bar{display:block;height:9px;border-radius:6px;background:var(--brand);transition:width 1.05s cubic-bezier(.2,.85,.3,1)}
.rr-bar.rev{background:var(--field)}

/* ---------------- ⌘K global search animation ---------------- */
.omni{max-width:440px;width:100%;margin:0 auto;background:var(--surface);border:1px solid var(--border-strong);
  border-radius:16px;box-shadow:var(--shadow-lg);overflow:hidden}
.omni-bar{display:flex;align-items:center;gap:11px;padding:15px 17px;border-bottom:1px solid var(--border)}
.omni-bar i.mag{font-size:20px;color:var(--ink-3);flex-shrink:0}
.omni-q{flex:1;font-size:15.5px;font-weight:600;color:var(--ink);min-height:20px}
.omni-q .caret{display:inline-block;width:2px;height:17px;background:var(--brand);vertical-align:-3px;margin-left:1px;animation:omniCaret 1s step-end infinite}
@keyframes omniCaret{50%{opacity:0}}
.omni-kbd{font-size:11px;font-weight:800;color:var(--ink-3);background:var(--surface-2);border:1px solid var(--border);border-radius:7px;padding:3px 8px}
.omni-scope{font-size:10px;font-weight:800;color:var(--ink-3);text-transform:uppercase;letter-spacing:.08em;padding:9px 17px 5px}
.omni-res{display:flex;align-items:center;gap:12px;padding:10px 17px;border-top:1px solid var(--border);
  transition:opacity .32s ease,transform .32s cubic-bezier(.2,.8,.3,1)}
/* results are hidden only while the typing demo runs (main.js adds .anim) */
.omni.anim .omni-res{opacity:0;transform:translateY(6px)}
.omni.anim .omni-res.show{opacity:1;transform:none}
.omni-res .or-ic{width:34px;height:34px;border-radius:10px;background:var(--brand-soft);color:var(--brand);
  display:flex;align-items:center;justify-content:center;font-size:17px;flex-shrink:0}
.omni-res .or-ic.field{background:var(--field-soft);color:var(--field)}
.omni-res .or-t{font-size:13.5px;font-weight:700;line-height:1.2}
.omni-res .or-s{font-size:11px;color:var(--ink-3);font-weight:600;margin-top:1px}
.omni-res .or-kind{margin-left:auto;font-size:9.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;
  color:var(--ink-3);background:var(--surface-2);border:1px solid var(--border);padding:3px 8px;border-radius:999px;flex-shrink:0}

/* ---------------- Butcher View — the cutting-floor screen ---------------- */
.bv-demo{max-width:460px;width:100%;margin:0 auto}
.bv-body{padding:14px;background:var(--surface-2)}
/* one boxed section per farmer drop-off, the way the floor screen groups a kill */
.bv-kill{border:2px solid var(--brand-line);border-radius:14px;background:var(--surface);padding:12px 13px 13px}
.bv-killhead{display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  padding-bottom:10px;margin-bottom:11px;border-bottom:2px dashed var(--border)}
.bv-farm{font-family:var(--display);font-size:15px;font-weight:600;letter-spacing:-.01em}
.bv-day{margin-left:auto;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;
  color:var(--ink-3);background:var(--surface-2);border:1px solid var(--border);padding:3px 9px;border-radius:999px}
/* the kill note — one note per drop-off, repeated on every sheet under it */
.bv-note{display:flex;gap:8px;align-items:flex-start;padding:9px 11px;margin-bottom:11px;
  background:var(--warn-soft);border:1px dashed var(--warn);border-radius:10px}
.bv-note>i{font-size:15px;color:var(--warn);flex-shrink:0;margin-top:1px}
.bv-note-l{display:block;font-size:9.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;
  color:var(--warn);margin-bottom:2px}
.bv-note-t{font-size:12px;font-weight:700;line-height:1.4;color:var(--ink)}
.bv-sheet{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:9px}
.bv-cust{font-size:13px;font-weight:800}
.bv-store{display:inline-flex;align-items:center;gap:5px;margin-left:auto;font-size:10.5px;font-weight:700;
  color:var(--ink-2);background:var(--surface-2);border:1px solid var(--border);padding:4px 9px;border-radius:8px}
.bv-store i{font-size:13px;color:var(--ink-3)}
/* the per-cut audit grid: what they chose vs. what actually came off the saw */
.bv-grid{border:1px solid var(--border);border-radius:11px;overflow:hidden}
.bv-gh,.bv-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr) 74px;gap:10px;
  align-items:center;padding:8px 11px}
.bv-gh{background:var(--surface-2);border-bottom:1px solid var(--border);font-size:9.5px;font-weight:800;
  letter-spacing:.04em;text-transform:uppercase;color:var(--ink-3)}
.bv-gh .bv-w{text-align:right}
.bv-row{border-top:1px solid var(--border);font-size:11.5px}
.bv-row:first-of-type{border-top:none}
.bv-cat{font-weight:600;color:var(--ink-2);min-width:0;overflow-wrap:anywhere}
.bv-sel{font-weight:800;color:var(--ink);min-width:0;overflow-wrap:anywhere}
.bv-w{text-align:right;font-weight:800;font-variant-numeric:tabular-nums;
  border:1px solid var(--border-strong);border-radius:7px;padding:4px 7px;background:var(--surface);
  transition:border-color .2s,background .2s,box-shadow .2s}
.bv-w.filled{border-color:var(--brand-line);background:var(--brand-soft);color:var(--brand-700)}
.bv-tot{display:flex;justify-content:flex-end;align-items:baseline;gap:10px;padding:9px 11px;
  border-top:2px solid var(--border-strong);background:var(--surface-2);font-size:11px;font-weight:700;color:var(--ink-2)}
.bv-tot b{font-family:var(--display);font-size:17px;font-weight:600;letter-spacing:-.02em;color:var(--ink)}
.bv-foot{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}
.bv-save{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:800;color:var(--ink-3);
  transition:color .25s}
.bv-save.saved{color:var(--ok)}
.bv-status{margin-left:auto;display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:800;
  padding:4px 10px;border-radius:999px;background:var(--warn-soft);color:var(--warn);
  transition:background .3s,color .3s}
.bv-status.ready{background:var(--ok-soft);color:var(--ok)}

/* ---------------- Cut day calendar & capacity ---------------- */
.cd-demo{max-width:430px;width:100%;margin:0 auto}
.cd-body{padding:16px;background:var(--surface-2)}
.cd-cal{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:13px}
.cd-month{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;
  font-size:12px;font-weight:800}
.cd-month span{font-size:10px;font-weight:700;color:var(--ink-3)}
.cd-dow,.cd-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.cd-dow{margin-bottom:5px}
.cd-dow span{text-align:center;font-size:9px;font-weight:800;letter-spacing:.04em;color:var(--ink-3)}
.cd-day{aspect-ratio:1;display:flex;align-items:center;justify-content:center;border-radius:8px;
  font-size:11px;font-weight:700;color:var(--ink-2);background:var(--surface-2);border:1px solid transparent;
  transition:background .3s,color .3s,border-color .3s,transform .3s}
.cd-day.mut{color:var(--ink-3);opacity:.45}
.cd-day.on{background:var(--brand);color:#fff;border-color:var(--brand);font-weight:800;
  box-shadow:0 3px 10px rgba(155,46,38,.3);transform:scale(1.06)}
.cd-day.full{background:var(--warn-soft);color:var(--warn);border-color:var(--warn);font-weight:800}
.cd-caps{margin-top:13px;display:flex;flex-direction:column;gap:9px}
.cd-cap{background:var(--surface);border:1px solid var(--border);border-radius:11px;padding:10px 12px}
.cd-cap-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;font-size:11px;font-weight:700}
.cd-cap-n{font-weight:800;font-variant-numeric:tabular-nums;color:var(--ink)}
.cd-cap-n.at{color:var(--warn)}
/* display:block matters — the track is a <span> in a plain block parent, and an inline
   box ignores height/width, which collapses the bar to nothing */
.cd-track{display:block;height:7px;border-radius:999px;background:var(--surface-2);
  border:1px solid var(--border);overflow:hidden}
.cd-fill{display:block;height:100%;width:0;border-radius:999px;background:var(--brand);
  transition:width 1s cubic-bezier(.22,1,.36,1)}
.cd-fill.at{background:var(--warn)}
.cd-note{display:flex;align-items:center;gap:7px;margin-top:11px;padding:9px 11px;border-radius:10px;
  background:var(--brand-soft);border:1px solid var(--brand-line);font-size:11.5px;font-weight:700;color:var(--brand-700)}
.cd-note i{font-size:15px;flex-shrink:0}

/* ---------------- Counter (POS) sale ---------------- */
.pos-demo{max-width:400px;width:100%;margin:0 auto}
.pos-body{padding:15px;background:var(--surface-2)}
.pos-who{display:flex;align-items:center;gap:8px;margin-bottom:11px}
.pos-who .pw-ic{width:32px;height:32px;border-radius:9px;background:var(--field-soft);color:var(--field);
  display:flex;align-items:center;justify-content:center;font-size:17px;flex-shrink:0}
.pos-who b{font-size:13px;font-weight:800;display:block;line-height:1.2}
.pos-who small{font-size:10px;color:var(--ink-3);font-weight:600}
.pos-lines{display:flex;flex-direction:column;gap:7px}
.pos-line{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;
  background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:9px 11px}
.pos-line .pl-m{font-size:12px;font-weight:700;color:var(--ink)}
.pos-line .pl-s{font-size:10px;color:var(--ink-3);font-weight:600;margin-top:2px}
.pos-line .pl-a{font-family:var(--display);font-weight:600;font-size:14px;letter-spacing:-.01em;white-space:nowrap}
.pos-demo.anim .pos-line{opacity:0;transform:translateY(9px) scale(.985);
  transition:opacity .34s ease,transform .34s cubic-bezier(.22,1,.36,1)}
.pos-demo.anim .pos-line.show{opacity:1;transform:none}
.pos-demo.anim .pos-sum{opacity:0;transition:opacity .4s ease}
.pos-demo.anim .pos-sum.show{opacity:1}

/* ============================ Responsive ============================ */

/* the hero mockups need ~560px to read; below 1100 the copy stacks over them instead */
@media(max-width:1200px){.app-mini{grid-template-columns:150px 1fr}.app-nav{font-size:11.5px;padding:7px 8px}}
@media(max-width:1100px){
  .hero-grid{grid-template-columns:1fr;gap:38px}
  .hero-sub{max-width:none}
  .hero-media{width:100%;max-width:640px;margin:0 auto}
}
@media(max-width:980px){
  .grid-3{grid-template-columns:repeat(2,1fr)}
  
  .band-grid{grid-template-columns:repeat(2,1fr);gap:34px 20px}
  
  .price-grid{grid-template-columns:1fr;max-width:460px;margin:0 auto}
  .price-card.featured{transform:none}
  .foot-grid{grid-template-columns:1fr 1fr;gap:30px}
  .foot-brand{grid-column:1/-1}
}
@media(max-width:760px){
  .nav-links,.nav-signin{display:none}
  .menu-btn{display:flex}
  .section{padding:60px 0}
  .grid-3{grid-template-columns:1fr}
  
  .contact-grid{grid-template-columns:1fr;gap:34px}
  .form-2{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr;gap:26px}
  .foot-bottom{flex-direction:column;text-align:center}
  .app-mini{grid-template-columns:1fr}
  .app-side{display:none}
  .kpi-row{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:440px){
  .wrap{padding:0 18px}
  .band-grid{grid-template-columns:1fr}
  
  .kpi-row{grid-template-columns:1fr 1fr}
  .hero-cta .btn{flex:1 1 100%}
  /* the brand lockup + "Book a demo" + burger together overrun a 375px phone and
     force the whole page to scroll sideways — tighten the brand to claw back room */
  .brand-logo{width:34px;height:34px}
  .brand-name{font-size:17px}
  .brand-by{display:none}
  /* a 1fr track floors at the item's min-content, and the wider mockup tables
     (kill schedule, directory) push that past the viewport. minmax(0,1fr) lets the
     column shrink; tightening the table then keeps every row on one line inside it. */
  .split,.split.rev{grid-template-columns:minmax(0,1fr)}
  .split-media .panel{overflow:hidden}
  .split-media table.mini td{padding:7px 5px;font-size:10px}
  .split-media .mini-head{padding:9px;font-size:11px}
  .split-media .badge{padding:2px 6px;font-size:9px}
}

/* ============================================================
   Online cut sheets, the kill schedule by day, the shared inbox,
   Point of Sale receipts — plus the feature & use-case pages
   ============================================================ */

/* ---------------- hero: proof points under the sub ---------------- */

/* "No username · No password · No app" */
.nologin{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 6px}
.nologin span{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border-radius:999px;background:var(--surface);
  border:1px solid var(--brand-line);font-size:13px;font-weight:800;color:var(--brand-700);line-height:1.3}
.nologin i{font-size:16px}

/* ---------------- a text message card (the link / receipt as it lands) ---------------- */
.link-sms{background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-lg);padding:12px;width:258px}
/* beside a phone the card stays narrow, so it only clips the phone's bezel, not the form */
.ls-head{display:flex;align-items:center;gap:9px;margin-bottom:9px}
.ls-av{width:30px;height:30px;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;
  justify-content:center;font-size:11px;font-weight:800;flex-shrink:0}
.ls-head b{display:block;font-size:12px;font-weight:800;line-height:1.2}
.ls-head small{font-size:10px;color:var(--ink-3);font-weight:600}
.ls-bubble{background:var(--brand);color:#fff;border-radius:14px 14px 4px 14px;padding:9px 11px;font-size:11.5px;line-height:1.45}
.ls-bubble u{text-underline-offset:2px;overflow-wrap:anywhere}
.ls-foot{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:10.5px;font-weight:800;color:var(--ok)}
.ls-foot i{font-size:14px}

/* the SMS card overlaps the phone it opens on; they stack on narrower screens */
.sms-stage{position:relative;display:flex;justify-content:flex-end;max-width:560px;margin:0 auto}
.sms-stage .link-sms{position:absolute;left:0;top:64px;z-index:7;width:216px}
@media(max-width:1080px){
  .sms-stage{flex-direction:column;align-items:center;gap:18px}
  .sms-stage .link-sms{position:static;width:100%;max-width:330px}
}

/* ---------------- the customer's cut sheet, as it opens on their phone ---------------- */
.csf{background:#FCFAF6}
.csf-scroll{position:relative;flex:1;overflow-y:auto;padding:36px 12px 84px;scroll-behavior:smooth}
.csf-scroll::-webkit-scrollbar{width:0;height:0}
.csf-shop{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:800;color:var(--ink);margin-bottom:6px}
.csf-shop .brand-mark{width:22px;height:22px;border-radius:7px;box-shadow:none}
.csf-shop .brand-mark i{font-size:13px}
.csf-head{text-align:center;padding-bottom:8px;border-bottom:2px solid var(--brand);margin-bottom:9px}
.csf-head b{display:block;font-size:13px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--brand-700)}
.csf-head small{font-size:10px;font-weight:700;color:var(--ink-3)}
.csf-banner{text-align:center;padding:7px 9px;margin-bottom:9px;border:1.5px dashed var(--brand-line);border-radius:9px;
  background:var(--surface-2);font-size:9.5px;font-weight:700;color:var(--brand-700);line-height:1.45}
.csf-info{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:11px}
.csf-info>div{background:#F7F2E8;border:1px solid var(--border);border-radius:8px;padding:6px 8px;min-width:0}
.csf-info small{display:block;font-size:7.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}
.csf-info b{display:block;font-size:10.5px;font-weight:800;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.csf-info em{display:block;font-style:normal;font-size:8.5px;font-weight:600;color:var(--ink-3)}
.csf-sec{display:flex;align-items:center;gap:8px;font-size:8.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  color:var(--brand-700);margin:3px 0 7px}
.csf-sec::after{content:"";flex:1;height:1px;background:var(--brand-line)}
.csf-q{background:#F7F2E8;border:1px solid var(--border);border-radius:9px;padding:8px 9px 9px;margin-bottom:7px;transition:border-color .3s}
.csf-q.sub{margin-left:9px;border-left:3px solid var(--brand)}
.csf-qt{font-size:11px;font-weight:800;color:var(--ink)}
.csf-qt span{color:var(--brand)}
.csf-qh{font-size:8.5px;font-style:italic;color:var(--ink-3);margin-top:1px}
.csf-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.csf-chip{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#fff;border:1px solid var(--border-strong);
  font-size:9.5px;font-weight:700;color:var(--ink);transition:background .25s,color .25s,border-color .25s,transform .15s}
.csf-chip.on{background:var(--brand);border-color:var(--brand);color:#fff}
.csf-chip.tap{transform:scale(.92)}
.csf-bar{position:absolute;left:0;right:0;bottom:0;z-index:5;display:flex;align-items:center;gap:8px;padding:10px 13px 16px;
  background:#fff;border-top:1px solid var(--border);box-shadow:0 -6px 16px rgba(33,28,22,.06)}
.csf-left{flex:1;font-size:9.5px;font-weight:600;color:var(--ink-2);line-height:1.35}
.csf-left b{color:var(--brand)}
.csf-submit{flex-shrink:0;padding:8px 12px;border-radius:9px;background:var(--brand);color:#fff;font-size:10.5px;font-weight:800;
  box-shadow:0 3px 10px rgba(155,46,38,.3);transition:opacity .25s,transform .15s,box-shadow .25s}
.csf-submit.off{opacity:.42;box-shadow:none}
.csf-submit.tap{transform:scale(.93)}
/* the "submitted" screen only exists in the animation (main.js shows it) */
.csf-done{position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;
  text-align:center;padding:34px;background:rgba(252,250,246,.97);opacity:0;visibility:hidden;transition:opacity .35s,visibility .35s}
.csf-done.show{opacity:1;visibility:visible}
.csf-done>i{font-size:48px;color:var(--ok)}
.csf-done b{font-family:var(--display);font-size:20px;font-weight:600;line-height:1.15}
.csf-done small{font-size:12px;color:var(--ink-2);line-height:1.5}

/* ---------------- kill schedule: By day calendar ---------------- */
.ks-demo{width:100%}
.ks-body{padding:14px;background:var(--surface-2)}
.ks-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:11px}
.ks-seg{display:inline-flex;background:var(--surface);border:1px solid var(--border);border-radius:9px;padding:3px}
.ks-seg span{display:inline-flex;align-items:center;gap:4px;padding:4px 9px;border-radius:7px;font-size:10.5px;font-weight:700;color:var(--ink-2)}
.ks-seg span.on{background:var(--brand);color:#fff}
.ks-seg i{font-size:12px}
.ks-sel{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:8px;background:var(--surface);
  border:1px solid var(--border);font-size:10.5px;font-weight:700;color:var(--ink-2)}
.ks-sel i{font-size:11px;color:var(--ink-3)}
.ks-cal{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:11px}
.ks-month{display:flex;align-items:center;gap:8px;margin-bottom:9px}
.ks-month b{font-family:var(--display);font-size:15px;font-weight:600;margin:0 auto}
.ks-today{font-size:9.5px;font-weight:800;color:var(--ink-2);border:1px solid var(--border);border-radius:7px;padding:2px 7px}
.ks-arw{width:22px;height:22px;border-radius:7px;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;
  font-size:12px;color:var(--ink-3);flex-shrink:0}
.ks-dow,.ks-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.ks-dow{margin-bottom:4px}
.ks-dow span{text-align:center;font-size:8.5px;font-weight:800;letter-spacing:.05em;color:var(--ink-3);text-transform:uppercase}
.ks-day{position:relative;min-width:0;min-height:60px;border:1px solid var(--border);border-radius:8px;padding:5px 5px 6px;
  background:var(--surface-2);display:flex;flex-direction:column;gap:4px}
.ks-day.off{background:transparent;border-style:dashed}
.ks-day.off .ks-n{color:var(--ink-3);font-weight:600}
.ks-top{display:flex;align-items:baseline;justify-content:space-between;gap:2px}
.ks-n{font-size:10.5px;font-weight:800}
.ks-c{font-size:8.5px;font-weight:700;color:var(--ink-3);font-variant-numeric:tabular-nums}
.ks-bar{display:block;height:3px;border-radius:3px;background:var(--border);overflow:hidden}
.ks-bar i{display:block;height:100%;background:var(--ok);border-radius:3px}
.ks-day.full .ks-bar i{background:var(--warn)}
.ks-day.full .ks-c{color:var(--warn)}
.ks-day .badge{align-self:flex-start;font-size:8px;padding:1px 6px;margin-top:auto;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.ks-day.today{border:2px solid var(--brand);background:var(--brand-soft);padding:4px 4px 5px}
.ks-tip{position:absolute;left:50%;bottom:calc(100% + 7px);transform:translateX(-50%);width:176px;z-index:3;background:#3A332B;color:#fff;
  font-size:9px;font-weight:600;line-height:1.45;padding:7px 9px;border-radius:7px;box-shadow:var(--shadow-md);text-align:left}
.ks-tip::after{content:"";position:absolute;left:50%;top:100%;transform:translateX(-50%);border:5px solid transparent;border-top-color:#3A332B}
/* a tip on the top row opens downward, over the less important row below */
.ks-tip.below{bottom:auto;top:calc(100% + 7px)}
.ks-tip.below::after{top:auto;bottom:100%;border-top-color:transparent;border-bottom-color:#3A332B}
.ks-sum{font-size:10.5px;color:var(--ink-2);margin-top:10px;line-height:1.5}
.ks-sum b{color:var(--ink)}
.ks-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
.ks-chips .badge{font-size:9.5px;padding:3px 9px}
/* one kill as a row on the list */
.ks-kill{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px 14px;align-items:center;background:var(--surface);
  border:1px solid var(--border);border-radius:12px;padding:12px 14px;margin-top:10px}
.ks-when b{display:block;font-family:var(--display);font-size:15px;font-weight:600;line-height:1.1;white-space:nowrap}
.ks-when .badge{margin-top:4px}
.ks-who b{display:block;font-size:12.5px;font-weight:800;line-height:1.25}
.ks-who small{font-size:10.5px;color:var(--ink-3);font-weight:600}
.ks-side{display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.ks-tg{display:inline-flex;align-items:center;gap:6px;font-size:9.5px;font-weight:800;color:var(--ok);background:var(--ok-soft);
  padding:3px 9px 3px 4px;border-radius:999px;white-space:nowrap}
.ks-tg::before{content:"";width:20px;height:11px;border-radius:11px;background:var(--ok) radial-gradient(circle at 14px 5.5px,#fff 3.5px,transparent 4px)}
.ks-sheets{grid-column:1/-1;display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;padding-top:10px;border-top:1px dashed var(--border)}
.ks-prog{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:800;white-space:nowrap}
.ks-prog .ks-bar{width:64px;height:5px}
.ks-prog .ks-bar i{background:var(--brand)}
.ks-need{font-size:10px;font-weight:800;color:var(--brand-700);white-space:nowrap}
.ks-names{display:flex;gap:5px;flex-wrap:wrap}
.ks-names span{font-size:10px;font-weight:700;padding:3px 9px;border-radius:999px;border:1px solid var(--border-strong);background:var(--surface)}
.ks-names span.wait{border-style:dashed;color:var(--ink-3)}
/* cut sheets taken before a farmer or kill date existed */
.ks-wait{display:flex;gap:10px;align-items:center;background:var(--warn-soft);border:1px dashed var(--warn);border-radius:12px;
  padding:10px 12px;margin-top:10px}
.ks-wait>i{font-size:18px;color:var(--warn);flex-shrink:0}
.ks-wait b{display:block;font-size:11.5px;font-weight:800;line-height:1.3}
.ks-wait small{display:block;font-size:10px;color:var(--ink-2);font-weight:600}
.ks-wait .ks-btn{margin-left:auto;flex-shrink:0;font-size:10px;font-weight:800;color:#fff;background:var(--brand);padding:5px 10px;border-radius:8px;white-space:nowrap}
@media(max-width:560px){
  .ks-dow,.ks-grid{gap:3px}
  .ks-day{min-height:44px;padding:4px 3px}
  .ks-day.today{padding:3px 2px}
  .ks-top{flex-direction:column;gap:0}
  .ks-day .badge,.ks-tip{display:none}
  .ks-kill{grid-template-columns:1fr}
  .ks-side{align-items:flex-start;flex-direction:row;flex-wrap:wrap}
}

/* ---------------- the shared inbox ---------------- */
.ib-demo{width:100%}
.ib-body{display:grid;grid-template-columns:158px minmax(0,1fr);background:var(--surface)}
.ib-list{border-right:1px solid var(--border);display:flex;flex-direction:column;min-width:0}
.ib-tabs{display:flex;gap:4px;padding:9px 8px;border-bottom:1px solid var(--border)}
.ib-tabs span{flex:1;text-align:center;font-size:9px;font-weight:800;padding:4px 0;border-radius:999px;border:1px solid var(--border);color:var(--ink-2)}
.ib-tabs span.on{background:var(--brand);border-color:var(--brand);color:#fff}
.ib-conv{position:relative;display:flex;gap:7px;padding:9px 8px;border-bottom:1px solid var(--border);min-width:0}
.ib-conv.on{background:var(--brand-soft);box-shadow:inset 3px 0 0 var(--brand)}
.ib-conv .av{width:26px;height:26px;border-radius:50%;background:var(--brand);color:#fff;font-size:9px;font-weight:800;
  display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ib-conv>div{min-width:0}
.ib-conv b{display:block;font-size:10.5px;font-weight:800;line-height:1.25;padding-right:8px}
.ib-conv small{display:block;font-size:9px;color:var(--ink-3);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ib-conv.unread small{color:var(--ink);font-weight:700}
.ib-conv .dot{position:absolute;right:8px;top:12px;width:7px;height:7px;border-radius:50%;background:var(--brand)}
.ib-thread{display:flex;flex-direction:column;background:var(--surface-2);min-width:0}
.ib-th-head{display:flex;align-items:center;gap:9px;padding:9px 12px;border-bottom:1px solid var(--border);background:var(--surface)}
.ib-th-head .av{width:28px;height:28px;border-radius:50%;background:var(--brand);color:#fff;font-size:10px;font-weight:800;
  display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ib-th-head b{display:block;font-size:12px;font-weight:800;line-height:1.2}
.ib-th-head small{font-size:9.5px;color:var(--ink-3);font-weight:600}
.ib-th-head small u{color:var(--brand-700);text-decoration:none;font-weight:800}
.ib-msgs{flex:1;padding:12px;display:flex;flex-direction:column;gap:8px}
.ib-m{max-width:88%;font-size:11px;line-height:1.45;padding:8px 10px;border-radius:12px}
.ib-m.in{align-self:flex-start;background:var(--surface);border:1px solid var(--border);border-bottom-left-radius:4px}
.ib-m.out{align-self:flex-end;background:var(--brand);color:#fff;border-bottom-right-radius:4px}
.ib-m u{text-underline-offset:2px;overflow-wrap:anywhere}
.ib-meta{font-size:8.5px;font-weight:600;color:var(--ink-3);margin-top:-4px}
.ib-meta.r{align-self:flex-end}
.ib-meta b{color:var(--ok);font-weight:800}
.ib-day{align-self:center;font-size:8.5px;font-weight:800;color:var(--ink-3);border:1px solid var(--border);border-radius:999px;
  padding:2px 9px;background:var(--surface)}
/* the internal note a submitted cut sheet leaves on the thread */
.ib-sys{align-self:stretch;display:flex;gap:7px;align-items:flex-start;font-size:10px;line-height:1.45;color:var(--ink-2);
  background:var(--warn-soft);border:1px dashed var(--warn);border-radius:10px;padding:7px 9px}
.ib-sys>i{font-size:14px;color:var(--warn);flex-shrink:0;margin-top:1px}
.ib-sys b{color:var(--ink)}
.ib-ai{display:flex;gap:5px;flex-wrap:wrap;padding:0 12px 8px}
.ib-ai span{display:inline-flex;align-items:center;gap:4px;font-size:9px;font-weight:700;padding:3px 8px;border-radius:999px;
  border:1px solid var(--border-strong);background:var(--surface);color:var(--ink-2)}
.ib-ai i{font-size:11px;color:var(--brand)}
.ib-compose{display:flex;align-items:center;gap:7px;margin:0 12px 12px;padding:7px 9px;border:1.5px solid var(--brand-line);
  border-radius:10px;background:var(--surface);font-size:10.5px;color:var(--ink-3)}
.ib-compose .send{margin-left:auto;width:24px;height:24px;border-radius:50%;background:var(--brand);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:12px;flex-shrink:0}
@media(max-width:600px){.ib-body{grid-template-columns:minmax(0,1fr)}.ib-list{display:none}}

/* ---------------- a smaller phone: texted receipt / farmer report pages ---------------- */
.phone.sm{width:272px;border-radius:40px;padding:10px}
.phone.sm .phone-notch{width:100px;height:22px;top:10px}
.phone.sm .phone-screen{height:590px;border-radius:31px}
.rc{background:#fff}
.rc-scroll{flex:1;overflow:hidden;padding:34px 14px 14px;display:flex;flex-direction:column;gap:9px}
.rc-shop{display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px}
.rc-shop .brand-mark{width:32px;height:32px;border-radius:10px;box-shadow:none}
.rc-shop .brand-mark i{font-size:18px}
.rc-shop b{font-family:var(--display);font-size:14px;font-weight:600;line-height:1.2}
.rc-shop small{font-size:8.5px;color:var(--ink-3);font-weight:600}

.rc-title{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.rc-title b{font-size:12.5px;font-weight:800}
.rc-title span{font-size:9px;color:var(--ink-3);font-weight:600;white-space:nowrap}
.rc-status{align-self:flex-start;font-size:9px;font-weight:800;padding:3px 9px;border-radius:999px;background:var(--ok-soft);color:var(--ok)}
.rc-status.due{background:var(--warn-soft);color:var(--warn)}
.rc-hi{font-family:var(--display);font-size:13px;font-weight:600}
.rc-lines{display:flex;flex-direction:column;gap:6px;border-top:1px solid var(--border);padding-top:8px}
.rc-line{display:flex;justify-content:space-between;gap:8px;font-size:10px;font-weight:700}
.rc-line em{display:block;font-style:normal;font-weight:600;color:var(--ink-3);font-size:8.5px}
.rc-line>span:last-child{white-space:nowrap}
.rc-tot{display:flex;justify-content:space-between;font-size:11.5px;font-weight:800;border-top:1px dashed var(--border-strong);padding-top:7px}
.rc-sub{display:flex;justify-content:space-between;font-size:9.5px;color:var(--ink-2);font-weight:600}
.rc-paid{font-size:9.5px;font-weight:800;color:var(--ok);background:var(--ok-soft);border-radius:8px;padding:5px 8px;text-align:center}

.rc-textus{display:flex;align-items:center;justify-content:center;gap:6px;background:var(--brand);color:#fff;font-size:12px;
  font-weight:800;padding:10px;border-radius:10px;box-shadow:0 4px 12px rgba(155,46,38,.28)}
.rc-textus i{font-size:15px}
.rc-acts{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
.rc-acts span{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:8.5px;font-weight:700;color:var(--ink-2);
  border:1px solid var(--border);border-radius:8px;padding:6px 0}
.rc-acts i{font-size:14px;color:var(--brand)}
/* farmer report: one block per animal, its customers underneath */
.fr-ani{border:1px solid var(--border);border-radius:9px;padding:7px 8px;display:flex;flex-direction:column;gap:4px}
.fr-ani-h{display:flex;justify-content:space-between;align-items:baseline;font-size:10px;font-weight:800}
.fr-ani-h span{font-size:8.5px;color:var(--ink-3);font-weight:700}
.fr-cust{display:flex;justify-content:space-between;font-size:9.5px;color:var(--ink-2);font-weight:600}
.fr-cust.wait{color:var(--warn);font-style:italic}
.fr-tots{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.fr-tots div{background:var(--surface-2);border:1px solid var(--border);border-radius:8px;padding:5px 7px}
.fr-tots small{display:block;font-size:7.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.fr-tots b{font-family:var(--display);font-size:15px;font-weight:600}

/* ---------------- Point of Sale register ---------------- */
.reg-demo{width:100%}
.reg-body{display:grid;grid-template-columns:minmax(0,1fr) 210px;background:var(--surface-2);min-height:380px}
.reg-prod{padding:12px;display:flex;flex-direction:column;gap:9px;min-width:0}
.reg-switch{display:inline-flex;align-self:flex-start;background:var(--surface);border:1px solid var(--border);border-radius:9px;padding:3px}
.reg-switch span{font-size:10px;font-weight:800;padding:4px 9px;border-radius:7px;color:var(--ink-2)}
.reg-switch span.on{background:var(--ink);color:#fff}
.reg-search{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--ink-3);background:var(--surface);border:1px solid var(--border);
  border-radius:8px;padding:6px 8px}
.reg-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.reg-tile{background:var(--surface);border:1px solid var(--border);border-radius:9px;padding:8px;min-height:58px;display:flex;flex-direction:column;
  justify-content:space-between;gap:4px;min-width:0}
.reg-tile b{font-size:10px;font-weight:800;line-height:1.25}
.reg-tile span{font-size:9px;font-weight:700;color:var(--ink-3)}
.reg-tile.fav b::before{content:"★ ";color:var(--warn)}
.reg-tile.custom{border-style:dashed;align-items:center;justify-content:center;color:var(--ink-3);text-align:center}
.reg-cart{background:var(--surface);border-left:1px solid var(--border);display:flex;flex-direction:column;padding:12px;gap:8px}
.reg-who{display:flex;align-items:center;gap:7px;padding-bottom:8px;border-bottom:1px solid var(--border)}
.reg-who .av{width:24px;height:24px;border-radius:50%;background:var(--field-soft);color:var(--field);font-size:9px;font-weight:800;
  display:flex;align-items:center;justify-content:center;flex-shrink:0}
.reg-who b{display:block;font-size:10.5px;font-weight:800;line-height:1.2}
.reg-who small{font-size:8.5px;color:var(--ink-3);font-weight:600}
.reg-line{display:grid;grid-template-columns:1fr auto;gap:2px 6px;font-size:10px;font-weight:700}
.reg-line em{grid-column:1/-1;font-style:normal;font-size:8.5px;color:var(--ink-3);font-weight:600}
.reg-tot{margin-top:auto;display:flex;justify-content:space-between;font-size:11px;font-weight:800;border-top:1px dashed var(--border-strong);padding-top:8px}
.reg-charge{text-align:center;font-size:11.5px;font-weight:800;color:#fff;background:var(--brand);border-radius:9px;padding:9px;
  box-shadow:0 4px 12px rgba(155,46,38,.28)}
@media(max-width:560px){.reg-body{grid-template-columns:minmax(0,1fr)}.reg-cart{border-left:none;border-top:1px solid var(--border)}
  .reg-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------------- feature & use-case pages ---------------- */
.hero.page{padding:34px 0 56px}
.hero.page .display{font-size:clamp(2.2rem,4.8vw,3.45rem)}
.hero.page .hero-sub{max-width:44ch}
.crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:12.5px;font-weight:600;color:var(--ink-3);margin-bottom:18px}
.crumbs a{color:var(--ink-2)}
.crumbs a:hover{color:var(--brand-700)}
.crumbs i{font-size:13px;opacity:.6}
.crumbs [aria-current]{color:var(--ink)}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}

.callout{display:flex;gap:13px;align-items:flex-start;padding:16px 18px;border-radius:var(--radius);background:var(--surface);
  border:1px solid var(--border);border-left:4px solid var(--field);max-width:780px;margin:30px auto 0}
.callout>i{font-size:21px;color:var(--field);flex-shrink:0;margin-top:2px}
.callout p{font-size:.96rem;color:var(--ink-2);line-height:1.55}
.callout b{color:var(--ink)}
/* the actual texts the app sends, quoted as they arrive */
.tmpl-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.tmpl{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow-sm);
  display:flex;flex-direction:column;gap:10px}
.tmpl-h{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:var(--ink-3)}
.tmpl-h i{font-size:16px;color:var(--brand)}
.tmpl .ls-bubble{font-size:12.5px}
/* problem → how it's handled */
.fit{display:flex;flex-direction:column;gap:12px;max-width:900px;margin:0 auto}
.fit-row{display:grid;grid-template-columns:1fr 1.25fr;gap:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow-sm)}
.fit-row>div{padding:16px 18px}
.fit-p{background:var(--surface-2);border-right:1px solid var(--border);font-weight:700;color:var(--ink);display:flex;gap:10px;align-items:flex-start}
.fit-p i{font-size:18px;color:var(--alert);flex-shrink:0;margin-top:2px}
.fit-s{color:var(--ink-2);font-size:.97rem;line-height:1.55}
.fit-s a{color:var(--brand-700);font-weight:700}
.fit-s a:hover{text-decoration:underline}
/* who it's for */
.use-card{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:26px 24px;
  box-shadow:var(--shadow-sm);display:flex;flex-direction:column;transition:transform .16s,box-shadow .16s,border-color .16s}
.use-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:var(--border-strong)}
.use-card .ficon{background:var(--field-soft);color:var(--field)}
.use-card h3{font-size:1.32rem;margin-bottom:9px}
.use-card p{color:var(--ink-2);font-size:.98rem;flex:1}
.use-card ul{list-style:none;margin:12px 0 0;display:flex;flex-direction:column;gap:6px}
.use-card li{position:relative;padding-left:22px;font-size:.92rem;color:var(--ink-2)}
.use-card li::before{content:"";position:absolute;left:4px;top:.6em;width:7px;height:7px;border-radius:50%;background:var(--field)}
/* "learn more" link under a home-page feature section */
.more-link{display:inline-flex;align-items:center;gap:7px;margin-top:20px;font-size:15px;font-weight:800;color:var(--brand-700)}
.more-link i{font-size:17px;transition:transform .15s}
.more-link:hover i{transform:translateX(4px)}

@media(max-width:980px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .tmpl-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .grid-4,.tmpl-grid{grid-template-columns:1fr}
  .fit-row{grid-template-columns:1fr}
  .fit-p{border-right:none;border-bottom:1px solid var(--border)}
}

/* ---------------- small pieces the feature pages share ---------------- */
.kpi .kv small{font-size:.5em;font-weight:600;color:var(--ink-3);margin-left:1px}
/* an extra jump target inside a section (old #cutdays links land on the schedule) */
.anchor{display:block;scroll-margin-top:88px}
.page-hero .crumbs{justify-content:center}
/* cut sheet form: the notes box and the "your contact info" fields */
.csf-note{background:#fff;border:1px solid var(--border-strong);border-radius:8px;padding:7px 9px;font-size:10px;line-height:1.45;
  color:var(--ink-2);min-height:44px;margin-bottom:10px}
.csf-field{display:flex;flex-direction:column;gap:2px;margin-bottom:6px}
.csf-field small{font-size:7.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.csf-field span{background:#fff;border:1px solid var(--border-strong);border-radius:7px;padding:5px 8px;font-size:10px;font-weight:600;color:var(--ink)}
/* cut sheets to collect */
.col-group{font-size:9.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);padding:8px 13px 6px;
  background:var(--surface-2);border-bottom:1px solid var(--border)}
.col-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;align-items:center;padding:10px 13px;border-bottom:1px solid var(--border)}
.col-row:last-child{border-bottom:none}
.col-row>b{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:12px;font-weight:800;min-width:0}
.col-row>small{grid-column:1;font-size:10px;font-weight:600;color:var(--ink-3)}
.col-row>small.col-st{color:var(--warn);font-weight:700}
.col-btn{display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:800;padding:5px 10px;border-radius:8px;
  border:1px solid var(--border-strong);background:var(--surface);color:var(--ink);white-space:nowrap}
.col-row>.col-btn{grid-row:1/span 2;grid-column:2}
.col-btn.pri{background:var(--brand);border-color:var(--brand);color:#fff}
/* the customer panel beside a conversation */
.cp-demo{max-width:430px;width:100%;margin:0 auto}
.cp-body{padding:14px;background:var(--surface-2);display:flex;flex-direction:column;gap:10px}
.cp-head{display:flex;align-items:center;gap:10px}
.cp-head .av{width:34px;height:34px;border-radius:50%;background:var(--brand);color:#fff;font-size:12px;font-weight:800;
  display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cp-head b{display:block;font-family:var(--display);font-size:16px;font-weight:600;line-height:1.15}
.cp-head small{font-size:10.5px;color:var(--ink-3);font-weight:600}
.cp-chips{display:flex;flex-wrap:wrap;gap:5px}
.cp-tabs{display:flex;gap:4px;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:3px}
.cp-tabs span{flex:1;text-align:center;font-size:10.5px;font-weight:800;color:var(--ink-2);padding:5px 0;border-radius:8px}
.cp-tabs span.on{background:var(--brand-soft);color:var(--brand-700)}
.cp-card{background:var(--surface);border:1px solid var(--border);border-radius:11px;padding:10px 12px;display:flex;flex-direction:column;gap:6px}
.cp-h{display:flex;align-items:baseline;gap:6px;font-size:11.5px;font-weight:800}
.cp-h span{font-size:10px;font-weight:700;color:var(--ink-3)}
.cp-h em{margin-left:auto;font-style:normal;font-size:10px;font-weight:800;color:var(--brand-700)}

.cp-sheet{display:flex;align-items:center;gap:8px;padding:8px 9px;border-radius:9px;border:1px solid var(--border);background:var(--surface-2)}
.cp-sheet.wait{background:var(--warn-soft);border-color:#ecd9b0}
.cp-sheet>div{flex:1;min-width:0}
.cp-sheet b{display:block;font-size:11px;font-weight:800}
.cp-sheet small{font-size:9.5px;font-weight:600;color:var(--ink-3)}
/* an AI suggestion, waiting for Use this / Ignore */
.ai-card{background:var(--surface);border:1.5px solid var(--brand-line);border-radius:12px;padding:11px 12px;box-shadow:var(--shadow-sm)}
.ai-h{display:flex;align-items:center;gap:6px;font-size:10.5px;font-weight:800;color:var(--brand-700);margin-bottom:5px}
.ai-h i{font-size:14px}
.ai-card p{font-size:11.5px;line-height:1.5;color:var(--ink)}
.ai-btns{display:flex;gap:6px;margin-top:8px}

/* ============================================================
   Lighter layout: short copy beside big visuals
   ============================================================ */

/* three short chips under a hero sub */
.hero-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.hero-chips span{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border-radius:999px;background:var(--surface);
  border:1px solid var(--border-strong);font-size:13.5px;font-weight:700;color:var(--ink);line-height:1.3}
.hero-chips i{font-size:16px;color:var(--brand)}

/* a few words per point, each on an icon tile */
.points{list-style:none;display:grid;gap:12px;margin-top:26px}
.points li{display:flex;align-items:center;gap:13px;font-size:1.02rem;font-weight:700;color:var(--ink);line-height:1.35}
.points li i{width:38px;height:38px;border-radius:11px;background:var(--brand-soft);color:var(--brand);
  display:flex;align-items:center;justify-content:center;font-size:19px;flex-shrink:0}
.points.green li i{background:var(--field-soft);color:var(--field)}

/* the soft backdrop each product visual sits on */
.stage{position:relative;isolation:isolate;padding:46px 38px;border-radius:30px;border:1px solid rgba(155,46,38,.10);
  background:radial-gradient(70% 80% at 88% 6%,rgba(155,46,38,.15),transparent 70%),
             radial-gradient(60% 70% at 4% 100%,rgba(154,103,8,.09),transparent 70%),
             linear-gradient(160deg,#F9F2EA,#EFE5D8)}
.stage.green{border-color:rgba(60,107,74,.14);
  background:radial-gradient(70% 80% at 88% 6%,rgba(60,107,74,.17),transparent 70%),
             radial-gradient(60% 70% at 4% 100%,rgba(155,46,38,.07),transparent 70%),
             linear-gradient(160deg,#F2F4EC,#E5EBDD)}
.stage.amber{border-color:rgba(154,103,8,.16);
  background:radial-gradient(70% 80% at 88% 6%,rgba(154,103,8,.16),transparent 70%),
             radial-gradient(60% 70% at 4% 100%,rgba(155,46,38,.08),transparent 70%),
             linear-gradient(160deg,#FAF3E4,#F0E5CF)}
/* a faint dot grid that fades out toward the bottom */
.stage::before{content:"";position:absolute;inset:0;border-radius:inherit;z-index:-1;pointer-events:none;
  background-image:radial-gradient(rgba(33,28,22,.11) 1px,transparent 1.4px);background-size:20px 20px;
  -webkit-mask-image:linear-gradient(180deg,#000,transparent 78%);mask-image:linear-gradient(180deg,#000,transparent 78%)}
.stage>.panel,.stage>.phone{margin:0 auto}
.stage .float-card{z-index:9}
.stage .float-card.float-tr{top:-20px;right:-16px}
.stage .float-card.float-bl{bottom:-20px;left:-16px}
@media(max-width:600px){.stage{padding:24px 12px;border-radius:22px}}

/* compact feature tile: icon, name, one line */
.tile{display:flex;flex-direction:column;gap:6px;padding:22px 20px 20px;background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);box-shadow:var(--shadow-sm);transition:transform .16s,box-shadow .16s,border-color .16s}
a.tile:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:var(--border-strong)}
.tile>i{width:44px;height:44px;border-radius:13px;background:var(--brand-soft);color:var(--brand);display:flex;align-items:center;
  justify-content:center;font-size:22px;margin-bottom:10px}
.tile.green>i{background:var(--field-soft);color:var(--field)}
.tile b{font-family:var(--display);font-size:1.15rem;font-weight:600;line-height:1.2;letter-spacing:-.01em}
.tile span{font-size:.93rem;color:var(--ink-2);line-height:1.45}
.tile em{margin-top:auto;padding-top:10px;font-style:normal;font-size:13.5px;font-weight:800;color:var(--brand-700)}

/* how it flows: a dotted line through numbered icon tiles */
.flow{list-style:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;position:relative;counter-reset:flow}
.flow::before{content:"";position:absolute;top:31px;left:calc(100% / 12);right:calc(100% / 12);height:2px;
  background:repeating-linear-gradient(90deg,var(--brand-line) 0 10px,transparent 10px 18px)}
.flow li{position:relative;text-align:center;counter-increment:flow}
.flow-ic{position:relative;z-index:1;width:64px;height:64px;margin:0 auto 16px;border-radius:20px;background:var(--surface);
  border:1px solid var(--border);box-shadow:var(--shadow);display:flex;align-items:center;justify-content:center;font-size:27px;color:var(--brand)}
.flow-ic::after{content:counter(flow);position:absolute;top:-8px;right:-8px;width:24px;height:24px;border-radius:50%;
  background:var(--brand);color:#fff;font-family:var(--display);font-size:12.5px;font-weight:700;
  display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(155,46,38,.3)}
.flow b{display:block;font-family:var(--display);font-size:1.1rem;font-weight:600;line-height:1.2;margin-bottom:5px}
.flow small{display:block;font-size:.9rem;color:var(--ink-2);line-height:1.4}
@media(max-width:980px){.flow{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:36px}.flow::before{display:none}}
@media(max-width:560px){
  .flow{grid-template-columns:minmax(0,1fr);gap:0}
  .flow li{display:grid;grid-template-columns:56px minmax(0,1fr);column-gap:16px;align-items:center;text-align:left;padding-bottom:22px}
  .flow li:not(:last-child)::before{content:"";position:absolute;left:27px;top:60px;bottom:4px;width:2px;
    background:repeating-linear-gradient(180deg,var(--brand-line) 0 8px,transparent 8px 14px)}
  .flow-ic{width:56px;height:56px;margin:0;font-size:24px;grid-row:span 2}
  .flow b{margin:0;align-self:end}
  .flow small{align-self:start}
}

/* who it's for: no bullet lists, just the gist and a link */
.use-card p{margin-bottom:6px}
.use-card .fcard-link{margin-top:14px}

/* a five-step flow */
.flow.f5{grid-template-columns:repeat(5,minmax(0,1fr))}
.flow.f5::before{left:calc(100% / 10);right:calc(100% / 10)}
.flow.f4{grid-template-columns:repeat(4,minmax(0,1fr))}
.flow.f4::before{left:calc(100% / 8);right:calc(100% / 8)}
@media(max-width:980px){.flow.f5,.flow.f4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.flow.f5,.flow.f4{grid-template-columns:minmax(0,1fr)}}
/* a stage holding two stacked visuals */
.stage-stack{display:flex;flex-direction:column;gap:14px}
/* a phone whose screen is only as tall as its content (the farmer report) */
.phone.sm.fit .phone-screen{height:auto}
/* on phones, short info tiles sit two to a row (an odd last one spans both) */
@media(max-width:760px){
  .grid-4,.grid-3:has(>div.tile){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .grid-4>.tile:last-child:nth-child(odd),.grid-3:has(>div.tile)>.tile:last-child:nth-child(odd){grid-column:1/-1}
  .tile{padding:18px 15px 16px}
  .tile>i{width:38px;height:38px;font-size:19px;margin-bottom:6px}
  .tile b{font-size:1.05rem}
  .tile span{font-size:.88rem}
}

/* ============================================================
   Clear animation: tap rings, stage captions, typed values
   ============================================================ */

/* the ring a demo shows where a finger taps */
.tap-ring{position:absolute;z-index:60;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;pointer-events:none;
  border:2.5px solid var(--brand);background:rgba(155,46,38,.18);box-shadow:0 0 0 4px rgba(155,46,38,.10)}

/* a caption pill that says what's happening in a demo (JS fills it) */
.stage-cap{position:absolute;left:50%;bottom:12px;z-index:30;transform:translateX(-50%) translateY(6px);max-width:calc(100% - 32px);
  display:inline-flex;align-items:center;gap:8px;padding:9px 15px;border-radius:999px;background:rgba(33,28,22,.92);color:#fff;
  font-size:13.5px;font-weight:700;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  box-shadow:0 8px 24px rgba(33,28,22,.22);opacity:0;transition:opacity var(--dur-fast),transform var(--dur) var(--ease)}
.stage-cap.show{opacity:1;transform:translateX(-50%) translateY(0)}
.stage-cap::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 3px rgba(155,46,38,.35);flex-shrink:0}
@media(max-width:600px){.stage-cap{font-size:12px;padding:8px 12px;white-space:normal;text-align:center;bottom:8px}}

/* a value being typed in: a box with a caret while it's active */
.typed{display:inline-block;min-width:1.6em;position:relative}
.typed.typing::after{content:"";display:inline-block;width:2px;height:1em;margin-left:2px;vertical-align:-2px;background:var(--brand);animation:caret 1s step-end infinite}
@keyframes caret{50%{opacity:0}}

/* ============================================================
   How it works: the shop screen and the customer's phone, step by step
   ============================================================ */
.how-grid{display:grid;grid-template-columns:330px minmax(0,1fr);gap:40px;align-items:start}
.how-steps{list-style:none;display:flex;flex-direction:column;gap:6px;position:sticky;top:96px}
.how-step button{display:grid;grid-template-columns:34px minmax(0,1fr);gap:4px 12px;width:100%;text-align:left;padding:12px 14px 13px;
  border:1px solid transparent;border-radius:14px;background:transparent;color:var(--ink);font-family:inherit;cursor:pointer;
  transition:background var(--dur-fast),border-color var(--dur-fast),transform var(--dur-fast) var(--ease)}
.how-step button:hover{background:var(--surface);border-color:var(--border)}
.how-step.active button{background:var(--surface);border-color:var(--border-strong);box-shadow:var(--shadow)}
.how-step.done .hs-n{background:var(--ok-soft);color:var(--ok)}
.hs-n{width:34px;height:34px;border-radius:11px;background:var(--brand-soft);color:var(--brand-700);font-family:var(--display);font-weight:700;
  font-size:15px;display:flex;align-items:center;justify-content:center;transition:background var(--dur-fast),color var(--dur-fast)}
.how-step.active .hs-n{background:var(--brand);color:#fff}
.hs-t b{display:block;font-family:var(--display);font-weight:700;font-size:1.06rem;letter-spacing:-.015em;line-height:1.2}
.hs-t small{display:block;font-size:.9rem;color:var(--ink-2);line-height:1.4;margin-top:2px}
.hs-bar{grid-column:2;display:block;height:3px;border-radius:3px;background:var(--border);overflow:hidden;margin-top:6px;opacity:0;transition:opacity var(--dur-fast)}
.how-step.active .hs-bar{opacity:1}
.hs-bar i{display:block;height:100%;width:0;background:var(--brand);border-radius:3px}
.how-stage{display:flex;align-items:flex-end;padding:30px 30px 58px;min-height:640px}
.how-desk{flex:1;min-width:0;align-self:center;z-index:1}
.how-desk .panel-url{max-width:none;transition:opacity var(--dur-fast)}
.how-scenes{position:relative;height:470px;background:var(--surface-2);overflow:hidden}
.how-phone{flex:none;margin-left:-84px;z-index:2;width:272px;max-width:100%}
.how-phone .phone-screen{height:560px;background:var(--paper)}
.scene{position:absolute;inset:0;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity var(--dur) var(--ease),transform var(--dur) var(--ease),visibility 0s var(--dur)}
.scene.on{opacity:1;visibility:visible;transform:none;transition:opacity var(--dur) var(--ease),transform var(--dur) var(--ease),visibility 0s}
.how-body{padding:14px;height:100%;overflow:hidden;display:flex;flex-direction:column;gap:10px}
.how-phone .scene{display:flex;flex-direction:column}
/* timed pieces: `.ap` appears at its time, `.off` hides */
.how .ap{opacity:0;transform:translateY(6px);transition:opacity var(--dur) var(--ease),transform var(--dur) var(--ease)}
.how .ap.on{opacity:1;transform:none}
.how .hid{display:none !important}
.how .ap.pop{transform:scale(.92)}
.how .ap.pop.on{transform:none}
/* the message that travels between the screen and the phone */
.fly{position:absolute;z-index:40;pointer-events:none;max-width:230px;padding:8px 12px;border-radius:12px 12px 12px 4px;background:var(--brand);color:#fff;
  font-size:11.5px;font-weight:700;line-height:1.35;box-shadow:0 10px 24px rgba(155,46,38,.35);display:flex;align-items:center;gap:7px}
.fly i{font-size:14px;flex-shrink:0}
.fly.from-phone{background:var(--ink);border-radius:12px 12px 4px 12px;box-shadow:0 10px 24px rgba(33,28,22,.35)}
.how-ctrl{position:absolute;top:14px;right:14px;z-index:35;display:flex;gap:6px}
.how-ctrl button{width:36px;height:36px;border-radius:10px;border:1px solid var(--border-strong);background:rgba(255,255,255,.92);color:var(--ink);
  display:flex;align-items:center;justify-content:center;font-size:17px;cursor:pointer;transition:background var(--dur-fast)}
.how-ctrl button:hover{background:#fff}
/* pieces of the shop screens used only in the walkthrough */
.hw-row{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--surface);border:1px solid var(--border);border-radius:11px;min-width:0}
.hw-row b{display:block;font-size:12.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hw-row small{display:block;font-size:10.5px;color:var(--ink-3);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hw-row .grow{flex:1;min-width:0}
/* the message templates that fly between devices, and the caption cues, never render in place */
.how [data-fly],.how [data-cap]:empty{display:none}
.hw-btn{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:8px;font-size:10.5px;font-weight:800;white-space:nowrap;
  background:var(--brand);color:#fff;box-shadow:0 3px 8px rgba(155,46,38,.28)}
.hw-btn.light{background:var(--surface);color:var(--ink);border:1px solid var(--border-strong);box-shadow:none}
.hw-btn i{font-size:13px}
.hw-meter{display:flex;align-items:center;gap:10px;font-size:11.5px;font-weight:800}
.hw-meter .ks-bar{flex:1;height:6px}
.hw-meter .ks-bar i{background:var(--brand);transition:width .6s var(--ease)}
.hw-in{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border-radius:7px;background:var(--surface);border:1px solid var(--border-strong);
  font-size:12px;font-weight:800;min-width:58px;font-variant-numeric:tabular-nums;transition:border-color var(--dur-fast),background var(--dur-fast)}
.hw-in .typed.typing{color:var(--brand-700)}
.hw-in.on{border-color:var(--brand-line);background:var(--brand-soft);color:var(--brand-700)}
.hw-in small{font-size:9.5px;color:var(--ink-3);font-weight:700}
.hw-compose{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1.5px solid var(--brand-line);border-radius:10px;background:var(--surface);font-size:11px;min-height:36px}
.hw-compose .typed{flex:1;color:var(--ink);font-weight:600;min-width:0;white-space:nowrap;overflow:hidden}
.hw-compose .send{width:24px;height:24px;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;flex-shrink:0}
.hw-toast{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:10px;background:var(--ok-soft);color:var(--ok);font-size:11.5px;font-weight:800;margin-top:auto}
.hw-toast i{font-size:15px}
.hw-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
/* the kill-schedule cell that gets booked lights up */
.ks-day.hw-book{transition:background .4s,border-color .4s,box-shadow .4s}
.ks-day.hw-book.on{border-color:var(--brand);background:var(--brand-soft);box-shadow:0 0 0 3px rgba(155,46,38,.14)}
.ks-day .ks-bar i{transition:width .6s var(--ease)}
/* the phone's SMS thread inside the walkthrough */
.hw-sms{flex:1;overflow:hidden;padding:0 12px 14px;display:flex;flex-direction:column;gap:8px}
.hw-sms .sms-header{margin:0 -12px 6px}
.how .csf-done.on{opacity:1;visibility:visible}
.how .bv-w.on{border-color:var(--brand-line);background:var(--brand-soft);color:var(--brand-700)}
.how .bv-w:empty::before{content:"—";color:var(--ink-3)}
.how .bill-status-pill.on{background:var(--warn-soft);color:var(--warn);border-color:transparent}
.how .reg-charge{transition:background var(--dur-fast)}
.how .reg-charge.on{background:var(--ok)}
.hw-sms .sms-msg{max-width:88%}
/* the cut-sheet form slides over the SMS thread when the customer opens the link */
.hw-form{position:absolute;inset:0;z-index:5;background:#FCFAF6;display:flex;flex-direction:column;transform:translateY(14px)}
.hw-form.on{transform:none}
.hw-form .csf-scroll{padding-top:30px}
/* report / receipt pages inside the walkthrough phone */
.hw-page{position:absolute;inset:0;z-index:5;background:#fff;display:flex;flex-direction:column}
.hw-page .rc-scroll{padding-top:30px}
@media(max-width:1000px){
  .how-grid{grid-template-columns:minmax(0,1fr);gap:22px}
  .how-steps{position:static;order:2}
  .how-step button{padding:10px 12px}
}
@media(max-width:700px){
  .how-stage{flex-direction:column;align-items:center;padding:18px 12px 60px;min-height:0}
  .how-desk{width:100%;align-self:stretch}
  .how-scenes{height:400px}
  .how-phone{margin:18px 0 0;width:240px}
  .how-phone .phone-screen{height:440px}
  .how-phone .sms-bubble{font-size:11.5px}
  .how-steps{gap:4px}
  .hs-t small{display:none}
  .how-step.active .hs-t small{display:block}
}

/* ============================================================
   Hero: the schedule screen behind the customer's phone
   ============================================================ */
.hero-stage{display:flex;align-items:flex-end;justify-content:flex-end;position:relative}
.hero-desk{flex:1;min-width:0;align-self:center;z-index:1;margin-bottom:24px}
.hero-desk .panel-url{max-width:none}
.hero-desk .ks-body{padding:12px}
.hero-desk .ks-day{min-height:46px}
.hero-desk .ks-chips .badge:nth-child(n+4){display:none}
.hero-desk .ks-day .badge{display:none}
.hero-phone{flex:none;margin-left:-14px;z-index:2;width:224px}
.hero-phone .phone-screen{height:480px}
.hero-phone .sms-bubble{font-size:11.5px}
.hero-phone .sms-header{padding-top:30px}
@media(max-width:1100px){.hero-stage{max-width:640px;margin:0 auto}}
@media(max-width:600px){
  .hero-stage{flex-direction:column;align-items:center}
  .hero-desk{width:100%;margin:0}
  .hero-phone{margin:-30px 0 0}
}

/* a sub-nav of in-page anchors under a page hero */
.anchor-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:22px}
.anchor-nav a{padding:8px 14px;border-radius:999px;background:var(--surface);border:1px solid var(--border-strong);font-size:13.5px;font-weight:700;color:var(--ink-2);
  transition:color var(--dur-fast),border-color var(--dur-fast)}
.anchor-nav a:hover{color:var(--brand-700);border-color:var(--brand-line)}
