/* Digital Health Coach UK - site stylesheet
   Warm and welcoming for busy parents and carers: rounded friendly type (Nunito, self-hosted),
   the logo's navy, sky, mint and teal, and the warm orange buttons of the original site.
   Large type and strong contrast throughout: many readers are on phones, some are older.
   Change colours here and only here. */

@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  /* brand (from the logo) */
  --navy: #08376B;
  --sky: #35C0ED;
  --mint: #9AEBA6;
  --teal: #2F90B0;
  /* warm accent (the original site's orange buttons) */
  --orange: #F7A823;
  --orange-hover: #E8940A;
  --on-orange: #1F2A37;   /* dark text on orange: passes contrast, unlike white */
  /* surfaces */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --cream: #FFF8EC;       /* warm band */
  --tint: #EEF8FC;        /* pale sky band */
  --mint-tint: #EEFBF0;
  --fg: #1F2A37;
  --ink: #08376B;
  --muted: #536173;
  --line: #E1E8EF;
  --link: #1C6F8E;
  --link-hover: #08376B;
  --help-bg: #FFF4E0;
  --help-line: #F7A823;
  --disclose-bg: #EEF8FC;
  --disclose-line: #35C0ED;
  --focus: #08376B;
  --shadow: 0 2px 10px rgba(8, 55, 107, 0.08);
  --shadow-hover: 0 6px 18px rgba(8, 55, 107, 0.14);
  --font: "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --step--1: 0.95rem;
  --step-0: 1.125rem;
  --step-1: 1.3rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem);
  --step-4: clamp(2.1rem, 1.5rem + 2.4vw, 3rem);
  --radius: 18px;
  --radius-sm: 12px;
  --measure: 42rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1B2C; --surface: #12263D; --cream: #1E2430; --tint: #11283F; --mint-tint: #12302A;
    --fg: #E8EEF5; --ink: #E8F3FB; --muted: #A9B8C9; --line: #24405E;
    --link: #7FD3F2; --link-hover: #BDE9F9; --help-bg: #2E2614; --help-line: #E09A1F;
    --disclose-bg: #11283F; --disclose-line: #35C0ED; --focus: #F7A823;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.35); --shadow-hover: 0 6px 18px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .logo { background: #fff; border-radius: 10px; padding: 4px 8px; }
  :root:not([data-theme="light"]) .nav a[aria-current="page"] { background: var(--sky); color: #0C1B2C; }
  :root:not([data-theme="light"]) .btn--ghost:hover { background: var(--sky); color: #0C1B2C; border-color: var(--sky); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: var(--step-0); line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 1.6em 0 0.5em; font-weight: 800; }
h1 { font-size: var(--step-4); margin-top: 0.2em; letter-spacing: -0.01em; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); font-weight: 700; }
p, ul, ol { margin: 0 0 1em; }
strong { font-weight: 800; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.muted { color: var(--muted); }
.flush { margin-top: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } .btn:hover, .pill:hover, .card a:hover { transform: none !important; } }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn, .pill { display: inline-block; font-family: var(--font); font-weight: 800; text-decoration: none; border-radius: 999px; transition: background 0.15s, transform 0.15s, box-shadow 0.15s; }
.btn { background: var(--orange); color: var(--on-orange); padding: 12px 24px; box-shadow: 0 2px 0 rgba(0,0,0,0.08); }
.btn:hover { background: var(--orange-hover); color: var(--on-orange); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); box-shadow: none; padding: 10px 22px; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 22px; }
.pill { background: var(--orange); color: var(--on-orange); padding: 9px 18px; font-size: 1rem; }
.pill:hover { background: var(--orange-hover); color: var(--on-orange); transform: translateY(-1px); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 8px; }

/* ---------- header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.logo { display: block; height: 64px; width: auto; }
.brand-tag { font-weight: 700; color: var(--muted); font-size: 0.95rem; max-width: 14rem; line-height: 1.3; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 800; color: var(--ink); padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--tint); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-toggle { display: none; font: inherit; font-weight: 800; background: var(--orange); border: 0; color: var(--on-orange); border-radius: 999px; padding: 8px 18px; }
@media (max-width: 860px) {
  .brand-tag { display: none; }
  .logo { height: 52px; }
  .nav-toggle { display: inline-block; }
  .nav { display: none; width: 100%; flex-direction: column; padding: 8px 0; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 16px; }
}
.urgent-strip { background: var(--navy); color: #fff; font-size: var(--step--1); }
.urgent-strip p { margin: 0; padding: 9px 0; }
.urgent-strip a { color: #fff; font-weight: 800; }

/* ---------- home ---------- */
.hero-band { background: linear-gradient(180deg, var(--tint) 0%, var(--bg) 100%); }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding-top: 44px; padding-bottom: 36px; }
.hero h1 { max-width: 16ch; }
.hero-pic { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; } .hero-pic { order: -1; max-height: 260px; object-fit: cover; } }
.lede { font-size: var(--step-1); color: var(--muted); max-width: var(--measure); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; font-weight: 800; color: var(--link); margin: 0 0 6px; }
.section { padding-top: 36px; padding-bottom: 36px; }
.band { background: var(--tint); }
.band--warm { background: var(--cream); }
.promise-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.promise { background: var(--mint-tint); border-radius: var(--radius); padding: 22px; }
.promise h3 { margin: 10px 0 6px; font-size: 1.15rem; }
.promise p { margin: 0; color: var(--muted); font-size: var(--step--1); }
.promise-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: var(--navy); font-weight: 800; }
.practice { display: flex; gap: 28px; align-items: center; }
@media (max-width: 640px) { .practice { flex-direction: column; align-items: flex-start; } }

/* ---------- cards ---------- */
.cards { list-style: none; padding: 0; margin: 18px 0 32px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--fg); box-shadow: var(--shadow); transition: box-shadow 0.15s, transform 0.15s; }
.card a:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--fg); }
.card-pic { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 20%; display: block; background: var(--tint); }
.card-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 20px 0 0 20px; border: 3px solid var(--mint); }
.card-avatar--big { width: 96px; height: 96px; }
.card-text { padding: 16px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card h2, .card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.card p { margin: 0 0 12px; color: var(--muted); font-size: var(--step--1); line-height: 1.5; }
.card-go { margin-top: auto; align-self: flex-start; background: var(--orange); color: var(--on-orange); font-weight: 800; font-size: 0.95rem; border-radius: 999px; padding: 6px 16px; }
.card a:hover .card-go { background: var(--orange-hover); }
.cards--hubs { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.cards--hubs .card a { border-top: 6px solid var(--sky); }
.cards--hubs .card:nth-child(2) a { border-top-color: var(--mint); }
.cards--hubs .card:nth-child(3) a { border-top-color: var(--orange); }
.cards--hubs .card:nth-child(4) a { border-top-color: var(--teal); }
.tag { display: inline-block; font-size: 0.8rem; font-weight: 800; }
.tag--kit { align-self: flex-start; background: var(--disclose-bg); border: 1px solid var(--disclose-line); border-radius: 999px; padding: 1px 10px; color: var(--fg); margin-bottom: 10px; }

/* ---------- hubs ---------- */
.hub-head { padding-top: 36px; padding-bottom: 8px; }
.hub-head--avatar { display: flex; gap: 28px; align-items: center; }
.hub-avatar { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 4px solid var(--mint); flex: none; }
@media (max-width: 640px) { .hub-head--avatar { flex-direction: column; align-items: flex-start; gap: 12px; } .hub-avatar { width: 96px; height: 96px; } }

/* ---------- articles ---------- */
.article-head { padding-top: 24px; padding-bottom: 8px; }
.head-grid--pic { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.head-pic { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-height: 420px; object-fit: cover; }
@media (max-width: 860px) { .head-grid--pic { grid-template-columns: 1fr; gap: 20px; } .head-pic { max-height: 320px; } }
.crumbs { font-size: var(--step--1); margin-bottom: 12px; }
.crumbs a { color: var(--muted); font-weight: 700; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--step--1); color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; max-width: var(--measure); }
.article-meta .pending { color: var(--fg); background: var(--help-bg); padding: 0 10px; border-radius: 999px; }
.article-body { padding-bottom: 24px; }
.prose { max-width: var(--measure); }
.prose li { margin-bottom: 0.4em; }
.prose h2 { padding-top: 0.2em; }
.prose h2:first-child { margin-top: 0.5em; }
.prose ol > li::marker { color: var(--teal); font-weight: 800; }
.table-scroll { overflow-x: auto; margin: 0 0 1.4em; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: var(--step--1); background: var(--surface); }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--tint); color: var(--ink); font-weight: 800; }
tr:last-child td { border-bottom: 0; }
.aff { font-weight: 800; }
.aff-label { font-size: 0.8rem; color: var(--muted); white-space: nowrap; }

.help-box, .disclosure, .opinion-note, .personal { max-width: var(--measure); border-radius: var(--radius); padding: 20px 24px; margin: 32px 0; }
.help-box { background: var(--help-bg); border-left: 8px solid var(--help-line); }
.help-box h2 { margin-top: 0; font-size: var(--step-1); color: var(--fg); }
.help-box ul { padding-left: 1.2em; }
.help-box p:last-child { margin-bottom: 0; }
.help-box a { font-weight: 800; }
.disclosure { background: var(--disclose-bg); border-left: 8px solid var(--disclose-line); font-size: var(--step--1); }
.disclosure p { margin: 0; }
.sources-title { font-size: var(--step-1); }
.sources-title + ul { font-size: var(--step--1); }
.next-steps { max-width: var(--measure); background: var(--mint-tint); border-radius: var(--radius); padding: 20px 24px; margin: 32px 0 0; }
.next-steps h2 { margin: 0 0 4px; font-size: var(--step-1); }
.next-steps .pills { margin: 10px 0 0; }
.checklist .task { list-style: none; margin-left: -1.2em; display: flex; gap: 10px; align-items: flex-start; }
.checklist .task input { width: 22px; height: 22px; margin-top: 4px; flex: none; accent-color: var(--navy); }
.related { border-top: 1px solid var(--line); padding-top: 12px; }

/* ---------- footer ---------- */
.site-footer { background: var(--tint); margin-top: 56px; padding: 40px 0 28px; font-size: var(--step--1); }
.site-footer .wrap { display: grid; gap: 28px; grid-template-columns: 2fr 1fr 1fr; }
.site-footer h2 { font-size: 1.05rem; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .logo { height: 72px; margin-bottom: 12px; }
.footer-pills { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.wcag-badge { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; justify-content: center; margin: 0; }
.site-footer .legal { grid-column: 1 / -1; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; text-align: center; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } .footer-pills { justify-content: flex-start; } .site-footer .legal { text-align: left; } }

@media print {
  .site-header, .urgent-strip, .site-footer, .related, .nav-toggle, .head-pic, .btn-row { display: none; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a { color: #000; }
}

/* Opinion pieces and Sean's own-experience boxes: clearly set apart from the guide text */
.opinion-note { background: var(--disclose-bg); border-left: 8px solid var(--disclose-line); font-size: var(--step--1); }
.opinion-note p { margin: 0; }
.personal { background: var(--disclose-bg); border-left: 8px solid var(--disclose-line); }
.personal h3 { margin-top: 0; }
.personal p:last-child { margin-bottom: 0; }
code, .prose a { overflow-wrap: anywhere; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }

/* How-to diagrams: the picture plus a numbered key in real text */
.diagram { max-width: var(--measure); margin: 28px 0; }
.diagram img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.diagram--narrow { max-width: 30rem; }
.diagram figcaption { margin-top: 12px; }
.diagram figcaption ol { margin: 0; padding-left: 1.6em; }
.diagram figcaption li { margin-bottom: 4px; }
.diagram figcaption li::marker { font-weight: 800; color: var(--ink); }

/* Kit comparison cards: [[compare:...]] in a kit page. The whole card is one link (the product name),
   stretched over the card so anywhere on it can be clicked or tapped. */
.products { list-style: none; padding: 0; margin: 20px 0 32px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.prose .products { max-width: none; }
.product { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 0 14px; overflow: hidden; transition: box-shadow 0.15s, transform 0.15s; }
.product:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.product:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.product-pic { background: #FFFFFF; height: 170px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.product-pic img { width: 100%; height: 100%; object-fit: contain; padding: 10px; box-sizing: border-box; }
.product-pic .product-nopic { width: 56px; height: 56px; opacity: 0.25; padding: 0; }
.product > :not(.product-pic) { margin-left: 14px; margin-right: 14px; }
.product-badge { align-self: flex-start; margin-top: 10px; margin-bottom: 0; background: var(--mint-tint); color: var(--ink); border: 1px solid var(--mint); border-radius: 999px; padding: 2px 10px; font-size: 0.85rem; font-weight: 800; }
.product-name { font-size: 1.05rem; margin-top: 8px; margin-bottom: 2px; line-height: 1.3; }
.product-link { color: var(--ink); text-decoration: none; }
.product-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-price { font-weight: 800; color: var(--fg); margin-top: 0; margin-bottom: 6px; font-size: 0.95rem; }
.product-specs { margin: 0 0 10px; font-size: 0.88rem; line-height: 1.35; flex: 1; }
.product-specs div { padding: 4px 0; border-top: 1px solid var(--line); }
.product-specs dt { display: inline; font-weight: 800; color: var(--muted); }
.product-specs dt::after { content: ": "; }
.product-specs dd { display: inline; margin: 0; }
.product-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.btn--small { padding: 8px 16px; font-size: 0.95rem; overflow-wrap: anywhere; }
.product:hover .btn--small { background: var(--orange-hover); }
.product-credit { font-size: 0.75rem; color: var(--muted); margin-top: 6px; margin-bottom: 0; }
/* Phones: picture beside the name and price, the facts underneath, so a row of cards is not a long scroll. */
@media (max-width: 559px) {
  .products { grid-template-columns: 1fr; gap: 12px; }
  .product { display: grid; grid-template-columns: 104px 1fr; column-gap: 12px; padding: 12px 12px 12px 0; }
  .product > * { grid-column: 2; }
  .product > :not(.product-pic) { margin-left: 0; margin-right: 0; }
  .product-pic { grid-column: 1; grid-row: 1 / span 3; align-self: start; height: 104px; margin-left: 12px; border: 1px solid var(--line); border-radius: 8px; }
  .product-pic img { padding: 6px; }
  .product-pic .product-nopic { width: 36px; height: 36px; }
  .product-badge { margin-top: 0; }
  .product > .product-specs, .product > .product-cta, .product > .product-credit { grid-column: 1 / -1; margin-left: 12px; }
  .product-specs { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .product:hover { transform: none; } }

/* [[app:key]]: App Store and Google Play buttons for a free app */
.app-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 20px; }
/* App screenshots: the NHS's own store pictures, shown as they are */
.screens { margin: 16px 0 8px; }
.screens img { display: block; border-radius: 10px; }
.screens figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }

/* [[videos:...]]: video cards. The picture is a link to YouTube; site.js swaps in the player when pressed. */
.videos { list-style: none; padding: 0; margin: 16px 0 28px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.prose .videos { max-width: none; }
.video { margin: 0; }
.video-play { position: relative; display: block; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.video-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-icon { position: absolute; right: 10px; top: 10px; width: 56px; height: 38px; margin: 0; border-radius: 12px; background: rgba(8, 55, 107, 0.92); box-shadow: 0 2px 8px rgba(0,0,0,0.3); transition: background 0.15s, transform 0.15s; }
.video-icon::after { content: ""; position: absolute; left: 22px; top: 10px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #FFFFFF; }
.video-play:hover .video-icon, .video-play:focus-visible .video-icon { background: var(--orange); transform: scale(1.06); }
.video-play:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.video-title { font-weight: 800; color: var(--ink); margin: 8px 0 2px; line-height: 1.3; }
.video-meta { font-size: 0.85rem; color: var(--muted); margin: 0; }
@media (prefers-reduced-motion: reduce) { .video-play:hover .video-icon { transform: none; } }
@media (max-width: 559px) {
  .videos { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .video-title { font-size: 0.92rem; }
  .video-meta { font-size: 0.78rem; }
  .video-icon { width: 40px; height: 28px; right: 6px; top: 6px; border-radius: 8px; }
  .video-icon::after { left: 16px; top: 7px; border-width: 7px 0 7px 11px; }
}

/* "Also searched for": search terms (misspellings included) that lead people to this page */
.search-terms { margin-top: 8px; padding-top: 8px; }
.search-terms h2 { font-size: 1.15rem; }
.term-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.term-list a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.92rem; text-decoration: none; color: var(--ink); background: var(--surface); min-height: 24px; }
.term-list a:hover { border-color: var(--ink); text-decoration: underline; }

/* Step-by-step app screenshots: a numbered row that wraps, each screen captioned */
.screen-steps { list-style: none; counter-reset: sstep; padding: 0; margin: 16px 0 8px; display: grid; gap: 16px 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.prose .screen-steps { max-width: none; }
.screen-steps li { counter-increment: sstep; margin: 0; }
.screen-steps img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; }
.screen-steps .cap { display: block; margin-top: 6px; font-size: 0.88rem; line-height: 1.35; }
.screen-steps .cap::before { content: counter(sstep) ". "; font-weight: 800; color: var(--ink); }
.screens-credit { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 559px) { .screen-steps { grid-template-columns: 1fr 1fr; } }
