/* PONSUM base.css
   Tokens, type, layout, buttons, section themes and every component the marketing pages share.
   Variable names are Summ's; the purple accent maps to green (docs/SPEC.md section 2).
   Snippets for every block live in docs/SHELL.md. */

/* ------------------------------------------------------------------------------------------ fonts */
@font-face {
  font-family: 'ABC Arizona Flare';
  src: url('/fonts/69038067621dd23438a6b92b_ABCArizonaFlare-Regular.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'SB Articulate';
  src: url('/fonts/6904c9694251f8300a037c8c_SBArticulate-Screen.woff') format('woff');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'SB Articulate';
  src: url('/fonts/6904c969a1d7ea8eb8665ebd_SBArticulate-Regular.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'SB Articulate';
  src: url('/fonts/6904c969e5a8fc8205b33a2d_SBArticulate-Medium.woff') format('woff');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Azeret SemiMono';
  src: url('/fonts/69037f5cbeab1e301cafecc1_AzeretSemiMono-Regular.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Registered so the header can transition its colours when it crosses a dark section (like Summ). */
@property --text-primary { syntax: '<color>'; inherits: true; initial-value: #201d19; }
@property --logo-neutral { syntax: '<color>'; inherits: true; initial-value: #201d19; }
@property --menu-button-menu-fg { syntax: '<color>'; inherits: true; initial-value: #2f2b24; }
@property --menu-button-menu-hover { syntax: '<color>'; inherits: true; initial-value: #1a7a0e; }
@property --button-tertiary-fg { syntax: '<color>'; inherits: true; initial-value: #28241e; }
@property --button-tertiary-border { syntax: '<color>'; inherits: true; initial-value: #28241e; }
@property --button-primary-border-gradient1 { syntax: '<color>'; inherits: true; initial-value: #b9ffab; }

/* ----------------------------------------------------------------------------------------- tokens */
:root {
  --font-heading: 'ABC Arizona Flare', 'Times New Roman', serif;
  --font-body: 'SB Articulate', Arial, sans-serif;
  --font-label: 'Azeret SemiMono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* colours: light theme */
  --text-primary: #201d19;
  --text-secondary: #454039;
  --text-tertiary: #8a8275;
  --text-quaternary: #b2aea2;
  --text-placeholder: #8a8275;
  --text-disabled: #b2aea2;
  --text-label: #fff;
  --text-brand: #1a7a0e;
  --text-error-primary: #f35b3c;
  --text-success-primary: #599643;

  --bg-primary: #f9f8ee;
  --bg-secondary: #f1f0e2;
  --bg-brand: #45f824;
  --bg-overlay: #201d19;
  --bg-active: #fffef8;

  --fg-primary: #e1dfcf;
  --fg-secondary: #f1f0e2;
  --fg-tertiary: #b2aea2;
  --fg-quartenary: #fffef8;
  --fg-quinary: #f9f8ee;
  --fg-brand: #45f824;

  --border-primary: #e1dfcf;
  --border-secondary: #b2aea2;
  --border-tertiary: #8a8275;
  --border-quarternary: #2f2b24;
  --border-brand: #45f824;
  --border-disabled: #e1dfcf;
  --border-error: #f35b3c;

  --logo-neutral: #201d19;
  --logo-brand: #45f824;
  --logo-partner: #000;

  --button-primary-fg: #201d19;
  --button-primary-fg-hover: #201d19;
  --button-primary-fg-disabled: #8a8275;
  --button-primary-bg: #45f824;
  --button-primary-bg-hover: #6dff52;
  --button-primary-bg-disabled: #e1dfcf;
  --button-primary-border-gradient1: #b9ffab;
  --button-primary-border-gradient2: #6dff52;
  --button-primary-border-gradient3: #1f9a0c;
  --button-primary-border-gradient1-hover: #eaffe4;
  --button-primary-border-gradient2-hover: #45f824;
  --button-primary-border-gradient3-hover: #1f9a0c;

  --button-secondary-fg: #1a7a0e;
  --button-secondary-fg-hover: #12620a;
  --button-secondary-fg-disabled: #b2aea2;
  --button-secondary-bg: #e1e1e100;
  --button-secondary-bg-hover: #201d190d;
  --button-secondary-border: #1a7a0e;
  --button-secondary-border-hover: #12620a;
  --button-secondary-border-disabled: #b2aea2;

  --button-tertiary-fg: #28241e;
  --button-tertiary-fg-hover: #454039;
  --button-tertiary-fg-disabled: #b2aea2;
  --button-tertiary-bg: #e1e1e100;
  --button-tertiary-bg-hover: #201d190d;
  --button-tertiary-border: #28241e;
  --button-tertiary-fg-border-hover: #454039;
  --button-tertiary-fg-border-disabled: #b2aea2;

  --button-tag-fg: #28241e;
  --button-tag-fg-hover: #28241e;
  --button-tag-fg-active: #e1dfcf;
  --button-tag-fg-disabled: #b2aea2;
  --button-tag-bg: #e1e1e100;
  --button-tag-bg-hover: #201d190d;
  --button-tag-bg-active: #28241e;
  --button-tag-border: #28241e;
  --button-tag-border-hover: #28241e;
  --button-tag-border-active: #28241e;
  --button-tag-border-disabled: #b2aea2;

  --button-link-fg: #1a7a0e;
  --button-link-fg-hover: #2f2b24;
  --button-link-fg-pressed: #1a7a0e;
  --button-link-disabled: #b2aea2;

  --menu-button-menu-fg: #2f2b24;
  --menu-button-menu-hover: #1a7a0e;
  --menu-button-menu-pressed: #1a7a0e;
  --footer-button-footer-fg: #2f2b24;
  --footer-button-footer-fg-hover: #454039;
  --footer-button-footer-fg-pressed: #1a7a0e;
  --footer-button-footer-disabled: #8a8275;

  --color-m2-violet: var(--bg-brand);
  --color-m2-violet-dark: #0f4d07;

  /* "Soon" controls: readable (AA) while clearly inactive */
  --soon-fg: #454039;
  --soon-border: #8a8275;
  --soon-tag-bg: #e1dfcf;
  --soon-tag-fg: #454039;

  --focus-ring: #1a7a0e;

  /* radii, spacing, widths */
  --radius-none: 0;
  --radius-sm: .25rem;
  --radius-md: .5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 624.938rem;

  --spacing-none: 0;
  --spacing-xxs: .125rem;
  --spacing-xs: .25rem;
  --spacing-sm: .375rem;
  --spacing-md: .5rem;
  --spacing-ig: .75rem;
  --spacing-xl: 1rem;
  --spacing-2xl: 1.25rem;
  --spacing-3xl: 1.5rem;
  --spacing-4xl: 2rem;
  --spacing-5xl: 2.5rem;
  --spacing-6xl: 3rem;
  --spacing-7xl: 4rem;
  --spacing-8xl: 5rem;
  --spacing-9xl: 6rem;
  --spacing-10xl: 7.5rem;
  --spacing-11xl: 8rem;
  --spacing-12xl: 10rem;
  --spacing-13xl: 12rem;
  --spacing-14xl: 14rem;
  --spacing-15xl: 16rem;

  --width-xs: 20rem;
  --width-sm: 48rem;
  --width-md: 64rem;
  --width-lg: 90rem;
  --width-xl: 120rem;
  --paragraph-max-width: 45rem;
  --web-max-width: 80rem;
  --blog-max-width: 47.5rem;

  /* Summ's fluid unit above 992px: 16px at 1440 wide, scaling down with the viewport */
  --u: min(1.1111vw, 16px);
  --gutter: 20px;
  --header-h: 68px;

  --z-header: 40;
  --z-sheet: 41;
  --z-country: 50;
  --z-toast: 60;

  --ease-out: cubic-bezier(0, 0, .2, 1);
  --ease-in-out: cubic-bezier(.4, 0, .2, 1);
  --ease-reveal: cubic-bezier(.16, 1, .3, 1);

  /* type scale, desktop and tablet (>= 768px) */
  --font-size-display: 7.5rem;
  --font-size-heading-xl-h1: 4.75rem;
  --font-size-heading-l-h2: 3.5rem;
  --font-size-heading-m: 2.5rem;
  --font-size-heading-s: 2rem;
  --font-size-heading-xs: 1.5rem;
  --font-size-subheading-l-h3: 2.5rem;
  --font-size-subheading-m: 2rem;
  --font-size-subheading-s-h4: 1.75rem;
  --font-size-subheading-xs-h5: 1.5rem;
  --font-size-body-l: 1.5rem;
  --font-size-body-m: 1.125rem;
  --font-size-body-s: 1rem;
  --font-size-body-xs: .75rem;
  --font-size-label-l: 1.125rem;
  --font-size-label-m: 1rem;
  --font-size-label-s: .875rem;
  --font-size-label-xs: .75rem;
  --font-size-button-l: 1.375rem;
  --font-size-button-m: 1.125rem;
  --font-size-button-s: 1rem;

  --line-height-display: 6.75rem;
  --line-height-heading-xl-h1: 4.3125rem;
  --line-height-heading-l-h2: 3.1875rem;
  --line-height-heading-m: 2.25rem;
  --line-height-heading-s: 1.8125rem;
  --line-height-heading-xs: 1.375rem;
  --line-height-subheading-l-h3: 2.75rem;
  --line-height-subheading-m: 2.25rem;
  --line-height-subheading-s-h4: 1.9375rem;
  --line-height-subheading-xs-h5: 1.6875rem;
  --line-height-body-l: 2.125rem;
  --line-height-body-m: 1.875rem;
  --line-height-body-s: 1.625rem;
  --line-height-body-xs: 1.125rem;
  --line-height-label-l: 1.5rem;
  --line-height-label-m: 1.3125rem;
  --line-height-label-s: 1.1875rem;
  --line-height-label-xs: 1rem;
  --line-height-button-l: 1.375rem;
  --line-height-button-m: 1.125rem;
  --line-height-button-s: 1rem;

  --letter-spacing-display: -.15rem;
  --letter-spacing-heading-xl-h1: -.095rem;
  --letter-spacing-heading-l-h2: -.07rem;
  --letter-spacing-heading-m: -.05rem;
  --letter-spacing-heading-s: -.04rem;
  --letter-spacing-heading-xs: -.03rem;
  --letter-spacing-subheading-l-h3: 0;
  --letter-spacing-subheading-m: 0;
  --letter-spacing-subheading-s-h4: 0;
  --letter-spacing-subheading-xs-h5: 0;
  --letter-spacing-body-l: 0;
  --letter-spacing-body-m: 0;
  --letter-spacing-body-s: 0;
  --letter-spacing-body-xs: 0;
  --letter-spacing-label-l: .05625rem;
  --letter-spacing-label-m: .05rem;
  --letter-spacing-label-s: .04375rem;
  --letter-spacing-label-xs: .0375rem;
  --letter-spacing-button-l: .0275rem;
  --letter-spacing-button-m: .0225rem;
  --letter-spacing-button-s: .02rem;

  --paragraph-spacing-display: 3.75rem;
  --paragraph-spacing-heading-xl-h1: 1rem;
  --paragraph-spacing-heading-l-h2: 1rem;
  --paragraph-spacing-heading-m: 1rem;
  --paragraph-spacing-heading-s: 1rem;
  --paragraph-spacing-heading-xs: .75rem;
  --paragraph-spacing-subheading-l-h3: 1.25rem;
  --paragraph-spacing-subheading-m: 1rem;
  --paragraph-spacing-subheading-s-h4: 1.125rem;
  --paragraph-spacing-subheading-xs-h5: .875rem;
  --paragraph-spacing-body-l: 1rem;
  --paragraph-spacing-body-m: 1rem;
  --paragraph-spacing-body-s: .75rem;
  --paragraph-spacing-body-xs: .375rem;
  --paragraph-spacing-label-l: .5625rem;
  --paragraph-spacing-label-m: .5rem;
  --paragraph-spacing-label-s: .4375rem;
  --paragraph-spacing-label-xs: .375rem;
  --paragraph-spacing-list-items: .375rem;
}

/* Design v2 (2026-09-13): calm greens and one warm tone. base.css owns these; site.css, pages.css and
   app.css consume them. Neon (--green-500) stays for primary buttons, the notice strip, the CTA band and
   the footer; everything else uses the tints. Text on tints: --green-700 passes AA on green-100, green-200,
   sage-100 and peach-100 (4.66 to 5.11); never put text on sage-200 (rules and borders only). */
:root {
  --green-100: #eefbe6;
  --green-200: #d9f5c9;
  --green-300: #b9ffab;
  --green-500: #45f824;
  --green-700: #1a7a0e;
  --green-800: #12620a;
  --sage-100: #eef2e4;
  --sage-200: #dbe3cc;
  --peach-100: #fdeee1;
  --peach-500: #f0a074;
  --peach-700: #a8471a;
  --text-warm: var(--peach-700);
  --bg-warm: var(--peach-100);
  --bg-tint: var(--green-100);
  --bg-sage: var(--sage-100);
  --border-sage: var(--sage-200);
}

/* phone type scale (<= 767px), verbatim from Summ */
@media (max-width: 767px) {
  :root {
    --font-size-display: 3.375rem;
    --font-size-heading-xl-h1: 2.5rem;
    --font-size-heading-l-h2: 2.125rem;
    --font-size-heading-m: 1.625rem;
    --font-size-heading-s: 1.375rem;
    --font-size-heading-xs: 1.125rem;
    --font-size-subheading-l-h3: 2rem;
    --font-size-subheading-m: 1.75rem;
    --font-size-subheading-s-h4: 1.5rem;
    --font-size-subheading-xs-h5: 1.125rem;
    --font-size-body-l: 1.125rem;
    --font-size-body-m: 1rem;
    --font-size-body-s: .875rem;
    --font-size-label-l: 1rem;
    --font-size-label-m: .875rem;
    --font-size-label-s: .75rem;
    --font-size-label-xs: .625rem;
    --line-height-display: 3.0625rem;
    --line-height-heading-xl-h1: 2.25rem;
    --line-height-heading-l-h2: 1.9375rem;
    --line-height-heading-m: 1.5rem;
    --line-height-heading-s: 1.25rem;
    --line-height-heading-xs: 1.0625rem;
    --line-height-subheading-l-h3: 2.25rem;
    --line-height-subheading-m: 1.9375rem;
    --line-height-subheading-s-h4: 1.6875rem;
    --line-height-subheading-xs-h5: 1.25rem;
    --line-height-body-l: 1.75rem;
    --line-height-body-m: 1.5rem;
    --line-height-body-s: 1.375rem;
    --line-height-body-xs: 1rem;
    --line-height-label-l: 1.3125rem;
    --line-height-label-m: 1.1875rem;
    --line-height-label-s: 1rem;
    --line-height-label-xs: .8125rem;
    --letter-spacing-display: -.0675rem;
    --letter-spacing-heading-xl-h1: -.05rem;
    --letter-spacing-heading-l-h2: -.0425rem;
    --letter-spacing-heading-m: -.0325rem;
    --letter-spacing-heading-s: -.0275rem;
    --letter-spacing-heading-xs: -.0225rem;
    --letter-spacing-label-l: .05rem;
    --letter-spacing-label-m: .04375rem;
    --letter-spacing-label-s: .0375rem;
    --letter-spacing-label-xs: .03125rem;
    --paragraph-spacing-display: 1.75rem;
    --paragraph-spacing-heading-m: .8125rem;
    --paragraph-spacing-heading-s: .75rem;
    --paragraph-spacing-heading-xs: .5625rem;
    --paragraph-spacing-subheading-l-h3: 1rem;
    --paragraph-spacing-subheading-m: .875rem;
    --paragraph-spacing-subheading-s-h4: 1rem;
    --paragraph-spacing-subheading-xs-h5: .625rem;
    --paragraph-spacing-body-l: .9375rem;
    --paragraph-spacing-body-m: .875rem;
    --paragraph-spacing-body-s: .625rem;
    --paragraph-spacing-label-l: .5rem;
    --paragraph-spacing-label-m: .4375rem;
    --paragraph-spacing-label-s: .375rem;
    --paragraph-spacing-label-xs: .3125rem;
    --paragraph-spacing-list-items: .3125rem;
  }
}
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 992px) { :root { --gutter: calc(2.5 * var(--u)); } }
/* header height (padding 16 + bar + 8); shell.js overwrites it with the measured height */
@media (min-width: 1280px) { :root { --header-h: 78px; } }
@media (min-width: 1440px) { :root { --header-h: 88px; } }

/* dark theme: a section, the header over a dark section, the country pill */
[data-theme='dark'],
.theme-dark {
  --text-primary: #f9f8ee;
  --text-secondary: #b2aea2;
  --text-tertiary: #928a7d;   /* 4.9:1 on #201d19 (the light #8a8275 is 4.4:1 there) */
  --text-quaternary: #454039;
  --text-disabled: #454039;
  --text-brand: #45f824;
  --bg-primary: #201d19;
  --bg-secondary: #12110f;
  --bg-overlay: #f9f8ee;
  --bg-active: #28241e;
  --fg-primary: #2f2b24;
  --fg-secondary: #201d19;
  --fg-tertiary: #8a8275;
  --fg-quartenary: #28241e;
  --fg-quinary: #201d19;
  --border-primary: #454039;
  --border-secondary: #454039;
  --border-quarternary: #e1dfcf;
  --border-disabled: #2f2b24;
  --logo-neutral: #f9f8ee;
  --logo-partner: #fff;

  --button-primary-fg-disabled: #201d19;
  --button-primary-bg-disabled: #454039;
  --button-primary-border-gradient1: #6dff52;
  --button-primary-border-gradient2: #45f824;
  --button-primary-border-gradient3: #45f824;
  --button-primary-border-gradient1-hover: #d9ffd0;
  --button-secondary-fg: #45f824;
  --button-secondary-fg-hover: #6dff52;
  --button-secondary-fg-disabled: #8a8275;
  --button-secondary-bg-hover: #e1dfcf0d;
  --button-secondary-border: #45f824;
  --button-secondary-border-hover: #6dff52;
  --button-secondary-border-disabled: #8a8275;
  --button-tertiary-fg: #e1dfcf;
  --button-tertiary-fg-hover: #f1f0e2;
  --button-tertiary-fg-disabled: #8a8275;
  --button-tertiary-bg-hover: #e1dfcf0d;
  --button-tertiary-border: #e1dfcf;
  --button-tertiary-fg-border-hover: #f1f0e2;
  --button-tertiary-fg-border-disabled: #8a8275;
  --button-tag-fg: #45f824;
  --button-tag-fg-hover: #6dff52;
  --button-tag-fg-active: #6dff52;
  --button-tag-fg-disabled: #8a8275;
  --button-tag-bg-hover: #e1dfcf0d;
  --button-tag-bg-active: #e1dfcf0d;
  --button-tag-border: #45f824;
  --button-tag-border-hover: #6dff52;
  --button-tag-border-active: #6dff52;
  --button-tag-border-disabled: #8a8275;
  --button-link-fg: #45f824;
  --button-link-fg-hover: #e1dfcf;
  --button-link-fg-pressed: #45f824;
  --button-link-disabled: #8a8275;
  --menu-button-menu-fg: #e1dfcf;
  --menu-button-menu-hover: #45f824;
  --menu-button-menu-pressed: #45f824;
  --footer-button-footer-fg: #e1dfcf;
  --footer-button-footer-fg-hover: #b2aea2;
  --footer-button-footer-fg-pressed: #45f824;

  --soon-fg: #b2aea2;
  --soon-border: #8a8275;
  --soon-tag-bg: #2f2b24;
  --soon-tag-fg: #e1dfcf;
  --focus-ring: #45f824;
}

/* on the green band, the lime gradient and the recoloured sky every accent turns to ink
   (green on green would vanish, dark green text fails AA on the lower lime and sky stops) */
.theme-green,
.theme-lime,
.theme-sky {
  --text-brand: #201d19;
  --button-secondary-fg: #201d19;
  --button-secondary-fg-hover: #454039;
  --button-secondary-border: #201d19;
  --button-secondary-border-hover: #454039;
  --button-link-fg: #201d19;
  --button-link-fg-hover: #454039;
  --menu-button-menu-hover: #201d19;
  --footer-button-footer-fg: #201d19;
  --footer-button-footer-fg-hover: #454039;
  --text-secondary: #201d19;
  --text-tertiary: #2f2b24;
  --soon-fg: #201d19;
  --soon-border: #201d19;
  --soon-tag-bg: #201d1914;
  --soon-tag-fg: #201d19;
  --focus-ring: #201d19;
}

/* the green band: a green primary would vanish, so it turns ink with cream text */
.theme-green {
  --button-primary-bg: #201d19;
  --button-primary-bg-hover: #2f2b24;
  --button-primary-fg: #f9f8ee;
  --button-primary-fg-hover: #f9f8ee;
  --button-primary-border-gradient1: #454039;
  --button-primary-border-gradient2: #201d19;
  --button-primary-border-gradient3: #000;
  --button-primary-border-gradient1-hover: #5c564c;
  --button-primary-border-gradient2-hover: #2f2b24;
  --button-primary-border-gradient3-hover: #000;
}
/* cards and small labels on bright grounds keep AA */
.theme-green .article-card, .theme-lime .article-card, .theme-sky .article-card {
  --card-border: #201d1966; --card-hover: #ffffff33; --card-tag: #201d1914; --card-tag-hover: #201d1924;
  --card-date: #2f2b24; --card-desc: #201d19; --card-meta: #2f2b24;
}
.theme-green .chain-dot, .theme-lime .chain-dot { background: #201d19; box-shadow: none; }
.theme-green .chain-dot::after, .theme-lime .chain-dot::after { border-color: #201d19; }

/* ------------------------------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; border: 0 solid; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; tab-size: 4; line-height: 1.5; }
body {
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  text-wrap: pretty;
  overflow-wrap: break-word;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video, canvas, picture { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; background: transparent; border-radius: 0; }
button { cursor: pointer; }
button:disabled, [aria-disabled='true'] { cursor: not-allowed; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
hr { height: 0; color: inherit; border-top-width: 1px; }
input::placeholder, textarea::placeholder { color: var(--text-placeholder); opacity: 1; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
::selection { background: #45f824; color: #201d19; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #201d19; color: #f9f8ee; }
.skip-link:focus { top: 16px; }
html.is-locked, html.is-locked body { overflow: hidden; }

/* ------------------------------------------------------------------------------------------- type */
.text-display, .text-heading-xl-h1, .text-heading-l-h2, .text-heading-m, .text-heading-s, .text-heading-xs {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
}
.text-display { font-size: var(--font-size-display); line-height: var(--line-height-display); letter-spacing: var(--letter-spacing-display); }
.text-heading-xl-h1 { font-size: var(--font-size-heading-xl-h1); line-height: var(--line-height-heading-xl-h1); letter-spacing: var(--letter-spacing-heading-xl-h1); }
.text-heading-l-h2 { font-size: var(--font-size-heading-l-h2); line-height: var(--line-height-heading-l-h2); letter-spacing: var(--letter-spacing-heading-l-h2); }
.text-heading-m { font-size: var(--font-size-heading-m); line-height: var(--line-height-heading-m); letter-spacing: var(--letter-spacing-heading-m); }
.text-heading-s { font-size: var(--font-size-heading-s); line-height: var(--line-height-heading-s); letter-spacing: var(--letter-spacing-heading-s); }
.text-heading-xs { font-size: var(--font-size-heading-xs); line-height: var(--line-height-heading-xs); letter-spacing: var(--letter-spacing-heading-xs); }
/* On the narrowest phones a single long word (GUESSWORK., INTEGRATIONS) must not push the page sideways:
   the big headings scale with the viewport below Summ's phone size, and a word longer than the line breaks. */
.text-display, .text-heading-xl-h1, .text-heading-l-h2, .text-heading-m { overflow-wrap: break-word; }
@media (max-width: 767px) {
  .text-display { font-size: min(var(--font-size-display), 14vw); line-height: min(var(--line-height-display), 12.7vw); }
  .text-heading-xl-h1 { font-size: min(var(--font-size-heading-xl-h1), 11.5vw); line-height: min(var(--line-height-heading-xl-h1), 10.35vw); }
  .text-heading-l-h2 { font-size: min(var(--font-size-heading-l-h2), 10.6vw); line-height: min(var(--line-height-heading-l-h2), 9.66vw); }
}

.text-subheading-l-h3, .text-subheading-m, .text-subheading-s-h4, .text-subheading-xs-h5 { font-family: var(--font-body); font-weight: 400; }
.text-subheading-l-h3 { font-size: var(--font-size-subheading-l-h3); line-height: var(--line-height-subheading-l-h3); letter-spacing: var(--letter-spacing-subheading-l-h3); }
.text-subheading-m { font-size: var(--font-size-subheading-m); line-height: var(--line-height-subheading-m); letter-spacing: var(--letter-spacing-subheading-m); }
.text-subheading-s-h4 { font-size: var(--font-size-subheading-s-h4); line-height: var(--line-height-subheading-s-h4); letter-spacing: var(--letter-spacing-subheading-s-h4); }
.text-subheading-xs-h5 { font-size: var(--font-size-subheading-xs-h5); line-height: var(--line-height-subheading-xs-h5); letter-spacing: var(--letter-spacing-subheading-xs-h5); }

.text-body-l, .text-body-m, .text-body-s, .text-body-xs { font-family: var(--font-body); font-weight: 300; }
.text-body-l { font-size: var(--font-size-body-l); line-height: var(--line-height-body-l); }
.text-body-m { font-size: var(--font-size-body-m); line-height: var(--line-height-body-m); }
.text-body-s { font-size: var(--font-size-body-s); line-height: var(--line-height-body-s); }
.text-body-xs { font-size: var(--font-size-body-xs); line-height: var(--line-height-body-xs); }

.text-label-l, .text-label-m, .text-label-s, .text-label-xs { font-family: var(--font-label); font-weight: 400; text-transform: uppercase; }
.text-label-l { font-size: var(--font-size-label-l); line-height: var(--line-height-label-l); letter-spacing: var(--letter-spacing-label-l); }
.text-label-m { font-size: var(--font-size-label-m); line-height: var(--line-height-label-m); letter-spacing: var(--letter-spacing-label-m); }
.text-label-s { font-size: var(--font-size-label-s); line-height: var(--line-height-label-s); letter-spacing: var(--letter-spacing-label-s); }
.text-label-xs { font-size: var(--font-size-label-xs); line-height: var(--line-height-label-xs); letter-spacing: var(--letter-spacing-label-xs); }

.text-button-l, .text-button-m, .text-button-s { font-family: var(--font-body); font-weight: 400; }
.text-button-l { font-size: var(--font-size-button-l); line-height: var(--line-height-button-l); letter-spacing: var(--letter-spacing-button-l); }
.text-button-m { font-size: var(--font-size-button-m); line-height: var(--line-height-button-m); letter-spacing: var(--letter-spacing-button-m); }
.text-button-s { font-size: var(--font-size-button-s); line-height: var(--line-height-button-s); letter-spacing: var(--letter-spacing-button-s); }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-brand { color: var(--text-brand); }
.text-center { text-align: center; }
.balance { text-wrap: balance; }

/* eyebrow label (Summ's OFFICIAL PARTNERS, DOWNLOAD A SAMPLE REPORT) */
.eyebrow { font-family: var(--font-label); font-weight: 400; text-transform: uppercase; font-size: var(--font-size-label-m); line-height: var(--line-height-label-m); letter-spacing: var(--letter-spacing-label-m); }
.eyebrow--s { font-size: var(--font-size-label-s); line-height: var(--line-height-label-s); letter-spacing: var(--letter-spacing-label-s); }
.eyebrow--xs { font-size: var(--font-size-label-xs); line-height: var(--line-height-label-xs); letter-spacing: var(--letter-spacing-label-xs); }

/* rich text (legal pages, articles, FAQ answers) */
.prose { max-width: var(--blog-max-width); }
.prose > * + * { margin-top: var(--paragraph-spacing-body-m); }
.prose p, .prose li { font-weight: 300; font-size: var(--font-size-body-m); line-height: var(--line-height-body-m); }
.prose h2 { font-family: var(--font-body); font-weight: 400; font-size: var(--font-size-subheading-m); line-height: var(--line-height-subheading-m); margin-top: 2.5rem; }
.prose h3 { font-family: var(--font-body); font-weight: 400; font-size: var(--font-size-subheading-xs-h5); line-height: var(--line-height-subheading-xs-h5); margin-top: 2rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose ol { list-style: decimal; padding-left: 1.25rem; }
.prose li + li { margin-top: var(--paragraph-spacing-list-items); }
.prose a { color: var(--button-link-fg); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--button-link-fg-hover); }
.prose code { font-family: var(--font-label); font-size: .9em; }

/* ----------------------------------------------------------------------------------------- layout */
.container { width: min(100%, var(--width-lg)); margin-inline: auto; padding-inline: var(--gutter); }
.container--web { width: min(100%, calc(var(--web-max-width) + 2 * var(--gutter))); }
.container--blog { width: min(100%, calc(var(--blog-max-width) + 2 * var(--gutter))); }
.container--paragraph { width: min(100%, calc(var(--paragraph-max-width) + 2 * var(--gutter))); }

/* section rhythm, measured on summ.com */
.section { position: relative; padding-block: 56px; }                    /* py-14 md:py-[min(8.33325vw,7.5rem)] */
@media (min-width: 768px) { .section { padding-block: min(8.33325vw, 7.5rem); } }
.section--m { position: relative; padding-block: 64px; }                 /* py-16 md:py-24 */
@media (min-width: 768px) { .section--m { padding-block: 96px; } }
.section--l { position: relative; padding-block: 64px; }                 /* py-16 md:py-[88px] lg:py-[min(8.33325vw,7.5rem)] */
@media (min-width: 768px) { .section--l { padding-block: 88px; } }
@media (min-width: 992px) { .section--l { padding-block: min(8.33325vw, 7.5rem); } }
.section--xl { position: relative; padding-block: 80px; }                /* FAQ: 80 / 88 / 7.5u */
@media (min-width: 768px) { .section--xl { padding-block: 88px; } }
@media (min-width: 992px) { .section--xl { padding-block: calc(7.5 * var(--u)); } }
.section--strip { position: relative; padding-block: 28px; }             /* partner strip py-7 */
.clip { overflow: hidden; }

/* the first section of a page slides under the sticky header like Summ's hero */
.under-header { margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); }

/* ----------------------------------------------------------------------------------------- themes */
.theme-light { background-color: #f9f8ee; color: #201d19; }
.theme-cream { background-color: #f1f0e2; color: #201d19; }
.theme-dark { background-color: #201d19; color: #f9f8ee; }
.theme-deep { background-color: #12110f; color: #f9f8ee; }
.theme-green { background-color: var(--bg-brand); color: #201d19; }
/* Summ's EXPERTLY TAMED TAXES slide background (the lime layer) */
.theme-lime { background-color: #bdea80; background-image: linear-gradient(#ecf697, #bdea80 34%, #8ed568 69%, #6ab153); color: #201d19; }
/* hero sky: fallback gradient under img/summ/home-hero-bg.avif (recoloured purple to green) */
.theme-sky { position: relative; background-color: #aebe77; color: #201d19; }
/* sampled from the recoloured home-hero-bg.avif so the page looks right before the image arrives */
.theme-sky > .sky-bg { position: absolute; inset: 0; background-image: linear-gradient(180deg, #6c9c3e 0%, #79a957 20%, #aebe77 40%, #f2c29f 50%, #fac7b5 55%, #fdc59f 62%, #feeaab 70%, #fdf1b6 100%); }
.theme-sky > .sky-bg > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-sky > :not(.sky-bg) { position: relative; }

/* ---------------------------------------------------------------------------------------- buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: all .15s var(--ease-in-out);
  /* md is the default size */
  height: 2.75rem;
  gap: var(--spacing-md);
  border-radius: .625rem;
  padding: var(--spacing-xl) var(--spacing-3xl);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--font-size-button-m);
  line-height: var(--line-height-button-m);
  letter-spacing: var(--letter-spacing-button-m);
}
.btn svg { flex-shrink: 0; }
.btn--sm { height: 2.1875rem; gap: var(--spacing-sm); border-radius: .5rem; padding: var(--spacing-ig) var(--spacing-2xl); font-size: var(--font-size-button-s); line-height: var(--line-height-button-s); letter-spacing: var(--letter-spacing-button-s); }
.btn--lg { height: 3.4375rem; gap: .625rem; border-radius: .75rem; padding: var(--spacing-2xl) var(--spacing-4xl); font-size: var(--font-size-button-l); line-height: var(--line-height-button-l); letter-spacing: var(--letter-spacing-button-l); }
.btn--block { width: 100%; }

/* primary: green fill with the three-stop border gradient (light top, deep bottom) */
/* primary: green fill, a border that is lighter than the fill (gradient1 at the top to gradient2), like
   Summ's lavender edge on purple; pressed swaps in the deep gradient3 at the bottom */
.btn--primary {
  color: var(--button-primary-fg);
  background:
    linear-gradient(var(--button-primary-bg), var(--button-primary-bg)) padding-box,
    linear-gradient(180deg, var(--button-primary-border-gradient1), var(--button-primary-border-gradient2)) border-box;
}
.btn--primary:hover {
  color: var(--button-primary-fg-hover);
  background:
    linear-gradient(var(--button-primary-bg-hover), var(--button-primary-bg-hover)) padding-box,
    linear-gradient(180deg, var(--button-primary-border-gradient1-hover), var(--button-primary-border-gradient2-hover)) border-box;
}
.btn--primary:active {
  background:
    linear-gradient(var(--button-primary-bg), var(--button-primary-bg)) padding-box,
    linear-gradient(180deg, var(--button-primary-border-gradient2), var(--button-primary-border-gradient3)) border-box;
}
.btn--secondary { color: var(--button-secondary-fg); background: transparent; border-color: var(--button-secondary-border); }
.btn--secondary:hover { color: var(--button-secondary-fg-hover); background: var(--button-secondary-bg-hover); border-color: var(--button-secondary-border-hover); }
.btn--tertiary { color: var(--button-tertiary-fg); background: transparent; border-color: var(--button-tertiary-border); }
.btn--tertiary:hover { color: var(--button-tertiary-fg-hover); background: var(--button-tertiary-bg-hover); border-color: var(--button-tertiary-fg-border-hover); }
.btn--tag { color: var(--button-tag-fg); background: var(--button-tag-bg); border-color: var(--button-tag-border); border-radius: var(--radius-full); }
.btn--tag:hover { color: var(--button-tag-fg-hover); background: var(--button-tag-bg-hover); border-color: var(--button-tag-border-hover); }
.btn--tag[aria-pressed='true'], .btn--tag.is-active { color: var(--button-tag-fg-active); background: var(--button-tag-bg-active); border-color: var(--button-tag-border-active); }
.btn--tag[aria-pressed='true']:hover, .btn--tag.is-active:hover { opacity: .86; }
.btn--link { color: var(--button-link-fg); background: transparent; border-color: transparent; padding-inline: 0; height: auto; }
.btn--link:hover { color: var(--button-link-fg-hover); }
.btn--menu { color: var(--menu-button-menu-fg); background: transparent; border-color: transparent; padding: 0; }
.btn--menu:hover { color: var(--menu-button-menu-hover); }
.btn--menu[aria-current='page'] { color: var(--text-brand); }
.btn--menu[aria-current='page']:hover { opacity: .75; }

/* Summ's marketing CTA ("Get started for free" in sections): 52px tall, 8px radius */
.btn--cta { height: auto; border-radius: var(--radius-md); padding: 16px 20px; }
@media (min-width: 992px) { .btn--cta { padding: var(--u) calc(1.25 * var(--u)); } }
.btn--cta-sm { height: auto; border-radius: var(--radius-md); padding: 12px 20px; }
@media (min-width: 992px) { .btn--cta-sm { padding: calc(var(--u) / 1.33333) calc(1.25 * var(--u)); } }
/* small outline chip with an icon (sample report downloads) */
.btn--chip { height: auto; border-radius: .375rem; padding: 10px 20px; gap: 12px; font-size: var(--font-size-button-s); line-height: var(--line-height-button-s); letter-spacing: var(--letter-spacing-button-s); }
/* touch screens: every tap target is at least 40 px (SPEC section 2) */
@media (pointer: coarse) { .btn--chip { min-height: 2.5rem; } .btn--sm { height: 2.5rem; } }

/* disabled and "Soon" (token controls while TOKEN fields are blank) */
.btn:disabled, .btn[aria-disabled='true'] { cursor: not-allowed; }
.btn--primary:disabled, .btn--primary[aria-disabled='true'] { background: var(--button-primary-bg-disabled); color: var(--button-primary-fg-disabled); border-color: transparent; }
.btn--secondary:disabled, .btn--secondary[aria-disabled='true'] { background: transparent; color: var(--button-secondary-fg-disabled); border-color: var(--button-secondary-border-disabled); }
.btn--soon, .btn--soon:hover { color: var(--soon-fg); background: transparent; border-color: var(--soon-border); border-style: dashed; }
.soon-tag {
  display: inline-flex;
  align-items: center;
  height: 1.125rem;
  padding: 0 .375rem;
  border-radius: var(--radius-full);
  background: var(--soon-tag-bg);
  color: var(--soon-tag-fg);
  font-family: var(--font-label);
  font-size: .625rem;
  line-height: 1;
  letter-spacing: .03125rem;
  text-transform: uppercase;
}
.btn--lg .soon-tag { height: 1.375rem; font-size: .75rem; padding: 0 .5rem; }

/* icon-only round button (carousel arrows, dismiss) */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-full); color: currentColor; transition: background-color .15s var(--ease-in-out), color .15s var(--ease-in-out), opacity .15s; }
.icon-btn:hover { background: var(--button-tertiary-bg-hover); }

/* ----------------------------------------------------------------------------- chrome border + wire */
/* Summ's ChromeBorder: a 2px frame with light highlights drawn over it. Place <span class="chrome"></span>
   as the last child of any positioned element with a border radius. */
.chrome, .chrome::before, .chrome::after { pointer-events: none; position: absolute; inset: 0; border-radius: inherit; }
.chrome { z-index: 1; overflow: hidden; }
.chrome::before { content: ''; border: 2px solid var(--chrome-edge, #201d19); }
.chrome::after { content: ''; box-shadow: inset 0 -1px 1px rgba(0, 0, 0, .25), inset 0 1px 2px rgba(255, 255, 255, .6), inset -1.7px 0 1px #fff, inset 1.7px 0 1px #fff; }
[data-theme='dark'] .chrome, .theme-dark .chrome, .chrome--light { --chrome-edge: #b9b9b9; }

.wire { position: relative; display: block; height: 2px; width: 100%; border: 0; margin: 0; overflow: visible; background: linear-gradient(to bottom, #e8e8e8, #acacac 50%, #867969); box-shadow: inset 0 1px 2px #fff9, inset 0 -1px 1px #00000040, inset -1.7px 0 1px #fff, inset 1.7px 0 1px #fff; }
.wire::before, .wire::after { content: ''; position: absolute; top: 50%; width: 5px; height: 5px; border-radius: 50%; transform: translateY(-50%); background: linear-gradient(to bottom, #e8e8e8, #acacac 50%, #867969); box-shadow: inset 0 1px 2px #fffc, inset 0 -1px 1px #000c, inset -1.7px 0 1px #fff; }
.wire::before { left: 0; }
.wire::after { right: 0; }
.wire--vertical { width: 2px; height: 100%; background: linear-gradient(to right, #e8e8e8, #acacac 50%, #867969); box-shadow: inset 1px 0 2px #fff9, inset -1px 0 1px #00000040, inset 0 -1.7px 1px #fff, inset 0 1.7px 1px #fff; }
.wire--vertical::before, .wire--vertical::after { left: 50%; top: auto; transform: translateX(-50%); }
.wire--vertical::before { top: 0; }
.wire--vertical::after { bottom: 0; right: auto; }

/* ------------------------------------------------------------------------------------ notice strip */
.notice {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--fg-brand);
  color: #201d19;
  font-family: var(--font-body);
}
.notice__body { display: flex; flex: 1; min-width: 0; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 12px; row-gap: 4px; }
.notice__text { min-width: 0; margin: 0; color: #000; text-align: center; font-weight: 300; font-size: var(--font-size-body-s); line-height: var(--line-height-body-s); }
.notice__text .notice__long { display: none; }
.notice__link { position: relative; flex-shrink: 0; font-size: var(--font-size-button-s); line-height: var(--line-height-button-s); letter-spacing: var(--letter-spacing-button-s); color: #201d19; text-decoration: none; }
.notice__link:hover { text-decoration: underline; text-underline-offset: 3px; }
/* 40 px tall hit area without moving the link or covering the wrapped text row on narrow phones */
.notice__link::before { content: ''; position: absolute; inset: -12px 0; }
.notice__close { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: -12px -12px -12px 0; color: currentColor; border-radius: 10px; }
.notice__close:hover { background: #201d1914; }
@media (min-width: 640px) {
  .notice { gap: 12px; padding-inline: 24px; }
  .notice__text .notice__long { display: inline; }
  .notice__text .notice__short { display: none; }
}
@media (min-width: 992px) { .notice { padding-block: 10px; } }
/* reserve the strip's height before the shell mounts (no layout shift); dismissed pages skip it */
[data-shell='notice']:empty { min-height: 46px; background: var(--fg-brand); }
html.notice-dismissed [data-shell='notice']:empty { min-height: 0; background: none; }

/* ----------------------------------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  padding: 16px 16px 8px;
  color: var(--text-primary);
  transition: --text-primary .15s var(--ease-in-out), --logo-neutral .15s var(--ease-in-out), --menu-button-menu-fg .15s var(--ease-in-out),
    --menu-button-menu-hover .15s var(--ease-in-out), --button-tertiary-fg .15s var(--ease-in-out), --button-tertiary-border .15s var(--ease-in-out),
    --button-primary-border-gradient1 .15s var(--ease-in-out);
}
header[data-shell='header']:empty { display: block; height: var(--header-h); }
@media (min-width: 768px) { .site-header { padding-inline: 24px; } }
@media (min-width: 1200px) { .site-header { padding-inline: 40px; } }

.header-logo { display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; color: var(--logo-neutral); text-decoration: none; transition: opacity .15s var(--ease-in-out); }
.header-logo:hover { opacity: .72; }
.header-logo__app { width: 20px; height: 20px; border-radius: 4.5px; }
.header-logo__word { display: block; height: 16px; width: auto; fill: currentColor; }
.header-logo__word svg { height: 100%; width: auto; }

/* desktop bar (compact 1200 to 1439, full from 1440) */
.header-desk { position: relative; display: none; margin-inline: auto; width: 100%; max-width: var(--width-lg); height: 54px; border-radius: 12px; }
.header-fill { position: absolute; inset: 0; border-radius: inherit; background: rgba(225, 223, 207, .10); -webkit-backdrop-filter: blur(6px) brightness(1.1); backdrop-filter: blur(6px) brightness(1.1); }
.header-row { position: relative; z-index: 2; display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 18px; }
/* Tiers, measured with three actions and the six letter wordmark:
   phone bar below 1280, compact desktop 1280 to 1439 (Summ's 1040 to 1199 sizes), full from 1440. */
.header-desk .header-logo { gap: 10px; }
.header-desk .header-logo__app { width: 24px; height: 24px; border-radius: 5.5px; }
.header-desk .header-logo__word { height: 16px; }
.header-nav { min-width: 0; }
.header-nav ul { display: flex; align-items: center; gap: 16px; padding-inline: 4px; }
.header-nav .btn--menu { height: 2.1875rem; font-size: var(--font-size-label-s); line-height: var(--line-height-button-s); letter-spacing: var(--letter-spacing-button-s); }
.header-actions { display: flex; flex-shrink: 0; align-items: center; gap: 6px; }
.header-actions .btn { height: 2.1875rem; gap: var(--spacing-sm); border-radius: .5rem; padding: var(--spacing-ig) 18px; font-size: var(--font-size-button-s); line-height: var(--line-height-button-s); letter-spacing: var(--letter-spacing-button-s); }
.header-actions .btn--tertiary { padding-inline: 14px; }
.header-actions .btn--tag { border-radius: var(--radius-full); padding-inline: 14px; }
@media (min-width: 1280px) {
  .header-desk { display: block; }
  .header-mob { display: none; }
}
@media (min-width: 1440px) {
  .header-desk { height: 64px; }
  .header-desk .header-logo__word { height: 19px; }
  .header-nav ul { gap: 32px; padding-inline: 0; }
  .header-nav .btn--menu { font-size: var(--font-size-button-s); }
  .header-actions { gap: 8px; }
  .header-actions .btn { height: 2.75rem; gap: var(--spacing-md); border-radius: .625rem; padding: var(--spacing-xl) var(--spacing-3xl); font-size: var(--font-size-button-m); line-height: var(--line-height-button-m); letter-spacing: var(--letter-spacing-button-m); }
  .header-actions .btn--tertiary { padding-inline: 18px; }
  .header-actions .btn--tag { border-radius: var(--radius-full); padding-inline: 14px; font-size: var(--font-size-button-s); line-height: var(--line-height-button-s); height: 2.1875rem; }
}
/* the shell adds data-fit="phone" when the desktop row does not fit (fonts, zoom, long labels) */
.site-header[data-fit='phone'] .header-desk { display: none; }
.site-header[data-fit='phone'] .header-mob { display: block; }

/* phone bar + sheet (below 1200) */
.header-mob { position: relative; }
.header-mob__bar { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 44px; border-radius: 6px; padding: 10px 12px; }
.header-mob__bar > .header-fill, .header-sheet__panel > .header-fill { background: rgba(225, 223, 207, .20); }
.header-mob__bar > :not(.header-fill):not(.chrome) { position: relative; z-index: 2; }
.header-mob__bar .header-logo { padding-block: 10px; margin-block: -10px; }
.burger { position: relative; width: 40px; height: 40px; margin: -8px -8px -8px 0; display: inline-flex; align-items: center; justify-content: center; color: var(--text-primary); }
.burger__lines { position: relative; width: 24px; height: 24px; }
.burger__lines span { position: absolute; left: 0; width: 24px; height: 1px; background: currentColor; transition: top .15s ease, transform .15s ease, opacity .1s ease; }
.burger__lines span:nth-child(1) { top: calc(50% - 5px); }
.burger__lines span:nth-child(2) { top: 50%; }
.burger__lines span:nth-child(3) { top: calc(50% + 5px); }
.burger[aria-expanded='true'] .burger__lines span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.burger[aria-expanded='true'] .burger__lines span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] .burger__lines span:nth-child(3) { top: 50%; transform: rotate(-45deg); }

.header-sheet { position: absolute; top: 100%; left: 0; right: 0; z-index: var(--z-sheet); margin-top: 8px; transition: opacity .2s var(--ease-out), translate .2s var(--ease-out), visibility .2s; opacity: 0; translate: 0 -8px; visibility: hidden; }
.header-sheet.is-open { opacity: 1; translate: 0 0; visibility: visible; }
.header-sheet__panel { position: relative; max-height: calc(100dvh - 60px - var(--sheet-top, 60px)); overflow-y: auto; overscroll-behavior: contain; border-radius: 6px; padding: 16px; }
/* the sheet is more opaque than Summ's so nothing behind it reads through the menu */
.header-sheet__panel > .header-fill { background: rgba(249, 248, 238, .98); -webkit-backdrop-filter: blur(12px) brightness(1.1); backdrop-filter: blur(12px) brightness(1.1); }
[data-theme='dark'] .header-sheet__panel > .header-fill { background: rgba(32, 29, 25, .98); }
.header-sheet__panel > :not(.header-fill):not(.chrome) { position: relative; z-index: 2; }
.header-sheet ul { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.header-sheet .btn--menu { height: 2.5rem; margin-block: -.15625rem; font-size: var(--font-size-button-s); line-height: var(--line-height-button-s); letter-spacing: var(--letter-spacing-button-s); }
.header-sheet__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.header-sheet__actions .btn { width: 100%; }
@media (prefers-reduced-motion: reduce) { .header-sheet { transition: none; } }

/* ----------------------------------------------------------------------------- final CTA band */
.cta-band { background: var(--bg-brand); color: #201d19; padding: 40px 20px 0; }
.cta-band__block { display: flex; flex-direction: column; align-items: center; gap: 64px; padding: 80px 0 40px; }
.cta-band__mark { width: 60px; height: 60px; color: #201d19; }
.cta-band__mark svg { width: 100%; height: 100%; }
.cta-band__content { display: flex; max-width: 280px; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.cta-band__title { text-align: center; }
.cta-band__actions { display: flex; flex-direction: column; align-items: center; gap: 20px; }
@media (min-width: 768px) {
  .cta-band { padding: 120px 40px 0; }
  .cta-band__block { gap: 80px; padding-block: 80px; }
  .cta-band__mark { width: 80px; height: 80px; }
  .cta-band__content { max-width: none; gap: 50px; }
  .cta-band__actions { gap: 24px; }
  /* md on phones, lg from 768 (Summ swaps two buttons; one responsive link does the same) */
  .cta-band__btn { height: 3.4375rem; gap: .625rem; border-radius: .75rem; padding: var(--spacing-2xl) var(--spacing-4xl); font-size: var(--font-size-button-l); line-height: var(--line-height-button-l); letter-spacing: var(--letter-spacing-button-l); }
}
.footer-bottom { display: flex; flex-direction: column; gap: 24px; }
.footer-bottom__row { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
@media (min-width: 768px) { .footer-bottom__row { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; } }

/* ----------------------------------------------------------------------------------------- footer */
.site-footer { background: var(--bg-brand); color: #201d19; padding: 80px 20px 40px; }
.cta-band + .site-footer, [data-shell='cta'] + .site-footer { padding-top: 80px; }
.site-footer__inner { display: flex; flex-direction: column; gap: 40px; margin-inline: auto; width: 100%; }
.footer-links { display: flex; flex-direction: column; gap: 40px; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.footer-cols { display: flex; flex: 1; min-width: 15rem; flex-wrap: wrap; gap: 40px; }
.footer-col { display: flex; width: 8.25rem; min-width: 7.5rem; flex-direction: column; gap: 24px; }
.footer-col__title { font-family: var(--font-label); text-transform: uppercase; font-size: var(--font-size-label-xs); line-height: var(--line-height-label-xs); letter-spacing: var(--letter-spacing-label-xs); }
.footer-col__links { display: flex; flex-direction: column; gap: 24px; }
.footer-link { display: inline-flex; align-items: center; gap: 8px; padding-block: 11px; margin-block: -11px; color: var(--footer-button-footer-fg); text-decoration: none; transition: color .15s var(--ease-in-out); font-size: var(--font-size-button-m); line-height: var(--line-height-button-m); letter-spacing: var(--letter-spacing-button-m); }
.footer-link:hover { color: var(--footer-button-footer-fg-hover); }
.footer-badges { display: flex; flex-shrink: 0; align-items: center; gap: 16px; }
.footer-badges--desk { display: none; }
.footer-badges svg { display: block; height: 64px; width: auto; color: #201d19; }
.footer-meta { display: flex; flex-direction: column; gap: 24px; }
.footer-social { display: flex; align-items: center; gap: 12px; }
.footer-social a { display: inline-flex; padding: 8px; margin: -8px; color: var(--text-primary); transition: opacity .15s; }
.footer-social a:hover { opacity: .7; }
.footer-legal { display: flex; flex-direction: column; gap: 12px; }
.footer-legal a { font-family: var(--font-label); text-transform: uppercase; text-decoration: none; font-size: var(--font-size-label-xs); line-height: var(--line-height-label-xs); letter-spacing: var(--letter-spacing-label-xs); }
.footer-legal a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (pointer: coarse) { .footer-legal { gap: 0; } .footer-legal a { display: inline-flex; align-items: center; min-height: 2.5rem; } }
.footer-disclaimer { max-width: 40rem; font-weight: 300; font-size: var(--font-size-body-xs); line-height: var(--line-height-body-xs); }
.footer-wordmark { display: flex; width: 100%; color: #201d19; transition: opacity .2s var(--ease-in-out); }
.footer-wordmark:hover { opacity: .82; }
.footer-wordmark svg { width: 100%; height: auto; }
@media (min-width: 768px) {
  .site-footer { padding: 120px 40px 80px; }
  .cta-band + .site-footer, [data-shell='cta'] + .site-footer { padding-top: 120px; }
  .site-footer__inner { gap: 80px; }
  .footer-grid { justify-content: space-between; row-gap: 80px; }
  .footer-cols { gap: 80px; }
  .footer-col { width: 11rem; }
  .footer-badges--desk { display: flex; }
  .footer-badges--mob { display: none; }
  .footer-meta { height: 10.25rem; max-width: 15rem; min-width: 7.5rem; flex: 1; align-items: flex-end; justify-content: space-between; }
  .footer-legal { align-items: flex-end; text-align: right; }
}

/* ------------------------------------------------------------------------- country pill + modal */
.country-pill {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: var(--z-country);
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
  background: #2f2b24;
  color: #f9f8ee;
  font-size: var(--font-size-button-s);
  transition: background-color .15s var(--ease-in-out), opacity .2s, visibility .2s;
}
.country-pill:hover { background: #454039; }
.country-pill__flag { width: 32px; height: 24px; border-radius: 2px; overflow: clip; }
.country-pill__globe { width: 20px; height: 20px; }
.country-pill__chev { width: 24px; height: 24px; color: #b2aea2; }
html.sheet-open .country-pill { opacity: 0; visibility: hidden; }
/* no floating pill on phones: the country lives in the menu sheet and the footer there */
@media (max-width: 767px) { .country-pill { display: none; } }
/* 768 px and up the pill steps aside while anything readable or clickable lies under it (js/shell.js trackPill) */
.country-pill.is-tucked { opacity: 0; visibility: hidden; pointer-events: none; }
.country-control__name { min-width: 0; overflow-wrap: anywhere; }
.sheet-country, .footer-country { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: .625rem; text-align: left; font-size: var(--font-size-button-s); line-height: var(--line-height-button-s); letter-spacing: var(--letter-spacing-button-s); transition: background-color .15s var(--ease-in-out); }
.sheet-country .country-pill__flag, .footer-country .country-pill__flag { width: 28px; height: 21px; flex-shrink: 0; }
.sheet-country .country-pill__globe, .footer-country .country-pill__globe, .sheet-country .country-pill__chev, .footer-country .country-pill__chev { width: 20px; height: 20px; flex-shrink: 0; color: currentColor; }
.sheet-country { width: 100%; margin-top: 8px; border: 1px solid var(--button-tertiary-border); color: var(--text-primary); }
.sheet-country .country-control__name { flex: 1; }
.sheet-country:hover { background: var(--button-tertiary-bg-hover); }
.footer-country { flex-shrink: 0; max-width: 100%; border: 1px solid #201d19; color: #201d19; }
.footer-country:hover { background: #201d1914; }

.country-dialog { margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; padding: 0; background: transparent; color: var(--text-primary); overflow: hidden; }
.country-dialog[open] { display: flex; align-items: flex-end; justify-content: center; }
.country-dialog::backdrop { background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.country-panel { display: flex; flex-direction: column; width: 100%; height: 100%; overflow: hidden; background: var(--bg-primary); }
.country-head { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 24px 0; }
.country-head h2 { flex: 1; min-width: 0; }
.country-close, .country-back { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 40px; height: 40px; margin: -8px; border-radius: var(--radius-md); color: var(--text-secondary); transition: color .15s; }
.country-close { margin-right: -12px; }
.country-close:hover, .country-back:hover { color: var(--text-primary); }
.country-search { flex-shrink: 0; padding: 16px 24px; }
.country-search__box { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border-primary); border-radius: var(--radius-md); background: var(--bg-primary); padding: 8px 12px; }
.country-search__box:hover { border-color: var(--text-tertiary); }
.country-search__box:focus-within { border-color: var(--border-tertiary); }
.country-search__box svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-tertiary); }
.country-search input { width: 100%; min-width: 0; border: 0; background: transparent; padding: 0; outline: none; color: var(--text-primary); font-weight: 300; font-size: var(--font-size-body-s); line-height: var(--line-height-body-s); }
.country-search input::-webkit-search-cancel-button { cursor: pointer; }
.country-body { position: relative; flex: 1; min-height: 0; }
.country-body::before, .country-body::after { content: ''; pointer-events: none; position: absolute; left: 0; right: 0; z-index: 2; height: 32px; opacity: 0; transition: opacity .15s; }
.country-body::before { top: 0; background: linear-gradient(to bottom, var(--bg-primary), transparent); }
.country-body::after { bottom: 0; background: linear-gradient(to top, var(--bg-primary), transparent); }
.country-body.fade-top::before, .country-body.fade-bottom::after { opacity: 1; }
.country-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 32px 24px; }
.country-regions { display: flex; flex-direction: column; gap: 32px; }
.country-region h3 { margin: 0 0 4px; color: var(--text-tertiary); }
.country-region hr { margin: 0 0 16px; border-color: var(--border-secondary); }
.country-list { display: flex; flex-direction: column; gap: 2px; }
.country-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.country-letter h3 { margin: 0 0 4px; }
.country-letter hr { margin: 0 0 12px; border-color: var(--border-secondary); }
.country-letters { display: flex; flex-direction: column; gap: 24px; }
.country-opt {
  display: flex;
  min-width: 0;
  min-height: 43px;
  width: 100%;
  align-items: center;
  gap: 16px;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-align: left;
  translate: 0 0;
  transition: all .15s var(--ease-in-out);
  font-weight: 300;
  font-size: var(--font-size-body-s);
  line-height: var(--line-height-body-s);
}
.country-opt img { width: 31px; height: 23px; flex-shrink: 0; border-radius: 2px; overflow: clip; }
.country-opt span { min-width: 0; overflow-wrap: anywhere; }
.country-opt:hover, .country-opt:focus-visible, .country-opt[aria-selected='true'] { background: var(--bg-brand); color: #201d19; translate: 4px 0; }
.country-empty { padding: 32px 0; text-align: center; color: var(--text-tertiary); }
.country-foot { flex-shrink: 0; border-top: 1px solid var(--border-secondary); padding: 16px 24px; }
.country-more { display: flex; width: 100%; align-items: center; gap: 12px; border: 1px solid var(--border-primary); border-radius: var(--radius-lg); padding: 12px 20px; color: var(--text-primary); text-align: left; transition: background-color .15s; font-size: var(--font-size-button-s); line-height: var(--line-height-button-s); letter-spacing: var(--letter-spacing-button-s); }
.country-more:hover { background: var(--button-secondary-bg-hover); }
.country-more svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--text-tertiary); }
.country-more span { flex: 1; }
@media (min-width: 768px) {
  .country-dialog[open] { align-items: center; }
  .country-panel { max-height: min(90vh, 56rem); width: min(95vw, 76rem); border: 1px solid var(--border-primary); border-radius: var(--radius-xl); }
  .country-head { padding: 48px 48px 0; }
  .country-search { padding-inline: 48px; }
  .country-scroll { padding: 32px 48px; }
  .country-scroll--all { padding: 0 48px 48px; }
  .country-foot { padding-inline: 48px; }
  .country-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .country-regions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 32px 24px; }
  .country-region--wide { grid-column: span 2; }
  .country-region--wide .country-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .country-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .country-regions { grid-template-columns: 1fr 1fr 2fr 1fr 1fr; }
  .country-region--wide { grid-column: auto; }
  .country-region--wide .country-list { grid-auto-flow: column; grid-template-rows: repeat(8, auto); }
}
@media (prefers-reduced-motion: reduce) { .country-opt, .country-opt:hover { translate: 0 0; } }

/* ---------------------------------------------------------------------------------- FAQ accordion */
.faq__head { max-width: 281px; margin-inline: auto; text-align: center; }
.faq__intro { max-width: 42rem; margin: 16px auto 0; text-align: center; }
.faq__list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 2.225rem; margin-top: 4.5rem; align-items: start; }
/* Summ's live values: md rules win over its min-[992px] ones, so the heading stays 506 px (FREQUENTLY / ASKED
   QUESTIONS), the list sits 60 px below the intro and the accordion has two columns from 768 px */
@media (min-width: 768px) {
  .faq__head { max-width: 506px; margin-inline: 0; text-align: left; }
  .faq__intro { margin: 32px 0 0; text-align: left; }
  .faq__list { margin-top: 3.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
@media (min-width: 992px) {
  .faq__intro { margin-top: calc(2 * var(--u)); }
  .faq__list { column-gap: 2.225rem; }
}
.acc-item { border-top: 1px solid var(--acc-border, var(--border-primary)); min-width: 0; }
.theme-dark .acc-item, [data-theme='dark'] .acc-item { --acc-border: #453e33; }
.acc-trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; text-align: left; color: var(--text-primary); font-weight: 300; font-size: var(--font-size-body-s); line-height: var(--line-height-body-s); }
.acc-trigger__text { min-width: 0; padding-right: 8px; }
.acc-icon { flex-shrink: 0; width: 16px; height: 16px; color: var(--text-tertiary); transition: transform .2s ease; }
.acc-trigger[aria-expanded='true'] .acc-icon { transform: rotate(45deg); }
.acc-trigger:hover .acc-icon, .acc-trigger:focus-visible .acc-icon { color: var(--text-primary); }
.acc-panel { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .4s ease, opacity .4s ease, visibility 0s linear .4s; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows .4s ease, opacity .4s ease, visibility 0s; }
.acc-panel__inner { overflow: hidden; min-height: 0; }
.acc-panel__inner > * { margin: 0 0 20px; color: var(--text-secondary); font-weight: 300; font-size: var(--font-size-body-s); line-height: var(--line-height-body-s); }
.acc-panel__inner > * + * { margin-top: -8px; }
.acc-panel__inner a { color: var(--button-link-fg); text-decoration: underline; text-underline-offset: 3px; }
.acc-panel__inner a:hover { color: var(--button-link-fg-hover); text-decoration-thickness: 2px; }
/* inline links without a class of their own (notes, contact rows, legal copy): a visible hover everywhere */
main a[href]:not([class]):hover { text-decoration-line: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (min-width: 768px) { .acc-trigger { padding-block: 30px; } }
@media (min-width: 992px) { .acc-trigger { padding-top: calc(1.315 * var(--u)); padding-bottom: calc(2.5 * var(--u)); } }
@media (prefers-reduced-motion: reduce) { .acc-panel, .acc-item.is-open .acc-panel, .acc-icon { transition: none; } }

/* ---------------------------------------------------------------------------------------- marquee */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.marquee--bare { -webkit-mask-image: none; mask-image: none; }
.marquee__track { display: flex; width: max-content; will-change: transform; animation: marquee-scroll var(--marquee-duration, 30s) linear infinite; }
.marquee__group { display: flex; flex-shrink: 0; align-items: center; gap: var(--marquee-gap, 1.67rem); padding-inline: calc(var(--marquee-gap, 1.67rem) / 2); }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__logo { width: 8.5rem; height: 37px; object-fit: contain; flex-shrink: 0; }
@media (min-width: 768px) { .marquee { --marquee-gap: 1.8rem; } .marquee__logo { width: 8.4rem; height: 40px; } }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; scrollbar-width: none; }
  .marquee__track { animation: none; margin-inline: auto; }   /* a short static strip sits centred; a long one scrolls from its start */
  .marquee__group[data-clone] { display: none; }
}

/* --------------------------------------------------------------------------------------- carousel */
.carousel { position: relative; }
.carousel__viewport { display: flex; gap: var(--carousel-gap, 1.25rem); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-inline: var(--carousel-pad, var(--gutter)); scroll-padding-inline: var(--carousel-pad, var(--gutter)); cursor: grab; -webkit-overflow-scrolling: touch; }
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.carousel__viewport.is-dragging * { pointer-events: none; }
.carousel__slide { flex-shrink: 0; scroll-snap-align: start; min-width: 0; }
.carousel--center .carousel__slide { scroll-snap-align: center; }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.carousel__arrow { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--radius-full); color: var(--text-primary); border: 1px solid var(--border-secondary); background: transparent; transition: background-color .15s, border-color .15s, opacity .15s; }
.carousel__arrow:hover { background: var(--button-tertiary-bg-hover); border-color: var(--border-tertiary); }
.carousel__arrow:disabled { opacity: .35; cursor: default; }
.carousel__arrow svg { width: 22px; height: 22px; }
.carousel__arrow--prev svg { transform: scaleX(-1); }
.carousel__count { min-width: 3.5rem; text-align: center; font-family: var(--font-label); font-size: var(--font-size-label-xs); letter-spacing: var(--letter-spacing-label-xs); color: var(--text-secondary); }
@media (prefers-reduced-motion: reduce) { .carousel__viewport { scroll-behavior: auto; } }

/* ------------------------------------------------------------------------------------------- tabs */
.tabs__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--border-primary); }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab { position: relative; flex-shrink: 0; padding: 12px 16px 14px; color: var(--text-secondary); transition: color .15s; font-size: var(--font-size-button-s); line-height: var(--line-height-button-s); letter-spacing: var(--letter-spacing-button-s); }
.tabs__tab:hover { color: var(--text-primary); }
.tabs__tab[aria-selected='true'] { color: var(--text-brand); }
.tabs__tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: currentColor; opacity: 0; transition: opacity .15s; }
.tabs__tab[aria-selected='true']::after { opacity: 1; }
.tabs__panel[hidden] { display: none; }
@media (max-width: 767px) { .tabs__list { gap: 0; } .tabs__tab { padding-inline: 12px; } }
.tabs--pill .tabs__list { border: 0; gap: 8px; }
.tabs--pill .tabs__tab { border: 1px solid var(--button-tag-border); border-radius: var(--radius-full); padding: 8px 16px; color: var(--button-tag-fg); }
.tabs--pill .tabs__tab[aria-selected='true'] { background: var(--button-tag-bg-active); color: var(--button-tag-fg-active); }
.tabs--pill .tabs__tab::after { display: none; }

/* ------------------------------------------------------------------------------------------ toast */
.toast-region { position: fixed; left: 50%; bottom: 76px; z-index: var(--z-toast); display: flex; flex-direction: column; align-items: center; gap: 8px; width: min(calc(100vw - 40px), 26rem); translate: -50% 0; pointer-events: none; }
@media (min-width: 768px) { .toast-region { bottom: 20px; } }
.toast { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 12px 16px; border-radius: 10px; background: #201d19; color: #f9f8ee; box-shadow: 0 8px 24px rgba(32, 29, 25, .25); pointer-events: auto; opacity: 0; translate: 0 8px; transition: opacity .2s var(--ease-out), translate .2s var(--ease-out); font-weight: 400; font-size: var(--font-size-body-s); line-height: var(--line-height-body-s); }
.toast.is-in { opacity: 1; translate: 0 0; }
.toast svg { width: 18px; height: 18px; flex-shrink: 0; }
.toast--success svg { color: #45f824; }
.toast--error svg { color: #f35b3c; }
.toast__text { min-width: 0; overflow-wrap: anywhere; }

/* ----------------------------------------------------------------------------------- article card */
.article-card { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius-lg); border: 1px solid var(--card-border, #b2aea2); padding: 20px; color: var(--text-primary); transition: box-shadow .4s, background-color .4s; }
.theme-dark .article-card, [data-theme='dark'] .article-card { --card-border: #7f7971; --card-hover: #292723; --card-tag: #4a453f; --card-tag-hover: #454039; --card-date: #9f978d; --card-desc: #d4cec4; --card-meta: #90887f; }
.article-card:hover { background: var(--card-hover, #fffef8); box-shadow: inset 0 0 10px 4px rgba(255, 255, 255, .1); }
.article-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.article-card__tag { border-radius: var(--radius-full); background: var(--card-tag, #e1dfcf); padding: 4px 12px; transition: background-color .4s; }
.article-card:hover .article-card__tag { background: var(--card-tag-hover, #d9d6c3); }
.article-card__date { color: var(--card-date, #6f685d); text-align: right; }
.article-card__title { margin-top: 20px; }
.article-card__desc { margin-top: 12px; max-width: 48rem; color: var(--card-desc, #454039); }
.article-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.article-card__meta { color: var(--card-meta, #6f685d); }
.article-card__cta { position: static; flex-shrink: 0; border: 1px solid var(--button-secondary-border); border-radius: 7px; padding: 6px 12px; color: var(--button-secondary-fg); font-size: var(--font-size-button-s); line-height: var(--line-height-button-s); letter-spacing: var(--letter-spacing-button-s); }
.article-card__cta::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.article-card:hover .article-card__cta { color: var(--button-secondary-fg-hover); border-color: var(--button-secondary-fg-hover); }
.article-card__link { position: static; }
@media (min-width: 768px) { .article-card { padding: 24px; } }

/* ------------------------------------------------------------------------------------ badge pills */
.badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.badge-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px 0 10px; border: 1px solid currentColor; border-radius: var(--radius-full); color: var(--text-primary); white-space: nowrap; font-family: var(--font-label); text-transform: uppercase; font-size: var(--font-size-label-xs); line-height: 1; letter-spacing: var(--letter-spacing-label-xs); }
.badge-pill svg { width: 14px; height: 14px; flex-shrink: 0; }
.badge-pill--solid { background: #201d19; border-color: #201d19; color: #f9f8ee; }
.badge-pill--green { background: var(--bg-brand); border-color: var(--bg-brand); color: #201d19; }

/* ------------------------------------------------------------------------------ live chain strip */
.chain-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; color: var(--text-primary); }
.chain-strip__live { display: inline-flex; align-items: center; gap: 8px; }
.chain-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #45f824; box-shadow: 0 0 0 1px #201d1933; }
.chain-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #45f824; opacity: 0; animation: chain-pulse 2s var(--ease-out) infinite; }
.chain-strip[data-state='loading'] .chain-dot, .chain-strip[data-state='error'] .chain-dot { background: #b2aea2; }
.chain-strip[data-state='loading'] .chain-dot::after, .chain-strip[data-state='error'] .chain-dot::after { animation: none; }
@keyframes chain-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.chain-stat { display: inline-flex; align-items: baseline; gap: 8px; min-width: 0; white-space: nowrap; }
.chain-stat__label { color: var(--text-secondary); }
.chain-stat__value { font-family: var(--font-label); font-size: var(--font-size-label-s); letter-spacing: var(--letter-spacing-label-s); font-variant-numeric: tabular-nums; }
/* values replace the ellipsis at their final width: the strip never re-wraps when live numbers arrive */
.chain-stat__value { display: inline-block; }
.chain-stat[data-stat='block'] .chain-stat__value { min-width: 10ch; }
.chain-stat[data-stat='gas'] .chain-stat__value { min-width: 10ch; }
.chain-stat[data-stat='eth'] .chain-stat__value { min-width: 9ch; }
.chain-stat[data-stat='tokens'] .chain-stat__value { min-width: 3ch; }
.chain-strip[data-state='loading'] .chain-stat__value { color: var(--text-secondary); }
.chain-strip__retry { display: inline-flex; align-items: center; gap: 8px; color: var(--text-secondary); }
.chain-strip__retry button { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .chain-dot::after { animation: none; } }

/* ------------------------------------------------------------------------------ reveal on scroll */
/* Hidden only once components.js has armed the observer (html.reveal-armed), so a page without JS or
   with a failed module never hides content. */
html.reveal-armed [data-reveal]:not(.is-revealed) { opacity: 0; transform: translateY(24px); }
html.reveal-armed [data-reveal] { transition: opacity .8s var(--ease-reveal), transform .8s var(--ease-reveal); transition-delay: var(--reveal-delay, 0s); }
html.reveal-armed [data-reveal='fade']:not(.is-revealed) { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-armed [data-reveal]:not(.is-revealed) { opacity: 1; transform: none; }
  html.reveal-armed [data-reveal] { transition: none; }
}

/* ----------------------------------------------------------------------------------------- misc */
.divider { height: 1px; width: 100%; background: var(--border-primary); }
.stack-s > * + * { margin-top: 12px; }
.stack-m > * + * { margin-top: 24px; }
.stack-l > * + * { margin-top: 40px; }
.logo-mark { display: inline-block; width: 1em; height: 1em; color: currentColor; }
.logo-mark svg { width: 100%; height: 100%; }
