:root {
  color-scheme: dark;
  --bg: #070706;
  --ink: #f4f2ed;
  --muted: #999893;
  --line: rgba(255,255,255,.11);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 25%, rgba(61,131,223,.11), transparent 30rem),
    radial-gradient(circle at 86% 58%, rgba(255,151,29,.1), transparent 32rem),
    linear-gradient(150deg, #0b0d10 0%, #070706 48%, #0d0a07 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
.hub-nav, .hub-footer, .hub-hero, .app-gallery { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.hub-nav {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.studio-mark { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.mark-dots { width: 34px; height: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 7px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.04); }
.mark-dots i { border-radius: 3px; background: #68aeff; box-shadow: 0 0 16px rgba(76,153,255,.5); }
.mark-dots i + i { background: #ff9f1c; box-shadow: 0 0 16px rgba(255,159,28,.5); }
.nav-note { color: #777872; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

.hub-hero { position: relative; isolation: isolate; padding: 112px 0 94px; text-align: center; }
.hero-orbit { position: absolute; z-index: -1; left: 50%; top: 38%; translate: -50% -50%; border: 1px solid rgba(255,255,255,.045); border-radius: 50%; }
.orbit-one { width: 460px; height: 460px; }
.orbit-two { width: 720px; height: 720px; opacity: .55; }
.hub-eyebrow { margin: 0 0 24px; color: #b5b4ae; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(60px, 9vw, 120px); line-height: .88; letter-spacing: -.075em; font-weight: 760; }
h1 span { color: transparent; background: linear-gradient(110deg, #9ecbff 10%, #f2efe7 50%, #ffb54f 90%); background-clip: text; -webkit-background-clip: text; }
.hub-lead { margin: 34px auto 0; color: var(--muted); font-size: clamp(16px, 1.7vw, 20px); line-height: 1.8; }

.app-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-bottom: 120px; }
.app-card {
  position: relative;
  min-height: 610px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255,255,255,.035);
  box-shadow: 0 35px 90px rgba(0,0,0,.32);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .45s ease;
}
.app-card:hover { transform: translateY(-9px); border-color: rgba(255,255,255,.22); box-shadow: 0 48px 110px rgba(0,0,0,.48); }
.card-light { position: absolute; width: 440px; height: 440px; top: -230px; right: -190px; border-radius: 50%; filter: blur(10px); opacity: .2; pointer-events: none; }
.dual-card .card-light { background: #397ed0; }
.creative-card .card-light { background: #ff8b13; }
.app-icon-wrap { position: relative; z-index: 1; }
.app-icon-wrap img { width: 150px; height: 150px; display: block; border-radius: 32px; box-shadow: 0 26px 62px rgba(0,0,0,.58); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.app-card:hover .app-icon-wrap img { transform: scale(1.04) rotate(-1deg); }
.app-copy { position: relative; z-index: 1; }
.app-number { display: block; margin-bottom: 28px; color: #62635f; font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; }
.app-kicker { margin: 0 0 9px; color: #a2a4a1 !important; font-size: 11px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.app-copy h2 { margin: 0 0 18px; font-size: clamp(34px, 4vw, 55px); line-height: 1; letter-spacing: -.055em; }
.app-copy p { max-width: 470px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.enter-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; font-size: 14px; font-weight: 680; }
.enter-link b { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; font-size: 12px; transition: transform .25s ease, background .25s ease; }
.app-card:hover .enter-link b { transform: translate(2px,-2px); background: rgba(255,255,255,.1); }

.hub-footer { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); color: #666762; font-size: 12px; }

@media (max-width: 820px) {
  .hub-hero { padding: 90px 0 72px; }
  .app-gallery { grid-template-columns: 1fr; }
  .app-card { min-height: 530px; }
}

@media (max-width: 560px) {
  .hub-nav, .hub-footer, .hub-hero, .app-gallery { width: min(calc(100% - 28px), var(--max)); }
  .hub-nav { height: 70px; }
  .nav-note { display: none; }
  .hub-hero { padding: 80px 0 62px; }
  h1 { font-size: clamp(54px, 17vw, 78px); }
  .hub-lead br { display: none; }
  .app-gallery { gap: 14px; padding-bottom: 74px; }
  .app-card { min-height: 480px; padding: 32px; border-radius: 24px; }
  .app-icon-wrap img { width: 112px; height: 112px; border-radius: 25px; }
  .hub-footer { min-height: 100px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
