@font-face {
  font-family: Manrope;
  src: url('assets/manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --canvas: #101210;
  --surface: #1a1e1a;
  --ink: #f1f4eb;
  --muted: #a9b1a4;
  --line: #31372e;
  --acid: #d5f975;
  --ease: cubic-bezier(.2,.75,.25,1);
  font-family: Manrope, 'Segoe UI', sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
::selection { background: var(--acid); color: var(--canvas); }
a:focus-visible { outline: 3px solid var(--acid); outline-offset: 6px; border-radius: 6px; }
.skip-link { position: fixed; top: 12px; left: 16px; padding: 12px 20px; background: var(--acid); color: var(--canvas); z-index: 10; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.page-glow { position: absolute; inset: 0 0 auto; height: 620px; pointer-events: none; background: radial-gradient(ellipse at 78% 3%, #6b86371a, transparent 60%); z-index: -1; }
.masthead, main, footer { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.masthead { min-height: 105px; display: flex; gap: 32px; align-items: center; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 13px; align-items: center; font-weight: 800; font-size: 22px; letter-spacing: -.9px; }
.brand-icon { background: var(--acid); color: var(--canvas); width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 34px; line-height: 1; letter-spacing: -3px; padding: 0 4px 5px 0; transition: transform .3s var(--ease), border-radius .3s; }
.brand:hover .brand-icon { transform: rotate(-9deg); border-radius: 9px; }
.brand-section { color: #969f91; font-weight: 500; }
.masthead nav { display: flex; gap: 28px; margin-left: auto; }
.masthead nav a { color: #c4cabc; font-size: 14px; transition: color .2s; }
.masthead nav a:hover { color: var(--acid); }
.masthead nav span { font-size: 12px; color: #979f90; margin-left: 5px; }
.edition { font-size: 12px; letter-spacing: 1.3px; color: #a8b39c; padding-left: 32px; border-left: 1px solid var(--line); }
.intro { display: grid; grid-template-columns: 1fr 290px; align-items: end; gap: 40px; padding: 51px 0 49px; }
.eyebrow { display: flex; gap: 8px; align-items: center; margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--muted); }
.signal-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 12px #d5f93450; animation: signal 1.2s ease-in-out 3; }
h1 { font-size: clamp(48px, 6.5vw, 88px); line-height: 1.03; font-weight: 600; letter-spacing: -.065em; margin: 0; }
h1 > span:not(.title-stop) { color: var(--acid); }
.title-stop { color: var(--acid); display: inline-block; transform-origin: bottom center; animation: dot-in .8s .4s var(--ease) backwards; }
.intro-copy { animation: intro-in .85s var(--ease) both; }
.intro-aside { animation: intro-in .9s .13s var(--ease) both; padding-bottom: 4px; }
.intro-symbol { display: none; }
.intro-aside p { font-size: 16px; line-height: 1.8; color: #b5bdaf; margin: 0 0 16px; }
.jump-link { display: inline-flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; color: var(--acid); }
.jump-link span { display: inline-block; transition: transform .25s var(--ease); }
.jump-link:hover span { transform: translateY(4px); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 22px; }
.section-heading h2 { font-size: 18px; font-weight: 600; letter-spacing: -.4px; margin: 0; display: flex; align-items: center; gap: 12px; }
.count { font: 500 12px/1.2 Manrope, sans-serif; color: #afb9a5; padding: 4px 7px; border: 1px solid #3b4335; border-radius: 5px; letter-spacing: 0; }
.section-note { color: #a6b09c; font-size: 12px; letter-spacing: 1.6px; }
.collection, .previews { scroll-margin-top: 30px; }
.catalog { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.app-card { --tone: #92bafa; --wash: #202d3e; --rgb: 146,186,250; display: block; grid-column: span 4; min-width: 0; border-radius: 22px; perspective: 900px; outline-offset: 6px; }
.purple { --tone: #c1a2f5; --wash: #30273e; --rgb: 193,162,245; }
.mint { --tone: #83d8b5; --wash: #20352e; --rgb: 131,216,181; }
.orange { --tone: #edb089; --wash: #3a2c24; --rgb: 237,176,137; }
.yellow { --tone: #ebd17e; --wash: #383323; --rgb: 235,209,126; }
.pink { --tone: #eca5c4; --wash: #3c2731; --rgb: 236,165,196; }
.cyan { --tone: #81d2db; --wash: #203238; --rgb: 129,210,219; }
.lime { --tone: #bbd882; --wash: #2c3423; --rgb: 187,216,130; }
.card-surface { height: 100%; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 304px; padding: 23px 26px 19px; background: linear-gradient(135deg, rgba(var(--rgb), .045), transparent 60%), #1b1e1b; border: 1px solid #343b31; border-radius: 22px; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, background-color .35s; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.card-surface::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(450px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--rgb), .12), transparent 65%); transition: opacity .4s; pointer-events: none; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.category { color: var(--tone); font-size: 14px; font-weight: 600; letter-spacing: .2px; }
.card-number { color: #99a38f; font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.card-content { position: relative; flex: 1; padding-top: 22px; }
.icon-stage { width: 54px; height: 54px; position: relative; display: grid; place-items: center; margin-bottom: 19px; }
.app-icon { position: relative; width: 54px; height: 54px; border-radius: 16px; background: var(--wash); color: var(--tone); border: 1px solid rgba(var(--rgb), .15); display: grid; place-items: center; transform: translateZ(0); transition: transform .45s var(--ease), box-shadow .45s; }
.app-icon svg { width: 27px; height: 27px; stroke-width: 1.65; }
.icon-orbit { display: none; }
h3 { font-size: 25px; font-weight: 650; letter-spacing: -1px; line-height: 1.2; margin: 0 0 10px; }
.card-copy p { font-size: 16px; line-height: 1.6; color: #b8c0b2; margin: 0 0 25px; max-width: 32ch; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid #373e32; }
.destination { color: #a1ad97; font-size: 12px; letter-spacing: .1px; overflow-wrap: anywhere; min-width: 0; display: flex; align-items: center; gap: 7px; }
.open-arrow { width: 32px; height: 32px; border-radius: 50%; background: #ffffff07; border: 1px solid #ffffff0e; display: grid; place-items: center; flex-shrink: 0; overflow: hidden; color: #dbe2d3; transition: background .25s, color .25s, border-color .25s; }
.open-arrow svg { height: 17px; width: 17px; }
.featured { grid-column: span 6; }
.featured .card-surface { background: linear-gradient(125deg, rgba(var(--rgb), .055), transparent 80%), #1b201d; min-height: 318px; padding: 23px 30px 18px; }
.featured .card-content { padding-top: 27px; }
.featured h3 { font-size: 44px; font-weight: 600; line-height: 1.05; letter-spacing: -2.4px; margin-bottom: 13px; }
.featured .card-copy { padding-right: 110px; }
.featured .card-copy p { font-size: 16px; line-height: 1.6; margin-bottom: 5px; max-width: 30ch; }
.featured .card-copy .extra-description { color: #adb9a6; font-size: 14px; margin-bottom: 24px; max-width: 32ch; }
.featured .icon-stage { position: absolute; right: 9px; top: 36px; width: 100px; height: 110px; perspective: 400px; }
.featured .app-icon { width: 94px; height: 94px; border-radius: 27px; box-shadow: 0 12px 26px #0003, inset 0 1px 1px #fff1; transform: rotate(8deg); }
.featured .app-icon svg { width: 47px; height: 47px; stroke-width: 1.4; }
.featured .icon-orbit { display: block; position: absolute; width: 145px; height: 145px; border: 1px solid rgba(var(--rgb), .11); border-radius: 38px; transform: rotate(-12deg); transition: transform .7s var(--ease), border-color .5s; }
.featured .orbit-two { width: 178px; height: 178px; border-radius: 49px; border-style: dashed; opacity: .6; transform: rotate(8deg); }
.app-watching .icon-stage { top: 51px; }
.app-watching .app-icon { transform: rotate(-9deg); }
.previews { padding-top: 48px; margin-top: 56px; border-top: 1px solid var(--line); }
.previews .eyebrow { font-size: 12px; margin-bottom: 12px; }
.previews .section-heading { margin-bottom: 25px; }
.previews h2 { font-size: 25px; }
.preview-note { font-size: 13px; display: flex; align-items: center; gap: 9px; color: var(--muted); }
.preview-note svg { height: 14px; width: 14px; }
.preview-grid .app-card { grid-column: span 6; }
.private-card .card-surface { background: #181c18; border-style: dashed; min-height: 223px; padding: 21px 25px 17px; }
.private-card .card-content { display: flex; align-items: flex-start; gap: 20px; padding-top: 19px; }
.private-card .icon-stage { flex-shrink: 0; }
.private-card h3 { font-size: 22px; }
.private-card .card-copy p { max-width: 36ch; margin-bottom: 21px; }
.private-card .category { color: #abb5a3; }
.private-card .app-icon { background: #252c24; border-color: #3b4435; color: #b2c0a6; }
.lock-icon svg { width: 12px; height: 12px; display: block; }
footer { margin-top: 70px; padding: 26px 0 36px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 24px; }
.footer-brand { font-size: 30px; font-weight: 800; letter-spacing: -1.8px; }
.footer-brand span { color: var(--acid); }
footer > span { font-size: 12px; color: #a0ac96; }
.back-top { margin-left: auto; color: #b7c0ae; font-size: 13px; }
.back-top span { display: inline-block; margin-left: 15px; transition: transform .3s; }
.back-top:hover span { transform: translateY(-4px); }

/* One-off entrance animations; nothing runs continuously while idle. */
.app-card.reveal { animation: card-in .7s var(--ease) both; }
.app-card.reveal:nth-child(3n + 2) { animation-delay: .065s; }
.app-card.reveal:nth-child(3n) { animation-delay: .13s; }
@keyframes intro-in { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes card-in { from { opacity: .01; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@keyframes signal { 50% { box-shadow: 0 0 0 5px #d5f93410; } }
@keyframes dot-in { from { transform: translateY(-25px); opacity: 0; } 60% { transform: translateY(3px); } to { transform: translateY(0); opacity: 1; } }
@keyframes arrow-out { 40% { transform: translate(16px, -16px); opacity: 0; } 41% { transform: translate(-16px, 16px); opacity: 0; } to { transform: translate(0, 0); opacity: 1; } }
@keyframes needle { 35% { rotate: 40deg; } 65% { rotate: -15deg; } to { rotate: 0deg; } }
@keyframes hop { 35% { translate: 0 -4px; } 65% { translate: 0 1px; } to { translate: 0 0; } }
@keyframes play { 35% { scale: 1.15; } 70% { scale: .95; } to { scale: 1; } }
@keyframes roll { to { rotate: 180deg; } }

@media (hover: hover) and (pointer: fine) {
  .app-card:hover .card-surface { border-color: rgba(var(--rgb), .48); box-shadow: 0 14px 40px #0004; background-color: #20261f; }
  .app-card:hover .card-surface::before { opacity: 1; }
  .app-card:hover .app-icon { transform: translateY(-3px) rotate(-6deg); box-shadow: 0 8px 23px rgba(var(--rgb), .08); }
  .featured:hover .app-icon { transform: rotate(-3deg) translateY(-3px); }
  .featured:hover .orbit-one { transform: rotate(10deg); border-color: rgba(var(--rgb), .24); }
  .featured:hover .orbit-two { transform: rotate(-12deg); }
  .app-card:hover .open-arrow { background: var(--tone); color: #141b13; border-color: var(--tone); }
  .app-card:hover .open-arrow svg { animation: arrow-out .45s var(--ease); }
  .app-compass:hover .app-icon svg path, .app-compass-uat:hover .app-icon svg path { transform-origin: 12px 12px; animation: needle 1s var(--ease); }
  .app-watching:hover .app-icon svg path:first-child { transform-origin: 12px 10px; animation: play .75s var(--ease); }
  .app-worthwatching:hover .app-icon svg { animation: hop .7s var(--ease); }
  .app-lockerroom:hover .app-icon svg { animation: hop .7s var(--ease); }
  .app-roadword:hover .app-icon svg { animation: roll .7s var(--ease); }
  .app-connect4:hover .app-icon svg { animation: play .7s var(--ease); }
  .app-tabletennis:hover .app-icon svg { animation: hop .7s var(--ease); }
  .app-sturides:hover .app-icon svg { animation: hop .7s var(--ease); }
  .app-twinn:hover .app-icon svg { animation: play .7s var(--ease); }
}
.app-card:focus-visible .card-surface { border-color: var(--tone); }
.app-card:focus-visible .open-arrow { color: #141b13; background: var(--tone); }
.app-card:active .card-surface { transform: scale(.988); }

@media (min-width: 1500px) {
  .intro { padding-block: 61px; }
}
@media (max-width: 1100px) {
  .masthead, main, footer { width: calc(100% - 64px); }
  .edition { display: none; }
  .intro { grid-template-columns: 1fr 260px; gap: 20px; }
  .app-card { grid-column: span 6; }
  .featured .card-copy { padding-right: 65px; }
  .featured .icon-stage { right: -9px; top: 38px; scale: .75; }
  .featured h3 { font-size: 37px; }
  .featured .card-copy p { max-width: 25ch; }
  .card-surface { min-height: 310px; }
}
@media (max-width: 760px) {
  .masthead, main, footer { width: calc(100% - 40px); }
  .masthead { min-height: 85px; gap: 16px; }
  .masthead nav { gap: 16px; }
  .brand { font-size: 20px; gap: 10px; }
  .brand-icon { width: 35px; height: 35px; font-size: 30px; border-radius: 10px; }
  .brand-section { display: none; }
  .masthead nav a { font-size: 14px; }
  .masthead nav span { display: none; }
  .intro { padding: 37px 0 34px; grid-template-columns: 1fr; gap: 22px; }
  h1 { font-size: clamp(52px, 10vw, 72px); }
  .intro-aside { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
  .intro-aside p { font-size: 16px; margin: 0; }
  .intro-aside p br { display: none; }
  .intro-aside p { max-width: 260px; }
  .jump-link { font-size: 14px; flex-shrink: 0; }
  .intro .eyebrow { margin-bottom: 15px; font-size: 12px; }
  .catalog { gap: 15px; }
  .app-card, .preview-grid .app-card { grid-column: span 12; }
  .card-surface { min-height: 245px; padding: 22px 24px 17px; }
  .card-content { display: flex; gap: 20px; align-items: flex-start; padding-top: 25px; }
  .icon-stage { flex-shrink: 0; }
  h3 { font-size: 24px; }
  .card-copy p { max-width: 34ch; margin-bottom: 22px; }
  .featured .card-surface { min-height: 286px; padding: 23px 25px 17px; }
  .featured .card-content { display: block; padding-top: 28px; }
  .featured .card-copy { padding-right: 95px; }
  .featured .icon-stage { right: 0; top: 35px; scale: .9; }
  .featured h3 { font-size: 40px; }
  .featured .card-copy p { max-width: 27ch; }
  .section-note { display: none; }
  .previews { margin-top: 38px; padding-top: 30px; }
  .previews .section-heading { flex-wrap: wrap; gap: 13px; }
  .private-card .card-surface { min-height: 220px; }
  footer { margin-top: 42px; gap: 16px; flex-wrap: wrap; padding-block: 22px; }
  footer > span { order: 3; width: 100%; font-size: 12px; }
  .back-top { font-size: 12px; }
}
@media (max-width: 430px) {
  .intro-aside .jump-link { display: none; }
  .intro-aside p { max-width: 31ch; }
  .featured .card-copy { padding-right: 55px; }
  .featured .card-copy p { max-width: 24ch; }
  .featured .icon-stage { right: -16px; top: 30px; scale: .65; }
  .featured h3 { font-size: 36px; }
  .featured .card-copy .extra-description { max-width: 26ch; }
  .featured .card-surface { min-height: 300px; padding-inline: 22px; }
  .card-content { gap: 16px; }
  .icon-stage, .app-icon { width: 44px; height: 44px; }
  .app-icon { border-radius: 13px; }
  .app-icon svg { width: 24px; height: 24px; }
  h3 { font-size: 22px; letter-spacing: -.7px; }
  .card-copy p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card-surface { transform: none !important; }
  .app-card:hover .app-icon, .featured:hover .app-icon { transform: none; }
  .app-card { translate: none !important; }
}
