/*
Theme Name: familjebutler.se
Theme URI: https://geoa.app
Author: AddonNordic ApS
Author URI: https://addonnordic.dk
Description: Block theme ported 1:1 from the Figma Make design (eKLMyFcI9wum9gu9tKlJGt). Tokens in theme.json, components here. Design lives in the repo, never in the site editor.
Version: 1.5.2
Requires at least: 6.6
Requires PHP: 8.0
License: Proprietary
Text Domain: familjebutler-se
*/

/* ============================================================
   TOKENS (mirrors theme.json — kept as plain custom properties so
   the component CSS below is identical to the Figma Make source)
   ============================================================ */
:root {
  --color-bg:           var(--wp--preset--color--bg, #F7F8F6);
  --color-surface:      var(--wp--preset--color--surface, #FFFFFF);
  --color-ink:          var(--wp--preset--color--ink, #1A1F1C);
  --color-ink-muted:    var(--wp--preset--color--ink-muted, #5C6560);
  --color-accent:       var(--wp--preset--color--accent, #0D7A5F);
  --color-accent-hover: var(--wp--preset--color--accent-hover, #0A6350);
  --color-accent-ink:   var(--wp--preset--color--accent-ink, #FFFFFF);
  --color-border:       var(--wp--preset--color--border, #DDE0DB);
  --color-success:      var(--wp--preset--color--success, #1A7A45);
  --color-warning:      var(--wp--preset--color--warning, #9A6F00);
  --color-danger:       var(--wp--preset--color--danger, #B83A2E);
  --color-band-alt:     var(--wp--preset--color--band-alt, #EEF0ED);

  --font-display: var(--wp--preset--font-family--display, 'Fraunces', Georgia, serif);
  --font-body:    var(--wp--preset--font-family--body, 'Instrument Sans', system-ui, sans-serif);

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  2.5rem;
  --space-8:  3rem;
  --space-9:  4rem;
  --space-10: 5rem;

  --radius-s:    4px;
  --radius-m:    10px;
  --radius-pill: 9999px;

  --max-w:      1200px;
  --max-w-text: 720px;
}

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin-top: 0; line-height: 1.15; }
p { margin-top: 0; }

a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--color-accent-hover); }

img, svg { display: block; max-width: 100%; }
ul, ol { padding-left: 1.25em; }

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.t-display { font-family: var(--font-display); font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
.t-h1 { font-family: var(--font-display); font-size: clamp(1.875rem, 4vw, 2.875rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; }
.t-h2 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); font-weight: 600; letter-spacing: -0.01em; }
.t-h3 { font-size: 1.125rem; font-weight: 600; }
.t-small { font-size: 0.875rem; color: var(--color-ink-muted); }
.t-muted { color: var(--color-ink-muted); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--space-5); }
.section { padding-block: var(--space-9); }
.section--alt { background: var(--color-band-alt); }
.section--surface { background: var(--color-surface); }

/* ============================================================
   BUTTONS (.btn = Figma source; .wp-block-button__link and .hst-cta =
   the same style applied to WordPress' own markup)
   ============================================================ */
.btn,
.wp-block-button__link,
.hst-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.625rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
  border: 2px solid transparent;
  line-height: 1.2;
}

.btn--primary,
.wp-block-button__link,
.hst-cta a {
  background: var(--color-accent);
  color: var(--color-accent-ink);
  border-color: var(--color-accent);
}
.btn--primary:hover,
.wp-block-button__link:hover,
.hst-cta a:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-accent-ink);
  text-decoration: none;
}

.btn--outline { background: transparent; color: var(--color-accent); border-color: var(--color-accent); }
.btn--outline:hover { background: var(--color-accent); color: var(--color-accent-ink); text-decoration: none; }

.btn--white { background: var(--color-surface); color: var(--color-accent); border-color: var(--color-surface); }
.btn--white:hover { background: var(--color-band-alt); border-color: var(--color-band-alt); color: var(--color-accent); text-decoration: none; }

.btn--lg { font-size: 1.0625rem; padding: 0.875rem 2rem; }

.hst-cta { margin: var(--space-6) 0; }
@media (max-width: 639px) { .hst-cta a, .hero .btn { white-space: normal; text-align: center; } }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner { height: 64px; gap: var(--space-5); }

.site-header__logo,
.site-header__logo a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  margin: 0;
}
.site-header__logo a:hover { color: var(--color-accent-hover); text-decoration: none; }

/* Core navigation block, styled as the Figma header nav */
.site-header__nav { flex: 1; }
.site-header__nav .wp-block-navigation__container { gap: var(--space-4); }
.site-header__nav .wp-block-navigation-item__content {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
}
.site-header__nav .wp-block-navigation-item__content:hover { color: var(--color-accent); }
.site-header__nav .current-menu-item > .wp-block-navigation-item__content { color: var(--color-accent); }

.site-header__cta { display: none; margin-left: auto; }

/* Figma breaks at 960; core's overlay breaks at 600. Keep the burger
   up to 959px and hide the row menu until then. */
@media (min-width: 600px) and (max-width: 959px) {
  .site-header__nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .site-header__nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
/* Set by the script in parts/header.html when the menu can't fit in front of the CTA at any width. */
@media (min-width: 600px) {
  .site-header--burger .site-header__nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .site-header--burger .site-header__nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
/* A backdrop-filter on the header makes it the containing block for the fixed menu overlay, so the open
   menu was clipped to the header's 77px (only the first item showed). Drop the blur while the menu is open. */
.site-header:has(.is-menu-open) { -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header__nav .wp-block-navigation__responsive-container-open { margin-left: auto; color: var(--color-ink); }
.site-header__nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--color-surface); padding: var(--space-6); }
.site-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.125rem; }

@media (min-width: 960px) {
  .site-header__cta { display: inline-flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-block: var(--space-10) var(--space-9); background: var(--color-bg); }
.hero__inner { display: grid; gap: var(--space-8); align-items: center; }
.hero__content { max-width: 600px; }
.hero__eyebrow { display: inline-block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-4); }
.hero__h1 { margin-bottom: var(--space-5); }
.hero__lead { font-size: 1.125rem; color: var(--color-ink-muted); margin-bottom: var(--space-6); max-width: 52ch; }
.hero__form { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-4); }
.hero__input-wrap { display: flex; flex-direction: column; gap: var(--space-3); }
.hero__input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8125rem 1.125rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-m);
  background: var(--color-surface);
  color: var(--color-ink);
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}
.hero__input:focus { border-color: var(--color-accent); }
.hero__input::placeholder { color: var(--color-ink-muted); }
.hero__note { font-size: 0.8125rem; color: var(--color-ink-muted); margin: 0; }

@media (min-width: 640px) {
  .hero__input-wrap { flex-direction: row; }
  .hero__input-wrap .hero__input { flex: 1; }
  .hero__input-wrap .btn { flex-shrink: 0; }
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1fr 420px; }
}

/* ============================================================
   CHECK REPORT ILLUSTRATION
   ============================================================ */
.check-report { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-m); padding: var(--space-5); box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.check-report__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-border); }
.check-report__title { font-size: 0.8125rem; font-weight: 700; color: var(--color-ink-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.check-report__score { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--color-accent); }
.check-report__rows { display: flex; flex-direction: column; gap: var(--space-2); }
.check-report__row { display: flex; align-items: center; gap: var(--space-3); font-size: 0.875rem; padding: var(--space-2) 0; border-bottom: 1px solid var(--color-border); }
.check-report__row:last-child { border-bottom: none; }
.check-icon { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.check-icon--ok   { background: color-mix(in srgb, var(--color-success) 12%, transparent); }
.check-icon--warn { background: color-mix(in srgb, var(--color-warning) 12%, transparent); }
.check-icon--fail { background: color-mix(in srgb, var(--color-danger) 12%, transparent); }
.check-icon--ok svg   { color: var(--color-success); }
.check-icon--warn svg { color: var(--color-warning); }
.check-icon--fail svg { color: var(--color-danger); }
.check-report__label { flex: 1; color: var(--color-ink); }
.check-report__label--muted { color: var(--color-ink-muted); }

/* ============================================================
   CHECKPOINTS GRID
   ============================================================ */
.checkpoints__intro { max-width: 56ch; margin-bottom: var(--space-7); }
.checkpoints-grid { display: grid; gap: var(--space-4) var(--space-7); list-style: none; padding: 0; margin: 0; }
.checkpoint { display: flex; gap: var(--space-3); align-items: flex-start; }
.checkpoint__icon { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); margin-top: 0.55em; }
.checkpoint__title { font-weight: 600; }
.checkpoint p { margin: 0; font-size: 0.9375rem; }
@media (min-width: 640px) { .checkpoints-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: grid; gap: var(--space-6); list-style: none; padding: 0; margin: 0 0 var(--space-7); counter-reset: step; }
.step { display: flex; gap: var(--space-4); align-items: flex-start; counter-increment: step; }
.step__num { flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 700; font-size: 0.9375rem; display: flex; align-items: center; justify-content: center; }
.step__num::before { content: counter(step); }
.step__body { flex: 1; padding-top: 0.3rem; }
.step__title { font-weight: 600; margin-bottom: var(--space-1); }
.step p { margin: 0; color: var(--color-ink-muted); font-size: 0.9375rem; }
.step .step__title { color: var(--color-ink); }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); } .step { flex-direction: column; } }

/* ============================================================
   STAT TILES
   ============================================================ */
.stat-tiles { display: grid; gap: var(--space-5); margin-bottom: var(--space-7); }
.stat-tile { padding: var(--space-6); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-m); }
.stat-tile__number { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 700; color: var(--color-ink); line-height: 1; margin-bottom: var(--space-2); letter-spacing: -0.02em; }
.stat-tile__label { font-size: 1rem; font-weight: 500; color: var(--color-ink); margin-bottom: var(--space-2); }
.stat-tile__source { font-size: 0.8125rem; color: var(--color-ink-muted); margin: 0; }
@media (min-width: 640px) { .stat-tiles { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   TOOL CARDS
   ============================================================ */
.tool-cards { display: grid; gap: var(--space-5); list-style: none; padding: 0; margin: 0 0 var(--space-7); }
.tool-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-m); padding: var(--space-5); display: flex; flex-direction: column; }
.tool-card--featured { border-color: var(--color-accent); border-width: 2px; }
.tool-card__num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-3); }
.tool-card__title { font-size: 1.0625rem; font-weight: 600; margin-bottom: var(--space-2); margin-top: 0; }
.tool-card p { flex: 1; font-size: 0.9375rem; color: var(--color-ink-muted); margin-bottom: var(--space-4); }
.tool-card .btn { align-self: flex-start; }
@media (min-width: 640px) { .tool-cards { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   TABLES
   ============================================================ */
.comparison-wrap, .article-layout table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: var(--space-7); }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
th, td { padding: var(--space-3) var(--space-4); text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: top; }
thead th { font-weight: 700; background: var(--color-band-alt); font-size: 0.875rem; white-space: nowrap; }
thead th:first-child { border-radius: var(--radius-s) 0 0 0; }
thead th:last-child  { border-radius: 0 var(--radius-s) 0 0; }
tbody tr:hover td { background: color-mix(in srgb, var(--color-accent) 4%, transparent); }
td.td--accent { color: var(--color-accent); font-weight: 600; }
.check-mark { color: var(--color-success); font-weight: 700; }
.cross-mark { color: var(--color-danger); }
.article-layout table { display: block; }

/* ============================================================
   PRICING PLANS
   ============================================================ */
.pricing-plans { display: grid; gap: var(--space-5); margin-bottom: var(--space-7); }
.plan-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-m); padding: var(--space-6); display: flex; flex-direction: column; position: relative; }
.plan-card--recommended { border-color: var(--color-accent); border-width: 2px; }
.plan-card__badge { position: absolute; top: -1px; left: var(--space-5); background: var(--color-accent); color: var(--color-accent-ink); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.2rem 0.75rem; border-radius: 0 0 var(--radius-s) var(--radius-s); }
.plan-card__name { margin-bottom: var(--space-3); color: var(--color-ink-muted); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.8125rem; font-weight: 700; }
.plan-card__price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; line-height: 1; margin-bottom: var(--space-1); letter-spacing: -0.02em; }
.plan-card__period { font-size: 0.875rem; color: var(--color-ink-muted); margin-bottom: var(--space-5); }
.plan-card__features { list-style: none; padding: 0; margin: 0 0 var(--space-6); flex: 1; display: flex; flex-direction: column; gap: var(--space-3); }
.plan-card__features li { font-size: 0.9375rem; display: flex; gap: var(--space-2); align-items: flex-start; }
.plan-card__features li::before { content: "\2713"; color: var(--color-success); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.plan-card .btn { align-self: flex-start; }
@media (min-width: 640px) { .pricing-plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .pricing-plans { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   FAQ (Figma markup .faq-item, and the imported-page markup
   h2 + h3/p pairs get the same rhythm)
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-item h3 { font-size: 1.0625rem; font-weight: 600; margin: 0; padding: var(--space-4) 0; }
.faq-item p { font-size: 0.9375rem; color: var(--color-ink-muted); margin: 0; padding-bottom: var(--space-4); }

/* ============================================================
   READ ALSO
   ============================================================ */
.read-also__links { display: grid; gap: var(--space-4); list-style: none; padding: 0; margin: var(--space-5) 0 0; }
.read-also__links a {
  display: flex; align-items: center; gap: var(--space-3);
  font-weight: 500; font-size: 0.9375rem; text-decoration: none;
  padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-m);
  background: var(--color-surface); color: var(--color-ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.read-also__links a::after { content: "\2192"; margin-left: auto; color: var(--color-accent); flex-shrink: 0; }
.read-also__links a:hover { border-color: var(--color-accent); box-shadow: 0 2px 8px rgba(13,122,95,0.1); text-decoration: none; color: var(--color-ink); }
@media (min-width: 640px) { .read-also__links { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--color-accent); padding-block: var(--space-10); }
.cta-band h2 { font-family: var(--font-display); color: var(--color-accent-ink); font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: var(--space-3); letter-spacing: -0.015em; }
.cta-band p { color: color-mix(in srgb, var(--color-accent-ink) 80%, transparent); margin-bottom: var(--space-6); font-size: 1.0625rem; max-width: 52ch; }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer { background: var(--color-ink); color: color-mix(in srgb, var(--color-accent-ink) 75%, transparent); padding-block: var(--space-9); }
.site-footer__inner { display: grid; gap: var(--space-7); }
.site-footer__logo { font-weight: 700; color: var(--color-accent-ink); font-size: 1rem; text-decoration: none; display: block; margin-bottom: var(--space-3); }
.site-footer__tagline { font-size: 0.875rem; margin: 0; max-width: 44ch; }
.site-footer__nav { display: grid; gap: var(--space-5); }
.site-footer__nav-group h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-accent-ink); margin-bottom: var(--space-3); }
.site-footer__nav-group ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.site-footer__nav-group a { font-size: 0.875rem; color: color-mix(in srgb, var(--color-accent-ink) 70%, transparent); text-decoration: none; }
.site-footer__nav-group a:hover { color: var(--color-accent-ink); }
.site-footer__legal { padding-top: var(--space-6); border-top: 1px solid color-mix(in srgb, var(--color-accent-ink) 15%, transparent); font-size: 0.8125rem; color: color-mix(in srgb, var(--color-accent-ink) 50%, transparent); }
.site-footer__legal p { margin: 0; }
.site-footer__legal a { color: color-mix(in srgb, var(--color-accent-ink) 60%, transparent); }
@media (min-width: 640px) { .site-footer__nav { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .site-footer__inner { grid-template-columns: 2fr 3fr; } }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section__label { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-3); }
.section__heading { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 700; letter-spacing: -0.015em; margin-bottom: var(--space-4); }
.section__subheading { font-size: 1.0625rem; color: var(--color-ink-muted); max-width: 60ch; margin-bottom: var(--space-7); }

/* ============================================================
   ARTICLE LAYOUT (page.html wraps post content in .article-layout)
   ============================================================ */
.article-layout { max-width: var(--max-w-text); }
.article-layout h2 { font-size: clamp(1.25rem, 2.5vw, 1.625rem); font-weight: 700; margin-top: var(--space-8); margin-bottom: var(--space-4); letter-spacing: -0.01em; }
.article-layout h3 { font-size: 1.125rem; font-weight: 600; margin-top: var(--space-6); margin-bottom: var(--space-3); }
.article-layout p { margin-bottom: var(--space-4); max-width: 68ch; }
.article-layout ul, .article-layout ol { margin-bottom: var(--space-4); max-width: 68ch; }
.article-layout li { margin-bottom: var(--space-2); }
.article-layout > :first-child { margin-top: 0; }
/* Imported FAQ blocks: an h3 question directly followed by its answer */
.article-layout h3 + p { color: var(--color-ink-muted); font-size: 0.9375rem; }

.callout { background: color-mix(in srgb, var(--color-accent) 8%, transparent); border-left: 3px solid var(--color-accent); border-radius: 0 var(--radius-m) var(--radius-m) 0; padding: var(--space-4) var(--space-5); margin: var(--space-6) 0; }
.callout__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-2); }
.callout p { margin: 0; max-width: none; }

.midway-cta { background: var(--color-band-alt); border-radius: var(--radius-m); padding: var(--space-5) var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); margin: var(--space-8) 0; align-items: flex-start; }
.midway-cta p { margin: 0; font-size: 1rem; max-width: 60ch; }
@media (min-width: 640px) { .midway-cta { flex-direction: row; align-items: center; } .midway-cta p { flex: 1; } .midway-cta .btn { flex-shrink: 0; } }

/* ============================================================
   TITLE BAND
   ============================================================ */
.title-band { padding-block: var(--space-9); background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.title-band h1 { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; max-width: 22ch; margin-bottom: 0; }
.title-band__lead { font-size: 1.125rem; color: var(--color-ink-muted); max-width: 60ch; margin: var(--space-4) 0 0; }

/* ============================================================
   MISC
   ============================================================ */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.text-center { text-align: center; }
.divider { border: none; border-top: 1px solid var(--color-border); margin: 0; }

/* WordPress admin bar pushes the sticky header down */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ============================================================
   BLOG (posts index + single)
   ============================================================ */
.post-cards { display: grid; gap: var(--space-5); list-style: none; padding: 0; margin: 0 0 var(--space-7); }
.post-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-m); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.post-card__date, .post-meta { font-size: 0.8125rem; color: var(--color-ink-muted); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; margin: 0; }
.post-meta { margin-bottom: var(--space-3); }
.post-card__title { font-size: 1.25rem; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.post-card__title a { color: var(--color-ink); text-decoration: none; }
.post-card__title a:hover { color: var(--color-accent); }
.post-card__excerpt { font-size: 0.9375rem; color: var(--color-ink-muted); margin: 0; }
.post-card__excerpt .wp-block-post-excerpt__more-link { display: inline-block; margin-top: var(--space-2); font-weight: 600; text-decoration: none; }
@media (min-width: 640px) { .post-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .post-cards { grid-template-columns: repeat(3, 1fr); } }
.post-pagination { display: flex; gap: var(--space-4); align-items: center; font-size: 0.9375rem; }
.post-pagination a, .post-pagination .page-numbers { text-decoration: none; }
.post-pagination .page-numbers.current { font-weight: 700; color: var(--color-ink); }
.post-hero-image { margin: 0 0 var(--space-6); }
.post-hero-image img { border-radius: var(--radius-m); }
.read-also { margin-top: var(--space-9); }
.read-also__links h3 { margin: 0; font-size: inherit; font-weight: inherit; }
.read-also__links h3 a { display: flex; align-items: center; gap: var(--space-3); font-weight: 500; font-size: 0.9375rem; text-decoration: none; padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-m); background: var(--color-surface); color: var(--color-ink); }
.read-also__links h3 a::after { content: "\2192"; margin-left: auto; color: var(--color-accent); }
.read-also__links h3 a:hover { border-color: var(--color-accent); }
.wp-block-post-featured-image:empty { display: none; }

/* ============================================================
   BRAND-SPECIFIC (familjebutler-se)
   ============================================================ */
/* ============================================================
   EDITORIAL LOOK — tokens read 1:1 from mementor.no/en on
   2026-09-13 (computed styles + the site's own CSS variables).
   Used by seotekster.dk. Loaded after the shared components
   above; overrides the shared classes and restyles the .ct-*
   components (hero, steps, list, quote, teaser, plans, tools).
   Palette: ivory ground, navy ink and dark blocks, ONE red accent.
   Type: Instrument Sans (400–700) body, Fraunces 400 display with
   an italic red accent word. Radii 8 / 6 / 16 / 24. Soft shadows.
   ============================================================ */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/fraunces-italic-400.woff2) format('woff2');
}

:root {
  --ivory:            #F5F3EE;
  --ivory-dark:       #EAE6DC;
  --navy:             #10202E;
  --navy-deep:        #0B1722;
  --accent:           #EF4056;   /* italic word, highlights */
  --accent-text:      #C42440;   /* eyebrows, links (contrast on ivory) */
  --accent-strong:    #CF2843;   /* primary button */
  --accent-on-dark:   #F2677A;
  --surface-menu:     #FFFDFA;
  --text-muted:       rgba(16, 32, 46, 0.72);
  --text-soft:        rgba(16, 32, 46, 0.65);
  --text-faint:       rgba(16, 32, 46, 0.5);
  --text-on-dark:     var(--ivory);
  --text-muted-dark:  rgba(245, 243, 238, 0.65);
  --text-soft-dark:   rgba(245, 243, 238, 0.5);
  --border-light:     rgba(16, 32, 46, 0.12);
  --border-light-soft: rgba(16, 32, 46, 0.08);
  --border-dark:      rgba(245, 243, 238, 0.14);
  --border-dark-strong: rgba(245, 243, 238, 0.25);
  --radius-btn:       8px;
  --radius-chip:      6px;
  --radius-card:      16px;
  --radius-card-lg:   24px;
  --radius-m:         var(--radius-card);
  --shadow-cta:       0 8px 24px rgba(239, 64, 86, 0.3);
  --shadow-card-hover: 0 12px 32px rgba(16, 32, 46, 0.08);
  --shadow-float:     0 16px 40px rgba(16, 32, 46, 0.3);
  --ease-out:         cubic-bezier(0.2, 0.7, 0.2, 1);
  --max-w:            1376px;    /* 1280 content + 48 padding each side */
}

/* ---------- base ---------- */
body { font-size: 1rem; line-height: 1.6; }
body h1, body h2, body h3 { font-weight: 400; }
body h1 { font-family: var(--font-display); }
a { color: var(--accent-text); text-decoration-color: rgba(196, 36, 64, 0.35); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
::selection { background: var(--accent); color: #fff; }
.container { padding-inline: 1.5rem; }
@media (min-width: 768px) { .container { padding-inline: 3rem; } }

/* ---------- buttons (Mementor: 8px radius, 600, red primary with glow, navy secondary) ---------- */
.btn, .wp-block-button__link, .hst-cta a {
  font-size: 0.9375rem; font-weight: 600; letter-spacing: 0;
  padding: 0.75rem 1.5rem; border-width: 1px; border-radius: var(--radius-btn); gap: 0.5rem;
  transition: background 0.2s var(--ease-out), color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.btn--primary, .wp-block-button__link, .hst-cta a { background: var(--accent-strong); color: #fff; border-color: transparent; box-shadow: var(--shadow-cta); }
.btn--primary:hover, .wp-block-button__link:hover, .hst-cta a:hover { background: var(--accent-text); border-color: transparent; color: #fff; transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: var(--ivory); border-color: transparent; box-shadow: none; }
.btn--navy:hover { background: var(--navy-deep); color: var(--ivory); }
.btn--outline { background: transparent; color: var(--navy); border-color: rgba(16, 32, 46, 0.18); box-shadow: none; }
.btn--outline:hover { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.btn--white { background: var(--accent-strong); color: #fff; border-color: transparent; box-shadow: var(--shadow-cta); }
.btn--white:hover { background: var(--accent-text); color: #fff; border-color: transparent; transform: translateY(-1px); }
.btn--lg { font-size: 1.0625rem; padding: 1.125rem 2.25rem; }
.btn--sm { font-size: 0.8125rem; padding: 0.5rem 1rem; }

/* ---------- header (sticky, ivory 92 % + blur, 77px) ---------- */
.site-header { background: rgba(245, 243, 238, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-light-soft); }
.site-header__inner { height: 77px; gap: 2rem; }
.site-header__logo, .site-header__logo a { font-family: var(--font-display); font-size: 1.375rem; font-weight: 400; color: var(--navy); letter-spacing: -0.02em; transition: opacity 0.2s; }
.site-header__logo a:hover { color: var(--navy); opacity: 0.7; }
.site-header__nav .wp-block-navigation__container { gap: 0.25rem; }
.site-header__nav .wp-block-navigation-item__content { font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; color: var(--navy); padding: 0.625rem 0.875rem; border-radius: var(--radius-btn); transition: background 0.2s, color 0.2s; }
.site-header__nav .wp-block-navigation-item__content:hover { color: var(--navy); background: rgba(16, 32, 46, 0.06); }
.site-header__nav .current-menu-item > .wp-block-navigation__content,
.site-header__nav .current-menu-item > .wp-block-navigation-item__content { color: var(--navy); background: rgba(16, 32, 46, 0.06); }
.site-header__nav { min-width: 0; }
.site-header__cta { flex-shrink: 0; }
/* long menus (7 items) must not push the CTA past the viewport */
@media (min-width: 960px) and (max-width: 1439px) {
  .site-header__inner { gap: 1rem; }
  .site-header__nav .wp-block-navigation-item__content { padding: 0.5rem 0.5rem; font-size: 0.875rem; }
}
/* any width: the header script adds --compact when the menu still hits the CTA (then --burger if that isn't enough) */
.site-header--compact .site-header__inner { gap: 1rem; }
.site-header--compact .site-header__nav .wp-block-navigation__container { gap: 0; }
.site-header--compact .site-header__nav .wp-block-navigation-item__content { padding: 0.5rem 0.5rem; font-size: 0.875rem; }
.site-header__cta { background: var(--navy); color: var(--ivory); box-shadow: none; font-size: 0.9375rem; padding: 0.75rem 1.5rem; }
.site-header__cta:hover { background: var(--navy-deep); color: var(--ivory); transform: none; }
@media (min-width: 768px) { .site-header__cta { display: inline-flex; } }
@media (min-width: 600px) and (max-width: 1023px) {
  .site-header__nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .site-header__nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
.site-header__nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--surface-menu); padding: 1.5rem; }
.site-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.125rem; }

/* ---------- eyebrow (14px, 600, caps, +0.14em, red) ---------- */
.ct-eyebrow, .section__label, .hero__eyebrow { display: block; font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 1.5rem; }
.ct-eyebrow--muted { color: var(--text-faint); }

/* ---------- editorial hero (front page) ---------- */
.ct-hero { padding: 4rem 0 5rem; }
.ct-hero__inner { max-width: 58rem; }
.ct-hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5.5vw, 4.75rem); font-weight: 400; line-height: 1.04; letter-spacing: -0.015em; margin: 0; color: var(--navy); }
.ct-hero h1 em, .title-band h1 em, .ct-h2 em, .cta-band h2 em { font-style: italic; font-weight: 400; color: var(--accent); }
.ct-hero__lead { margin: 2rem 0 0; font-size: 1.25rem; color: var(--text-muted); line-height: 1.6; max-width: 38rem; }
.ct-hero__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.ct-hero__link, .ct-link, .ct-tool__link { font-size: 0.9375rem; font-weight: 600; color: var(--navy); text-decoration: none; transition: color 0.2s; }
.ct-hero__link:hover, .ct-link:hover, .ct-tool__link:hover { color: var(--accent-text); }
@media (min-width: 768px) { .ct-hero { padding: 6rem 0 7rem; } }

/* ---------- stats band (navy; numbers live on /om only) ---------- */
.ct-stats { background: var(--navy); padding: 4rem 0; }
.ct-stats .ct-eyebrow { color: var(--accent-on-dark); margin-bottom: 2.5rem; }
.ct-stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
.ct-stat__value { font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 400; color: var(--ivory); line-height: 1; letter-spacing: -0.01em; }
.ct-stat__label { margin-top: 0.625rem; font-size: 0.9375rem; font-weight: 500; color: var(--text-muted-dark); line-height: 1.4; }
.ct-stat__sub { margin-top: 0.25rem; font-size: 0.8125rem; color: var(--text-soft-dark); }
@media (min-width: 768px) { .ct-stats__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- sections + splits (80px rhythm, ivory / ivory-dark / navy) ---------- */
.ct-section { padding: 5rem 0; }
.ct-section--band { background: var(--ivory-dark); }
.ct-section--dark { background: var(--navy); color: var(--ivory); }
.ct-section--line { border-top: 1px solid var(--border-light); padding: 4rem 0; }
.ct-section--tight { padding: 4rem 0 5rem; }
.ct-split { display: grid; gap: 3rem; align-items: start; }
.ct-h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.01em; color: var(--navy); }
.ct-h2--lg { font-size: clamp(2.25rem, 4vw, 3.25rem); }
.ct-h2--md { font-size: 1.75rem; line-height: 1.25; }
.ct-h2--sm { font-size: 1.5rem; line-height: 1.3; }
.ct-section--dark .ct-h2 { color: var(--ivory); }
.ct-sub { margin: 1.25rem 0 0; font-size: 1.0625rem; color: var(--text-soft); line-height: 1.6; }
.ct-body { margin: 1.5rem 0 0; font-size: 1.0625rem; color: var(--text-muted); line-height: 1.65; }
.ct-body + .ct-body { margin-top: 1rem; }
.ct-actions { margin-top: 2rem; }
@media (min-width: 768px) {
  .ct-section { padding: 5rem 0; }
  .ct-split { grid-template-columns: 1fr 2fr; gap: 4.5rem; }
  .ct-split--half { grid-template-columns: 1fr 1fr; gap: 6rem; }
  .ct-split--aside { grid-template-columns: 220px 1fr; gap: 4rem; }
}

/* steps as cards (white, 16px radius, small red serif numeral, serif title, chips) */
.ct-steps { display: grid; gap: 1.5rem; list-style: none; padding: 0; margin: 0; counter-reset: ct-step; }
.ct-step { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-card); padding: 2rem; transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out); }
.ct-step:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.ct-step__num { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 400; color: var(--accent-text); letter-spacing: 0.08em; line-height: 1; margin-bottom: 1.5rem; user-select: none; }
.ct-step__num::before { content: "0"; }
.ct-step h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; margin: 0; color: var(--navy); }
.ct-step p { margin: 0.75rem 0 0; font-size: 0.9375rem; color: var(--text-soft); line-height: 1.6; }
@media (min-width: 640px) { .ct-steps { grid-template-columns: 1fr 1fr; } }

/* numbered list 01–05 */
.ct-list { display: flex; flex-direction: column; gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.ct-list li { display: flex; gap: 1.25rem; align-items: flex-start; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-light-soft); }
.ct-list li:last-child { border-bottom: none; padding-bottom: 0; }
.ct-list__num { margin-top: 0.2em; font-family: var(--font-display); font-size: 0.9375rem; font-weight: 400; color: var(--accent-text); letter-spacing: 0.08em; flex-shrink: 0; width: 1.5rem; }
.ct-list__text { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.6; }

/* quote column (band section) */
.ct-quote { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.625rem, 3vw, 2.375rem); color: var(--navy); line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
.ct-rule { height: 1px; background: var(--border-light); margin-top: 2rem; }
.ct-note { margin: 1.5rem 0 0; font-size: 0.875rem; color: var(--text-faint); line-height: 1.6; max-width: 22rem; }
@media (min-width: 768px) { .ct-quote-col { padding-top: 0.75rem; } }

/* price teaser */
.ct-teaser { border-top: 1px solid var(--border-light); padding: 4rem 0; }
.ct-teaser__inner { display: flex; flex-direction: column; gap: 1.5rem; }
.ct-teaser__price { font-family: var(--font-display); font-size: 2.75rem; font-weight: 400; letter-spacing: -0.01em; color: var(--navy); }
.ct-teaser__meta { font-size: 0.9375rem; color: var(--text-faint); margin-left: 0.625rem; }
@media (min-width: 640px) { .ct-teaser__inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- FAQ (label column + two-column rows) ---------- */
.ct-faq { padding: 5rem 0; }
.faq { gap: 0; }
.faq-item { border-top: none; border-bottom: 1px solid var(--border-light); padding: 1.75rem 0; display: grid; gap: 0.75rem; }
.faq-item:first-child { border-top: none; padding-top: 0; }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-item h3 { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; padding: 0; line-height: 1.4; color: var(--navy); }
.faq-item p { font-size: 0.9375rem; color: var(--text-muted); padding: 0; line-height: 1.6; }
@media (min-width: 768px) { .faq-item { grid-template-columns: 1fr 1fr; gap: 3rem; } }

/* ---------- CTA block (navy, serif headline, red button) ---------- */
.cta-band { background: var(--navy); padding: 5rem 0; margin-top: 3rem; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 400; color: var(--ivory); line-height: 1.08; letter-spacing: -0.01em; max-width: 42rem; margin-bottom: 0; }
.cta-band p { margin: 1.25rem 0 2.5rem; font-size: 1.0625rem; color: var(--text-muted-dark); line-height: 1.6; max-width: 40rem; }

/* ---------- read also ---------- */
.ct-readalso { border-top: 1px solid var(--border-light); padding: 4rem 0; }
.ct-readalso .ct-eyebrow { margin-bottom: 2rem; }
.read-also { margin-top: 0; border-top: 1px solid var(--border-light); padding: 4rem 0 0; }
.read-also .section__heading { font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 2rem; }
.read-also__links { gap: 1.5rem; margin: 0; }
.read-also__links a, .read-also__links h3 a { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 0.5rem; padding: 1.5rem; border: 1px solid var(--border-light); border-radius: var(--radius-card); background: #fff; box-shadow: none; font-family: var(--font-display); font-size: 1.375rem; font-weight: 400; letter-spacing: -0.01em; color: var(--navy); line-height: 1.25; transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out); }
.read-also__links a::after, .read-also__links h3 a::after { content: "Læs \2192"; margin: 0.5rem 0 0; font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; color: var(--accent-text); opacity: 1; }
html[lang^="sv"] .read-also__links a::after, html[lang^="sv"] .read-also__links h3 a::after { content: "Läs \2192"; }
.read-also__links a:hover, .read-also__links h3 a:hover { color: var(--navy); border-color: var(--border-light); box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.read-also__desc { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 400; color: var(--text-soft); line-height: 1.5; }
@media (min-width: 1024px) { .read-also__links { grid-template-columns: repeat(3, 1fr); } }

/* ---------- title band + article (page.html / page-wide.html / single.html) ---------- */
.title-band { background: transparent; border-bottom: 1px solid var(--border-light); padding: 4rem 0 3.5rem; }
.title-band h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); font-weight: 400; line-height: 1.06; letter-spacing: -0.015em; max-width: 50rem; color: var(--navy); }
.title-band__lead { margin-top: 1.5rem; font-size: 1.125rem; color: var(--text-muted); max-width: 42rem; line-height: 1.6; }
.section--surface, .section--alt { background: transparent; }
.section { padding: 4rem 0; }
.article-layout { max-width: 44rem; }
.article-layout h2 { font-family: var(--font-display); font-size: 1.875rem; font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; margin: 3rem 0 1rem; color: var(--navy); }
.article-layout h3 { font-size: 1.125rem; font-weight: 600; margin: 2rem 0 0.75rem; color: var(--navy); }
.article-layout p, .article-layout li { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.65; max-width: none; }
.article-layout p { margin-bottom: 1rem; }
.article-layout h3 + p { font-size: 1rem; }
.article-layout ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.article-layout ul li { position: relative; padding-left: 1.25rem; margin: 0; }
.article-layout ul li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.article-layout ol { padding-left: 1.25rem; margin: 1rem 0 1.5rem; }
.article-layout strong { color: var(--navy); }
.article-layout blockquote { margin: 1.5rem 0; padding-left: 1.25rem; border-left: 2px solid var(--accent); }
.article-layout blockquote p { font-family: var(--font-display); font-style: italic; font-size: 1.375rem; line-height: 1.35; color: var(--navy); }
.article-layout em { color: var(--navy); }
.hst-cta { margin: 3.5rem 0; padding: 2.5rem 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.midway-cta { background: var(--ivory-dark); border-radius: var(--radius-card); padding: 2rem; margin: 3.5rem 0; border: none; }
.midway-cta p { font-family: var(--font-display); font-size: 1.375rem; font-weight: 400; color: var(--navy); max-width: 26rem; line-height: 1.3; letter-spacing: -0.01em; }
.callout { background: rgba(239, 64, 86, 0.07); border-left: 2px solid var(--accent); border-radius: 0 var(--radius-btn) var(--radius-btn) 0; }
.callout__label { color: var(--accent-text); }
@media (min-width: 768px) { .section { padding: 5rem 0; } .article-layout { margin-left: calc(220px + 4rem); } }

/* tables (hairlines, uppercase headers, no fills) */
table { font-size: 0.9375rem; }
thead th { background: transparent; font-size: 0.75rem; font-weight: 600; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em; padding: 0 1.5rem 0.75rem 0; border-bottom: 1px solid var(--border-light); border-radius: 0; }
thead th:first-child, thead th:last-child { border-radius: 0; }
td { padding: 0.875rem 1.5rem 0.875rem 0; color: var(--text-muted); border-bottom: 1px solid var(--border-light-soft); line-height: 1.4; }
tbody tr:hover td { background: transparent; }
td.td--accent, .check-mark { color: var(--accent-text); }
.ct-table--plans th:not(:first-child), .ct-table--plans td:not(:first-child) { text-align: center; padding-inline: 1rem; }
.ct-table--plans th:not(:first-child) { color: var(--navy); }
.ct-table--plans td:first-child { font-size: 0.875rem; color: var(--text-soft); }
.ct-table--plans td:not(:first-child) { font-weight: 500; color: var(--navy); }

/* ---------- pricing cards (24px radius, featured card in navy with float shadow) ---------- */
.ct-plans { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
.ct-plan { display: flex; flex-direction: column; padding: 2rem; border-radius: var(--radius-card-lg); background: #fff; border: 1px solid var(--border-light); transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out); }
.ct-plan:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.ct-plan--featured { background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow-float); }
.ct-plan--featured:hover { box-shadow: var(--shadow-float); }
.ct-plan__badge { display: inline-block; align-self: flex-start; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-on-dark); border: 1px solid var(--border-dark-strong); padding: 0.25rem 0.625rem; border-radius: var(--radius-chip); margin: 0 0 1.25rem; }
.ct-plan__name { font-family: var(--font-display); font-size: 1.375rem; font-weight: 400; letter-spacing: -0.01em; margin: 0; color: var(--navy); }
.ct-plan--featured .ct-plan__name { color: var(--ivory); }
.ct-plan__price { display: flex; align-items: baseline; gap: 0.375rem; margin-top: 0.75rem; }
.ct-plan__amount { font-family: var(--font-display); font-size: 2.75rem; font-weight: 400; letter-spacing: -0.01em; line-height: 1; color: var(--navy); }
.ct-plan--featured .ct-plan__amount { color: var(--ivory); }
.ct-plan__unit, .ct-plan__desc { font-size: 0.875rem; color: var(--text-faint); }
.ct-plan__desc { margin: 0.75rem 0 1.5rem; line-height: 1.5; color: var(--text-soft); }
.ct-plan--featured .ct-plan__unit { color: var(--text-soft-dark); }
.ct-plan--featured .ct-plan__desc { color: var(--text-muted-dark); }
.ct-plan__features { list-style: none; padding: 0; margin: 0 0 2rem; flex: 1; display: flex; flex-direction: column; gap: 0.625rem; }
.ct-plan__features li { position: relative; padding-left: 1rem; font-size: 0.9375rem; line-height: 1.5; color: var(--text-muted); }
.ct-plan__features li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.ct-plan--featured .ct-plan__features li { color: var(--text-muted-dark); }
.ct-plan .btn { width: 100%; justify-content: center; font-size: 0.9375rem; padding: 0.875rem 1rem; white-space: normal; text-align: center; }
.ct-plan--featured .btn--outline { background: var(--accent-strong); color: #fff; border-color: transparent; box-shadow: var(--shadow-cta); }
.ct-plan--featured .btn--outline:hover { background: var(--accent-text); }
.ct-plans__note { margin: 1.25rem 0 0; font-size: 0.875rem; color: var(--text-faint); }
@media (min-width: 768px) { .ct-plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ct-plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* "which plan" arrows list */
.ct-arrows { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.ct-arrows li { display: flex; gap: 1rem; align-items: baseline; font-size: 1rem; color: var(--text-muted); }
.ct-arrows li::before { content: "\2192"; color: var(--accent-text); flex-shrink: 0; }
.ct-arrows strong { color: var(--navy); font-weight: 600; }

/* ---------- tool cards ---------- */
.ct-tools { display: grid; gap: 1.25rem; }
.ct-tool { display: flex; flex-direction: column; gap: 1.5rem; padding: 2.5rem; border-radius: var(--radius-card-lg); background: #fff; border: 1px solid var(--border-light); transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out); }
.ct-tool:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.ct-tool--featured { background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow-float); }
.ct-tool--featured:hover { box-shadow: var(--shadow-float); }
.ct-tool__top { display: flex; align-items: flex-start; justify-content: space-between; }
.ct-tool__num { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 400; letter-spacing: 0.08em; line-height: 1; color: var(--accent-text); user-select: none; }
.ct-tool__num::before { content: "0"; }
.ct-tool--featured .ct-tool__num { color: var(--accent-on-dark); }
.ct-tool__badge { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-on-dark); border: 1px solid var(--border-dark-strong); padding: 0.25rem 0.625rem; border-radius: var(--radius-chip); }
.ct-tool__body { flex: 1; }
.ct-tool h2 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; margin: 0; color: var(--navy); }
.ct-tool--featured h2 { color: var(--ivory); }
.ct-tool p { margin: 0.75rem 0 0; font-size: 0.9375rem; color: var(--text-soft); line-height: 1.6; }
.ct-tool--featured p { color: var(--text-muted-dark); }
.ct-tool--featured .ct-tool__link { color: var(--ivory); }
.ct-tool--featured .ct-tool__link:hover { color: var(--accent-on-dark); }
@media (min-width: 768px) { .ct-tools { grid-template-columns: 1fr 1fr; } }

/* small link row (bottom of pricing/about) */
.ct-links { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: 0.875rem; }
.ct-links a { color: var(--text-faint); text-decoration: none; transition: color 0.2s; }
.ct-links a:hover { color: var(--navy); }

/* ---------- blog list (home.html) ---------- */
.post-cards { display: block; margin: 0; }
.post-card { background: transparent; border: none; border-bottom: 1px solid var(--border-light); border-radius: 0; padding: 2.5rem 0; display: grid; gap: 1rem; }
.post-card__date { text-transform: none; letter-spacing: 0; font-size: 0.875rem; font-weight: 400; color: var(--text-faint); padding-top: 0.375rem; }
.post-card__title { font-family: var(--font-display); font-size: 1.625rem; font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; }
.post-card__title a:hover { color: var(--accent-text); }
.post-card__excerpt { font-size: 1rem; color: var(--text-soft); }
.post-card__excerpt .wp-block-post-excerpt__more-link { font-size: 0.875rem; font-weight: 600; color: var(--accent-text); margin-top: 1rem; }
.post-meta { text-transform: none; letter-spacing: 0; font-size: 0.875rem; font-weight: 400; color: var(--text-faint); }
@media (min-width: 768px) { .post-card { grid-template-columns: 160px 1fr; gap: 1rem 3rem; } .post-card__excerpt { grid-column: 2; } }

/* ---------- footer (navy-deep) ---------- */
.site-footer { background: var(--navy-deep); color: var(--text-muted-dark); padding: 4.5rem 0 2.5rem; }
.site-footer__inner { gap: 4rem; }
.site-footer__logo { font-family: var(--font-display); font-size: 1.375rem; font-weight: 400; letter-spacing: -0.02em; color: var(--ivory); margin-bottom: 1rem; }
.site-footer__tagline { font-size: 0.875rem; color: var(--text-muted-dark); max-width: 26rem; line-height: 1.6; margin-bottom: 1.5rem; }
.site-footer__cta { display: inline-flex; font-size: 0.9375rem; padding: 0.75rem 1.5rem; }
.site-footer__nav { display: block; }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 3rem; }
.site-footer__links a { font-size: 0.875rem; color: var(--text-muted-dark); text-decoration: none; transition: color 0.2s; }
.site-footer__links a:hover { color: var(--ivory); }
.site-footer__legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border-dark); font-size: 0.8125rem; color: var(--text-soft-dark); }
.site-footer__legal a { color: var(--text-muted-dark); text-decoration: none; }
.site-footer__legal a:hover { color: var(--ivory); }
@media (min-width: 768px) { .site-footer__inner { grid-template-columns: 1fr auto; } }

/* ---------- hero with photo + floating stat card (Mementor: 2-col grid, 24px photo, navy card on the corner) ---------- */
.ct-hero__grid { display: grid; gap: 3rem; align-items: center; }
.ct-hero__grid .ct-hero__inner { max-width: none; }
.ct-hero__grid h1 { font-size: clamp(2.25rem, 4.4vw, 4rem); }
.ct-hero__media { position: relative; margin-inline: 0 1.5rem; }
.ct-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card-lg); }
.ct-hero__stat { position: absolute; left: -1.5rem; bottom: 2rem; max-width: 17rem; background: var(--navy); color: var(--ivory); padding: 1.25rem 1.75rem; border-radius: var(--radius-card); box-shadow: var(--shadow-float); }
.ct-hero__stat-value { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; line-height: 1; letter-spacing: -0.01em; color: var(--ivory); }
.ct-hero__stat-desc { margin: 0.5rem 0 0; font-size: 0.8125rem; line-height: 1.5; color: rgba(245, 243, 238, 0.7); }
.ct-hero__stat-desc a { color: var(--ivory); text-decoration: underline; text-decoration-color: rgba(245, 243, 238, 0.4); }
@media (max-width: 959px) { .ct-hero__media { margin-inline: 0; } .ct-hero__stat { left: 1rem; bottom: 1rem; } }
@media (min-width: 960px) { .ct-hero__grid { grid-template-columns: 1.3fr 1fr; gap: 4.5rem; } .ct-hero__media { margin-inline: 1.5rem 0; } }

/* ============================================================
   EDITORIAL LOOK, GREEN PALETTE — seoanalyser.se (2026-09-13).
   Loaded AFTER extra-editorial.css. Keeps the check-sites' green
   palette (Martins ønske) but swaps every token the editorial
   components read, and restyles the check-site components that
   the editorial file does not cover (hero with form, checkpoints,
   steps, stat tiles, tool cards, plan cards, check-report).
   ============================================================ */
:root {
  --ivory:            #F7F8F6;   /* page ground (check look C_BG) */
  --ivory-dark:       #EEF0ED;   /* alt bands */
  --navy:             #0F3B31;   /* deep green: dark blocks, nav button, stat card */
  --navy-deep:        #0B2D25;   /* footer */
  --accent:           #0D7A5F;   /* italic word, dots, highlights */
  --accent-text:      #0A6350;   /* eyebrows, links */
  --accent-strong:    #0D7A5F;   /* primary button */
  --accent-on-dark:   #7FD9BA;
  --surface-menu:     #FFFFFF;
  --text-muted:       rgba(26, 31, 28, 0.72);
  --text-soft:        rgba(26, 31, 28, 0.65);
  --text-faint:       rgba(26, 31, 28, 0.5);
  --text-muted-dark:  rgba(247, 248, 246, 0.7);
  --text-soft-dark:   rgba(247, 248, 246, 0.5);
  --border-light:     rgba(26, 31, 28, 0.12);
  --border-light-soft: rgba(26, 31, 28, 0.08);
  --border-dark:      rgba(247, 248, 246, 0.14);
  --border-dark-strong: rgba(247, 248, 246, 0.25);
  --shadow-cta:       0 8px 24px rgba(13, 122, 95, 0.28);
  --shadow-card-hover: 0 12px 32px rgba(15, 59, 49, 0.08);
  --shadow-float:     0 16px 40px rgba(15, 59, 49, 0.3);
}
a { text-decoration-color: rgba(10, 99, 80, 0.35); }
::selection { background: var(--accent); color: #fff; }
.site-header { background: rgba(247, 248, 246, 0.92); }
.site-header__logo, .site-header__logo a { color: var(--accent-text); }
.site-header__logo a:hover { color: var(--accent-text); }
.ct-hero h1 em, .hero__h1 em, .title-band h1 em, .section__heading em, .cta-band h2 em { color: var(--accent); }
.section--alt { background: var(--ivory-dark); }
.section--surface { background: transparent; }
.section { padding: 5rem 0; }
.cta-band .btn--white { background: #fff; color: var(--accent-text); box-shadow: none; }
.cta-band .btn--white:hover { background: var(--ivory); color: var(--accent-text); }

/* ---------- hero with form (check sites): text + form left, photo + stat card right ---------- */
.hero { padding: 4rem 0 5rem; background: transparent; }
.hero__inner { display: grid; gap: 3rem; align-items: center; }
.hero__content { max-width: none; }
.hero__h1, .t-h1 { font-family: var(--font-display); font-size: clamp(2.25rem, 4.4vw, 4rem); font-weight: 400; line-height: 1.04; letter-spacing: -0.015em; color: var(--navy); margin-bottom: 1.5rem; }
.hero__h1 em { font-style: italic; font-weight: 400; }
.hero__lead { font-size: 1.1875rem; color: var(--text-muted); line-height: 1.6; max-width: 36rem; margin-bottom: 2rem; }
.hero__form { gap: 0.75rem; margin-bottom: 0; }
.hero__input { font-size: 1rem; padding: 1rem 1.125rem; border: 1px solid rgba(26, 31, 28, 0.18); border-radius: var(--radius-btn); background: #fff; color: var(--navy); }
.hero__input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13, 122, 95, 0.12); }
.hero__input::placeholder { color: var(--text-faint); }
.hero__note { font-size: 0.875rem; color: var(--text-faint); margin-top: 0.75rem; }
.hero .ct-hero__media { margin-inline: 0; }
@media (min-width: 768px) { .hero { padding: 6rem 0 7rem; } }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.3fr 1fr; gap: 4.5rem; } .hero .ct-hero__media { margin-inline: 1.5rem 0; } }

/* ---------- section headings ---------- */
.section__heading { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; color: var(--navy); margin-bottom: 1rem; }
.section__subheading { font-size: 1.0625rem; color: var(--text-soft); line-height: 1.6; max-width: 40rem; margin-bottom: 2.5rem; }

/* ---------- checkpoints (15 punkter) as a numbered card grid ---------- */
.checkpoints-grid { gap: 1rem; counter-reset: checkpoint; }
.checkpoint { counter-increment: checkpoint; flex-direction: column; gap: 0; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-card); padding: 1.5rem 1.5rem 1.375rem; transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out); }
.checkpoint:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.checkpoint__icon { width: auto; height: auto; border-radius: 0; background: transparent; margin: 0 0 0.875rem; font-family: var(--font-display); font-size: 0.9375rem; letter-spacing: 0.08em; line-height: 1; color: var(--accent-text); }
.checkpoint__icon::before { content: "0" counter(checkpoint); }
.checkpoint:nth-child(n+10) .checkpoint__icon::before { content: counter(checkpoint); }
.checkpoint__title { display: block; font-weight: 600; font-size: 1.0625rem; line-height: 1.35; color: var(--navy); margin-bottom: 0.375rem; }
.checkpoint p { font-size: 0.9375rem; color: var(--text-soft); line-height: 1.55; }
.checkpoint p br { display: none; }
@media (min-width: 640px) { .checkpoints-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .checkpoints-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

/* ---------- steps as a timeline row: hairline on top, big ghost serif numeral, no card ---------- */
.steps { gap: 2.5rem 2rem; margin-bottom: 2.5rem; }
.step { background: transparent; border: none; border-top: 1px solid var(--border-light); border-radius: 0; padding: 1.5rem 0 0; gap: 0.75rem; box-shadow: none; transform: none; }
.step:hover { box-shadow: none; transform: none; }
.step__num { width: auto; height: auto; border-radius: 0; background: transparent; display: block; font-family: var(--font-display); font-weight: 400; font-size: 3rem; line-height: 1; letter-spacing: -0.02em; color: rgba(13, 122, 95, 0.32); }
.step__num::before { content: "0" counter(step); }
.step__body { padding-top: 0; }
.step p { font-size: 0.9375rem; color: var(--text-soft); line-height: 1.55; }
.step .step__title, .step p.step__title { font-family: var(--font-display); font-size: 1.375rem; font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 0.5rem; color: var(--navy); }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); } .step { flex-direction: column; } }

/* ---------- stat tiles ---------- */
.stat-tile { border-radius: var(--radius-card-lg); padding: 2rem; border-color: var(--border-light); }
.stat-tile__number { font-weight: 400; letter-spacing: -0.01em; color: var(--navy); }
.stat-tile__label { color: var(--text-muted); font-weight: 500; }
.stat-tile__source { color: var(--text-faint); }

/* ---------- tool cards ---------- */
.tool-card { border-radius: var(--radius-card-lg); padding: 2.5rem; border-color: var(--border-light); gap: 0; transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out); }
.tool-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.tool-card--featured { border-width: 1px; background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow-float); }
.tool-card__num { font-family: var(--font-display); font-weight: 400; font-size: 0.9375rem; letter-spacing: 0.08em; text-transform: none; color: var(--accent-text); margin-bottom: 1.25rem; }
.tool-card--featured .tool-card__num { color: var(--accent-on-dark); }
.tool-card__title { font-family: var(--font-display); font-size: 1.625rem; font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 0.75rem; color: var(--navy); }
.tool-card--featured .tool-card__title { color: var(--ivory); }
.tool-card p { color: var(--text-soft); line-height: 1.6; }
.tool-card--featured p { color: var(--text-muted-dark); }
.tool-card--featured .btn--outline { background: var(--ivory); color: var(--navy); border-color: transparent; }

/* ---------- plan cards ---------- */
.plan-card { border-radius: var(--radius-card-lg); padding: 2rem; border-color: var(--border-light); transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out); }
.plan-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.plan-card--recommended { border-width: 1px; background: var(--navy); border-color: var(--navy); color: var(--ivory); box-shadow: var(--shadow-float); }
.plan-card--recommended:hover { box-shadow: var(--shadow-float); }
.plan-card__badge { position: static; display: inline-block; align-self: flex-start; background: transparent; color: var(--accent-on-dark); border: 1px solid var(--border-dark-strong); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; padding: 0.25rem 0.625rem; border-radius: var(--radius-chip); margin-bottom: 1.25rem; }
.plan-card__name { font-family: var(--font-display); font-size: 1.375rem; font-weight: 400; letter-spacing: -0.01em; text-transform: none; color: var(--navy); margin-bottom: 0.75rem; }
.plan-card--recommended .plan-card__name { color: var(--ivory); }
.plan-card__price { font-weight: 400; letter-spacing: -0.01em; font-size: 2.75rem; color: var(--navy); }
.plan-card--recommended .plan-card__price { color: var(--ivory); }
.plan-card__period { color: var(--text-faint); }
.plan-card--recommended .plan-card__period { color: var(--text-soft-dark); }
.plan-card__features li { color: var(--text-muted); }
.plan-card__features li::before { color: var(--accent); }
.plan-card--recommended .plan-card__features li { color: var(--text-muted-dark); }
.plan-card--recommended .plan-card__features li::before { color: var(--accent-on-dark); }
.plan-card .btn { width: 100%; justify-content: center; }
.plan-card--recommended .btn--outline, .plan-card--recommended .btn--primary { background: var(--ivory); color: var(--navy); border-color: transparent; box-shadow: none; }

/* ---------- check-report illustration (kept for inner pages) ---------- */
.check-report { border-radius: var(--radius-card); border-color: var(--border-light); box-shadow: var(--shadow-card-hover); padding: 1.75rem; }
.check-report__score { font-weight: 400; font-size: 1.75rem; }
.check-report__title { font-weight: 600; color: var(--text-faint); letter-spacing: 0.12em; }

/* ---------- footer (check sites: brand column + three link groups, Mementor rhythm) ---------- */
.site-footer { background: var(--navy-deep); color: var(--text-muted-dark); padding: 5rem 0 2.5rem; }
.site-footer__inner { display: grid; gap: 3rem; }
.site-footer__logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em; color: var(--ivory); margin-bottom: 1rem; }
.site-footer__tagline { font-size: 0.9375rem; color: var(--text-muted-dark); max-width: 26rem; line-height: 1.6; margin-bottom: 1.5rem; }
.site-footer__cta { display: inline-flex; font-size: 0.9375rem; padding: 0.75rem 1.5rem; }
.site-footer__nav { display: grid; gap: 2.5rem; }
.site-footer__nav-group h4 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-on-dark); margin: 0 0 1.125rem; }
.site-footer__nav-group ul { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__nav-group a { font-size: 0.9375rem; color: var(--text-muted-dark); text-decoration: none; transition: color 0.2s; }
.site-footer__nav-group a:hover { color: var(--ivory); }
.site-footer__legal { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-dark); font-size: 0.8125rem; line-height: 1.6; color: var(--text-soft-dark); }
.site-footer__legal a { color: var(--text-muted-dark); text-decoration: none; }
.site-footer__legal a:hover { color: var(--ivory); }
@media (min-width: 640px) { .site-footer__nav { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .site-footer__inner { grid-template-columns: 1.3fr 2fr; gap: 5rem; } }

/* ============================================================
   Familiebutler (familiebutler.dk / familjebutler.se). Martin 2026-10-12: "brug design fra
   teendecode.dk og teendecode.se" → kopi af theme/teendecode/teendecode.css, uændret palet og skrift.
   Ret IKKE teendecode-filen herfra; de to brands udvikler sig hver for sig.
   --- original header fra TeenDecode: ---
   Layout og proportioner er portet tæt på 1:1 fra goodinside.com (målt 2026-10-09
   med computed styles i 1440px: H1 48/56, H2 36/42, korttitel 28/32, FAQ 20/24,
   brødtekst 16/26, knap mono 14px versaler 16/32 padding, kort radius 15px,
   kort-hoved 104px farvebånd, tags 14px pille 4/12, FAQ-række 36px lodret).
   Farver, skrift og logo er TeenDecodes egne fra appen (teendecode.app):
   creme hsl(35 55% 95%), blæk hsl(210 18% 22%), salvie hsl(100 20% 55%),
   koral fra logoet, Sora (overskrifter) + Inter (brødtekst). Mono = Roboto Mono.
   Martin 2026-10-09: "Det skal være en tæt på 1-til-1 kopi".
   ============================================================ */
@font-face { font-family: 'Inter'; src: url('assets/fonts/inter-var-latin.woff2') format('woff2'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('assets/fonts/sora-var-latin.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'Roboto Mono'; src: url('assets/fonts/roboto-mono-var-latin.woff2') format('woff2'); font-weight: 400 500; font-display: swap; }

:root {
  --td-ink: #2E3842;
  --td-ink-2: #4D5863;
  --td-muted: #67717B;
  --td-line: #E7E1D8;
  --td-white: #FFFFFF;
  --td-cream: #F9F3EB;          /* appens baggrund */
  --td-cream-2: #F2E8DA;
  --td-sage: #85A375;           /* appens primary */
  --td-sage-btn: #A9C29A;       /* knap: blæk på salvie = 5,9:1 */
  --td-sage-btn-hover: #9AB689;
  --td-sage-soft: #DCE7D4;
  --td-sand: #F3D9B1;
  --td-sky: #C3DBEC;
  --td-coral: #F86A44;          /* logoets farve, kun som accent */
  --td-help: #FFF4EC;
  --td-f-head: 'Sora', 'Inter', system-ui, sans-serif;
  --td-f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --td-f-mono: 'Roboto Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --td-w: 1200px;
  --td-gutter: 24px;
  --td-r: 15px;
  --td-sec: 96px;
}

/* ---------- base ---------- */
body {
  background: var(--td-white) !important;
  color: var(--td-ink);
  font-family: var(--td-f-body) !important;
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
}
body h1, body h2, body h3, body h4, .t-h1 {
  font-family: var(--td-f-head) !important;
  color: var(--td-ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}
a { color: inherit; }
.td-wrap { max-width: var(--td-w); margin: 0 auto; padding: 0 var(--td-gutter); }
.td-eyebrow {
  display: block; font-family: var(--td-f-mono); font-size: 14px; line-height: 20px;
  font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--td-ink-2); margin: 0 0 16px;
}

/* ---------- knapper (alle knapper på sitet, også dem i indholdet) ---------- */
.td-btn, .btn, .wp-block-button__link, .site-header__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--td-f-mono) !important; font-size: 14px !important; line-height: 14px !important;
  font-weight: 500 !important; letter-spacing: .025em; text-transform: uppercase;
  padding: 16px 32px !important; border-radius: 12px !important;
  background: var(--td-sage-btn) !important; color: var(--td-ink) !important;
  border: 2px solid var(--td-sage-btn) !important; box-shadow: none !important;
  text-decoration: none !important; transition: background .15s, border-color .15s, transform .15s;
}
.td-btn:hover, .btn:hover, .wp-block-button__link:hover, .site-header__cta:hover {
  background: var(--td-sage-btn-hover) !important; border-color: var(--td-sage-btn-hover) !important; transform: translateY(-1px);
}
.td-btn--ghost { background: transparent !important; border-color: var(--td-ink) !important; }
.td-btn--ghost:hover { background: var(--td-ink) !important; color: var(--td-white) !important; border-color: var(--td-ink) !important; }
.td-btn--block { display: flex; width: 100%; }
.td-btn:focus-visible, .wp-block-button__link:focus-visible { outline: 3px solid var(--td-coral); outline-offset: 3px; }

/* ---------- header: menu venstre, logo i midten, knapper højre ---------- */
.td-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.td-header.is-scrolled { border-bottom-color: var(--td-line); }
.td-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.td-nav { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.td-nav a { font-family: var(--td-f-mono); font-size: 13px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; color: var(--td-ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.td-nav a:hover, .td-nav a[aria-current] { border-bottom-color: var(--td-sage); }
.td-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--td-f-head); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--td-ink); }
.td-logo__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--td-coral); box-shadow: 14px 0 0 -3px var(--td-sage); margin-right: 10px; }
.td-header__actions { display: flex; justify-content: flex-end; gap: 12px; }
.td-header__actions .td-btn { padding: 13px 22px !important; font-size: 13px !important; }
.td-burger { display: none; }

/* ---------- hero ---------- */
.td-hero { position: relative; overflow: hidden; background: var(--td-white); }
.td-hero__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 660px; gap: 48px; }
.td-hero__copy { position: relative; z-index: 2; padding: 64px 0; max-width: 576px; }
.td-hero h1 { font-size: 48px !important; line-height: 56px !important; margin: 0 0 20px !important; }
.td-hero__lead { font-size: 18px; line-height: 28px; color: var(--td-ink-2); margin: 0 0 28px; max-width: 520px; }
.td-hero__note { font-size: 14px; color: var(--td-muted); margin: 14px 0 0; }
.td-hero__art { position: relative; height: 100%; min-height: 660px; }
.td-hero__art::before { content: ""; position: absolute; left: 6%; top: 50%; width: 900px; height: 900px; transform: translateY(-50%); border-radius: 50%; background: var(--td-cream); }
.td-hero__art::after { content: ""; position: absolute; left: 18%; top: 50%; width: 760px; height: 760px; transform: translateY(-50%); border-radius: 50%; background: var(--td-sage-soft); }

/* telefon med et eksempel på et svar */
.td-phone { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-42%, -50%); width: 290px; height: 580px; border-radius: 44px; background: #1E242B; padding: 12px; box-shadow: 0 30px 60px -20px rgba(46,56,66,.35); }
.td-phone__screen { width: 100%; height: 100%; border-radius: 34px; background: var(--td-cream); overflow: hidden; display: flex; flex-direction: column; font-size: 12.5px; line-height: 18px; }
.td-phone__bar { display: flex; align-items: center; gap: 8px; padding: 18px 18px 10px; font-family: var(--td-f-head); font-weight: 700; font-size: 14px; }
.td-phone__bar .td-logo__dot { width: 8px; height: 8px; box-shadow: 9px 0 0 -2px var(--td-sage); margin-right: 8px; }
.td-phone__body { padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.td-phone__me { align-self: flex-end; max-width: 85%; background: var(--td-ink); color: #fff; border-radius: 16px 16px 4px 16px; padding: 10px 12px; }
.td-phone__card { background: #fff; border-radius: 14px; padding: 10px 12px; border: 1px solid var(--td-line); }
.td-phone__card b { display: block; font-family: var(--td-f-mono); font-weight: 500; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--td-ink-2); margin-bottom: 2px; }
.td-phone__card--say { background: var(--td-sage-soft); border-color: transparent; font-family: var(--td-f-mono); }
.td-phone__tag { align-self: flex-start; font-family: var(--td-f-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--td-muted); }

/* ---------- tillidsbånd (under hero, i stedet for "Featured in") ---------- */
.td-trust { border-top: 1px solid var(--td-line); border-bottom: 1px solid var(--td-line); background: var(--td-white); }
.td-trust ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 40px; list-style: none; margin: 0 auto; padding: 22px var(--td-gutter); }
.td-trust li { display: flex; align-items: center; gap: 10px; font-family: var(--td-f-mono); font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: var(--td-ink-2); }
.td-trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--td-sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E3842' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }

/* ---------- sektioner ---------- */
.td-sec { padding: var(--td-sec) 0; }
.td-sec--cream { background: var(--td-cream); }
.td-sec__head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.td-sec__head h2 { font-size: 36px !important; line-height: 42px !important; margin: 0 0 12px !important; }
.td-sec__head p { margin: 0; color: var(--td-ink-2); }
.td-sec__cta { text-align: center; margin-top: 40px; }
.td-sec__cta p { font-size: 14px; color: var(--td-muted); margin: 12px 0 0; }

/* ---------- situationskort (port af "Find your stage") ---------- */
.td-stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.td-stage { background: var(--td-white); border-radius: var(--td-r); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--td-line), 0 0 0 1px var(--td-line) inset; }
.td-stage__head { height: 104px; padding: 24px 24px 0; }
.td-stage__head h3 { font-size: 28px !important; line-height: 32px !important; margin: 0 !important; }
.td-stage--sand .td-stage__head { background: var(--td-sand); }
.td-stage--sage .td-stage__head { background: var(--td-sage-soft); }
.td-stage--sky  .td-stage__head { background: var(--td-sky); }
.td-stage__body { padding: 24px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.td-stage__quote { font-family: var(--td-f-mono); font-size: 16px; line-height: 26px; color: rgba(46,56,66,.85); margin: 0; min-height: 78px; }
.td-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.td-tags a { display: inline-block; font-size: 14px; line-height: 22px; padding: 4px 12px; border-radius: 9999px; text-decoration: none; color: var(--td-ink); transition: filter .15s; }
.td-tags a:hover { filter: brightness(.94); text-decoration: underline; }
.td-stage--sand .td-tags a { background: rgba(243,217,177,.45); }
.td-stage--sage .td-tags a { background: rgba(220,231,212,.7); }
.td-stage--sky  .td-tags a { background: rgba(195,219,236,.5); }
.td-stage__go { margin-top: auto; }
.td-stage--sand .td-stage__go .td-btn { background: var(--td-sand) !important; border-color: var(--td-sand) !important; }
.td-stage--sky  .td-stage__go .td-btn { background: var(--td-sky) !important; border-color: var(--td-sky) !important; }
.td-stage__go .td-btn::after { content: "→"; font-family: var(--td-f-body); }

/* ---------- funktioner (port af "Dr. Becky in your pocket"-kortene) ---------- */
.td-features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.td-feature { background: var(--td-white); border-radius: var(--td-r); padding: 32px; box-shadow: 0 0 0 1px var(--td-line) inset; }
.td-feature h3 { font-size: 28px !important; line-height: 32px !important; margin: 0 0 8px !important; }
.td-feature > p { color: var(--td-ink-2); margin: 0 0 24px; }
.td-feature__demo { background: var(--td-cream); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 21px; }
.td-bubble { max-width: 85%; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--td-line); }
.td-bubble--me { align-self: flex-end; background: var(--td-ink); color: #fff; border-color: var(--td-ink); }
.td-bubble small { display: block; font-family: var(--td-f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--td-muted); margin-bottom: 2px; }
.td-bubble--me small { color: rgba(255,255,255,.7); }
.td-bubble--good { background: var(--td-sage-soft); border-color: transparent; }

/* ---------- trin (port af "How this shows up in your home") ---------- */
.td-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: td-step; list-style: none; margin: 0; padding: 0; }
.td-steps li { counter-increment: td-step; background: var(--td-white); border-radius: var(--td-r); padding: 28px 24px; box-shadow: 0 0 0 1px var(--td-line) inset; }
.td-steps li::before { content: counter(td-step); display: block; font-family: var(--td-f-head); font-weight: 700; font-size: 44px; line-height: 1; color: var(--td-sage); margin-bottom: 18px; }
.td-steps li:last-child { background: var(--td-sage-soft); box-shadow: none; }
.td-steps h3 { font-size: 22px !important; line-height: 28px !important; margin: 0 0 6px !important; }
.td-steps p { margin: 0; color: var(--td-ink-2); font-size: 15px; line-height: 24px; }

/* ---------- tryghed ---------- */
.td-safe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.td-safe > div { padding: 28px; border-radius: var(--td-r); background: var(--td-cream); }
.td-safe h3 { font-size: 20px !important; line-height: 26px !important; margin: 0 0 8px !important; }
.td-safe p { margin: 0; color: var(--td-ink-2); }
.td-safe__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--td-white); display: grid; place-items: center; margin-bottom: 16px; }

/* ---------- FAQ (details, port af "Common Questions") ---------- */
.td-faq { max-width: 1104px; margin: 0 auto; border-top: 1px solid var(--td-ink); }
.td-faq details { border-bottom: 1px solid var(--td-ink); padding: 36px 0; }
.td-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.td-faq summary::-webkit-details-marker { display: none; }
.td-faq summary h3 { font-size: 20px !important; line-height: 24px !important; margin: 0 !important; }
.td-faq summary::after { content: "+"; font-family: var(--td-f-body); font-size: 28px; line-height: 1; font-weight: 400; transition: transform .2s; }
.td-faq details[open] summary::after { transform: rotate(45deg); }
.td-faq details > *:not(summary) { margin: 16px 0 0; color: var(--td-ink-2); max-width: 900px; }

/* ---------- afsluttende CTA (port af "no, it's not too late") ---------- */
.td-final { text-align: center; padding: var(--td-sec) 0; }
.td-final__mark { width: 64px; height: 64px; border-radius: 50%; background: var(--td-sage-soft); margin: 0 auto 24px; display: grid; place-items: center; }
.td-final h2 { font-size: 36px !important; line-height: 42px !important; max-width: 640px; margin: 0 auto 12px !important; }
.td-final p { max-width: 560px; margin: 0 auto 28px; color: var(--td-ink-2); }
.td-final small { display: block; margin-top: 14px; font-size: 13px; color: var(--td-muted); }

/* ---------- footer (port af den buede bund) ---------- */
.td-footer { position: relative; background: #A3BD93; color: var(--td-ink); overflow: hidden; }
.td-footer::before { content: ""; position: absolute; left: 50%; top: 0; width: 2400px; height: 2400px; transform: translateX(-50%); border-radius: 50%; background: var(--td-sage-soft); }
.td-footer__top { position: relative; text-align: center; padding: 80px 0 72px; }
.td-footer__top h2 { font-size: 28px !important; line-height: 34px !important; max-width: 560px; margin: 0 auto 10px !important; }
.td-footer__top p { margin: 0 auto 24px; max-width: 520px; color: var(--td-ink-2); }
.td-footer__top .td-btn { background: var(--td-ink) !important; border-color: var(--td-ink) !important; color: #fff !important; }
.td-footer__main { position: relative; background: #A3BD93; padding: 56px 0 32px; }
.td-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.td-footer__grid h4 { font-family: var(--td-f-mono) !important; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; color: var(--td-ink); }
.td-footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.td-footer a, .td-footer__grid a, .td-footer__legal { color: var(--td-ink) !important; }
.td-footer__grid a { text-decoration: none; font-size: 15px; }
.td-footer .td-logo__dot { box-shadow: 14px 0 0 -3px var(--td-ink); }
.td-footer__grid a:hover { text-decoration: underline; }
.td-footer__brand p { font-size: 15px; margin: 12px 0 0; max-width: 300px; }
.td-footer__legal { border-top: 1px solid rgba(46,56,66,.25); margin-top: 40px; padding-top: 20px; font-size: 13px; line-height: 20px; color: var(--td-ink); }
.td-footer__legal a { text-decoration: underline; }

/* ============================================================
   ARTIKEL / PROBLEMSIDE (port af goodinside.com/blog/<artikel>)
   ============================================================ */
.td-art-head { padding: 40px 0 48px; background: var(--td-white); }
.td-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; text-decoration: none; color: var(--td-ink-2); margin-bottom: 20px; }
.td-back:hover { text-decoration: underline; }
.td-pill { display: inline-block; font-size: 12px; line-height: 20px; padding: 2px 10px; border-radius: 9999px; background: var(--td-sage-soft); margin: 0 0 14px; }
.td-art-head h1, .td-art-head .wp-block-post-title { font-size: 48px !important; line-height: 56px !important; max-width: 1000px; margin: 0 0 16px !important; }
.td-art-head .wp-block-post-excerpt__excerpt, .td-art-head .td-lead { font-size: 18px; line-height: 28px; color: var(--td-ink-2); max-width: 820px; margin: 0 0 20px; }
.td-art-head .wp-block-post-excerpt__more-text { display: none; }
.td-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-family: var(--td-f-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--td-ink-2); }
.td-meta > * { margin: 0 !important; }
.td-meta [data-td-readtime]:empty { display: none; }
.td-meta__by { display: inline-flex; align-items: center; gap: 8px; }
.td-meta__by::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--td-sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='9' cy='12' r='4' fill='%23F86A44'/%3E%3Ccircle cx='16' cy='12' r='3' fill='%2385A375'/%3E%3C/svg%3E") center/18px no-repeat; }
.td-meta .wp-block-post-date { font: inherit; }
.td-art-band { height: 14px; background: linear-gradient(90deg, var(--td-sand), var(--td-sage-soft) 50%, var(--td-sky)); }

.td-art { display: grid; grid-template-columns: 260px minmax(0, 720px); justify-content: center; gap: 64px; padding: 56px var(--td-gutter) 96px; max-width: var(--td-w); margin: 0 auto; }
.td-toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; border-left: 3px solid var(--td-line); padding-left: 18px; }
.td-toc p { font-family: var(--td-f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--td-muted); margin: 0 0 12px; }
.td-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.td-toc a { display: block; font-size: 14px; line-height: 20px; padding: 6px 0; text-decoration: none; color: var(--td-ink-2); }
.td-toc a:hover { color: var(--td-ink); }
.td-toc a.is-active { color: var(--td-ink); font-weight: 600; box-shadow: -21px 0 0 0 var(--td-sage); }
.td-toc__cta { margin-top: 24px; padding: 18px; border-radius: 12px; background: var(--td-cream); font-size: 14px; line-height: 21px; }
.td-toc__cta strong { display: block; font-family: var(--td-f-head); font-size: 16px; margin-bottom: 4px; }
.td-toc__cta .td-btn { margin-top: 12px; padding: 12px 16px !important; font-size: 12px !important; width: 100%; }

.td-prose { font-size: 17px; line-height: 28px; color: var(--td-ink); }
.td-prose .wp-block-post-content > * { max-width: 720px; }
.td-prose .wp-block-post-content > p:first-child { font-size: 19px; line-height: 30px; }
.td-prose h2 { font-size: 30px !important; line-height: 36px !important; margin: 56px 0 16px !important; scroll-margin-top: 96px; }
.td-prose h3 { font-size: 20px !important; line-height: 26px !important; margin: 32px 0 8px !important; }
.td-prose p { margin: 0 0 18px; }
.td-prose ol, .td-prose ul { padding-left: 0; margin: 0 0 24px; list-style: none; counter-reset: td-li; display: grid; gap: 12px; }
.td-prose ol li { counter-increment: td-li; position: relative; padding-left: 44px; }
.td-prose ol li::before { content: counter(td-li); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--td-sage-soft); font-family: var(--td-f-head); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.td-prose ul li { position: relative; padding-left: 26px; }
.td-prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--td-sage); }
.td-prose a { color: var(--td-ink); text-decoration-color: var(--td-sage); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.td-prose .wp-block-buttons { margin: 8px 0 32px; }

/* "Det kan du sige" = det, forælderen kommer efter → kort i mono, som citaterne på forsiden */
.td-prose .td-say {
  position: relative; background: var(--td-sage-soft); border-radius: var(--td-r); padding: 22px 24px 22px 24px;
  font-family: var(--td-f-mono); font-size: 16px; line-height: 26px; margin: 8px 0 20px;
}
.td-prose .td-say strong { display: block; font-family: var(--td-f-mono); font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--td-ink-2); margin-bottom: 6px; }
.td-prose .td-say::after { content: "”"; position: absolute; right: 18px; top: 2px; font-family: var(--td-f-head); font-size: 64px; line-height: 1; color: rgba(46,56,66,.12); }
.td-prose .td-dont { font-size: 15px; line-height: 24px; color: var(--td-ink-2); padding-left: 28px; position: relative; }
.td-prose .td-dont::before { content: "✕"; position: absolute; left: 4px; top: 0; color: var(--td-coral); font-weight: 600; }
.td-prose .td-dont strong { color: var(--td-ink); }

/* hjælpeboksen (port af "When to Seek Urgent Help") */
.td-prose .td-help {
  background: var(--td-help) !important; border: 1px solid #F6D2C3 !important; border-left: 1px solid #F6D2C3 !important;
  border-radius: var(--td-r) !important; padding: 24px 26px !important; margin: 40px 0 !important; font-size: 16px; line-height: 26px;
}
.td-prose .td-help p { margin: 0; }
.td-prose .td-help strong:first-child { display: flex; align-items: center; gap: 10px; font-family: var(--td-f-head); font-size: 18px; margin-bottom: 8px; }
.td-prose .td-help strong:first-child::before { content: "!"; width: 26px; height: 26px; border-radius: 50%; background: var(--td-coral); color: #fff; font-size: 15px; display: grid; place-items: center; flex: none; }

/* FAQ i artiklen bliver til foldeud (JS bygger <details>) */
.td-prose .td-faq { border-top: 1px solid var(--td-line); }
.td-prose .td-faq details { border-bottom-color: var(--td-line); padding: 22px 0; }
.td-prose .td-faq summary h3 { font-size: 18px !important; line-height: 24px !important; }

/* "Læs også" som kort-gitter */
.td-prose .td-also { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.td-prose .td-also li { padding: 0; }
.td-prose .td-also li::before { display: none; }
.td-prose .td-also a { display: block; height: 100%; padding: 14px 16px; border-radius: 12px; background: var(--td-cream); text-decoration: none; font-weight: 500; font-size: 15px; line-height: 21px; }
.td-prose .td-also a:hover { background: var(--td-cream-2); }

/* bånd før footer på undersider */
.td-band { background: var(--td-cream); padding: 72px 0; text-align: center; }
.td-band h2 { font-size: 32px !important; line-height: 38px !important; margin: 0 0 10px !important; }
.td-band p { margin: 0 auto 24px; max-width: 560px; color: var(--td-ink-2); }

/* mobil: fast knap nederst på problemsider */
.td-sticky { display: none; }

/* ============================================================
   RESPONSIV
   ============================================================ */
@media (max-width: 1080px) {
  .td-steps { grid-template-columns: 1fr 1fr; }
  .td-art { grid-template-columns: minmax(0, 720px); }
  .td-toc { display: none; }
}
@media (max-width: 900px) {
  :root { --td-sec: 64px; --td-gutter: 20px; }
  .td-header__inner { grid-template-columns: auto 1fr; height: 64px; }
  .td-header__inner > nav { display: none; }
  .td-btn, .btn, .wp-block-button__link { white-space: normal; text-align: center; line-height: 18px !important; padding: 15px 20px !important; }
  .td-prose .wp-block-button, .td-prose .wp-block-button__link { width: 100%; }
  .td-header__inner .td-logo { justify-self: start; }
  .td-header__actions .td-btn--ghost { display: none; }
  .td-hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .td-hero__copy { padding: 40px 0 8px; }
  .td-hero h1, .td-art-head h1, .td-art-head .wp-block-post-title { font-size: 36px !important; line-height: 42px !important; }
  .td-hero__lead { font-size: 17px; line-height: 27px; }
  .td-hero__art { min-height: 520px; }
  .td-hero__art::before { left: 50%; top: 58%; width: 640px; height: 640px; transform: translate(-50%, -50%); }
  .td-hero__art::after { left: 50%; top: 62%; width: 520px; height: 520px; transform: translate(-50%, -50%); }
  .td-phone { transform: translate(-50%, -50%) scale(.82); top: 52%; }
  .td-stages, .td-features, .td-safe { grid-template-columns: 1fr; }
  .td-stage__quote { min-height: 0; }
  .td-sec__head h2, .td-final h2 { font-size: 28px !important; line-height: 34px !important; }
  .td-footer__grid { grid-template-columns: 1fr 1fr; }
  .td-footer__brand { grid-column: 1 / -1; }
  .td-prose h2 { font-size: 24px !important; line-height: 30px !important; }
  .td-prose .td-also { grid-template-columns: 1fr; }
  .td-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--td-line); transform: translateY(110%); transition: transform .25s; }
  .td-sticky.is-on { transform: none; }
  .td-sticky .td-btn { width: 100%; }
}
@media (max-width: 560px) {
  .td-steps { grid-template-columns: 1fr; }
  .td-trust ul { justify-content: flex-start; gap: 10px 20px; }
  .td-footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* skip-link: kun synlig ved tastaturfokus */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-reader-text:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: 0 0 0 3px var(--td-coral); }

/* ============================================================
   BILLEDER (2026-10-09). Princip (NN/g "Photos as Web Content"): kun billeder,
   der viser situationen eller resultatet — aldrig pynt. Første billede eager +
   fetchpriority=high; resten loading=lazy, AVIF/WebP via <picture>, width/height sat.
   ============================================================ */
.td-pic { display: block; width: 100%; height: 100%; }
.td-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* hero: foto (4:5) til højre, telefonen overlapper fotoets venstre kant */
.td-hero__photo { position: absolute; z-index: 1; right: 0; top: 50%; transform: translateY(-50%); width: 64%; aspect-ratio: 4 / 5; max-height: 600px; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 48px -24px rgba(46,56,66,.35); }
.td-hero--photo .td-hero__art::after { display: none; }
.td-hero--photo .td-hero__art::before { left: 20%; width: 760px; height: 760px; background: var(--td-sage-soft); }
.td-hero--photo .td-phone { left: 0; top: 56%; transform: translate(0, -50%) scale(.86); transform-origin: left center; }

/* situationskort: foto øverst, farvebåndet bærer titlen */
.td-stage__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--td-cream-2); }
.td-stage--img .td-stage__head { height: auto; padding: 20px 24px; }
.td-stage--img .td-stage__head h3 { font-size: 24px !important; line-height: 30px !important; }

/* tryghed: foto til venstre, tre punkter til højre */
.td-safe-split { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.td-safe-split__photo { aspect-ratio: 4 / 5; border-radius: var(--td-r); overflow: hidden; }
.td-safe-split .td-sec__head { text-align: left; margin: 0 0 28px; }
.td-safe-split .td-safe { grid-template-columns: 1fr; gap: 14px; }
.td-safe-split .td-safe > div { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 20px 22px; }
.td-safe-split .td-safe__icon { grid-row: span 2; margin: 0; }

/* afslutning: foto af resultatet over teksten */
.td-final__photo { max-width: 880px; aspect-ratio: 16 / 9; margin: 0 auto 40px; border-radius: 24px; overflow: hidden; }

/* artikel: fremhævet billede under overskriften (port af artikelbilledet) */
.td-art-hero { max-width: var(--td-w); margin: 0 auto; padding: 0 var(--td-gutter); }
.td-art-hero .wp-block-post-featured-image { margin: 0; aspect-ratio: 21 / 9; border-radius: var(--td-r); overflow: hidden; }
.td-art-hero .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .td-hero__photo { position: relative; right: auto; top: auto; transform: none; width: 100%; max-height: none; aspect-ratio: 4 / 3; }
  .td-hero--photo .td-hero__art { min-height: 0; padding-bottom: 8px; }
  .td-hero--photo .td-phone { position: relative; left: auto; top: auto; margin: -56px auto -110px; transform: scale(.8); transform-origin: top center; }
  .td-hero--photo .td-hero__art::before { display: none; }
  .td-safe-split { grid-template-columns: 1fr; gap: 28px; }
  .td-safe-split__photo { aspect-ratio: 4 / 3; }
  .td-art-hero .wp-block-post-featured-image { aspect-ratio: 16 / 9; }
}

/* sider uden fremhævet billede (om, privatliv) er ikke råd: intet mærkat, ingen tilbage-link */
.td-noimg .td-pill, .td-noimg .td-back, .td-noimg .td-art-hero, .td-noimg .td-art-head .wp-block-post-excerpt, .td-noimg .td-meta { display: none; }

