:root {
  --bg: #050c1c;
  --blue: #6fbaff;
  --ice: #b6e6ff;
  --fg: #edf5ff;
  --muted: #8ca6c0;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress {
  height: 2px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--blue);
}
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 80px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff19;
}
.logo {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.16em;
}
.logo span,
.signal {
  color: var(--blue);
}
.signal,
nav,
.eyebrow,
.footnote,
.corner,
.meta,
.count,
.card-top,
.card-bottom small,
.card-bottom > span,
.cards-footer,
.quote-credit,
.architect small,
.architect a,
footer,
.modal-head,
.modal-foot,
.option,
.feedback {
  font:
    1rem 'DM Mono',
    monospace;
  letter-spacing: 0.1em;
}
nav {
  display: flex;
  gap: 30px;
}
@media (hover: hover) and (pointer: fine) {
  nav a:hover,
  footer a:hover {
    color: var(--blue);
  }
}
.hero {
  height: 100svh;
  min-height: 740px;
  max-height: 1100px;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 55%, #143557, #0a1e37 40%, #050c1c 78%);
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(#a1ccff80 0.8px, transparent 1px);
  background-size: 47px 61px;
  opacity: 0.15;
  transform: rotate(-12deg) scale(1.4);
}
.orb {
  position: absolute;
  width: min(65vw, 740px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #285e92, #0c2d50 36%, #051326 67%, #01050d 80%);
  box-shadow:
    inset -50px -35px 100px #000d,
    0 0 130px #3779bc55,
    0 0 0 1px #8cc9ff3d;
  opacity: 0.7;
  animation: breath 9s ease-in-out infinite;
}
.orb:after,
.orb:before {
  content: '';
  position: absolute;
  inset: -12%;
  border: 1px solid #86c8ff4d;
  border-radius: 50%;
  transform: rotateX(74deg) rotate(-25deg);
}
.orb:after {
  inset: -19%;
  transform: rotateY(70deg) rotate(18deg);
}
.hero-inner {
  z-index: 1;
  padding: 90px 20px 0;
}
.eyebrow {
  color: #a9d5f3;
  margin-bottom: 35px;
}
.hero h1 {
  font-size: clamp(85px, 13vw, 205px);
  letter-spacing: -0.12em;
  line-height: 0.8;
  margin: 0 0 48px;
  font-weight: 600;
}
.hero h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px #d5eaff;
}
.hero sup {
  font-size: 0.5em;
  color: #8bcdff;
}
.hero p {
  max-width: 560px;
  color: #c4d5e5;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
  margin: 0 auto 32px;
}
.primary {
  background: var(--ice);
  color: #061427;
  border: 1px solid var(--ice);
  padding: 21px 25px;
  display: inline-flex;
  gap: 45px;
  font:
    1rem 'DM Mono',
    monospace;
  letter-spacing: 0.1em;
  transition: 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 45px #8ccfff66;
  }
}
.footnote {
  color: #91a9c2;
  font-size: 1rem;
  margin-top: 25px;
}
.corner {
  position: absolute;
  bottom: 38px;
  color: #829eb9;
}
.left {
  left: 5vw;
}
.right {
  right: 5vw;
}
.intro,
.worlds,
.quote,
.architect {
  padding: 115px 7vw;
}
.intro {
  background: #e2ebf2;
  color: #0a2036;
}
.meta {
  color: #5295c3;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8vw;
  align-items: end;
  margin-top: 65px;
}
.intro h2,
.worlds h2 {
  font-size: clamp(49px, 6.8vw, 106px);
  letter-spacing: -0.09em;
  line-height: 0.94;
  margin: 0;
  font-weight: 600;
}
.intro i {
  font-style: normal;
  color: #478ab8;
}
.intro p {
  font-size: 20px;
  line-height: 1.6;
}
.intro p + p {
  color: #5f788d;
}
.intro small {
  display: block;
  border-top: 1px solid #9fb3c2;
  padding-top: 22px;
  margin-top: 35px;
  font:
    1rem 'DM Mono',
    monospace;
  color: #6d8ca1;
}
.worlds {
  background: linear-gradient(155deg, #061124, #0b223b 60%, #061124);
}
.world-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 55px;
}
.worlds h2 {
  margin-top: 30px;
}
.worlds h2 span {
  color: var(--blue);
}
.count {
  color: #9db8ce;
}
.count b {
  font-size: 52px;
  font-weight: 400;
  color: #d0ecff;
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.world {
  height: 550px;
  position: relative;
  overflow: hidden;
  text-align: left;
  color: #fff;
  border: 1px solid #345d7f;
  padding: 27px;
  background: #10283e;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.25s;
}
@media (hover: hover) and (pointer: fine) {
  .world:hover {
    transform: translateY(-5px);
    border-color: #91d3ff;
    box-shadow: 0 20px 70px #0007;
  }
}
.world:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 15%, #06162633 50%, #061426 95%);
}
.brain {
  background: radial-gradient(circle at 50% 40%, #236999, #0a2847 45%, #06172b);
}
.ocean {
  background: radial-gradient(circle at 50% 30%, #598db4, #143b59 30%, #071b30 65%);
}
.pattern {
  background-color: #071b31;
  background-image:
    linear-gradient(#77baff16 1px, transparent 1px),
    linear-gradient(90deg, #77baff16 1px, transparent 1px);
  background-size: 36px 36px;
}
.forest {
  background: linear-gradient(#133d5a, #19445b 45%, #061a2f 70%, #031123);
}
.visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 300px;
  color: #89d0ff4a;
  text-shadow: 0 0 50px #91d0ff55;
  font-weight: 300;
}
.ocean .visual {
  font-size: 180px;
  color: #c5e9ffb0;
  text-shadow: 0 0 90px #bbdeff;
}
.pattern .visual {
  font-size: 260px;
  color: #77bdffb5;
}
.forest .visual {
  font-size: 420px;
  transform: translateY(90px);
  color: #0a2637;
  text-shadow: 0 -30px 65px #6ab9d744;
}
.card-top,
.card-bottom {
  position: relative;
  z-index: 2;
}
.card-top {
  display: flex;
  justify-content: space-between;
  color: #bdd0df;
}
.card-top .status,
.card-bottom small {
  color: #8ed1ff;
}
.card-bottom small {
  display: block;
  margin-bottom: 13px;
}
.card-bottom strong {
  display: block;
  font-size: clamp(28px, 3vw, 46px);
  letter-spacing: -0.06em;
  line-height: 1.1;
}
.card-bottom > span {
  display: block;
  color: #9ab3c9;
  margin-top: 22px;
}
.cards-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  color: #8caac4;
}
.cards-footer span {
  color: var(--blue);
}
.quote {
  text-align: center;
  background: #dbe9f2;
  color: #0a263f;
}
.asterisk {
  font-size: 50px;
  color: #4c91c1;
  margin: 35px 0;
}
.quote blockquote {
  font-size: clamp(35px, 5.6vw, 82px);
  letter-spacing: -0.07em;
  line-height: 1.14;
  max-width: 1150px;
  margin: 0 auto 75px;
}
.quote-credit {
  border-top: 1px solid #91b3c9;
  padding-top: 20px;
  color: #5c8098;
  display: flex;
  justify-content: space-between;
}
.architect {
  background: radial-gradient(circle at 75% 45%, #164066, #061325 62%);
}
.architect-box {
  border: 1px solid #386184;
  padding: 65px 7vw;
  margin-top: 45px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 7vw;
  align-items: center;
  background: #0b213b88;
}
.seal {
  width: min(100%, 350px);
  aspect-ratio: 1;
  border: 1px solid #4b93c5;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 270px;
  color: #62b4eb86;
  box-shadow:
    0 0 90px #266cb333,
    inset 0 0 90px #266cb333;
}
.architect small {
  color: #8ccafa;
}
.architect h2 {
  font-size: clamp(58px, 7vw, 108px);
  letter-spacing: -0.09em;
  line-height: 0.92;
  margin: 25px 0;
}
.architect h2 span {
  color: #74c4ff;
}
.architect p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #a7bfd1;
  max-width: 530px;
}
.architect a {
  display: inline-block;
  border: 1px solid #83cafa;
  padding: 19px 24px;
  color: #b9e5ff;
  margin-top: 25px;
  transition: 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .architect a:hover {
    background: #b9e5ff;
    color: #07192b;
  }
}
footer {
  border-top: 1px solid #2a4865;
  padding: 28px 7vw;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #819fba;
}
dialog {
  border: 1px solid #5b9fcf;
  background: #071a30;
  color: #edf7ff;
  max-width: 700px;
  width: calc(100% - 30px);
  padding: 0;
  box-shadow: 0 40px 120px #000b;
}
dialog::backdrop {
  background: #010815dd;
  backdrop-filter: blur(8px);
}
.modal {
  padding: 32px;
}
.modal-head,
.modal-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #9dc2dd;
}
.modal-head {
  border-bottom: 1px solid #315a79;
  padding-bottom: 22px;
}
.modal-head button {
  background: none;
  border: 0;
  color: #bce4ff;
  font: inherit;
  cursor: pointer;
}
.modal-foot {
  margin-top: 35px;
  padding-top: 22px;
  border-top: 1px solid #315a79;
  font-size: 1rem;
}
.dialog-kicker {
  font:
    1rem 'DM Mono',
    monospace;
  letter-spacing: 0.13em;
  color: #7cbff2;
  margin-top: 40px;
}
.dialog-title {
  font-size: clamp(42px, 6vw, 70px);
  letter-spacing: -0.08em;
  line-height: 1;
  margin: 18px 0;
}
.dialog-copy {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #abc4d8;
}
.dialog-question {
  font-size: 24px;
  line-height: 1.4;
  margin: 30px 0;
}
.options {
  display: grid;
  gap: 10px;
}
.option {
  background: #102e4a;
  border: 1px solid #3b688a;
  color: #d9efff;
  padding: 18px;
  text-align: left;
  font-size: 1rem;
}
@media (hover: hover) and (pointer: fine) {
  .option:hover {
    background: #194466;
    border-color: #a2d9ff;
  }
}
.puzzle-form {
  display: flex;
  gap: 10px;
}
.puzzle-form input {
  min-width: 0;
  flex: 1;
  background: #0c2944;
  border: 1px solid #5283a8;
  color: #fff;
  padding: 17px;
}
.puzzle-form button,
.finish {
  background: #b6e6ff;
  color: #08192b;
  border: 0;
  padding: 18px;
  font:
    1rem 'DM Mono',
    monospace;
}
.feedback {
  color: #91d2ff;
  min-height: 22px;
}
.reflection {
  border-left: 2px solid #79c6fb;
  background: #12324f;
  padding: 20px;
  margin-top: 25px;
  color: #c7e5f8;
  line-height: 1.6;
}
.finish {
  margin-top: 25px;
}
.world.done .status {
  color: #a5ffdc;
}
@keyframes breath {
  50% {
    transform: scale(1.03);
  }
}
@media (max-width: 760px) {
  header {
    padding: 0 20px;
  }
  .signal {
    display: none;
  }
  nav {
    gap: 15px;
    font-size: 1rem;
  }
  .hero {
    min-height: 700px;
  }
  .hero h1 {
    font-size: clamp(62px, 15vw, 120px);
  }
  .orb {
    width: 110vw;
  }
  .left {
    display: none;
  }
  .intro,
  .worlds,
  .quote,
  .architect {
    padding: 75px 23px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 38px;
  }
  .world-heading {
    align-items: start;
  }
  .count {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
  }
  .count b {
    font-size: 35px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .world {
    height: 470px;
  }
  .architect-box {
    grid-template-columns: 1fr;
    padding: 35px 25px;
    gap: 15px;
  }
  .seal {
    width: 150px;
    font-size: 110px;
  }
  .quote-credit {
    flex-direction: column;
    gap: 15px;
    text-align: left;
  }
  .modal {
    padding: 20px;
  }
  .puzzle-form {
    flex-direction: column;
  }
  footer {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

body.anomalie-site :is(button, a[href], summary) {
  -webkit-tap-highlight-color: transparent;
}
body.anomalie-site :is(button, a[href], summary):focus:not(:focus-visible) {
  outline: none;
}
body.anomalie-site :is(button, a[href], summary):focus-visible {
  outline: 2px solid #b6e6ff;
  outline-offset: 3px;
}
@media (pointer: coarse) {
  body.anomalie-site :is(button:enabled, a[href], summary):active {
    opacity: 0.84;
  }
}
#close {
  min-height: 44px;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

a.profile-link {
  color: #b6e6ff;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

button.privacy-trigger {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  padding: 0.4rem 0;
  cursor: pointer;
}
