/* =====================================================================
   grocery.css — commercial article layout (grocery delivery software)
   Reuses tokens, .nav/.mega, .btn*, .footer, .disp-faq, .disp-cta,
   .rev-anim from styles.css / dispatch.css.
   ===================================================================== */

.art{ --art-max:1080px; --gutter:32px; --measure:760px; }

/* ---------- HERO ---------- */
.art-hero{ position:relative; width:100%; overflow:hidden; background:linear-gradient(to bottom,#eef2fb 0%,#f4f6fc 100%); border-bottom:1px solid var(--color-gray-200); }
.art-hero__bg{ position:absolute; inset:0; z-index:0; pointer-events:none; }
.art-hero__bg img{ width:100%; height:100%; object-fit:cover; object-position:100% center;
  -webkit-mask-image:linear-gradient(to right, transparent 0%, #000 22%, #000 100%);
  mask-image:linear-gradient(to right, transparent 0%, #000 22%, #000 100%); }
.art-hero__inner{ position:relative; z-index:1; width:100%; max-width:var(--art-max); margin:0 auto; padding:66px var(--gutter) 0; min-height:648px; display:flex; flex-direction:column; align-items:flex-start; }
.art-hero__text{ min-width:0; max-width:560px; }
.art-hero h1{ font-size:clamp(30px,4vw,44px); line-height:1.08; letter-spacing:-1.2px; font-weight:800; color:var(--color-gray-900); margin:0; }
/* subtitle — matches the home page hero sub (weight/size/line/color) */
.art-hero__lead{ margin:18px 0 0; max-width:560px; font-weight:500; font-size:16px; line-height:1.56; color:#3f4250; }
/* platform mockup — a browser window docked at the bottom of the hero */
/* monitor screen docked flush to the hero's bottom edge, slightly clipped */
.art-hero__platform{ margin-top:auto; padding-top:44px; width:min(560px,100%); display:flex; justify-content:center; transform:translateY(42px); }
.art-hero__monitor{ width:100%; }
.art-hero__screen{ width:100%; background:#eef0f4; border:1px solid var(--color-gray-200); border-bottom:none; border-radius:14px 14px 0 0; padding:6px 6px 0; box-shadow:0 -6px 34px -14px rgba(19,32,90,.28); }
.art-hero__screen img{ display:block; width:100%; height:auto; border-radius:9px 9px 0 0; }
/* floating "delivered" address chip over the courier */
.art-hero__pin{ position:absolute; z-index:2; top:41%; right:29%; display:flex; align-items:center; gap:12px; background:#fff; border-radius:14px; padding:11px 16px 11px 12px; box-shadow:0 20px 44px -16px rgba(19,32,90,.5); }
.art-hero__pin-ic{ flex:none; width:38px; height:38px; border-radius:11px; background:rgba(21,160,94,.13); color:var(--color-green-600); display:flex; align-items:center; justify-content:center; }
.art-hero__pin-ic svg{ width:19px; height:19px; }
.art-hero__pin-tx{ display:flex; flex-direction:column; gap:2px; line-height:1.2; }
.art-hero__pin-tx b{ font-weight:700; font-size:15px; color:var(--color-gray-900); letter-spacing:-.2px; }
.art-hero__pin-tx small{ font-size:12.5px; font-weight:500; color:var(--color-green-600); }
.art-eyebrow{ display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700; letter-spacing:.02em; color:var(--color-brand); background:var(--color-blue-chip); padding:7px 15px; border-radius:999px; margin-bottom:22px; }
.art-eyebrow svg{ width:14px; height:14px; }
.art-byline{ margin-top:26px; display:inline-flex; align-items:center; gap:11px; }
.art-byline__av{ width:38px; height:38px; border-radius:50%; background:linear-gradient(135deg,#4141e7,#8a8aff); color:#fff; font-weight:700; font-size:14px; display:inline-flex; align-items:center; justify-content:center; letter-spacing:.02em; }
.art-byline__tx{ text-align:left; font-size:13.5px; line-height:1.35; color:var(--color-gray-500); }
.art-byline__tx b{ display:block; color:var(--color-gray-900); font-weight:700; font-size:14px; }
.art-hero__cta{ margin-top:30px; display:flex; gap:12px; justify-content:flex-start; flex-wrap:wrap; }
/* hero CTAs — identical to the top-nav buttons (.btn--primary-sm / .btn--ghost-sm) */
.art-btn-primary{ background:var(--color-brand); color:var(--color-white); display:inline-flex; align-items:center; justify-content:center; gap:8px; height:50px; padding:0 18px; border-radius:12px; font-weight:500; font-size:15px; line-height:15px; text-decoration:none; border:none; transition:transform .15s ease, filter .2s ease; }
.art-btn-primary:hover{ transform:translateY(-1px); filter:brightness(1.08); }
.art-btn-ghost{ background:transparent; border:1px solid var(--color-brand-300); color:var(--color-brand); display:inline-flex; align-items:center; justify-content:center; gap:8px; height:50px; padding:0 18px; border-radius:12px; font-weight:500; font-size:15px; line-height:15px; text-decoration:none; transition:transform .15s ease, background .2s ease; }
.art-btn-ghost:hover{ transform:translateY(-1px); background:var(--color-blue-25); }

/* ---------- SECTION SHELL + GRID ---------- */
/* one container width + one gutter, shared by every block → aligned grid */
.art-sec{ width:100%; padding:54px 0; }
.art-wrap, .art-wrap--wide{ width:100%; max-width:var(--art-max); margin:0 auto; padding:0 var(--gutter); }

/* ---------- PROSE ---------- */
.art-prose h2{ font-size:clamp(24px,3.4vw,32px); line-height:1.16; letter-spacing:-.6px; font-weight:800; color:var(--color-gray-900); margin:0 0 16px; }
.art-prose p{ font-weight:500; font-size:17px; line-height:1.72; color:#3f4250; margin:0 0 18px; }
.art-prose p:last-child{ margin-bottom:0; }
.art-prose strong{ font-weight:700; color:var(--color-gray-900); }
.art-prose a{ color:var(--color-brand); font-weight:500; text-decoration:none; border-bottom:1px solid var(--color-brand-300); transition:border-color .15s ease; }
.art-prose a:hover{ border-bottom-color:var(--color-brand); }

/* ---------- ARTICLE COLUMNS: heading left, text right ---------- */
.art-cols{ display:grid; grid-template-columns:minmax(0,300px) minmax(0,660px); gap:56px; align-items:start; }
.art-cols__head{ position:sticky; top:96px; }
.art-cols__head h2{ margin:0; font-size:clamp(21px,2.1vw,28px); line-height:1.18; letter-spacing:-.5px; font-weight:800; color:var(--color-gray-900); }
.art-cols__body{ min-width:0; }
.art-cols__body > :first-child{ margin-top:0; }
/* full-width feature image between blocks */
.art-figfull{ margin:46px auto 0; }
.art-figfull__shot img{ display:block; width:100%; height:auto; border-radius:16px; filter:drop-shadow(0 24px 44px rgba(19,32,90,.26)); }
.art-figfull__cap{ margin-top:16px; font-size:13.5px; color:var(--color-gray-500); }

/* ---------- FIGURE / SCREENSHOT (inside splits) ----------
   These PNGs already carry their own rounded card, padding and shadow,
   so the wrapper stays a transparent pass-through — no extra frame,
   radius clip or background (which was cropping the image corners). */
.art-figure__shot img{ display:block; width:100%; height:auto; }
.art-figure__cap{ font-size:13px; color:var(--color-gray-500); margin-top:6px; }

/* ---------- HERO PHOTO BAND ---------- */
.art-heroimg{ padding:44px 0 4px; }
.art-heroimg__img{ display:block; width:100%; height:auto; border-radius:22px; box-shadow:0 40px 84px -42px rgba(19,32,90,.5); }

/* ---------- SPLIT (text + screenshot, 2 columns) ---------- */
.art-split{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.art-split__media{ margin:0; min-width:0; }
.art-split__media .art-figure__shot img{ filter:drop-shadow(0 16px 34px rgba(19,32,90,.18)); }
.art-split__media .art-figure__cap{ text-align:center; margin-top:12px; }

/* eyebrow kicker above section headings */
.art-kicker{ display:block; font-size:13px; font-weight:600; line-height:1; letter-spacing:.78px; text-transform:uppercase; color:var(--color-brand); margin-bottom:12px; }

/* text-only sections: centered narrow column, text stays left-aligned (art-wrap already centers the block) */
.art-split__media--photo .art-figure__shot{ background:none; padding:0; }
.art-split__media--photo .art-figure__shot img{ border-radius:18px; }
.art-split__text{ min-width:0; }
.art-split__text h2{ margin-bottom:16px; }

/* mobile "stop note" screen mockup (Stop notes section) */
.notecard{ position:relative; width:100%; max-width:318px; margin:0 auto; padding-bottom:36px; }
.notecard__screen{ background:#f2f3ff; border:1px solid var(--color-gray-200); border-radius:20px; padding:14px 17px 32px; box-shadow:0 20px 44px -26px rgba(19,32,90,.36); }
.notecard__bar{ display:flex; align-items:center; justify-content:space-between; }
.notecard__time{ font-weight:700; font-size:13px; letter-spacing:.3px; color:var(--color-gray-900); }
.notecard__ico{ display:inline-flex; align-items:center; gap:5px; color:var(--color-gray-900); }
.notecard__ico svg{ display:block; width:15px; height:auto; }
.notecard__ico svg:last-child{ width:21px; }
.notecard__back{ display:inline-flex; margin:14px 0 0; color:#2f6bff; }
.notecard__back svg{ width:10px; height:18px; }
.notecard__addr{ display:flex; align-items:flex-start; gap:11px; margin-top:11px; }
.notecard__radio{ flex:none; margin-top:3px; width:20px; height:20px; border-radius:50%; background:#d7d8ff; display:flex; align-items:center; justify-content:center; }
.notecard__radio::after{ content:""; width:10px; height:10px; border-radius:50%; background:var(--color-brand); }
.notecard__addrtx{ font-weight:700; font-size:15.5px; line-height:1.3; letter-spacing:-.3px; color:var(--color-gray-900); }
/* notes field zoomed out past the interface frame */
.notecard__note{ position:relative; z-index:2; margin:-26px -22px 0; background:#fff; border:1px solid #e2e4ea; border-radius:16px; padding:19px 21px 21px; box-shadow:0 28px 54px -18px rgba(19,32,90,.44); }
.notecard__ph{ margin:0; font-size:15px; line-height:1.5; font-weight:500; color:#8a8d9a; }
.notecard__ph i{ font-style:italic; }

/* icon checklist (compact feature list beside media) */
.art-check{ list-style:none; margin:26px 0; padding:0; }
.art-check li{ position:relative; display:flex; gap:15px; padding-bottom:30px; }
.art-check li:last-child{ padding-bottom:0; }
.art-check li:not(:last-child)::before{ content:""; position:absolute; left:12px; top:29px; bottom:6px; width:2px; background:var(--color-gray-200); }
.art-check__title{ margin-bottom:4px; }
.art-check__ic{ position:relative; z-index:1; flex:none; width:25px; height:25px; border-radius:50%; background:var(--color-brand); color:#fff; display:inline-flex; align-items:center; justify-content:center; }
.art-check__ic svg{ width:14px; height:14px; }
.art-check__tx{ padding-top:1px; min-width:0; }
.art-check__title{ display:block; font-size:15.5px; font-weight:700; color:var(--color-gray-900); margin-bottom:2px; letter-spacing:-.1px; }
.art-check__desc{ display:block; font-size:14px; line-height:1.55; color:var(--color-gray-600); }

/* ---------- INTERACTIVE DEMO ---------- */
.demo-split{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.demo-side{ min-width:0; }
.demo-card{ width:100%; background:#fff; border:1px solid var(--color-gray-200); border-radius:20px; box-shadow:0 30px 64px -36px rgba(19,32,90,.4); overflow:hidden; }
.demo-card__bar{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:15px 18px; border-bottom:1px solid var(--color-gray-200); background:linear-gradient(to bottom,#fbfcff,#fff); }
.demo-card__title{ font-weight:700; font-size:15px; color:var(--color-gray-900); }
.demo-toggle{ display:inline-flex; align-items:center; gap:9px; cursor:pointer; user-select:none; }
.demo-toggle input{ position:absolute; opacity:0; width:0; height:0; }
.demo-toggle__track{ width:42px; height:24px; border-radius:999px; background:var(--color-gray-200); position:relative; transition:background .22s ease; flex:none; }
.demo-toggle__thumb{ position:absolute; top:3px; left:3px; width:18px; height:18px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.25); transition:transform .22s ease; }
.demo-toggle input:checked + .demo-toggle__track{ background:var(--color-brand); }
.demo-toggle input:checked + .demo-toggle__track .demo-toggle__thumb{ transform:translateX(18px); }
.demo-toggle__label{ font-size:13.5px; font-weight:600; color:var(--color-gray-700,#3f434e); }
.demo-list{ list-style:none; margin:0; padding:9px; display:flex; flex-direction:column; gap:7px; }
.demo-stop{ display:flex; align-items:center; gap:12px; padding:11px 13px; border:1px solid var(--color-gray-200); border-radius:12px; background:#fff; will-change:transform; }
.demo-stop__num{ flex:none; width:25px; height:25px; border-radius:8px; background:var(--color-blue-50); color:var(--color-brand); font-weight:700; font-size:13px; display:inline-flex; align-items:center; justify-content:center; transition:background .2s ease, color .2s ease; }
.demo-stop__body{ flex:1; min-width:0; display:flex; flex-direction:column; }
.demo-stop__body b{ font-size:14px; font-weight:700; color:var(--color-gray-900); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.demo-stop__body small{ font-size:12px; color:var(--color-gray-500); }
.demo-stop__tag{ flex:none; font-size:11px; font-weight:700; letter-spacing:.02em; color:var(--color-brand); background:var(--color-blue-50); border:1px solid #d7e0ff; padding:4px 9px; border-radius:999px; display:inline-flex; align-items:center; gap:5px; }
.demo-stop--cold{ border-color:#d7e0ff; }
.demo-stop.is-lifted{ border-color:var(--color-brand-300); box-shadow:0 12px 26px -14px rgba(65,65,231,.5); }
.demo-stop.is-lifted .demo-stop__num{ background:var(--color-brand); color:#fff; }
/* annotation: caption + arrow at the right edge of the left column, pointing at the card */
.demo-note{ margin:24px 0 0 auto; width:max-content; max-width:100%; color:var(--color-brand); }
.demo-note__cap{ display:block; font-size:14.5px; font-weight:700; line-height:1.3; letter-spacing:-.1px; text-align:right; }
.demo-note__arrow{ display:block; margin-left:auto; width:154px; height:66px; margin-top:2px; color:var(--color-brand); }

/* ---------- COMMON MISTAKES PANEL ---------- */
.pits{ margin:30px 0 0; display:grid; grid-template-columns:repeat(5,1fr); gap:16px; text-align:left; }
.pit{ display:flex; flex-direction:column; align-items:flex-start; background:#fff; border:1px solid var(--color-gray-200); border-radius:18px; padding:22px 20px 22px; box-shadow:0 12px 30px -22px rgba(19,32,90,.26); transition:transform .15s ease, box-shadow .2s ease, border-color .2s ease; }
.pit:hover{ transform:translateY(-4px); box-shadow:0 24px 46px -26px rgba(19,32,90,.35); border-color:var(--color-brand-300); }
.pit__ill{ width:100%; height:132px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; border-radius:14px; overflow:hidden; background:linear-gradient(160deg,#f5f6ff 0%,#eceeff 100%); color:var(--color-brand); }
.pit__ill svg{ width:44px; height:44px; }
.pit__ill--img{ background:#fff; }
.pit__ill--img img{ width:100%; height:100%; object-fit:cover; }
.pit .pit__title{ display:block; font-size:16px; font-weight:700; line-height:1.4; letter-spacing:-.3px; color:var(--color-gray-900); margin:0 0 10px; }
.pit .pit__desc{ margin:0; font-size:14px; font-weight:500; line-height:1.32; color:var(--color-gray-600); }

/* ---------- CALLOUT ---------- */
.art-callout{ margin-top:8px; background:linear-gradient(135deg,#f1f2ff,#eef2fb); border:1px solid var(--color-blue-50); border-radius:18px; padding:28px 30px; }
.art-callout .art-prose h2{ margin-bottom:12px; }

/* ---------- BLUE HIGHLIGHT CARD ---------- */
.art-bluecard{ background:linear-gradient(135deg,#242a54 0%,#39408a 100%); border-radius:24px; padding:44px 46px; box-shadow:0 30px 64px -34px rgba(19,32,90,.45); }
.art-bluecard .art-kicker{ color:#b9beff; }
.art-bluecard h2{ color:#fff; }
.art-bluecard p{ color:#dfe1ff; }
.art-bluecard strong{ color:#fff; }
.art-bluecard a{ color:#fff; border-bottom-color:rgba(255,255,255,.55); }
@media (max-width:760px){ .art-bluecard{ padding:32px 26px; } }

/* ---------- GROCERY LINES (meal kits / frozen / local) ---------- */
.glines{ margin-top:30px; }
.glines__cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.gline{ position:relative; overflow:hidden; min-height:204px; background:#fff; border:1px solid var(--color-gray-200); border-radius:16px; padding:20px 20px 20px; transition:transform .15s ease, box-shadow .2s ease, border-color .2s ease; }
.gline:hover{ transform:translateY(-3px); box-shadow:0 18px 40px -26px rgba(19,32,90,.4); border-color:var(--color-brand-300); }
.gline > :not(.gline__bg):not(.gline__photo){ position:relative; z-index:1; }
.gline__bg{ position:absolute; right:-14px; bottom:-16px; width:116px; height:116px; color:var(--color-brand); opacity:.08; pointer-events:none; z-index:0; }
.gline__bg svg{ width:100%; height:100%; display:block; }
/* real food photo on the card — fades into white toward the text (top-left) */
.gline__photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center bottom; transform:translateY(30px); z-index:0; pointer-events:none; }
/* white veil over the photo — solid white over the text (top ~half), fading to reveal muted food at the bottom */
.gline::after{ content:""; position:absolute; inset:0; z-index:0; pointer-events:none; background:linear-gradient(to bottom,#fff 0,#fff 50%,rgba(255,255,255,.74) 70%,rgba(255,255,255,.34) 87%,rgba(255,255,255,.08) 100%); }
.gline__ic{ width:40px; height:40px; border-radius:12px; background:var(--color-blue-50); color:var(--color-brand); display:inline-flex; align-items:center; justify-content:center; }
.gline__ic svg{ width:21px; height:21px; }
.gline__name{ display:block; font-size:20px; font-weight:700; color:var(--color-gray-900); margin:0 0 8px; letter-spacing:-.3px; }
.gline__desc{ display:block; font-size:15.5px; font-weight:500; line-height:1.55; color:var(--color-gray-600); }
.glines .glines__shared{ margin:44px 0 14px; font-size:17px; font-weight:500; line-height:1.72; color:#3f4250; }
.gtabs__steps{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.gtabs__step{ display:flex; align-items:center; gap:11px; font-size:14.5px; font-weight:500; line-height:1.45; color:#3f4250; background:#fff; border:1px solid var(--color-gray-200); border-radius:12px; padding:14px 16px; }
.gtabs__step svg{ flex:none; width:18px; height:18px; color:var(--color-green-600); }

/* ---------- WORKFLOW — numbered (big) style, thin line + large number + label ---------- */
.wflow{ margin-top:128px; }
.wflow__title{ font-size:clamp(20px,2.3vw,26px); font-weight:800; letter-spacing:-.4px; color:var(--color-gray-900); margin:0 0 24px; }
.wflow__row{ display:flex; gap:28px; align-items:flex-start; }
.wstep{ flex:1 1 0; min-width:0; border-top:2px solid var(--color-gray-200); padding-top:18px; display:flex; flex-direction:column; gap:8px; }
.wstep__num{ font-size:30px; font-weight:800; line-height:1; color:var(--color-brand); }
.wstep b{ font-size:16px; font-weight:600; line-height:1.36; color:var(--color-gray-900); }

/* ---------- summary block (light purple) ---------- */
/* Route-management summary card (map + features) */
.wsum{ margin-top:124px; display:grid; grid-template-columns:0.92fr 1.08fr; gap:48px; align-items:center; background:var(--color-blue-25); border-radius:28px; padding:52px 54px; }
.wsum__left .art-kicker{ margin-bottom:14px; }
.wsum__title{ margin:0 0 16px; font-weight:800; font-size:clamp(26px,2.6vw,33px); line-height:1.14; letter-spacing:-.6px; color:var(--color-gray-900); max-width:15ch; }
.wsum__lead{ margin:0 0 28px; font-weight:500; font-size:16px; line-height:1.6; color:#3f4250; max-width:46ch; }
.wsum__lead a{ color:var(--color-brand); text-decoration:none; border-bottom:1px solid rgba(65,65,231,.4); }
.wsum__lead strong{ color:var(--color-gray-900); font-weight:700; }
.wsum__feats{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:22px; }
.wsum__feat{ display:flex; gap:16px; align-items:flex-start; }
.wsum__ic{ flex:none; width:46px; height:46px; border-radius:13px; background:#fff; box-shadow:0 10px 22px -12px rgba(19,32,90,.45); display:flex; align-items:center; justify-content:center; color:var(--color-brand); }
.wsum__ic svg{ width:22px; height:22px; }
.wsum__ftx{ display:flex; flex-direction:column; gap:3px; padding-top:3px; }
.wsum__ftx b{ font-weight:700; font-size:16px; color:var(--color-gray-900); }
.wsum__ftx small{ font-size:14px; font-weight:500; color:var(--color-gray-600); line-height:1.45; }

.wsum__map{ position:relative; border-radius:20px; background:#fff; box-shadow:0 34px 64px -30px rgba(19,32,90,.45), 0 2px 8px rgba(19,32,90,.06); }
.wsum__mapimg{ display:block; width:100%; height:auto; border-radius:20px; }
.wsum__badge{ position:absolute; display:flex; align-items:center; gap:12px; background:#fff; border-radius:14px; padding:11px 15px; box-shadow:0 16px 36px -12px rgba(19,32,90,.5); }
.wsum__badge--stops{ top:-22px; left:-26px; }
.wsum__stopsnum{ font-weight:800; font-size:26px; color:var(--color-brand); line-height:1; }
.wsum__stopstx{ display:flex; flex-direction:column; line-height:1.15; }
.wsum__stopstx b{ font-weight:700; font-size:14px; color:var(--color-gray-900); }
.wsum__stopstx small{ font-size:12.5px; color:var(--color-gray-600); }
.wsum__check{ width:26px; height:26px; border-radius:8px; background:var(--color-blue-50); color:var(--color-brand); display:flex; align-items:center; justify-content:center; margin-left:2px; }
.wsum__check svg{ width:15px; height:15px; }
.wsum__ctrls{ position:absolute; top:26px; right:-18px; display:flex; flex-direction:column; gap:10px; align-items:flex-end; }
.wsum__zoom{ display:flex; flex-direction:column; background:#fff; border-radius:12px; box-shadow:0 12px 28px -16px rgba(19,32,90,.42); overflow:hidden; }
.wsum__zoom button{ width:38px; height:38px; border:none; background:#fff; color:var(--color-gray-900); font-size:20px; line-height:1; cursor:default; display:flex; align-items:center; justify-content:center; }
.wsum__zoom button+button{ border-top:1px solid var(--color-gray-200); }
.wsum__locate{ width:38px; height:38px; border:none; border-radius:12px; background:#fff; color:var(--color-brand); box-shadow:0 12px 28px -16px rgba(19,32,90,.42); display:flex; align-items:center; justify-content:center; cursor:default; }
.wsum__locate svg{ width:19px; height:19px; }
.wsum__badge--perish{ right:-24px; bottom:-20px; }
.wsum__pic{ flex:none; width:30px; height:30px; border-radius:9px; background:var(--color-blue-50); color:var(--color-brand); display:flex; align-items:center; justify-content:center; }
.wsum__pic svg{ width:17px; height:17px; }
.wsum__ptx{ font-weight:600; font-size:13.5px; color:var(--color-gray-900); line-height:1.25; }
.wsum__dot{ width:10px; height:10px; border-radius:50%; background:var(--color-green-600); box-shadow:0 0 0 4px rgba(21,160,94,.16); }
@media (max-width:900px){
  .wflow__row{ flex-wrap:wrap; }
  .wflow__arrow{ display:none; }
  .wstep{ flex:1 1 calc(50% - 3px); }
  .wsum{ grid-template-columns:1fr; gap:32px; padding:36px 28px; }
}
@media (max-width:520px){
  .wsum__badge--stops{ top:12px; left:12px; padding:9px 12px; }
  .wsum__stopsnum{ font-size:22px; }
  .wsum__ctrls{ top:12px; right:12px; }
  .wsum__badge--perish{ right:12px; bottom:12px; }
}

/* ---------- RELATED READING CARDS ---------- */
.rr-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:26px; padding:0; }
.rr-card{ list-style:none; }
.rr-card a{ display:flex; flex-direction:column; height:100%; background:#fff; border:1px solid var(--color-gray-200); border-radius:16px; padding:22px; text-decoration:none; transition:transform .15s ease, box-shadow .2s ease, border-color .2s ease; }
.rr-card a:hover{ transform:translateY(-2px); box-shadow:0 18px 40px -24px rgba(19,32,90,.35); border-color:var(--color-brand-300); }
.rr-card__tag{ font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--color-brand); }
.rr-card__title{ font-size:16.5px; font-weight:700; color:var(--color-gray-900); margin:12px 0 8px; line-height:1.32; letter-spacing:-.2px; }
.rr-card__desc{ font-size:14px; line-height:1.55; color:var(--color-gray-600); flex:1; }
.rr-card__arrow{ margin-top:16px; display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:700; color:var(--color-brand); }
.rr-card__arrow svg{ width:16px; height:16px; }

/* section heading (left-aligned to grid) */
.art-lead{ max-width:var(--measure); margin:0 0 4px; }
.art-lead h2{ margin-bottom:10px; }

/* ---------- in-article accordion (Quick answers) — plus toggle on the right ---------- */
.art-acc{ margin-top:26px; border-top:1px solid var(--color-gray-200); }
.art-acc__item{ border-bottom:1px solid var(--color-gray-200); }
.art-acc__q{ list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:20px 2px; font-size:17px; font-weight:600; color:var(--color-gray-900); }
.art-acc__q::-webkit-details-marker{ display:none; }
.art-acc__ic{ flex:none; width:22px; height:22px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9ca6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/18px no-repeat; transition:transform .25s ease; }
.art-acc__item[open] .art-acc__ic{ transform:rotate(180deg); }
.art-acc__a{ padding:0 2px 22px; }
.art-acc__a p{ font-weight:500; font-size:16px; line-height:1.7; color:#3f4250; margin:0; }

/* ---------- CTA (1:1 with dispatch; only inline-link colour tweaked) ---------- */
.art .disp-cta p{ max-width:720px; }
/* underline only inline links inside the copy — never the buttons' borders */
.art .disp-cta p a{ color:#fff; border-bottom:1.5px solid rgba(255,255,255,.55); font-weight:600; text-decoration:none; }
.art .disp-cta__primary{ height:50px; padding:0 32px; line-height:1; }
.art .disp-cta strong{ color:#fff; }

/* ---------- RESPONSIVE ---------- */
@media (max-width:1080px){
  .pits{ grid-template-columns:repeat(3,1fr); }
  .rr-cards{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:900px){
  .rr-cards{ grid-template-columns:1fr; }
  .art-split{ grid-template-columns:1fr; gap:30px; }
  .gtabs__steps{ grid-template-columns:1fr; }
  .glines__cards{ grid-template-columns:1fr; }
  .demo-split{ grid-template-columns:1fr; gap:26px; }
  .demo-note__arrow{ display:none; }
  .demo-card{ max-width:none; }
  .pits{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:480px){
  .pits{ grid-template-columns:1fr; }
  .pit__ill{ height:150px; }
}
@media (max-width:760px){
  .art{ --gutter:20px; }
  .art-hero__inner{ padding:40px 20px 0; min-height:0; }
  /* photo becomes a soft, readable backdrop on phones */
  .art-hero__bg img{ object-position:20% center; opacity:.55; -webkit-mask-image:none; mask-image:none; }
  .art-hero__text{ max-width:none; }
  .art-hero h1{ letter-spacing:-.6px; }
  .art-hero__platform{ margin-top:32px; padding-top:0; width:100%; transform:translateY(22px); }
  .art-hero__pin{ display:none; }
  .art-sec{ padding:42px 0; }
}
@media (max-width:600px){
  .wsum{ padding:26px 20px; }
  .glines__cards{ gap:14px; }
  .notecard__note{ margin-left:-12px; margin-right:-12px; }
  .art-hero__cta{ width:100%; }
  .art-hero__cta a{ flex:1 1 auto; justify-content:center; }
  .art-prose h2, .art-split__text h2{ letter-spacing:-.3px; }
}
@media (max-width:400px){
  .art-hero h1{ font-size:26px; letter-spacing:-.4px; }
  .notecard{ max-width:100%; }
  .notecard__note{ margin-left:-8px; margin-right:-8px; }
  .wsum__title{ font-size:24px; }
}
