/*
 * privacy.vestra.lol and legal.vestra.lol
 * Same family as vestracorp.com: black, hairlines, one cobalt signal, the horizon.
 * Display: Inter Display Bold (Latin subset). Text: Inter variable. Data: system mono.
 * Both fonts are SIL OFL 1.1; licences in ../fonts/OFL.txt and ../fonts/OFL-Inter.txt.
 */

@font-face {
  font-family: "Vestra Display";
  src: url("../fonts/InterDisplay-Bold-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Vestra Text";
  src: url("../fonts/Inter-latin-var.woff2") format("woff2-variations"),
       url("../fonts/Inter-latin-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --bg: #000;
  --bg-2: #07080a;
  --surface: #0d0f13;
  --surface-2: #14171c;
  --ink: #f2f4f7;
  --ink-2: #b9c0ca;
  --muted: #8c95a2;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.17);
  --accent: #2563eb;          /* fills: white text on it is 5.2:1 */
  --accent-hover: #1d4ed8;
  --signal: #8ab4ff;          /* accent as text on black: 10:1 */
  --glow: 96, 150, 255;

  --font-display: "Vestra Display", "Inter Display", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Vestra Text", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --max: 1360px;
  --gutter: clamp(1rem, 0.4rem + 3vw, 3rem);
  --col-gap: clamp(1rem, 0.5rem + 2vw, 2.5rem);
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));

  --space-s: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  --space-m: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  --space-l: clamp(2.5rem, 2rem + 2vw, 4rem);
  --space-xl: clamp(4.5rem, 3rem + 5vw, 8.5rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  background: var(--bg);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

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

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #000;
  font-weight: 600;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* ---------------------------------------------------------------- Nav */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out);
}

.nav.is-scrolled {
  background: rgba(0, 0, 0, 0.62);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 28px;
  height: auto;
}

.nav-links {
  display: none;
  gap: 2rem;
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.nav-links a {
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.25s var(--ease-out);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-left: auto;
  padding: 0 1.1rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav-cta { margin-left: 0.5rem; }
}

@media (hover: hover) {
  .nav-links a:hover { color: var(--ink); }
  .nav-cta:hover { background: var(--ink); border-color: var(--ink); color: #000; }
}

/* ---------------------------------------------------------- Shared type */

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 1.3rem + 3.8vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

.section {
  position: relative;
  padding-block: var(--space-xl);
}

.section-head {
  display: grid;
  gap: 1.1rem;
  margin-bottom: var(--space-l);
}

.section-note {
  max-width: 34rem;
  color: var(--ink-2);
  text-wrap: pretty;
}

@media (min-width: 960px) {
  .section-head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
    align-items: end;
  }
  .section-head .h2 { grid-column: 1 / span 7; }
  .section-head .section-note { grid-column: 9 / span 4; padding-bottom: 0.4rem; }
  .section-head-wide .h2 { grid-column: 1 / span 8; }
}

/* Word mask used by the hero headline (CSS) and section titles (GSAP). */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.04em 0.14em 0;
  margin-bottom: -0.14em;
}

.w > span {
  display: inline-block;
}

/* Links */
.link-inline {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.link-arrow,
.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 500;
}

.link-arrow .ico,
.link-quiet .ico {
  transition: transform 0.35s var(--ease-out);
}

.link-quiet {
  min-height: 44px;
  color: var(--ink-2);
  transition: color 0.25s var(--ease-out);
}

@media (hover: hover) {
  .link-inline:hover { text-decoration-color: var(--signal); }
  .link-arrow:hover .ico { transform: translateX(4px); }
  .link-quiet:hover { color: var(--ink); }
  .link-quiet:hover .ico { transform: translate(2px, -2px); }
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.btn .ico {
  transition: transform 0.35s var(--ease-out);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--ink);
}

.btn:active {
  filter: brightness(0.92);
}

@media (hover: hover) {
  .btn-primary:hover { background: var(--accent-hover); }
  .btn-primary:hover .ico { transform: translateX(3px); }
  .btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #000; }
  .btn-ghost:hover .ico { transform: translate(2px, -2px); }
}

/* ---------------------------------------------------------------- Hero */

.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(3rem, 1rem + 9vh, 9rem));
  overflow: clip;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-title {
  max-width: 11.5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 1.1rem + 6vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.hero-lede {
  max-width: 35rem;
  margin-top: clamp(1.25rem, 1rem + 1vw, 2rem);
  font-size: clamp(1.06rem, 0.98rem + 0.35vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  margin-top: clamp(1.75rem, 1.4rem + 1.4vw, 2.75rem);
}

.horizon {
  position: relative;
  z-index: 1;
  height: 300px;
  margin-top: 1rem;
  pointer-events: none;
}

@media (min-width: 768px) {
  .horizon {
    height: auto;
    aspect-ratio: 1672 / 611;
    margin-top: -4vw;
  }
}

.horizon-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 0;
  transform-origin: 50% 19%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 58%, transparent 100%);
}

/* Positioned wrapper sits on the arc's apex; GSAP only touches the core inside it. */
.horizon-flare {
  position: absolute;
  left: 50%;
  top: 19%;
  width: min(64vw, 920px);
  aspect-ratio: 3 / 1;
  transform: translate(-50%, -50%);
}

.horizon-flare::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.6), rgba(var(--glow), 0.28) 45%, rgba(var(--glow), 0) 100%);
  mix-blend-mode: screen;
  opacity: var(--flare, 0.3);
  transform: scale(var(--flare-scale, 1));
}

/* Load-in: pure CSS, so nothing waits on JavaScript. */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .w > span {
    animation: word-up 1.15s var(--ease-expo) both;
    animation-delay: calc(0.1s + var(--i, 0) * 0.055s);
  }
  .rise {
    animation: rise 0.95s var(--ease-expo) both;
    animation-delay: var(--d, 0s);
  }
  .horizon {
    animation: dawn 2.2s var(--ease-expo) 0.2s both;
  }
}

@keyframes word-up {
  from { transform: translateY(108%); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
}

@keyframes dawn {
  from { opacity: 0; transform: translateY(9%); }
}

/* ------------------------------------------------------ Legal: tokens */

/* Aliases for the names the policy pages' own inline styles use. */
:root {
  --border: var(--line);
  --foreground: var(--ink);
  --muted-foreground: var(--ink-2);
  --measure: 46rem;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand small {
  margin-left: 0.15rem;
  font-family: var(--font-text);
  font-size: 0.9rem;
  font-weight: 450;
  letter-spacing: 0;
  color: var(--muted);
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
}

/* Reading progress: a hairline of signal along the bottom of the nav. */
.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--signal);
  transform: scaleX(var(--read, 0));
  transform-origin: left;
  pointer-events: none;
}

/* ------------------------------------------------------- Legal: hero */

.hero-section {
  position: relative;
  padding: calc(var(--nav-h) + clamp(3rem, 1.5rem + 7vh, 7rem)) 0 clamp(8rem, 3rem + 13vw, 16rem);
  overflow: clip;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.top-spacer {
  display: none;
}

/* The horizon, low and quiet, under the title. */
.hero-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: clamp(9rem, 3rem + 20vw, 22rem);
  background: url("../img/horizon-1672.webp") 50% 0 / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 55%, transparent 100%);
  opacity: 0.85;
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .hero-bg {
    background-image: url("../img/horizon-960.webp");
    background-size: 200% auto;
  }
}

.hero-title {
  max-width: 16em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.hero-title .text-muted {
  color: var(--muted);
}

.hero-description {
  max-width: 38rem;
  margin-top: clamp(1.25rem, 1rem + 1vw, 2rem);
  font-size: clamp(1.04rem, 0.98rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(1.75rem, 1.4rem + 1.4vw, 2.75rem);
}

.btn-outline {
  border: 1px solid var(--line-2);
  color: var(--ink);
}

.arrow-icon {
  width: 1rem;
  height: 1rem;
  flex: none;
  transition: transform 0.35s var(--ease-out);
}

@media (hover: hover) {
  .btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #000; }
  .btn-primary:hover .arrow-icon { transform: translateX(3px); }
}

@media (prefers-reduced-motion: no-preference) {
  .fade-in,
  .fade-in-delay-200,
  .fade-in-delay-400 {
    animation: rise 0.95s var(--ease-expo) both;
  }
  .fade-in-delay-200 { animation-delay: 0.15s; }
  .fade-in-delay-400 { animation-delay: 0.3s; }
  .hero-bg {
    animation: dawn 2.2s var(--ease-expo) 0.15s both;
  }
}

/* -------------------------------------------------- Legal: document */

.comparison-section {
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-xl);
}

.comparison-section > .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: var(--space-l);
}

@media (min-width: 1080px) {
  .comparison-section > .container {
    grid-template-columns: minmax(12rem, 15rem) minmax(0, var(--measure));
    justify-content: start;
  }
  .comparison-section > .container > .toc {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .comparison-section > .container > :not(.toc) {
    grid-column: 2;
  }
}

@media (min-width: 1280px) {
  .comparison-section > .container {
    grid-template-columns: minmax(12rem, 1fr) minmax(0, var(--measure)) minmax(0, 0.35fr);
  }
}

.section-header {
  display: grid;
  gap: 0.6rem;
  padding-bottom: var(--space-m);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-subtitle {
  max-width: 38rem;
  color: var(--ink-2);
}

.comparison-grid {
  display: grid;
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

.comparison-card {
  position: relative;
  min-width: 0;
  padding-block: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}

/* The section you are reading gets a short signal rule on its top edge. */
.comparison-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 4.5rem;
  height: 1px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-expo);
}

.comparison-card.is-current::before {
  transform: scaleX(1);
}

.comparison-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.plan-description {
  margin-top: 0.9rem;
  color: var(--ink-2);
  line-height: 1.7;
  text-wrap: pretty;
}

.plan-description strong,
.key-features strong {
  color: var(--ink);
  font-weight: 600;
}

.key-features {
  margin-top: 0.9rem;
}

.key-features h4 {
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.key-features ul {
  display: grid;
  gap: 0.15rem;
  margin-top: 0.5rem;
}

.key-features li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.4rem;
  color: var(--ink-2);
  line-height: 1.65;
  text-wrap: pretty;
}

.key-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 0.6rem;
  height: 1px;
  background: var(--muted);
}

.disclaimer {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

.disclaimer sup,
.hero-description sup {
  font-family: var(--font-mono);
  color: var(--signal);
}

/* Links in the document. */
.comparison-section a,
.hero-description a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
  transition: text-decoration-color 0.25s var(--ease-out);
}

@media (hover: hover) {
  .comparison-section a:hover { text-decoration-color: var(--signal); }
}

.comparison-section .toc a {
  text-decoration: none;
}

/* Sub-processor table: the page's own inline rules set the layout. */
.subprocessor-table {
  font-size: 0.92rem;
}

.subprocessor-table thead th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* -------------------------------------------------------- Legal: TOC */

.toc {
  margin-bottom: var(--space-m);
  min-width: 0;
}

.toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 1rem;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  cursor: pointer;
  list-style: none;
}

.toc summary::-webkit-details-marker {
  display: none;
}

.toc summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.35s var(--ease-out);
}

.toc[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.toc ol {
  position: relative;
  display: grid;
  margin-top: 0.75rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.toc-marker {
  position: absolute;
  left: -1px;
  top: 0;
  width: 1px;
  height: 0;
  background: var(--signal);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.toc-marker.is-on {
  opacity: 1;
}

.toc li a {
  display: block;
  padding-block: 0.42rem;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--muted);
  transition: color 0.25s var(--ease-out);
}

.toc li a[aria-current="true"] {
  color: var(--ink);
}

@media (hover: hover) {
  .toc li a:hover { color: var(--ink); }
}

@media (min-width: 1080px) {
  .toc {
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
    align-self: start;
    max-height: calc(100vh - var(--nav-h) - 4rem);
    margin-bottom: 0;
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .toc summary {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--signal);
    cursor: default;
    pointer-events: none;
  }
  .toc summary::after {
    display: none;
  }
}

/* ----------------------------------------------------- Legal: footer */

.footer-bar .codename {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------ Legal: print */

@media print {
  :root {
    --bg: #fff;
    --ink: #000;
    --ink-2: #222;
    --muted: #444;
    --line: #ccc;
    --line-2: #999;
    --signal: #000;
  }
  html,
  body {
    background: #fff;
    color: #000;
  }
  .nav,
  .toc,
  .hero-bg,
  .hero-buttons,
  .footer,
  .skip-link,
  #vestra-consent {
    display: none !important;
  }
  .hero-section {
    padding: 0 0 1.5rem;
  }
  .comparison-section > .container {
    display: block;
  }
  .comparison-card {
    break-inside: avoid-page;
  }
  .comparison-card::before {
    display: none;
  }
}

.nav-cta {
  white-space: nowrap;
}

@media (max-width: 400px) {
  .brand small { display: none; }
}
/* -------------------------------------------------------------- Footer */

.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4rem, 3rem + 6vw, 9rem);
}

/* The horizon again, setting this time: a vast circle whose top edge catches the light. */
.footer-horizon {
  position: absolute;
  top: clamp(2rem, 1rem + 4vw, 5rem);
  left: 50%;
  width: 240vw;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  border-top: 1.5px solid rgba(175, 205, 255, 0.95);
  box-shadow:
    inset 0 10px 22px -12px rgba(var(--glow), 0.9),
    inset 0 40px 90px -40px rgba(var(--glow), 0.4);
  -webkit-mask-image: linear-gradient(90deg, transparent 26%, #000 42%, #000 58%, transparent 74%);
  mask-image: linear-gradient(90deg, transparent 26%, #000 42%, #000 58%, transparent 74%);
  opacity: var(--set, 0.8);
  pointer-events: none;
}

.footer .wrap {
  position: relative;
}

.footer-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 1rem + 22vw, 22rem);
  line-height: 0.82;
  letter-spacing: -0.065em;
  color: #1a1e25;
  user-select: none;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: clamp(1.5rem, 1rem + 2vw, 3rem);
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.footer-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  transition: color 0.25s var(--ease-out);
}

@media (hover: hover) {
  .footer-bar a:hover { color: var(--ink); }
}

/* ------------------------------------------------------ Reduced motion */

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