/* PosterTemplate - design C "Bold and graphic". Tokens from design/system/tokens.json.
   Conventions (see ARCHITECTURE.md): tokens on :root, component classes are flat BEM-ish
   (.card, .card__title, .btn--primary). Radius 0 everywhere. Flat fills only.
   Page-type agents add their own files (e.g. css/home.css) and link them via the
   `extraCss` front-matter key - do not edit this file without coordinating. */

/* ---------- Fonts (self-hosted; no Google Fonts call) ---------- */
@font-face { font-family: "Barlow"; src: url("/fonts/Barlow-Regular.woff2") format("woff2"), url("/fonts/Barlow-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/Barlow-Medium.woff2") format("woff2"), url("/fonts/Barlow-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/Barlow-SemiBold.woff2") format("woff2"), url("/fonts/Barlow-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/Barlow-Bold.woff2") format("woff2"), url("/fonts/Barlow-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/BarlowCondensed-SemiBold.woff2") format("woff2"), url("/fonts/BarlowCondensed-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
/* 800 is mapped to the Bold file: the ExtraBold cut is not in generators/fonts/. */
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/BarlowCondensed-Bold.woff2") format("woff2"), url("/fonts/BarlowCondensed-Bold.ttf") format("truetype"); font-weight: 700 800; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --sign-yellow: #FFD100; --sign-red: #C8102E; --sign-blue: #0055A5; --sign-green: #00843D;
  --ink: #111111; --white: #FFFFFF; --paper: #F4F2EC;
  --muted: #4A4741; --muted-on-ink: #D6D3CC; --footnote-on-ink: #BDBAB2; --divider-on-ink: #333333;
  --text-red: #A00D24; --text-yellow: #5C4A00; --text-blue: #0055A5; --text-green: #006630;
  --green-hover: #006630; --ink-hover: #333333;
  --disabled-fill: #E4E2DC; --disabled-border: #8A8780; --disabled-text: #6B6862;
  --ad-fill: #E4E2DC; --ad-border: #8A8780; --ad-text: #55524C;

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", Arial, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s7: 32px; --s8: 40px; --s9: 48px; --s10: 56px; --s11: 64px;
  --container: 1200px; --gutter: 24px;
  --bd-structural: 4px solid var(--ink); --bd-card: 3px solid var(--ink); --bd-ad: 1px dashed var(--ad-border);
  --section-gap: 48px; --home-gap: 64px;
}
@media (max-width: 599px) { :root { --gutter: 16px; --section-gap: 40px; --home-gap: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.55; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 2px; }
a:hover { color: var(--sign-blue); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--sign-yellow); outline-offset: 0; box-shadow: 0 0 0 6px var(--ink);
}
.radio:has(input:focus-visible) { outline: 3px solid var(--sign-yellow); box-shadow: 0 0 0 6px var(--ink); position: relative; z-index: 1; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; margin: 0; }
h1 { font-size: clamp(48px, 7vw, 96px); line-height: 0.9; }
h2 { font-size: clamp(36px, 4vw, 44px); line-height: 1; }
h3 { font-size: clamp(28px, 3vw, 34px); line-height: 1; }
p { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 12px 16px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; color: var(--white); }
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.lead { font-size: 20px; line-height: 1.5; max-width: 720px; }
@media (max-width: 599px) { .lead { font-size: 18px; } }
.small { font-size: 15px; line-height: 1.5; }
.muted { color: var(--muted); }
.label { font-size: 13px; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.eyebrow { margin: 0 0 6px; font-family: var(--font-head); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 0.08em; }
.eyebrow--red { color: var(--text-red); } .eyebrow--yellow { color: var(--text-yellow); } .eyebrow--blue { color: var(--text-blue); } .eyebrow--green { color: var(--text-green); } .eyebrow--ink { color: var(--muted); }
.prose p + p { margin-top: 1em; }
.prose { max-width: 720px; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: var(--bd-structural); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-block: 16px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.wordmark__text { font-family: var(--font-head); font-weight: 800; font-size: 30px; letter-spacing: 0.01em; text-transform: uppercase; line-height: 1; }
.wordmark__accent { background: var(--sign-yellow); color: var(--ink); padding: 2px 6px; margin-left: 2px; }
.wordmark:hover { color: var(--ink); }
.main-nav { flex: 1 1 auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-family: var(--font-head); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: 0.03em; }
.main-nav a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; text-decoration: none; border-bottom: 4px solid transparent; }
.main-nav a[aria-current] { border-bottom-color: var(--nav-underline, var(--ink)); }
.main-nav a[data-section="signs"] { --nav-underline: var(--sign-red); }
.main-nav a[data-section="posters"] { --nav-underline: var(--ink); }
.main-nav a[data-section="templates"] { --nav-underline: var(--sign-blue); }
.main-nav a[data-section="household"] { --nav-underline: var(--sign-green); }
.tag { background: var(--ink); color: var(--white); font-family: var(--font-body); font-size: 13px; font-weight: 700; padding: 1px 6px; letter-spacing: 0.06em; text-transform: uppercase; }
.header-search { display: flex; flex: 0 1 300px; min-width: 220px; }
.header-search input { flex: 1; min-width: 0; height: 44px; border: var(--bd-card); border-right: 0; padding: 0 12px; font: inherit; font-size: 16px; background: var(--white); border-radius: 0; }
.btn-icon { width: 48px; height: 44px; border: var(--bd-card); background: var(--ink); color: var(--white); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.btn-icon:hover { background: var(--ink-hover); }
.menu-toggle, .search-toggle { display: none; }
/* Phone header: below 900px collapse to wordmark + search icon + Menu button. Without JS the
   nav and search stay visible (the .js class gates the collapse). */
@media (max-width: 899px) {
  .js .site-header__inner { gap: 12px; }
  .js .wordmark { flex: 1 1 auto; }
  .js .wordmark__text { font-size: 26px; }
  .js .menu-toggle, .js .search-toggle { display: inline-flex; }
  .js .menu-toggle { min-height: 44px; padding: 0 14px; border: var(--bd-card); background: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 20px; text-transform: uppercase; align-items: center; gap: 8px; cursor: pointer; color: var(--ink); }
  .js .menu-toggle[aria-expanded="true"] { background: var(--ink); color: var(--white); }
  .js .main-nav, .js .header-search { display: none; flex-basis: 100%; }
  .js .main-nav.is-open, .js .header-search.is-open { display: flex; }
  .js .main-nav.is-open ul { flex-direction: column; width: 100%; border-top: var(--bd-card); }
  .js .main-nav.is-open a { min-height: 52px; border-bottom: 1px solid var(--disabled-fill); border-left: 4px solid transparent; }
  .js .main-nav.is-open a[aria-current] { border-left-color: var(--nav-underline, var(--ink)); border-bottom-color: var(--disabled-fill); }
  .js .header-search.is-open { flex: 1 1 100%; }
}

/* ---------- Title band + breadcrumbs ---------- */
.title-band { background: var(--white); border-bottom: var(--bd-structural); }
.title-band__inner { padding-block: 24px 40px; }
.title-band__row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.title-band__text { flex: 1 1 480px; min-width: 0; }
.title-band .marker { width: 96px; height: 96px; flex: none; }
@media (max-width: 599px) { .title-band .marker { width: 56px; height: 56px; } .title-band__inner { padding-block: 16px 28px; } }
.breadcrumb { font-size: 15px; margin-bottom: 24px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.breadcrumb a { display: inline-flex; min-height: 44px; align-items: center; }
.breadcrumb [aria-current] { font-weight: 700; }

/* ---------- Layout: content + sidebar ---------- */
.page-main__body { padding-block: 40px 24px; }
.with-sidebar { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.with-sidebar__content { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: var(--section-gap); }
.with-sidebar__aside { flex: 1 1 300px; min-width: 0; max-width: 336px; display: flex; flex-direction: column; gap: 24px; align-self: stretch; }
@media (max-width: 939px) { .with-sidebar__aside { max-width: none; } .sidebar-sticky { display: none; } }
.stack { display: flex; flex-direction: column; gap: var(--section-gap); }
.section-head { margin: 0 0 16px; }
.section-intro { margin: -8px 0 24px; max-width: 640px; }

/* ---------- Section markers ---------- */
.marker { display: inline-block; flex: none; vertical-align: middle; }
.h-with-marker { display: flex; align-items: center; gap: 14px; }
.h-with-marker .marker { width: 36px; height: 36px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: var(--bd-card); background: var(--white); color: var(--ink); text-decoration: none; font-family: var(--font-body); font-weight: 700; font-size: 17px; cursor: pointer; border-radius: 0; }
.btn:hover { background: var(--ink); color: var(--white); }
.btn--primary { min-height: 64px; background: var(--sign-green); color: var(--white); border: var(--bd-structural); font-family: var(--font-head); font-weight: 800; font-size: 28px; text-transform: uppercase; letter-spacing: 0.03em; width: 100%; }
.btn--primary:hover { background: var(--green-hover); color: var(--white); }
@media (max-width: 599px) { .btn--primary { min-height: 60px; font-size: 24px; } }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-hover); }
.btn--small { min-height: 44px; font-size: 15px; padding: 0 14px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--disabled-fill); border-color: var(--disabled-border); color: var(--disabled-text); cursor: not-allowed; }
.link-strong { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.btn svg, .link-strong svg { flex: none; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.card { background: var(--white); border: var(--bd-card); display: flex; flex-direction: column; min-width: 0; }
.card__media { background: var(--paper); border-bottom: var(--bd-card); display: flex; justify-content: center; align-items: center; padding: 16px; aspect-ratio: 1 / 1; }
.card__media img { max-height: 100%; width: auto; object-fit: contain; background: var(--white); }
.card__body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-family: var(--font-head); font-weight: 700; font-size: 21px; line-height: 1.05; text-transform: none; }
.card__meta { font-size: 14px; color: var(--muted); }
.card__actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
a.card { text-decoration: none; }
a.card:hover { color: var(--ink); background: var(--white); outline: 3px solid var(--ink); }
a.card:hover .card__title { text-decoration: underline; }
.card--external .tag { align-self: flex-start; }
.link-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.link-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 12px; background: var(--white); border: var(--bd-card); text-decoration: none; font-weight: 700; text-align: center; height: 100%; }
.link-tile img { width: 80px; height: 80px; object-fit: contain; }
.link-tile:hover { background: var(--ink); color: var(--white); }
.cat-tile { display: flex; align-items: flex-end; min-height: 120px; padding: 16px; border: var(--bd-structural); text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; }
.cat-tile--red { background: var(--sign-red); color: var(--white); }
.cat-tile--blue { background: var(--sign-blue); color: var(--white); }
.cat-tile--green { background: var(--sign-green); color: var(--white); }
.cat-tile--yellow { background: var(--sign-yellow); color: var(--ink); }
.cat-tile--ink { background: var(--ink); color: var(--white); }
.cat-tile:hover { outline: 4px solid var(--ink); outline-offset: 3px; color: inherit; }
.cat-tile--red:hover, .cat-tile--blue:hover, .cat-tile--green:hover, .cat-tile--ink:hover { color: var(--white); }

/* ---------- Download control (featured) ---------- */
.dl-feature { background: var(--white); border: var(--bd-structural); display: flex; flex-wrap: wrap; }
.dl-feature__preview { flex: 1 1 300px; min-width: 0; background: var(--paper); border-right: var(--bd-structural); display: flex; align-items: center; justify-content: center; padding: 32px; }
.dl-feature__preview img { max-height: 420px; width: auto; background: var(--white); border: 1px solid var(--ink); }
.dl-feature__panel { flex: 1 1 320px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.dl-feature__panel h2 { font-size: 36px; }
@media (max-width: 679px) { .dl-feature__preview { border-right: 0; border-bottom: var(--bd-structural); padding: 20px; } .dl-feature__preview img { max-height: 300px; } .dl-feature__panel { padding: 20px; } }
.radio-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.radio-group legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.radio-group__row { display: flex; }
.radio { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; border: var(--bd-card); margin-right: -3px; font-weight: 700; cursor: pointer; background: var(--white); }
.radio:last-child { margin-right: 0; }
.radio input { margin: 0 8px 0 0; accent-color: var(--ink); width: 18px; height: 18px; }
.radio:has(input:checked) { background: var(--ink); color: var(--white); }
.radio:has(input:checked) input { accent-color: var(--sign-yellow); }
.dl-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.dl-links a { display: flex; align-items: center; justify-content: center; min-height: 44px; border: var(--bd-card); text-decoration: none; font-weight: 700; font-size: 15px; padding: 0 8px; background: var(--white); text-align: center; }
.dl-links a:hover { background: var(--ink); color: var(--white); }
.dl-links--primary a:first-child { background: var(--sign-green); color: var(--white); }
.js .dl-picker .dl-links { display: none; }
.dl-picker__form { display: none; flex-direction: column; gap: 20px; }
.js .dl-picker__form { display: flex; }
.dl-compact { display: flex; flex-direction: column; gap: 8px; }
.dl-compact__selects { display: none; gap: 6px; }
.js .dl-compact__selects { display: flex; }
.dl-compact select { flex: 1; min-width: 0; height: 44px; border: var(--bd-card); background: var(--white); font: inherit; font-size: 15px; font-weight: 600; padding: 0 6px; border-radius: 0; color: var(--ink); }
.dl-compact details summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; font-size: 15px; cursor: pointer; }
.js .dl-compact details { display: none; }
.dl-all { background: var(--ink); color: var(--white); padding: 24px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.dl-all p { color: var(--muted-on-ink); font-size: 15px; }
.dl-all h3 { color: var(--white); font-size: 28px; }
.dl-all .btn { background: var(--sign-yellow); color: var(--ink); border-color: var(--sign-yellow); }
.dl-all .btn:hover { background: var(--white); color: var(--ink); }

/* ---------- Content blocks ---------- */
.use-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.use-list li { background: var(--white); border: var(--bd-card); padding: 16px 18px; }
.use-list strong { display: block; font-size: 18px; line-height: 1.3; }
.use-list span { font-size: 15px; }
.ink-block { background: var(--ink); color: var(--white); padding: 32px; }
.ink-block h2 { font-size: 36px; margin-bottom: 16px; }
.ink-block a { color: var(--sign-yellow); }
.ink-block ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.faq { border-top: var(--bd-structural); }
.faq details { border-bottom: var(--bd-card); padding: 4px 0; }
.faq summary { min-height: 52px; display: flex; align-items: center; font-weight: 700; font-size: 19px; cursor: pointer; list-style: none; gap: 12px; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-head); font-size: 32px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; max-width: 680px; }
.ext-list { list-style: none; margin: 0; padding: 0; border-top: var(--bd-card); }
.ext-list li { border-bottom: var(--bd-card); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 14px 0; }
.ext-list a { font-weight: 700; }
.ext-list span { font-size: 14px; color: var(--muted); }
.box { background: var(--white); border: var(--bd-card); padding: 20px; }
.box__title { margin: 0 0 8px; font-family: var(--font-head); font-weight: 800; font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.otp ul { list-style: none; margin: 0; padding: 0; }
.otp a { display: flex; align-items: center; min-height: 44px; font-weight: 600; }
.class-box { display: flex; gap: 14px; align-items: flex-start; }
.class-box .marker { width: 40px; height: 40px; }
.class-box p { font-size: 15px; }

/* ---------- Affiliate block ---------- */
.affiliate { background: var(--white); border: var(--bd-structural); padding: 28px; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.affiliate__text { flex: 1 1 300px; min-width: 0; }
.affiliate__label { margin: 0 0 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.affiliate h2 { font-size: 32px; margin-bottom: 6px; }
.affiliate__more { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; }
.affiliate__more a { display: inline-flex; min-height: 44px; align-items: center; }
.affiliate__disclosure { flex-basis: 100%; font-size: 14px; color: var(--muted); }

/* ---------- Ad slots (placeholders) ---------- */
.ad { background: var(--ad-fill); border: var(--bd-ad); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ad-text); font-size: 13px; margin-inline: auto; width: 100%; }
.ad__label { text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; }
.ad--970x90 { max-width: 970px; min-height: 90px; }
.ad--728x90 { max-width: 728px; min-height: 90px; }
.ad--300x250 { max-width: 300px; min-height: 250px; }
.ad--336x280 { max-width: 336px; min-height: 280px; }
.ad--300x600 { max-width: 300px; min-height: 600px; }
.ad--320x100 { max-width: 320px; min-height: 100px; }
.ad--responsive, .ad--in-article, .ad--in-feed { min-height: 250px; }
.ad--desktop { display: flex; } .ad--mobile { display: none; }
@media (max-width: 767px) { .ad--desktop { display: none; } .ad--mobile { display: flex; } }
.sidebar-sticky { position: sticky; top: 24px; }
@media (max-width: 939px) { .sidebar-sticky { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); margin-top: 48px; }
.site-footer__cols { padding-block: 56px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
@media (max-width: 599px) { .site-footer__cols { grid-template-columns: 1fr 1fr; padding-block: 40px 24px; } .site-footer__brand { grid-column: 1 / -1; } }
.site-footer .wordmark__text { font-size: 28px; }
.site-footer p { color: var(--muted-on-ink); font-size: 15px; }
.site-footer__heading { margin: 0 0 8px; font-family: var(--font-head); font-weight: 700; font-size: 20px; text-transform: uppercase; color: var(--white) !important; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.site-footer ul a { color: var(--white); display: inline-flex; min-height: 44px; align-items: center; }
.site-footer ul a:hover { color: var(--sign-yellow); }
.site-footer__legal { padding-block: 20px 32px; border-top: 2px solid var(--divider-on-ink); color: var(--footnote-on-ink); font-size: 14px; }

/* ---------- Consent placeholder ---------- */
.consent-placeholder { display: none; }

/* ---------- Fixes after first screenshot pass ---------- */
.main-nav { min-width: 0; }
.header-search { flex: 0 1 240px; min-width: 180px; }
.js .dl-compact__selects { flex-direction: column; }
@media (max-width: 899px) { .js .wordmark { flex: 1 1 0; min-width: 0; } }
@media (max-width: 420px) { .js .wordmark__text { font-size: 22px; } .wordmark svg { width: 32px; height: 32px; } .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .card__media { padding: 10px; } }

/* ---------- Sign page layout (agent d pass) ----------
   Desktop: two columns. Column 2 holds "On this page" beside the intro + download zone, then the class box and the
   sticky 300x600 ad beside the reading zone only. So the sticky ad starts below "On this page" and is never level with
   a download control. Phone: one column - intro, collapsible "On this page", downloads, reading zone, class box. */
.sign-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--section-gap); align-items: start; }
.sign-intro { display: flex; flex-direction: column; gap: 16px; }
.sign-dl, .sign-read { display: flex; flex-direction: column; gap: var(--section-gap); min-width: 0; }
.sign-aside-top { min-width: 0; }
.sign-aside-bottom { display: flex; flex-direction: column; gap: 24px; min-width: 0; align-self: stretch; }
.sign-layout .ad { margin-inline: auto; }
@media (min-width: 940px) {
  .sign-layout {
    grid-template-columns: minmax(0, 1fr) 300px; column-gap: 40px;
    grid-template-areas: "intro aside" "dl aside" "read aside2";
  }
  .sign-intro { grid-area: intro; }
  .sign-aside-top { grid-area: aside; grid-row: 1 / 3; align-self: start; }
  .sign-dl { grid-area: dl; }
  .sign-read { grid-area: read; }
  .sign-aside-bottom { grid-area: aside2; }
}
@media (max-width: 939px) {
  .sign-layout { gap: 28px; }
  .sign-aside-top { order: 0; }
  .sign-intro { order: -1; }
  .sign-dl { order: 1; } .sign-read { order: 2; } .sign-aside-bottom { order: 3; }
}
.otp > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin: 0; }
.otp > summary::-webkit-details-marker { display: none; }
.otp > summary::after { content: "+"; font-size: 28px; line-height: 1; }
.otp[open] > summary::after { content: "\2212"; }
.otp[open] > summary { margin-bottom: 4px; }
@media (min-width: 940px) { .otp > summary { cursor: default; } .otp > summary::after { content: none !important; } }
@media (max-width: 939px) { .otp { padding: 0 14px; } .otp > summary { font-size: 20px; } .otp ul { padding-bottom: 8px; } }

/* ---------- Phone pass (C-Mobile-Home / C-Mobile-Sign) ---------- */
.site-footer__about { margin-top: 16px; }
@media (max-width: 599px) {
  .container { padding-inline: 16px; }
  .site-header__inner { padding-block: 10px; }
  .page-main__body { padding-block: 24px 16px; }
  h1 { font-size: 48px; line-height: 0.92; overflow-wrap: anywhere; hyphens: auto; }
  h2 { font-size: 36px; }
  .eyebrow { font-size: 15px; margin-bottom: 4px; }
  .breadcrumb { font-size: 14px; margin-bottom: 12px; }
  .breadcrumb ol { gap: 0 6px; }
  .dl-feature__panel h2 { font-size: 28px; }
  .ink-block, .dl-all, .affiliate { padding: 20px 16px; }
  .use-list { grid-template-columns: 1fr; gap: 8px; }
  .link-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .affiliate .btn { width: 100%; }
  .dl-all .btn { width: 100%; }
}
@media (max-width: 899px) {
  /* Design: search = white square button with 3px border, Menu = ink button. */
  .js .search-toggle { width: 48px; height: 48px; background: var(--white); color: var(--ink); }
  .js .search-toggle:hover { background: var(--paper); }
  .js .search-toggle[aria-expanded="true"] { background: var(--ink); color: var(--white); }
  .js .menu-toggle { min-height: 48px; background: var(--ink); color: var(--white); font-weight: 800; font-size: 18px; }
  .js .menu-toggle[aria-expanded="true"] { background: var(--white); color: var(--ink); }
  .js .header-search.is-open input { height: 48px; }
  .js .header-search.is-open .btn-icon { height: 48px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html { scroll-padding-top: 16px; }
@media (max-width: 599px) {
  .title-band__row { flex-wrap: nowrap; gap: 14px; align-items: center; }
  .title-band__text { flex: 1 1 0; }
  .title-band .marker { width: 56px; height: 56px; }
}
.affiliate__associate { text-transform: none; letter-spacing: 0; font-weight: 600; }

/* Builds with no ads (production before AdSense, html.no-ads): hide the empty ad wrappers and give the FAQ the full row. */
html.no-ads .ad, html.no-ads .fx-lb, html.no-ads .fx-mid, html.no-ads .fx-rail, html.no-ads .fx-faqrow__ad, html.no-ads .ad-anchor { display: none !important; }
html.no-ads .fx-compact .fx-faqrow { grid-template-columns: minmax(0, 1fr) !important; }
@media (min-width: 940px) {
  html.no-ads .fx-compact.sign-layout { grid-template-areas: "intro" "aside" "dl" "read" "aside2"; }
  html.no-ads .fx-compact .sign-aside-top { grid-row: 2 / 3; }
}
