/* x5.agency — single stylesheet.
   Tokens → base → layout → components → pages → utilities. */

:root {
  --ink: #292930;
  --ink-2: #4b4b57;
  --muted: #6f7384;
  --line: #e3e5ec;
  --paper: #ffffff;
  --paper-2: #f5f6fa;
  --mint: #4df0b0;
  --mint-2: #1fd69a;
  --mint-soft: #dcfbef;
  --lav: #e2e3ee;
  --violet: #5b5bff;
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 10px 30px rgba(41, 41, 48, .08);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --frame-gap-y: clamp(6px, 1.5vw, 12px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; letter-spacing: -.02em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); letter-spacing: -.03em; font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
button { font: inherit; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--tight + .section { padding-top: clamp(24px, 3vw, 48px); }
.section--tint { background: var(--paper-2); }
.section--dark {
  background:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
    var(--ink);
  background-size: 32px 32px, 32px 32px, auto;
  color: #fff;
}
.section--mint { background: var(--mint); color: var(--ink); }
.section--tint, .section--dark, .section--mint, .hero--type {
  margin-inline: clamp(6px, 1.5vw, 16px); margin-block: var(--frame-gap-y);
  border-radius: var(--radius); overflow: hidden;
}
.section__head { margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--center { max-width: 720px; margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.section--dark .lead { color: #c9cbd6; }
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.2fr 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; box-shadow: 0 1px 2px rgba(41, 41, 48, .04);
  font-size: .85rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink-2);
  margin-bottom: 16px;
}
.section--dark .eyebrow { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #e4e6ee; }

.mark { position: relative; display: inline-block; white-space: nowrap; }
.mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .22em;
  background: var(--mint); z-index: -1; border-radius: 2px;
  transform: skewX(-8deg);
}
.section--dark .mark::after { background: var(--mint); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #111116; }
.btn--mint { background: var(--mint); color: var(--ink); }
.btn--mint:hover { background: var(--mint-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.section--dark .btn--ghost { color: #fff; border-color: #fff; }
.section--dark .btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.arrow-link { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.arrow-link::after { content: "→"; transition: transform .15s ease; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(41, 41, 48, .06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
/* The logo image never changes size — the container clips it down to just
   the X5 mark on scroll, so "agency" slides out of view instead of resizing. */
.site-logo { position: relative; display: block; overflow: hidden; width: 150px; height: 28px; transition: width .4s ease; }
.site-logo img { position: absolute; top: 50%; left: 0; width: 150px; max-width: none; height: auto; transform: translateY(-50%); }
.site-header.is-scrolled .site-logo { width: 52px; }
@media (prefers-reduced-motion: reduce) { .site-logo { transition: none; } }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { text-decoration: none; font-weight: 500; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav__list a:hover { color: var(--ink); }
.site-nav__list a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--mint-2); }
.site-nav__meta { display: none; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .site-nav__list { gap: 18px; }
  .site-nav__list a { font-size: .95rem; }
}
@media (max-width: 820px) {
  /* backdrop-filter would turn the header into the containing block of the fixed nav panel */
  .site-header { backdrop-filter: none; background: var(--paper); }
  .nav-toggle {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; padding: 0; border: 0; background: var(--paper-2); border-radius: var(--radius-sm); cursor: pointer; color: var(--ink);
  }
  .nav-toggle__icon { width: 22px; height: 22px; transition: opacity .15s ease; }
  .nav-toggle__icon--close { position: absolute; opacity: 0; }
  body.nav-open .nav-toggle__icon--menu { opacity: 0; }
  body.nav-open .nav-toggle__icon--close { opacity: 1; }
  .site-nav {
    position: fixed; inset: 76px 0 0 0; background: var(--paper); z-index: 70;
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: 0;
    padding: 12px var(--gutter) 28px; overflow: auto;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: transform .2s ease, opacity .2s ease;
  }
  body.nav-open .site-nav { transform: none; opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { display: block; font-size: 1.35rem; font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .site-nav__list a[aria-current="page"] { border-bottom-color: var(--line); color: var(--mint-2); }
  .site-nav__cta { display: grid; gap: 16px; padding-top: 20px; }
  .site-nav__cta .btn { width: 100%; padding: 18px; font-size: 1.05rem; }
  .site-nav__meta { display: block; margin: 0; color: var(--muted); font-size: .95rem; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero__grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { margin-bottom: .45em; max-width: 14ch; }
.hero .lead { margin-bottom: 1.6em; }
.hero__note { color: var(--muted); font-size: .95rem; margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.hero__note svg { width: 16px; height: 16px; flex: none; color: var(--muted); }
.hero__note strong { color: var(--ink); }
.hero__note-sep { color: var(--line); }

/* ---------- typographic hero (home) ---------- */
.hero--type {
  display: flex; align-items: flex-end;
  min-height: calc(100vh - 76px - 2 * var(--frame-gap-y));
  padding-block: clamp(48px, 6vw, 96px);
  background:
    radial-gradient(620px circle at 96% -16%, rgba(52, 235, 164, .42), transparent 62%),
    radial-gradient(520px circle at -10% 118%, rgba(91, 91, 255, .30), transparent 62%),
    var(--paper-2);
}
.hero--type .hero__top { position: relative; z-index: 1; }
.hero__top { display: grid; gap: clamp(24px, 5vw, 56px); align-items: stretch; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero__top { grid-template-columns: 1.3fr 1fr; } }
.hero--type h1 { max-width: none; }
.hero__left { position: relative; display: flex; flex-direction: column; gap: 20px; }
.hero__left .eyebrow { align-self: flex-start; }
.hero__right { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero__right .lead { margin: 0; }
.hero__spacer { visibility: hidden; }
.hero__blob {
  position: absolute; top: -30%; left: 45%; transform: translate(-50%, -50%);
  width: clamp(420px, 35%, 680px); height: auto; max-width: calc(100% - 48px); z-index: 0;
  filter: blur(56px); opacity: .8; pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) { .hero__blob { animation: pop 1s cubic-bezier(.2, .7, .2, 1) both; } }
.mark--block {
  display: inline-block; background: var(--mint); color: var(--ink);
  padding: 0 .22em; border-radius: .18em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.mark--block::after { content: none; }
.btn--dark svg { width: 18px; height: 18px; }

.hero__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__tags li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px 9px 12px; font-weight: 500; font-size: .92rem;
}
.hero__tags svg { width: 18px; height: 18px; color: var(--mint-2); flex: none; }

/* Tile mosaic — echoes the quarter-circle shapes of the X5 logo. */
.tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 10px;
  aspect-ratio: 4 / 3; width: 100%; max-width: 560px; margin-inline: auto;
}
.tiles--compact { max-width: 440px; }
.tile { border-radius: 10px; position: relative; overflow: hidden; }
.t-mint { background: var(--mint); }
.t-dark { background: var(--ink); }
.t-lav { background: var(--lav); }
.t-yellow { background: var(--mint-2); }
.t-soft { background: var(--mint-soft); }
.r-tl { border-top-left-radius: 100%; }
.r-tr { border-top-right-radius: 100%; }
.r-bl { border-bottom-left-radius: 100%; }
.r-br { border-bottom-right-radius: 100%; }
.r-all { border-radius: 50%; }
.t-logo { grid-column: span 2; grid-row: span 2; display: grid; place-items: center; padding: 18%; }
.t-logo img { width: 100%; height: auto; }
.t-stat { display: grid; place-content: center; text-align: center; padding: 8px; }
.t-stat strong { display: block; font-size: clamp(1.2rem, 2.4vw, 1.9rem); line-height: 1; letter-spacing: -.03em; }
.t-stat span { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.t-dark.t-stat { color: #fff; }

/* Stat cards row — real numbers instead of decorative shapes. */
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 700px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stats .card { padding: clamp(18px, 2.4vw, 24px); gap: 8px; }
.hero-stats .card__icon--bare { margin-bottom: 2px; }
.hero-stats .card__icon--bare svg { width: 24px; height: 24px; }
.hero-stats strong { display: block; font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hero-stats span { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .hero__grid > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__grid > :nth-child(2) { animation-delay: .12s; }
  .tiles .tile { animation: pop .6s cubic-bezier(.2, .7, .2, 1) both; }
  .tiles .tile:nth-child(2n) { animation-delay: .08s; }
  .tiles .tile:nth-child(3n) { animation-delay: .16s; }
  .tiles .tile:nth-child(5n) { animation-delay: .24s; }
  .hero-stats .card { animation: pop .6s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-stats .card:nth-child(2) { animation-delay: .08s; }
  .hero-stats .card:nth-child(3) { animation-delay: .16s; }
  .hero-stats .card:nth-child(4) { animation-delay: .24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* ---------- logo strip ---------- */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 48px); }
.logo-strip img { height: 30px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.logo-strip img:hover { filter: none; opacity: 1; }
.logo-strip__label { width: 100%; text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 4px; }

/* ---------- cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--ink-2); }
.card > .btn { align-self: flex-start; margin-top: 4px; }
.card__icon {
  width: 46px; height: 46px; border-radius: var(--radius-sm); display: grid; place-items: center; margin-bottom: 6px;
  background: var(--mint-soft); color: var(--ink); font-weight: 800; font-size: 1.1rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card__icon--bare {
  width: auto; height: auto; background: none; border-radius: 0; margin-bottom: 10px; color: var(--mint-2);
  display: block; align-self: flex-start;
}
.card__icon--bare svg { width: 28px; height: 28px; }
.card--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.card--dark p { color: #c9cbd6; }
.card--dark .card__icon { background: rgba(255, 255, 255, .1); color: #fff; }
.card--mint { background: var(--mint); border-color: var(--mint); }
.card--mint p { color: var(--ink-2); }
.card--mint .card__icon { background: rgba(41, 41, 48, .12); }

.path-card { gap: 16px; }
.path-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.path-card li { padding-left: 26px; position: relative; }
.path-card li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--mint-2); }
.card--dark.path-card li::before { color: var(--mint); }
.path-card .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.step { position: relative; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.step__progress { display: flex; align-items: center; margin-bottom: 56px; }
.step__progress .dot { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); flex: none; }
.step__progress .dot.is-active { border-color: var(--mint-2); background: var(--mint-2); }
.step__progress .bar { flex: 1; height: 1px; background: var(--line); margin: 0 5px; min-width: 10px; }
.step__label { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 44px; }
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; color: var(--ink-2); }
.section--dark .step { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.section--dark .step p { color: #c9cbd6; }
.section--dark .step__label { color: #a9acbb; }
.section--dark .step__progress .dot { border-color: rgba(255, 255, 255, .25); background: transparent; }
.section--dark .step__progress .bar { background: rgba(255, 255, 255, .18); }

/* ---------- chips / formats ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li {
  padding: 10px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 500;
}
.chips--dark li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.format-block h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.section--dark .format-block h3 { color: #a9acbb; }

/* ---------- word wall (channels / formats) ---------- */
.word-wall { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25em .1em; }
.word-wall li {
  font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  letter-spacing: -.01em; color: rgba(255, 255, 255, .55); transition: color .15s ease;
}
.word-wall li:not(:last-child)::after { content: "/"; margin: 0 .5em; color: rgba(255, 255, 255, .22); font-weight: 400; }
.word-wall li:hover { color: var(--mint); }

/* ---------- checklist ---------- */
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list-check li { padding-left: 30px; position: relative; }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--mint); box-shadow: inset 0 0 0 5px var(--paper);
}
.section--dark .list-check li::before { box-shadow: inset 0 0 0 5px var(--ink); }
.section--tint .list-check li::before { box-shadow: inset 0 0 0 5px var(--paper-2); }

/* ---------- stat row ---------- */
.stats { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.stat { padding: 22px 24px; border-radius: var(--radius); background: var(--paper-2); }
.stat strong { display: block; font-size: 1.9rem; letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner { display: grid; gap: 24px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.3fr auto; } }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; }
.cta-band__deco { display: none; }
.cta-band .container { position: relative; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--muted); flex: none; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: var(--ink); }
.faq .faq__body { padding: 0 0 20px; color: var(--ink-2); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- partner logo grid ---------- */
.partner-grid { display: grid; gap: clamp(14px, 2vw, 20px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }

/* ---------- mobile carousels: multi-card grids become a swipeable row ---------- */
@media (max-width: 640px) {
  .steps, .grid--3, .partner-grid {
    display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px;
  }
  .steps::-webkit-scrollbar, .grid--3::-webkit-scrollbar, .partner-grid::-webkit-scrollbar { display: none; }
  .steps > *, .grid--3 > * { flex: 0 0 85%; scroll-snap-align: start; }
  .partner-grid > * { flex: 0 0 42%; scroll-snap-align: start; }
}
.partner-grid figure {
  margin: 0; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.partner-grid figure:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.partner-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.partner-grid figcaption { font-size: .92rem; font-weight: 600; text-align: center; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid #cfd2dc; background: var(--paper);
  color: var(--ink); width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(91, 91, 255, .35); border-color: var(--violet); }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.field--check input { width: 20px; height: 20px; margin-top: 3px; padding: 0; }
.field--check label { font-weight: 400; }
.form-status { margin: 0; font-weight: 500; min-height: 1.4em; }
.form-status--ok { color: #0d7a52; }
.form-status--error { color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-panel { background: var(--paper-2); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.contact-panel h3 { margin-top: 0; }
.contact-panel dl { margin: 0; display: grid; gap: 14px; }
.contact-panel dt { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-panel dd { margin: 2px 0 0; }
.contact-panel a { font-weight: 700; }

/* ---------- prose (privacy, careers) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0 2em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; background: var(--paper-2); }
.table-wrap { overflow-x: auto; }
.prose .meta { color: var(--muted); font-size: .95rem; }

.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 48px); }
.page-head h1 { max-width: 18ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c9cbd6; padding-block: clamp(48px, 6vw, 80px) 28px; }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer__brand { grid-column: span 1; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.site-footer__brand img { width: 150px; margin-bottom: 16px; }
.site-footer__brand p { max-width: 36ch; }
.site-footer__title { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { color: #fff; text-decoration: underline; }
.site-footer__address { font-style: normal; line-height: 1.7; }
.site-footer__address a { color: #fff; }
.site-footer__bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a, .site-footer__bottom .linklike { color: #c9cbd6; }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  background: var(--paper); color: var(--ink); border-radius: var(--radius); box-shadow: 0 16px 50px rgba(0, 0, 0, .18);
  border: 1px solid var(--line);
}
.cookie-banner__inner { display: grid; gap: 16px; padding: 20px; max-width: 1200px; margin-inline: auto; }
@media (min-width: 900px) { .cookie-banner__inner { grid-template-columns: 1fr auto; align-items: center; padding: 22px 28px; } }
.cookie-banner__title { font-weight: 800; margin-bottom: 4px; }
.cookie-banner__text p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .btn { padding: 12px 20px; }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.text-center { text-center: center; text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
