@layer reset, base, components, responsive;
@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  body,
  h1,
  h2,
  h3,
  p,
  ul,
  dl,
  dd {
    margin: 0;
  }
  img {
    display: block;
    max-width: 100%;
    height: auto;
  }
  button,
  a {
    -webkit-tap-highlight-color: transparent;
  }
  button {
    font: inherit;
  }
  a {
    color: inherit;
  }
  ul {
    padding: 0;
    list-style: none;
  }
}
@layer base {
  :root {
    color-scheme: dark;
    --ink: #141820;
    --panel: #1e232d;
    --line: #373c47;
    --muted: #aeb7c7;
    --paper: #f4f6f9;
    --lime: #d7ff63;
    --blue: #7daeff;
  }
  html {
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: 28px;
  }
  body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--ink);
    color: var(--paper);
    overflow-x: clip;
    font-size: 1rem;
    line-height: 1.65;
  }
  a {
    text-decoration: none;
  }
  button,
  summary {
    cursor: pointer;
  }
  button {
    color: inherit;
  }
  a,
  button,
  summary {
    touch-action: manipulation;
  }
  a:focus-visible,
  button:focus-visible,
  summary:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 6px;
  }
  ::selection {
    background: var(--lime);
    color: var(--ink);
  }
  .wrap {
    width: min(1240px, calc(100% - 96px));
    margin-inline: auto;
  }
  .lime {
    color: var(--lime);
  }
  .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    line-height: 1.7;
  }
  h1,
  h2,
  h3 {
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.04;
  }
  h2 {
    font-size: clamp(2.2rem, 4.3vw, 3.7rem);
  }
  .skip-link {
    position: fixed;
    top: -90px;
    left: 16px;
    padding: 12px 20px;
    background: var(--lime);
    color: var(--ink);
    z-index: 10;
  }
  .skip-link:focus {
    top: 12px;
  }
}
@layer components {
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-block: 30px;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: -0.015em;
    line-height: 1;
  }
  .brand small {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.43em;
    margin-top: 6px;
  }
  .site-header nav {
    display: flex;
    gap: 35px;
    font-size: 0.875rem;
    font-weight: 600;
  }
  .site-header nav a:hover,
  .site-footer > a:last-child:hover {
    color: var(--lime);
  }
  .language {
    display: flex;
    gap: 4px;
    align-items: center;
    font-size: 0.875rem;
  }
  .language button {
    background: none;
    border: 0;
    padding: 10px 7px;
    color: var(--muted);
    font-weight: 700;
  }
  .language button[aria-pressed="true"] {
    color: var(--lime);
  }
  .language span {
    color: #586071;
  }
  .hero {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    padding-block: 76px 80px;
    gap: 24px;
  }
  .hero .eyebrow {
    display: flex;
    gap: 11px;
    align-items: center;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.09em;
  }
  .little-star {
    font-size: 1.6rem;
    color: var(--lime);
  }
  .hero h1 {
    font-size: clamp(3.4rem, 6.25vw, 5.8rem);
    line-height: 1.01;
    margin: 25px 0 27px;
  }
  .hero-intro {
    max-width: 440px;
    color: #c0c7d4;
    font-size: 1.05rem;
    line-height: 1.75;
  }
  .button {
    display: inline-flex;
    justify-content: center;
    background: var(--lime);
    color: var(--ink);
    border: 1px solid var(--lime);
    padding: 15px 23px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    transition:
      transform 0.2s,
      background 0.2s;
    margin-top: 30px;
  }
  .button:hover {
    background: #e4ff97;
    transform: translateY(-2px);
  }
  .hero-caption {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 14px;
  }
  .hero-art {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    aspect-ratio: 1;
    isolation: isolate;
  }
  .hero-art::before {
    content: "";
    position: absolute;
    inset: 12%;
    background: radial-gradient(circle, #44788e38 0, transparent 70%);
    z-index: -1;
  }
  .hero-robot {
    width: 98%;
    position: relative;
    transform: rotate(-9deg);
    filter: drop-shadow(0 24px 28px #0005);
    animation: float 7s ease-in-out infinite;
  }
  .orbit {
    position: absolute;
    width: 95%;
    height: 66%;
    border: 1px solid #52607280;
    border-radius: 50%;
    transform: rotate(-30deg);
    z-index: -1;
  }
  .orbit-two {
    width: 80%;
    height: 94%;
    transform: rotate(30deg);
    border-style: dashed;
    opacity: 0.5;
  }
  .orbit-label {
    position: absolute;
    top: 1%;
    right: 2%;
    font-family: monospace;
    font-size: 0.75rem;
    letter-spacing: 0.17em;
    color: var(--muted);
  }
  .art-plus {
    position: absolute;
    color: var(--lime);
    font-weight: 300;
    font-size: 2rem;
  }
  .plus-one {
    top: 10%;
    left: 0;
  }
  .plus-two {
    right: 0;
    bottom: 18%;
    font-size: 1.6rem;
  }
  .floating-label {
    position: absolute;
    right: 0;
    bottom: 4%;
    border: 1px solid #556071;
    background: #242a36eb;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 30px #0003;
    padding: 12px 18px;
    border-radius: 8px;
    transform: rotate(-5deg);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .floating-label:hover {
    border-color: var(--lime);
  }
  .tiny-square {
    width: 9px;
    height: 9px;
    background: var(--lime);
    border-radius: 2px;
  }
  .ticker {
    overflow: hidden;
    background: var(--lime);
    color: var(--ink);
    transform: rotate(-1.3deg);
    padding: 18px 0;
    margin: 8px 0 20px;
  }
  .ticker > div {
    display: flex;
    gap: 36px;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
  }
  .ticker span {
    font-size: 1.3rem;
    line-height: 1;
  }
  .games {
    padding-block: 96px;
  }
  .section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 40px;
  }
  .section-heading .eyebrow {
    color: var(--muted);
    margin-bottom: 14px;
  }
  .section-aside {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.7;
    text-align: right;
  }
  .game-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    background: var(--panel);
  }
  .junk {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 24px;
  }
  .game-visual {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-width: 0;
  }
  .card-number {
    position: absolute;
    top: 24px;
    left: 28px;
    z-index: 2;
    font-family: monospace;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
  }
  .junk-visual {
    background: #13333b;
    display: grid;
    place-items: center;
    min-height: 430px;
    background-image: radial-gradient(
      ellipse at 40% 50%,
      #25637466,
      transparent 70%
    );
  }
  .junk-rings {
    width: 75%;
    aspect-ratio: 1;
    position: absolute;
    border: 1px solid #5696a655;
    border-radius: 50%;
    box-shadow:
      0 0 0 50px #5696a612,
      0 0 0 100px #5696a608;
    z-index: -1;
  }
  .card-robot {
    width: 77%;
    max-width: 370px;
    transform: rotate(10deg);
    margin: 30px 0 10px;
  }
  .visual-caption {
    position: absolute;
    bottom: 23px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #afd7df;
  }
  .game-copy {
    padding: 34px 38px;
    min-width: 0;
  }
  .game-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
  }
  .game-heading > img {
    border-radius: 14px;
  }
  .status {
    border: 1px solid #576071;
    color: #c7cfdb;
    font-size: 0.875rem;
    line-height: 1.4;
    padding: 6px 9px;
    border-radius: 5px;
    white-space: nowrap;
  }
  .game-kind {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    color: var(--muted);
    line-height: 1.5;
  }
  .game-copy h3 {
    font-size: 2.65rem;
    margin: 10px 0 20px;
  }
  .game-copy > p:not(.game-kind) {
    font-size: 1rem;
    color: #c0c7d4;
    line-height: 1.75;
  }
  .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
  }
  .tags li {
    font-size: 0.875rem;
    color: #d7dfeb;
    padding: 5px 9px;
    background: #303846;
    border-radius: 4px;
  }
  .game-copy details {
    margin-top: 27px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }
  .game-copy summary {
    font-size: 0.875rem;
    font-weight: 700;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 15px;
  }
  .game-copy summary::-webkit-details-marker {
    display: none;
  }
  .game-copy summary::after {
    content: "+";
    font-size: 1.2rem;
    line-height: 1;
  }
  .game-copy details[open] summary::after {
    content: "−";
  }
  .game-copy details p {
    font-size: 0.9rem;
    color: #c0c7d4;
    line-height: 1.7;
    margin-top: 14px;
  }
  .game-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
  .game-grid .game-visual {
    height: 270px;
  }
  .drawer-visual {
    display: grid;
    place-items: center;
    background: #173e39;
  }
  .drawer-art {
    height: 400px;
    width: 400px;
    object-fit: contain;
    max-width: none;
    margin-top: -65px;
  }
  .slide-visual {
    display: grid;
    place-items: center;
    background: #102d48;
  }
  .forest-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    object-position: center 45%;
    opacity: 0.65;
    z-index: -1;
  }
  .slide-art {
    width: 148px;
    height: 148px;
    border-radius: 32px;
    box-shadow: 0 20px 30px #05132166;
    transform: rotate(-9deg);
    border: 1px solid #acdeff44;
  }
  .slide-visual .card-number {
    color: #f0faff;
  }
  .game-grid .game-heading {
    margin-bottom: 9px;
    gap: 12px;
  }
  .game-grid .game-copy h3 {
    font-size: 2.25rem;
  }
  .release-note {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 28px;
  }
  .release-note > span:first-child {
    font-size: 1.4rem;
    color: var(--lime);
  }
  .about {
    background: #1b2131;
    border-block: 1px solid #30394d;
  }
  .about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    padding-block: 90px;
  }
  .about .eyebrow {
    color: var(--muted);
    margin-bottom: 20px;
  }
  .about h2 {
    font-size: clamp(2.5rem, 4.2vw, 3.8rem);
    line-height: 1.1;
  }
  .about-asterisk {
    display: block;
    font-size: 9rem;
    color: var(--lime);
    line-height: 1;
    margin-top: 35px;
  }
  .about-copy .large-copy {
    font-size: 1.55rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: var(--paper);
    margin-bottom: 24px;
  }
  .about-copy > p {
    color: #c0c7d4;
    line-height: 1.8;
  }
  .principles {
    margin-top: 32px;
  }
  .principles > div {
    display: flex;
    gap: 24px;
    padding: 18px 0;
    border-top: 1px solid #3c4356;
  }
  .principles > div > span {
    color: var(--lime);
    font-family: monospace;
    font-size: 0.8rem;
    padding-top: 3px;
  }
  .principles p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .contact {
    padding-block: 96px 60px;
  }
  .contact > .eyebrow {
    color: var(--muted);
    margin-bottom: 25px;
  }
  .contact-top {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 65px;
    align-items: start;
  }
  .contact-top h2 {
    font-size: clamp(2.3rem, 3.8vw, 3.3rem);
    line-height: 1.12;
  }
  .contact-top > div > p {
    color: #c0c7d4;
    max-width: 460px;
  }
  .email-link {
    display: inline-block;
    color: var(--lime);
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    border-bottom: 1px solid #d7ff6366;
    margin: 18px 0;
  }
  .email-link:hover {
    border-bottom-color: var(--lime);
  }
  .contact-top .contact-hint {
    font-size: 0.8rem;
    color: var(--muted);
  }
  .company {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 65px;
    border-top: 1px solid var(--line);
    margin-top: 65px;
    padding-top: 34px;
  }
  .company h3 {
    font-size: 1.15rem;
    letter-spacing: -0.02em;
  }
  .company dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 28px;
  }
  .company dl > div:nth-child(-n + 2) {
    grid-column: 1/-1;
  }
  .company dt {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 4px;
  }
  .company dd {
    font-size: 0.875rem;
    line-height: 1.6;
  }
  .site-footer {
    border-top: 1px solid var(--line);
    padding-block: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .footer-brand {
    font-size: 0.8rem;
  }
  .footer-brand small {
    font-size: 0.5rem;
  }
  .site-footer > p,
  .site-footer > a:last-child {
    font-size: 0.75rem;
    color: var(--muted);
  }
  @keyframes float {
    0%,
    100% {
      transform: translateY(0) rotate(-9deg);
    }
    50% {
      transform: translateY(-12px) rotate(-6deg);
    }
  }
}
@layer responsive {
  @media (min-width: 1600px) {
    .hero {
      min-height: 750px;
    }
  }
  @media (max-width: 1000px) {
    .wrap {
      width: calc(100% - 56px);
    }
    .hero {
      min-height: 600px;
      padding-block: 55px;
      gap: 6px;
    }
    .hero h1 {
      font-size: clamp(3.2rem, 7vw, 5rem);
    }
    .hero-art {
      align-self: center;
    }
    .hero .eyebrow {
      max-width: 300px;
    }
    .floating-label {
      font-size: 0.75rem;
      padding: 10px;
    }
    .orbit-label {
      font-size: 0.75rem;
    }
    .game-copy {
      padding: 28px;
    }
    .game-heading {
      gap: 12px;
    }
    .about-inner,
    .contact-top,
    .company {
      gap: 36px;
    }
    .game-grid .game-visual {
      height: 230px;
    }
    .game-grid .game-heading {
      align-items: start;
      flex-direction: column;
    }
    .game-copy h3 {
      font-size: 2.3rem;
    }
    .game-grid .game-copy h3 {
      font-size: 2rem;
    }
    .junk-visual {
      min-height: 440px;
    }
  }
  @media (max-width: 700px) {
    .wrap {
      width: calc(100% - 40px);
    }
    .site-header {
      padding-block: 22px;
      gap: 15px;
      flex-wrap: wrap;
    }
    .brand {
      font-size: 0.9rem;
    }
    .brand > img {
      width: 35px;
      height: 35px;
    }
    .site-header nav {
      order: 3;
      width: 100%;
      justify-content: center;
      gap: 32px;
      padding-top: 17px;
      border-top: 1px solid var(--line);
      font-size: 0.875rem;
    }
    .hero {
      grid-template-columns: 1fr;
      padding-block: 40px 38px;
      gap: 32px;
    }
    .hero h1 {
      font-size: clamp(3.45rem, 11.6vw, 5.8rem);
      margin-block: 22px;
    }
    .hero-intro {
      font-size: 1rem;
      max-width: 470px;
    }
    .hero .eyebrow {
      max-width: none;
      font-size: 0.75rem;
    }
    .hero .button {
      margin-top: 23px;
    }
    .hero-art {
      width: min(90%, 380px);
      margin: auto;
      aspect-ratio: 1;
      min-height: 0;
    }
    .hero-robot {
      width: 100%;
    }
    .orbit-label {
      top: 0;
    }
    .floating-label {
      right: -10px;
      font-size: 0.75rem;
    }
    .hero-caption {
      font-size: 0.8rem;
    }
    .ticker {
      padding-block: 15px;
      margin-top: 0;
    }
    .ticker > div {
      font-size: 0.75rem;
      gap: 25px;
    }
    .games {
      padding-block: 65px;
    }
    .section-heading {
      display: block;
      margin-bottom: 30px;
    }
    .section-aside {
      text-align: left;
      font-size: 0.9rem;
      margin-top: 16px;
    }
    .section-aside br {
      display: initial;
    }
    .section-heading h2 {
      font-size: 2.4rem;
    }
    .junk {
      grid-template-columns: 1fr;
    }
    .junk-visual {
      min-height: 0;
      height: 320px;
    }
    .card-robot {
      height: 280px;
      width: auto;
      margin: 5px 0 0;
    }
    .visual-caption {
      bottom: 16px;
      font-size: 0.75rem;
    }
    .card-number {
      left: 23px;
      top: 20px;
    }
    .game-grid {
      grid-template-columns: 1fr;
    }
    .game-grid .game-visual {
      height: 270px;
    }
    .game-copy {
      padding: 28px 25px;
    }
    .game-copy h3,
    .game-grid .game-copy h3 {
      font-size: 2.3rem;
    }
    .game-grid .game-heading {
      flex-direction: row;
      align-items: center;
    }
    .game-copy > p:not(.game-kind) {
      font-size: 1rem;
    }
    .game-kind {
      font-size: 0.75rem;
    }
    .release-note {
      align-items: start;
      gap: 10px;
      font-size: 0.8rem;
    }
    .release-note > span:first-child {
      line-height: 1.2;
    }
    .about-inner {
      grid-template-columns: 1fr;
      padding-block: 62px;
      gap: 28px;
    }
    .about-title {
      position: relative;
    }
    .about h2 {
      font-size: 2.55rem;
      padding-right: 25px;
    }
    .about-asterisk {
      position: absolute;
      right: 0;
      bottom: 0;
      font-size: 3rem;
      margin: 0;
    }
    .about-copy .large-copy {
      font-size: 1.35rem;
    }
    .contact {
      padding-block: 64px 45px;
    }
    .contact-top {
      grid-template-columns: 1fr;
      gap: 26px;
    }
    .contact-top h2 {
      font-size: 2.4rem;
    }
    .email-link {
      font-size: 1.85rem;
    }
    .company {
      grid-template-columns: 1fr;
      gap: 25px;
      margin-top: 40px;
    }
    .company dl {
      gap: 22px;
    }
    .site-footer {
      flex-wrap: wrap;
      gap: 20px;
    }
    .site-footer > p {
      order: 3;
      width: 100%;
      font-size: 0.75rem;
    }
    .site-footer > a:last-child {
      font-size: 0.75rem;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    .hero-robot {
      animation: none;
    }
    .button {
      transition: none;
    }
  }
  @media (min-width: 701px) and (prefers-reduced-motion: no-preference) {
    .game-visual > img {
      transition: transform 0.45s;
    }
    .junk:hover .card-robot {
      transform: rotate(5deg) translateY(-5px);
    }
    .slide:hover .slide-art {
      transform: rotate(-4deg) translateY(-5px);
    }
  }
}
