:root {
  --ink: #f4f1e8;
  --muted: #a5a49f;
  --bg: #090a0c;
  --panel: #121417;
  --line: rgba(255, 255, 255, 0.11);
  --lime: #c8ff3d;
  --violet: #aa87ff;
  --cyan: #47d9ff;
  --orange: #ff8b51;
  --display: "Space Grotesk", sans-serif;
  --body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--body);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
::selection { color: #0a0b0d; background: var(--lime); }

.noise {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: .035;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.section-shell,
.site-header { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 94px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font: 700 20px var(--display); }
.brand-mark {
  display: grid;
  width: 40px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--lime);
  color: #0b0d09;
  font-size: 12px;
  letter-spacing: -.04em;
  transform: rotate(-7deg);
}
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; }
.site-nav > a { transition: color .2s ease; }
.site-nav > a:not(.nav-cta):hover { color: var(--lime); }
.nav-cta { padding: 13px 18px; border: 1px solid var(--line); border-radius: 100px; }
.nav-cta:hover { border-color: var(--lime); }
.menu-toggle { display: none; border: 0; background: transparent; }

.hero {
  display: grid;
  min-height: calc(100svh - 94px);
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 5vw;
  padding-block: 70px 110px;
}
.eyebrow { display: flex; align-items: center; gap: 10px; color: #c8c7c1; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 26px; height: 2px; background: var(--lime); }
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -.055em; }
h1 { max-width: 720px; margin-top: 28px; font-size: clamp(64px, 7.2vw, 112px); line-height: .86; }
h1 em, h2 em { color: var(--lime); font-style: normal; }
.hero-lede { max-width: 560px; margin: 34px 0 0; color: #bcbbb6; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 40px; min-height: 58px; padding: 0 22px; border-radius: 10px; font-size: 14px; font-weight: 700; }
.button-primary { color: #0b0d09; background: var(--lime); transition: transform .2s ease, box-shadow .2s ease; }
.button-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(200,255,61,.2); }
.text-link { display: inline-flex; gap: 10px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-weight: 600; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -3px); }
.hero-stats { display: flex; gap: clamp(28px, 4vw, 64px); margin-top: 66px; }
.hero-stats div { display: grid; gap: 2px; }
.hero-stats strong { font: 600 clamp(22px, 2vw, 30px) var(--display); }
.hero-stats span { color: var(--muted); font-size: 12px; }

.hero-visual {
  position: relative;
  min-height: 590px;
  border: 1px solid var(--line);
  border-radius: 50% 50% 45% 45%;
  background: radial-gradient(circle at 50% 50%, rgba(170,135,255,.19), transparent 44%), linear-gradient(145deg, #111318, #0b0c0f);
  isolation: isolate;
}
.hero-visual::after { content: ""; position: absolute; inset: 9%; z-index: -1; border: 1px dashed rgba(255,255,255,.14); border-radius: 50%; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.orbit-one { inset: 20%; }
.orbit-two { inset: 36%; }
.app-stack { position: absolute; inset: 0; }
.floating-app {
  position: absolute;
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 26px;
  background: rgba(17,19,24,.84);
  box-shadow: 0 24px 60px rgba(0,0,0,.42);
  backdrop-filter: blur(12px);
  transition: transform .3s ease, border-color .3s ease;
}
.floating-app img { width: clamp(106px, 10vw, 148px); border-radius: 20px; }
.floating-app span { padding-inline: 4px; color: #d9d8d3; font: 600 12px var(--display); letter-spacing: .08em; text-transform: uppercase; }
.floating-app:hover { border-color: var(--lime); }
.floating-app--mag { top: 16%; left: 38%; z-index: 3; transform: rotate(4deg); }
.floating-app--mag:hover { transform: rotate(1deg) translateY(-5px); }
.floating-app--break { top: 49%; left: 12%; z-index: 2; transform: rotate(-7deg); }
.floating-app--break:hover { transform: rotate(-3deg) translateY(-5px); }
.floating-app--sofa { top: 51%; right: 8%; transform: rotate(8deg); }
.floating-app--sofa:hover { transform: rotate(4deg) translateY(-5px); }
.visual-stamp { position: absolute; right: 5%; bottom: 7%; display: grid; width: 88px; aspect-ratio: 1; place-items: center; border: 1px solid var(--lime); border-radius: 50%; color: var(--lime); font: 600 11px/1.3 var(--display); text-align: center; text-transform: uppercase; transform: rotate(-10deg); }

.apps { padding-block: 120px; }
.section-heading { display: grid; grid-template-columns: 1fr .55fr; column-gap: 7vw; align-items: end; margin-bottom: 54px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 28px; }
h2 { font-size: clamp(45px, 5vw, 76px); line-height: 1; }
.section-heading > p:last-child { margin: 0 0 7px; color: var(--muted); line-height: 1.65; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app-card { display: flex; min-height: 620px; flex-direction: column; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); transition: transform .3s ease, border-color .3s ease; }
.app-card:hover { transform: translateY(-7px); border-color: rgba(255,255,255,.28); }
.app-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.app-icon { width: 112px; border-radius: 25px; box-shadow: 0 18px 45px rgba(0,0,0,.32); }
.app-number { color: rgba(255,255,255,.32); font: 600 12px var(--display); }
.app-card-copy { margin-top: auto; padding-top: 55px; }
.app-meta { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 17px; }
.app-meta span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 100px; color: #c9c8c2; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.app-card h3 { font-size: clamp(34px, 3vw, 48px); }
.app-card p { min-height: 76px; margin: 16px 0 20px; color: #b2b1ac; line-height: 1.55; }
.feature-list { display: flex; gap: 8px 18px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; color: #e3e1da; font-size: 12px; }
.feature-list li::before { content: "+"; margin-right: 5px; color: var(--lime); }
.store-link { display: flex; align-items: center; gap: 11px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font: 600 15px/1.1 var(--display); }
.store-link small { display: block; margin-bottom: 2px; color: var(--muted); font: 500 9px var(--body); letter-spacing: .07em; text-transform: uppercase; }
.store-link .arrow { margin-left: auto; font-size: 20px; transition: transform .2s ease; }
.store-link:hover .arrow { transform: translate(3px,-3px); }
.play-symbol { width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 15px solid var(--lime); }
.app-card--mag { background: radial-gradient(circle at 100% 0, rgba(170,135,255,.18), transparent 36%), var(--panel); }
.app-card--code { background: radial-gradient(circle at 100% 0, rgba(71,217,255,.15), transparent 36%), var(--panel); }
.app-card--sofa { background: radial-gradient(circle at 100% 0, rgba(255,139,81,.15), transparent 36%), var(--panel); }

.studio { padding-block: 80px 140px; }
.studio-panel { display: grid; grid-template-columns: 1.1fr .7fr; gap: 8vw; padding: 75px; border-radius: 24px; color: #10120e; background: var(--lime); }
.studio-panel .eyebrow { color: #34382b; }
.studio-panel .eyebrow span { background: #171a12; }
.studio-panel h2 em { color: #6544b5; }
.studio-copy { align-self: end; }
.studio-copy p { margin: 0 0 18px; color: #34382f; font-size: 17px; line-height: 1.65; }
.studio-copy .text-link { margin-top: 20px; color: #11140e; }

.contact { padding-block: 80px 150px; }
.contact h2 { margin-top: 30px; font-size: clamp(52px, 7vw, 108px); }
.contact-link { display: flex; align-items: center; justify-content: space-between; margin-top: 70px; padding-block: 25px; border-block: 1px solid var(--line); color: #d1d0ca; font: 500 clamp(19px, 3.5vw, 52px) var(--display); letter-spacing: -.03em; transition: color .2s ease, padding .2s ease; }
.contact-link:hover { padding-inline: 16px; color: var(--lime); }

.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding-block: 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer .brand { color: var(--ink); }
.site-footer p:nth-child(2) { text-align: center; }
.site-footer p:last-child { text-align: right; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.app-card:nth-child(2) { transition-delay: .08s; }
.app-card:nth-child(3) { transition-delay: .16s; }

@media (max-width: 980px) {
  .section-shell, .site-header { width: min(100% - 36px, 720px); }
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-visual { min-height: 540px; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { min-height: 540px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p:last-child { max-width: 560px; margin-top: 24px; }
  .studio-panel { grid-template-columns: 1fr; padding: 50px; }
}

@media (max-width: 680px) {
  .section-shell, .site-header { width: calc(100% - 28px); }
  .site-header { height: 78px; }
  .menu-toggle { position: relative; z-index: 22; display: grid; width: 44px; height: 44px; place-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 50%; }
  .menu-toggle span { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; z-index: 21; display: flex; visibility: hidden; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; padding: 80px 30px; opacity: 0; background: #0b0c0f; font: 600 38px var(--display); transition: opacity .25s ease, visibility .25s ease; }
  .site-nav.is-open { visibility: visible; opacity: 1; }
  .nav-cta { margin-top: 15px; font: 600 15px var(--body); }
  .hero { min-height: auto; padding-block: 65px 90px; }
  h1 { font-size: clamp(57px, 18vw, 80px); }
  .hero-lede { font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .button { width: 100%; }
  .hero-stats { justify-content: space-between; gap: 12px; margin-top: 50px; }
  .hero-stats strong { font-size: 21px; }
  .hero-stats span { font-size: 10px; }
  .hero-visual { min-height: 420px; margin-top: 10px; }
  .floating-app { padding: 8px; border-radius: 19px; }
  .floating-app img { width: 94px; border-radius: 15px; }
  .floating-app--mag { top: 13%; left: 35%; }
  .floating-app--break { top: 52%; left: 5%; }
  .floating-app--sofa { top: 52%; right: 4%; }
  .visual-stamp { width: 68px; font-size: 9px; }
  .apps { padding-block: 90px; }
  .app-card { min-height: 570px; padding: 20px; }
  .app-icon { width: 92px; border-radius: 21px; }
  .app-card p { min-height: auto; }
  .studio { padding-block: 45px 90px; }
  .studio-panel { padding: 34px 24px; }
  .contact { padding-block: 70px 110px; }
  .contact-link { margin-top: 50px; font-size: 17px; }
  .site-footer { grid-template-columns: 1fr auto; gap: 22px; }
  .site-footer p:nth-child(2) { display: none; }
}

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