/* Plum Comet Labs: deep space, a comet that follows the pointer, glass cards that tilt and glow.
   Unbounded for headings, Space Grotesk for text (both OFL, served from this site). */

@font-face {
  font-family: "Unbounded";
  src: url("/assets/fonts/unbounded.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #07060d;
  --text: #f4f1fb;
  --muted: #a8a0bd;
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.045);
  --pink: #ff7eb3;
  --gold: #ffd29a;
  --plum: #c06bff;
  --sky: #7aa7ff;
  --grad: linear-gradient(100deg, #ffd29a 0%, #ff7eb3 30%, #c06bff 60%, #7aa7ff 80%, #ffd29a 100%);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: clamp(16px, 5vw, 64px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--pink); color: #12081f; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.mt { margin-top: 24px; }

/* Header: transparent over the sky, glass once you scroll. */

.head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
}
.head.is-scrolled {
  background: rgba(7, 6, 13, 0.62);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; flex: none; filter: drop-shadow(0 0 10px rgba(255, 126, 179, 0.35)); }
.brand span { font-family: "Unbounded", sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 0.01em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(2px, 1.5vw, 14px); font-size: 15px; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; transition: color 0.2s, background 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { background: var(--glass); }
.nav .nav-cta { color: var(--text); border: 1px solid var(--line); background: var(--glass); }
.nav .nav-cta:hover { background: rgba(255, 255, 255, 0.1); }
@media (max-width: 600px) {
  .brand span { font-size: 13px; }
  .nav a { padding: 8px 10px; }
}
@media (max-width: 360px) {
  .nav a:first-child { display: none; }
}

/* Hero: the sky. Home and 404 fill the screen; other pages get a shorter band. */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px var(--gutter) 110px;
  overflow: hidden;
  touch-action: pan-y;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(38% 34% at 72% 30%, rgba(160, 80, 230, 0.32), transparent 70%),
    radial-gradient(34% 30% at 18% 72%, rgba(255, 95, 162, 0.16), transparent 70%),
    radial-gradient(50% 40% at 50% 115%, rgba(106, 168, 255, 0.2), transparent 70%);
  animation: drift 26s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.hero-page { min-height: 62vh; min-height: 62svh; place-items: end start; padding-bottom: clamp(48px, 8vh, 80px); }
.hero-short { min-height: 44vh; min-height: 44svh; }
@keyframes drift { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }
.sky { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-inner { width: 100%; max-width: 1120px; pointer-events: none; }
.hero-page .hero-inner { max-width: 1240px; margin: 0 auto; }
.hero-short .hero-inner { max-width: 760px; }
.hero-inner a, .hero-inner p, .hero-inner h1 { pointer-events: auto; }
.hero-center { text-align: center; }
.hero-center .hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-center .lead { margin-inline: auto; }
.hero-center .headline { max-width: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--muted);
  font-size: 14px;
  animation: fade 0.8s var(--ease) both;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 126, 179, 0.7); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(255, 126, 179, 0); }
}

.headline {
  margin: 0 0 28px;
  max-width: 11.5ch;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 8.4vw, 7.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero-page .headline { max-width: none; font-size: clamp(2.4rem, 7vw, 5.6rem); }
.hero-short .headline { font-size: clamp(2rem, 5.6vw, 4.2rem); }
.headline .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em) rotate(3deg);
  filter: blur(10px);
  animation: rise 1s var(--ease) forwards;
}
.headline .w:nth-child(2) { animation-delay: 0.08s; }
.headline .w:nth-child(3) { animation-delay: 0.16s; }
.headline .w:nth-child(4) { animation-delay: 0.24s; }
.headline .w:nth-child(5) { animation-delay: 0.32s; }
.headline .hl, .grad-text {
  padding-bottom: 0.06em;
  background: var(--grad);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.headline .hl { animation: rise 1s var(--ease) forwards, shimmer 8s linear infinite; }
.headline .hl:nth-child(1) { animation-delay: 0s, 0s; }
.headline .hl:nth-child(2) { animation-delay: 0.08s, 0s; }
.headline .hl:nth-child(3) { animation-delay: 0.16s, 0s; }
.headline .hl:nth-child(4) { animation-delay: 0.24s, 0s; }
.headline .hl:nth-child(5) { animation-delay: 0.32s, 0s; }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
@keyframes shimmer { to { background-position: 250% 0; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }

.lead { max-width: 44ch; margin: 0 0 34px; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.hero .lead { animation: fade 1s 0.5s var(--ease) both; }
.hero-page .lead { margin-bottom: 0; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; animation: fade 1s 0.65s var(--ease) both; }
.hero-page .cta { margin-top: 30px; }
.hero-center .cta { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn-glow {
  color: #14091f;
  background: var(--grad);
  background-size: 200% 100%;
  box-shadow: 0 12px 40px -12px rgba(255, 126, 179, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-glow:hover { background-position: 100% 0; box-shadow: 0 16px 56px -10px rgba(255, 126, 179, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn-ghost { border: 1px solid var(--line); background: var(--glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.08); }

.hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  margin: 0;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  opacity: 0.7;
  pointer-events: none;
  animation: fade 1s 1.4s var(--ease) both;
}
.hint-touch { display: none; }
@media (pointer: coarse) {
  .hint-fine { display: none; }
  .hint-touch { display: inline; }
}

/* Sections */

.section { max-width: 1240px; margin: 0 auto; padding: clamp(80px, 12vw, 150px) var(--gutter) 0; }
.hero-page + .section { padding-top: clamp(32px, 5vw, 56px); }
.section-tight { padding-top: clamp(56px, 8vw, 96px); }
.kicker { margin: 0 0 16px; color: var(--pink); font-family: "Unbounded", sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
h2 { margin: 0 0 48px; max-width: 18ch; font-family: "Unbounded", sans-serif; font-weight: 600; font-size: clamp(1.9rem, 4.6vw, 3.5rem); line-height: 1.08; letter-spacing: -0.035em; }
.section-tight h2 { margin-bottom: 32px; font-size: clamp(1.6rem, 3.6vw, 2.6rem); }
h3 { margin: 0 0 10px; font-family: "Unbounded", sans-serif; font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; }

/* Glass cards that tilt toward the pointer and light up under it. */

.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); perspective: 1400px; }
.card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3.5vw, 36px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  transition: transform 0.5s var(--ease), border-color 0.3s;
  transform-style: preserve-3d;
}
.card::before, .card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.card::before { background: radial-gradient(460px circle at var(--mx) var(--my), rgba(255, 126, 179, 0.16), transparent 45%); }
.card::after {
  padding: 1px;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 210, 154, 0.95), rgba(192, 107, 255, 0.5) 30%, transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.card:hover::before, .card:hover::after, .card.is-lit::before, .card.is-lit::after { opacity: 1; }
.card.is-moving { transition: border-color 0.3s; }
.card > * { position: relative; z-index: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.card-icon { width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px rgba(192, 107, 255, 0.7); transition: transform 0.5s var(--ease); }
.card h2, .card h3 { margin: 0; max-width: none; font-size: clamp(1.6rem, 3vw, 2.1rem); transition: transform 0.5s var(--ease); }
.card.is-moving .card-icon { transform: translateZ(40px); }
.card.is-moving h2, .card.is-moving h3 { transform: translateZ(24px); }
.card p { margin: 0; color: var(--muted); }
.card .list { color: var(--muted); }
.card .cta { margin-top: auto; padding-top: 10px; animation: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); font-size: 13px; }
.tag i { width: 7px; height: 7px; border-radius: 50%; }
.tag-test i { background: #ffd400; box-shadow: 0 0 10px #ffd400; }
.tag-live i { background: #3fe0a5; box-shadow: 0 0 10px #3fe0a5; animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.card-link { display: inline-flex; gap: 8px; margin-top: auto; padding-top: 10px; font-weight: 600; text-decoration: none; }
.card-link span { transition: transform 0.3s var(--ease); }
.card-link:hover span { transform: translate(4px, 0); }

/* Home: zeros and principles */

.zeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 56px; }
.zero { display: flex; flex-direction: column; align-items: flex-start; padding: 22px 0 0; border-top: 1px solid var(--line); }
.zero b {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: clamp(4rem, 13vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.zero span { color: var(--muted); font-size: clamp(0.95rem, 2vw, 1.2rem); }
.principles { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.principles-5 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.principle { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--glass); }
.principle p { margin: 0; color: var(--muted); }

.outro { display: flex; flex-direction: column; align-items: center; text-align: center; }
.outro h2 { margin-bottom: 18px; max-width: 16ch; }

/* IV Lens page */

.app-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-bottom: 26px; }
.app-hero .headline { margin: 0 0 12px; }
.app-icon { width: clamp(88px, 12vw, 128px); height: auto; border-radius: 28%; box-shadow: 0 0 0 1px var(--line), 0 24px 60px -18px rgba(192, 107, 255, 0.85); animation: fade 1s var(--ease) both, float 7s 1s ease-in-out infinite alternate; }
@keyframes float { to { transform: translateY(-8px) rotate(-3deg); } }
.app-hero .tags { justify-content: flex-start; animation: fade 1s 0.3s var(--ease) both; }

.note {
  max-width: 720px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 210, 154, 0.35);
  border-radius: 18px;
  background: linear-gradient(100deg, rgba(255, 210, 154, 0.1), rgba(255, 126, 179, 0.06));
}
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.hero .note { margin-top: 26px; animation: fade 1s 0.6s var(--ease) both; }
.note-plain { max-width: none; border-color: var(--line); background: var(--glass); }

.verdicts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.verdict {
  --c: #ffd400;
  position: relative;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--c) 18%, transparent), transparent 60%), var(--glass);
  overflow: hidden;
}
.verdict::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); box-shadow: 0 0 18px var(--c); }
.verdict b { display: block; margin-bottom: 6px; color: var(--c); font-family: "Unbounded", sans-serif; font-weight: 700; font-size: 1.25rem; letter-spacing: 0.02em; }
.verdict span { color: var(--muted); font-size: 0.95rem; }
.v-hundo { --c: #ffd400; }
.v-pvp { --c: #6d8bff; }
.v-raids { --c: #ff8a2a; }
.v-keep { --c: #19d3b8; }
.v-transfer { --c: #ff5f5f; }

/* Feature cards with a gradient icon, and the row of settings under them. */

.cards-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 6px;
  border-radius: 16px;
  background: var(--grad);
  background-size: 250% 100%;
  color: #14091f;
  box-shadow: 0 14px 30px -14px rgba(255, 126, 179, 0.8);
  transition: transform 0.5s var(--ease);
}
.feature-icon svg { width: 28px; height: 28px; }
.card.is-moving .feature-icon { transform: translateZ(40px); }
.settings { margin-top: 28px; }
.settings p { margin-bottom: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pills li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); font-size: 0.92rem; }

/* Screenshot gallery: phone-shaped frames in a strip that scrolls sideways (drag it with the mouse,
   swipe it on a phone); a shot opens full size in a lightbox. */

.gallery-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0 16px; }
.gallery-nav { display: flex; gap: 10px; margin-bottom: 36px; }
.gallery-nav button, .lb-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--glass);
  color: var(--text);
  font: inherit;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}
.gallery-nav button:hover, .lb-btn:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.1); }
.gallery-nav button:disabled { opacity: 0.3; cursor: default; }
@media (pointer: coarse) { .gallery-nav { display: none; } }
.gallery {
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  margin: 0 calc(-1 * var(--gutter));
  padding: 12px var(--gutter) 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.gallery.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.shot { flex: 0 0 clamp(190px, 23vw, 260px); margin: 0; scroll-snap-align: start; }
.shot a {
  display: block;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 60px -32px rgba(192, 107, 255, 0.6);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.shot a:hover { transform: translateY(-6px); border-color: rgba(255, 210, 154, 0.5); box-shadow: 0 40px 70px -28px rgba(255, 126, 179, 0.65); }
.shot img { width: 100%; height: auto; aspect-ratio: 1080 / 2108; border-radius: 23px; background: #120f1c; user-select: none; -webkit-user-drag: none; }
.shot figcaption { margin-top: 12px; padding: 0 6px; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.shot figcaption b { display: block; margin-bottom: 2px; color: var(--text); font-family: "Unbounded", sans-serif; font-weight: 600; font-size: 0.95rem; }

.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 16px; border: 0; background: transparent; color: var(--text); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(5, 4, 10, 0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0; }
.lightbox img { width: auto; max-width: min(100%, 520px); max-height: calc(100vh - 150px); max-height: calc(100svh - 150px); border-radius: 26px; box-shadow: 0 0 0 1px var(--line), 0 40px 120px -30px rgba(192, 107, 255, 0.75); animation: pop 0.35s var(--ease); }
.lightbox figcaption { max-width: 40ch; color: var(--muted); text-align: center; }
.lightbox figcaption b { display: block; color: var(--text); font-family: "Unbounded", sans-serif; font-weight: 600; }
@keyframes pop { from { opacity: 0; transform: scale(0.96); } }
.lb-btn { position: fixed; background: rgba(20, 16, 30, 0.7); }
.lb-close { top: 16px; right: 16px; font-size: 24px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: max(16px, calc(50% - 360px)); }
.lb-next { right: max(16px, calc(50% - 360px)); }
@media (max-width: 600px) {
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
  .lightbox img { max-height: calc(100svh - 190px); }
}

.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--glass); color: var(--muted); }
.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 14px;
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.05em;
  background: var(--grad);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.list { margin: 0; padding: 0; list-style: none; }
.list li { position: relative; margin-bottom: 0.6em; padding-left: 22px; }
.list li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); background-size: 300% 100%; box-shadow: 0 0 10px rgba(255, 126, 179, 0.6); }
.list b { color: var(--text); }
.text-link { color: var(--text); font-weight: 600; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Long text: the privacy policy */

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  color: #d9d3e6;
}
.prose h2 { margin: 1.8em 0 0.6em; max-width: none; font-size: clamp(1.2rem, 2.4vw, 1.5rem); color: var(--text); }
.prose ul { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin-bottom: 0.6em; }
.prose li::marker { color: var(--pink); }
.prose b { color: var(--text); }
.prose a { color: var(--text); text-decoration-color: var(--pink); text-underline-offset: 3px; }
.prose .note { margin: 0 0 0.6em; }

/* Footer */

.foot { margin-top: clamp(90px, 14vw, 170px); padding: 0 var(--gutter) 36px; overflow: hidden; }
.foot-mark {
  margin: 0 0 24px;
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 8.6vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.01));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-row p { margin: 0; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-row a { text-decoration: none; }
.foot-row a:hover { color: var(--text); }

/* Scroll reveal (only when the script runs, so nothing stays hidden without it). */

.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .cards .reveal:nth-child(2), .js .principles .reveal:nth-child(2) { transition-delay: 0.1s; }
.js .principles .reveal:nth-child(3) { transition-delay: 0.2s; }
.js .principles .reveal:nth-child(4) { transition-delay: 0.3s; }
.js .principles .reveal:nth-child(5) { transition-delay: 0.4s; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .zeros { gap: 10px; }
  .card-top { align-items: flex-start; }
}

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