/* micdobro.com, styled after the current site.
   Headings: Arial/Helvetica bold. Body: Roboto (self-hosted).
   Radius: 4px on buttons and cards; the grey hero block has a large rounded bottom. */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/roboto-latin-wght-normal.1404ca348b.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/roboto-latin-ext-wght-normal.cedb374b05.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* brand */
  --navy-900: #1f1f40;
  --navy-700: #1c246c;
  --blue-600: #243888;
  --green-600: #1c9c74;
  --orange-500: #fc644c;
  /* surfaces */
  --white: #fcfcfc;
  --gray-50: #f0f0f4;
  --gray-300: #d8d8d8;
  --slate-800: #2c3448;
  /* text */
  --text-heading: #1c246c;
  --text-card-title: #24245c;
  --text-body: #50586c;
  --text-muted: #686868;
  --text-on-dark: #ffffff;
  --text-on-dark-soft: #d9dbe6;
  --text-on-dark-muted: #a9aec4;

  --font: 'Roboto', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-head: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 104px);
  --inset: clamp(0px, 3.5vw, 64px); /* side margin of the grey hero block */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --card-shadow: 0 10px 40px -12px rgb(31 31 64 / 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; color: var(--text-heading); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--blue-600); }
:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; }

.container { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 20; background: var(--navy-900); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1em 2.1em;
  border-radius: 4px;
  border: 1px solid transparent;
  font: inherit; font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.12s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 10px 24px -8px rgb(36 56 136 / 0.55); }
.btn-primary:hover { background: var(--navy-700); }
.btn-ghost { background: #fff; border-color: var(--navy-700); color: var(--navy-700); }
.btn-ghost:hover { background: var(--navy-700); color: #fff; }
.btn-sm { padding: 0.7em 1.2em; font-size: 0.9375rem; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
@media (max-width: 479px) {
  .btn-row .btn { white-space: normal; text-align: center; width: 100%; }
}

/* Header. On the home page it sits on the grey hero block. */
.site-header { position: relative; z-index: 10; background: var(--white); }
.page-home .site-header { background: var(--gray-50); margin-inline: var(--inset); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 88px; }
.wordmark { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.12em; color: var(--navy-700); text-decoration: none; margin-right: auto; white-space: nowrap; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; }
.nav a, .sub-toggle { color: var(--navy-700); text-decoration: none; font: inherit; font-weight: 500; font-size: 1rem; }
.nav a:hover, .sub-toggle:hover, .nav a[aria-current] { color: var(--green-600); }
.sub-toggle { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; cursor: pointer; }
.sub-toggle .icon { width: 0.9em; height: 0.9em; transition: transform 0.2s; }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: calc(100% + 12px); left: -18px; min-width: 210px; background: #fff; border-radius: 4px; box-shadow: 0 16px 40px -12px rgb(31 31 64 / 0.3); display: none; }
.sub::before { content: ''; position: absolute; inset: -14px 0 auto; height: 14px; }
.sub a { display: block; padding: 9px 18px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .sub-toggle[aria-expanded='true'] + .sub { display: block; }
.sub-toggle[aria-expanded='true'] .icon { transform: rotate(180deg); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 4px; background: transparent; color: var(--navy-700); cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 28px; height: 28px; }
@media (max-width: 999px) {
  .header-inner { min-height: 72px; gap: 12px; flex-wrap: wrap; }
  .nav-toggle { display: grid; }
  .nav { display: none; order: 10; width: 100%; padding: 8px 0 20px; }
  .nav-open .nav { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a, .sub-toggle { display: flex; width: 100%; padding: 12px 0; font-size: 1.1rem; }
  .sub { position: static; display: block; box-shadow: none; padding: 0 0 0 16px; background: transparent; min-width: 0; }
  .sub::before { display: none; }
  .sub-toggle .icon { display: none; }
}
@media (max-width: 479px) {
  .wordmark { font-size: 1.05rem; letter-spacing: 0.06em; }
  .header-cta { padding: 0.6em 0.9em; font-size: 0.875rem; }
}

/* Hero */
.hero {
  background: var(--gray-50);
  margin-inline: var(--inset);
  border-radius: 0 0 clamp(32px, 6vw, 88px) clamp(32px, 6vw, 88px);
  padding-block: clamp(24px, 6vw, 88px) clamp(56px, 8vw, 112px);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.6rem); line-height: 1.18; letter-spacing: -0.01em; }
.hero h1 .accent { color: var(--green-600); }
.hero-copy p { margin-top: 28px; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); line-height: 1.6; max-width: 54ch; }
.hero-copy p + p { margin-top: 14px; }
.hero-copy .hero-result { color: var(--navy-700); font-weight: 600; }
.hero-media { position: relative; }
.hero-media img { position: relative; border-radius: 4px; width: 100%; box-shadow: var(--card-shadow); }
.dots {
  position: absolute; pointer-events: none;
  background-image: radial-gradient(circle, rgb(28 36 108 / 0.55) 1.6px, transparent 1.8px);
  background-size: 18px 18px;
}
.dots-a { top: -40px; right: -48px; width: 180px; height: 330px; }
.dots-b { bottom: -36px; left: -84px; width: 250px; height: 170px; }
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .dots-a { right: -12px; width: 120px; }
  .dots-b { left: -12px; width: 140px; }
}

/* Sections */
.section { padding-block: var(--section-y); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section.is-tight { padding-block: clamp(20px, 3vw, 36px); }
.section.is-tight .section-head { margin-bottom: clamp(16px, 2vw, 24px); }
.section h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.35rem); line-height: 1.2; }
.lead { margin-top: 16px; font-size: 1.15rem; }
.dark { background: var(--navy-900); color: var(--text-on-dark-soft); }
.dark h2 { color: var(--text-on-dark); }

/* Pains */
.pain-grid { display: grid; gap: 56px 64px; grid-template-columns: repeat(3, 1fr); }
.pain h3 { color: var(--text-card-title); font-size: 1.3rem; line-height: 1.3; }
.pain p { margin-top: 14px; color: var(--text-muted); font-size: 0.975rem; line-height: 1.65; }
@media (max-width: 899px) { .pain-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
@media (max-width: 599px) { .pain-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Hvad jeg gør */
.approach { background: var(--gray-50); margin-inline: var(--inset); border-radius: clamp(32px, 6vw, 88px); }
.approach-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.approach-intro { position: sticky; top: 32px; }
.approach .lead { color: var(--text-body); }
.promise { margin-top: 28px; padding: 20px 24px; background: #fff; border-left: 4px solid var(--green-600); border-radius: 0 4px 4px 0; color: var(--navy-700); font-weight: 600; font-size: 1.1rem; box-shadow: var(--card-shadow); }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-body); }
.facts .icon { color: var(--green-600); width: 1.35em; height: 1.35em; margin-top: 0.1em; }
.points { list-style: none; margin: 0; padding: 0; counter-reset: point; display: grid; gap: 14px; }
.point { counter-increment: point; position: relative; background: #fff; border-radius: 4px; padding: 26px 28px 26px 84px; box-shadow: var(--card-shadow); }
.point::before { content: counter(point); position: absolute; left: 26px; top: 24px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-700); color: #fff; font-family: var(--font-head); font-weight: 700; }
.point h3 { font-size: 1.25rem; line-height: 1.3; color: var(--text-card-title); }
.point p { margin-top: 8px; color: var(--text-muted); font-size: 0.975rem; line-height: 1.65; }
@media (max-width: 899px) {
  .approach-grid { grid-template-columns: 1fr; }
  .approach-intro { position: static; }
}
@media (max-width: 479px) { .point { padding: 72px 22px 22px; } .point::before { left: 22px; top: 22px; } }

/* Offers */
.offer-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: stretch; }
.offer-main { background: var(--navy-900); color: var(--text-on-dark-soft); border-radius: 4px; padding: clamp(28px, 4vw, 52px); box-shadow: var(--card-shadow); }
.offer-name { color: #fff; font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); line-height: 1.1; }
.offer-tagline { margin-top: 10px; color: var(--green-600); font-weight: 700; font-size: 1.2rem; filter: brightness(1.25); }
.offer-text { margin-top: 20px; font-size: 1.05rem; line-height: 1.65; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: step; display: grid; gap: 18px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; row-gap: 2px; }
.steps li::before { content: counter(step); grid-row: span 2; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--green-600); color: #fff; font-family: var(--font-head); font-weight: 700; }
.steps strong { color: #fff; font-size: 1.05rem; }
.steps span { color: var(--text-on-dark-soft); font-size: 0.975rem; }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--gray-50); }
.btn-ghost-light { border-color: rgb(255 255 255 / 0.5); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy-900); }
.doors { display: grid; gap: 24px; }
.door { background: #fff; border: 1px solid #ececf2; border-radius: 4px; padding: clamp(24px, 3vw, 36px); box-shadow: var(--card-shadow); display: flex; flex-direction: column; }
.door-price { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-600); }
.door h3 { margin-top: 8px; font-size: 1.4rem; line-height: 1.25; color: var(--text-card-title); }
.door-for { margin-top: 10px; color: var(--navy-700); font-weight: 500; }
.door p:not(.door-price):not(.door-for) { margin-top: 10px; color: var(--text-muted); font-size: 0.975rem; line-height: 1.65; }
.door-link { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; color: var(--blue-600); font-weight: 500; text-decoration: none; }
.door-link:hover { text-decoration: underline; }
.offer-more { list-style: none; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid #e6e7ee; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px 40px; color: var(--text-body); font-size: 0.975rem; }
.offer-more strong { color: var(--navy-700); }
.offer-more a { color: inherit; text-decoration: none; }
.offer-more a:hover strong { text-decoration: underline; }
.offer-grid.solo { grid-template-columns: 1fr; }
.solo .offer-main { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.solo .steps { margin-top: 0; gap: 24px; }
.doors[hidden] { display: none; }
@media (max-width: 899px) {
  .offer-grid, .solo .offer-main { grid-template-columns: 1fr; }
  .solo .steps { margin-top: 8px; }
}

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product { background: var(--slate-800); border-radius: 4px; padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; align-items: flex-start; }
.product h3 { color: #fff; font-size: 1.4rem; }
.product p { margin-top: 12px; color: var(--text-on-dark-soft); font-size: 0.975rem; line-height: 1.65; }
.product .btn { margin-top: auto; gap: 8px; }
.product p + .btn { margin-top: 24px; }
@media (max-width: 899px) { .product-grid { grid-template-columns: 1fr; } }

/* Newsletter */
.newsletter-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.newsletter { background: var(--gray-50); margin-inline: var(--inset); border-radius: clamp(24px, 4vw, 56px); margin-bottom: var(--section-y); }
.newsletter h2 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.2rem); }
.newsletter-form { background: var(--slate-800); border-radius: 4px; padding: clamp(24px, 3vw, 40px); min-height: 200px; }
/* SendFox injects its own form; style whatever it renders */
.newsletter-form form { display: grid; gap: 14px; margin: 0; }
.newsletter-form label { color: var(--text-on-dark-soft); font-size: 0.95rem; }
.newsletter-form input[type='text'], .newsletter-form input[type='email'] {
  width: 100%; font: inherit; font-size: 1rem; padding: 0.85em 1em;
  border-radius: 4px; border: 1px solid #4a5370; background: #fff; color: var(--navy-900);
}
.newsletter-form input::placeholder { color: #6b7185; }
.newsletter-form button, .newsletter-form input[type='submit'] {
  font: inherit; font-weight: 700; font-size: 1rem; padding: 1em 2em; cursor: pointer;
  border: 0; border-radius: 4px; background: var(--orange-500); color: var(--navy-900);
}
.newsletter-form button:hover, .newsletter-form input[type='submit']:hover { background: #ff7a65; }
.newsletter-form a { color: var(--text-on-dark-soft); }
@media (max-width: 899px) { .newsletter-grid { grid-template-columns: 1fr; } }

/* Case studies */
.case-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.case-tile {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: flex; flex-direction: column; gap: 14px; width: 100%; height: 100%;
  padding: 36px 32px; border-radius: 4px; background: #fff;
  border: 1px solid #ececf2; box-shadow: var(--card-shadow);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.case-tile:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; }
.case-title { font-family: var(--font-head); color: var(--text-card-title); font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
.case-teaser { color: var(--text-muted); font-size: 0.975rem; line-height: 1.65; }
.case-more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; color: var(--blue-600); font-weight: 500; font-size: 0.95rem; }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.case-more .icon { transition: transform 0.25s var(--ease); }
@media (hover: hover) {
  .case-tile:hover { box-shadow: 0 18px 50px -14px rgb(31 31 64 / 0.28); transform: translateY(-3px); }
  .case-tile:hover .case-more .icon { transform: translateX(3px); }
}
@media (max-width: 999px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .case-grid { grid-template-columns: 1fr; gap: 16px; } .case-tile { padding: 28px 24px; } }

.case-dialog {
  width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 4px; background: #fff; color: var(--text-body);
  box-shadow: 0 24px 80px -20px rgb(31 31 64 / 0.5); overflow: auto; overscroll-behavior: contain;
}
.case-dialog::backdrop { background: rgb(31 31 64 / 0.6); }
.case-dialog-inner { padding: clamp(28px, 5vw, 56px); position: relative; }
.case-dialog h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); line-height: 1.2; padding-right: 48px; }
.dialog-close {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px;
  display: grid; place-items: center; border: 0; border-radius: 4px; cursor: pointer;
  background: var(--gray-50); color: var(--navy-700); font-size: 1.25rem;
}
.dialog-close:hover { background: var(--gray-300); }
.case-part { margin-top: 28px; }
.case-part h3 { font-family: var(--font); font-size: 0.8rem; letter-spacing: 0.14em; font-weight: 700; color: var(--text-muted); }
.case-part p { margin-top: 6px; line-height: 1.65; }
.case-part-udbytte, .case-part-resultat { background: var(--gray-50); border-left: 4px solid var(--green-600); padding: 18px 22px; border-radius: 0 4px 4px 0; }
.case-part-udbytte h3, .case-part-resultat h3 { color: #137556; }
.case-part-udbytte p, .case-part-resultat p { color: var(--navy-700); font-weight: 500; }
.case-part-loesning h3 { color: var(--blue-600); }
@media (prefers-reduced-motion: no-preference) {
  .case-dialog[open] { animation: dialog-in 0.25s var(--ease); }
  .case-dialog[open]::backdrop { animation: fade-in 0.25s var(--ease); }
}
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes fade-in { from { opacity: 0; } }

/* Testimonials: masonry of white cards on navy */
.quote-grid { columns: 3 300px; column-gap: 24px; }
.quote { break-inside: avoid; margin: 0 0 24px; background: #fff; border-radius: 4px; padding: 30px 28px 26px; display: flex; flex-direction: column; }
.quote blockquote { margin: 0; }
.quote blockquote p { color: var(--navy-700); font-size: 1rem; line-height: 1.65; }
.quote blockquote p::before { content: '\201C'; display: block; font-family: var(--font-head); color: var(--green-600); font-size: 3rem; line-height: 1; height: 0.5em; font-weight: 700; }
.quote figcaption { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e6e7ee; display: flex; align-items: center; gap: 14px; }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote-who { display: grid; gap: 2px; min-width: 0; }
.quote-name { color: var(--navy-700); font-weight: 700; }
.quote-role { color: var(--text-muted); font-size: 0.9rem; line-height: 1.4; }
@media (max-width: 639px) { .quote { padding: 26px 22px 22px; } }

/* Client logos: moving bar */
.logos { padding-block: clamp(40px, 6vw, 64px); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; }
.logo-row { list-style: none; margin: 0; padding: 0 64px 0 0; display: flex; align-items: center; gap: 64px; }
.logo { height: 48px; width: auto; mix-blend-mode: multiply; filter: grayscale(1); opacity: 0.7; transition: filter 0.3s, opacity 0.3s; }
.logo:hover { filter: none; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 45s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; }
  .marquee-track { width: auto; justify-content: center; }
  .logo-row { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); gap: 32px 48px; }
  .logo-row[aria-hidden] { display: none; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 599px) { .logo { height: 38px; } .logo-row { gap: 44px; padding-right: 44px; } }

/* Closing CTA: navy, centred */
.cta { background: var(--navy-900); text-align: center; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); max-width: 24ch; margin-inline: auto; }
.cta .lead { color: var(--text-on-dark-soft); max-width: 60ch; margin-inline: auto; font-size: 1.2rem; }
.cta .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--navy-900); color: var(--text-on-dark-soft); border-top: 1px solid rgb(255 255 255 / 0.06); padding-top: clamp(48px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; }
.site-footer h2 { font-family: var(--font); color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 18px; }
.site-footer p { font-size: 0.975rem; line-height: 1.6; }
.footer-brand p { max-width: 36ch; }
.footer-col ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.footer-col a { color: var(--text-on-dark-soft); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-block: 24px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid rgb(255 255 255 / 0.07); text-align: center; }
.footer-bottom p { font-size: 0.9rem; color: var(--text-on-dark-muted); }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: 1fr; } }

/* Section variants */
.section.is-gray { background: var(--gray-50); margin-inline: var(--inset); border-radius: clamp(32px, 6vw, 88px); }
.section.is-dark { background: var(--navy-900); color: var(--text-on-dark-soft); }
.section.is-dark h2, .section.is-dark h3 { color: #fff; }
.accent { color: var(--green-600); }
.center { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; color: var(--blue-600); font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { color: var(--green-600); width: 1.3em; height: 1.3em; margin-top: 0.15em; }
.checks.is-neg .icon { color: #d64545; }

/* Sub-page hero */
.page-hero { text-align: center; padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 96px); }
.page-hero .container { max-width: 900px; }
.page-hero.is-tight { padding-bottom: clamp(16px, 2.5vw, 32px); }
.page-hero h1 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.2rem); line-height: 1.18; }
.page-hero .rule { display: block; width: 44px; height: 2px; background: var(--navy-700); margin: 28px auto; }
.page-hero .lead { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); line-height: 1.6; }
.page-hero .lead + .lead { margin-top: 12px; }
.page-hero .btn-row { justify-content: center; }
.page-hero.is-dark { background: var(--navy-900); color: var(--text-on-dark-soft); }
.page-hero.is-dark h1 { color: #fff; }
.page-hero.is-dark .rule { background: var(--green-600); }
.stats { margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats div { border: 1px solid rgb(255 255 255 / 0.15); border-radius: 4px; padding: 22px 12px; display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dd { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: #fff; }
.stats dt { font-size: 0.95rem; }
.page-hero:not(.is-dark) .stats div { border-color: #e3e4ec; }
.page-hero:not(.is-dark) .stats dd { color: var(--navy-700); }
@media (max-width: 699px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Feature cards */
.feature-grid { display: grid; gap: 24px; grid-template-columns: repeat(var(--cols, 3), 1fr); }
.feature-grid.cols-1 { --cols: 1; } .feature-grid.cols-2 { --cols: 2; } .feature-grid.cols-3 { --cols: 3; } .feature-grid.cols-4 { --cols: 4; }
.feature { background: #fff; border: 1px solid #ececf2; border-radius: 4px; padding: clamp(24px, 3vw, 34px); box-shadow: var(--card-shadow); display: flex; flex-direction: column; }
.feature-icon { width: 36px; height: 36px; color: var(--blue-600); margin-bottom: 16px; }
.feature h3 { font-size: 1.2rem; line-height: 1.3; color: var(--text-card-title); }
.feature p { margin-top: 10px; color: var(--text-muted); font-size: 0.975rem; line-height: 1.65; }
.feature-link { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--blue-600); font-weight: 500; text-decoration: none; }
.feature-link:hover { text-decoration: underline; }
.feature-grid.is-plain .feature { background: none; border: 0; box-shadow: none; padding: 0; }
.is-dark .feature { background: var(--slate-800); border-color: transparent; box-shadow: none; }
.is-dark .feature h3 { color: #fff; }
.is-dark .feature p { color: var(--text-on-dark-soft); }
.is-dark .feature-grid.is-plain .feature { background: none; }
.is-gray .feature-grid.is-plain .feature-icon, .is-gray .feature-icon { color: var(--navy-700); }
.feature-grid.icons-green .feature-icon { color: var(--green-600); }
.callout { margin-top: 32px; background: #fff; border-left: 4px solid var(--green-600); border-radius: 0 4px 4px 0; padding: 26px 30px; box-shadow: var(--card-shadow); }
.callout h3 { font-size: 1.25rem; }
.callout p { margin-top: 8px; color: var(--text-body); }
@media (max-width: 999px) { .feature-grid.cols-3, .feature-grid.cols-4 { --cols: 2; } }
@media (max-width: 639px) { .feature-grid { --cols: 1 !important; } }

/* Process steps */
.process-list { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 32px; text-align: center; }
.process-list li { counter-increment: step; }
.process-list li::before { content: counter(step, decimal-leading-zero) '.'; display: block; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 500; color: #fff; line-height: 1; margin-bottom: 16px; }
.process-list h3 { font-size: 1.2rem; color: #fff; }
.process-list p { margin-top: 10px; color: var(--text-on-dark-soft); font-size: 0.975rem; }
@media (max-width: 899px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 519px) { .process-list { grid-template-columns: 1fr; } }

/* Pricing */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.plan { background: #fff; border: 1px solid #ececf2; border-radius: 4px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--card-shadow); display: flex; flex-direction: column; }
.plan h3 { font-size: 1.5rem; }
.plan-price { margin-top: 14px; font-size: 2.2rem; font-weight: 500; color: var(--navy-700); line-height: 1.1; }
.plan-price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.plan-text { margin-top: 16px; }
.plan .checks { margin-bottom: 28px; color: var(--navy-700); font-weight: 500; }
.plan .btn { margin-top: auto; align-self: flex-start; }
/* one plan: wide two-panel card */
.plan-single { display: grid; grid-template-columns: 1.1fr 1fr; max-width: 1000px; margin-inline: auto; border-radius: 4px; overflow: hidden; box-shadow: var(--card-shadow); }
.plan-main { background: var(--navy-900); color: var(--text-on-dark-soft); padding: clamp(32px, 4.5vw, 56px); display: flex; flex-direction: column; }
.plan-kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #3fc79c; }
.plan-single .plan-price { margin-top: 14px; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.4rem); color: #fff; line-height: 1; }
.plan-single .plan-price span { display: block; margin-top: 10px; font-family: var(--font); font-size: 0.95rem; font-weight: 400; color: var(--text-on-dark-muted); }
.plan-single .plan-text { margin-top: 24px; line-height: 1.7; }
.plan-single .btn-row { margin-top: auto; padding-top: 32px; }
.plan-incl { background: #fff; padding: clamp(32px, 4.5vw, 56px); }
.plan-incl h3 { font-size: 1.15rem; }
.plan-incl .checks { gap: 0; margin-top: 12px; color: var(--navy-700); font-weight: 500; }
.plan-incl .checks li { padding: 14px 0; border-bottom: 1px solid #ececf2; }
.plan-incl .checks li:last-child { border-bottom: 0; }
@media (max-width: 799px) { .plan-single { grid-template-columns: 1fr; } }

/* Profile */
.profile-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.profile-media img { width: 100%; border-radius: 4px; box-shadow: var(--card-shadow); }
/* compare slider: top photo clipped at --pos, a range input on top drives it */
.compare { position: relative; overflow: hidden; border-radius: 4px; box-shadow: var(--card-shadow); user-select: none; }
.compare img { display: block; border-radius: 0; box-shadow: none; }
.compare-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-top img { height: 100%; object-fit: cover; }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.compare-handle { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; color: var(--navy-700); display: grid; place-items: center; box-shadow: 0 4px 16px rgb(31 31 64 / 0.3); }
.compare-handle .icon { width: 22px; height: 22px; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare:has(.compare-range:focus-visible) .compare-handle { outline: 3px solid var(--green-600); outline-offset: 2px; }
.profile-body h2 { margin-bottom: 18px; }
.profile-body > p + p { margin-top: 14px; }
@media (max-width: 799px) { .profile-grid { grid-template-columns: 1fr; } .profile-media { max-width: 420px; } }

/* FAQ */
.faq-list { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid #e3e4ec; border-radius: 4px; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; color: var(--navy-700); font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform 0.2s; flex: none; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { padding: 0 26px 24px; color: var(--text-body); line-height: 1.65; }

/* Checklist */
.checklist-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: start; max-width: 1000px; margin-inline: auto; }
.checklist .checks { margin-top: 4px; color: var(--navy-700); font-size: 1.05rem; }
@media (max-width: 699px) { .checklist-grid { grid-template-columns: 1fr; } }

/* Timeline */
.timeline-list { list-style: none; margin: 0 auto; padding: 0 0 0 28px; max-width: 760px; border-left: 2px solid #d9dbe6; display: grid; gap: 28px; }
.timeline-list li { position: relative; }
.timeline-list li::before { content: ''; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--navy-700); box-shadow: 0 0 0 4px var(--white); }
.tl-years { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; color: var(--green-600); }
.timeline-list h3 { margin-top: 4px; font-size: 1.2rem; color: var(--text-card-title); }
.timeline-list p:last-child { margin-top: 6px; color: var(--text-muted); }

/* EFE-3 test */
.test-box { max-width: 900px; margin-inline: auto; background: #fff; border-radius: 4px; box-shadow: var(--card-shadow); padding: clamp(16px, 3vw, 40px); min-height: 360px; }
.efe-gate { display: none; }
.efe-display { display: block; }
/* EFE-3 buttons in the site style (the widget leaves .efe-initiate bare for the page to style) */
.test-box .efe-initiate, .test-box .efe-btn.primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1em 2.1em; border-radius: 4px; border: 1px solid transparent;
  font: inherit; font-family: var(--font); font-weight: 500; font-size: 1rem; line-height: 1.2;
  background: var(--blue-600); color: #fff; box-shadow: 0 10px 24px -8px rgb(36 56 136 / 0.55);
  transition: background-color 0.2s, transform 0.12s var(--ease); touch-action: manipulation;
}
.test-box .efe-initiate:hover, .test-box .efe-btn.primary:hover { background: var(--navy-700); }
.test-box .efe-initiate:active, .test-box .efe-btn.primary:active { transform: translateY(1px); }
.test-box .efe-btn.primary[disabled] { opacity: 0.4; box-shadow: none; }
.test-box .efe-btn.ghost { font-family: var(--font); border-radius: 4px; }
.test-result { max-width: 760px; margin: 48px auto 0; text-align: center; }
.test-result .lead { margin-top: 14px; }

/* featured quote: photo left, quote right */
.fq { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 1100px; margin: 0 auto; }
.fq-media img { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: var(--card-shadow); }
.fq-mark { width: 40px; height: 40px; color: var(--green-600); }
.fq blockquote { margin: 14px 0 0; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); line-height: 1.6; font-weight: 500; color: var(--navy-700); }
.fq blockquote p + p { margin-top: 14px; }
.fq figcaption { margin-top: 24px; display: grid; gap: 2px; }
.fq-name { font-weight: 700; color: var(--navy-700); }
.fq-role { color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 799px) { .fq { grid-template-columns: 1fr; } }
.fq-full { margin-top: 20px; border-top: 1px solid #e3e4ec; padding-top: 14px; }
.fq-full summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--blue-600); }
.fq-full summary::-webkit-details-marker { display: none; }
.fq-full summary .icon { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }
.fq-full[open] summary .icon { transform: rotate(180deg); }
.fq-full p { margin-top: 12px; color: var(--text-body); line-height: 1.7; }
@media (prefers-reduced-motion: reduce) { .fq-full summary .icon { transition: none; } }


/* long text pages (legal) */
.doc-body { max-width: 780px; }
.doc-body h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem); line-height: 1.2; }
.doc-body h2 { font-size: 1.35rem; margin-top: 40px; }
.doc-body h3 { font-size: 1.1rem; margin-top: 28px; }
.doc-body p, .doc-body li { color: var(--text-body); line-height: 1.7; }
.doc-body p { margin-top: 12px; }
.doc-body ul { margin: 12px 0 0; padding-left: 1.2em; }
.doc-body li + li { margin-top: 6px; }
.doc-body a { color: var(--blue-600); }
.doc-table { overflow-x: auto; margin-top: 16px; }
.doc-table table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.doc-table th, .doc-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e3e4ec; vertical-align: top; }
.doc-table th { color: var(--navy-700); font-weight: 700; }

/* cookie banner: card bottom left, does not block the page */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 460px; background: #fff; border-radius: 4px; box-shadow: 0 18px 50px -12px rgb(31 31 64 / 0.35); padding: 22px 24px; }
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.1rem; }
.consent p { margin-top: 8px; font-size: 0.93rem; line-height: 1.6; color: var(--text-body); }
.consent a { color: var(--blue-600); }
.consent-opts { margin-top: 14px; display: grid; gap: 10px; }
.consent-opts[hidden] { display: none; }
.consent-opt { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; line-height: 1.5; color: var(--text-body); cursor: pointer; }
.consent-opt input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue-600); flex: none; }
.consent-opt strong { display: block; color: var(--navy-700); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media (max-width: 479px) { .consent-actions .btn { flex: 1 1 auto; } }

/* optional icon in a menu item ("icon" in i18n menu) */
.nav-icon { width: 1.1em; height: 1.1em; margin-right: 0.3em; vertical-align: -0.15em; color: var(--green-600); }

/* language switcher in the header */
.lang-switch { display: flex; gap: 2px; }
.lang-switch a { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em; color: var(--text-muted); text-decoration: none; padding: 6px 7px; border-radius: 4px; }
.lang-switch a:hover { color: var(--navy-700); background: var(--gray-50); }
.lang-switch a[aria-current] { color: var(--navy-700); font-weight: 700; }

