/* I.S.A.B.E.L. website. Orbit glitch brand: chrome, graphite and ice blue, cyan/red glitch. */

@font-face {
  font-family: "Italiana";
  src: url("/fonts/Italiana-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark light;
  --ground: #0a0e15;
  --ground-2: #0f151f;
  --panel: rgba(255, 255, 255, 0.035);
  --line: rgba(143, 211, 255, 0.14);
  --ink: #e8eef5;
  --ink-2: #a9b6c6;
  --ink-3: #74859b;
  --ice: #8fd3ff;
  --ice-2: #7fa3c4;
  --star: #3b7fb8;
  --cyan: #00b8e6;
  --red: #e0283c;
  --button-ink: #0a0e15;
  --button-bg: linear-gradient(135deg, #ffffff 0%, #c9d6e3 45%, #8fd3ff 100%);
  --scan: rgba(143, 211, 255, 0.035);
  --glow: rgba(59, 127, 184, 0.35);
  --wide: 72rem;
  --body:
    ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    system-ui, sans-serif;
  --display: "Italiana", "Didot", "Bodoni 72", Georgia, serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --ground: #f3f6f9;
    --ground-2: #e9eef4;
    --panel: rgba(255, 255, 255, 0.7);
    --line: rgba(18, 24, 38, 0.1);
    --ink: #121826;
    --ink-2: #3b4a63;
    --ink-3: #5f6f86;
    --ice: #3b7fb8;
    --ice-2: #3b4a63;
    --star: #3b7fb8;
    --button-ink: #f3f6f9;
    --button-bg: linear-gradient(135deg, #1b2435 0%, #121826 55%, #3b4a63 100%);
    --scan: rgba(18, 24, 38, 0.03);
    --glow: rgba(143, 211, 255, 0.45);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--ice);
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: var(--ground);
  padding: 0.5rem 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--ground) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}
.brand svg {
  width: 2.1rem;
  height: auto;
  color: var(--ink);
}
.brand svg .star {
  color: var(--ice);
}
.wordmark {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.14em;
  line-height: 1;
  white-space: nowrap;
}
.wordmark .dot {
  color: var(--ice);
}
nav ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.93rem;
}
nav a {
  color: var(--ink-2);
  text-decoration: none;
}
nav a:hover {
  color: var(--ink);
}
@media (max-width: 720px) {
  nav .hide-small {
    display: none;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--button-ink);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  box-shadow:
    0 0 0 1px var(--line),
    0 8px 30px -10px var(--glow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow:
    -2px 0 0 0 rgba(0, 184, 230, 0.55),
    2px 0 0 0 rgba(224, 40, 60, 0.45),
    0 12px 36px -10px var(--glow);
}
.button.small {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
}
.button.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.button.ghost:hover {
  box-shadow: inset 0 0 0 1px var(--ice-2);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0 5.5rem;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  /* scanlines, from the icon */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    var(--scan) 0 1px,
    transparent 1px 4px
  );
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -10rem;
  width: 60rem;
  height: 40rem;
  transform: translateX(-10%);
  background: radial-gradient(closest-side, var(--glow), transparent);
  opacity: 0.6;
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}
@media (max-width: 860px) {
  .hero {
    padding: 3.5rem 0 4rem;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero-art {
    order: -1;
    max-width: 13rem;
  }
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ice);
  margin: 0 0 1.4rem;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 7.4vw, 5.6rem);
  line-height: 1;
  letter-spacing: 0.06em;
  margin: 0 0 1.5rem;
}
.glitch {
  position: relative;
  display: inline-block;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.75;
}
.glitch::before {
  color: var(--cyan);
  transform: translateX(-2px);
  clip-path: inset(0 0 58% 0);
  animation: glitch-a 7s infinite steps(1);
}
.glitch::after {
  color: var(--red);
  transform: translateX(2px);
  clip-path: inset(62% 0 0 0);
  animation: glitch-b 7s infinite steps(1);
}
@media (prefers-color-scheme: light) {
  .glitch::before,
  .glitch::after {
    mix-blend-mode: multiply;
    opacity: 0.45;
  }
}
@keyframes glitch-a {
  0%,
  91%,
  100% {
    transform: translateX(-2px);
    clip-path: inset(0 0 58% 0);
  }
  92% {
    transform: translateX(-7px);
    clip-path: inset(10% 0 70% 0);
  }
  94% {
    transform: translateX(5px);
    clip-path: inset(40% 0 35% 0);
  }
  96% {
    transform: translateX(-3px);
    clip-path: inset(0 0 80% 0);
  }
}
@keyframes glitch-b {
  0%,
  91%,
  100% {
    transform: translateX(2px);
    clip-path: inset(62% 0 0 0);
  }
  92% {
    transform: translateX(6px);
    clip-path: inset(70% 0 5% 0);
  }
  94% {
    transform: translateX(-5px);
    clip-path: inset(30% 0 50% 0);
  }
  96% {
    transform: translateX(3px);
    clip-path: inset(80% 0 0 0);
  }
}
.lede {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  color: var(--ink-2);
  max-width: 34rem;
  margin: 0 0 2.2rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}
.note {
  margin-top: 1.4rem;
  font-size: 0.88rem;
  color: var(--ink-3);
}
.hero-art {
  justify-self: center;
  width: 100%;
  max-width: 24rem;
  animation: float 9s ease-in-out infinite;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}
@media (prefers-color-scheme: light) {
  .hero-art img {
    filter: drop-shadow(0 30px 50px rgba(18, 24, 38, 0.18));
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Name */
.acronym {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--line);
}
.acronym ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
@media (max-width: 860px) {
  .acronym ol {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2rem;
  }
}
.acronym li {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}
.acronym .letter {
  display: block;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 1;
  color: var(--ink);
}
.acronym .letter span {
  color: var(--ice);
}
.acronym .word {
  display: block;
  margin-top: 0.6rem;
  color: var(--ink-2);
  font-size: 0.98rem;
}
.section-head {
  max-width: 40rem;
  margin: 0 0 3rem;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4vw, 3rem);
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin: 0 0 1rem;
}
.section-head p {
  color: var(--ink-2);
  margin: 0;
}

/* Features */
.features {
  padding: 6rem 0;
  border-bottom: 1px solid var(--line);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 960px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.card {
  background: var(--ground);
  padding: 2rem 1.8rem 2.2rem;
  transition: background 0.25s ease;
}
.card:hover {
  background: var(--ground-2);
}
.card svg {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--ice);
  margin-bottom: 1.2rem;
}
.card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.97rem;
}

/* Promise */
.promise {
  padding: 6rem 0;
  border-bottom: 1px solid var(--line);
}
.promise .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 860px) {
  .promise .wrap {
    grid-template-columns: 1fr;
  }
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.checks li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.8rem;
  padding: 1.1rem 1.3rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink-2);
}
.checks strong {
  color: var(--ink);
  font-weight: 600;
}
.checks svg {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--ice);
  margin-top: 0.2rem;
}

/* Invite */
.invite {
  padding: 6.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.invite::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46rem;
  height: 26rem;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--glow), transparent);
  opacity: 0.45;
  pointer-events: none;
}
.invite .wrap {
  position: relative;
}
.invite h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  letter-spacing: 0.03em;
  margin: 0 0 1rem;
}
.invite p {
  color: var(--ink-2);
  max-width: 34rem;
  margin: 0 auto 2rem;
}
.invite .actions {
  justify-content: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  font-size: 0.9rem;
  color: var(--ink-3);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.site-footer ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer a {
  color: var(--ink-2);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--ink);
}

/* Legal pages */
.legal {
  max-width: 44rem;
  padding-top: 4.5rem;
  padding-bottom: 5rem;
}
.legal h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin: 0 0 0.8rem;
}
.legal .updated {
  color: var(--ink-3);
  margin: 0 0 2.5rem;
  font-size: 0.95rem;
}
.legal .summary {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  margin: 0 0 2.5rem;
}
.legal .summary h2 {
  margin-top: 0;
}
.legal h2 {
  font-size: 1.22rem;
  font-weight: 600;
  margin: 2.6rem 0 0.8rem;
}
.legal h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 1.6rem 0 0.5rem;
}
.legal p,
.legal li {
  color: var(--ink-2);
}
.legal li {
  margin: 0.35rem 0;
}
.legal strong {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.section-head p.more {
  margin-top: 1rem;
}

.button {
  white-space: nowrap;
}
@media (max-width: 860px) {
  .hero-art {
    max-width: 11rem;
    justify-self: start;
  }
}
@media (max-width: 420px) {
  .wordmark {
    font-size: 1.15rem;
    letter-spacing: 0.1em;
  }
  .brand svg {
    width: 1.7rem;
  }
  .button.small {
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
  }
}
