/* Pelecura — calamine, zinc and aubergine. One memorable device: the dab (a soft blob with a dark dot).
   Psychology notes:
   - Calamine pink = the lotion people reach for when skin itches; it signals relief before a word is read.
   - Zinc green-grey = zinc oxide and clinical calm; green also reads as "safe / go" in the checker.
   - Aubergine instead of black: authority without clinical coldness.
   - Fraunces with its SOFT axis maxed: a serif (expertise, editorial trust) with rounded terminals (gentleness).
   - Figtree for body text: friendly, very legible. Easy-to-read text is judged more trustworthy (processing fluency). */
@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/fraunces.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/assets/fonts/figtree.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }

:root {
  --paper: #F5F8F6;
  --surface: #FFFFFF;
  --ink: #261A33;
  --muted: #5E5369;
  --line: #D3DCD7;
  --calamine: #F4C7C0;
  --calamine-soft: #FBE4E0;
  --zinc: #DDE7E2;
  --butter: #F6E3B4;
  --rose: #A3304F;
  --leaf: #2F6B5A;
  --display: 'Fraunces', ui-serif, Georgia, serif;
  --body: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
  --radius-dab: 46% 54% 52% 48% / 55% 45% 55% 45%;
  color-scheme: light;
}
[data-theme='dark'] {
  --paper: #1B1424;
  --surface: #241B2F;
  --ink: #F2ECF5;
  --muted: #B9AEC4;
  --line: #3B3047;
  --calamine: #E7A99F;
  --calamine-soft: #3A2630;
  --zinc: #22302B;
  --butter: #3C3220;
  --rose: #F09AB0;
  --leaf: #8FD0B9;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #1B1424; --surface: #241B2F; --ink: #F2ECF5; --muted: #B9AEC4; --line: #3B3047;
    --calamine: #E7A99F; --calamine-soft: #3A2630; --zinc: #22302B; --butter: #3C3220; --rose: #F09AB0; --leaf: #8FD0B9;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }
h1, h2, h3, .brand, .concern-text, .checker-q, .post-row-title, .callout-label, .short-answer-label, .checker-verdict, .toc-h, .faq summary, .author-name {
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
.fine { font-size: .875rem; color: var(--muted); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); text-decoration: none; font: 650 1.6rem/1 var(--display); letter-spacing: -0.03em; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.main-nav { display: flex; gap: 1.4rem; margin-left: auto; font-weight: 550; font-size: .97rem; }
.main-nav a { color: var(--ink); text-decoration: none; padding: .35rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { border-color: var(--calamine); }
.header-actions { display: flex; gap: .25rem; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); border-radius: 50%; cursor: pointer; }
.icon-btn:hover { background: var(--zinc); }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn { display: none; }
@media (max-width: 920px) {
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: .5rem 1.25rem 1.25rem; background: var(--paper); border-bottom: 1px solid var(--line); font: 650 1.3rem/1.2 var(--display); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: grid; }
  .header-actions { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem); overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 560; letter-spacing: -0.03em; line-height: .98; max-width: 11ch; position: relative; z-index: 1; }
.hero-sub { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 40ch; margin: 1.4rem 0 0; position: relative; z-index: 1; }
.hero-blob { position: absolute; right: -4%; top: -30%; width: min(48vw, 560px); aspect-ratio: 1; background: var(--calamine); border-radius: var(--radius-dab); animation: breathe 9s ease-in-out infinite; }
.hero-blob::after { content: ''; position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); top: 22%; right: 20%; }
@keyframes breathe { 50% { border-radius: 54% 46% 45% 55% / 47% 55% 45% 53%; transform: rotate(4deg) scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .hero-blob { animation: none; } }
@media (max-width: 720px) { .hero-blob { width: 62vw; right: -22%; top: -12%; opacity: .9; } }

.concerns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(2rem, 4vw, 3rem); position: relative; z-index: 1; }
.concern { display: flex; flex-direction: column; gap: .15rem; padding: .9rem 1.3rem 1rem; border: 2px solid var(--ink); border-radius: 999px 999px 999px 999px; background: var(--surface); color: var(--ink); text-decoration: none; transition: background .15s, transform .15s; }
.concern-text { font: 650 clamp(1.05rem, 1.8vw, 1.25rem)/1.2 var(--display); letter-spacing: -0.01em; }
.concern-topic { font-size: .82rem; color: var(--leaf); font-weight: 600; }
.concern:hover { background: var(--calamine); transform: translateY(-2px); }
.concern:active { transform: none; }

/* ---------- Sections ---------- */
.section-h { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 1.2rem; display: flex; align-items: center; gap: .6rem; }
.section-h::before { content: ''; width: .55em; height: .55em; border-radius: 50%; background: var(--calamine); box-shadow: inset -.12em -.12em 0 0 color-mix(in srgb, var(--ink) 18%, transparent); flex: none; }
.featured, .checker-band, .latest, .related { margin-block: clamp(2.5rem, 6vw, 4.5rem); }

.featured-card { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; color: inherit; text-decoration: none; }
.featured-card img { border-radius: 28px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.featured-card h3 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: .4rem 0 .8rem; }
.featured-card:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.featured-card:not(:has(img)) { grid-template-columns: 1fr; background: var(--calamine-soft); padding: clamp(1.5rem, 4vw, 3rem); border-radius: 28px; }
.short-answer-mini { font-size: 1.08rem; color: var(--muted); margin: 0 0 .8rem; }
@media (max-width: 760px) { .featured-card { grid-template-columns: 1fr; } }

.post-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.post-row { border-bottom: 1px solid var(--line); }
.post-row a { display: grid; grid-template-columns: 11rem 1fr auto; gap: .3rem 1.5rem; padding: 1.25rem .25rem; color: inherit; text-decoration: none; }
.post-row-cat { font-size: .85rem; font-weight: 650; color: var(--leaf); padding-top: .35rem; }
.post-row-title { font: 700 clamp(1.2rem, 2.2vw, 1.45rem)/1.2 var(--display); letter-spacing: -0.015em; grid-column: 2; }
.post-row-answer { grid-column: 2; color: var(--muted); font-size: .98rem; max-width: 70ch; }
.post-row-meta { grid-column: 3; grid-row: 1; font-size: .85rem; color: var(--muted); padding-top: .35rem; white-space: nowrap; }
.post-row a:hover .post-row-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.post-row a:not(:has(.post-row-cat)) { grid-template-columns: 1fr; }
.post-row a:not(:has(.post-row-cat)) .post-row-title { grid-column: 1; }
@media (max-width: 680px) {
  .post-row a { grid-template-columns: 1fr; }
  .post-row-title, .post-row-answer, .post-row-meta { grid-column: 1; grid-row: auto; padding: 0; }
  .post-row-cat { padding: 0; }
}
.empty { color: var(--muted); padding: 1rem 0; }

/* ---------- Ingredient checker ---------- */
.checker { background: var(--surface); border: 2px solid var(--ink); border-radius: 32px; padding: clamp(1.4rem, 4vw, 2.8rem); }
.checker-q { font: 560 clamp(1.6rem, 4.4vw, 2.9rem)/1.25 var(--display); letter-spacing: -0.02em; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .15em .3em; }
.checker select { font: inherit; letter-spacing: inherit; color: var(--rose); background: transparent; border: 0; border-bottom: 3px solid var(--calamine); padding: 0 1.1em 0 0; cursor: pointer; appearance: none; max-width: 100%;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right .35em center, right .12em center; background-size: .24em .24em; background-repeat: no-repeat; }
.checker select option { color: var(--ink); background: var(--surface); font-size: 1rem; }
.checker-result { margin-top: 1.5rem; padding: 1.1rem 1.3rem; border-radius: 20px; background: var(--zinc); max-width: 62ch; transition: background .2s; }
.checker-result[data-verdict='space'] { background: var(--butter); }
.checker-result[data-verdict='caution'] { background: var(--calamine-soft); }
.checker-verdict { font: 750 1.2rem/1.2 var(--display); margin: 0 0 .3rem; }
.checker-result[data-verdict='good'] .checker-verdict { color: var(--leaf); }
.checker-result[data-verdict='caution'] .checker-verdict { color: var(--rose); }
.checker-text { margin: 0; }
.checker-more { margin: 1rem .4rem 0; font-weight: 600; }
.checker-compact .checker-q { font-size: clamp(1.4rem, 3.4vw, 2.3rem); }
.matrix-wrap { margin-block: 3rem; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; font-size: .9rem; }
.key { width: 1rem; height: 1rem; border-radius: 4px; display: inline-block; margin-right: -.6rem; }
.matrix { border-collapse: separate; border-spacing: 3px; font-size: .82rem; }
.matrix th { font-weight: 600; text-align: left; white-space: nowrap; padding: .2rem .5rem; }
.matrix thead th { vertical-align: bottom; height: 9rem; }
.matrix thead th span { writing-mode: vertical-rl; transform: rotate(180deg); display: inline-block; }
.matrix td { width: 2rem; height: 2rem; border-radius: 6px; }
.cell-good { background: var(--zinc); } .cell-space { background: var(--butter); } .cell-caution { background: var(--calamine); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--ink); color: var(--paper); margin-top: clamp(3rem, 7vw, 5rem); padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.newsletter-inner { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.newsletter h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 550; }
.newsletter p { color: color-mix(in srgb, var(--paper) 80%, transparent); max-width: 52ch; }
.nl-form { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.nl-form input[type=email] { flex: 1 1 16rem; font: inherit; padding: .95rem 1.25rem; border-radius: 999px; border: 2px solid transparent; background: var(--paper); color: var(--ink); }
.nl-form button, .btn, .search-form button, .contact-form button { font: 700 1rem/1 var(--body); padding: 1rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer; background: var(--calamine); color: #261A33; text-decoration: none; display: inline-block; }
.nl-form button:hover, .btn:hover { filter: brightness(1.05); }
.nl-msg { flex-basis: 100%; margin: .3rem .4rem 0; min-height: 1.4em; font-weight: 600; color: var(--calamine) !important; }
.newsletter .cf-turnstile { flex-basis: 100%; }
.newsletter-compact { margin-top: 3rem; }

/* ---------- Article ---------- */
.article-head { padding-top: clamp(1.5rem, 4vw, 2.75rem); max-width: 880px; margin-left: max(1.25rem, calc((100% - var(--wrap)) / 2 + 280px)); }
@media (max-width: 1000px) { .article-head { margin-inline: auto; } }
.crumbs { display: flex; gap: .5rem; font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--leaf); font-weight: 600; text-decoration: none; }
.article h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 580; letter-spacing: -0.025em; }
.byline { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; color: var(--muted); font-size: .92rem; margin: 1.1rem 0 0; }
.byline a { color: inherit; }
.short-answer { position: relative; margin-top: 1.8rem; background: var(--calamine); color: #261A33; padding: 1.4rem 1.6rem 1.5rem; border-radius: 30px 30px 30px 8px; font-size: 1.14rem; line-height: 1.55; max-width: 68ch; }
.short-answer::after { content: ''; position: absolute; top: -10px; right: 26px; width: 26px; height: 26px; border-radius: 50%; background: #261A33; }
.short-answer-label { font: 750 .95rem/1 var(--display); margin: 0 0 .6rem; }
.short-answer p { margin: 0; }
.short-answer a { color: #261A33; }
[data-theme='dark'] .short-answer::after { background: var(--calamine); box-shadow: 0 0 0 3px var(--paper); }
.cover { margin: 2rem auto 0; }
.cover img { border-radius: 28px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; margin-top: 2.5rem; }
.article-side { position: relative; }
.toc { position: sticky; top: 92px; font-size: .92rem; }
.toc-h { font: 700 .95rem/1 var(--display); margin: 0 0 .8rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: .35rem 0 .35rem .9rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--ink); border-color: var(--rose); font-weight: 600; }
@media (max-width: 1000px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; gap: 1.5rem; }
  .toc { position: static; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.1rem 1.2rem; }
  .ad-side { display: none; }
}

.prose { max-width: 68ch; font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.15em; }
.prose :where(p, ul, ol) { margin-block: 0; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.32rem; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose ul { list-style: none; padding-left: 1.4em; }
.prose ul > li { position: relative; }
.prose ul > li::before { content: ''; position: absolute; left: -1.15em; top: .62em; width: .5em; height: .5em; border-radius: 50%; background: var(--calamine); box-shadow: inset -.1em -.1em 0 0 color-mix(in srgb, var(--ink) 25%, transparent); }
.prose ol { padding-left: 1.4em; }
.prose ol > li::marker { font: 700 1em var(--display); color: var(--rose); }
.prose li + li { margin-top: .4em; }
.prose li > p + p { margin-top: .5em; }
.prose strong { font-weight: 700; }
.prose blockquote { margin-inline: 0; padding-left: 1.2rem; border-left: 4px solid var(--calamine); font-style: italic; color: var(--muted); }
.prose figure { margin-inline: 0; }
.prose figure img { border-radius: 20px; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: .5rem; }
.prose code { font-size: .9em; background: var(--zinc); padding: .1em .35em; border-radius: 6px; }
.prose hr { border: 0; height: 2px; background: var(--line); margin-block: 2.5em; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose table { border-collapse: collapse; width: 100%; font-size: .98rem; line-height: 1.45; }
.prose th { text-align: left; font-weight: 700; border-bottom: 2px solid var(--ink); padding: .6rem .7rem .6rem 0; }
.prose td { border-bottom: 1px solid var(--line); padding: .6rem .7rem .6rem 0; vertical-align: top; }
.callout { border-radius: 22px; padding: 1.1rem 1.3rem; background: var(--zinc); font-size: 1.04rem; }
.callout > * + * { margin-top: .6em; }
.callout p { margin: 0; }
.callout-label { font: 750 1rem/1 var(--display); color: var(--leaf); }
.callout-warning { background: var(--butter); }
.callout-warning .callout-label { color: inherit; }
.callout-doctor { background: var(--surface); border: 2px solid var(--rose); }
.callout-doctor .callout-label { color: var(--rose); }
.callout-verdict { background: var(--ink); color: var(--paper); }
.callout-verdict .callout-label { color: var(--calamine); }
.callout-verdict a { color: var(--calamine); }

.faq { margin-top: 3rem; }
.faq h2 { margin-bottom: 1rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font: 650 1.15rem/1.35 var(--display); padding: 1rem 2rem 1rem 0; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .2rem; top: .85rem; font-size: 1.5rem; line-height: 1; color: var(--rose); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.1rem; }
.disclaimer { margin-top: 2.5rem; font-size: .92rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 1rem; }
.author-box { margin-top: 2rem; padding: 1.2rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; font-size: 1rem; }
.author-box p { margin: 0; }
.author-name { font: 700 1.05rem var(--display); margin-bottom: .3rem !important; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags a { font-size: .88rem; padding: .35rem .8rem; border-radius: 999px; background: var(--zinc); color: var(--ink); text-decoration: none; }
.share { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.share a, .share button { font: 650 .95rem/1 var(--body); padding: .8rem 1.1rem; border-radius: 999px; border: 2px solid var(--ink); background: none; color: var(--ink); cursor: pointer; text-decoration: none; }
.share a:hover, .share button:hover { background: var(--calamine); color: #261A33; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 30; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--rose); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Ads ---------- */
.ad { margin: 2rem 0; text-align: center; }
.ad-inline { min-height: 280px; }
.ad-side { margin-top: 2rem; position: sticky; top: 420px; }
.ad-label { display: block; font-size: .72rem; color: var(--muted); margin-bottom: .3rem; }

/* ---------- Topic, search, misc ---------- */
.topic-head { padding-block: clamp(2rem, 5vw, 3.5rem) 1.5rem; }
.topic-head h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 560; letter-spacing: -0.03em; }
.topic-concern { font: 650 1.15rem/1.3 var(--display); color: var(--leaf); margin: 0 0 .5rem; }
.topic-blurb { font-size: 1.15rem; color: var(--muted); max-width: 60ch; margin: 1rem 0 0; }
.pager { display: flex; justify-content: space-between; margin-top: 1.5rem; font-weight: 650; }
.search-form { display: flex; gap: .6rem; margin-top: 1.4rem; max-width: 640px; }
.search-form input { flex: 1; font: inherit; font-size: 1.1rem; padding: .9rem 1.2rem; border-radius: 999px; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); }
.result-count { color: var(--muted); }
.message { padding-block: clamp(3rem, 8vw, 6rem) 1rem; max-width: 640px; }
.message h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.prose-page { margin-block: 1.5rem 3rem; }
.page .article-head { margin-inline: auto; max-width: none; }
.contact-form { display: grid; gap: 1rem; max-width: 620px; margin-bottom: 3rem; }
.contact-form label { display: grid; gap: .35rem; font-weight: 600; }
.contact-form input, .contact-form textarea { font: inherit; padding: .8rem 1rem; border-radius: 16px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ink); outline: none; }
.contact-form button { justify-self: start; background: var(--ink); color: var(--paper); }
.contact-form .nl-msg { color: var(--leaf) !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--zinc); padding: 3.5rem 0 1.5rem; }
.newsletter + .site-footer, main:has(> .newsletter:last-of-type) + .site-footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h2 { font-size: 1rem; margin-bottom: .8rem; }
.footer-grid nav, .footer-social { display: flex; flex-direction: column; gap: .45rem; }
.footer-grid a { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-brand p { margin: .8rem 0 0; max-width: 34ch; }
.copyright { margin-top: 2.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
main { min-height: 50vh; }

/* ---------- Trust + newsletter extras ---------- */
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; padding: 0; margin: 1.6rem 0 0; font-size: .95rem; color: var(--muted); position: relative; z-index: 1; }
.trust li { display: flex; align-items: center; gap: .5rem; }
.trust li::before { content: ''; width: .55em; height: .55em; border-radius: 50%; background: var(--leaf); flex: none; }
.nl-proof { font-size: .92rem; margin-top: .8rem !important; }
.nl-gift { display: inline-block; font-weight: 650; color: var(--calamine) !important; margin-bottom: .4rem !important; }
