:root {
  --bg: #050507;
  --text: #f3f1ec;
  --mute: #8a8984;
  --dim: #5c5b57;
  --line: rgba(243, 241, 236, 0.1);
  --glow: #b6f5ce;
  --gold: #e4c38a;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 4.5vw, 48px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.fx {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.fx > * {
  position: absolute;
}

.aura {
  inset: -20%;
  background:
    radial-gradient(ellipse 70% 45% at 50% 8%, rgba(182, 245, 206, 0.22), transparent 58%),
    radial-gradient(ellipse 45% 35% at 86% 6%, rgba(228, 195, 138, 0.16), transparent 52%),
    radial-gradient(ellipse 40% 30% at 12% 18%, rgba(182, 245, 206, 0.08), transparent 55%);
  animation: aura-breathe 18s ease-in-out infinite alternate;
}

.orb {
  border-radius: 50%;
  filter: blur(48px);
  mix-blend-mode: screen;
}

.orb.mint {
  width: min(78vw, 920px);
  height: min(52vh, 560px);
  top: -18%;
  left: 12%;
  background: radial-gradient(circle, rgba(182, 245, 206, 0.32), transparent 64%);
  animation: orb-a 26s ease-in-out infinite;
}

.orb.gold {
  width: min(52vw, 640px);
  height: min(42vh, 480px);
  top: -8%;
  right: -12%;
  background: radial-gradient(circle, rgba(228, 195, 138, 0.28), transparent 62%);
  animation: orb-b 32s ease-in-out infinite;
}

.orb.low {
  width: min(48vw, 520px);
  height: min(36vh, 400px);
  bottom: 4%;
  left: -8%;
  background: radial-gradient(circle, rgba(182, 245, 206, 0.1), transparent 68%);
  animation: orb-c 38s ease-in-out infinite;
}

.halo {
  top: 4%;
  left: 50%;
  width: min(90vw, 980px);
  height: min(90vw, 980px);
  translate: -50% -18%;
  background: conic-gradient(
    from 180deg,
    transparent 0deg,
    rgba(182, 245, 206, 0.07) 40deg,
    transparent 90deg,
    rgba(228, 195, 138, 0.08) 180deg,
    transparent 230deg,
    rgba(182, 245, 206, 0.05) 300deg,
    transparent 360deg
  );
  filter: blur(28px);
  animation: halo-spin 48s linear infinite;
}

.flare {
  top: 11%;
  left: -30%;
  width: 160%;
  height: 140px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(182, 245, 206, 0) 28%,
    rgba(255, 255, 255, 0.14) 48%,
    rgba(228, 195, 138, 0.22) 52%,
    rgba(182, 245, 206, 0.08) 62%,
    transparent 78%
  );
  filter: blur(22px);
  mix-blend-mode: screen;
  transform: rotate(-14deg);
  animation: flare-drift 16s ease-in-out infinite alternate;
}

.flare.thin {
  top: 18%;
  height: 2px;
  filter: blur(1.5px);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    rgba(182, 245, 206, 0.55),
    rgba(255, 255, 255, 0.7),
    rgba(228, 195, 138, 0.5),
    rgba(255, 255, 255, 0.08),
    transparent
  );
  box-shadow:
    0 0 24px 2px rgba(182, 245, 206, 0.25),
    0 0 60px 8px rgba(228, 195, 138, 0.12);
  animation: flare-sweep 11s ease-in-out infinite;
}

.veil {
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, transparent 30%, rgba(5, 5, 7, 0.35) 100%),
    linear-gradient(180deg, transparent 40%, rgba(5, 5, 7, 0.55) 100%);
}

.grid {
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(to right, rgba(243, 241, 236, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(243, 241, 236, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 8%, #000 10%, transparent 72%);
  animation: grid-shift 28s linear infinite;
}

.grain {
  inset: 0;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grain 0.8s steps(4) infinite;
}

.spark {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 2px rgba(182, 245, 206, 0.7);
  animation: twinkle 5.5s ease-in-out infinite;
}

.spark.s1 { top: 16%; left: 18%; animation-delay: 0s; }
.spark.s2 { top: 22%; left: 72%; width: 2px; height: 2px; animation-delay: 1.4s; }
.spark.s3 { top: 38%; left: 8%; animation-delay: 2.2s; }
.spark.s4 { top: 12%; left: 54%; width: 2px; height: 2px; animation-delay: 3.1s; }
.spark.s5 { top: 28%; left: 88%; animation-delay: 4s; }

body > *:not(.fx) {
  position: relative;
  z-index: 1;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 var(--pad);
  background: rgba(5, 5, 7, 0.55);
  backdrop-filter: blur(22px);
}

.mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.logo {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--glow);
  animation: pulse 3s var(--ease) infinite;
}

.nav-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.btn-quiet,
.btn-fill {
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.btn-quiet {
  background: none;
  border: 1px solid var(--line);
  padding: 8px 14px;
  color: var(--mute);
}

.btn-quiet:hover {
  color: var(--text);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  color: var(--gold);
  cursor: pointer;
}

.btn-icon svg {
  width: 16px;
  height: 16px;
}

.btn-icon:hover {
  color: var(--text);
  border-color: rgba(182, 245, 206, 0.28);
}

.hero,
.stage,
.strip,
.words,
.facts,
.catalog,
.faq,
.close,
.recipe,
footer {
  width: min(980px, calc(100% - var(--pad) * 2));
  margin: 0 auto;
}

.hero {
  padding: clamp(64px, 14vh, 140px) 0 36px;
  text-align: center;
}

.lede {
  margin: 22px auto 0;
  max-width: 34em;
  color: var(--mute);
  font-size: clamp(16px, 2.1vw, 20px);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(64px, 13vw, 140px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--glow), #fff 42%, var(--gold) 72%, var(--glow));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 8s var(--ease) infinite;
}

.browser {
  padding: 0 18px 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(28, 28, 32, 0.9), rgba(10, 10, 12, 0.94));
  border: 1px solid rgba(243, 241, 236, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 80px 160px -50px rgba(0, 0, 0, 0.95),
    0 0 140px -30px rgba(182, 245, 206, 0.28);
  animation: lift 1.15s var(--ease) both, glow-breathe 7s ease-in-out 1.2s infinite;
}

.browser-bar {
  display: flex;
  align-items: center;
  height: 52px;
}

.dots {
  display: flex;
  gap: 7px;
}

.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(243, 241, 236, 0.16);
}

.url {
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.14em;
}

.cmd {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid var(--line);
}

.cmd:focus-within {
  border-color: rgba(182, 245, 206, 0.35);
  box-shadow: 0 0 0 4px rgba(182, 245, 206, 0.08);
}

.kbd {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
}

.cmd input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  padding: 14px 0;
  font-family: var(--mono);
  font-size: 15px;
}

.cmd input::placeholder {
  color: var(--dim);
}

.cmd button {
  border: 0;
  border-radius: 12px;
  padding: 11px 16px;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.chips {
  display: flex;
  gap: 8px;
  margin: 14px 0 12px;
}

.chips button {
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  cursor: pointer;
}

.chips button:hover {
  color: var(--text);
}

.hits-meta {
  margin: 0 0 10px;
  min-height: 1em;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
}

.rows {
  border-radius: 16px;
  overflow: hidden;
}

.row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 15px 16px;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  opacity: 0;
  animation: rise 0.55s var(--ease) forwards;
}

.row:first-child {
  border-top: 0;
}

.row:hover {
  background: rgba(243, 241, 236, 0.04);
}

.row .title {
  font-size: 15px;
}

.row .cmd-line {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--glow);
  max-width: 32ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row .blast {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--dim);
  text-align: right;
  line-height: 1.35;
  max-width: 16ch;
}

.row.on {
  background: rgba(182, 245, 206, 0.05);
}

.row.empty {
  cursor: default;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 12px;
}

.term {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #000;
  border: 1px solid rgba(182, 245, 206, 0.12);
}

.term-cmd {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
}

.term-src {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.term pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  color: var(--glow);
  white-space: pre-wrap;
}

.chips button.on {
  color: var(--text);
  border-color: rgba(182, 245, 206, 0.35);
}

.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  padding: 72px 0 48px;
  text-align: center;
}

.strip dd {
  margin: 0;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.strip dt {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

.words {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-bottom: 88px;
}

.words p {
  margin: 0;
  padding: 36px 8px;
  text-align: center;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: -0.04em;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(243, 241, 236, 0.025);
}

.facts,
.catalog,
.faq {
  padding-bottom: 72px;
}

#karma {
  scroll-margin-top: 72px;
}

.facts h2,
.catalog h2,
.faq h2,
.recipe .k {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.facts p,
.faq p,
.recipe-note {
  margin: 0 0 16px;
  max-width: 42em;
  color: var(--mute);
  font-size: 16px;
  line-height: 1.55;
}

.facts a,
.catalog a,
.faq a,
.recipe a,
.meta a {
  color: inherit;
}

.facts code {
  font-family: var(--mono);
  font-size: 0.92em;
  color: var(--gold);
}

.keys-cta {
  justify-content: flex-start;
  margin-top: 28px;
}

.facts dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px 28px;
  margin: 28px 0 0;
}

.facts dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.facts dd {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
}

.tiers {
  list-style: none;
  margin: 28px 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.tier-card {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
}

.tier-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.tier-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.tier-min {
  margin: 4px 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.tier-min::before {
  content: "from ";
}

.tier-card p:last-child {
  margin: 0;
  color: var(--mute);
  font-size: 13px;
  line-height: 1.45;
}

.catalog ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.catalog li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.catalog a {
  text-decoration: none;
}

.catalog a:hover,
.facts a:hover,
.recipe a:hover,
.meta a:hover {
  color: var(--glow);
}

.catalog .cmd-line {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--glow);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.faq details p {
  margin: 10px 0 0;
}

.recipe {
  padding: 48px 0 80px;
}

.doc .fx {
  display: none;
}

.recipe h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 0.96;
}

.recipe-cmd,
.recipe-out {
  margin: 20px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #000;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-x: auto;
}

.recipe-cmd {
  color: var(--glow);
}

.recipe-out {
  color: var(--gold);
}

.recipe .meta {
  margin-top: 28px;
}

.recipe-note {
  margin-top: 28px;
}

.close {
  text-align: center;
  padding-bottom: 96px;
}

.snippet {
  display: block;
  position: relative;
  margin: 0 auto 24px;
  width: 100%;
  max-width: 420px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  appearance: none;
}

.snippet:hover,
.snippet:focus-visible {
  border-color: rgba(182, 245, 206, 0.28);
}

.snippet pre {
  margin: 0;
  padding-right: 72px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--mute);
  pointer-events: none;
}

.snippet-hint {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.snippet[data-copied="true"] .snippet-hint {
  color: var(--glow);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

a.btn-quiet {
  display: inline-block;
  text-decoration: none;
}

.btn-fill {
  border: 0;
  padding: 14px 28px;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
}

.btn-fill:hover {
  transform: translateY(-1px);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  padding: 0 0 40px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--dim);
}

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

footer a:hover {
  color: var(--mute);
}

.karma-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gold);
  max-width: 28ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}

.karma-pill .tier-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.karma-pill:hover {
  color: var(--text);
}

#identity {
  width: min(420px, 92vw);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0b0b0e;
  color: var(--text);
}

#identity::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

#identity article {
  padding: 24px;
}

#identity header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

#identity h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

#identity p {
  margin: 0 0 16px;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.45;
}

#identity code {
  font-family: var(--mono);
  font-size: 0.92em;
  color: var(--gold);
}

#nsec-view {
  margin: 0 0 16px;
  padding: 14px;
  border-radius: 12px;
  background: #000;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  color: var(--gold);
  white-space: pre-wrap;
  word-break: break-all;
}

#nsec-in {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #000;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  resize: vertical;
}

#nsec-in:focus {
  outline: none;
  border-color: rgba(182, 245, 206, 0.35);
}

.identity-err {
  color: #e8a0a0 !important;
  font-family: var(--mono);
  font-size: 12px;
}

#nsec-done {
  display: block;
  margin: 16px auto 0;
}

.identity-close {
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  cursor: pointer;
}

#drawer {
  width: min(500px, 92vw);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0b0b0e;
  color: var(--text);
}

#drawer::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

#drawer article {
  padding: 24px;
}

#drawer header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

#drawer h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

#drawer-close {
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  cursor: pointer;
}

#drawer-steps,
#drawer-out {
  margin: 0 0 16px;
  padding: 14px;
  border-radius: 12px;
  background: #000;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--glow);
  white-space: pre-wrap;
}

#drawer-out {
  color: var(--gold);
}

.meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 8px;
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
}

.meta dt {
  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meta dd {
  margin: 4px 0 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}

[data-reveal].in {
  animation: rise 0.9s var(--ease) forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lift {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes aura-breathe {
  from {
    transform: scale(1) translateY(0);
    opacity: 0.85;
  }
  to {
    transform: scale(1.12) translateY(-28px);
    opacity: 1;
  }
}

@keyframes orb-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(6%, 8%) scale(1.08);
  }
}

@keyframes orb-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-10%, 12%) scale(1.12);
  }
}

@keyframes orb-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(14%, -10%);
  }
}

@keyframes halo-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes flare-drift {
  from {
    transform: rotate(-14deg) translateX(-4%);
    opacity: 0.55;
  }
  to {
    transform: rotate(-11deg) translateX(6%);
    opacity: 1;
  }
}

@keyframes flare-sweep {
  0%,
  100% {
    opacity: 0.25;
    transform: rotate(-14deg) translateX(-8%) scaleX(0.85);
  }
  45% {
    opacity: 1;
    transform: rotate(-14deg) translateX(4%) scaleX(1.05);
  }
}

@keyframes grid-shift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 80px 80px;
  }
}

@keyframes grain {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-2%, 1%);
  }
  50% {
    transform: translate(1%, -2%);
  }
  75% {
    transform: translate(-1%, 2%);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(0.6);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes sheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes glow-breathe {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.07),
      0 80px 160px -50px rgba(0, 0, 0, 0.95),
      0 0 120px -36px rgba(182, 245, 206, 0.18);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 80px 160px -50px rgba(0, 0, 0, 0.95),
      0 0 180px -24px rgba(182, 245, 206, 0.38);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(182, 245, 206, 0.4);
  }
  50% {
    box-shadow: 0 0 22px rgba(182, 245, 206, 0.95);
  }
}

@media (max-width: 720px) {
  .words,
  .strip,
  .catalog li {
    grid-template-columns: 1fr;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
  }

  [data-reveal],
  .row,
  .browser {
    opacity: 1;
    transform: none;
  }

  .fx .orb,
  .fx .halo,
  .fx .flare,
  .fx .spark {
    animation: none !important;
    opacity: 0.55;
  }

  .grain {
    animation: none !important;
  }
}
