/* ==========================================================================
   Eightech design system.

   Token names and values come from the Brand Book (v1.0, August 2026); the
   greys, rules and type ramp are read off the shipped page so new pages sit
   flush against the four that were ported from it.

   Every size below is a cqw clamp, matching the ported markup exactly. That
   depends on .et-shell keeping container-type:inline-size - without it the
   whole ramp collapses to its minimum.

   Loaded after assets/base.css, which carries @font-face, the original
   stylesheet and the hover rules lifted out of the old runtime.
   ========================================================================== */

:root {
  /* Brand */
  --et-blue: #1C1CD2;
  --et-blue-600: #1616A8;
  --et-blue-50: #EDEDFB;
  --et-graphite: #1C1C1E;
  --et-ink: #0D0D0D;
  --et-white: #FFFFFF;
  --et-mist: #FAFAFA;

  /* Text and rules, as used on the shipped page */
  --et-text: #212129;
  --et-text-2: #57575F;
  --et-text-3: #8A8A96;
  --et-line: #E7E8F0;

  /* On dark */
  --et-on-dark: rgba(255, 255, 255, .85);
  --et-on-dark-2: rgba(255, 255, 255, .72);
  --et-on-dark-3: rgba(255, 255, 255, .5);
  --et-on-dark-4: rgba(255, 255, 255, .35);
  --et-rule-dark: rgba(255, 255, 255, .12);

  /* Type */
  --et-font-display: 'Poppins', sans-serif;
  --et-font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --et-font-mono: 'JetBrains Mono', monospace;

  /* 4px grid */
  --et-space-1: 4px;   --et-space-2: 8px;   --et-space-3: 12px;
  --et-space-4: 16px;  --et-space-6: 24px;  --et-space-8: 32px;
  --et-space-10: 40px; --et-space-16: 64px; --et-space-24: 96px;

  /* Brand Book: buttons are perfect rectangles; inputs and cards soften to 4 */
  --et-radius-btn: 0;
  --et-radius-input: 4px;
  --et-radius-card: 4px;

  --et-pad-y: clamp(56px, 7cqw, 100px);
  --et-pad-x: clamp(20px, 3.4cqw, 48px);
  --et-max: 1240px;
}

/* --- Shell ---------------------------------------------------------------
   Load-bearing: every clamp on the page resolves against this container. */
.et-shell {
  container-type: inline-size;
  width: 100%;
  overflow-x: hidden;
  background: var(--et-ink);
  position: relative;
}

.et-section { padding: var(--et-pad-y) var(--et-pad-x); background: var(--et-white); }
.et-section--dark { background: var(--et-ink); color: var(--et-white); }
.et-section--mist { background: var(--et-mist); border-top: 1px solid var(--et-line); border-bottom: 1px solid var(--et-line); }
.et-section--blue { background: var(--et-blue); color: var(--et-white); }
.et-section--tight { padding-top: clamp(40px, 5cqw, 72px); padding-bottom: clamp(40px, 5cqw, 72px); }
.et-container { max-width: var(--et-max); margin: 0 auto; }
.et-container--prose { max-width: 74ch; }

/* --- Typography ---------------------------------------------------------- */
.et-eyebrow { display: flex; align-items: center; gap: 12px; }
.et-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--et-blue); flex: none; }
.et-eyebrow > span,
.et-eyebrow-label {
  font: 500 12px/1.4 var(--et-font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--et-blue);
}
.et-section--dark .et-eyebrow::before { background: var(--et-on-dark-4); }
.et-section--dark .et-eyebrow > span { color: rgba(255, 255, 255, .6); }
.et-section--blue .et-eyebrow::before { background: rgba(255, 255, 255, .5); }
.et-section--blue .et-eyebrow > span { color: rgba(255, 255, 255, .8); }

.et-h1 {
  margin: 0; max-width: 18em;
  font-family: var(--et-font-display); font-weight: 600;
  font-size: clamp(32px, 4.8cqw, 62px); line-height: 1.06;
  letter-spacing: -.025em; color: var(--et-white); text-wrap: balance;
}
.et-h2 {
  margin: 22px 0 0;
  font-family: var(--et-font-display); font-weight: 600;
  font-size: clamp(26px, 3.2cqw, 42px); line-height: 1.14;
  letter-spacing: -.02em; color: var(--et-text); text-wrap: balance;
}
.et-h3 {
  margin: 0;
  font-family: var(--et-font-display); font-weight: 600;
  font-size: clamp(19px, 1.75cqw, 24px); line-height: 1.28;
  letter-spacing: -.01em; color: var(--et-text);
}
.et-h4 {
  margin: 0;
  font-family: var(--et-font-display); font-weight: 600;
  font-size: 17px; line-height: 1.3; color: var(--et-text);
}
.et-section--dark .et-h2,
.et-section--dark .et-h3,
.et-section--dark .et-h4,
.et-section--blue .et-h2,
.et-section--blue .et-h3 { color: var(--et-white); }

.et-lead {
  margin: 22px 0 0; max-width: 36em;
  font: 400 clamp(16px, 1.42cqw, 19px)/1.62 var(--et-font-body);
  color: var(--et-on-dark-2); text-wrap: pretty;
}
.et-section .et-lead { color: var(--et-text-2); }
.et-section--dark .et-lead, .et-hero .et-lead { color: var(--et-on-dark-2); }

.et-body {
  margin: 14px 0 0; max-width: 38em;
  font: 400 clamp(15.5px, 1.3cqw, 17px)/1.7 var(--et-font-body);
  color: var(--et-text-2); text-wrap: pretty;
}
.et-section--dark .et-body { color: var(--et-on-dark-2); }
.et-small { font: 400 14.5px/1.55 var(--et-font-body); color: var(--et-text-3); }
.et-note { font: 400 13px/1.6 var(--et-font-body); color: var(--et-text-3); }

/* --- Hero ---------------------------------------------------------------- */
.et-hero {
  position: relative; background: var(--et-ink); color: var(--et-white);
  overflow: hidden; padding: var(--et-pad-y) var(--et-pad-x);
}
.et-hero__device {
  position: absolute; pointer-events: none; opacity: .08;
  right: -8cqw; top: -6cqw; width: 64cqw; max-width: 900px;
}

/* --- Buttons ------------------------------------------------------------- */
.et-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 30px; border: 0; border-radius: var(--et-radius-btn);
  font: 600 15px/1 var(--et-font-body); cursor: pointer;
  text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.et-btn__arrow { font-family: var(--et-font-mono); }
.et-btn--primary { background: var(--et-blue); color: var(--et-white); }
.et-btn--primary:hover { background: var(--et-blue-600); color: var(--et-white); }
.et-btn--secondary { background: transparent; color: var(--et-text); border: 1.5px solid var(--et-text); padding: 16px 28px; }
.et-btn--secondary:hover { background: var(--et-text); color: var(--et-white); }
.et-btn--on-dark { background: transparent; color: var(--et-white); border: 1.5px solid rgba(255, 255, 255, .32); padding: 16px 28px; }
.et-btn--on-dark:hover { background: var(--et-white); color: var(--et-ink); border-color: var(--et-white); }
.et-btn--on-blue { background: var(--et-white); color: var(--et-blue); }
.et-btn--on-blue:hover { background: var(--et-blue-50); color: var(--et-blue); }
.et-btn--block { width: 100%; justify-content: center; }
.et-btn[disabled], .et-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.et-link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 15px/1 var(--et-font-body); color: var(--et-blue);
  border-bottom: 1.5px solid var(--et-blue); padding-bottom: 4px;
  text-decoration: none;
}
.et-link:hover { color: var(--et-blue-600); border-color: var(--et-blue-600); }
.et-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(24px, 2.6cqw, 32px); }

/* --- Hairline "mortar" grid ---------------------------------------------
   The site's dominant device: a 1px gap with the background showing through
   as the rule, rather than a border on every child. */
.et-grid { display: grid; gap: 1px; background: var(--et-line); border: 1px solid var(--et-line); }
.et-grid > * { background: var(--et-white); padding: clamp(22px, 2.2cqw, 30px); }
.et-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.et-grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.et-grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.et-section--dark .et-grid { background: var(--et-rule-dark); border-color: var(--et-rule-dark); }
.et-section--dark .et-grid > * { background: var(--et-ink); }

/* Detached cards */
.et-cards { display: grid; gap: clamp(16px, 1.7cqw, 24px); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.et-card {
  border: 1px solid var(--et-line); border-radius: var(--et-radius-card);
  padding: clamp(26px, 2.7cqw, 38px); background: var(--et-white);
  transition: border-color .25s, transform .25s;
}
.et-card:hover { border-color: var(--et-blue); transform: translateY(-4px); }
.et-card__num { font: 500 12px/1 var(--et-font-mono); letter-spacing: .14em; color: var(--et-blue); }
.et-card__proof { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--et-line); font: 600 14px/1.5 var(--et-font-body); color: var(--et-blue); }
.et-card .et-h3 { margin-top: 20px; }
a.et-card { display: block; text-decoration: none; }

.et-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.et-tag {
  padding: 8px 13px; background: var(--et-white); border: 1px solid var(--et-line);
  font: 500 11.5px/1 var(--et-font-mono); letter-spacing: .1em;
  text-transform: uppercase; color: var(--et-text-2);
}

/* --- Definition rows ----------------------------------------------------- */
.et-rows { margin-top: clamp(24px, 2.6cqw, 32px); }
.et-rows > div { padding: 16px 0; border-top: 1px solid var(--et-line); }
.et-rows > div:last-child { border-bottom: 1px solid var(--et-line); }
.et-rows strong { font: 600 15.5px/1.4 var(--et-font-body); color: var(--et-text); }
.et-rows span { display: block; margin-top: 5px; font: 400 14px/1.5 var(--et-font-body); color: var(--et-text-3); }

/* --- Table --------------------------------------------------------------- */
.et-table-wrap { border: 1px solid var(--et-line); border-radius: var(--et-radius-card); overflow-x: auto; }
.et-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.et-table th {
  background: var(--et-blue-50); color: var(--et-blue); text-align: left;
  font: 500 11.5px/1.4 var(--et-font-mono); letter-spacing: .12em;
  text-transform: uppercase; padding: 14px 20px;
}
.et-table td { padding: 18px 20px; border-bottom: 1px solid var(--et-line); font: 400 15px/1.5 var(--et-font-body); color: var(--et-text-2); }
.et-table tbody tr:last-child td { border-bottom: 0; }
.et-table td:first-child { color: var(--et-text); font-weight: 600; }

/* --- Forms --------------------------------------------------------------- */
.et-form { display: grid; gap: 18px; }
.et-field { display: flex; flex-direction: column; gap: 8px; }
.et-field--half { grid-column: span 1; }
.et-form--2col { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.et-form--2col .et-field--full { grid-column: 1 / -1; }
.et-label { font: 500 12px/1.4 var(--et-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--et-on-dark-3); }
.et-section:not(.et-section--dark) .et-label { color: var(--et-text-3); }
.et-label .et-req { color: var(--et-blue); }
.et-section--dark .et-label .et-req { color: rgba(255, 255, 255, .8); }
.et-input, .et-select, .et-textarea {
  width: 100%; padding: 16px 18px; background: var(--et-mist);
  border: 1px solid var(--et-line); border-radius: var(--et-radius-input);
  font: 400 15.5px/1.3 var(--et-font-body); color: var(--et-text);
}
.et-textarea { line-height: 1.5; resize: vertical; min-height: 120px; }
.et-input:focus, .et-select:focus, .et-textarea:focus { outline: 2px solid var(--et-blue); outline-offset: 2px; border-color: var(--et-blue); }
.et-input[aria-invalid="true"], .et-select[aria-invalid="true"], .et-textarea[aria-invalid="true"] { border-color: #D62828; }
.et-error { font: 400 13px/1.4 var(--et-font-body); color: #FF8A80; min-height: 0; }
.et-section:not(.et-section--dark) .et-error { color: #D62828; }
.et-error:empty { display: none; }
.et-form__status { margin-top: 16px; font: 400 14.5px/1.6 var(--et-font-body); }
.et-form__status--ok { color: #7ADD9A; }
.et-form__status--err { color: #FF8A80; }
.et-section:not(.et-section--dark) .et-form__status--ok { color: #0F7A3D; }
.et-section:not(.et-section--dark) .et-form__status--err { color: #D62828; }
.et-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Consent checkbox. Square to match the button treatment; the 20px box sits
   on the first line of the label rather than centred, so long wrapping text
   still aligns to it. */
.et-check {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  padding: 4px 0;
}
.et-check input {
  flex: none; width: 20px; height: 20px; margin: 1px 0 0;
  accent-color: var(--et-blue); border-radius: 0; cursor: pointer;
}
.et-check span {
  font: 400 14.5px/1.6 var(--et-font-body); color: var(--et-on-dark-2);
}
.et-section:not(.et-section--dark) .et-check span { color: var(--et-text-2); }
.et-check a { color: var(--et-blue); border-bottom: 1px solid currentColor; }
.et-section--dark .et-check a,
.et-hero .et-check a { color: #fff; border-bottom-color: rgba(255,255,255,.4); }

/* --- Header -------------------------------------------------------------- */
.et-header {
  position: sticky; top: 0; z-index: 40; background: var(--et-ink);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background .35s ease, border-color .35s ease;
}
.et-header.is-scrolled {
  background: rgba(13, 13, 13, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(255, 255, 255, .16);
}
.et-header__bar {
  max-width: var(--et-max); margin: 0 auto; padding: 0 var(--et-pad-x);
  height: clamp(64px, 5.2cqw, 80px);
  display: flex; align-items: center; gap: clamp(16px, 3cqw, 44px);
}
.et-header__logo { display: flex; align-items: center; flex: none; }
.et-header__logo img { height: clamp(20px, 1.9cqw, 27px); width: auto; display: block; }
.et-nav { display: flex; align-items: center; gap: clamp(14px, 2.2cqw, 30px); margin-left: auto; }
.et-nav__link, .et-nav__trigger {
  font: 500 14.5px/1 var(--et-font-body); color: var(--et-on-dark-2);
  background: none; border: 0; padding: 0; cursor: pointer;
  transition: color .2s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.et-nav__link:hover, .et-nav__trigger:hover,
.et-nav__link[aria-current="page"] { color: var(--et-white); }
.et-nav__trigger::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.et-nav__item[data-open="true"] .et-nav__trigger::after { transform: translateY(1px) rotate(-135deg); }
.et-nav__item { position: relative; }
.et-nav__panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  min-width: 260px; background: #141418; border: 1px solid rgba(255, 255, 255, .14);
  padding: 8px; display: none; flex-direction: column; gap: 2px;
}
.et-nav__item[data-open="true"] .et-nav__panel,
.et-nav__item:hover .et-nav__panel,
.et-nav__item:focus-within .et-nav__panel { display: flex; }
.et-nav__panel a {
  padding: 11px 14px; font: 500 14px/1.35 var(--et-font-body);
  color: var(--et-on-dark-2); text-decoration: none;
}
.et-nav__panel a:hover { background: rgba(255, 255, 255, .06); color: var(--et-white); }
.et-nav__panel a span { display: block; margin-top: 3px; font: 400 12.5px/1.4 var(--et-font-body); color: var(--et-on-dark-4); }
.et-nav__rule { width: 1px; height: 20px; background: rgba(255, 255, 255, .15); }
.et-nav__langs { font: 500 12px/1 var(--et-font-mono); letter-spacing: .1em; color: rgba(255, 255, 255, .45); }
.et-nav__cta { display: inline-flex; align-items: center; padding: 13px 22px; background: var(--et-blue); color: var(--et-white); font: 600 14px/1 var(--et-font-body); text-decoration: none; transition: background .2s; }
.et-nav__cta:hover { background: var(--et-blue-600); color: var(--et-white); }

.et-header__mobile { display: none; align-items: center; gap: 14px; margin-left: auto; }
.et-burger {
  width: 40px; height: 40px; display: flex; flex-direction: column;
  justify-content: center; gap: 5px; padding: 0 9px; background: transparent;
  border: 1px solid rgba(255, 255, 255, .2); cursor: pointer;
}
.et-burger span { display: block; height: 1.5px; background: #fff; transition: transform .25s, opacity .25s; }
.et-burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.et-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.et-drawer {
  position: fixed; inset: 0; z-index: 60; background: var(--et-ink);
  padding: 20px; overflow-y: auto; display: none;
}
.et-drawer[data-open="true"] { display: block; }
.et-drawer__top { display: flex; align-items: center; justify-content: space-between; height: clamp(64px, 5.2cqw, 80px); }
.et-drawer__close { width: 40px; height: 40px; background: transparent; border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.et-drawer__group { border-top: 1px solid var(--et-rule-dark); padding: 20px 0; }
.et-drawer__title { font: 500 12px/1.4 var(--et-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--et-on-dark-4); }
.et-drawer__links { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.et-drawer__links a { font: 500 16px/1.3 var(--et-font-body); color: var(--et-on-dark); text-decoration: none; }
.et-drawer .et-btn { margin-top: 24px; }

@media (max-width: 767px) {
  .et-nav { display: none; }
  .et-header__mobile { display: flex; }
}

/* --- Footer -------------------------------------------------------------- */
.et-footer { background: var(--et-ink); color: var(--et-white); border-top: 1px solid var(--et-rule-dark); padding: clamp(44px, 5cqw, 68px) var(--et-pad-x) clamp(28px, 3cqw, 40px); }
.et-footer__inner { max-width: var(--et-max); margin: 0 auto; }
.et-footer__cols { display: flex; flex-wrap: wrap; gap: clamp(28px, 3.4cqw, 52px); }
.et-footer__brand { flex: 1 1 260px; }
.et-footer__brand img { height: 26px; width: auto; display: block; }
.et-footer__col { flex: 0 1 158px; }
.et-footer__title { font: 500 12px/1.4 var(--et-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--et-on-dark-4); }
.et-footer__links { margin-top: 16px; display: flex; flex-direction: column; gap: 11px; }
.et-footer__links a, .et-footer__links button {
  font: 400 14.5px/1.3 var(--et-font-body); color: var(--et-on-dark-2);
  text-decoration: none; background: none; border: 0; padding: 0;
  text-align: left; cursor: pointer;
}
.et-footer__links a:hover, .et-footer__links button:hover { color: var(--et-white); }
.et-footer__bottom {
  margin-top: clamp(32px, 4cqw, 56px); padding-top: 22px;
  border-top: 1px solid var(--et-rule-dark);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font: 400 12.5px/1.5 var(--et-font-body); color: rgba(255, 255, 255, .4);
}
.et-footer__bottom a { color: rgba(255, 255, 255, .4); }
.et-footer__bottom a:hover { color: var(--et-white); }

/* --- Legal page layout --------------------------------------------------- */
.et-legal { display: flex; flex-wrap: wrap; gap: clamp(32px, 4cqw, 72px); align-items: flex-start; }
.et-toc { flex: 0 1 240px; position: sticky; top: calc(clamp(64px, 5.2cqw, 80px) + 32px); }
.et-toc__title { font: 500 12px/1.4 var(--et-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--et-text-3); }
.et-toc ol { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: toc; }
.et-toc a { font: 400 14px/1.4 var(--et-font-body); color: var(--et-text-2); text-decoration: none; display: block; border-left: 1.5px solid var(--et-line); padding-left: 12px; }
.et-toc a:hover, .et-toc a.is-active { color: var(--et-blue); border-left-color: var(--et-blue); }
.et-legal__body { flex: 1 1 460px; max-width: 74ch; }
.et-legal__body h2 { margin: clamp(36px, 4cqw, 56px) 0 0; font-family: var(--et-font-display); font-weight: 600; font-size: clamp(20px, 2cqw, 26px); line-height: 1.25; letter-spacing: -.015em; color: var(--et-text); scroll-margin-top: 120px; }
.et-legal__body h2:first-child { margin-top: 0; }
.et-legal__body h3 { margin: 28px 0 0; font-family: var(--et-font-display); font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--et-text); }
.et-legal__body p, .et-legal__body li { font: 400 16px/1.75 var(--et-font-body); color: var(--et-text-2); }
.et-legal__body p { margin: 16px 0 0; }
.et-legal__body ul, .et-legal__body ol { margin: 16px 0 0; padding-left: 22px; }
.et-legal__body li { margin-top: 8px; }
.et-legal__body strong { color: var(--et-text); font-weight: 600; }
.et-legal__body a { border-bottom: 1px solid var(--et-blue); }
.et-updated { font: 500 12px/1.4 var(--et-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--et-text-3); }
.et-callout { margin: 24px 0 0; padding: 20px 22px; background: var(--et-blue-50); border-left: 2px solid var(--et-blue); border-radius: var(--et-radius-card); }
.et-callout p { margin: 0; color: var(--et-text); }
.et-callout p + p { margin-top: 10px; }

/* --- Trust cards --------------------------------------------------------- */
.et-trust { display: grid; gap: 1px; background: var(--et-line); border: 1px solid var(--et-line); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.et-trust a { background: var(--et-white); padding: clamp(24px, 2.6cqw, 34px); text-decoration: none; display: block; transition: background .2s; }
.et-trust a:hover { background: var(--et-mist); }
.et-trust a:hover .et-trust__go { color: var(--et-blue-600); }
.et-trust__go { display: inline-block; margin-top: 20px; font: 600 14px/1 var(--et-font-body); color: var(--et-blue); }

/* --- Cookie consent ------------------------------------------------------ */
.et-cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--et-ink); border-top: 1px solid rgba(255, 255, 255, .16);
  padding: 20px var(--et-pad-x); display: none;
}
.et-cookie[data-open="true"] { display: block; }
.et-cookie__inner { max-width: var(--et-max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.et-cookie p { margin: 0; max-width: 62ch; font: 400 14.5px/1.6 var(--et-font-body); color: var(--et-on-dark-2); }
.et-cookie p a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.et-cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.et-cookie__actions .et-btn { padding: 13px 22px; font-size: 14px; }

.et-modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(13, 13, 13, .72); }
.et-modal[data-open="true"] { display: flex; }
.et-modal__panel { background: var(--et-white); border-radius: var(--et-radius-card); max-width: 620px; width: 100%; max-height: 86vh; overflow-y: auto; padding: clamp(24px, 3cqw, 36px); }
.et-modal__title { margin: 0; font-family: var(--et-font-display); font-weight: 600; font-size: 22px; color: var(--et-text); }
.et-cat { border-top: 1px solid var(--et-line); padding: 18px 0; display: flex; gap: 16px; align-items: flex-start; }
.et-cat:last-of-type { border-bottom: 1px solid var(--et-line); }
.et-cat__text { flex: 1; }
.et-cat__name { font: 600 15.5px/1.4 var(--et-font-body); color: var(--et-text); }
.et-cat__desc { margin: 6px 0 0; font: 400 14px/1.6 var(--et-font-body); color: var(--et-text-2); }
.et-cat input { width: 20px; height: 20px; accent-color: var(--et-blue); margin-top: 2px; }
.et-cat input[disabled] { opacity: .5; }
.et-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* Reveal-on-scroll pre-state. Set in CSS as well as JS so the content does
   not paint once and then hide itself a frame later. Gated on .et-js, which
   an inline head script adds - with JS off the class never lands and every
   element stays visible. */
.et-js [data-reveal] { opacity: 0; transform: translateY(22px); }
@media (prefers-reduced-motion: reduce) {
  .et-js [data-reveal] { opacity: 1; transform: none; }
}

/* --- Accessibility ------------------------------------------------------- */
.et-skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--et-blue); color: #fff; padding: 12px 20px;
  font: 600 14px/1 var(--et-font-body);
}
.et-skip:focus { left: 0; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--et-blue); outline-offset: 3px;
}
.et-header :where(a, button):focus-visible,
.et-footer :where(a, button):focus-visible,
.et-section--dark :where(a, button):focus-visible,
.et-drawer :where(a, button):focus-visible { outline-color: #fff; }
.et-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body.et-no-scroll { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}
