@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #171a15;
  --paper: #f2f1e9;
  --paper-deep: #e7e6dc;
  --muted: #696d62;
  --line: #cfcec3;
  --acid: #d3f16c;
  --red: #f15b40;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "BIZ UDPMincho", Georgia, serif;
  --sans: "BIZ UDPGothic", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  z-index: 5;
  pointer-events: none;
  content: "";
  inset: 0;
  opacity: .12;
  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='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
}
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  height: 64px;
  padding: 0 clamp(20px, 5vw, 76px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.wordmark, .footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font: 700 11px/1.15 var(--mono);
  letter-spacing: .08em;
  text-decoration: none;
}
.wordmark-symbol, .footer-mark span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  font: 700 17px/1 var(--serif);
  letter-spacing: -.08em;
}
.wordmark-sub { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; letter-spacing: .16em; }
.topnav { display: flex; align-items: center; gap: clamp(18px, 3.2vw, 48px); }
.topnav a { text-decoration: none; font-size: 12px; font-weight: 600; }
.topnav a span { margin-left: 5px; color: #777a6e; }
.search-shortcut { color: var(--muted); font-size: 11px; }
.search-shortcut kbd { margin-left: 5px; padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font: 10px var(--mono); }
.topnav a:hover, .back-top:hover { color: #697c30; }

.hero {
  position: relative;
  min-height: 190px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 30px clamp(24px, 7vw, 106px) 32px;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0;
  font: 500 10px/1.4 var(--mono);
  letter-spacing: .13em;
}
.hero .eyebrow { color: #bdc4b3; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin: 0 9px 0 0; border-radius: 50%; background: var(--acid); box-shadow: 0 0 13px #d3f16c75; }
.hero h1 {
  margin: 9px 0 3px;
  font: 700 clamp(32px, 4vw, 48px)/1.2 var(--sans);
  letter-spacing: -.045em;
}
.hero-lede { margin: 0; color: #c1c5b8; font-size: 13px; line-height: 1.7; }
.hero-summary { display: flex; align-items: center; gap: 22px; padding-left: 24px; border-left: 1px solid #53584c; }
.hero-count { display: flex; align-items: baseline; gap: 7px; }
.hero-count strong { color: var(--acid); font: 500 40px/.9 var(--serif); letter-spacing: -.07em; }
.hero-count span { color: #d5d9cd; font: 500 8px/1.35 var(--mono); letter-spacing: .12em; }
.hero-categories { display: grid; gap: 4px; min-width: 83px; }
.hero-categories div { display: flex; justify-content: space-between; gap: 12px; color: #c1c5b8; font-size: 10px; line-height: 1.4; }
.hero-categories strong { color: var(--acid); font: 10px var(--mono); }

.catalog { padding: 35px clamp(24px, 7vw, 106px) 72px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-eyebrow { color: #777b6f; }
.section-heading h2 { margin: 6px 0 0; font: 700 clamp(27px, 3vw, 36px)/1.25 var(--sans); letter-spacing: -.04em; }
.heading-period { color: var(--red); }
.section-note { margin: 0 0 5px; color: var(--muted); font-size: 11px; }
.catalog-tools { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 19px; padding: 9px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters { display: flex; align-items: center; gap: 6px; }
.filter-button { padding: 7px 13px; border: 1px solid transparent; border-radius: 99px; background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; transition: background .18s ease, border-color .18s ease; }
.filter-button span { margin-left: 5px; color: #878a7e; font: 9px var(--mono); }
.filter-button:hover { border-color: var(--line); }
.filter-button.is-active { color: var(--paper); background: var(--ink); }
.filter-button.is-active span { color: var(--acid); }
.search-box { display: flex; align-items: center; gap: 8px; width: min(270px, 42vw); padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; background: #f8f7f1; }
.search-icon { color: var(--muted); font-size: 18px; line-height: 1; }
.search-box input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; font-size: 11px; }
.search-box input::placeholder { color: #888b80; }
.search-box:focus-within { border-color: #7c8d4a; box-shadow: 0 0 0 2px #d3f16c55; }
.search-box kbd { min-width: 18px; color: #8c8e84; text-align: center; font: 10px var(--mono); }
.result-count { margin: 7px 0 6px; color: var(--muted); font: 10px/1.4 var(--mono); }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.app-card { min-width: 0; animation: card-in .45s both; }
.app-card[hidden] { display: none; }
.app-card:nth-child(2) { animation-delay: .04s; }
.app-card:nth-child(3) { animation-delay: .08s; }
.app-card:nth-child(4) { animation-delay: .12s; }
.app-card:nth-child(5) { animation-delay: .16s; }
.app-card:nth-child(6) { animation-delay: .2s; }
.app-link { display: block; height: 100%; text-decoration: none; }
.card-visual { position: relative; height: clamp(100px, 8vw, 116px); overflow: hidden; isolation: isolate; }
.visual-index { position: absolute; z-index: 3; top: 10px; left: 12px; color: #242820ad; font: 9px/1 var(--mono); letter-spacing: .13em; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.category-tag { color: #6e7465; font: 9px/1.5 var(--mono); letter-spacing: .06em; }
.card-number { color: #96988e; font: 9px var(--mono); }
.app-card h3 { margin: 4px 0 3px; font-size: 16px; line-height: 1.4; letter-spacing: -.025em; }
.app-card h3 span { margin-left: 2px; color: #6f736a; font: 500 11px var(--mono); letter-spacing: .02em; }
.app-card p { min-height: 3.2em; margin: 0; color: #65695e; font-size: 11px; line-height: 1.7; }
.card-open { display: flex; justify-content: space-between; align-items: center; margin-top: 11px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 10px; font-weight: 700; }
.card-open span { color: #767a6d; font-size: 14px; transition: transform .2s ease; }
.app-link:hover .card-open span { color: #697c30; transform: translate(2px, -2px); }
.app-link:focus-visible { outline: 2px solid #6c812e; outline-offset: 5px; }
.app-link:hover .card-visual { filter: saturate(1.13); }
.empty-state { padding: 38px 12px; color: var(--muted); text-align: center; font-size: 13px; }

.visual-paper { display: grid; place-items: center; background: #dfd4b9; }
.paper-mark { z-index: 1; color: #bd5940; font: 500 102px/1 var(--serif); transform: translate(-4px, -4px); }
.paper-lines { position: absolute; right: 16%; bottom: 16%; width: 36%; height: 47%; border: 1px solid #645e4e60; transform: rotate(-7deg); }
.paper-lines::before, .paper-lines::after { position: absolute; right: 12%; left: 12%; height: 1px; content: ""; background: #645e4e55; }
.paper-lines::before { top: 31%; box-shadow: 0 17px #645e4e55, 0 34px #645e4e55; }
.paper-lines::after { top: 67%; width: 58%; }
.visual-stamp { position: absolute; right: 13%; top: 16%; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid #b6503b; border-radius: 50%; color: #a74d39; text-align: center; font: 8px/1.2 var(--mono); transform: rotate(12deg); }
.visual-chip { background: #c9da91; }
.chip-frame { position: absolute; top: 50%; left: 48%; display: grid; width: 106px; height: 106px; place-items: center; border: 1px solid #37442c; transform: translate(-50%, -50%) rotate(45deg); box-shadow: 8px 8px 0 #52613a2a; }
.chip-frame::before, .chip-frame::after { position: absolute; content: ""; inset: 10px; border: 1px solid #52613a7c; }
.chip-frame::after { inset: -8px 22px; border-width: 0 1px; }
.chip-core { position: relative; z-index: 1; color: #26311f; text-align: center; font: 10px/1.25 var(--mono); letter-spacing: .08em; transform: rotate(-45deg); }
.chip-orbit { position: absolute; top: 20%; left: 36%; width: 115px; height: 55px; border: 1px solid #66794b88; border-radius: 50%; transform: rotate(-23deg); }
.visual-label { position: absolute; right: 13px; bottom: 12px; color: #273122; font: 8px/1.4 var(--mono); letter-spacing: .11em; text-align: right; }
.visual-night { color: #ffb35c; background: #242b41; }
.visual-night::before { position: absolute; content: ""; right: -12%; bottom: -37%; width: 78%; height: 125%; border: 1px solid #ffab4a60; border-radius: 50%; transform: rotate(-33deg); }
.neon-sign { position: absolute; top: 34%; left: 12%; z-index: 1; color: #ffca82; font: 500 29px/.92 var(--mono); letter-spacing: -.09em; text-shadow: 0 0 13px #ff934d7a; transform: rotate(-4deg); }
.neon-sign b { color: #ff7657; font-size: 17px; letter-spacing: .04em; }
.night-window { position: absolute; right: 17%; bottom: 0; width: 25px; height: 55px; border: 1px solid #7182a068; background: #3c4563; }
.window-two { right: 32%; height: 75px; width: 30px; }
.window-three { right: 9%; height: 40px; width: 32px; }
.visual-night .visual-index, .visual-night .visual-label { color: #c2bed1; }
.visual-badge { color: #ebf7ec; background: #577c72; }
.badge-device { position: absolute; top: 51%; left: 43%; width: 103px; height: 116px; border: 2px solid #dbe9d9; border-radius: 13px; background: #99baaa; box-shadow: 5px 8px 0 #314d45; transform: translate(-50%, -50%) rotate(-7deg); }
.badge-screen { position: absolute; inset: 11px 9px 22px; display: grid; place-content: center; border: 1px solid #315044; background: #d2e0bf; color: #3d6552; text-align: center; font: 10px/1.5 var(--mono); }
.badge-screen b { color: #bf5c47; font-size: 14px; }
.badge-port { position: absolute; bottom: 7px; left: 50%; width: 19px; height: 5px; border-radius: 4px; background: #315044; transform: translateX(-50%); }
.transfer-arrow { position: absolute; top: 44%; left: 64%; color: #edf3db; font: 36px/.8 var(--serif); }
.badge-pixel { position: absolute; top: 21%; right: 14%; width: 29px; height: 29px; background: linear-gradient(90deg, #d6eb8e 48%, transparent 48%) 0 0/12px 12px, linear-gradient(#d6eb8e 48%, transparent 48%) 0 0/12px 12px; transform: rotate(45deg); }
.visual-badge .visual-index, .visual-badge .visual-label { color: #e4f0dc; }
.visual-arcade { background: #e8c6ce; }
.brick { position: absolute; top: 31%; z-index: 1; width: 18%; height: 13px; border: 1px solid #4a3945; background: #f15b40; box-shadow: inset 0 -3px #aa403d; }
.brick-a { left: 12%; }.brick-b { left: 32%; background: #ef9f42; box-shadow: inset 0 -3px #b65c42; }.brick-c { left: 52%; background: #d5ed6f; box-shadow: inset 0 -3px #94aa4c; }.brick-d { top: 42%; left: 22%; background: #7a9ecc; box-shadow: inset 0 -3px #53688c; }.brick-e { top: 42%; left: 42%; background: #d783a5; box-shadow: inset 0 -3px #a45176; }
.arcade-ball { position: absolute; top: 62%; left: 59%; width: 10px; height: 10px; border-radius: 50%; background: #f15b40; box-shadow: 0 0 9px #f15b4080; }
.arcade-paddle { position: absolute; bottom: 17%; left: 33%; width: 33%; height: 7px; border-radius: 4px; background: #353644; }
.arcade-score { position: absolute; top: 17%; right: 14%; color: #503c49; font: 8px var(--mono); letter-spacing: .09em; }
.visual-arcade .visual-index, .visual-arcade .visual-label { color: #52404a; }
.visual-arcade .visual-label { left: 13px; right: auto; text-align: left; }

.footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 86px; padding: 16px clamp(24px, 6vw, 92px); border-top: 1px solid var(--line); }
.footer-mark span { width: 27px; height: 27px; font-size: 13px; }
.footer p { margin: 0; color: #777b6f; font: 8px var(--mono); letter-spacing: .12em; }
.back-top { font-size: 10px; font-weight: 600; text-decoration: none; }

@keyframes card-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 850px) {
  .hero { padding-right: 6vw; padding-left: 6vw; }
  .catalog { padding-right: 6vw; padding-left: 6vw; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 20px; }
}
@media (max-width: 600px) {
  .topbar { height: 58px; padding: 0 18px; }
  .wordmark { gap: 9px; font-size: 10px; }
  .wordmark-symbol { width: 30px; height: 30px; }
  .topnav { gap: 14px; }
  .topnav a { font-size: 10px; }
  .search-shortcut { display: none; }
  .hero { min-height: 0; grid-template-columns: 1fr; align-content: center; gap: 16px; padding: 23px 22px 24px; }
  .hero h1 { margin-top: 7px; font-size: clamp(31px, 9vw, 38px); }
  .hero-lede { font-size: 12px; }
  .hero-summary { gap: 18px; padding: 12px 0 0; border-top: 1px solid #53584c; border-left: 0; }
  .hero-count strong { font-size: 32px; }
  .catalog { padding: 31px 20px 52px; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
  .section-heading h2 { font-size: 29px; }
  .section-note { font-size: 10px; }
  .catalog-tools { align-items: stretch; flex-direction: column; gap: 10px; margin-top: 18px; }
  .filters { gap: 2px; }
  .filter-button { padding: 7px 11px; }
  .search-box { width: 100%; }
  .app-grid { grid-template-columns: 1fr; gap: 22px; }
  .card-visual { height: clamp(104px, 30vw, 132px); }
  .app-card p { min-height: 0; }
  .card-open { margin-top: 12px; }
  .footer { min-height: 72px; flex-wrap: wrap; padding: 14px 20px; }
  .footer p { font-size: 7px; }
  .back-top { margin-left: auto; }
}
