/* ==========================================================================
   Azul Performance — base.css
   Design system: tokens, reset, typography, layout, buttons, nav, footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Signal accent — the only saturated colour in the system */
  --accent:        #1447e6;
  --accent-deep:   #0f36b4;
  --accent-lift:   #2f6bff;
  --accent-tint:   #eef3ff;
  --accent-veil:   rgba(20, 71, 230, .14);
  --accent-hair:   rgba(20, 71, 230, .28);
  --grad-flux:     linear-gradient(94deg, #1447e6 -33.85%, #3b8bff -1.54%, #1447e6 73.55%);

  /* Achromatic scale */
  --ink:        #000000;
  --carbon:     #1f1f1f;
  --carbon-900: #141414;
  --carbon-950: #0b0b0b;
  --slate-900:  #101828;
  --slate-700:  #364153;
  --slate-600:  #4a5565;
  --steel:      #676767;
  --iron:       #8a8a8a;
  --mist:       #99a1af;
  --cloud:      #d4d4d4;
  --frost:      #e5e7eb;
  --paper:      #ffffff;
  --vellum:     #f5f5f5;

  /* Surfaces */
  --s0: var(--vellum);
  --s1: var(--paper);
  --s2: var(--carbon);

  /* Hairlines */
  --line:      var(--frost);
  --line-hard: var(--cloud);
  --line-dark: rgba(255, 255, 255, .12);
  --grid-line: rgba(16, 24, 40, .055);
  --grid-line-dark: rgba(255, 255, 255, .055);

  /* Type */
  --f-sans: 'Inter Tight', 'Söhne', Inter, ui-sans-serif, system-ui, -apple-system,
            BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Consolas,
            'Liberation Mono', monospace;

  --t-micro:   12px;
  --t-caption: 14px;
  --t-sm:      16px;
  --t-body:    18px;
  --t-lg:      20px;
  --t-sub:     24px;
  --t-h3:      clamp(24px, 3.1vw, 30px);
  --t-h2:      clamp(30px, 4.4vw, 48px);
  --t-h1:      clamp(34px, 5.4vw, 60px);
  --t-display: clamp(38px, 6.4vw, 72px);

  --w-thin: 100;
  --w-light: 300;
  --w-reg: 400;
  --w-med: 500;
  --w-semi: 600;
  --w-bold: 700;

  /* Spacing — base unit 8 */
  --s-8: 8px;   --s-16: 16px; --s-24: 24px; --s-32: 32px;
  --s-40: 40px; --s-48: 48px; --s-64: 64px; --s-80: 80px; --s-96: 96px;
  --sec: clamp(56px, 7.4vw, 96px);
  --gap: 16px;

  /* Shape */
  --r: 8px;

  /* Elevation — single two-layer stack, never deeper than 3px */
  --sh:      rgba(0,0,0,.10) 0 1px 3px 0, rgba(0,0,0,.10) 0 1px 2px -1px;
  --sh-lift: rgba(0,0,0,.10) 0 3px 3px 0, rgba(0,0,0,.08) 0 1px 2px -1px;

  /* Layout */
  --wrap: 1200px;
  --nav-h: 68px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .38s;
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  /* clip contains pre-reveal horizontal transforms without creating a
     scroll container, so position: sticky keeps working. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--s0);
  color: var(--slate-900);
  font-family: var(--f-sans);
  font-size: var(--t-sm);
  font-weight: var(--w-reg);
  line-height: 1.5;
  font-feature-settings: 'case' on, 'cv05' on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; border-radius: 0; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }

table { border-collapse: collapse; width: 100%; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--s-40) 0;
}

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r);
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.skip:focus { left: 16px; top: 16px; }

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
.display {
  font-size: var(--t-display);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: var(--w-light);
  color: var(--slate-900);
  font-feature-settings: 'case' on, 'dlig' on;
}

.h1 {
  font-size: var(--t-h1);
  line-height: 1.04;
  letter-spacing: -.025em;
  font-weight: var(--w-light);
  color: var(--slate-900);
}

.h2 {
  font-size: var(--t-h2);
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: var(--w-light);
  color: var(--slate-900);
}

.h3 {
  font-size: var(--t-h3);
  line-height: 1.22;
  letter-spacing: -.02em;
  font-weight: var(--w-reg);
  color: var(--slate-900);
}

.h4 {
  font-size: var(--t-sub);
  line-height: 1.3;
  letter-spacing: -.015em;
  font-weight: var(--w-reg);
  color: var(--slate-900);
}

.h5 {
  font-size: var(--t-lg);
  line-height: 1.35;
  letter-spacing: -.01em;
  font-weight: var(--w-med);
  color: var(--slate-900);
}

.lede {
  font-size: var(--t-body);
  line-height: 1.56;
  color: var(--slate-600);
  font-weight: var(--w-reg);
}

.body { font-size: var(--t-sm); line-height: 1.62; color: var(--slate-600); }
.body + .body { margin-top: var(--s-16); }

.caption { font-size: var(--t-caption); line-height: 1.5; color: var(--slate-600); }

.micro {
  font-family: var(--f-mono);
  font-size: var(--t-micro);
  line-height: 1.5;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--slate-600);
  font-weight: 500;
}


.strong { font-weight: var(--w-med); color: var(--slate-900); }
.dim    { color: var(--iron); }
.center { text-align: center; }
.mono   { font-family: var(--f-mono); }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--t-caption);
  font-weight: var(--w-med);
  color: var(--slate-700);
  position: relative;
  padding-bottom: 2px;
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.tlink::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: currentColor;
  transition: width .3s var(--ease-out);
}
.tlink:hover { color: var(--slate-900); gap: 11px; }
.tlink:hover::after { width: calc(100% - 18px); }
.tlink .ico { width: 15px; height: 15px; }
.tlink--light { color: var(--mist); }
.tlink--light:hover { color: #fff; }

.prose p { font-size: var(--t-sm); line-height: 1.68; color: var(--slate-600); margin-bottom: var(--s-16); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--slate-900); font-weight: var(--w-med); }
.prose a { color: var(--slate-900); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--cloud); }
.prose a:hover { text-decoration-color: var(--slate-900); }

/* --------------------------------------------------------------------------
   4. ICONS
   -------------------------------------------------------------------------- */
.ico {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
  vertical-align: middle;
}
.ico--lg { width: 28px; height: 28px; }
.ico--xl { width: 34px; height: 34px; }
.ico--sm { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   5. LAYOUT
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap--tight { max-width: 960px; }
.wrap--text  { max-width: 820px; }

.section { padding-block: var(--sec); position: relative; }
.section--paper  { background: var(--s1); }
.section--vellum { background: var(--s0); }
.section--carbon { background: var(--carbon-900); color: var(--frost); }
.section--flush-top { padding-top: 0; }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

.section--carbon .h2,
.section--carbon .h3,
.section--carbon .h4,
.section--carbon .h5,
.section--carbon .display { color: #fff; }
.section--carbon .lede,
.section--carbon .body,
.section--carbon .caption { color: var(--mist); }
.section--carbon .micro { color: var(--iron); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule--dark { background: var(--line-dark); }

.stack-8  > * + * { margin-top: 8px; }
.stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; }
.stack-32 > * + * { margin-top: 32px; }
.stack-40 > * + * { margin-top: 40px; }

.grid { display: grid; gap: var(--s-24); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--45 { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); }
.split--55 { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); }
.split--top { align-items: start; }

.sec-head { max-width: 760px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .lede { margin-top: var(--s-16); }
.sec-head + .grid,
.sec-head + .split,
.sec-head + .rail { margin-top: clamp(32px, 4.4vw, 56px); }

/* Hairline grid backdrop */
.gridwash { position: relative; }
.gridwash::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
}
.section--carbon.gridwash::before {
  background-image:
    linear-gradient(to right, var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line-dark) 1px, transparent 1px);
}
.gridwash > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--r);
  font-family: var(--f-sans);
  font-size: var(--t-caption);
  font-weight: var(--w-med);
  letter-spacing: .025em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 1px solid transparent;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease),
              box-shadow .22s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn .ico { width: 16px; height: 16px; transition: transform .28s var(--ease-out); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--sh);
}
.btn--accent:hover { background: var(--accent-deep); box-shadow: var(--sh-lift); }

.btn--flux {
  background: var(--grad-flux);
  background-size: 200% 100%;
  background-position: 0% 0%;
  color: #fff;
  font-weight: var(--w-semi);
  padding: 12px 20px;
  transition: background-position .5s var(--ease-out), box-shadow .22s var(--ease);
}
.btn--flux:hover { background-position: 100% 0%; box-shadow: var(--sh-lift); }

.btn--carbon {
  background: var(--carbon);
  color: #fff;
}
.btn--carbon:hover { background: var(--ink); box-shadow: var(--sh-lift); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-hard);
  color: var(--slate-700);
}
.btn--ghost:hover { border-color: var(--slate-900); color: var(--slate-900); background: rgba(0,0,0,.02); }

.btn--onDark {
  background: transparent;
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.btn--onDark:hover { border-color: #fff; background: rgba(255,255,255,.07); }

.btn--paper { background: #fff; color: var(--slate-900); }
.btn--paper:hover { background: var(--frost); }

.btn--sm { padding: 10px 16px; font-size: 12.5px; }
.btn--wide { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   7. PILLS / BADGES / CHIPS
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line-hard);
  border-radius: var(--r);
  background: transparent;
  padding: 5px 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-600);
  white-space: nowrap;
}
.pill--accent { border-color: var(--accent-hair); color: var(--accent); background: var(--accent-tint); }
.pill--dark { border-color: rgba(255,255,255,.18); color: var(--mist); }
.pill--solid { background: var(--slate-900); border-color: var(--slate-900); color: #fff; }

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.dot--live { position: relative; }
.dot--live::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping {
  0%   { transform: scale(.6); opacity: .8; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* --------------------------------------------------------------------------
   8. NAVIGATION
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease),
              box-shadow .3s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,.94);
  box-shadow: var(--sh);
}

.nav__in {
  height: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  flex: none;
}
.brand__mark {
  font-size: 21px;
  font-weight: var(--w-semi);
  letter-spacing: -.035em;
  color: var(--ink);
  line-height: 1;
}
.brand__mark i { font-style: normal; color: var(--accent); }
.brand__sub {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--iron);
  line-height: 1;
  transform: translateY(-1px);
}
.brand--light .brand__mark { color: #fff; }
.brand--light .brand__sub { color: var(--iron); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 11px;
  border-radius: var(--r);
  font-size: 12.5px;
  font-weight: var(--w-med);
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--slate-700);
  transition: color .2s var(--ease), background-color .2s var(--ease);
  position: relative;
}
.nav__link:hover { color: var(--slate-900); background: rgba(16,24,40,.05); }
.nav__link.is-active { color: var(--accent); }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 11px; right: 11px; bottom: -1px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
}

.nav__cta { display: flex; align-items: center; gap: 10px; flex: none; margin-left: 14px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-hard);
  border-radius: var(--r);
  align-items: center;
  justify-content: center;
  color: var(--slate-900);
  flex: none;
  margin-left: auto;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.burger:hover { border-color: var(--slate-900); }

/* Off-canvas drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }

.drawer__veil {
  position: absolute;
  inset: 0;
  background: rgba(16,24,40,.42);
  opacity: 0;
  transition: opacity .34s var(--ease);
  backdrop-filter: blur(2px);
}
.drawer.is-open .drawer__veil { opacity: 1; }

.drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(400px, 88vw);
  background: var(--paper);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .42s var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding-inline: 20px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.drawer__close {
  width: 40px; height: 40px;
  border: 1px solid var(--line-hard);
  border-radius: var(--r);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-900);
}
.drawer__close:hover { border-color: var(--slate-900); }

.drawer__nav { padding: 12px 16px 20px; }
.drawer__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: var(--w-med);
  letter-spacing: -.01em;
  color: var(--slate-900);
  opacity: 0;
  transform: translateX(14px);
  transition: color .2s var(--ease);
}
.drawer.is-open .drawer__item {
  animation: drawerIn .44s var(--ease-out) forwards;
}
.drawer__item .ico { color: var(--mist); width: 16px; height: 16px; }
.drawer__item:hover { color: var(--accent); }
.drawer__item:hover .ico { color: var(--accent); }
.drawer__item.is-active { color: var(--accent); }
@keyframes drawerIn { to { opacity: 1; transform: translateX(0); } }

.drawer__foot { padding: 20px 20px 32px; margin-top: auto; border-top: 1px solid var(--line); }
.drawer__foot .btn { width: 100%; }

/* --------------------------------------------------------------------------
   9. SCROLL PROGRESS + BACK TO TOP
   -------------------------------------------------------------------------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--grad-flux);
  z-index: 130;
  transition: width .12s linear;
}

.totop {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 90;
  width: 44px; height: 44px;
  border-radius: var(--r);
  background: var(--carbon);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh);
  opacity: 0;
  transform: translateY(12px) scale(.94);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease-out), background-color .2s var(--ease);
}
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--accent); }

/* --------------------------------------------------------------------------
   10. FOOTER
   -------------------------------------------------------------------------- */
.foot {
  background: var(--carbon-950);
  color: var(--mist);
  position: relative;
  overflow: hidden;
}
.foot::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 100% at 12% 0%, #000 5%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 12% 0%, #000 5%, transparent 70%);
  pointer-events: none;
}
.foot__in { position: relative; z-index: 1; padding-block: clamp(48px, 6vw, 80px) 0; }

.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: var(--s-48);
}

.foot__blurb { font-size: 15px; line-height: 1.62; color: var(--steel); max-width: 340px; margin-top: 18px; }

.foot__h {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--iron);
  margin-bottom: 18px;
}
.foot__list li + li { margin-top: 11px; }
.foot__list a {
  font-size: 14.5px;
  color: var(--cloud);
  transition: color .2s var(--ease), padding-left .2s var(--ease);
  display: inline-block;
}
.foot__list a:hover { color: #fff; padding-left: 5px; }

.foot__bar {
  border-top: 1px solid var(--line-dark);
  padding-block: 26px 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
}
.foot__copy { font-size: 12.5px; color: var(--steel); }
.foot__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.foot__legal a { font-size: 12.5px; color: var(--steel); transition: color .2s var(--ease); }
.foot__legal a:hover { color: #fff; }

.foot__social { display: flex; gap: 8px; }
.foot__social a {
  width: 38px; height: 38px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cloud);
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}
.foot__social a:hover { border-color: var(--accent); color: #fff; background: var(--accent); }

.foot__disc {
  border-top: 1px solid var(--line-dark);
  padding-block: 24px 40px;
  font-size: 12px;
  line-height: 1.7;
  color: #5a5a5a;
  max-width: 980px;
}

/* --------------------------------------------------------------------------
   11. COOKIE NOTICE
   -------------------------------------------------------------------------- */
.cookie {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 110;
  max-width: 560px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-lift);
  padding: 20px 22px;
  display: none;
  gap: 16px;
  align-items: flex-start;
}
.cookie.is-on { display: flex; animation: cookieIn .5s var(--ease-out); }
@keyframes cookieIn { from { opacity: 0; transform: translateY(16px); } }
.cookie__body { flex: 1; }
.cookie__body p { font-size: 13px; line-height: 1.6; color: var(--slate-600); }
.cookie__body a { color: var(--slate-900); text-decoration: underline; text-underline-offset: 2px; }
.cookie__acts { display: flex; gap: 8px; flex: none; align-items: center; }

/* --------------------------------------------------------------------------
   12. REVEAL ANIMATION
   -------------------------------------------------------------------------- */
[data-rv] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .72s var(--ease-out), transform .72s var(--ease-out);
  will-change: opacity, transform;
}
[data-rv="left"]  { transform: translateX(-24px); }
[data-rv="right"] { transform: translateX(24px); }
/* Below the tablet breakpoint the page gutter is only 18px, so a horizontal
   pre-reveal offset would poke past the viewport edge. Use vertical only. */
@media (max-width: 900px) {
  [data-rv="left"], [data-rv="right"] { transform: translateY(22px); }
}
[data-rv="scale"] { transform: scale(.97); }
[data-rv="none"]  { transform: none; }
[data-rv].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   13. RESPONSIVE — structure
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav__link { padding: 0 8px; font-size: 12px; }
}

@media (max-width: 980px) {
  .nav__menu, .nav__cta { display: none; }
  .burger { display: inline-flex; }
  .split, .split--45, .split--55 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  :root { --nav-h: 62px; }
  .wrap { padding-inline: 18px; }
  .g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); }
  .foot__top { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .foot__bar { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; flex: 1 1 auto; min-width: 190px; }
  .cookie { flex-direction: column; left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .cookie__acts { width: 100%; }
  .cookie__acts .btn { flex: 1; }
  .totop { right: 12px; bottom: 12px; }
}

@media (max-width: 420px) {
  .brand__sub { display: none; }
  .btn-row .btn { min-width: 100%; }
}

/* --------------------------------------------------------------------------
   14. MOTION PREFERENCES
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-rv] { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   15. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .nav, .drawer, .totop, .cookie, .progress, .foot__social, .marquee { display: none !important; }
  body { background: #fff; }
  .section { padding-block: 24px; }
  [data-rv] { opacity: 1 !important; transform: none !important; }
}
