/* =====================================================================
   Dwell Secure — shared styles
   Type:  Fraunces (soft editorial serif) for display,
          Geist for text, Geist Mono for blueprint labels.
   Color: navy is the brand. Each hazard owns a color and keeps it
          everywhere it appears: water = blue, gas = amber,
          power = violet, fire = ember.
   Theme: light by default; dark follows the OS ("auto") unless the
          visitor picks one, which sets <html data-theme="light|dark">.
   ===================================================================== */

:root {
  color-scheme: light;
  --bg:        #f5f2ec;   /* warm paper */
  --bg-2:      #ece7de;
  --surface:   #ffffff;
  --surface-2: #faf8f4;
  --ink:       #0c1d2b;
  --ink-2:     #3a4a58;
  --ink-3:     #6b7884;
  --line:      rgba(12, 29, 43, .10);
  --line-2:    rgba(12, 29, 43, .18);
  --blueprint: rgba(18, 72, 107, .55);
  --grid:      rgba(18, 72, 107, .07);

  --navy:      #12486b;   /* app primary */
  --navy-deep: #0a2c44;
  --brand:     #12486b;
  --brand-ink: #ffffff;

  --water:     #1d8fd1;  --water-soft: #d9eefa;
  --gas:       #e39400;  --gas-soft:   #fcefd2;
  --power:     #7b5cf0;  --power-soft: #e9e3fd;
  --fire:      #f2511b;  --fire-soft:  #fde3d8;
  --ok:        #1f9d6b;

  --night:     #0d2a45;   /* always-dark sections */
  --night-2:   #143758;
  --on-night:  #eaf1f6;
  --on-night-2:#9fb2c2;

  --shadow:    0 1px 2px rgba(12,29,43,.06), 0 10px 30px -12px rgba(12,29,43,.18);
  --shadow-xl: 0 50px 100px -40px rgba(12,29,43,.45), 0 16px 36px -16px rgba(12,29,43,.25);

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body:    "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:    "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --r-sm: 10px; --r: 18px; --r-lg: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0c2238; --bg-2: #102a44; --surface: #15324f; --surface-2: #122d49;
    --ink: #e9f0f5; --ink-2: #b3c2ce; --ink-3: #7f909e;
    --line: rgba(220, 235, 245, .10); --line-2: rgba(220, 235, 245, .18);
    --blueprint: rgba(140, 200, 235, .55); --grid: rgba(140, 200, 235, .06);
    --brand: #4fa9de; --brand-ink: #06182a;
    --water-soft: #0c2c40; --gas-soft: #33260a; --power-soft: #221a45; --fire-soft: #3a170b;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -12px rgba(0,0,0,.6);
    --shadow-xl: 0 50px 100px -40px rgba(0,0,0,.8), 0 16px 36px -16px rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c2238; --bg-2: #102a44; --surface: #15324f; --surface-2: #122d49;
  --ink: #e9f0f5; --ink-2: #b3c2ce; --ink-3: #7f909e;
  --line: rgba(220, 235, 245, .10); --line-2: rgba(220, 235, 245, .18);
  --blueprint: rgba(140, 200, 235, .55); --grid: rgba(140, 200, 235, .06);
  --brand: #4fa9de; --brand-ink: #06182a;
  --water-soft: #0c2c40; --gas-soft: #33260a; --power-soft: #221a45; --fire-soft: #3a170b;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -12px rgba(0,0,0,.6);
  --shadow-xl: 0 50px 100px -40px rgba(0,0,0,.8), 0 16px 36px -16px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 18px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  margin: 0; font-family: var(--f-display); font-weight: 560; line-height: 1.02;
  letter-spacing: -.02em; font-optical-sizing: auto; font-variation-settings: "SOFT" 50, "WONK" 0;
}
em { font-style: italic; }
h1 em, h2 em, .h-xl em, .h-lg em { font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--brand); }
::selection { background: var(--fire); color: #fff; }
:focus-visible { outline: 3px solid var(--water); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--dot, var(--brand));
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.h-xl { font-size: clamp(46px, 7.6vw, 112px); line-height: .94; letter-spacing: -.035em; font-weight: 520; }
.h-lg { font-size: clamp(36px, 5vw, 70px); line-height: 1; letter-spacing: -.03em; }
.h-md { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.08; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--ink-2); max-width: 58ch; }
.mono { font-family: var(--f-mono); }
.muted { color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--navy); --bi: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--b); color: var(--bi); text-decoration: none; cursor: pointer;
  font: 600 16px/1 var(--f-body); letter-spacing: -.005em;
  transition: transform .35s var(--spring), box-shadow .3s var(--ease), background .3s;
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 10px 24px -12px color-mix(in srgb, var(--b) 80%, transparent);
}
:root[data-theme="dark"] .btn:not(.btn--ghost):not(.btn--fire) { --b: #e9f0f5; --bi: #0c2238; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn:not(.btn--ghost):not(.btn--fire) { --b: #e9f0f5; --bi: #0c2238; } }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--spring); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --b: transparent; --bi: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--fire { --b: var(--fire); --bi: #fff; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.on-night .btn--ghost, .section--night .btn--ghost { --bi: var(--on-night); box-shadow: inset 0 0 0 1.5px rgba(234,241,246,.3); }
.section--night .btn:not(.btn--ghost):not(.btn--fire) { --b: #e9f0f5; --bi: #0c2238; }

/* Store badges, drawn so they theme with the page */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 20px 0 16px;
  border-radius: 14px; background: #0d2a45; color: #fff; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 12px 30px -14px rgba(0,0,0,.6);
  transition: transform .35s var(--spring), box-shadow .3s;
}
.store:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), 0 18px 34px -14px rgba(0,0,0,.7); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.05; font: 600 19px/1.05 var(--f-body); letter-spacing: -.01em; }
.store small { font: 500 10.5px/1.2 var(--f-body); letter-spacing: .04em; opacity: .8; text-transform: uppercase; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 90;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.brand svg { width: 30px; height: 36px; filter: drop-shadow(0 4px 8px rgba(18,72,107,.25)); transition: transform .5s var(--spring); }
.brand:hover svg { transform: rotate(-6deg) scale(1.06); }
.brand span { font: 600 21px/1 var(--f-display); letter-spacing: -.02em; }
.brand span b { font-weight: 600; color: var(--brand); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font: 500 15px/1 var(--f-body); color: var(--ink-2); white-space: nowrap; transition: color .2s, background .2s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); background: var(--line); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__menu { display: none; }

/* Theme switch: a three-way segmented control */
.theme {
  position: relative; display: inline-grid; grid-template-columns: repeat(3, 32px); height: 36px; padding: 2px;
  border-radius: 999px; background: var(--line); border: 0;
}
.theme button {
  position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 50%; background: none; color: var(--ink-3); cursor: pointer; transition: color .25s;
}
.theme button[aria-pressed="true"] { color: var(--ink); }
.theme button svg { width: 16px; height: 16px; }
.theme__pill {
  position: absolute; top: 2px; left: 2px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.18);
  transition: transform .45s var(--spring);
}
.theme[data-mode="auto"] .theme__pill { transform: translateX(32px); }
.theme[data-mode="dark"] .theme__pill { transform: translateX(64px); }

@media (max-width: 1120px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__menu {
    display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: var(--line); color: var(--ink); cursor: pointer;
  }
  .nav__menu span, .nav__menu span::before, .nav__menu span::after {
    display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative;
    transition: transform .35s var(--ease), background .2s;
  }
  .nav__menu span::before, .nav__menu span::after { content: ""; position: absolute; left: 0; }
  .nav__menu span::before { top: -6px; } .nav__menu span::after { top: 6px; }
  .nav.is-open .nav__menu span { background: transparent; }
  .nav.is-open .nav__menu span::before { transform: translateY(6px) rotate(45deg); }
  .nav.is-open .nav__menu span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav.is-open { background: var(--bg); }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 2px; position: fixed; inset: 76px 0 auto 0; margin: 0;
    padding: 12px var(--gutter) 28px; background: var(--bg); box-shadow: 0 24px 40px -20px rgba(0,0,0,.35);
    animation: drop .35s var(--ease);
  }
  .nav.is-open .nav__links > a { font: 500 26px/1.2 var(--f-display); padding: 12px 6px; border-radius: 0; background: none; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav.is-open .nav__links .nav__store { display: block; }
}
.nav__store { display: none; margin-top: 18px; }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--night { background: var(--night); color: var(--on-night); }
.section--night .lede { color: var(--on-night-2); }
.section--night .eyebrow { --dot: #ffb27a; }
.section--night h1 em, .section--night h2 em { color: #ffb27a; }
.section--paper { background: var(--bg-2); }
.head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.head .h-lg, .head .h-md { margin: 18px 0 18px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .lede { margin-left: auto; margin-right: auto; }

/* Blueprint grid backdrop */
.grid-bg {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ---------- Reveal on scroll ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-x { opacity: 0; transform: translateX(-24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv-x.is-in { opacity: 1; transform: none; }
.js .split .w { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(2deg); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0s)); }
.js .split.is-in .w { opacity: 1; transform: none; }

/* ---------- Device frames ----------
   Screens are pre-composited into a real iPhone frame (tools/frame_screens.sh),
   so a device is just an image with a shadow. Screens drawn in HTML sit on top
   of the empty frame in .device__screen, which matches its opening exactly. */
.device { position: relative; width: 100%; aspect-ratio: 626 / 1280; }
.device > img, .device__live > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.device::before { /* contact shadow, kept off the transparent corners */
  content: ""; position: absolute; z-index: -1; inset: 3% 6% 1%; border-radius: 16% / 7.5%;
  box-shadow: 0 50px 70px -30px rgba(12,29,43,.45), 0 22px 30px -18px rgba(12,29,43,.35);
}
.section--night .device::before, .on-night .device::before { box-shadow: 0 50px 80px -30px rgba(0,0,0,.85), 0 20px 30px -16px rgba(0,0,0,.6); }
.device__live { position: absolute; inset: 0; }
.device__screen {
  position: absolute; left: 5.43%; top: 2.5%; width: 89.3%; height: 95%;
  border-radius: 13.6% / 6.25%; overflow: hidden;
}
.device__screen::before { /* Dynamic Island */
  content: ""; position: absolute; z-index: 5; left: 35.6%; top: 1.45%; width: 28.8%; height: 3.6%; border-radius: 999px; background: #000;
}
.device--stack > img, .device--stack > .device__live { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.device--stack > .is-on { opacity: 1; }

/* ---------- Cards / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 999px;
  font: 500 14px/1 var(--f-body); text-decoration: none; color: var(--ink-2); background: transparent;
  border: 1px solid var(--line-2); cursor: pointer; transition: all .25s var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--ink-3); }
.chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--brand)); }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }
.post {
  display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .5s var(--spring), box-shadow .4s var(--ease);
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.post__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .post__img img { transform: scale(1.06); }
.post__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__meta { font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fire); }
.post h3 { font-size: 26px; line-height: 1.12; }
.post p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.post__date { margin-top: auto; padding-top: 8px; font: 400 13px/1 var(--f-mono); color: var(--ink-3); }

/* ---------- Page head (inner pages) ---------- */
.page-head { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); position: relative; }
.page-head .lede { margin-top: 22px; }

/* ---------- Prose ---------- */
.prose { max-width: 70ch; font-size: 19px; line-height: 1.72; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin: 1.8em 0 .5em; color: var(--ink); }
.prose h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 1.6em 0 .4em; color: var(--ink); }
.prose h4 { font: 600 19px/1.3 var(--f-body); margin: 1.4em 0 .4em; color: var(--ink); letter-spacing: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose li { margin: .35em 0; }
.prose a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--fire); font: italic 400 1.2em/1.5 var(--f-display); color: var(--ink); }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--r); width: 100%; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.prose hr { border: 0; height: 1px; background: var(--line-2); margin: 2.4em 0; }
.prose .note { padding: 18px 22px; border-radius: var(--r); background: var(--gas-soft); color: var(--ink); font-size: 17px; border: 1px solid color-mix(in srgb, var(--gas) 30%, transparent); }
.prose .note strong { color: inherit; }
.paper { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 64px); box-shadow: var(--shadow); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 46px; animation: marquee 48s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 46px; font: 400 clamp(22px, 2.6vw, 34px)/1 var(--f-display); letter-spacing: -.01em; white-space: nowrap; color: var(--ink-2); }
.marquee__track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--brand)); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA ---------- */
.cta { overflow: hidden; }
.cta__in { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.cta h2 { font-size: clamp(42px, 6vw, 84px); line-height: .98; letter-spacing: -.03em; margin: 18px 0 22px; }
.cta__glow { position: absolute; inset: auto -20% -60% auto; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(242,81,27,.35), transparent 70%); pointer-events: none; filter: blur(10px); animation: breathe 9s ease-in-out infinite; }
.cta__glow--b { inset: -50% auto auto -20%; background: radial-gradient(closest-side, rgba(29,143,209,.3), transparent 70%); animation-delay: -4s; }
.cta__phones { position: relative; height: 460px; }
.cta__phones .device { position: absolute; width: 230px; }
.cta__phones .device:nth-child(1) { left: 6%; top: 40px; transform: rotate(-8deg); }
.cta__phones .device:nth-child(2) { left: 38%; top: 0; transform: rotate(5deg); z-index: 1; }
.cta__platforms { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; font: 400 13px/1 var(--f-mono); letter-spacing: .06em; color: var(--on-night-2); text-transform: uppercase; }
.cta__platforms span::before { content: "● "; color: var(--ok); }
@keyframes breathe { 50% { transform: scale(1.15) translate(-30px, 20px); opacity: .7; } }
@media (max-width: 900px) { .cta__in { grid-template-columns: 1fr; } .cta__phones { height: 360px; } .cta__phones .device { width: 170px; } }

/* ---------- Footer ---------- */
.footer { background: #0a2038; color: var(--on-night-2); padding: 80px 0 40px; font-size: 15px; border-top: 1px solid rgba(255,255,255,.06); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer .brand { color: var(--on-night); }
.footer .brand span b { color: #7cc4ec; }
.footer__tag { margin: 18px 0 0; max-width: 34ch; line-height: 1.6; }
.footer h4 { font: 500 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--on-night); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__base { margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; }
.footer__ft { display: inline-flex; align-items: center; gap: 10px; }
.footer__ft img { width: 26px; height: 26px; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .js .rv, .js .rv-x, .js .split .w { opacity: 1; transform: none; }
}
