/* FoodTechGuru /features/ pages (supplier prices): intro, screenshot hero, steps, proof table, vendor comparison
   tool, app band, video facade, hub. Loaded after /calculators/css/calculators.css (tokens, nav, buttons, prose,
   FAQ, footer) and /calculators/css/phone-demo.css (the phone). */

.intro { padding-top: 28px; padding-bottom: 8px; }
.lead { font-size: clamp(1rem, 1.3vw, 1.12rem); color: #2c2c45; max-width: 70ch; margin-top: 12px; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; align-items: center; }
.intro-note { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.plan-pill { display: inline-block; background: var(--navy); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 30px; vertical-align: 3px; }

/* screenshot hero */
.shots { padding-top: 26px; }
.shots-frame { background: var(--yellow); border: 2px solid #000; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(16px, 3vw, 36px); overflow: hidden; }
.shots-frame img { margin: 0 auto; width: 100%; max-width: 1100px; }
.shots figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 10px; max-width: 80ch; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; counter-reset: step; }
.steps li { counter-increment: step; background: #fff; border: 2px solid #000; border-radius: 14px; padding: 14px 14px 14px 52px; position: relative; font-size: 0.9rem; color: #2c2c45; }
.steps li::before { content: counter(step); position: absolute; left: 14px; top: 13px; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 0.85rem; display: grid; place-items: center; border: 2px solid #000; }
.steps b { display: block; color: var(--navy); font-size: 0.95rem; }

/* tables (proof, list format) */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin: 14px 0 10px; font-size: 0.93rem; background: #fff; border: 2px solid #000; border-radius: 14px; overflow: hidden; }
.compare th, .compare td { text-align: left; padding: 10px 12px; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: #fff; font-weight: 700; }
.compare tbody th { color: var(--navy); font-weight: 700; }
.compare td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.small { font-size: 0.85rem !important; color: var(--muted) !important; }

/* vendor comparison tool */
.vc { background: var(--card); border: 2px solid #000; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin: 18px 0 10px; }
.vc-head { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: end; margin-bottom: 12px; }
.vc-head label { display: grid; gap: 4px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.vc-head input[type=text] { font: inherit; font-size: 0.95rem; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--navy); padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 8px; width: 190px; max-width: 100%; }
.vc-head .sa input { border-color: #7aa7ff; background: #eef4ff; }
.vc-head .sb input { border-color: #ffb48f; background: #fff3ec; }
.vc-units { display: flex; gap: 6px; margin-left: auto; }
.vc-units label { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 700; border: 1.5px solid var(--line); border-radius: 30px; padding: 6px 12px; cursor: pointer; }
.vc-units input { accent-color: var(--orange); }
.vc-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.vc-table th { text-align: left; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); padding: 6px 5px; font-weight: 800; vertical-align: bottom; }
.vc-table th.sa { color: #2456c6; } .vc-table th.sb { color: #c4501b; }
.vc-table td { padding: 4px 5px; border-top: 1px solid var(--line); vertical-align: middle; }
.vc-table input { width: 100%; font: inherit; padding: 7px 8px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; min-width: 0; }
.vc-table input:focus { border-color: var(--orange); outline: none; }
.vc-table td.sa input { background: #f5f8ff; } .vc-table td.sb input { background: #fff8f3; }
.vc-table .c-item input { min-width: 150px; }
.vc-table .c-use, .vc-table .c-aPack, .vc-table .c-bPack { width: 92px; }
.vc-table .c-aPrice, .vc-table .c-bPrice { width: 78px; }
.vc-table .c-out { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 0.82rem; line-height: 1.35; }
.vc-table .c-out span { display: block; }
.vc-table .pu-a { color: #2456c6; } .vc-table .pu-b { color: #c4501b; }
.vc-table tr.win-a .pu-a, .vc-table tr.win-b .pu-b { font-weight: 800; }
.vc-table .rm { font-size: 1.1rem; padding: 4px 8px; color: var(--muted); }
.win { display: inline-block; padding: 3px 9px; border-radius: 30px; border: 1.5px solid var(--line); font-weight: 800; font-size: 0.76rem; color: var(--muted); max-width: 210px; }
.win.is-a { background: #dce8ff; border-color: #2456c6; color: #12357d; }
.win.is-b { background: #ffe2d3; border-color: #c4501b; color: #7c2f0b; }
.win.tie { background: #f1f1f1; }
.win.err { border: 0; padding: 0; font-weight: 600; color: var(--error); white-space: normal; }
.vc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.vc-sum { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 0.9rem; color: var(--muted); border-top: 2px solid #000; padding-top: 12px; }
.vc-sum b { color: var(--navy); font-variant-numeric: tabular-nums; }
.vc-sum .vc-save { flex-basis: 100%; color: var(--ink); font-weight: 600; }
.vc-sum .vc-save b { color: var(--orange); font-size: 1.05rem; }
.vc-note { font-size: 0.8rem !important; color: var(--muted) !important; margin-top: 10px; }

/* app band */
.app-band { background: #fff; border-top: 2px solid #000; border-bottom: 2px solid #000; margin-top: 48px; padding: 44px 0; }
.app-grid { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; }
.app-band h2 { margin-bottom: 12px; }
.app-band p { color: #2c2c45; max-width: 62ch; }
.ticks { list-style: none; margin: 14px 0 20px; }
.ticks li { padding-left: 26px; position: relative; margin: 6px 0; font-weight: 600; font-size: 0.95rem; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.app-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.qr { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 0.72rem; color: var(--muted); font-weight: 700; }
.qr-svg { width: 132px; height: 132px; border: 2px solid #000; border-radius: 10px; shape-rendering: crispEdges; }

/* video facade */
.video { margin: 32px 0 8px; aspect-ratio: 16 / 9; border: 2px solid #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--navy); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-facade { position: relative; width: 100%; height: 100%; display: block; }
.vf-poster { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; display: flex; align-items: flex-end; padding: 24px; }
.vf-title { font-family: var(--font-head); color: #fff; font-size: clamp(1.3rem, 3vw, 2.3rem); text-transform: uppercase; line-height: 1; text-align: left; }
.vf-play { position: absolute; left: 50%; top: 50%; width: 84px; transform: translate(-50%, -50%); transition: transform .2s; }
.video-facade:hover .vf-play { transform: translate(-50%, -50%) scale(1.1); }

/* hub */
.hub-sec { margin-top: 30px; }
.hub-sec h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .app-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .vc-table thead { display: none; }
  .vc-table, .vc-table tbody, .vc-table tr, .vc-table td { display: block; width: 100% !important; }
  .vc-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; margin-bottom: 10px; position: relative; }
  .vc-table td { border: 0; padding: 0; }
  .vc-table td.c-item { grid-column: 1 / -1; padding-right: 34px; }
  .vc-table td.c-item input { min-width: 0; }
  .vc-table td.c-use { grid-column: 1 / -1; }
  .vc-table td[data-label]::before { content: attr(data-label); display: block; font-size: 0.64rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 2px; }
  .vc-table td.sa::before { color: #2456c6; } .vc-table td.sb::before { color: #c4501b; }
  .vc-table td.c-rm { position: absolute; top: 6px; right: 4px; width: auto !important; }
  .vc-table td.c-win { align-self: end; }
  .vc-units { margin-left: 0; }
  .win { max-width: none; }
}
@media (max-width: 720px) {
  .intro { padding-top: 18px; }
  .steps { grid-template-columns: 1fr; }
  .compare { font-size: 0.85rem; }
  .compare th, .compare td { padding: 8px; }
  .qr { display: none; }
  .vc { padding: 12px; }
}
@media (hover: none) and (pointer: coarse) { .qr { display: none; } }
