/* EasyPantry: Privacy, Terms, EULA, Support and the Press kit (October 30, 2026 overhaul).
   Plain CSS on top of assets/ep-tokens.css (tokens, nav, buttons, footer), matched to the new homepage:
   Nunito headlines, two-tone section titles, a calm reading column, and the blue stage only for the page head
   (and Support's closer). No JavaScript, no icon font, no outside requests: these URLs must render even if every
   script fails, because App Review checks them.
   Privacy, Terms and the EULA are style-only: every word on them is unchanged (tools/content_snapshot.py), so the
   two uppercase labels below (the contents title and the table headers) stay uppercase, as they always were.
   Motion: the head copy rises once on load (none with Reduce Motion). Nothing moves or fades on scroll. */

*, *::before, *::after { box-sizing: border-box; }

/* ---------- Page ---------- */
body.ep-legal {
  --lg-max: 1040px;                       /* content width; the head panel adds a gutter on each side */
  --lg-col: 620px;                        /* the reading column: about 70 characters a line at 17-18 px */
  --lg-bg: var(--ep-surface);             /* white page, like the homepage's white bands */
  --lg-fill: var(--ep-canvas);            /* pale panels: contents on phones, notes, cards */
  --lg-fill-2: var(--ep-canvas-2);        /* their hover */
  --lg-mute: var(--ep-ink-3);             /* the gray half of a two-tone title */
  --lg-link: var(--ep-link-strong);       /* links in running text: 6.4:1 on white, 5.6:1 on the pale fills */
  /* The homepage's blue stage with its light corner drawn smaller: these heads start with a small line of words near
     the top, and white text there must stay 4.5:1 on a phone (tools/contrast.mjs) */
  --lg-glow: clamp(190px, 24vw, 460px) clamp(110px, 15vw, 270px);
  --lg-stage: radial-gradient(var(--lg-glow) at 0% 0%, rgba(90,168,255,0.72) 0%, rgba(90,168,255,0) 100%),
              radial-gradient(60% 55% at 100% 100%, rgba(11,73,196,0.55) 0%, rgba(11,73,196,0) 70%),
              linear-gradient(180deg, #1767F1 0%, #1466FA 50%, #0F5BE8 100%);
  --lg-stage-deep: radial-gradient(var(--lg-glow) at 0% 0%, rgba(90,168,255,0.42) 0%, rgba(90,168,255,0) 100%),
                   radial-gradient(60% 55% at 100% 100%, rgba(5,30,110,0.55) 0%, rgba(5,30,110,0) 70%),
                   linear-gradient(180deg, #1466FA 0%, #0F55DA 48%, #0B3FB0 100%);
  margin: 0; min-height: 100vh; background: var(--lg-bg); color: var(--ep-ink); font-family: var(--ep-font-text);
  overflow-x: clip;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.ep-legal { --lg-bg: var(--ep-canvas); --lg-fill: var(--ep-surface); --lg-fill-2: var(--ep-surface-2); }
}
:root[data-theme="dark"] body.ep-legal { --lg-bg: var(--ep-canvas); --lg-fill: var(--ep-surface); --lg-fill-2: var(--ep-surface-2); }
.lg-mute { color: var(--lg-mute); }

/* ---------- Head: the blue stage, like the homepage hero, without the decoration ---------- */
.lg-head { padding: 10px 10px 0; }
.lg-head__panel { position: relative; isolation: isolate; overflow: hidden; max-width: calc(var(--lg-max) + 2 * var(--ep-gutter)); margin: 0 auto;
  border-radius: clamp(28px, 2.4vw, 40px); background: var(--lg-stage); color: #fff; text-align: center;
  padding: clamp(44px, 1.4rem + 3.4vw, 92px) clamp(20px, 5vw, 72px) clamp(46px, 1.4rem + 3.2vw, 88px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lg-head__panel { background: var(--lg-stage-deep); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); } }
:root[data-theme="dark"] .lg-head__panel { background: var(--lg-stage-deep); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.lg-head__copy { max-width: 760px; margin: 0 auto; }
.lg-head__eyebrow { margin: 0; font-family: var(--ep-font-display); font-weight: 800; font-size: clamp(16px, 0.9rem + 0.25vw, 18px); line-height: 1.3; color: #fff; }
.lg-head__h1 { max-width: 14em; margin: 14px auto 0; font-family: var(--ep-font-display); font-weight: 900; font-size: clamp(40px, 1rem + 3.3vw, 64px);
  line-height: 1.04; letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
.lg-head__h1 .ep-hl { display: block; width: fit-content; margin: 0.13em auto 0; }
.lg-head__meta { margin: 24px auto 0; font-size: 15px; line-height: 1.5; color: #fff; }
.lg-nb { white-space: nowrap; }
.lg-head__lede { max-width: 36em; margin: 14px auto 0; font-size: clamp(17px, 1rem + 0.3vw, 20px); line-height: 1.55; color: #fff; text-wrap: pretty; }
.lg-head__h1 + .lg-head__lede { margin-top: 22px; }
.ep-page .lg-head__lede a { color: #fff; font-weight: 600; text-decoration-color: rgba(255,255,255,0.7); }
.ep-page .lg-head__lede a:hover { color: #fff; text-decoration-color: #fff; }
.lg-head__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.lg-head__actions .ep-btn svg { flex: none; width: 19px; height: 19px; fill: currentColor; }
.ep-page .lg-head__actions a.ep-btn { padding: 0 26px; font-size: 17px; }
.lg-head__note { margin: 14px 0 0; font-size: 15px; line-height: 1.5; color: #fff; }
.lg-btn__meta { font-family: var(--ep-font-text); font-weight: 600; font-size: 0.86em; white-space: nowrap; }
.lg-head__actions .lg-btn__label svg { display: inline-block; margin-right: 8px; vertical-align: -3px; }   /* the icon flows with the words when a label wraps */
@keyframes lg-rise { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) { .lg-head__copy { animation: lg-rise 0.7s var(--ep-ease) both; } }

/* ---------- Reading layout: contents beside one calm column ---------- */
.lg-body { max-width: calc(var(--lg-max) + 2 * var(--ep-gutter)); margin: 0 auto; padding: clamp(52px, 2rem + 3vw, 96px) var(--ep-gutter) 0;
  display: grid; grid-template-columns: 216px minmax(0, var(--lg-col)); justify-content: center; gap: clamp(40px, 6vw, 80px); align-items: start; }
.lg-prose, .lg-toc { min-width: 0; }

/* "On this page": a quiet list that stays in view on wide screens (44 px rows) */
.lg-toc { position: sticky; top: 86px; max-height: calc(100vh - 108px); overflow-y: auto; overscroll-behavior: contain; margin: -10px 0 0 -12px;
  padding: 0 0 12px; scrollbar-width: thin; }
.lg-toc h2 { margin: 0; padding: 10px 12px 8px; font-family: var(--ep-font-display); font-weight: 800; font-size: 13px; line-height: 1.4;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--lg-mute); }
.lg-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: lg-toc; }
.lg-toc li { counter-increment: lg-toc; }
.ep-page .lg-toc a { display: flex; align-items: baseline; gap: 10px; min-height: 44px; padding: 10px 12px; border-radius: 12px; font-size: 15px; line-height: 1.45;
  color: var(--ep-ink-2); text-decoration: none; transition: background-color var(--ep-dur-1) var(--ep-ease), color var(--ep-dur-1) var(--ep-ease); }
.lg-toc a::before { content: counter(lg-toc); flex: none; min-width: 1.3em; text-align: right; font-family: var(--ep-font-display); font-weight: 800; font-size: 13px;
  font-variant-numeric: tabular-nums; color: var(--lg-mute); }
.lg-toc--plain a::before { content: none; }
.ep-page .lg-toc a:hover { color: var(--ep-ink); background: var(--lg-fill); }
.ep-page .lg-toc a:focus-visible { outline-offset: -3px; border-radius: 12px; }

/* ---------- Prose ---------- */
.lg-prose { font-size: clamp(17px, 16px + 0.25vw, 18px); line-height: 1.65; color: var(--ep-ink); }
.lg-prose section { scroll-margin-top: 12px; }   /* html scroll-padding-top already clears the nav */
.lg-prose section + section { margin-top: clamp(48px, 2rem + 1.6vw, 64px); padding-top: clamp(44px, 1.8rem + 1.6vw, 60px); border-top: 1px solid var(--ep-line); }
.lg-prose h2 { margin: 0 0 20px; font-family: var(--ep-font-display); font-weight: 900; font-size: clamp(26px, 1.1rem + 1vw, 32px); line-height: 1.15;
  letter-spacing: -0.02em; color: var(--ep-ink); text-wrap: balance; }
.lg-num { color: var(--lg-mute); font-variant-numeric: tabular-nums; }
.lg-prose h3 { margin: 34px 0 10px; font-family: var(--ep-font-display); font-weight: 800; font-size: clamp(19px, 1rem + 0.3vw, 21px); line-height: 1.3;
  letter-spacing: -0.01em; color: var(--ep-ink); }
.lg-prose h2 + h3 { margin-top: 0; }
.lg-prose h4 { margin: 28px 0 8px; font-family: var(--ep-font-display); font-weight: 800; font-size: 17.5px; line-height: 1.3; color: var(--ep-ink); }
.lg-prose p { margin: 0 0 16px; }
.lg-prose ul, .lg-prose ol { margin: 0 0 16px; padding-left: 1.35em; }
.lg-prose li { margin: 0 0 10px; padding-left: 0.2em; }
.lg-prose li::marker { color: var(--lg-mute); }
.lg-prose ol > li::marker { font-weight: 700; }
.lg-prose :is(p, ul, ol, table, .callout, .split, .table-scroll):last-child, .lg-prose li:last-child { margin-bottom: 0; }
.lg-prose strong { font-weight: 650; }
.ep-page .lg-prose a { color: var(--lg-link); }
.ep-page .lg-prose a:hover { color: var(--ep-blue-700); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ep-page .lg-prose a:hover { color: #fff; } }
:root[data-theme="dark"] .ep-page .lg-prose a:hover { color: #fff; }

/* Callouts: the short version, notes and warnings */
.lg-prose .callout { margin: 0 0 20px; padding: 22px 24px; border-radius: 20px; background: var(--lg-fill); }
.lg-prose .callout h3 { margin: 0 0 8px; font-weight: 900; font-size: 18px; line-height: 1.3; }
.lg-prose .callout p { margin: 0 0 10px; font-size: 0.95em; line-height: 1.6; }
.lg-prose .callout p:last-child { margin-bottom: 0; }
.lg-prose * + .callout { margin-top: 24px; }
.lg-prose .callout--summary { background: var(--ep-in-soft); }
.lg-prose .callout--summary h3 { color: var(--ep-in-ink); }
.lg-prose .callout--warn { background: var(--ep-exp-soft); }
.lg-prose .callout--warn h3 { color: var(--ep-exp-ink); }

/* Tables: a hairline box, rows split by hairlines; on phones the facts stack, label over value */
.table-scroll { overflow-x: auto; margin: 0 0 20px; padding: 2px 20px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--ep-line-2); }
.lg-prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.55; }
.lg-prose * + .table-scroll { margin-top: 20px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--ep-line); }
.facts th { width: 38%; padding-right: 20px; font-weight: 650; color: var(--ep-ink); }
.facts td { color: var(--ep-ink-2); }
.facts tr:last-child > * { border-bottom: 0; }
.data th, .data td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--ep-line); }
.data :is(th, td):last-child { padding-right: 0; }
.data thead th { padding-top: 14px; padding-bottom: 10px; font-family: var(--ep-font-display); font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--lg-mute); border-bottom-color: var(--ep-line-2); }
.data tbody tr:last-child td { border-bottom: 0; }
.data td { color: var(--ep-ink-2); }
.data td:first-child { min-width: 9em; font-weight: 650; color: var(--ep-ink); }

/* Sent / never sent */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 20px; }
.split > div { padding: 20px 22px; border-radius: 20px; }
.lg-prose .split h3 { margin: 0 0 10px; font-weight: 900; font-size: 16.5px; }
.split ul { margin: 0; padding-left: 1.2em; font-size: 15.5px; line-height: 1.55; }
.split li { margin: 0 0 7px; }
.split .yes { background: var(--ep-in-soft); }
.lg-prose .split .yes h3, .split .yes li::marker { color: var(--ep-in-ink); }
.split .no { background: var(--ep-buy-soft); }
.lg-prose .split .no h3, .split .no li::marker { color: var(--ep-buy-ink); }

/* ---------- The legal pages' own footer: the homepage's footer look, same words ---------- */
.ep-legal .ep-foot__brand { gap: 10px; padding: 0; min-height: 44px; border-radius: 0; background: none; box-shadow: none; color: var(--ep-ink); font-size: 18px; }
.ep-legal .ep-foot__brand img { width: 28px; height: 28px; border-radius: 22.5%; }

/* =====================================================================================
   Support
   ===================================================================================== */
.sp-topics { max-width: calc(var(--lg-max) + 2 * var(--ep-gutter)); margin: 0 auto; padding: clamp(40px, 1.6rem + 2.4vw, 72px) var(--ep-gutter) 0; }
.sp-topics ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ep-page .sp-topics a { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 14px; align-content: start; height: 100%; min-height: 44px;
  padding: 20px 20px 22px; border-radius: 22px; background: var(--lg-fill); color: var(--ep-ink); text-decoration: none;
  transition: background-color var(--ep-dur-1) var(--ep-ease); }
.ep-page .sp-topics a:hover { color: var(--ep-ink); background: var(--lg-fill-2); }
.ep-page .sp-topics a:focus-visible { border-radius: 22px; }
.sp-topics svg { grid-row: span 2; width: 26px; height: 26px; margin-top: 1px; fill: var(--ic, var(--ep-blue-500)); }
.sp-topics__t { font-family: var(--ep-font-display); font-weight: 800; font-size: 17px; line-height: 1.3; }
.sp-topics__d { margin-top: 3px; font-size: 14.5px; line-height: 1.45; color: var(--ep-ink-2); }
.sp-ic-1 { --ic: var(--ep-countertop-ink); } .sp-ic-2 { --ic: var(--ep-all-ink); } .sp-ic-3 { --ic: var(--ep-fridge-ink); } .sp-ic-4 { --ic: var(--ep-blue-500); }
.sp-ic-5 { --ic: var(--ep-buy-ink); } .sp-ic-6 { --ic: var(--ep-in-ink); } .sp-ic-7 { --ic: #7A4FD6; } .sp-ic-8 { --ic: var(--ep-ink-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sp-ic-7 { --ic: #B69CFF; } }
:root[data-theme="dark"] .sp-ic-7 { --ic: #B69CFF; }

.sp-main { max-width: calc(760px + 2 * var(--ep-gutter)); margin: 0 auto; padding: 0 var(--ep-gutter); }
.sp-sec { padding-top: clamp(64px, 2.6rem + 3vw, 104px); scroll-margin-top: 0; }
.sp-sec__ico { display: block; width: 30px; height: 30px; fill: var(--ic, var(--ep-blue-500)); }
.sp-sec h2 { margin: 14px 0 0; font-family: var(--ep-font-display); font-weight: 900; font-size: clamp(30px, 1.2rem + 1.7vw, 42px); line-height: 1.08;
  letter-spacing: -0.025em; color: var(--ep-ink); text-wrap: balance; }
.sp-sec__intro { margin: 16px 0 0; font-size: clamp(17px, 1rem + 0.2vw, 19px); line-height: 1.6; color: var(--ep-ink-2); text-wrap: pretty; }
.ep-page .sp-main :where(p, li) a { color: var(--lg-link); }
.ep-page .sp-main :where(p, li) a:hover { color: var(--ep-blue-700); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ep-page .sp-main :where(p, li) a:hover { color: #fff; } }
:root[data-theme="dark"] .ep-page .sp-main :where(p, li) a:hover { color: #fff; }
.sp-sec strong { font-weight: 650; color: var(--ep-ink); }

/* Questions: the homepage's FAQ rows */
.sp-faq { margin-top: 28px; border-top: 1px solid var(--ep-line-2); }
.sp-faq details { border-bottom: 1px solid var(--ep-line-2); }
.sp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 20px 4px; list-style: none; cursor: pointer;
  border-radius: 12px; font-family: var(--ep-font-display); font-weight: 800; font-size: clamp(17.5px, 1rem + 0.2vw, 19px); line-height: 1.35; color: var(--ep-ink); }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary svg { flex: none; width: 16px; height: 16px; fill: var(--ep-ink-3); transition: transform var(--ep-dur-2) var(--ep-ease); }
.sp-faq details[open] summary svg { transform: rotate(180deg); }
.sp-faq summary:hover svg { fill: var(--ep-ink); }
.sp-faq__a { margin-top: -4px; padding: 0 44px 24px 4px; font-size: 17px; line-height: 1.6; color: var(--ep-ink-2); }
.sp-faq__a p { margin: 0 0 12px; }
.sp-faq__a ul { margin: 0 0 12px; padding-left: 1.25em; }
.sp-faq__a li { margin: 0 0 8px; padding-left: 0.15em; }
.sp-faq__a li::marker { color: var(--ep-ink-3); }
.sp-faq__a > :last-child { margin-bottom: 0; }

/* Plans */
.sp-plans { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sp-plan { padding: 24px 24px 22px; border-radius: 22px; background: var(--lg-fill); }
.sp-plan--best { background: var(--lg-bg); box-shadow: inset 0 0 0 2px var(--ep-blue-500); }
.sp-plan__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-family: var(--ep-font-display); font-weight: 900; font-size: 19px;
  line-height: 1.3; color: var(--ep-ink); }
.sp-plan__tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--ep-blue-600); color: #fff;
  font-size: 12.5px; font-weight: 800; }
.sp-plan__price { margin: 10px 0 0; font-family: var(--ep-font-display); font-weight: 900; font-size: clamp(34px, 1.4rem + 1vw, 40px); line-height: 1.05;
  letter-spacing: -0.03em; color: var(--ep-ink); }
.sp-plan__per { font-family: var(--ep-font-text); font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--ep-ink-2); }
.sp-plan__sub { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--ep-ink-2); }
.sp-plan__trial { display: inline-flex; align-items: center; margin: 14px 0 0; padding: 7px 13px; border-radius: 999px; background: var(--ep-in-soft); color: var(--ep-in-ink);
  font-family: var(--ep-font-display); font-weight: 800; font-size: 14px; line-height: 1.2; }
.sp-fine { margin: 14px 0 0; font-size: 15px; line-height: 1.55; color: var(--ep-ink-3); }

.sp-sec .callout { margin: 24px 0 0; padding: 20px 22px; border-radius: 20px; background: var(--lg-fill); }
.sp-sec .callout h3 { margin: 0 0 6px; font-family: var(--ep-font-display); font-weight: 900; font-size: 17.5px; line-height: 1.3; color: var(--ep-ink); }
.sp-sec .callout p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ep-ink); }
.sp-sec .callout--warn { background: var(--ep-exp-soft); }
.sp-sec .callout--warn h3 { color: var(--ep-exp-ink); }
.sp-see { margin: 28px 0 0; font-size: 16px; line-height: 1.6; color: var(--ep-ink-2); }

/* The closer: write to us */
.sp-close { padding: clamp(80px, 3rem + 5vw, 136px) 10px clamp(56px, 6vw, 96px); scroll-margin-top: 0; }
.sp-close__panel { position: relative; isolation: isolate; overflow: hidden; max-width: calc(var(--lg-max) + 2 * var(--ep-gutter)); margin: 0 auto;
  border-radius: clamp(28px, 2.4vw, 40px); background: var(--lg-stage); color: #fff; text-align: center;
  padding: clamp(52px, 2rem + 3vw, 96px) clamp(20px, 5vw, 72px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sp-close__panel { background: var(--lg-stage-deep); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); } }
:root[data-theme="dark"] .sp-close__panel { background: var(--lg-stage-deep); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.sp-close h2 { max-width: 13em; margin: 0 auto; font-family: var(--ep-font-display); font-weight: 900; font-size: clamp(36px, 1rem + 3vw, 58px); line-height: 1.05;
  letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
.sp-close h2 .ep-hl { display: block; width: fit-content; margin: 0.13em auto 0; }
.sp-close__lead { max-width: 32em; margin: 22px auto 0; font-size: clamp(17px, 1rem + 0.3vw, 20px); line-height: 1.55; color: #fff; text-wrap: pretty; }
.sp-close .ep-btn { margin-top: 30px; }
.sp-close .ep-btn svg { flex: none; width: 19px; height: 19px; fill: currentColor; }
.sp-close__tips { max-width: 34em; margin: 36px auto 0; padding: 22px 26px 24px; border-radius: 22px; text-align: left;
  background: rgba(6,30,90,0.24); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); }
.sp-close__tips h3 { margin: 0; font-family: var(--ep-font-display); font-weight: 900; font-size: 18px; line-height: 1.3; color: #fff; }
.sp-close__tips ul { margin: 12px 0 0; padding-left: 1.2em; font-size: 16px; line-height: 1.55; color: #fff; }
.sp-close__tips li { margin: 0 0 6px; }
.sp-close__tips p { margin: 14px 0 0; font-size: 15px; line-height: 1.55; color: #fff; }

/* =====================================================================================
   Press kit
   ===================================================================================== */
body.ep-legal--press { --lg-col: 744px; }
.ep-legal--press .lg-prose > section > :is(p, ul:not([class]), ol, .callout) { max-width: 620px; }   /* text keeps its measure; grids use the full column */
.ep-legal--press .h-foot { margin-top: clamp(80px, 3rem + 5vw, 128px); }

/* Download rows: a picture, the name, the size, one button */
.lg-prose .pk-files { list-style: none; margin: 24px 0 20px; padding: 0; display: grid; gap: 12px; max-width: none; }
.lg-prose .pk-file { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 8px 22px; margin: 0; padding: 14px 20px 14px 14px;
  border-radius: 22px; background: var(--lg-fill); }
.pk-file__pic { display: flex; align-items: center; justify-content: center; width: 112px; height: 112px; border-radius: 16px; overflow: hidden; background: var(--lg-bg); }
.pk-file__pic img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; }
.pk-file__pic--icon { background: var(--lg-stage); }
.pk-file__pic--icon img { width: 76px; height: 76px; border-radius: 22.5%; }
.pk-file__name { margin: 0; font-family: var(--ep-font-display); font-weight: 900; font-size: 18.5px; line-height: 1.3; color: var(--ep-ink); }
.pk-file__meta { margin: 2px 0 0; font-size: 14.5px; line-height: 1.4; font-weight: 600; color: var(--ep-ink-3); }
.lg-prose .pk-file__desc { margin: 6px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--ep-ink-2); }

.ep-page a.pk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--ep-btn); color: #fff; font-family: var(--ep-font-display); font-weight: 800; font-size: 15.5px; line-height: 1.2; white-space: nowrap;
  text-decoration: none; box-shadow: var(--ep-sh-blue); transition: background-color var(--ep-dur-2) var(--ep-ease); }
.ep-page a.pk-btn:hover { background: var(--ep-btn-hover); color: #fff; }
.pk-btn svg { flex: none; width: 17px; height: 17px; fill: currentColor; }
.ep-page a.pk-btn--quiet { background: var(--lg-bg); color: var(--lg-link); box-shadow: inset 0 0 0 1px var(--ep-line-2); }
.ep-page a.pk-btn--quiet:hover { background: var(--lg-bg); color: var(--ep-ink); box-shadow: inset 0 0 0 1px var(--lg-link); }
.pk-btn__meta { font-family: var(--ep-font-text); font-weight: 600; font-size: 0.9em; }   /* full white: 4.95:1 on the blue */
.pk-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* Single screenshots: one tile each */
.lg-prose .pk-shots { list-style: none; margin: 16px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; max-width: none; }
.lg-prose .pk-shot { display: flex; flex-direction: column; margin: 0; padding: 10px 10px 14px; border-radius: 20px; background: var(--lg-fill); }
.pk-shot__pic { display: flex; align-items: center; justify-content: center; height: 204px; padding: 10px; border-radius: 14px; background: var(--lg-bg); }
.pk-shot__pic img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; }
.pk-shot__pic--screen img { border-radius: 8px; box-shadow: 0 0 0 1px var(--ep-line-2); }   /* plain app screens only; device frames stay as supplied */
.lg-prose .pk-shot__name { margin: 12px 4px 0; font-family: var(--ep-font-display); font-weight: 800; font-size: 16px; line-height: 1.3; color: var(--ep-ink); }
.lg-prose .pk-shot__desc { margin: 4px 4px 0; font-size: 14px; line-height: 1.45; color: var(--ep-ink-2); }
.lg-prose .pk-shot__meta { flex: 1; margin: 6px 4px 0; font-size: 13.5px; line-height: 1.4; font-weight: 600; color: var(--ep-ink-3); }
.ep-page .pk-shot a.pk-btn { align-self: stretch; margin: 12px 4px 0; }
.lg-prose h4.pk-group { margin: 36px 0 0; font-size: 19px; }
.lg-prose h4.pk-group + p { margin: 6px 0 0; font-size: 16px; color: var(--ep-ink-2); }

/* Galleries: pictures that open full size, in their own shape */
.lg-prose .pk-gallery { list-style: none; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 16px; margin: 22px 0; padding: 0; max-width: none; }
.lg-prose .pk-gallery li { margin: 0; padding: 0; }
.pk-gallery figure { display: table; margin: 0; }   /* the caption wraps to the picture's width */
.ep-page .pk-gallery a { display: block; border-radius: 14px; text-decoration: none; }
.pk-gallery img { display: block; width: auto; height: 210px; border-radius: 14px; background: var(--lg-fill); box-shadow: 0 0 0 1px var(--ep-line); }
.pk-gallery figcaption { display: table-caption; caption-side: bottom; padding-top: 9px; font-size: 14.5px; line-height: 1.4; font-weight: 600; color: var(--ep-ink-2); }

/* Promo art: picture, specs, two buttons */
.lg-prose .pk-promo { list-style: none; margin: 22px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: none; }
.lg-prose .pk-promo > li { display: flex; flex-direction: column; margin: 0; padding: 12px 12px 18px; border-radius: 22px; background: var(--lg-fill); }
.pk-promo__pic { display: flex; align-items: center; justify-content: center; height: 250px; border-radius: 14px; }
.pk-promo__pic img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 12px; }
.lg-prose .pk-promo h3 { margin: 14px 6px 0; font-size: 18px; }
.lg-prose .pk-promo p { margin: 4px 6px 0; font-size: 14.5px; line-height: 1.45; color: var(--ep-ink-2); }
.pk-promo .pk-btns { margin: auto 6px 0; padding-top: 14px; }
.ep-page .pk-promo a.pk-btn { flex: 1 1 auto; min-width: 0; padding: 10px 16px; white-space: normal; text-align: center; }

/* The press release: set like a printed release */
.pk-release { margin-top: 4px; padding: clamp(22px, 1rem + 2vw, 40px); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--ep-line-2); font-size: 0.95em; }
.lg-prose .pk-release h4 { margin-top: 26px; }
.lg-prose .pk-release__kicker { margin: 0 0 12px; font-family: var(--ep-font-display); font-size: 12.5px; line-height: 1.4; font-weight: 800; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--lg-mute); }
.lg-prose .pk-release h3.pk-release__h { margin: 0 0 12px; font-weight: 900; font-size: clamp(22px, 1rem + 0.8vw, 27px); line-height: 1.22; letter-spacing: -0.015em; text-wrap: balance; }
.lg-prose .pk-release__sub { font-size: 1.04em; line-height: 1.55; color: var(--ep-ink-2); }
.pk-release__links a { overflow-wrap: anywhere; }
.lg-prose .pk-release__end { margin: 26px 0 0; text-align: center; color: var(--lg-mute); }

/* =====================================================================================
   Smaller screens
   ===================================================================================== */
@media (max-width: 999px) {
  .lg-body { grid-template-columns: minmax(0, 1fr); max-width: calc(var(--lg-col) + 2 * var(--ep-gutter)); gap: 44px; }
  .lg-toc { position: static; max-height: none; overflow: visible; margin: 0; padding: 8px 8px 8px; border-radius: 24px; background: var(--lg-fill); }
  .ep-page .lg-toc a:hover { background: var(--lg-fill-2); }
  .lg-toc ol { columns: 2; column-gap: 8px; }
  .lg-toc li { break-inside: avoid; }
  .sp-topics ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-topics { max-width: calc(760px + 2 * var(--ep-gutter)); }
}
@media (max-width: 680px) {
  .lg-toc ol { columns: 1; }
  .lg-head__h1 { margin-top: 12px; font-size: min(40px, calc((100vw - 64px) / 10)); line-height: 1.08; }   /* the longest block, "you and EasyPantry.", stays one line */
  .ep-legal--support .lg-head__h1, .ep-legal--press .lg-head__h1 { font-size: min(44px, calc((100vw - 64px) / 7)); }   /* short titles can be bigger */
  .lg-head__meta { font-size: 14.5px; }
  .ep-page .lg-head__actions a.ep-btn { flex-wrap: wrap; row-gap: 2px; width: 100%; max-width: 360px; height: auto; min-height: 56px; padding: 10px 22px;
    white-space: normal; text-align: center; font-size: 17px; line-height: 1.25; }
  .lg-head__actions .lg-btn__meta { flex-basis: 100%; font-size: 14px; }   /* the size goes under the label */
  .split { grid-template-columns: minmax(0, 1fr); }
  .table-scroll { padding: 2px 16px; }
  .lg-prose table { font-size: 15.5px; }
  .facts th { display: block; width: auto; padding: 14px 0 2px; border-bottom: 0; }
  .facts td { display: block; padding: 0 0 14px; }
  .data th, .data td { padding-right: 12px; }
  .data td:first-child { min-width: 0; }
  .lg-prose .callout { padding: 20px 20px; }
  .lg-prose .pk-file { grid-template-columns: 84px minmax(0, 1fr); padding: 12px 14px 14px 12px; gap: 6px 16px; }
  .pk-file__pic { width: 84px; height: 84px; border-radius: 14px; }
  .pk-file__pic--icon img { width: 58px; height: 58px; }
  .pk-file .pk-btn { grid-column: 1 / -1; width: 100%; margin-top: 4px; }
  .lg-prose .pk-promo { grid-template-columns: minmax(0, 1fr); }
  .pk-promo__pic { height: 260px; }
  .sp-close__tips { padding: 20px 20px 22px; }
}
@media (max-width: 600px) {
  body.ep-legal { --lg-glow: 120px 70px; }   /* on a phone the glow stays in the corner, clear of the first line of words */
  .sp-topics ul { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ep-page .sp-topics a { padding: 16px 18px; border-radius: 18px; }
  .sp-topics__d { display: block; }
  .sp-plans { grid-template-columns: minmax(0, 1fr); }
  .sp-faq__a { padding-right: 4px; }
  .lg-prose .pk-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .lg-prose .pk-shot { padding: 8px 8px 12px; border-radius: 18px; }
  .pk-shot__pic { height: 190px; padding: 8px; border-radius: 12px; }
  .lg-prose .pk-shot__name { font-size: 15.5px; }
  .ep-page .pk-shot a.pk-btn { padding: 0 10px; font-size: 15px; }
  /* phones: the pictures sit in even tiles, two to a row */
  .lg-prose .pk-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px; }
  .pk-gallery figure, .pk-gallery figcaption { display: block; }
  .ep-page .pk-gallery a { display: flex; align-items: center; justify-content: center; height: 176px; padding: 8px; border-radius: 16px; background: var(--lg-fill); }
  .pk-gallery img { width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 10px; }
  .pk-gallery figcaption { padding: 8px 2px 0; font-size: 14px; }
}
@media (max-width: 400px) {
  /* the three-column table in the Privacy Policy fits a 320 px screen without scrolling */
  .table-scroll { padding: 2px 12px; }
  .lg-prose table { font-size: 15px; }
  .data th, .data td { padding-right: 8px; -webkit-hyphens: auto; hyphens: auto; }
}
@media (max-width: 360px) {
  .lg-head__panel, .sp-close__panel { padding-left: 18px; padding-right: 18px; }
  .pk-shot__pic { height: 170px; }
}

/* ---------- Print: the words only ---------- */
@media print {
  .ep-nav, .ep-skip, .lg-toc, .ep-foot__nav, .h-foot__cols, .sp-topics, .lg-head__actions, .pk-btn, .pk-btns { display: none !important; }
  body.ep-legal { background: #fff; color: #000; }
  .lg-head { padding: 0; }
  .lg-head__panel, .sp-close__panel { background: none; color: #000; padding: 0; box-shadow: none; text-align: left; border-radius: 0; }
  .lg-head__h1, .lg-head__eyebrow, .lg-head__meta, .lg-head__lede, .sp-close h2, .sp-close__lead, .sp-close__tips, .sp-close__tips * { color: #000; margin-left: 0; }
  .lg-head__panel .ep-hl, .sp-close .ep-hl { display: inline; margin: 0; padding: 0; background: none; color: #000; box-shadow: none; }
  .lg-body { display: block; padding-top: 24px; }
  .lg-prose { max-width: none; }
  .lg-prose section + section { border-top: 0; margin-top: 24px; padding-top: 0; }
}

/* Support and Press: the gray continuation of a headline starts its own line; facts-table links get a 44 pt target */
h2 .lg-mute { display: block; }
.facts td > a:only-child { display: inline-block; padding-block: 12px; margin-block: -12px; }
