/* ============================================================================
 * Der eHealth Newsletter — production stylesheet
 * Bundles the design-system tokens (colours, type, spacing, effects, fonts)
 * and the component/page styles translated from the DS React primitives.
 * ==========================================================================*/

/* ---- Webfont: Public Sans — SELF-HOSTED (DSGVO: no Google Fonts CDN call).
 *      Font files live in ../fonts/ and are declared in public-sans.css. ---- */
@import url('../fonts/public-sans.css');

/* ============================ TOKENS ====================================== */
:root {
  /* Brand navy */
  --navy-900: #012347;
  --navy-800: #013366;
  --navy-700: #0a4680;
  --navy-600: #135a9c;

  /* Brand blue */
  --blue-700: #035a97;
  --blue-600: #046fb8;
  --blue-500: #2a8ad0;
  --blue-300: #8fc2e6;
  --blue-100: #d6e8f5;
  --blue-050: #eef5fb;

  /* Classic email link indigo */
  --indigo-link: #1e1ca0;

  /* Neutrals */
  --white: #ffffff;
  --gray-050: #f7f7f7;
  --gray-100: #eeeeee;
  --gray-200: #e2e4e7;
  --gray-300: #cdd1d6;
  --gray-400: #a7adb5;
  --gray-500: #6e6e6e;
  --gray-700: #3d4249;
  --gray-900: #1a1d21;

  /* Category accents */
  --cat-politik: #013366;
  --cat-gematik: #046fb8;
  --cat-versorgung: #1f8a5b;
  --cat-innovation: #b5561e;

  /* Status */
  --success: #1f8a5b;
  --warning: #b5811e;
  --danger:  #c0392b;

  /* Semantic aliases */
  --surface-page: var(--gray-050);
  --surface-card: var(--white);
  --surface-header: var(--navy-800);
  --surface-accent-soft: var(--blue-050);
  --text-strong: var(--navy-800);
  --text-body: var(--gray-900);
  --text-muted: var(--gray-500);
  --text-on-dark: #f4f8fb;
  --text-link: var(--blue-600);
  --text-link-hover: var(--navy-800);
  --border-subtle: var(--gray-200);
  --border-strong: var(--gray-300);
  --focus-ring: var(--blue-500);

  /* Type */
  --font-sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-mono: var(--font-sans);
  --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700; --fw-extrabold: 800;
  --fs-display: 40px; --fs-h1: 30px; --fs-h2: 22px; --fs-h3: 17px;
  --fs-body: 16px; --fs-small: 14px; --fs-micro: 12px;
  --lh-tight: 1.15; --lh-snug: 1.3; --lh-normal: 1.55;
  --ls-eyebrow: 0.08em; --ls-tight: -0.01em;

  /* Spacing / radius / layout (4px grid) */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px;
  --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px;
  --radius-sm: 3px; --radius-md: 6px; --radius-lg: 10px; --radius-pill: 999px;
  --content-email: 640px; --content-narrow: 520px; --content-page: 1080px;

  /* Effects */
  --shadow-xs: 0 1px 2px rgba(1, 51, 102, 0.06);
  --shadow-sm: 0 1px 3px rgba(1, 51, 102, 0.10), 0 1px 2px rgba(1, 51, 102, 0.06);
  --shadow-md: 0 4px 12px rgba(1, 51, 102, 0.10);
  --shadow-lg: 0 10px 28px rgba(1, 51, 102, 0.14);
  --transition-fast: 120ms ease;
  --transition-base: 180ms ease;
}

/* ============================ BASE ======================================== */
* { box-sizing: border-box; }
/* scroll-padding-top keeps anchor targets clear of the sticky nav (~86px tall)
   so headings/text aren't hidden behind it when jumping to #themen etc. */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }

/* ============================ COMPONENTS ================================== */

/* ---- Link ---- */
.ds-link {
  color: var(--text-link);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: currentColor;
  transition: color var(--transition-fast);
}
.ds-link:hover { color: var(--text-link-hover); }
.ds-link--classic { color: var(--indigo-link); }
.ds-link--classic:hover { color: var(--text-link-hover); }
.ds-link--source { font-size: var(--fs-small); text-decoration-color: var(--blue-300); }

/* ---- Button ---- */
.ds-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: var(--fw-semibold); line-height: 1;
  border-radius: var(--radius-md); cursor: pointer;
  border: 1px solid transparent; text-decoration: none;
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-fast);
}
.ds-btn:active { transform: translateY(1px); }
.ds-btn--sm { padding: 7px 14px;  font-size: 14px; }
.ds-btn--md { padding: 11px 20px; font-size: 16px; }
.ds-btn--lg { padding: 15px 28px; font-size: 17px; }
.ds-btn--primary   { background: var(--navy-800); color: var(--text-on-dark); border-color: var(--navy-800); }
.ds-btn--primary:hover   { background: var(--navy-900); border-color: var(--navy-900); }
.ds-btn--accent    { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.ds-btn--accent:hover    { background: var(--blue-700); border-color: var(--blue-700); }
.ds-btn--secondary { background: transparent; color: var(--navy-800); border-color: var(--border-strong); }
.ds-btn--secondary:hover { border-color: var(--navy-800); }
.ds-btn--full { width: 100%; }

/* ---- Input ---- */
.ds-input {
  font-family: var(--font-sans); color: var(--text-body); background: var(--white);
  border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  width: 100%; box-sizing: border-box; outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.ds-input--md { padding: 12px 14px; font-size: 16px; }
.ds-input--lg { padding: 15px 16px; font-size: 17px; }
.ds-input:focus { border-color: var(--focus-ring); box-shadow: 0 0 0 3px var(--blue-100); }
.ds-input--invalid { border-color: var(--danger); }

/* ---- Checkbox ---- */
.ds-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--font-sans); font-size: 14px; line-height: 1.45;
  color: var(--text-muted); cursor: pointer;
}
.ds-check__box {
  flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px;
  border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--transition-fast);
}
.ds-check__box svg { opacity: 0; }
.ds-check__input { position: absolute; opacity: 0; width: 0; height: 0; }
.ds-check__input:checked + .ds-check__box { border-color: var(--blue-600); background: var(--blue-600); }
.ds-check__input:checked + .ds-check__box svg { opacity: 1; }
.ds-check__input:focus-visible + .ds-check__box { box-shadow: 0 0 0 3px var(--blue-100); }

/* ---- Badge ---- */
.ds-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans); font-size: var(--fs-micro); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  padding: 4px 9px; border-radius: var(--radius-sm);
  background: var(--blue-050); color: var(--navy-800); border: none;
}
.ds-badge--politik    { background: var(--navy-800);      color: #fff; }
.ds-badge--gematik    { background: var(--blue-600);      color: #fff; }
.ds-badge--versorgung { background: var(--cat-versorgung);color: #fff; }
.ds-badge--innovation { background: var(--cat-innovation);color: #fff; }
.ds-badge--neutral    { background: var(--blue-050);      color: var(--navy-800); }
.ds-badge--outline {
  background: transparent;
  color: var(--cat-versorgung);
  border: 1px solid var(--cat-versorgung);
}

/* ---- Card ---- */
.ds-card {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xs);
  padding: var(--space-6);
}
.ds-card--elevated { box-shadow: var(--shadow-md); }
.ds-card--flush { padding: 0; overflow: hidden; }

/* ---- CategoryHeading ---- */
.ds-cat {
  display: flex; align-items: center; gap: var(--space-3);
  margin: 0 0 var(--space-4);
  font-size: var(--fs-h2); font-weight: var(--fw-extrabold);
  color: var(--text-strong); letter-spacing: var(--ls-tight);
}
.ds-cat::before {
  content: ""; width: 4px; height: 1.05em; border-radius: 2px;
  background: var(--navy-800); flex: 0 0 auto;
}
.ds-cat--politik::before    { background: var(--cat-politik); }
.ds-cat--gematik::before    { background: var(--cat-gematik); }
.ds-cat--versorgung::before { background: var(--cat-versorgung); }
.ds-cat--innovation::before { background: var(--cat-innovation); }

/* ---- NewsItem ---- */
.ds-news {
  display: flex; gap: var(--space-3); margin-bottom: var(--space-4);
  font-size: var(--fs-body); line-height: var(--lh-normal); color: var(--text-body);
}
.ds-news::before {
  content: ""; flex: 0 0 auto; margin-top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-body);
}
.ds-news p { margin: 0; }
.ds-news strong { font-weight: var(--fw-bold); }
.ds-news__source {
  color: var(--text-link); font-size: var(--fs-small);
  text-decoration: underline; text-underline-offset: 2px;
}
.ds-news__source:hover { color: var(--text-link-hover); }

/* ============================ LANDING PAGE ================================ */

/* Top nav */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; border-bottom: 1px solid var(--border-subtle);
  background: #fff; position: sticky; top: 0; z-index: 10;
}
.nav__links { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav__links a { color: var(--navy-800); text-decoration: none; }
.nav__links a:hover { color: var(--blue-600); }
/* CTA button in the nav: keep the light label on the navy fill
   (otherwise `.nav__links a` would paint it navy-on-navy). */
.nav__links a.ds-btn--primary,
.nav__links a.ds-btn--primary:hover { color: var(--text-on-dark); }
.nav__logo { height: 54px; width: auto; display: block; }

/* Hero */
.hero { padding: 64px 32px 48px; max-width: 820px; margin: 0 auto; text-align: center; }
.hero__badges { display: inline-flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; justify-content: center; }
.hero h1 {
  margin: 0 0 18px; font-size: var(--fs-display); line-height: 1.1;
  font-weight: 800; letter-spacing: -0.015em; color: var(--navy-800);
}
.hero__sub { margin: 0 auto 32px; max-width: 600px; font-size: 18px; line-height: 1.6; color: var(--text-muted); }
.hero__form { max-width: 540px; margin: 0 auto; text-align: left; }

/* -------- Brevo signup form, restyled to the eHealth brand ----------------
 * The official Brevo embed ships its own markup (required classes/ids) and
 * sib-styles.css, plus inline styles. We override with `!important` where an
 * inline style would otherwise win, scoped under `.hero__form .sib-form`. */
.hero__form { max-width: 540px; margin: 0 auto; text-align: left; }

.hero__form .sib-form { background: transparent !important; padding: 0 !important; text-align: left !important; }
.hero__form #sib-form-container { max-width: none; }
.hero__form #sib-container {
  background: transparent !important; border: 0 !important; border-radius: 0 !important;
  max-width: none !important; padding: 0 !important; text-align: left !important;
  font-family: var(--font-sans) !important;
}
.hero__form #sib-form { padding: 0; }
.hero__form .sib-form-block { padding: 6px 0 !important; }

/* honeypot — kept in the DOM for Brevo, hidden from users */
.hero__form .input--hidden { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; opacity: 0; }

/* Text inputs */
.hero__form .sib-form .input,
.hero__form .sib-form input.input {
  font-family: var(--font-sans) !important; font-size: 17px !important;
  color: var(--text-body) !important; background: var(--white) !important;
  border: 1px solid var(--border-strong) !important; border-radius: var(--radius-md) !important;
  padding: 15px 16px !important; width: 100% !important; box-sizing: border-box !important;
  box-shadow: none !important; line-height: 1.3 !important;
  transition: border-color var(--transition-base), box-shadow var(--transition-base) !important;
}
.hero__form .sib-form .input:focus {
  border-color: var(--focus-ring) !important; box-shadow: 0 0 0 3px var(--blue-100) !important;
}
.hero__form .sib-form input::placeholder,
.hero__form #sib-container input::placeholder {
  color: var(--gray-400) !important; font-family: var(--font-sans) !important;
  text-align: left !important; opacity: 1;
}

/* Submit button — brand primary (navy, light label, full width) */
.hero__form .sib-form-block__button {
  font-family: var(--font-sans) !important; font-size: 17px !important; font-weight: 600 !important;
  color: var(--text-on-dark) !important; background: var(--navy-800) !important;
  border: 1px solid var(--navy-800) !important; border-radius: var(--radius-md) !important;
  padding: 15px 28px !important; width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; transition: background var(--transition-base), transform var(--transition-fast);
}
.hero__form .sib-form-block__button:hover { background: var(--navy-900) !important; border-color: var(--navy-900) !important; }
.hero__form .sib-form-block__button:active { transform: translateY(1px); }

/* Opt-in / consent — checkbox absolutely positioned, text padded clear of it
   (Brevo's flex layout let the first text line slide under the box). */
.hero__form .sib-optin .entry__label { display: none !important; }   /* hide the bare "Opt-in" label */
.hero__form .sib-optin .entry__choice { margin: 0 !important; }
.hero__form .sib-optin .entry__choice > label {
  display: block !important; position: relative !important;
  padding-left: 30px !important; cursor: pointer; margin: 0 !important;
}
.hero__form .sib-optin__label,
.hero__form .sib-optin .entry__choice span:not(.checkbox) {
  display: block !important; text-indent: 0 !important;   /* Brevo sets -24px, which slid the text under the box */
  font-family: var(--font-sans) !important; font-size: 14px !important; line-height: 1.45 !important;
  color: var(--text-body) !important; background: transparent !important;
}
.hero__form .sib-optin__label p { margin: 0 !important; }
.hero__form .sib-optin .entry__choice a { color: var(--text-link) !important; text-decoration: underline; text-underline-offset: 2px; }
.hero__form .sib-optin .entry__choice a:hover { color: var(--text-link-hover) !important; }

/* Real (hidden) checkbox pulled out of flow so it can't push the text */
.hero__form .sib-optin .input_replaced {
  position: absolute !important; opacity: 0 !important; left: 0 !important; top: 0 !important;
  width: 18px !important; height: 18px !important; margin: 0 !important;
}
/* Visible tick box — brand blue when checked */
.hero__form .sib-form .checkbox {
  position: absolute !important; left: 0 !important; top: 1px !important;
  width: 18px !important; height: 18px !important; margin: 0 !important;
  border: 1px solid var(--border-strong) !important; border-radius: var(--radius-sm) !important;
  background: var(--white) !important; box-shadow: none !important;
  background-size: 12px 12px !important; background-position: center !important; background-repeat: no-repeat !important;
  transition: all var(--transition-fast) !important;
}
.hero__form .sib-form .input_replaced:checked + .checkbox {
  border-color: var(--blue-600) !important; background-color: var(--blue-600) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6.2l2.2 2.3 4.8-5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

/* Specification note under the opt-in */
.hero__form .entry__specification {
  font-family: var(--font-sans) !important; font-size: 12px !important; line-height: 1.5 !important;
  color: var(--text-muted) !important; margin-top: 8px !important;
}

/* Field-level error text */
.hero__form .entry__error {
  font-family: var(--font-sans) !important; font-size: 13px !important;
  border-radius: var(--radius-sm) !important;
}

/* Success / error message panels */
.hero__form .sib-form-message-panel {
  font-family: var(--font-sans) !important; max-width: none !important;
  border-radius: var(--radius-md) !important; margin-bottom: 16px;
}
.form__success {
  background: var(--surface-accent-soft); border: 1px solid var(--blue-100);
  border-radius: var(--radius-md); padding: 18px 20px; color: var(--navy-800);
}
.form__success strong { font-size: 17px; }
.form__success p { margin: 6px 0 0; font-size: 15px; color: var(--text-body); line-height: 1.5; }
.is-hidden { display: none; }

/* Section shell */
.section { padding: 56px 32px; }
.section--white { background: #fff; border-top: 1px solid var(--border-subtle); }
.section--page  { background: var(--surface-page); }
.section__inner { max-width: 1080px; margin: 0 auto; }
.eyebrow {
  margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue-600);
}
.section h2 { margin: 0 0 12px; font-size: var(--fs-h1); font-weight: 800; color: var(--navy-800); letter-spacing: -0.01em; }
.section__lead { margin: 0 0 32px; max-width: 640px; font-size: 17px; line-height: 1.6; color: var(--text-muted); }

/* Themen grid */
.themen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.themen-grid .ds-card { padding: 22px; }
.themen-grid p { margin: 14px 0 0; font-size: 15px; line-height: 1.55; color: var(--text-body); }

/* Preview / testimonials split */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: center; }
.split h2 { margin: 0 0 24px; font-size: 20px; font-weight: 800; color: var(--navy-800); letter-spacing: -0.01em; }
.testimonial { margin: 0; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border-subtle); }
.testimonial:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.testimonial blockquote { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--navy-800); font-weight: 500; }
.testimonial figcaption { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--text-muted); }
.testimonial figcaption strong { color: var(--text-body); }

/* Mini issue mock */
.mock__head { background: var(--navy-800); color: #fff; padding: 18px 22px; text-align: center; }
.mock__pill {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #fff; background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 3px 10px; margin-bottom: 8px;
}
.mock__title { font-weight: 700; font-size: 18px; }
.mock__date  { font-size: 12px; opacity: 0.75; margin-top: 4px; }
.mock__body  { padding: 22px 26px; }
.mock__body p { font-size: 14.5px; line-height: 1.55; color: var(--text-body); }
.mock__body p + p { margin-top: 12px; }
.mock__body .lead-p { margin-bottom: 18px; }

/* Footer */
.footer { background: var(--navy-900); color: rgba(255,255,255,0.8); padding: 40px 32px; text-align: center; }
.footer__logo { height: 48px; width: auto; display: inline-block; margin-bottom: 12px; }
.footer p { margin: 0 0 12px; font-size: 14px; }
.footer a { color: #fff; font-size: 13px; }
.footer__url { margin: 14px 0 0 !important; font-size: 11px; opacity: 0.6; }

/* ============================ LEGAL PAGES ================================ */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 32px 72px; }
.legal h1 {
  font-size: var(--fs-h1); font-weight: 800; color: var(--navy-800);
  letter-spacing: -0.01em; margin: 0 0 8px;
}
.legal__updated { margin: 0 0 32px; font-size: 14px; color: var(--text-muted); }
.legal__body { font-size: 16px; line-height: 1.65; color: var(--text-body); }
.legal__body h2 {
  font-size: 20px; font-weight: 800; color: var(--navy-800); letter-spacing: -0.01em;
  margin: 34px 0 10px;
}
.legal__body h3 { font-size: 16px; font-weight: 700; color: var(--navy-800); margin: 24px 0 8px; }
.legal__body p { margin: 0 0 14px; }
.legal__body ul { margin: 0 0 16px; padding-left: 22px; }
.legal__body li { margin-bottom: 8px; }
.legal__body a { color: var(--text-link); text-decoration: underline; text-underline-offset: 2px; }
.legal__body a:hover { color: var(--text-link-hover); }
.legal__body strong { font-weight: 700; }
.legal__back { display: inline-block; margin-top: 8px; font-size: 15px; }

/* ============================ NEWSLETTER EMAIL =========================== */
.email-page { background: var(--gray-050); padding: 40px 16px; min-height: 100vh; }
.email {
  max-width: 640px; margin: 0 auto; background: #fff;
  border-radius: 8px; overflow: hidden; box-shadow: 0 0 10px rgba(1,51,102,0.10);
}
.email__header {
  background: var(--surface-header); color: var(--text-on-dark);
  padding: 24px; text-align: center;
}
.email__header img { height: 56px; width: auto; display: block; margin: 0 auto 12px; }
.email__header h1 { margin: 0; font-weight: 700; font-size: var(--fs-h1); letter-spacing: -0.01em; }
.email__date { margin-top: 8px; font-size: var(--fs-small); letter-spacing: 0.02em; color: rgba(255,255,255,0.75); }
.email__body { padding: 30px 24px; }
.email__intro { font-size: 16px; line-height: 1.6; color: var(--text-body); }
.email__intro p { margin: 0 0 16px; }
.email__intro p.last { margin: 0 0 20px; }
.coffee {
  background: var(--blue-050); border: 1px solid var(--blue-100); border-radius: 6px;
  padding: 14px 18px; margin: 4px 0 28px; font-size: 15px; line-height: 1.55; color: var(--text-body);
}
.email__section { margin-bottom: 26px; }
.email__signoff { font-size: 16px; line-height: 1.6; color: var(--text-body); margin-top: 4px; }
.email__signoff p { margin: 0 0 16px; }
.email__signoff p.last { margin: 0; }
.email__footer {
  border-top: 1px solid var(--border-subtle); margin-top: 28px; padding-top: 20px;
  text-align: center; font-size: 12px; line-height: 1.7; color: #999;
}
.email__footer a { color: #999; }
.email__footer .sep { margin: 0 6px; color: var(--gray-400); }

/* ============================ RESPONSIVE ================================= */
@media (max-width: 640px) {
  .nav { padding: 12px 18px; }
  .nav__links { gap: 14px; font-size: 14px; }
  .nav__links a[href*="#stimmen"], .nav__links a[href*="#beispiel"] { display: none; }
  .hero { padding: 44px 20px 36px; }
  .hero h1 { font-size: 30px; }
  .hero__sub { font-size: 16px; }
  .section { padding: 40px 20px; }
  .form__row > .form__field { flex-basis: 100%; }
  .form__row .ds-btn { width: 100%; }
}

/* ============================ COOKIE CONSENT ============================= */
.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
  max-width: 560px; margin: 0 auto;
  background: var(--white); color: var(--text-body);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 20px 22px;
  font-family: var(--font-sans); font-size: 14px; line-height: 1.55;
}
.cc-banner[hidden] { display: none; }
.cc-banner h2 { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: var(--navy-800); }
.cc-banner p { margin: 0 0 14px; color: var(--text-body); }
.cc-banner a { color: var(--text-link); text-decoration: underline; text-underline-offset: 2px; }
.cc-banner a:hover { color: var(--text-link-hover); }
.cc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cc-actions .ds-btn { flex: 1 1 auto; }

/* Inline notice shown when the form is submitted without reCAPTCHA consent */
.consent-required {
  margin: 12px 0 0; padding: 12px 14px;
  background: var(--surface-accent-soft); border: 1px solid var(--blue-100);
  border-radius: var(--radius-md); font-size: 13px; line-height: 1.5; color: var(--navy-800);
}
.consent-required[hidden] { display: none; }
.consent-required .ds-btn { margin-top: 8px; }

@media (max-width: 640px) {
  .cc-actions { flex-direction: column; }
}
