/* ==========================================================================
   Components (documented in docs/components.md, shown at /gpadmin/styleguide/)
   Every component reads the tone variables (--text, --muted, --accent, --link, --card, --border, --btn-* …)
   set by .tone-* on its section, so it works on white, light, mint, green and dark sections.
   Colours come from tokens.css only.
   ========================================================================== */

/* ---- eyebrow / label / badge --------------------------------------------------- */
.eyebrow {
  display: block; margin: 0 0 16px;
  color: var(--accent); font-family: var(--font-label); font-size: 16px; font-weight: 600;
  line-height: 1.4; letter-spacing: 0;
}
.eyebrow--small { font-size: 13px; }
.eyebrow--medium { font-size: 15px; }
.eyebrow--grey { color: var(--muted); }
.eyebrow--upper { text-transform: uppercase; letter-spacing: var(--tracking-label); font-size: 14px; }
.eyebrow--badge, .badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
  border-radius: var(--radius-pill); background: var(--badge-bg-on-light); color: var(--gp-dark);
  font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: .01em; text-transform: none;
}
:is(.tone-dark, .tone-black, .tone-dark-grey) :is(.eyebrow--badge, .badge) { background: var(--badge-bg); color: var(--gp-green); }
.tone-green :is(.eyebrow--badge, .badge) { background: var(--gp-dark); color: var(--gp-light); }
.badge--coral { background: var(--gp-coral); color: var(--gp-dark); }            /* "Nyhed": the one coral per view (6.90) */
:is(.tone-dark, .tone-black, .tone-dark-grey) .badge--coral { background: var(--gp-coral); color: var(--gp-dark); }
.badge--dark { background: var(--gp-dark); color: var(--gp-light); }
.badge--outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.badge--dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gp-green-600); }
.eyebrow + h1, .eyebrow + h2, .eyebrow + h3, .eyebrow + h4 { margin-top: -6px; }
.eyebrow--badge { margin-bottom: 16px; }
.eyebrow--badge + h1, .eyebrow--badge + h2 { margin-top: 0; }

/* ---- buttons -----------------------------------------------------------------
   Primary = brand green with #191919 text (9.59), hover green-600 (5.37). On tone-green the primary turns dark. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 26px;
  border: 2px solid transparent; border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-text);
  font-family: var(--font-sans); font-size: 17px; font-weight: 500; line-height: 1.2; letter-spacing: 0;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.btn:hover { text-decoration: none; background: var(--btn-hover); color: var(--btn-text); }
.btn--primary, .btn--primary-dark { background: var(--btn-bg); color: var(--btn-text); }    /* --primary-dark: legacy alias */
.btn--primary:hover, .btn--primary-dark:hover { background: var(--btn-hover); color: var(--btn-text); }
.btn--dark { background: var(--btn-alt-bg); color: var(--btn-alt-text); }                    /* solid secondary */
.btn--dark:hover { background: var(--btn-alt-hover); color: var(--btn-alt-text); }
.btn--light { background: var(--gp-light); color: var(--gp-dark); }                          /* on dark / green */
.btn--light:hover { background: var(--gp-green-100); color: var(--gp-dark); }
.btn--ghost { background: var(--ghost); color: var(--text); }                                  /* quiet, dark only */
.btn--ghost:hover { background: var(--gp-light); color: var(--gp-dark); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--surface); border-color: var(--text); }
.btn--outline-primary { background: transparent; color: var(--link); border-color: var(--accent-ui); }
.btn--outline-primary:hover { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }
.btn--coral { background: var(--gp-coral); color: var(--gp-dark); }                          /* rare: one per view */
.btn--coral:hover { background: var(--gp-coral-600); color: var(--gp-dark); }
.btn--text { min-height: 0; padding: 4px 0; background: none; color: var(--link); text-decoration: underline; text-underline-offset: .18em; }
.btn--text:hover { background: none; color: var(--link-hover); text-decoration-thickness: 2px; }
.btn--rounded { border-radius: var(--radius); }   /* legacy: every button is rounded now */
.btn--pill { border-radius: var(--radius-pill); }
.btn--lg { min-height: 58px; padding: 15px 32px; font-size: 18px; }
.btn--md { min-height: 48px; padding: 11px 22px; font-size: 16px; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 16px; }
.btn--xs { min-height: 34px; padding: 5px 12px; font-size: 14px; border-radius: var(--radius-sm); }
.btn--block { display: flex; width: 100%; }
.btn .icon, .btn svg { flex: none; }
.btn[disabled], .btn.is-disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn.is-placeholder { cursor: default; } /* label of a page that does not exist yet (header/footer): looks normal, no link */

.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.btn-row--center { justify-content: center; }
@media (max-width: 479px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

/* arrow button: green square with chevron + label (cards, pricing) */
.btn-arrow {
  display: inline-flex; align-items: stretch; min-height: 44px; border-radius: var(--radius); overflow: hidden;
  color: var(--text); text-decoration: none; font-size: 16px; font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--border);
}
.btn-arrow:hover { text-decoration: none; color: var(--text); }
.btn-arrow__icon {
  flex: none; width: 44px; display: grid; place-items: center;
  background: var(--btn-bg); color: var(--btn-text); transition: background-color var(--transition);
}
.btn-arrow__icon::before {
  content: ""; width: 9px; height: 9px; margin-left: -4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg);
}
.btn-arrow__label {
  flex: 1; display: flex; align-items: center; justify-content: center; padding: 8px 18px;
  background: var(--card-alt); transition: background-color var(--transition), color var(--transition);
}
.btn-arrow:hover .btn-arrow__icon { background: var(--btn-hover); }
.btn-arrow:hover .btn-arrow__label { background: var(--card); }
.btn-arrow--block { display: flex; width: 100%; }
.btn-arrow--md { min-height: 52px; }
.btn-arrow--md .btn-arrow__icon { width: 52px; }
.btn-arrow--dark .btn-arrow__icon { background: var(--gp-dark); color: var(--gp-light); }
.btn-arrow--dark .btn-arrow__label { background: var(--gp-green); color: var(--gp-dark); }
.btn-arrow--dark:hover .btn-arrow__label { background: var(--gp-green-600); color: var(--gp-dark); }
.btn-arrow--dark:hover .btn-arrow__icon { background: var(--gp-dark-raised); }

/* text link with arrow */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--link); font-weight: 500; text-decoration: none; transition: gap var(--transition), color var(--transition); }
.link-arrow::after { content: "→"; transition: transform var(--transition); }
.link-arrow:hover { text-decoration: none; gap: 12px; color: var(--link-hover); }

/* ---- hero ---------------------------------------------------------------- */
.hero { padding-block: 88px 96px; position: relative; overflow: hidden; }
.hero__inner { position: relative; max-width: var(--container-text); margin-inline: auto; text-align: center; }
.hero__title { margin-bottom: 20px; }
.hero__text { color: var(--muted); font-size: var(--fs-lead); line-height: 1.55; margin: 0 auto 36px; max-width: 680px; }
.hero__text--lead { font-size: var(--fs-lead); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px 16px; justify-content: center; }
.hero__note { margin-top: 16px; color: var(--muted); font-size: var(--fs-small); }
.hero--compact { padding-block: 48px 56px; }
.hero--compact .hero__text { margin-bottom: 0; }
.hero--tall { padding-block: 128px; }
.hero--left .hero__inner { margin-inline: 0; text-align: left; }
.hero--left .hero__text { margin-inline: 0; }
.hero--left .hero__actions { justify-content: flex-start; }
.hero--wide .hero__inner { max-width: 900px; }
/* split hero: text left, media right */
.hero--split .hero__inner { max-width: none; display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; text-align: left; }
.hero--split .hero__text { margin-inline: 0; }
.hero--split .hero__actions { justify-content: flex-start; }
.hero__media img { width: 100%; height: auto; border-radius: var(--radius-lg); }
.hero__media--plain img { border-radius: 0; }
/* the signature: a soft green glow + a short green rule above the title (decoration only) */
.hero--brand::before {
  content: ""; position: absolute; z-index: 0; width: 720px; height: 720px; right: -260px; top: -320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(36, 95, 212, .22), rgba(36, 95, 212, 0));
  pointer-events: none;
}
.hero--brand .hero__title::before {
  content: ""; display: block; width: 56px; height: 5px; margin: 0 auto 24px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gp-action) 0 78%, var(--gp-sun) 78% 100%);
}
.hero--brand.hero--left .hero__title::before, .hero--brand.hero--split .hero__title::before { margin-left: 0; }
.hero--brand .eyebrow + .hero__title::before { display: none; } /* an eyebrow/badge already leads into the title */
@media (max-width: 991px) {
  .hero { padding-block: 64px 72px; }
  .hero--split .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero--tall { padding-block: 88px; }
}
@media (max-width: 767px) {
  .hero { padding-block: 44px 52px; }
  .hero__inner { text-align: left; }
  .hero--center-mobile .hero__inner { text-align: center; }
  .hero__actions { justify-content: flex-start; }
  .hero__text { margin-bottom: 28px; margin-inline: 0; }
  .hero--brand .hero__title::before { margin-left: 0; }
  .hero--brand::before { width: 420px; height: 420px; right: -200px; top: -200px; }
}
@media (max-width: 479px) {
  .hero__actions .btn { width: 100%; }
}

/* ---- section heading ----------------------------------------------------- */
.section-head { max-width: var(--container-text); margin: 0 auto 48px; text-align: center; }
.section-head__title { margin-bottom: 16px; }
.section-head__text { color: var(--muted); font-size: var(--fs-lead); line-height: 1.55; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head--wide { max-width: 900px; }
.section-head--tight { margin-bottom: 24px; }
@media (max-width: 767px) {
  .section-head { text-align: left; margin-bottom: 32px; }
  .section-head--center-mobile { text-align: center; }
}

/* ---- cards -------------------------------------------------------------- */
.card {
  --card-pad-y: 32px; --card-pad-x: 32px;
  position: relative; overflow: hidden;
  padding: var(--card-pad-y) var(--card-pad-x);
  background: var(--card); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  --input-bg: var(--card-alt);
}
.card--shadow { background: var(--gp-light); color: var(--gp-dark); border-color: transparent; box-shadow: var(--shadow-card); }
.card--raised { background: var(--gp-light); color: var(--gp-dark); border-color: transparent; box-shadow: var(--shadow-raised); }
.card--alt { background: var(--card-alt); border-color: transparent; }
.card--bordered { border-color: var(--border); }
.card--plain { border-color: transparent; }
.card--accent::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent-deco); } /* green top rule (decoration) */
.card--link { transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); border-color: transparent; }
.card--wide { --card-pad-x: 64px; }
.card--lg { --card-pad-y: 56px; --card-pad-x: 64px; }
.card--sm { --card-pad-y: 20px; --card-pad-x: 20px; }
.card--flush { --card-pad-y: 0px; --card-pad-x: 0px; }
.card--center { text-align: center; }
.card--full { height: 100%; }
.card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: var(--radius-lg); background: var(--gp-green-50); --icon-surface: var(--gp-green-50); color: var(--gp-dark); }
:is(.tone-dark, .tone-black, .tone-dark-grey) .card__icon { background: var(--gp-dark); --icon-surface: var(--gp-dark); color: var(--gp-light); }
.card--center .card__icon { margin-inline: auto; }
.card__title { margin-bottom: 12px; }
.card__text { color: var(--muted); font-size: var(--fs-medium); }
.card__media { margin-top: 20px; }
.card__media img { width: 100%; height: auto; }
.card__action { margin-top: 20px; }
/* media that runs into the card edge (the card clips it) */
.card__media--bleed-bottom { margin-bottom: calc(-1 * var(--card-pad-y) - var(--bleed, 0px)); }
.card__media--bleed-top { margin-top: calc(-1 * var(--card-pad-y) - var(--bleed, 0px)); }
.card__media--bleed-x { margin-inline: calc(-1 * var(--card-pad-x) - var(--bleed-x, 0px)); }
.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.card-grid--2 { --cols: 2; }
.card-grid--4 { --cols: 4; }
@media (max-width: 991px) {
  .card { --card-pad-y: 28px; --card-pad-x: 28px; }
  .card--wide, .card--lg { --card-pad-y: 40px; --card-pad-x: 40px; }
  .card-grid--4 { --cols: 2; }
}
@media (max-width: 767px) {
  .card, .card--wide, .card--lg { --card-pad-y: 24px; --card-pad-x: 20px; }
  .card-grid { --cols: 1; }
}

/* ---- numbered topic cards (01 / 02 / 03) ----------------------------------------- */
.topics { padding-top: 40px; }
.topic-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: var(--container-narrow); margin-inline: auto; }
.topic-card {
  display: flex; flex-direction: column; min-height: 100%;
  padding: 28px 24px; background: var(--card); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.topic-card__number { margin: 0 0 20px; text-align: center; color: var(--accent); font-size: 15px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.topic-card__icon { display: flex; justify-content: center; margin-bottom: 20px; }
.topic-card__icon img { height: 48px; width: auto; max-width: none; }
.topic-card__title { text-align: center; margin-bottom: 10px; font-size: var(--fs-h5); font-weight: 600; line-height: 1.35; }
.topic-card__text { color: var(--muted); font-size: var(--fs-medium); margin-bottom: 20px; text-align: center; }
.topic-card__action { margin-top: auto; padding-top: 8px; }
.topic-card__action .btn-arrow { display: flex; width: 100%; }
@media (max-width: 767px) {
  .topic-cards { grid-template-columns: minmax(0, 1fr); }
}

/* ---- lists -------------------------------------------------------------- */
.check-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; color: var(--text); font-size: var(--fs-medium); }
.check-list li::before { /* tick in a green circle: the circle is decoration, the dark tick carries it (9.59) */
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gp-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.2 3 3 6-6.4' fill='none' stroke='%23191919' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.tone-green .check-list li::before { background-color: var(--gp-light); }
.check-list li.is-arrow::before, .check-list--arrow li::before {
  background: none; border-radius: 0; width: 14px; height: 2px; top: .8em; left: 2px; background-color: var(--accent-ui);
}
.check-list li.is-arrow::after, .check-list--arrow li::after {
  content: ""; position: absolute; left: 9px; top: calc(.8em - 3px); width: 7px; height: 7px;
  border-top: 2px solid var(--accent-ui); border-right: 2px solid var(--accent-ui); transform: rotate(45deg);
}
.check-list--muted li { color: var(--muted); }
.check-list--strong li { color: var(--text); font-weight: 500; }
.check-list--box { gap: 16px; }
.check-list--box li { padding: 14px 16px 14px 48px; background: var(--card-alt); border-radius: var(--radius); }
.check-list--box li::before { left: 16px; top: calc(14px + .2em); }
.check-list--box li.is-arrow::before { left: 18px; top: calc(14px + .8em); }
.check-list--box li.is-arrow::after { left: 25px; top: calc(14px + .8em - 3px); }
.check-list--cols { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 12px 32px; }
@media (max-width: 767px) { .check-list--cols { grid-template-columns: minmax(0, 1fr); } }
/* square bullets */
.square-list { list-style: none; padding-left: 0; margin: 0; color: var(--text); font-size: var(--fs-medium); }
.square-list li { position: relative; padding-left: 20px; }
.square-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent-ui); }
.square-list li + li { margin-top: 6px; }
/* icon + text list */
.icon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.icon-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text); font-size: var(--fs-medium); }
.icon-list img { flex: none; width: 24px; height: 24px; margin-top: 1px; }

/* ---- step list (how it works; numbered circles, the <ol> stays semantic) ------------------ */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; }
.steps > li { position: relative; counter-increment: step; padding: 0 0 32px 64px; min-height: 44px; }
.steps > li:last-child { padding-bottom: 0; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; background: var(--gp-green); color: var(--gp-dark); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums;
}
.tone-green .steps > li::before { background: var(--gp-dark); color: var(--gp-green); }
.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 52px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--border); }
.steps__title { display: block; margin: 8px 0 6px; font-size: var(--fs-h5); font-weight: 600; line-height: 1.35; color: var(--heading); }
.steps__text { color: var(--muted); font-size: var(--fs-medium); }
/* horizontal variant: 3–4 steps side by side from 768px */
@media (min-width: 768px) {
  .steps--row { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 32px; }
  .steps--4 { --cols: 4; }
  .steps--row > li { padding: 64px 0 0; }
  .steps--row > li:not(:last-child)::after { left: 56px; right: -24px; top: 21px; bottom: auto; width: auto; height: 2px; }
}

/* ---- feature grid (icon + title + text) ------------------------------------ */
.feature-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 40px 48px; }
.feature-grid--2 { --cols: 2; }
.feature-grid--4 { --cols: 4; }
.feature__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.feature__icon { flex: none; width: 32px; height: 32px; }
.feature__title { margin: 0; font-size: var(--fs-h5); font-weight: 600; line-height: 1.35; }
.feature__text { color: var(--muted); font-size: var(--fs-medium); }
.feature--stacked .feature__head { flex-direction: column; align-items: flex-start; gap: 16px; }
.feature--stacked .feature__icon { width: 48px; height: 48px; padding: 10px; box-sizing: content-box; border-radius: var(--radius-lg); background: var(--gp-green-50); --icon-surface: var(--gp-green-50); color: var(--gp-dark); }
.feature--sans .feature__title { font-size: 18px; }
.feature--sans .feature__icon { width: 24px; height: 24px; }
@media (max-width: 991px) { .feature-grid, .feature-grid--4 { --cols: 2; gap: 40px; } }
@media (max-width: 767px) { .feature-grid, .feature-grid--4 { --cols: 1; gap: 32px; } }

/* ---- image + text split ---------------------------------------------------------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.split--5-7 { grid-template-columns: 5fr 7fr; }
.split--7-5 { grid-template-columns: 7fr 5fr; }
.split--top { align-items: start; }
.split--reverse > .split__media { order: -1; }
.split--single { grid-template-columns: minmax(0, 1fr); }
.split__content { max-width: 540px; }
.split__content--wide { max-width: none; }
.split__media img, .split__media video { width: 100%; height: auto; border-radius: var(--radius-lg); }
.split__media--frame { padding: 24px; background: var(--card-alt); border-radius: calc(var(--radius-lg) + 8px); }
.split__media--frame img { box-shadow: var(--shadow-card); }
.split__media--plain img { border-radius: 0; }
.split__text { color: var(--muted); margin-bottom: 28px; }
/* tinted panel behind the text half */
.split-bg { position: relative; }
.split-bg::before { content: ""; position: absolute; inset: 0 40% 0 0; background: var(--card-alt); border-radius: var(--radius-lg); z-index: 0; }
.split-bg--right::before { inset: 0 0 0 40%; }
.split-bg > * { position: relative; z-index: 1; }
@media (max-width: 991px) { .split { gap: 40px; } }
@media (max-width: 767px) {
  .split, .split--5-7, .split--7-5 { grid-template-columns: minmax(0, 1fr); }
  .split--reverse > .split__media { order: 0; }
  .split__content { max-width: none; }
  .split-bg::before { inset: 0; }
}

/* ---- logo / integration grid ------------------------------------------------------ */
.logo-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
.logo-grid--4 { --cols: 4; }
.logo-grid--6 { --cols: 6; }
.logo-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 24px 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  text-align: center; text-decoration: none; color: var(--muted);
  font-size: 14px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.logo-tile img { height: 56px; width: auto; object-fit: contain; }
a.logo-tile:hover, button.logo-tile:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: transparent; }
.logo-grid--mono .logo-tile img { filter: grayscale(1); opacity: .75; transition: filter var(--transition), opacity var(--transition); }
.logo-grid--mono .logo-tile:hover img { filter: none; opacity: 1; }
@media (max-width: 991px) { .logo-grid--6 { --cols: 3; } }
@media (max-width: 767px) { .logo-grid, .logo-grid--6 { --cols: 2; gap: 12px; } }
@media (max-width: 479px) { .logo-tile img { height: 44px; } }

/* ---- tabs (data-tabs; works without JS: all panels shown) ------------------------- */
.tabs__list {
  display: flex; gap: 4px; margin: 0 0 32px; padding: 0; list-style: none;
  overflow-x: auto; scrollbar-width: thin; border-bottom: 1px solid var(--border);
}
.tabs__tab {
  flex: none; padding: 12px 18px; margin-bottom: -1px;
  background: none; border: 0; border-bottom: 3px solid transparent; color: var(--muted);
  font-size: var(--fs-medium); font-weight: 500; white-space: nowrap; cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.tabs__tab:hover { color: var(--text); border-bottom-color: var(--border-strong); }
.tabs__tab[aria-selected="true"] { color: var(--text); font-weight: 600; border-bottom-color: var(--accent-ui); }
.tabs__tab img { height: 22px; width: auto; display: inline-block; vertical-align: middle; margin-right: 8px; }
.tabs__tab:focus-visible { outline-offset: -2px; }
.tabs--center .tabs__list { justify-content: safe center; }
.tabs--pills .tabs__list { border: 0; gap: 8px; flex-wrap: wrap; overflow: visible; }
.tabs--pills .tabs__tab { border: 1px solid var(--border-strong); border-radius: var(--radius-pill); margin: 0; padding: 8px 18px; color: var(--text); }
.tabs--pills .tabs__tab:hover { background: var(--card-alt); }
.tabs--pills .tabs__tab[aria-selected="true"] { background: var(--gp-dark); border-color: var(--gp-dark); color: var(--gp-light); }
:is(.tone-dark, .tone-black, .tone-dark-grey) .tabs--pills .tabs__tab[aria-selected="true"] { background: var(--gp-green); border-color: var(--gp-green); color: var(--gp-dark); }
.tabs__panel:focus-visible { outline-offset: 6px; }
.tabs__panel[hidden] { display: none; }

/* ---- slider / carousel (data-slider) ---------------------------------------------- */
.slider { position: relative; }
.slider__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; list-style: none; margin: 0; padding: 0;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { flex: 0 0 100%; scroll-snap-align: start; text-align: center; padding: 0 10px; }
.slider__slide img { margin: 0 auto 32px; max-height: 380px; width: auto; border-radius: var(--radius-lg); }
.slider__title { margin-bottom: 16px; }
.slider__text { color: var(--muted); }
.slider__controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; }
.slider__btn {
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0;
  background: var(--card); border: 1px solid var(--border-strong); border-radius: 50%; color: var(--text); cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition);
}
.slider__btn:hover { background: var(--card-alt); border-color: var(--text); }
.slider__btn::before { content: ""; width: 9px; height: 9px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.slider__btn--prev::before { transform: translateX(2px) rotate(45deg); }
.slider__btn--next::before { transform: translateX(-2px) rotate(-135deg); }
.slider__dots { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; }
.slider__dot { width: 10px; height: 10px; padding: 0; border-radius: var(--radius-pill); border: 0; background: var(--border-strong); cursor: pointer; transition: width var(--transition), background-color var(--transition); }
.slider__dot[aria-current="true"] { width: 26px; background: var(--accent-ui); }

/* ---- testimonial (partials/testimonial.html) ---------------------------------------- */
.testimonial {
  position: relative; display: flex; flex-direction: column; gap: 24px; height: 100%; margin: 0;
  padding: 32px; background: var(--card); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.testimonial::before { /* opening quote mark: decoration in the brand green */
  content: ""; display: block; width: 36px; height: 28px; flex: none;
  background: var(--accent-deco);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 28'%3E%3Cpath d='M0 28V16.6C0 7.5 4.7 2 14 0l1.6 4.2C10.4 5.7 8 8.9 7.8 13.6H14V28H0Zm21 0V16.6C21 7.5 25.7 2 35 0l1 4.2c-5.2 1.5-7.6 4.7-7.8 9.4H35V28H21Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 28'%3E%3Cpath d='M0 28V16.6C0 7.5 4.7 2 14 0l1.6 4.2C10.4 5.7 8 8.9 7.8 13.6H14V28H0Zm21 0V16.6C21 7.5 25.7 2 35 0l1 4.2c-5.2 1.5-7.6 4.7-7.8 9.4H35V28H21Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.testimonial__quote { margin: 0; font-size: var(--fs-lead); line-height: 1.5; font-weight: 400; color: var(--text); }
.testimonial__quote p { margin-bottom: 12px; }
.testimonial__author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonial__avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--card-alt); }
.testimonial__logo { flex: none; height: 32px; width: auto; }
.testimonial__name { display: block; font-weight: 600; font-style: normal; color: var(--heading); }
.testimonial__role { display: block; color: var(--muted); font-size: var(--fs-small); }
.testimonial--large { padding: 48px; text-align: center; align-items: center; border: 0; background: transparent; }
.testimonial--large .testimonial__quote { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; font-weight: 500; letter-spacing: -.01em; max-width: 860px; }
.testimonial--large .testimonial__author { margin-top: 0; text-align: left; }
@media (max-width: 767px) { .testimonial { padding: 24px; } .testimonial--large { padding: 8px 0; } }

/* ---- FAQ accordion (<details>; data-accordion="single" closes siblings) --------------- */
.accordion { display: grid; gap: 12px; }
.accordion__item { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); transition: border-color var(--transition), box-shadow var(--transition); }
.accordion__item:hover { border-color: var(--border-strong); }
.accordion__item[open] { border-color: var(--border); box-shadow: var(--shadow-card); }
.accordion__summary {
  display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 14px 20px; cursor: pointer; list-style: none;
  font-size: var(--fs-medium); font-weight: 600; color: var(--text); border-radius: var(--radius-lg);
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__question { flex: 1; order: 1; }
.accordion__icon { order: 2; flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--card-alt); color: var(--text); transition: background-color var(--transition); }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform var(--transition); }
.accordion__icon::after { transform: rotate(90deg); }
.accordion__item[open] .accordion__icon { background: var(--gp-green); color: var(--gp-dark); }
.accordion__item[open] .accordion__icon::after { transform: rotate(0deg); }
.accordion__answer { padding: 0 20px 20px; color: var(--muted); font-size: var(--fs-medium); }
.accordion__answer > :last-child { margin-bottom: 0; }
.accordion__summary:focus-visible { outline-offset: -2px; }

/* ---- pricing ------------------------------------------------------------------- */
/* two-part panel: intro on the left, plans on the right */
.pricing-panel { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: var(--gp-light); color: var(--gp-dark); border-radius: var(--radius-lg); box-shadow: var(--shadow-raised); }
.pricing-panel__intro { padding: 56px 64px; display: flex; flex-direction: column; justify-content: center; }
.pricing-panel__plans { padding: 56px 64px; background: var(--gp-light-alt); }
.pricing-panel__plans .plan + .plan { margin-top: 40px; }
.plan__title { margin-bottom: 10px; }
.plan .check-list { margin-bottom: 0; gap: 6px; }
.plan .check-list li { color: var(--gp-dark); font-size: 15px; }
@media (max-width: 991px) { .pricing-panel__intro, .pricing-panel__plans { padding: 40px; } }
@media (max-width: 767px) {
  .pricing-panel { grid-template-columns: minmax(0, 1fr); }
  .pricing-panel__intro, .pricing-panel__plans { padding: 28px 20px; }
}
/* pricing header pattern: dark band that the panel overlaps */
.pricing-overlap { background: linear-gradient(to bottom, var(--gp-dark) var(--overlap, 55%), var(--gp-light) var(--overlap, 55%)); }
/* individual price cards */
.price-cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.price-cards--4 { --cols: 4; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px 28px; background: var(--card); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.price-card--featured { border: 2px solid var(--gp-green); box-shadow: var(--shadow-raised); }
.price-card__badge { position: absolute; top: -14px; left: 28px; }
.price-card__name { margin-bottom: 6px; }
.price-card__desc { color: var(--muted); font-size: var(--fs-medium); margin-bottom: 8px; }
.price-card__price { font-size: var(--fs-h2); font-weight: 700; line-height: 1.1; letter-spacing: var(--tracking-tight); color: var(--heading); margin: 12px 0 4px; font-variant-numeric: tabular-nums; }
.price-card__period { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.price-card .check-list { margin-bottom: 28px; }
.price-card__action { margin-top: auto; }
.price-card__action .btn { width: 100%; }
@media (max-width: 1199px) { .price-cards--4 { --cols: 2; } }
@media (max-width: 991px) { .price-cards { --cols: 1; max-width: 560px; margin-inline: auto; } .price-cards--4 { --cols: 2; max-width: none; } }
@media (max-width: 767px) { .price-cards--4 { --cols: 1; } }

/* ---- tables (outside .prose: comparison / price tables) ------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; font-size: 15px; line-height: 1.5; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.table th, .table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table thead th { background: var(--card-alt); font-weight: 600; color: var(--heading); white-space: nowrap; }
.table tbody th { font-weight: 500; }
.table--striped tbody tr:nth-child(even) > * { background: var(--card-alt); }
.table--compare td:not(:first-child), .table--compare th:not(:first-child) { text-align: center; }
.table .is-yes, .table .is-no { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; }
.table .is-yes { background: var(--gp-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.2 3 3 6-6.4' fill='none' stroke='%23191919' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.table .is-no { width: 14px; height: 2px; border-radius: 2px; background: var(--border-strong); }

/* ---- timeline ------------------------------------------------------------- */
.timeline { position: relative; list-style: none; padding: 0; margin: 0; }
.timeline__item { display: grid; grid-template-columns: 1fr 1fr; position: relative; padding-bottom: 72px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__year, .timeline__body { padding: 0 56px; }
.timeline__year { text-align: right; color: var(--accent-large); font-size: var(--fs-h2); font-weight: 700; line-height: 1.1; margin: 0; font-variant-numeric: tabular-nums; }
.timeline__body { text-align: left; }
.timeline__title { margin: 6px 0 8px; }
.timeline__text { color: var(--muted); font-size: var(--fs-medium); }
.timeline__item:nth-child(even) .timeline__year { order: 2; text-align: left; }
.timeline__item:nth-child(even) .timeline__body { order: 1; text-align: right; }
.timeline__item::before { content: ""; position: absolute; left: 50%; top: 26px; bottom: 0; width: 2px; margin-left: -1px; background: var(--border); }
.timeline__item:last-child::before { display: none; }
.timeline__item::after {
  content: ""; position: absolute; left: 50%; top: 14px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: var(--gp-green); border: 3px solid var(--surface); box-shadow: 0 0 0 6px var(--halo);
}
@media (max-width: 767px) {
  .timeline__item { grid-template-columns: minmax(0, 1fr); padding-left: 44px; padding-bottom: 44px; }
  .timeline__year, .timeline__body { padding: 0; text-align: left !important; order: 0 !important; }
  .timeline__year { font-size: var(--fs-h3); }
  .timeline__item::before { left: 11px; top: 30px; }
  .timeline__item::after { left: 11px; top: 8px; }
}

/* ---- background video tiles ------------------------------------------------- */
.video-tile { position: relative; overflow: hidden; aspect-ratio: 10 / 17; border-radius: var(--radius-lg); box-shadow: var(--shadow-tile); background: var(--gp-dark) center / cover no-repeat; }
.video-tile video, .video-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.video-pair > :nth-child(2) { margin-top: 40px; }
@media (max-width: 479px) { .video-pair { gap: 16px; } .video-pair > :nth-child(2) { margin-top: 28px; } }
.video-tile__toggle {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 50%; background: var(--overlay); color: var(--gp-light); cursor: pointer;
  display: grid; place-items: center; font-size: 12px; line-height: 1;
}
html:not(.js) .video-tile__toggle { display: none; }
.video-tile__icon { display: block; width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.video-tile__toggle[aria-pressed="true"] .video-tile__icon {
  width: 0; height: 0; margin-left: 3px; border-style: solid; border-color: transparent; border-width: 6px 0 6px 10px; border-left-color: currentColor;
}
.video-tile__toggle:hover { background: var(--overlay-strong); }
/* framed image with offset tinted panel behind */
.image-frame { position: relative; padding: 48px 0 48px 40px; }
.image-frame::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 67%; background: var(--gp-green-50); border-radius: var(--radius-lg); z-index: 0; }
.image-frame img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-raised); }

/* ---- video facade (web/videos.py: Markdown video lines; site.js swaps in the player iframe on click) ------- */
.video { margin: 1.5em 0; }
.video__link, .video__frame {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--gp-dark); color: var(--gp-light); text-decoration: none;
  box-shadow: var(--shadow-card);
}
.video__link:hover { color: var(--gp-light); text-decoration: none; }
.video__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video__thumb--empty { display: block; background: radial-gradient(circle at 70% 20%, rgba(36, 95, 212, .25), transparent 60%), var(--gp-dark); }
.video__link:hover .video__thumb { transform: scale(1.02); }
.video__play { /* green disc with a dark triangle (9.59): visible on any thumbnail thanks to the white ring */
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  background: var(--gp-green); box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 8px 24px rgba(25, 25, 25, .35);
  transition: transform var(--transition), background-color var(--transition);
}
.video__play::after { content: ""; position: absolute; left: 29px; top: 23px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--gp-dark); }
.video__link:hover .video__play, .video__link:focus-visible .video__play { transform: scale(1.06); background: var(--gp-green-100); }
.video__link:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.video__meta {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 12px; justify-content: space-between; align-items: flex-end;
  padding: 40px 18px 14px; background: linear-gradient(transparent, rgba(25, 25, 25, .85));
  font-size: 15px; line-height: 1.35;
}
.video__title { font-weight: 600; }
.video__duration { flex: none; padding: 2px 8px; border-radius: var(--radius-sm); background: rgba(25, 25, 25, .7); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__caption { margin-top: 10px; font-size: 15px; color: var(--muted); }
@media (max-width: 479px) { .video__play { width: 56px; height: 56px; margin: -28px 0 0 -28px; } .video__play::after { left: 22px; top: 17px; border-width: 11px 0 11px 17px; } .video__title { font-size: 14px; } }

/* ---- forms --------------------------------------------------------------------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 479px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-family: var(--font-label); font-size: 15px; font-weight: 500; color: var(--text); }
.form-label .req { color: var(--muted); margin-left: 2px; }
.form-help { color: var(--muted); font-size: 14px; }
.form-input {
  width: 100%; min-height: 48px; padding: 11px 14px;
  background: var(--input-bg); color: var(--text); border: 1px solid var(--border-strong); border-radius: var(--radius);
  font-size: 16px; line-height: 1.4; transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}
select.form-input { -webkit-appearance: none; appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23595959' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; }
.form-input::placeholder { color: var(--muted); opacity: 1; }
.form-input:hover { border-color: var(--text); }
.form-input:focus { outline: none; border-color: var(--focus); box-shadow: var(--focus-ring); }
.form-textarea { min-height: 150px; resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-medium); cursor: pointer; }
.form-check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gp-green-700); }
.form-field.has-error .form-input, .form-input[aria-invalid="true"] { border-color: var(--error-border); }
.form-error { color: var(--error); font-size: 14px; font-weight: 500; }
:is(.tone-black, .tone-dark, .tone-dark-grey) .form-error { color: var(--error-on-dark); }
:is(.tone-black, .tone-dark, .tone-dark-grey) .form-field.has-error .form-input { border-color: var(--error-on-dark); }
.form-errors { padding: 14px 18px; border-left: 4px solid var(--error-border); border-radius: var(--radius); background: var(--error-tint); color: var(--gp-dark); font-size: 15px; }
.form-success { padding: 18px 20px; background: var(--success-tint); color: var(--gp-dark); border-left: 4px solid var(--gp-green-600); border-radius: var(--radius); }
.form-note { color: var(--muted); font-size: 14px; }
.form-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* inner-label variant: label sits inside the field box */
.form--inner-label .form-field { position: relative; gap: 0; background: var(--input-bg); border: 1px solid var(--border-strong); border-radius: var(--radius); transition: border-color var(--transition), box-shadow var(--transition); }
.form--inner-label .form-label { padding: 10px 14px 0; color: var(--muted); font-size: 13px; }
.form--inner-label .form-input { background: transparent; border: 0; min-height: 40px; padding-top: 2px; }
.form--inner-label .form-field:hover { border-color: var(--text); }
.form--inner-label .form-field:focus-within { border-color: var(--focus); box-shadow: var(--focus-ring); }
.form--inner-label .form-input:focus { box-shadow: none; }
.form--inner-label .form-field.has-error, .form--inner-label .form-field:has([aria-invalid="true"]) { border-color: var(--error-border); }
.form--inner-label .form-error, .form--inner-label .form-note { padding: 0 14px 10px; }
/* bordered variant: always a white input, whatever the tone */
.form--bordered .form-input { background: var(--gp-light); color: var(--gp-dark); border-color: var(--gp-grey-500); }
.form--bordered .form-input::placeholder { color: var(--gp-grey-700); }
.form--bordered .form-input:focus { border-color: var(--gp-green-700); }
.form .btn { width: 100%; }
/* form placeholder ([[form]] / front matter form:, until the form engine, M5) */
.form-placeholder { margin: 1.5em 0; padding: 20px 24px; border: 2px dashed var(--border-strong); border-radius: var(--radius-lg); background: var(--card-alt); }
.form-placeholder__title { margin: 0 0 4px; font-weight: 700; }
.form-placeholder__text { margin: 0; color: var(--muted); }

/* ---- callouts (standalone; the Markdown ones are .prose .callout below) ----------------- */
.callout { padding: 18px 20px; border-left: 4px solid var(--gp-green-600); border-radius: var(--radius); background: var(--success-tint); color: var(--gp-dark); }
.callout > * + * { margin-top: .5em; }
.callout--note { border-left-color: var(--info); background: var(--info-tint); }
.callout--warning { border-left-color: var(--warning); background: var(--warning-tint); }
.callout--help { border-left-color: var(--gp-dark); background: var(--gp-light-alt); }
.callout a { color: var(--gp-green-800); }

/* ---- prose: Markdown / legal text ------------------------------------------------ */
.prose { color: var(--text); font-size: 17px; line-height: 1.7; max-width: 760px; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose h2 { font-size: 28px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; margin: 2em 0 .6em; }
.prose h3 { font-size: 22px; font-weight: 600; line-height: 1.35; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 18px; font-weight: 600; line-height: 1.4; margin: 1.4em 0 .4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul > li::marker { color: var(--accent-ui); }
.prose ol > li::marker { color: var(--muted); font-weight: 600; }
.prose li + li { margin-top: .35em; }
.prose li > ul, .prose li > ol { margin-top: .35em; }
.prose img { max-width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); margin: 1.4em 0; }
/* a screen recording in an article (![alt](….mp4){poster=…}, web/content.py): framed like a screenshot */
.prose video.article-video { max-width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); margin: 1.4em 0; background: var(--gp-light-alt); }
.prose p > img:only-child { margin: 0; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; text-align: center; }
.prose hr { margin: 2em 0; }
.prose code { padding: .12em .4em; background: var(--card-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .88em; }
.prose pre { padding: 18px 20px; overflow-x: auto; background: var(--code-bg); color: var(--code-text); border-radius: var(--radius); font-size: 14px; line-height: 1.6; }
.prose pre code { padding: 0; background: none; border: 0; color: inherit; font-size: inherit; }
.prose blockquote { padding: 16px 20px; border-left: 4px solid var(--gp-green); border-radius: 0 var(--radius) var(--radius) 0; background: var(--accent-tint); color: var(--gp-dark); }
.prose blockquote a { color: var(--gp-green-700); }
.prose blockquote > * + * { margin-top: .6em; }
/* callouts (web/content.py: "> **Tip:**" …): icon badge + bold label on its own line, tinted by type */
.prose .callout {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; align-items: start;
  padding: 18px 22px 18px 18px; border-left-width: 4px; border-radius: 0 var(--radius) var(--radius) 0;
}
.prose .callout > * { grid-column: 2; }
.prose .callout > * + * { margin-top: .5em; }
.prose .callout > .callout__icon + * { margin-top: 0; }
.prose .callout__icon {
  grid-column: 1; grid-row: 1 / span 20; display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--gp-light); --icon-surface: var(--gp-light);
  --icon-accent: var(--gp-green-600); --icon-accent-fill: var(--gp-green); --icon-line: var(--gp-dark); color: var(--gp-dark);
}
.prose .callout__label { display: block; margin-bottom: 2px; font-weight: 700; }
.prose .callout--tip { border-left-color: var(--gp-green-600); background: var(--success-tint); }
.prose .callout--note { border-left-color: var(--info); background: var(--info-tint); }
.prose .callout--warning { border-left-color: var(--warning); background: var(--warning-tint); }
.prose .callout--help { border-left-color: var(--gp-dark); background: var(--gp-light-alt); }
.prose .callout--help .callout__icon { background: var(--gp-light); --icon-surface: var(--gp-light); }
.prose .table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--border); border-radius: var(--radius); }
/* tables keep whole words (.prose breaks anywhere): a wide table scrolls inside .table-wrap instead of squeezing */
.prose .table-wrap table { overflow-wrap: normal; }
.prose .table-wrap th, .prose .table-wrap td { min-width: 7em; }
.prose table { width: 100%; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose th + th, .prose td + td { border-left: 1px solid var(--border); }
.prose tr:last-child > td { border-bottom: 0; }
.prose th { background: var(--card-alt); font-weight: 600; }
.prose dl dt { font-weight: 700; margin-top: 1em; }
.prose dl dd { margin-left: 0; color: var(--muted); }
.prose--legal { max-width: 860px; }
.prose--legal h2 { font-size: 24px; }
.prose--wide { max-width: none; }

.faq__image { width: 70px; height: auto; margin-bottom: 20px; }

/* ---- link cards / nav cards (a grid of linked cards with icon, title, text) ----------------- */
.link-cards { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 24px; }
.link-cards--3 { --cols: 3; }
.link-cards--4 { --cols: 4; }
.link-cards--4 .nav-card { flex-direction: column; }
.nav-card {
  display: flex; align-items: flex-start; gap: 16px; height: 100%;
  padding: 24px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  color: var(--text); text-decoration: none; --icon-surface: var(--card);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.nav-card:hover { color: var(--text); border-color: transparent; box-shadow: var(--shadow-raised); transform: translateY(-3px); text-decoration: none; }
.nav-card__icon { flex: none; width: 48px; height: auto; }
.nav-card__body { display: flex; flex-direction: column; gap: 6px; }
.nav-card__title { font-size: var(--fs-h5); font-weight: 600; line-height: 1.35; color: var(--heading); }
.nav-card__text { font-size: var(--fs-medium); color: var(--muted); }
.nav-card__more { margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--link); }
.nav-card__more::after { content: " →"; }
@media (max-width: 991px) { .link-cards--3, .link-cards--4 { --cols: 2; } }
@media (max-width: 767px) { .link-cards, .link-cards--3, .link-cards--4 { --cols: 1; } .link-cards--4 .nav-card { flex-direction: row; } }

/* ---- CTA band ----------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px 56px; padding: 56px 64px; background: var(--card); color: var(--text); border-radius: calc(var(--radius-lg) + 4px); }
.cta-band__title { margin-bottom: 10px; }
.cta-band__text { color: var(--muted); margin: 0; max-width: 620px; }
.cta-band__actions { flex: none; display: flex; gap: 12px 16px; flex-wrap: wrap; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band::after { z-index: 0; }
.cta-band--center { flex-direction: column; text-align: center; }
.cta-band--center .cta-band__text { margin-inline: auto; }
/* green band: dark text, dark primary button (via .tone-green variables) */
.cta-band--accent {
  background: var(--gp-green); color: var(--gp-dark);
  --text: var(--gp-dark); --heading: var(--gp-dark); --muted: var(--muted-on-accent); --link: var(--gp-dark); --link-hover: var(--gp-dark); --focus: var(--gp-dark);
  --btn-bg: var(--gp-dark); --btn-text: var(--gp-light); --btn-hover: var(--gp-dark-raised);
  --btn-alt-bg: var(--gp-light); --btn-alt-text: var(--gp-dark); --btn-alt-hover: var(--gp-green-50);
}
.cta-band--accent::after { /* soft circles: decoration */
  content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: rgba(255, 255, 255, .18); pointer-events: none;
}
/* dark band (inside a light section): white text, green primary */
.cta-band--dark {
  background: var(--gp-dark); color: var(--gp-light);
  --text: var(--gp-light); --heading: var(--gp-light); --muted: var(--gp-grey-on-dark); --link: var(--gp-green); --link-hover: var(--gp-green-100); --focus: var(--gp-green);
  --btn-bg: var(--gp-green); --btn-text: var(--gp-dark); --btn-hover: var(--gp-green-100);
  --btn-alt-bg: var(--gp-light); --btn-alt-text: var(--gp-dark); --btn-alt-hover: var(--gp-green-100);
}
.cta-band--dark::after {
  content: ""; position: absolute; right: -120px; bottom: -200px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(36, 95, 212, .28), rgba(36, 95, 212, 0)); pointer-events: none;
}
@media (max-width: 991px) { .cta-band { padding: 40px; } }
@media (max-width: 767px) { .cta-band { flex-direction: column; align-items: flex-start; padding: 32px 24px; } .cta-band--center { align-items: center; } }

/* ---- code block -------------------------------------------- */
.code-block {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  padding: 8px; background: var(--code-bg); border: 1px solid var(--gp-dark-line); border-radius: var(--radius-lg);
  font-family: var(--font-code); font-size: 14px; line-height: 1.6; color: var(--code-text); text-align: left;
}
.code-block__lines { padding: 10px 14px 10px 10px; color: var(--code-line); text-align: right; user-select: none; border-right: 1px solid var(--gp-dark-line); white-space: pre; }
.code-block__code { margin: 0; padding: 10px 14px; overflow-x: auto; white-space: pre; background: transparent; }
.code-block__code:focus-visible { outline-offset: -2px; }
.code-block .tok-key { color: var(--code-key); }
.code-block .tok-str { color: var(--code-string); }
.code-block .tok-fn { color: var(--code-function); }
.code-block .tok-com { color: var(--code-comment); }
.code-block .tok-num { color: var(--code-number); }

/* ---- contact card -------------------------------------------------------------- */
.contact-card { padding: 32px; background: var(--card); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.contact-card__icon { display: block; margin: 0 auto 12px; width: 160px; }
.contact-card__name { text-align: center; margin-bottom: 20px; }
.contact-card__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: var(--fs-medium); }
.contact-card__divider { border: 0; border-top: 1px solid var(--border); margin: 28px 0; }

/* ---- breadcrumbs ---------------------------------------------------------------- */
.breadcrumbs { font-size: 14px; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--muted); }
.breadcrumbs a { color: var(--text); text-decoration: none; }
.breadcrumbs a:hover { color: var(--link); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--muted); }

/* ---- search box (support hero, 404) ------------------------------------------------- */
.search-box { position: relative; display: flex; max-width: 760px; margin: 0 auto; background: var(--gp-light); border: 1px solid var(--gp-grey-500); border-radius: var(--radius); overflow: hidden; transition: border-color var(--transition), box-shadow var(--transition); }
.search-box:hover { border-color: var(--gp-dark); }
.search-box__field { position: relative; flex: 1; min-width: 0; display: flex; }
.search-box__input {
  flex: 1; min-width: 0; min-height: 56px; padding: 12px 18px; border: 0; background: var(--gp-light); color: var(--gp-dark); font-size: 17px;
}
.search-box__input::placeholder { color: var(--gp-grey-700); } /* white box: 7.00 */
.search-box__input:focus { outline: none; }
.search-box__btn { flex: none; width: 56px; margin: 6px; display: grid; place-items: center; border: 0; border-radius: var(--radius-sm); background: var(--gp-green); color: var(--gp-dark); cursor: pointer; transition: background-color var(--transition); }
.search-box__btn:hover { background: var(--gp-green-600); }
.search-box:focus-within { border-color: var(--gp-green-700); box-shadow: var(--focus-ring); }
:is(.tone-dark, .tone-black, .tone-dark-grey) .search-box { border-color: transparent; }
.support-hero { padding-block: 48px 56px; text-align: center; }
.support-hero__title { font-size: var(--fs-h2); font-weight: 700; margin-bottom: 12px; }
.support-hero__text { color: var(--muted); font-size: var(--fs-lead); margin-bottom: 32px; }

/* Help-center layout, navigation, cards, article parts: static/css/pages/support.css (support pages only). */

/* ---- split screen (form left, promo right) ---------------------------------- */
.split-screen { display: grid; grid-template-columns: 2fr 3fr; min-height: calc(100vh - var(--header-h)); }
.split-screen__main { display: flex; align-items: center; justify-content: flex-end; padding: 80px 96px 80px var(--gutter); }
.split-screen__main > * { width: 100%; max-width: 380px; }
.split-screen__aside { display: flex; align-items: center; justify-content: center; padding: 80px 40px; }
.split-screen__aside > * { width: 100%; max-width: 560px; }
@media (max-width: 991px) {
  .split-screen { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .split-screen__main { justify-content: center; padding: 56px var(--gutter); }
  .split-screen__main > * { max-width: 520px; }
  .split-screen__aside { padding: 56px var(--gutter); }
}

/* ---- stats (numbers row) ------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 24px; }
.stat__value { display: block; font-size: var(--fs-h2); font-weight: 700; line-height: 1.1; letter-spacing: var(--tracking-tight); color: var(--heading); font-variant-numeric: tabular-nums; }
.stat__value::after { content: ""; display: block; width: 32px; height: 4px; margin-top: 12px; border-radius: 2px; background: var(--accent-deco); }
.stat__label { display: block; margin-top: 10px; color: var(--muted); font-size: var(--fs-medium); }
@media (max-width: 767px) { .stats { --cols: 1; } }

/* ---- misc --------------------------------------------------------------------- */
.divider { border: 0; border-top: 1px solid var(--border); margin: 20px 0; }
.media-shadow { box-shadow: var(--shadow-raised); border-radius: var(--radius-lg); }
.placeholder-box { padding: 40px; border: 2px dashed var(--border-strong); border-radius: var(--radius-lg); text-align: center; color: var(--muted); }
.error-page { position: relative; overflow: hidden; padding-block: 96px 120px; text-align: center; }
.error-page__code {
  display: inline-block; margin-bottom: 20px; padding: 4px 14px; border-radius: var(--radius-pill);
  background: var(--badge-bg-on-light); color: var(--gp-dark); font-size: 14px; font-weight: 600; letter-spacing: var(--tracking-label);
}
.error-page::before { /* soft green glow behind the message (decoration) */
  content: ""; position: absolute; left: 50%; top: -360px; width: 900px; height: 640px; margin-left: -450px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(36, 95, 212, .18), rgba(36, 95, 212, 0)); pointer-events: none;
}
.error-page > * { position: relative; }
.error-page h1 { margin-bottom: 16px; }
.error-page .search-box { text-align: left; }
.error-page__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 32px; list-style: none; padding: 0; }
@media (max-width: 767px) { .error-page { padding-block: 64px 80px; } }

/* Proposal preview banner (templates/partials/preview_banner.html; staff-only preview, never on the public site).
   Yellow with dark text on every tone (12.19:1), above the sticky header; it scrolls away. */
.preview-banner { background: var(--yellow); color: var(--gp-dark); font-size: 14px; line-height: 1.45; }
.preview-banner__inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 4px 20px; padding-block: 8px; }
.preview-banner p { margin: 0; }
.preview-banner a { color: var(--gp-dark); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.preview-banner a:focus-visible { outline: 2px solid var(--gp-dark); outline-offset: 2px; }
