:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: #101c32;
  --panel: #172643;
  --panel-strong: #22365f;
  --text: #f9f7e8;
  --muted: #c9d3e6;
  --line: #34507a;
  --yellow: #ffe66d;
  --pink: #ff5c8a;
  --green: #42e8a8;
  --blue: #65d8ff;
  --purple: #7e55ff;
  --ink: #11131a;
  --max: 1120px;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(101, 216, 255, 0.2), transparent 30rem),
    radial-gradient(circle at top right, rgba(126, 85, 255, 0.18), transparent 28rem),
    linear-gradient(180deg, #07111f 0%, #10203a 48%, #07101d 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

.skip-link {
  background: var(--yellow);
  color: var(--ink);
  left: 1rem;
  padding: 0.65rem 0.8rem;
  position: absolute;
  top: -4rem;
  z-index: 5;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  background: rgba(7, 17, 31, 0.9);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 4;
  backdrop-filter: blur(14px);
}

.nav {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 0.9rem 1rem;
}

.brand {
  align-items: center;
  background: rgba(101, 216, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  gap: 0.5rem;
  min-height: 2.4rem;
  padding: 0.35rem 0.75rem 0.35rem 0.45rem;
  text-decoration: none;
}

.brand:hover,
.brand:focus-visible {
  border-color: rgba(101, 216, 255, 0.85);
  color: var(--text);
}

.brand-mark {
  align-items: center;
  background: var(--yellow);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  height: 1.65rem;
  justify-content: center;
  line-height: 1;
  width: 1.65rem;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.nav-links a,
.button {
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 800;
  line-height: 1.2;
  min-height: 2.4rem;
  padding: 0.65rem 0.85rem;
  text-decoration: none;
}

.nav-links a {
  color: var(--muted);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--line);
  color: var(--text);
}

.hero,
.section,
.page-hero {
  margin: 0 auto;
  max-width: var(--max);
  padding: 4.5rem 1rem;
}

.hero {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  min-height: 72vh;
  place-items: center;
}

.eyebrow,
.status {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  max-width: 44rem;
}

.hero-copy,
.page-hero-copy,
.section-head,
.stack {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.hero-brand {
  display: inline-grid;
  justify-self: start;
  position: relative;
}

.hero-brand::before {
  background: radial-gradient(ellipse at center, rgba(198, 242, 255, 0.34), rgba(101, 216, 255, 0.16) 42%, transparent 72%);
  content: "";
  inset: -1.6rem -2.4rem;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hero-logo {
  display: block;
  filter:
    drop-shadow(0 0.08rem 0.05rem rgba(245, 252, 255, 0.55))
    drop-shadow(0 0.65rem 0.7rem rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 1.2rem rgba(101, 216, 255, 0.18));
  height: auto;
  max-width: min(100%, 32rem);
}

.hero-actions,
.card-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  align-items: center;
  justify-content: center;
}

.button.primary {
  background: var(--yellow);
  color: var(--ink);
}

.button.secondary {
  border-color: var(--line);
  color: var(--text);
}

.button.placeholder {
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}

.hero-panel,
.media-placeholder,
.card,
.detail-panel {
  background: linear-gradient(145deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
}

.hero-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  width: 100%;
}

.hero-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.5rem;
  min-height: 7rem;
  padding: 1rem;
}

.hero-tile:nth-child(1) {
  background: rgba(255, 230, 109, 0.12);
}

.hero-tile:nth-child(2) {
  background: rgba(126, 85, 255, 0.16);
}

.hero-tile:nth-child(3) {
  background: rgba(66, 232, 168, 0.12);
}

.hero-tile strong {
  font-size: 1.1rem;
}

.hero-tile span,
.muted {
  color: var(--muted);
  overflow-wrap: break-word;
}

.section {
  display: grid;
  gap: 1.5rem;
}

.section.alt {
  background: rgba(101, 216, 255, 0.045);
  max-width: none;
  padding-left: max(1rem, calc((100vw - var(--max)) / 2 + 1rem));
  padding-right: max(1rem, calc((100vw - var(--max)) / 2 + 1rem));
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.cards {
  align-items: start;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.detail-panel {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
}

.card {
  align-content: start;
}

.card.feature {
  min-height: 24rem;
}

.lightbox-trigger {
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  color: inherit;
  display: block;
  font: inherit;
  padding: 0;
  text-align: inherit;
  width: 100%;
}

.card-media {
  aspect-ratio: 9 / 13;
  background: rgba(3, 10, 20, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: block;
  object-fit: contain;
  width: 100%;
}

.card-media.landscape {
  aspect-ratio: 22 / 10;
}

.lightbox {
  background: transparent;
  border: 0;
  color: var(--text);
  margin: auto;
  max-height: 100vh;
  max-width: 100vw;
  overflow: visible;
  padding: 1.5rem;
}

.lightbox::backdrop {
  background: rgba(1, 6, 14, 0.88);
  backdrop-filter: blur(10px);
}

.lightbox figure {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  place-items: center;
}

.lightbox-image {
  border: 1px solid rgba(101, 216, 255, 0.38);
  border-radius: var(--radius);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.5);
  display: block;
  max-height: min(88vh, 58rem);
  max-width: min(92vw, 82rem);
  object-fit: contain;
}

.lightbox-caption {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  background: rgba(7, 17, 31, 0.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 2.5rem;
  padding: 0.55rem 0.9rem;
  position: fixed;
  right: 1.25rem;
  top: 1.25rem;
}

.status {
  align-self: start;
  background: rgba(255, 209, 102, 0.1);
  border: 1px solid rgba(255, 209, 102, 0.45);
  border-radius: 999px;
  justify-self: start;
  padding: 0.35rem 0.6rem;
}

.card p,
.detail-panel p,
.detail-panel li {
  color: var(--muted);
}

.card-actions {
  align-self: end;
  margin-top: auto;
}

.build-list,
.plain-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.build-list li,
.plain-list li {
  border-left: 0.35rem solid var(--green);
  color: var(--muted);
  padding-left: 0.75rem;
}

.page-hero {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.75fr);
  padding-bottom: 2rem;
}

.page-title {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.product-logo {
  display: block;
  height: auto;
  max-width: min(100%, 36rem);
  min-width: 0;
}

.crazy-caturday-logo {
  filter: drop-shadow(0 0.45rem 0.35rem rgba(0, 0, 0, 0.34));
}

.caturday-hero {
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(28rem, 1.05fr);
  padding-bottom: 3rem;
  padding-top: 3.75rem;
}

.caturday-hero .page-hero-copy {
  gap: 0.8rem;
}

.caturday-hero .crazy-caturday-logo {
  max-width: min(100%, 34rem);
}

.caturday-hero .wide-hero-shot {
  justify-self: end;
  max-width: 45rem;
}

.chess-logo {
  filter: drop-shadow(0 0.55rem 0.45rem rgba(0, 0, 0, 0.42));
  max-width: min(100%, 32rem);
}

.bugs-logo {
  filter: drop-shadow(0 0.55rem 0.42rem rgba(0, 0, 0, 0.38));
  max-width: min(100%, 23rem);
}

.variant-logo {
  display: block;
  height: auto;
  max-width: min(100%, 18rem);
}

.food-logo {
  filter: drop-shadow(0 0.45rem 0.35rem rgba(0, 0, 0, 0.32));
}

.subtitle {
  color: var(--blue);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 800;
}

.media-placeholder {
  align-content: center;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(76, 201, 240, 0.14), rgba(239, 71, 111, 0.12)),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255, 255, 255, 0.04) 12px 24px);
  display: grid;
  justify-items: center;
  min-height: 14rem;
  padding: 1rem;
  text-align: center;
}

.media-placeholder strong {
  color: var(--text);
  font-size: 1.2rem;
}

.media-placeholder span {
  color: var(--muted);
  max-width: 24rem;
}

.hero-shot,
.inline-shot,
.wide-hero-shot,
.shot-grid figure,
.wide-shot-grid figure {
  margin: 0;
}

.hero-shot {
  align-self: start;
  justify-self: center;
  max-width: 28rem;
  width: 100%;
}

.inline-shot {
  max-width: 16rem;
}

.hero-shot img,
.inline-shot img,
.shot-grid img,
.wide-hero-shot img,
.wide-shot-grid img {
  background: rgba(3, 10, 20, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: block;
  object-fit: contain;
  width: 100%;
}

.wide-hero-shot {
  align-self: start;
  width: 100%;
}

.wide-hero-shot img {
  aspect-ratio: 22 / 10;
}

.hero-shot img {
  aspect-ratio: 6 / 13;
  max-height: 34rem;
}

.inline-shot img {
  aspect-ratio: 6 / 13;
}

.shot-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wide-shot-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shot-grid figure,
.wide-shot-grid figure {
  display: grid;
  gap: 0.5rem;
}

.shot-grid img {
  aspect-ratio: 6 / 13;
}

.shot-grid figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.wide-shot-grid img {
  aspect-ratio: 22 / 10;
}

.wide-shot-grid figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.roadmap-image {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
  width: 100%;
}

.product-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  margin: 0 auto;
  max-width: var(--max);
  padding: 1rem 1rem 4rem;
}

.detail-panel.wide {
  grid-column: 1 / -1;
}

.cta-panel {
  align-content: start;
}

.policy-page {
  display: grid;
  gap: 1rem;
  margin: 0 auto;
  max-width: 760px;
  min-width: 0;
  padding: 3rem 1rem 4rem;
}

.policy-header {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
  padding-bottom: 1.5rem;
}

.policy-page section {
  border-bottom: 1px solid rgba(52, 80, 122, 0.55);
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  padding: 1rem 0 1.15rem;
}

.policy-page section:last-child {
  border-bottom: 0;
}

.policy-page .policy-summary {
  background: rgba(101, 216, 255, 0.08);
  border: 1px solid rgba(101, 216, 255, 0.32);
  border-radius: var(--radius);
  margin-top: 0.25rem;
  padding: 1rem;
}

.policy-page h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.policy-page h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.2;
}

.policy-page p {
  color: var(--muted);
  font-size: 1.03rem;
  max-width: 66ch;
  overflow-wrap: break-word;
}

.policy-page a {
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 1.5rem 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--muted);
}

@media (max-width: 920px) {
  .hero,
  .page-hero,
  .product-layout {
    grid-template-columns: 1fr;
  }

  .grid.cards,
  .grid.two,
  .shot-grid,
  .wide-shot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .caturday-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-links {
    display: grid;
    gap: 0.15rem 0.55rem;
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
    width: 100%;
  }

  .nav-links a {
    font-size: 0.85rem;
    min-height: 2rem;
    padding: 0.35rem 0;
  }

  .hero,
  .section,
  .page-hero {
    padding-bottom: 3rem;
    padding-top: 3rem;
  }

  .hero {
    min-height: auto;
    place-items: stretch;
  }

  .hero-copy,
  .page-hero-copy,
  .section-head,
  .hero-panel,
  .card,
  .detail-panel {
    max-width: min(100%, 22.25rem);
    width: 100%;
  }

  .hero-logo {
    max-width: min(100%, 22rem);
  }

  .product-logo,
  .chess-logo,
  .crazy-caturday-logo,
  .bugs-logo,
  .variant-logo {
    max-width: min(100%, 22rem);
  }

  .bugs-logo {
    max-width: min(100%, 20rem);
  }

  .hero-brand::before {
    inset: -1rem;
  }

  .hero-shot,
  .inline-shot,
  .wide-hero-shot {
    justify-self: stretch;
    max-width: 100%;
  }

  .hero-shot img,
  .inline-shot img,
  .wide-hero-shot img,
  .shot-grid img,
  .wide-shot-grid img,
  .card-media {
    max-width: 100%;
  }

  .grid.cards,
  .grid.two,
  .shot-grid,
  .wide-shot-grid {
    grid-template-columns: 1fr;
  }

  .button,
  .hero-actions a,
  .card-actions a,
  .cta-row a {
    width: 100%;
  }
}

@media (min-width: 921px) {
  .lightbox-trigger {
    cursor: zoom-in;
  }

  .lightbox-trigger:focus-visible {
    outline: 3px solid rgba(101, 216, 255, 0.78);
    outline-offset: 4px;
  }

  .lightbox-trigger:hover .card-media,
  .lightbox-trigger:focus-visible .card-media,
  .lightbox-trigger:hover img,
  .lightbox-trigger:focus-visible img {
    border-color: rgba(101, 216, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(101, 216, 255, 0.14);
  }
}
