/* Pineapple Innovations — one stylesheet for every page.
   Colours are the ones the Wix site used. Fonts: Open Sans (condensed) and Raleway as on Wix;
   Wix's "Lulo Clean" headline font is licensed to Wix, so Montserrat stands in for it. */

:root {
  --orange: #f26722;      /* buttons, the "order" and "digital" highlights */
  --amber: #f7991e;       /* piMenuboard+ */
  --green: #007347;       /* piClipboard */
  --deep: #003923;        /* small body text, footer */
  --brown: #a56614;       /* the "Introducing" tag, the current menu item */
  --salmon: #f7b08d;      /* home: piOrderboard panel */
  --peach: #faca8c;       /* home: piMenuboard+ panel */
  --sage: #7bb9a1;        /* home: piClipboard panel */
  --mint: #a5dcc7;        /* piClipboard / piOrderboard captions and banner */
  --cream: #fcdcb2;       /* piMenuboard+ banner */
  --ink: #1d1d1d;
  --muted: #454545;
  --line: #e4e4e4;
  --cond: "Open Sans", "Arial Narrow", sans-serif;   /* used with font-stretch: 75% */
  --body: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --wide: "Montserrat", "Arial Black", sans-serif;
  --wrap: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 50; background: #fff; padding: 10px 14px; }
.skip:focus { left: 10px; top: 10px; }
.cond { font-family: var(--cond); font-stretch: 75%; }

/* ── Header ───────────────────────────────────────────────────────────────────────────── */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 92px; }
.brand img { width: 210px; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.site-nav a {
  display: block; padding: 8px 18px; text-decoration: none;
  font-family: var(--cond); font-stretch: 75%; font-size: 20px; line-height: 1.3; color: var(--muted);
}
.site-nav a:hover, .site-nav a[aria-current="page"], .site-nav .active > a { color: var(--brown); }
.site-nav li { position: relative; }
.site-nav .sub {
  list-style: none; margin: 0; padding: 6px 0; position: absolute; right: 0; top: 100%; min-width: 300px;
  background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .14); border-top: 3px solid var(--orange);
  visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.site-nav .sub a { font-size: 18px; padding: 8px 18px; }
.site-nav li:hover > .sub, .site-nav li:focus-within > .sub { visibility: visible; opacity: 1; transform: none; }
.site-nav .has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: 3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .header-row { min-height: 72px; }
  .brand img { width: 160px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); cursor: pointer;
  }
  .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
    content: ""; display: block; width: 20px; height: 2px; background: currentColor; position: relative;
  }
  .nav-toggle .bars::before { position: absolute; top: -6px; }
  .nav-toggle .bars::after { position: absolute; top: 6px; }
  .js .site-nav { display: none; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .1); padding: 6px 0 12px; }
  .js .site-nav.open { display: block; }
  html:not(.js) .site-nav { position: static; box-shadow: none; border: 0; flex-basis: 100%; }
  html:not(.js) .header-row { flex-wrap: wrap; padding-bottom: 8px; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 10px 20px; }
  .site-nav .sub { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0;
    padding: 0 0 4px 16px; min-width: 0; }
  .site-nav .has-sub > a::after { display: none; }
}

/* ── Buttons ─────────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 11px 26px; background: var(--orange); color: #fff; text-decoration: none;
  font: 400 19px/1.3 var(--body); letter-spacing: .01em; text-transform: uppercase;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .6); transition: background .15s, transform .15s;
}
.btn:hover { background: #d9561a; }
.btn:active { transform: translateY(1px); }
.btn-green { background: var(--green); }
.btn-green:hover { background: #005c39; }
.btn-plain { text-transform: none; }

/* ── Product and text pages ─────────────────────────────────────────────────────────────── */
.page { padding: 34px 0 56px; }
.page-title {
  font: 400 36px/1.2 var(--cond); font-stretch: 75%; margin: 0 0 18px; color: var(--amber);
}
.t-green { color: var(--green); }
.t-orange { color: var(--orange); }
.t-amber { color: var(--amber); }
.prose { max-width: 860px; margin: 0 auto; font-size: 18px; line-height: 1.6; }
.prose h2 { font: 400 20px/1.3 var(--body); margin: 28px 0 10px; }
.prose li { margin-bottom: .45em; }
.lead { font-size: 20px; line-height: 1.55; color: #333; }
@media (max-width: 700px) { .page-title { font-size: 32px; } .prose { font-size: 17px; } }

/* Product names in the pineapple colours: "pi" green, the rest orange (as in the apps) */
.wm { font-weight: 700; white-space: nowrap; }
.wm .pi { color: #007246; }
.wm .nm { color: var(--orange); }

/* ── Home ───────────────────────────────────────────────────────────────────────────── */
.hero { background: linear-gradient(180deg, #fff6ec 0%, #fff 100%); padding: 56px 0 50px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.eyebrow { margin: 0 0 10px; font: 700 14px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.eyebrow-brand { text-transform: none; letter-spacing: .02em; font-size: 17px; color: var(--deep); }
.eyebrow-brand .wm { font-size: 19px; }
.hero h1 { font: 700 clamp(38px, 5vw, 58px)/1.04 var(--cond); font-stretch: 75%; color: var(--ink); margin: 0 0 18px; }
.hero h1 .accent { color: var(--orange); }
.hero .lead { margin: 0 0 26px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline { background: #fff; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn-outline:hover { background: #effaf5; }
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.logo-wall li {
  flex: 0 0 calc(33.333% - 8px); min-width: 0;
  background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; padding: 16px 8px 12px;
}
.logo-wall a { text-decoration: none; display: contents; }
.logo-wall img { height: 92px; width: auto; }
.logo-wall .wm { font-size: 15px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 36px; } }
@media (max-width: 420px) { .logo-wall img { height: 70px; } .logo-wall .wm { font-size: 14px; } }

.section { padding: 56px 0; }
.section-alt { background: #f7f7f4; }
.section h2.h { font: 700 34px/1.1 var(--cond); font-stretch: 75%; margin: 0 0 8px; }
.section .sub { margin: 0 0 30px; color: var(--muted); font-size: 18px; max-width: 46em; }

/* How it fits together: cloud ↔ Store Hub ↔ the store's devices */
.fits { display: grid; grid-template-columns: 1fr auto 1fr auto 1.3fr; align-items: stretch; gap: 0; }
.tier { background: #fff; border-radius: 10px; padding: 18px 18px 16px; box-shadow: 0 1px 6px rgba(0, 0, 0, .08); border-top: 5px solid var(--green); }
.tier-hub { border-top-color: var(--brown); align-self: center; }
.tier-store { border-top-color: var(--orange); }
.tier h3 { font: 700 13px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tier li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.3; }
.tier li img, .tier li svg { width: 34px; height: 34px; object-fit: contain; flex: none; }
.tier li b { display: block; font-size: 16px; }
.link { display: flex; align-items: center; justify-content: center; padding: 0 8px; color: #9a9a9a; }
.link svg { width: 40px; height: 24px; }
.fits-note { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) {
  .fits { grid-template-columns: 1fr; gap: 0; }
  .link { padding: 6px 0; }
  .link svg { transform: rotate(90deg); }
}

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.highlights li { background: #fff; border-radius: 10px; padding: 18px 18px 16px; box-shadow: 0 1px 6px rgba(0, 0, 0, .07); }
.highlights h3 { font: 700 17px/1.3 var(--body); margin: 0 0 6px; color: var(--green); }
.highlights p { margin: 0; font-size: 15.5px; line-height: 1.5; color: #333; }
@media (max-width: 860px) { .highlights { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .highlights { grid-template-columns: 1fr; } }

.closing { text-align: center; }
.closing p { font-size: 19px; margin: 0 auto 20px; max-width: 34em; }
.closing .actions { justify-content: center; }

/* ── Products: one section per module ──────────────────────────────────────────────────── */
.mod-index { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 8px; padding: 0; list-style: none; }
.mod-index a {
  display: inline-block; padding: 6px 14px; border-radius: 999px; background: #f3f3ef; text-decoration: none; font-size: 15px;
}
.mod-index a:hover { background: #e9f4ee; }
.module { display: grid; grid-template-columns: 170px 1fr; gap: 34px; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.module:first-of-type { border-top: 0; }
.module-logo { display: flex; justify-content: center; align-items: flex-start; padding-top: 6px; }
.module-logo img { width: 140px; height: auto; }
.module-logo .glyph { width: 120px; height: 120px; color: var(--green); }
.module h2 { font: 700 34px/1.1 var(--cond); font-stretch: 75%; margin: 0 0 4px; }
.module h2 .wm { font-weight: 700; }
.module .tagline { margin: 0 0 12px; font: 700 15px/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.module p { font-size: 17.5px; margin: 0 0 12px; max-width: 46em; }
.module ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; max-width: 46em; }
.module li { font-size: 16.5px; line-height: 1.5; }
.module li::marker { color: var(--orange); }
@media (max-width: 700px) {
  .module { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }
  .module-logo { justify-content: flex-start; }
  .module-logo img { width: 96px; }
  .module-logo .glyph { width: 84px; height: 84px; }
}

/* About */
.about-banner { margin-bottom: 30px; border-radius: 10px; overflow: hidden; border-bottom: 4px solid var(--green); }
.about-art { display: block; width: 100%; height: auto; }
.about h2 { font: 400 18px/1.3 var(--body); color: var(--orange); margin: 22px 0 4px; }
.about p { font-size: 17px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: stretch; }
.contact-photo { align-self: center; border-radius: 10px; overflow: hidden; border-bottom: 4px solid var(--green); }
.contact-art { display: block; width: 100%; height: auto; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 16px; padding: 30px 24px; border: 1px solid var(--line);
}
.contact-card img.logo { width: 200px; }
.contact-card .email { font-size: 20px; font-weight: 700; word-break: break-word; color: var(--deep); }
.contact-card .btn { text-transform: none; }
.contact-card .fine { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* Privacy notice (the Termly text, kept word for word) */
.policy { max-width: 860px; margin: 0 auto; font-family: Arial, sans-serif; font-size: 14px; line-height: 1.5; color: #595959; overflow-wrap: anywhere; }
.policy a { color: #3030f1; }

/* Not found */
.notfound { text-align: center; padding: 70px 0 90px; }
.notfound p { font-size: 19px; }
.notfound .btn { margin: 6px; text-transform: none; }

/* ── Footer ─────────────────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 18px 0 22px; text-align: center; color: var(--deep); font-size: 14px; }
.site-footer p { margin: 0 0 4px; }
.site-footer nav { margin-bottom: 8px; }
.site-footer nav a { margin: 0 10px; color: var(--deep); }

/* ── Home: the restaurant floor plan ───────────────────────────────────────────────────── */
.plan-wrap { display: grid; grid-template-columns: 1fr; gap: 26px; }
.plan-scroll { border-radius: 12px; box-shadow: 0 2px 14px rgba(0, 0, 0, .1); overflow: hidden; }
.floorplan { width: 100%; height: auto; display: block; }
.plan-hint { display: none; margin: -14px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 700px) {
  /* On a phone the whole plan would shrink its labels to ~5px: keep it readable and let it swipe. */
  .plan-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
  .plan-scroll .floorplan { width: 700px; max-width: none; }
  .plan-hint { display: block; }
}
.fp-ground { fill: #efe9dc; }
.fp-walk { fill: #e2dccf; }
.fp-street { fill: #cfcac0; }
.fp-lane { stroke: #fff; stroke-width: 4; stroke-dasharray: 26 20; }
.fp-floor { fill: #fffaf2; }
.fp-kitchen { fill: #e9f1ee; }
.fp-office { fill: #f1efe8; }
.fp-wall-fill { fill: none; stroke: #4b4b4b; stroke-width: 8; }
.fp-inner { fill: none; stroke: #4b4b4b; stroke-width: 6; }
.fp-pass { fill: #c9b796; }
.fp-door-gap { fill: #fffaf2; }
.fp-swing { fill: none; stroke: #9a9a9a; stroke-width: 2; stroke-dasharray: 4 4; }
.fp-steel { fill: #a5aeb3; }
.fp-burner { fill: #6f797f; }
.fp-prep { fill: #cfd8db; }
.fp-screen { fill: #22313a; }
.fp-rack { fill: #34434b; }
.fp-led { fill: #3ddc84; }
.fp-desk { fill: #cdb594; }
.fp-laptop { fill: #22313a; }
.fp-counter { fill: #b98a5e; }
.fp-shelf { fill: #d9ccb4; }
.fp-bag { fill: #f26722; }
.fp-bag2 { fill: #007246; }
.fp-ready { fill: #3ddc84; }
.fp-ready2 { fill: #f7991e; }
.fp-table { fill: #d8c3a5; }
.fp-chair { fill: #ece1cf; }
.fp-kiosk { fill: #22313a; }
.fp-car { fill: #f26722; }
.fp-glass { fill: #ffe0cc; }
.fp-staff { fill: #007246; }
.fp-guest { fill: #f7991e; }
.fp-driver { fill: #a56614; }
.fp-link { fill: none; stroke: #8a8a8a; stroke-width: 2.5; stroke-dasharray: 6 6; }
.fp-cloud { fill: #fff; stroke: #8a8a8a; stroke-width: 2.5; }
.fp-phone { fill: #22313a; }
.fp-phone-screen { fill: #fff; }
.fp-phone-row { fill: #e3e3e3; }
.fp-phone-btn { fill: #f26722; }
.fp-area { font: 700 12px var(--body); letter-spacing: .14em; fill: #7b7b7b; }
.fp-mid { text-anchor: middle; }
.fp-pin { cursor: pointer; }
.fp-tag { fill: #fff; stroke: #d7d7d7; stroke-width: 1; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .18)); }
.fp-tagtext { font: 700 15px var(--body); }
.fp-pi { fill: #007246; }
.fp-nm { fill: #f26722; }
.fp-ring { fill: rgba(242, 103, 34, .22); transform-box: fill-box; transform-origin: center; transition: transform .2s; }
.fp-dot { fill: #f26722; stroke: #fff; stroke-width: 3; }
.fp-num { font: 700 17px var(--body); fill: #fff; text-anchor: middle; }
.fp-pin:hover .fp-ring, .fp-pin:focus .fp-ring, .fp-pin.lit .fp-ring { transform: scale(1.5); fill: rgba(242, 103, 34, .32); }
.fp-pin:hover .fp-tag, .fp-pin:focus .fp-tag, .fp-pin.lit .fp-tag { stroke: #f26722; stroke-width: 2; }
.fp-pin:focus { outline: none; }
.fp-pin:focus-visible .fp-dot { stroke: #003923; }

.plan-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.plan-cards a {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; align-content: start; height: 100%;
  background: #fff; border-radius: 10px; padding: 14px 14px 14px 12px; text-decoration: none; color: inherit;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .08); border: 2px solid transparent; transition: border-color .15s, transform .15s;
}
.plan-cards a:hover, .plan-cards a:focus-visible, .plan-cards a.lit { border-color: var(--orange); transform: translateY(-1px); }
.plan-cards .n {
  grid-row: span 3; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center; font: 700 15px var(--body); margin-top: 2px;
}
.plan-cards .where { font: 700 12px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plan-cards .wm { font-size: 18px; line-height: 1.25; }
.plan-cards p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.45; color: #333; }
@media (max-width: 1000px) { .plan-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .plan-cards { grid-template-columns: 1fr; } }
.fp-printer { fill: #4b5960; }
.fp-paper { fill: #fff; stroke: #b9b9b9; stroke-width: 1; }
.fp-map { fill: #dfeee6; stroke: #22313a; stroke-width: 2; }
.fp-route { fill: none; stroke: #f26722; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fp-stop { fill: #007246; }
.plan-cards .grp {
  grid-column: 1 / -1; margin: 10px 0 -4px; font: 700 13px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--green);
}
.plan-cards .grp:first-child { margin-top: 0; }
.mod-group { margin: 34px 0 0; padding-top: 18px; border-top: 3px solid var(--orange); font: 700 14px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.mod-group + .module { border-top: 0; }
.fp-qr { fill: #fff; stroke: #22313a; stroke-width: 1.5; }
.fp-qr-dots { fill: #22313a; }
.fp-roof { fill: #a56614; }
.fp-house { fill: #fffaf2; stroke: #8a7a64; stroke-width: 2; }
.fp-housedoor { fill: #007246; }
.fp-window { fill: #cfe6f2; stroke: #8a7a64; stroke-width: 1.5; }

/* ── Products as a subway line (preview) ─────────────────────────────────────────────────── */
.line-wrap { margin: 26px 0 6px; }
.line-scroll { overflow-x: auto; overscroll-behavior-x: contain; padding: 4px 2px 12px; scrollbar-width: thin; }
.line-groups, .stops { min-width: 980px; display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); }
.lg { text-align: center; padding: 0 6px 10px; }
.lg span {
  display: block; padding-bottom: 6px; border-bottom: 3px solid var(--c);
  font: 700 12px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--c);
}
.stops { list-style: none; margin: 4px 0 0; padding: 0; }
.stops li { position: relative; display: flex; justify-content: center; scroll-margin-top: 64px; }  /* a link to a stop keeps the group labels in view */
.stops li::before {   /* this stop's stretch of track, in its group's colour */
  content: ""; position: absolute; top: 19px; left: 0; right: 0; height: 8px; margin-top: -4px; background: var(--c);
}
.stops li:first-child::before { left: 50%; border-radius: 4px 0 0 4px; }
.stops li:last-child::before { right: 50%; border-radius: 0 4px 4px 0; }
.stop {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 0 3px 4px; text-decoration: none; color: inherit; border-radius: 8px;
}
.stop .dot {
  width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 5px solid var(--c);
  display: flex; align-items: center; justify-content: center; font: 700 14px var(--body); color: var(--c);
  transition: transform .15s, background .15s, color .15s, box-shadow .15s;
}
.stop .nm { font: 400 13.5px/1.25 var(--body); text-align: center; color: #3a3a3a; }
.stop:hover .dot { transform: scale(1.1); }
.stop[aria-selected="true"] .dot {
  background: var(--c); color: #fff; transform: scale(1.18);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 22%, transparent);
}
.stop[aria-selected="true"] .nm { font-weight: 700; color: var(--ink); }
.stop:focus-visible { outline: 3px solid var(--c); outline-offset: 2px; }

.stop-panels { margin-top: 16px; }
.stop-panel {
  display: flex; flex-direction: column; background: #fff; border-radius: 14px; border-top: 6px solid var(--c);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .09); padding: 28px 30px 18px; margin-bottom: 18px;
}
.js .stop-panel { margin-bottom: 0; }
.stop-panel[hidden] { display: none; }   /* display: flex above would otherwise override the hidden attribute */
.sp-body { display: grid; grid-template-columns: 170px 1fr; gap: 30px; }
.stop-panel .module-logo img { width: 140px; height: auto; }
.stop-panel .module-logo .glyph { width: 120px; height: 120px; color: var(--green); }
.sp-meta { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font: 700 13px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.sp-num { width: 26px; height: 26px; border-radius: 50%; background: var(--c); color: #fff; display: inline-flex; align-items: center; justify-content: center; letter-spacing: 0; font-size: 13px; }
.stop-panel h2 { font: 700 34px/1.1 var(--cond); font-stretch: 75%; margin: 0 0 4px; }
.stop-panel .tagline { margin: 0 0 12px; font: 700 15px/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stop-panel p { font-size: 17.5px; margin: 0 0 12px; max-width: 46em; }
.stop-panel ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; max-width: 46em; }
.stop-panel li { font-size: 16.5px; line-height: 1.5; }
.stop-panel li::marker { color: var(--c); }
.sp-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 22px; }
.sp-nav a { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--c); padding: 8px 2px; }
.sp-nav a:hover { text-decoration: underline; }
.sp-next { margin-left: auto; }
.see-all { margin: 18px 0 0; font-size: 15px; }
@media (max-width: 700px) {
  .stop-panel { padding: 22px 18px 12px; }
  .sp-body { grid-template-columns: 1fr; gap: 12px; }
  .stop-panel .module-logo { justify-content: flex-start; }
  .stop-panel .module-logo img { width: 84px; }
  .stop-panel .module-logo .glyph { width: 76px; height: 76px; }
}

/* Home, "Getting it to the guest": piOrderboard (the trunk) branches into the three ways an order reaches the
   guest (the lanes), drawn as a tree. The lines are borders on pseudo-elements, so they follow the layout. */
.plan-cards .fan { grid-column: 1 / -1; --gap: 14px; --drop: 26px; --branch: rgba(0, 115, 71, .55); }
.fan .trunk { position: relative; width: calc((100% - 2 * var(--gap)) / 3); margin: 0 auto; height: auto; }
.fan .trunk::after {           /* down from the board to the branch bar */
  content: ""; position: absolute; left: 50%; top: 100%; height: var(--drop); border-left: 2px solid var(--branch);
}
.fan .lanes {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap);
  margin: var(--drop) 0 0; padding: var(--drop) 0 0; list-style: none;
}
.fan .lanes::before {          /* the branch bar, from the first lane's middle to the last one's */
  content: ""; position: absolute; top: 0; border-top: 2px solid var(--branch);
  left: calc((100% - 2 * var(--gap)) / 6); right: calc((100% - 2 * var(--gap)) / 6);
}
.fan .lane { position: relative; display: flex; flex-direction: column; gap: 10px;
  background: #fff; border-radius: 10px; padding: 0 14px 14px; box-shadow: 0 1px 6px rgba(0, 0, 0, .08); }
.fan .lane::before {           /* down from the bar into each lane */
  content: ""; position: absolute; left: 50%; top: calc(-1 * var(--drop)); height: var(--drop); border-left: 2px solid var(--branch);
}
.lane-art-wrap { margin: 0 -14px 2px; border-radius: 10px 10px 0 0; overflow: hidden; border-bottom: 4px solid var(--green); }
.lane-art { display: block; width: 100%; height: auto; }
.lane-head { display: flex; flex-direction: column; gap: 2px; }
.lane h3 { font: 700 19px/1.2 var(--body); color: var(--ink); }
.lane-sub { font: 700 12px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lane-flow { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; border-radius: 8px; background: #f3f8f5; }
.lane .mode { font: 700 11.5px/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lane .mode .wm { font-size: 12.5px; letter-spacing: 0; text-transform: none; }
.flow { display: flex; flex-wrap: wrap; gap: 6px 4px; margin: 0; padding: 0; list-style: none; }
.flow li { display: flex; align-items: center; gap: 4px; white-space: nowrap; font: 700 12px/1 var(--body); color: var(--deep); }
.flow li + li::before { content: "→"; color: var(--branch); font-weight: 400; }
.lane > p { margin: 0; font-size: 14.5px; line-height: 1.45; color: #333; }
/* Delivery Dispatch and piDriver carry the Delivery lane on: hung under it, one after the other. */
.fan .lane-tail { grid-column: var(--col); display: flex; flex-direction: column; gap: var(--drop); margin-top: calc(var(--drop) - var(--gap)); }
.plan-cards .lane-tail a.part { position: relative; height: auto; }
.plan-cards .lane-tail a.part::before {
  content: ""; position: absolute; left: 50%; top: calc(-1 * var(--drop) - 2px); height: var(--drop); border-left: 2px solid var(--branch);
}

/* Narrow screens: the lanes stack, and the tree turns into a spine down the left. */
@media (max-width: 760px) {
  .fan .trunk { width: auto; }
  .fan .trunk::after { left: 22px; }
  .fan .lanes { grid-template-columns: 1fr; padding: 0 0 0 30px; }
  .fan .lanes::before { display: none; }
  /* each card draws the spine down its own side and across the gap below it; the last stops at its stub */
  .fan .lane::before { left: -8px; top: 30px; width: 8px; height: 0; border-left: 0; border-top: 2px solid var(--branch); }
  .fan .lane-tail { grid-column: 1; margin-top: 0; gap: var(--gap); }
  /* a card's 2px border moves its positioning box in by 2px: reach 2px further to meet the spine */
  .plan-cards .lane-tail a.part::before { left: -10px; top: 24px; width: 10px; height: 0; border-left: 0; border-top: 2px solid var(--branch); }
  .fan .lane::after, .plan-cards .lane-tail a.part::after {
    content: ""; position: absolute; left: -8px; top: 0; bottom: calc(-1 * var(--gap)); border-left: 2px solid var(--branch);
  }
  .plan-cards .lane-tail a.part::after { left: -10px; top: -2px; bottom: calc(-1 * var(--gap) - 2px); }
  .plan-cards .lane-tail a.part:last-child::after { bottom: auto; height: 28px; }
}
