/* Revista Condomínio — demo local */
:root {
  --ink: #102d3a;
  --ink-soft: #4f6670;
  --surface: #ffffff;
  --canvas: #f4f7f5;
  --line: #dbe5e1;
  --brand: #0c7662;
  --brand-dark: #075446;
  --brand-soft: #dff3eb;
  --accent: #e6a12e;
  --danger: #9b2c2c;
  --success: #166534;
  --shadow: 0 18px 48px rgba(16, 45, 58, .12);
  --shadow-sm: 0 8px 24px rgba(16, 45, 58, .09);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --container: 73rem;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 20rem;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--brand); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .6; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.editorial-art { display: grid; min-height: 11rem; place-items: center; overflow: hidden; color: #fff; text-decoration: none; background: linear-gradient(140deg, #0c7662, #102d3a 62%, #e6a12e); }
.editorial-art span { padding: .5rem .7rem; border: 1px solid rgba(255,255,255,.6); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.editorial-art--hero { min-height: 21rem; font-family: var(--font-display); font-size: clamp(2.2rem, 7vw, 4.8rem); font-weight: 700; line-height: .84; letter-spacing: -.07em; }
.editorial-art--hero > span { padding: 1rem; border: 0; font-size: inherit; letter-spacing: inherit; text-transform: none; }
.magazine-card__cover { aspect-ratio: 1; object-fit: cover; }
.article-card__image.magazine-card__cover { aspect-ratio: 1 / 1; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .65rem 1rem;
  color: #fff;
  background: var(--ink);
  border-radius: .5rem;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.section { padding: 4rem 0; }
.section--white { background: var(--surface); }
.section--tint { background: #eaf4f0; }
.section-heading { max-width: 45rem; margin-bottom: 2rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .65rem;
  color: var(--brand);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before { width: 1.75rem; height: 2px; background: currentColor; content: ''; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; }
h1, h2 { font-family: var(--font-display); }
h1 { margin-bottom: 1.1rem; font-size: clamp(2.45rem, 7vw, 5.3rem); letter-spacing: -.05em; }
h2 { margin-bottom: .8rem; font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.035em; }
h3 { margin-bottom: .55rem; font-size: 1.24rem; }
.lead { max-width: 42rem; color: var(--ink-soft); font-size: clamp(1.05rem, 2.2vw, 1.26rem); }
.muted { color: var(--ink-soft); }
.text-center { text-align: center; }
.section-heading.text-center { margin-inline: auto; }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.utility-bar { display: none; color: #dff3eb; background: var(--ink); font-size: .8rem; }
.utility-bar__inner, .header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.utility-bar a { color: inherit; text-decoration: none; }
.utility-links { display: flex; gap: 1rem; padding: .42rem 0; }
.header__inner { min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand__logo { display: block; width: 13.4rem; height: auto; max-width: min(13.4rem, 48vw); }
.nav-toggle { display: inline-grid; width: 2.75rem; height: 2.75rem; padding: 0; place-items: center; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: .65rem; }
.nav-toggle__lines, .nav-toggle__lines::before, .nav-toggle__lines::after { display: block; width: 1.2rem; height: 2px; background: currentColor; content: ''; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle__lines { position: relative; }
.nav-toggle__lines::before { position: absolute; top: -.38rem; }
.nav-toggle__lines::after { position: absolute; top: .38rem; }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines::after { top: 0; transform: rotate(-45deg); }
.site-nav { display: none; }
.site-nav.is-open { display: block; position: absolute; top: 100%; right: 0; left: 0; padding: .65rem 1rem 1rem; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.nav-list { display: grid; gap: .15rem; padding: 0; margin: 0; list-style: none; }
.nav-list a { display: block; padding: .7rem .85rem; color: var(--ink); font-size: .94rem; font-weight: 750; text-decoration: none; border-radius: .5rem; }
.nav-list a[aria-current="page"], .nav-list a:hover { color: var(--brand); background: var(--brand-soft); }
.header-actions { display: flex; align-items: center; gap: .45rem; }
.icon-button { display: inline-grid; width: 2.55rem; height: 2.55rem; padding: 0; place-items: center; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 50%; }
.icon-button:hover { color: var(--brand); background: var(--brand-soft); border-color: var(--brand-soft); }
.icon { width: 1.18rem; height: 1.18rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }

/* Components */
.button, .button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: .72rem 1.08rem;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: .62rem;
  box-shadow: 0 8px 18px rgba(12, 118, 98, .18);
  font-size: .91rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.button:hover, .button-link:hover { color: #fff; background: var(--brand-dark); border-color: var(--brand-dark); box-shadow: 0 12px 24px rgba(12, 118, 98, .25); transform: translateY(-2px); }
.button--secondary { color: var(--ink); background: var(--surface); border-color: var(--line); box-shadow: none; }
.button--secondary:hover { color: var(--brand); background: var(--brand-soft); border-color: var(--brand-soft); box-shadow: none; }
.button--dark { color: #fff; background: var(--ink); border-color: var(--ink); }
.button--dark:hover { background: #1d4a5c; border-color: #1d4a5c; }
.button--small { min-height: 2.45rem; padding: .55rem .8rem; font-size: .82rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.tag { display: inline-flex; align-items: center; min-height: 1.7rem; padding: .2rem .55rem; color: var(--brand-dark); background: var(--brand-soft); border-radius: 99rem; font-size: .7rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .75rem; color: var(--ink-soft); font-size: .8rem; }
.meta > * + *::before { padding-right: .75rem; color: #9aadab; content: '•'; }

/* Hero */
.hero { overflow: hidden; padding: 3.1rem 0 3.8rem; background: var(--surface); }
.hero__grid { display: grid; align-items: center; gap: 2rem; }
.hero__copy { position: relative; z-index: 1; }
.hero__copy h1 em { color: var(--brand); font-style: normal; }
.hero__copy .lead { margin-bottom: 1.55rem; }
.hero__visual { position: relative; min-height: 21rem; }
.hero__image { width: 100%; height: 100%; min-height: 21rem; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero__visual::after { position: absolute; right: -.45rem; bottom: -1rem; width: 8rem; height: 8rem; background: var(--accent); border-radius: 1.5rem; content: ''; opacity: .88; transform: rotate(15deg); z-index: 0; }
.hero__image, .hero__floating-card { position: relative; z-index: 1; }
.hero__floating-card { position: absolute; right: .8rem; bottom: 1rem; max-width: 14.5rem; padding: .9rem; background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.8); border-radius: .8rem; box-shadow: var(--shadow-sm); }
.hero__floating-card strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.trust-strip { padding: 1.3rem 0; background: var(--ink); }
.trust-strip__inner { display: grid; gap: 1rem; color: #fff; text-align: center; }
.trust-strip strong { display: block; color: #b7ebd9; font-family: var(--font-display); font-size: 1.65rem; }
.trust-strip span { color: #c5d4d8; font-size: .78rem; font-weight: 700; }

/* Editorial content */
.featured-grid { display: grid; gap: 1rem; }
.article-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 3px 12px rgba(16,45,58,.03); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.article-card:hover { border-color: #b9d6cc; box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.article-card__image-wrap { display: block; overflow: hidden; background: #d8e6e1; }
.article-card__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .45s ease; }
.article-card:hover .article-card__image { transform: scale(1.04); }
.article-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.15rem; }
.article-card__body h3 { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: -.03em; }
.article-card__body h3 a { text-decoration: none; }
.article-card__body h3 a:hover { text-decoration: underline; }
.article-card__excerpt { margin-bottom: 1.1rem; color: var(--ink-soft); font-size: .91rem; }
.article-card__footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; }
.article-card--featured .article-card__body { padding: 1.35rem; }
.article-card--featured .article-card__body h3 { font-size: clamp(1.7rem, 3.5vw, 2.25rem); }
.article-card.is-filtered-out { display: none; }
.article-grid { display: grid; gap: 1rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.35rem; }
.filter-button { padding: .5rem .8rem; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 99rem; font-size: .82rem; font-weight: 800; }
.filter-button:hover, .filter-button.is-active, .filter-button[aria-pressed="true"] { color: #fff; background: var(--brand); border-color: var(--brand); }
.filter-status { min-height: 1.6rem; margin: -.4rem 0 1.1rem; color: var(--ink-soft); font-size: .84rem; }
.empty-state { padding: 2.5rem 1rem; color: var(--ink-soft); text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Feature, statistics and selling sections */
.benefit-grid, .stat-grid, .steps-grid, .footer-grid { display: grid; gap: 1rem; }
.benefit { padding: 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.benefit__icon { display: grid; width: 2.7rem; height: 2.7rem; margin-bottom: 1rem; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: .75rem; }
.benefit p { margin-bottom: 0; color: var(--ink-soft); font-size: .92rem; }
.stat { padding: 1.2rem; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.stat strong { display: block; color: var(--brand); font-family: var(--font-display); font-size: 2.15rem; letter-spacing: -.06em; }
.stat span { color: var(--ink-soft); font-size: .8rem; font-weight: 700; }
.steps-grid { counter-reset: step; }
.step { position: relative; padding: 1rem 1rem 1rem 4rem; }
.step::before { position: absolute; top: .9rem; left: 0; display: grid; width: 2.7rem; height: 2.7rem; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 50%; content: counter(step, decimal-leading-zero); counter-increment: step; font-weight: 850; }
.step p { color: var(--ink-soft); font-size: .91rem; }
.cta-panel { position: relative; overflow: hidden; padding: 2rem; color: #fff; background: var(--ink); border-radius: var(--radius-lg); }
.cta-panel::after { position: absolute; right: -4rem; bottom: -5rem; width: 15rem; height: 15rem; background: var(--brand); border-radius: 50%; content: ''; opacity: .75; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: #fff; }
.cta-panel p { max-width: 41rem; color: #d5e2e5; }
.cta-panel .button--secondary { color: #fff; background: transparent; border-color: #71929b; }
.cta-panel .button--secondary:hover { color: var(--ink); background: #fff; border-color: #fff; }

/* Forms */
.form-card { padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: .85rem; font-weight: 800; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .76rem .85rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b9cbc5;
  border-radius: .5rem;
  line-height: 1.35;
}
.field input[type="checkbox"] { width: auto; padding: 0; margin-right: .35rem; vertical-align: middle; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(12,118,98,.16); outline: 0; }
.field-help { color: var(--ink-soft); font-size: .75rem; }
.form-note { margin: 1rem 0 0; color: var(--ink-soft); font-size: .78rem; }
.alert { padding: .9rem 1rem; margin-bottom: 1rem; border-left: 4px solid; border-radius: .45rem; font-size: .9rem; }
.alert--success { color: var(--success); background: #ecfdf3; border-color: #22c55e; }
.alert--error { color: var(--danger); background: #fff1f1; border-color: #ef4444; }
.field-error { color: var(--danger); font-size: .78rem; font-weight: 650; }

/* FAQ */
.faq { max-width: 48rem; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; color: var(--ink); background: transparent; border: 0; font-weight: 800; text-align: left; }
.faq-trigger__plus { position: relative; flex: 0 0 auto; width: 1.25rem; height: 1.25rem; color: var(--brand); }
.faq-trigger__plus::before, .faq-trigger__plus::after { position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: currentColor; content: ''; transform: translateY(-50%); transition: transform .2s ease; }
.faq-trigger__plus::after { transform: translateY(-50%) rotate(90deg); }
.faq-trigger[aria-expanded="true"] .faq-trigger__plus::after { transform: translateY(-50%) rotate(0); }
.faq-panel { padding: 0 2rem 1.1rem 0; color: var(--ink-soft); }
.faq-panel p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { color: #cbdce0; background: #092530; }
.footer-main { padding: 3rem 0 1.8rem; }
.footer-grid { grid-template-columns: 1fr; }
.site-footer .brand { margin-bottom: .75rem; }
.site-footer .brand__logo { filter: brightness(0) invert(1); }
.footer-about { max-width: 23rem; color: #aac1c8; font-size: .88rem; }
.footer-title { margin: 0 0 .75rem; color: #fff; font-size: .8rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.footer-list { display: grid; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.footer-list a { color: #cbdce0; font-size: .88rem; text-decoration: none; }
.footer-list a:hover { color: #aee4d0; text-decoration: underline; }
.footer-bottom { display: flex; flex-direction: column; gap: .5rem; padding: 1rem 0; border-top: 1px solid #23444f; color: #9eb6be; font-size: .77rem; }

/* Search modal */
.search-modal { position: fixed; z-index: 60; inset: 0; display: grid; padding: 1rem; place-items: start center; background: rgba(4, 20, 27, .7); overflow-y: auto; }
.search-modal__dialog { width: min(100%, 42rem); margin-top: max(4rem, 13vh); padding: 1.2rem; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.search-modal__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.search-modal__title { margin: 0; font-size: 1.35rem; }
.search-form { display: flex; gap: .5rem; }
.search-form input { min-width: 0; flex: 1; padding: .75rem .85rem; border: 1px solid #b9cbc5; border-radius: .55rem; }
.search-form input:focus { border-color: var(--brand); outline: 3px solid rgba(12,118,98,.15); }
.search-hint { margin: 1rem 0 0; color: var(--ink-soft); font-size: .82rem; }

/* Article and content pages */
.page-header { padding: 3.1rem 0 2.4rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.25rem; color: var(--ink-soft); font-size: .82rem; }
.breadcrumb a { color: inherit; }
.breadcrumb span[aria-hidden="true"] { color: #94a9af; }
.article-layout { display: grid; gap: 2rem; align-items: start; }
.article-content { min-width: 0; padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.article-content > * + * { margin-top: 1.15rem; }
.article-content h2, .article-content h3 { margin-bottom: 0; font-family: var(--font-display); }
.article-content p, .article-content li { color: #38515b; }
.article-content ul, .article-content ol { padding-left: 1.3rem; }
.article-content blockquote { padding: 1rem 1.1rem; margin: 1.5rem 0; color: var(--ink); background: var(--brand-soft); border-left: 4px solid var(--brand); font-family: var(--font-display); font-size: 1.25rem; }
.sidebar-card { padding: 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.sidebar-card + .sidebar-card { margin-top: 1rem; }
.reader-cover { width: min(100%, 31.25rem); aspect-ratio: 1; margin: 0 auto 2rem; object-fit: cover; border: 1px solid var(--line); border-radius: .75rem; box-shadow: var(--shadow-sm); }
.edition-details { display: grid; gap: .3rem; margin: 0; }
.edition-details dt { margin-top: .65rem; color: var(--ink-soft); font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.edition-details dt:first-child { margin-top: 0; }
.edition-details dd { margin: 0; color: var(--ink); }

/* Portal interativo */
.news-ticker { color: #d9ebe8; background: #092530; border-bottom: 1px solid #214852; }
.news-ticker__inner { display: flex; min-height: 2.85rem; align-items: center; gap: .75rem; overflow: hidden; }
.news-ticker__label { flex: 0 0 auto; color: #fff; font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.news-ticker__label::before { display: inline-block; width: .45rem; height: .45rem; margin-right: .38rem; background: var(--accent); border-radius: 50%; content: ''; }
.news-ticker__viewport { min-width: 0; overflow: hidden; }
.news-ticker__track { display: flex; width: max-content; align-items: center; gap: 2.2rem; white-space: nowrap; animation: news-roll 45s linear infinite; }
.news-ticker__track a { color: inherit; font-size: .79rem; font-weight: 650; text-decoration: none; }
.news-ticker__track a:hover { color: #fff; text-decoration: underline; }
.news-ticker__track span { margin-right: .42rem; color: #9ee0ca; font-size: .68rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.news-ticker__more { display: none; flex: 0 0 auto; color: #fff; font-size: .76rem; font-weight: 800; }
@keyframes news-roll { from { transform: translateX(0); } to { transform: translateX(-25%); } }
.portal-hero { padding: 2.3rem 0 3.3rem; background: linear-gradient(150deg, #ffffff 0%, #f2faf6 60%, #e2f1ed 100%); }
.portal-hero__grid { display: grid; gap: 1.1rem; align-items: stretch; }
.lead-story { padding: 1rem 0; }
.lead-story h1 { max-width: 13ch; margin-bottom: .9rem; font-size: clamp(2.65rem, 7vw, 5.8rem); }
.portal-hero__side { display: grid; }
.headline-card { display: flex; min-height: 100%; flex-direction: column; padding: 1.1rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); text-decoration: none; }
.headline-card:hover { color: var(--ink); border-color: #9cccbf; }
.headline-card__art { min-height: 11rem; margin-bottom: 1rem; border-radius: .85rem; }
.headline-card strong { margin-top: .8rem; font-family: var(--font-display); font-size: clamp(1.65rem, 3vw, 2.3rem); line-height: 1.02; letter-spacing: -.04em; }
.headline-card small { margin-top: .85rem; color: var(--ink-soft); font-size: .9rem; line-height: 1.45; }
.headline-card em { margin-top: auto; padding-top: 1rem; color: var(--brand); font-size: .82rem; font-style: normal; font-weight: 850; }
.quick-links { background: var(--ink); }
.quick-links__grid { display: grid; }
.quick-links__grid a { display: grid; gap: .18rem; padding: 1.25rem 1rem; color: #eef8f6; border-bottom: 1px solid #244852; text-decoration: none; }
.quick-links__grid a:hover { color: #fff; background: #123945; }
.quick-links__grid b { font-size: .92rem; }
.quick-links__grid span { color: #afc9cf; font-size: .77rem; }
.portal-section-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.portal-section-top .section-heading { margin: 0; }
.portal-section-top > a { color: var(--brand-dark); font-size: .86rem; font-weight: 850; }
.topic-grid { display: grid; gap: .8rem; }
.topic-card { display: grid; min-height: 13.5rem; padding: 1.1rem; color: var(--ink); text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 10px rgba(16,45,58,.03); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
button.topic-card { font: inherit; }
.topic-card:hover, .topic-card:focus-visible { color: var(--ink); border-color: #8ec8b7; box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.topic-card__step { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: .65rem; font-size: .76rem; font-weight: 850; }
.topic-card strong { margin-top: 1.3rem; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -.035em; }
.topic-card > span:not(.topic-card__step) { color: var(--ink-soft); font-size: .87rem; line-height: 1.42; }
.topic-card small { margin-top: auto; padding-top: 1rem; color: var(--brand-dark); font-size: .76rem; font-weight: 850; }
.collection-layout { display: grid; gap: 2rem; align-items: center; }
.collection-cover { width: min(100%, 24rem); justify-self: center; overflow: hidden; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 1.1rem; box-shadow: var(--shadow); text-decoration: none; }
.collection-cover img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.collection-cover span { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .85rem 1rem; font-size: .84rem; font-weight: 800; }
.collection-cover em { color: var(--brand); font-size: .75rem; font-style: normal; white-space: nowrap; }
.section--dark { color: #d7e8e7; background: #092530; }
.section--dark h2 { color: #fff; }
.section--dark .eyebrow { color: #9ee0ca; }
.guide-panel { display: grid; gap: 1.5rem; align-items: center; }
.guide-panel p:not(.eyebrow) { max-width: 40rem; margin-bottom: 0; color: #b8d0d3; }
.guide-panel__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.guide-panel .button--secondary { color: #fff; background: transparent; border-color: #67909a; }
.guide-panel .button--secondary:hover { color: var(--ink); background: #fff; border-color: #fff; }
.page-header--guide { background: linear-gradient(140deg, #f7fcfa, #e4f3ee); }
.compact-list { display: grid; gap: .8rem; padding-left: 1.2rem; margin-bottom: 0; color: var(--ink-soft); }


@media (min-width: 36rem) {
  .container { width: min(calc(100% - 3rem), var(--container)); }
  .hero__visual { min-height: 26rem; }
  .hero__image { min-height: 26rem; }
  .article-grid, .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr repeat(2, 1fr); }
  .quick-links__grid { grid-template-columns: repeat(2, 1fr); }
  .quick-links__grid a:nth-child(odd) { border-right: 1px solid #244852; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 48rem) {
  .utility-bar { display: block; }
  .nav-toggle { display: none; }
  .site-nav { display: block; margin-left: auto; }
  .nav-list { display: flex; align-items: center; gap: .1rem; }
  .nav-list a { padding: .45rem .62rem; font-size: .83rem; }
  .header-actions { margin-left: .25rem; }
  .hero { padding: 4.8rem 0; }
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .95fr); gap: clamp(2rem, 5vw, 4.5rem); }
  .trust-strip__inner { grid-template-columns: repeat(4, 1fr); }
  .featured-grid { grid-template-columns: 1.3fr 1fr; }
  .featured-grid .article-card--featured { grid-row: span 2; }
  .article-grid { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .cta-panel { padding: 3rem; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 18rem; }
  .news-ticker__more { display: block; }
  .portal-hero { padding: 3.7rem 0 4.4rem; }
  .portal-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(19rem, .8fr); gap: 2.4rem; }
  .headline-card { padding: 1.35rem; }
  .quick-links__grid { grid-template-columns: repeat(4, 1fr); }
  .quick-links__grid a { min-height: 6.75rem; border-right: 1px solid #244852; border-bottom: 0; }
  .quick-links__grid a:nth-child(odd) { border-right: 1px solid #244852; }
  .quick-links__grid a:last-child { border-right: 0; }
  .collection-layout { grid-template-columns: minmax(0, 1.1fr) minmax(17rem, .7fr); gap: 4rem; }
  .guide-panel { grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; }
}
@media (min-width: 64rem) {
  .section { padding: 5.5rem 0; }
  .nav-list { gap: .35rem; }
  .nav-list a { padding-inline: .76rem; font-size: .88rem; }
  .footer-grid { grid-template-columns: 1.75fr repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .news-ticker__track { animation: none; width: auto; overflow-x: auto; }
}
