/* ==========================================================================
   APPGENIC
   A static site. No framework, no build step, no runtime dependencies.
   ---------------------------------------------------------------------------
   01 tokens          06 hero            10 platforms
   02 base            07 marquee         11 process
   03 utilities       08 device          12 studio
   04 chrome          09 work            13 faq
   05 nav                                14 cta + footer
                                         15 responsive
   ========================================================================== */

/* ============================ 01 · TOKENS ============================== */
:root {
  --bg:        #05060a;
  --bg-2:      #080a11;
  --bg-3:      #0c0f18;
  --surface:   rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .075);
  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .16);

  --txt:       #f2f5fb;
  --txt-2:     #a8b1c4;
  --txt-3:     #6b7488;

  --violet:    #7c5cff;
  --cyan:      #22d3ee;
  --pink:      #ff3d81;
  --lime:      #b6ff3d;
  --amber:     #ffb020;

  --grad: linear-gradient(100deg, var(--violet) 0%, var(--cyan) 46%, var(--pink) 100%);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --r: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-2: cubic-bezier(.22, .61, .36, 1);
}

/* ============================= 02 · BASE =============================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: #23283a var(--bg);
}
body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--violet); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 6px rgba(34, 211, 238, .16);
}

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 999;
  background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip:focus { top: 12px; }


/* A single tiling noise tile, base64 so it costs no request. Sits above the
   backgrounds and below content — kills gradient banding on wide dark areas. */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* =========================== 03 · UTILITIES ============================ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { position: relative; padding: clamp(80px, 11vw, 160px) 0; }
/* the nav is fixed, so anchor targets need to clear it */
section[id], main > span[id] { scroll-margin-top: 88px; }

.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 18px;
}
.kicker::before {
  content: ""; display: inline-block; width: 26px; height: 1px;
  background: var(--line-2); vertical-align: middle; margin-right: 12px;
}

.h2 {
  font-family: var(--display);
  font-size: clamp(38px, 6.2vw, 82px);
  line-height: .96;
  letter-spacing: -.035em;
  font-weight: 800;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.lead {
  color: var(--txt-2);
  font-size: clamp(16px, 1.35vw, 19px);
  max-width: 60ch;
  margin-top: 22px;
}
.lead--right { max-width: 46ch; }

.section-head { max-width: 900px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head--row {
  display: flex; flex-wrap: wrap; gap: 32px;
  align-items: flex-end; justify-content: space-between; max-width: none;
}
.section-head--row .lead { margin-top: 0; }

/* buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  letter-spacing: -.01em;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: transform .32s var(--ease), background .25s, border-color .25s, box-shadow .35s;
  will-change: transform;
}
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 18px 32px; font-size: 17px; }
.btn--primary {
  background: var(--grad);
  background-size: 200% 100%;
  color: #06070c;
  box-shadow: 0 10px 34px -12px rgba(124, 92, 255, .85), 0 0 0 1px rgba(255, 255, 255, .12) inset;
}
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 16px 44px -12px rgba(34, 211, 238, .8), 0 0 0 1px rgba(255, 255, 255, .2) inset; }
.btn--ghost {
  border: 1px solid var(--line-2);
  background: var(--surface);
  backdrop-filter: blur(14px);
}
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, .3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--txt);
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: transform .3s var(--ease), gap .25s;
}
.link-arrow:hover { gap: 14px; }
.link-arrow svg { color: var(--cyan); }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.noscript-note {
  display: none;
  border: 1px solid var(--line-2); border-left: 3px solid var(--cyan);
  border-radius: 14px; padding: 18px 22px;
  background: var(--surface);
  color: var(--txt-2); font-size: 14.5px; max-width: 62ch;
}
.noscript-note a { color: var(--cyan); text-decoration: underline; }

/* ============================ 04 · CHROME ============================== */
.preloader {
  position: fixed; inset: 0; z-index: 500;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.is-gone { opacity: 0; visibility: hidden; }
.preloader__inner { width: min(320px, 76vw); text-align: center; }
.preloader__mark { display: grid; place-items: center; margin-bottom: 28px; }
.preloader__stroke {
  stroke-dasharray: 120; stroke-dashoffset: 120;
  animation: draw 1.4s var(--ease) infinite alternate;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.preloader__bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .3s var(--ease-2); }
.preloader__meta {
  display: flex; justify-content: space-between;
  margin-top: 12px; font-family: var(--mono); font-size: 11px;
  letter-spacing: .22em; color: var(--txt-3);
}

.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 400; }
.cursor__dot, .cursor__ring {
  position: absolute; top: 0; left: 0;
  border-radius: 50%;
  margin-left: -3px; margin-top: -3px;
}
.cursor__dot { width: 6px; height: 6px; background: #fff; }
.cursor__ring {
  width: 34px; height: 34px; margin-left: -17px; margin-top: -17px;
  border: 1px solid rgba(255, 255, 255, .45);
  transition: width .28s var(--ease), height .28s var(--ease), margin .28s var(--ease), border-color .28s, background .28s;
}
.cursor.is-hot .cursor__ring {
  width: 54px; height: 54px; margin-left: -27px; margin-top: -27px;
  border-color: rgba(34, 211, 238, .8); background: rgba(34, 211, 238, .08);
}
.cursor.is-down .cursor__ring { width: 26px; height: 26px; margin-left: -13px; margin-top: -13px; }
html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }

.scrollbar { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 210; }
.scrollbar span {
  display: block; height: 100%; background: var(--grad);
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ============================== 05 · NAV =============================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(5, 6, 10, .72);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav__in {
  max-width: var(--wrap); margin-inline: auto;
  padding: 16px var(--pad);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; letter-spacing: -.03em; font-size: 19px; }
.brand__mark { display: grid; place-items: center; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }

.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 14.5px; color: var(--txt-2);
  transition: color .25s, background .25s;
}
.nav__links a:hover { color: var(--txt); background: var(--surface); }
.nav__links a.is-active { color: var(--txt); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 1.5px; background: var(--grad); border-radius: 2px;
}
.nav__right { display: flex; align-items: center; gap: 12px; margin-left: 8px; }

.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); position: relative; }
.burger span {
  position: absolute; left: 12px; width: 18px; height: 1.6px; background: var(--txt); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger.is-open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.mobilemenu {
  position: fixed; inset: 64px 0 0; z-index: 190;
  background: rgba(5, 6, 10, .96);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; gap: 6px;
  padding: 28px var(--pad);
  opacity: 0; transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mobilemenu[hidden] { display: none; }
.mobilemenu.is-open { opacity: 1; transform: none; }
.mobilemenu a { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -.03em; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobilemenu .btn { margin-top: 20px; justify-content: center; border-bottom: 0; font-size: 16px; }

/* ============================== 06 · HERO ============================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.blob--1 { width: 60vw; height: 60vw; max-width: 780px; max-height: 780px; left: -14vw; top: -18vh; background: radial-gradient(circle, rgba(124, 92, 255, .85), transparent 66%); animation: drift1 24s ease-in-out infinite alternate; }
.blob--2 { width: 52vw; height: 52vw; max-width: 700px; max-height: 700px; right: -12vw; top: 4vh; background: radial-gradient(circle, rgba(34, 211, 238, .6), transparent 66%); animation: drift2 30s ease-in-out infinite alternate; }
.blob--3 { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; left: 34vw; bottom: -26vh; background: radial-gradient(circle, rgba(255, 61, 129, .5), transparent 66%); animation: drift3 27s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate3d(8vw, 8vh, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-7vw, 12vh, 0) scale(1.1); } }
@keyframes drift3 { to { transform: translate3d(6vw, -10vh, 0) scale(1.2); } }

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(120% 90% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 20%, transparent 78%);
}
.vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(110% 80% at 50% 0%, transparent 40%, rgba(5, 6, 10, .7) 100%),
    linear-gradient(180deg, transparent 55%, var(--bg) 98%);
}

/* floating icons */
.icon-field { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.float {
  position: absolute;
  translate: -50% -50%;
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  animation: bob var(--dur, 9s) ease-in-out var(--delay, 0s) infinite alternate;
  will-change: transform;
}
.float .ico {
  width: var(--s); height: var(--s);
  rotate: var(--r);
  opacity: var(--o, .92);
  filter: blur(var(--bl, 0px));
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1) inset;
}
@keyframes bob { to { transform: translate3d(calc(var(--px, 0px) + 6px), calc(var(--py, 0px) - 20px), 0); } }

.hero__in {
  position: relative;
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--pad);
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: .96;
  letter-spacing: -.045em;
  font-weight: 900;
}
/* the padding/margin pair stops the mask clipping descenders */
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line > span { display: block; }
.hero__title .line.reveal { opacity: 1; transform: none; }
.hero__title .line.reveal > span { transform: translateY(105%); transition: transform 1s var(--ease); }
.hero__title .line.reveal.is-in > span { transform: none; }
.hero__title em { font-style: normal; }

.hero__sub { color: var(--txt-2); font-size: clamp(15.5px, 1.3vw, 18.5px); max-width: 52ch; margin-top: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__proof {
  display: grid; grid-template-columns: repeat(4, auto);
  gap: clamp(18px, 3vw, 46px);
  margin-top: 52px; padding-top: 26px;
  border-top: 1px solid var(--line);
  justify-content: start;
}
.hero__proof li { display: flex; flex-direction: column; }
.hero__proof b {
  font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1;
}
.hero__proof span { font-size: 12px; color: var(--txt-3); margin-top: 6px; letter-spacing: .03em; }

.hero__device { position: relative; display: grid; place-items: center; padding-bottom: 46px; }
.hero__device-halo {
  position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, .3), rgba(34, 211, 238, .14) 42%, transparent 68%);
  filter: blur(30px);
}
.hero__hint {
  position: absolute; bottom: 0; left: 50%; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(8, 10, 17, .8); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
  font-size: 12px; color: var(--txt-2); white-space: nowrap;
  animation: hintBob 2.6s ease-in-out infinite;
  transition: opacity .4s, transform .4s;
}
.hero__hint.is-gone { opacity: 0; transform: translate(-50%, 10px); }
@keyframes hintBob { 50% { transform: translate(-50%, -5px); } }

.scrollcue {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--txt-3);
}
.scrollcue__line { width: 1px; height: 44px; background: linear-gradient(180deg, transparent, var(--line-2)); position: relative; overflow: hidden; }
.scrollcue__line::after {
  content: ""; position: absolute; inset-inline: 0; height: 14px;
  background: var(--cyan); animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue { 0% { top: -14px; } 100% { top: 44px; } }

/* ============================ 07 · MARQUEE ============================= */
.marquee {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent);
  overflow: hidden; padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: mq 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.mq__set { display: flex; align-items: center; }
.mq__i {
  font-family: var(--display); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(20px, 2.6vw, 34px); color: var(--txt-2);
  padding-inline: 18px; white-space: nowrap;
  transition: color .3s;
}
.mq__i:hover { color: var(--txt); }
.mq__sep {
  font-size: 11px; opacity: .9;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
@keyframes mq { to { transform: translateX(-50%); } }

/* ============================= 08 · DEVICE ============================= */
/* Authored in a fixed 344 x 718 design space, scaled by --pscale. */
.phone {
  --pscale: 1;
  position: relative;
  width: calc(344px * var(--pscale));
  height: calc(718px * var(--pscale));
  perspective: 1600px;
  flex: none;
}
.phone__scale { width: 344px; height: 718px; transform: scale(var(--pscale)); transform-origin: 0 0; }
.phone__tilt { width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }

.phone__shadow {
  position: absolute; left: 8%; right: 8%; bottom: -34px; height: 90px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .85), transparent 68%);
  filter: blur(22px); z-index: -1;
}
.phone__body {
  position: relative; width: 100%; height: 100%;
  border-radius: 60px;
  background:
    linear-gradient(155deg, #6b7183 0%, #2d3140 18%, #171a24 42%, #22262f 62%, #7a8093 82%, #2b2f3b 100%);
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .1),
    0 40px 90px -30px rgba(0, 0, 0, .95),
    0 8px 30px -12px rgba(0, 0, 0, .7),
    inset 0 0 0 1.5px rgba(255, 255, 255, .07);
}
.phone__bezel {
  width: 100%; height: 100%;
  border-radius: 49px;
  background: #000;
  padding: 2px;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06);
}
.phone__screen {
  position: relative;
  width: 320px; height: 690px;
  border-radius: 47px;
  overflow: hidden;
  background: #05060a;
  isolation: isolate;
  outline-offset: -4px;
}
.phone__sheen {
  position: absolute; inset: 0; border-radius: 60px; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .1) var(--sheen, 50%), transparent 62%);
  mix-blend-mode: screen;
}
.phone__btn { position: absolute; background: linear-gradient(180deg, #5c6274, #2a2e3a); border-radius: 3px; }
.phone__btn--silent { left: -2.5px; top: 128px; width: 3.5px; height: 30px; }
.phone__btn--vup   { left: -2.5px; top: 182px; width: 3.5px; height: 58px; }
.phone__btn--vdn   { left: -2.5px; top: 254px; width: 3.5px; height: 58px; }
.phone__btn--power { right: -2.5px; top: 210px; width: 3.5px; height: 88px; }

/* wallpaper */
.wall { position: absolute; inset: 0; background: linear-gradient(165deg, #0a0d18, #120b22 45%, #06070d); }
.wall span { position: absolute; border-radius: 50%; filter: blur(46px); transition: transform 1s var(--ease); }
.wall__b1 { width: 260px; height: 260px; top: -60px; left: calc(-40px + var(--wall-x, 0px)); background: rgba(124, 92, 255, .7); }
.wall__b2 { width: 240px; height: 240px; bottom: 40px; right: calc(-70px - var(--wall-x, 0px)); background: rgba(34, 211, 238, .45); }
.wall__b3 { width: 200px; height: 200px; bottom: -50px; left: calc(30px + var(--wall-x, 0px)); background: rgba(255, 61, 129, .4); }
.wall::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .34), transparent 30%, transparent 62%, rgba(0, 0, 0, .5));
}

/* status bar */
.statusbar {
  position: absolute; top: 0; left: 0; right: 0; height: 54px; z-index: 6;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 30px 0 32px;
  font-size: 14.5px; font-weight: 700; letter-spacing: -.01em;
  color: #fff; pointer-events: none;
}
.sb__right { display: flex; align-items: center; gap: 5px; }
.sb__i { height: 11px; width: auto; color: #fff; }
.sb__i--bat { height: 12px; }

/* island */
.island {
  position: absolute; top: 12px; left: 50%; translate: -50% 0;
  width: 104px; height: 32px; border-radius: 20px; background: #000; z-index: 8;
  display: grid; place-items: center; justify-content: end; padding-right: 12px;
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .06);
}
.island__cam {
  width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #2b3d55, #060a12 62%);
  box-shadow: 0 0 0 1px rgba(90, 130, 180, .28);
}

/* springboard */
.springboard {
  position: absolute; top: 54px; left: 0; right: 0; bottom: 122px;
  overflow: hidden; z-index: 3;
  touch-action: pan-y;
}
.pages { display: flex; height: 100%; transition: transform .62s var(--ease); will-change: transform; }
.page {
  width: 320px; flex: none; height: 100%;
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 84px;
  gap: 14px 12px;
  padding: 10px 18px 0;
  align-content: start;
}

.tile {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  -webkit-user-select: none; user-select: none;
  transition: transform .2s var(--ease-2), opacity .2s;
}
.tile:active { transform: scale(.88); }
.tile__lab {
  font-size: 10.5px; line-height: 1.1; color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .7);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  letter-spacing: -.01em;
}

/* the squircle */
.ico {
  --is: 58px;
  position: relative; display: grid; place-items: center;
  width: var(--is); height: var(--is);
  border-radius: 24%;
  background: linear-gradient(155deg, var(--c1, #7c5cff), var(--c2, #22d3ee));
  box-shadow: 0 4px 12px -3px rgba(0, 0, 0, .6), inset 0 0 0 .6px rgba(255, 255, 255, .22);
  overflow: hidden; flex: none;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.ico__glyph { display: grid; place-items: center; width: 56%; height: 56%; color: #fff; }
.ico__glyph svg { width: 100%; height: 100%; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.ico__gloss {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .04) 44%, transparent 56%);
}
.ico--float { --is: var(--s, 58px); border-radius: 25%; }
.ico--card { --is: 62px; }
.ico--nav  { --is: 34px; }

/* widgets */
.wg {
  position: relative;
  border-radius: 20px; overflow: hidden;
  background: rgba(16, 18, 28, .58);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .6), inset 0 0 0 .6px rgba(255, 255, 255, .14);
  padding: 12px 13px;
  display: flex; flex-direction: column;
  color: #fff;
}
.wg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(150deg, var(--c1), var(--c2)); opacity: .2;
}
.wg > * { position: relative; }
.wg__top { display: flex; align-items: center; justify-content: space-between; }
.wg__loc { font-size: 11px; font-weight: 600; opacity: .9; }
.wg__ico { width: 15px; height: 15px; opacity: .9; }
.wg__ico svg { width: 100%; height: 100%; }
.wg__big { font-family: var(--display); font-size: 40px; font-weight: 300; line-height: 1; letter-spacing: -.04em; margin-top: 2px; }
.wg__sub { font-size: 10px; opacity: .8; margin-top: auto; }
.wg__hrow { display: flex; justify-content: space-between; margin-top: 8px; }
.wg__h { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9.5px; }
.wg__h i { opacity: .65; font-style: normal; }
.wg__h b { font-weight: 600; }
.wg__rings { display: grid; place-items: center; flex: 1; }
.wg__rings svg { width: 74px; height: 74px; }

.wg--music { padding: 14px; }
.wg__music { display: flex; align-items: center; gap: 12px; height: 100%; }
.wg__art {
  width: 54px; height: 54px; border-radius: 10px; flex: none;
  background: linear-gradient(150deg, var(--c1), var(--c2));
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .8);
}
.wg__mtxt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.wg__mtxt b { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wg__mtxt i { font-size: 10px; opacity: .7; font-style: normal; }
.wg__scrub { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); margin-top: 4px; overflow: hidden; }
.wg__scrub em { display: block; height: 100%; background: #fff; }
.wg__play { width: 26px; height: 26px; display: grid; place-items: center; }
.wg__play svg { width: 16px; height: 16px; }
.wg__ev { display: flex; align-items: center; gap: 7px; margin-top: 7px; }
.wg__ev i { width: 2.5px; height: 20px; border-radius: 3px; flex: none; }
.wg__ev span { display: flex; flex-direction: column; min-width: 0; }
.wg__ev b { font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wg__ev em { font-size: 9px; opacity: .65; font-style: normal; }

/* dots + dock */
.dots {
  position: absolute; left: 0; right: 0; bottom: 108px; z-index: 4;
  display: flex; justify-content: center; gap: 7px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .32); transition: background .3s, transform .3s; }
.dot.is-on { background: #fff; transform: scale(1.08); }

.dock {
  position: absolute; left: 10px; right: 10px; bottom: 22px; height: 86px; z-index: 4;
  display: flex; align-items: center; justify-content: space-evenly;
  padding: 0 8px;
}
.dock__bg {
  position: absolute; inset: 0; border-radius: 30px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 0 0 .6px rgba(255, 255, 255, .14);
}
.tile--dock { position: relative; }

.homebar {
  position: absolute; left: 50%; translate: -50% 0; bottom: 8px; z-index: 12;
  width: 128px; height: 5px; border-radius: 3px;
  background: rgba(255, 255, 255, .55);
  transition: background .25s, width .3s var(--ease);
}
.phone.is-open .homebar { background: #fff; cursor: pointer; }
.homebar::before { content: ""; position: absolute; inset: -14px -30px; }

/* opened app */
.appview {
  position: absolute; inset: 0; z-index: 10;
  background: #0b0d14;
  opacity: 0; pointer-events: none;
  overflow: hidden;
  transform-origin: 0 0;
  transition: transform .52s var(--ease), opacity .34s var(--ease), border-radius .52s var(--ease);
}
.phone.is-open .appview { pointer-events: auto; }
.appview__inner { width: 320px; height: 690px; display: flex; }
.av {
  display: flex; flex-direction: column; width: 100%; height: 100%;
  background:
    radial-gradient(120% 60% at 20% 0%, color-mix(in srgb, var(--c1) 26%, transparent), transparent 70%),
    linear-gradient(180deg, #0d1019, #06070c);
  color: #fff;
}
.av__nav {
  display: flex; align-items: center; gap: 11px;
  padding: 58px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  flex: none;
}
.av__navtxt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.av__navtxt b { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.av__navtxt i { font-size: 10.5px; font-style: normal; color: rgba(255, 255, 255, .5); }
.av__x {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); color: #fff; flex: none;
}
.av__x svg { width: 14px; height: 14px; }
.av__body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 14px 16px 18px; scrollbar-width: none; }
.av__body::-webkit-scrollbar { display: none; }
.av__tabs {
  flex: none; display: flex; justify-content: space-around; align-items: center;
  padding: 10px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(14px);
}
.av__tabs span { width: 21px; height: 21px; color: rgba(255, 255, 255, .38); }
.av__tabs span svg { width: 100%; height: 100%; }

.av__sec { font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .42); margin: 18px 0 9px; }
.av__row { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .055); }
.av__rowico { width: 30px; height: 30px; border-radius: 9px; flex: none; opacity: .9; }
.av__rowart { width: 34px; height: 34px; border-radius: 7px; flex: none; filter: hue-rotate(calc(var(--i) * 28deg)); }
.av__rowtxt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.av__rowtxt b { font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av__rowtxt i { font-size: 10.5px; font-style: normal; color: rgba(255, 255, 255, .48); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av__rowval { font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .7); flex: none; }

.av__cells { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.av__cell {
  background: rgba(255, 255, 255, .05); border-radius: 13px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 3px;
}
.av__cell i { font-style: normal; font-size: 9.5px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .42); }
.av__cell b { font-size: 16px; font-family: var(--display); font-weight: 700; }

/* music */
.av__art {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 18px; margin-top: 4px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .95);
}
.av__artglow { position: absolute; inset: 12% 10% -8%; background: inherit; filter: blur(26px); opacity: .5; z-index: -1; }
.av__track { margin-top: 16px; display: flex; flex-direction: column; }
.av__track b { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.av__track i { font-style: normal; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.av__scrub { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); margin-top: 14px; overflow: hidden; }
.av__scrub span { display: block; height: 100%; border-radius: 4px; }
.av__times { display: flex; justify-content: space-between; font-size: 10px; color: rgba(255, 255, 255, .45); margin-top: 5px; }
.av__transport { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 12px; }
.av__tbtn { width: 26px; height: 26px; color: #fff; }
.av__tbtn svg { width: 100%; height: 100%; }
.av__tbtn--main { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #05060a; }
.av__tbtn--main svg { width: 22px; height: 22px; }

/* weather */
.wx { display: flex; flex-direction: column; align-items: center; padding: 14px 0 6px; }
.wx__loc { font-size: 14px; font-weight: 600; }
.wx__temp { font-family: var(--display); font-size: 74px; font-weight: 200; line-height: 1; letter-spacing: -.05em; }
.wx__temp sup { font-size: .4em; vertical-align: super; font-weight: 300; }
.wx__cond { font-size: 12px; color: rgba(255, 255, 255, .58); }
.wx__hours {
  display: flex; justify-content: space-between; gap: 4px;
  background: rgba(255, 255, 255, .05); border-radius: 16px; padding: 12px 10px; margin-top: 16px;
}
.wx__h { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10px; flex: 1; }
.wx__h i { font-style: normal; color: rgba(255, 255, 255, .45); }
.wx__hb { width: 6px; border-radius: 4px; }
.wx__h b { font-weight: 600; }

/* rings / bars */
.av__rings { position: relative; display: grid; place-items: center; padding: 10px 0 4px; }
.av__rings svg { width: 168px; height: 168px; }
.av__ringlab { position: absolute; display: flex; flex-direction: column; align-items: center; }
.av__ringlab b { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.av__ringlab i { font-style: normal; font-size: 10px; color: rgba(255, 255, 255, .5); }
.av__rings--timer svg { width: 176px; height: 176px; }
.av__bars { display: flex; align-items: flex-end; gap: 6px; height: 66px; margin-top: 18px; }
.av__bars span { flex: 1; border-radius: 4px; min-height: 6px; }
.av__bars--tall { height: 84px; }

/* finance */
.av__balance { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; }
.av__balance i { font-style: normal; font-size: 11px; color: rgba(255, 255, 255, .45); text-transform: uppercase; letter-spacing: .12em; }
.av__balance b { font-family: var(--display); font-size: 38px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.av__delta { font-size: 11.5px; color: #34d399; }
.av__chart { margin-top: 12px; height: 90px; }
.av__chart svg { width: 100%; height: 100%; }

/* camera */
.ph__view {
  position: relative; border-radius: 16px; height: 168px; margin-top: 4px;
  display: grid; place-items: center; overflow: hidden;
}
.ph__frame { width: 62%; height: 62%; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 8px; }
.ph__meta { position: absolute; bottom: 8px; left: 10px; font-family: var(--mono); font-size: 9px; color: rgba(255, 255, 255, .7); }
.ph__modes { display: flex; justify-content: center; gap: 16px; margin-top: 14px; font-size: 10px; letter-spacing: .12em; }
.ph__modes b { color: #ffd23d; }
.ph__modes i { font-style: normal; color: rgba(255, 255, 255, .38); }
.ph__shutter { display: grid; place-items: center; margin-top: 12px; }
.ph__shutter span { width: 54px; height: 54px; border-radius: 50%; border: 3.5px solid #fff; background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 3px rgba(0, 0, 0, .5) inset; }
.ph__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ph__t { aspect-ratio: 1; border-radius: 6px; }

/* notes */
.av__search {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .07); border-radius: 11px; padding: 9px 12px;
  font-size: 12.5px; color: rgba(255, 255, 255, .45);
}
.av__search svg { width: 14px; height: 14px; }
.nt__card { border: 1px solid; border-radius: 15px; padding: 13px 14px; display: flex; flex-direction: column; gap: 4px; }
.nt__card b { font-size: 14px; }
.nt__card p { font-size: 11.5px; color: rgba(255, 255, 255, .58); }
.nt__card i { font-style: normal; font-size: 10px; color: rgba(255, 255, 255, .35); margin-top: 4px; }

/* chat */
.ch { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.ch__m { max-width: 78%; padding: 9px 13px; border-radius: 17px; font-size: 12.5px; line-height: 1.45; }
.ch__m--in { align-self: flex-start; background: rgba(255, 255, 255, .1); border-bottom-left-radius: 5px; }
.ch__m--out { align-self: flex-end; border-bottom-right-radius: 5px; color: #06070c; font-weight: 500; }
.ch__typing { align-self: flex-start; display: flex; gap: 4px; background: rgba(255, 255, 255, .1); padding: 11px 13px; border-radius: 17px; border-bottom-left-radius: 5px; }
.ch__typing i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .55); animation: typ 1.3s infinite; }
.ch__typing i:nth-child(2) { animation-delay: .18s; }
.ch__typing i:nth-child(3) { animation-delay: .36s; }
@keyframes typ { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.ch__bar {
  display: flex; align-items: center; gap: 8px; margin-top: 14px;
  background: rgba(255, 255, 255, .07); border-radius: 999px; padding: 6px 6px 6px 15px;
  font-size: 12.5px; color: rgba(255, 255, 255, .4);
}
.ch__bar b { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #06070c; }

/* timer */
.tm__presets { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.tm__presets span { padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: 12px; }

/* maps */
.mp { border-radius: 16px; overflow: hidden; height: 200px; margin-top: 4px; background: #0e1119; }
.mp svg { width: 100%; height: 100%; }
.mp__card {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
  background: rgba(255, 255, 255, .06); border-radius: 15px; padding: 12px 14px; margin-top: 12px;
}
.mp__card b { font-size: 14px; width: 100%; }
.mp__card i { font-style: normal; font-size: 11px; color: rgba(255, 255, 255, .5); }
.mp__go { margin-left: auto; padding: 7px 18px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #06070c; }

/* secure / generic hero */
.sc__hero, .sl__hero {
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px;
  padding: 18px; display: flex; flex-direction: column; gap: 3px; margin-top: 4px;
}
.sc__lock, .sl__moon { width: 28px; height: 28px; margin-bottom: 6px; }
.sc__lock svg, .sl__moon svg { width: 100%; height: 100%; }
.sc__hero b, .sl__hero b { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.sc__hero i, .sl__hero i { font-style: normal; font-size: 11.5px; color: rgba(255, 255, 255, .5); }
.sl__hero b { font-size: 30px; }

/* code */
.cd { font-family: var(--mono); font-size: 11px; line-height: 1.75; background: rgba(255, 255, 255, .035); border-radius: 12px; padding: 12px 6px 12px 0; margin-top: 4px; overflow: hidden; }
.cd__l { display: flex; gap: 10px; }
.cd__l i { font-style: normal; width: 26px; text-align: right; color: rgba(255, 255, 255, .22); flex: none; }
.cd__l span { white-space: pre; }
.cd em { font-style: normal; }
.cd__kw { color: #ff7edb; } .cd__ty { color: #22d3ee; } .cd__va { color: #ffd23d; } .cd__p { color: #b8c1d9; }
.cd__bar { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: rgba(255, 255, 255, .4); margin-top: 10px; padding: 0 2px; }

/* design */
.ds__hero { border-radius: 16px; padding: 20px 16px; display: flex; flex-direction: column; color: #06070c; margin-top: 4px; }
.ds__hero b { font-family: var(--display); font-size: 20px; font-weight: 800; }
.ds__hero i { font-style: normal; font-size: 11px; opacity: .75; }
.ds__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 12px; }
.ds__s { aspect-ratio: 1; border-radius: 10px; box-shadow: inset 0 0 0 .6px rgba(255, 255, 255, .2); }

/* habits */
.hb__hero { display: flex; align-items: baseline; gap: 8px; padding-top: 6px; }
.hb__hero b { font-family: var(--display); font-size: 46px; font-weight: 800; letter-spacing: -.04em; }
.hb__hero i { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .5); }
.hb__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 14px; }
.hb__d { aspect-ratio: 1; border-radius: 6px; background: rgba(255, 255, 255, .07); }

/* calendar */
.cl__head { display: flex; align-items: baseline; gap: 8px; padding-top: 4px; }
.cl__head b { font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.cl__head i { font-style: normal; color: rgba(255, 255, 255, .45); font-size: 13px; }
.cl__dow, .cl__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cl__dow { margin-top: 10px; font-size: 10px; color: rgba(255, 255, 255, .35); }
.cl__grid { margin-top: 6px; }
.cl__d { aspect-ratio: 1; display: grid; place-items: center; font-size: 11px; border-radius: 50%; color: rgba(255, 255, 255, .75); }
.cl__d.is-now { color: #06070c; font-weight: 700; }

/* ============================== 09 · WORK ============================== */
.filters {
  position: relative; display: inline-flex; gap: 4px; padding: 5px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  margin-bottom: 36px; flex-wrap: wrap;
}
.filters__pill {
  position: absolute; top: 5px; bottom: 5px; left: 0;
  border-radius: 999px; background: var(--grad);
  transition: transform .45s var(--ease), width .45s var(--ease);
}
.filter {
  position: relative; z-index: 1;
  padding: 9px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--txt-2);
  transition: color .3s;
}
.filter.is-active { color: #06070c; font-weight: 600; }

.appgrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 18px;
}
.appcard {
  position: relative;
  border: 1px solid var(--line); border-radius: 22px;
  padding: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .35s var(--ease), border-color .35s, opacity .4s, scale .4s;
}
.appcard::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--c1) 60%, transparent) 30%, color-mix(in srgb, var(--c2) 55%, transparent) 70%, transparent);
  opacity: .5; transition: opacity .4s;
}
.appcard:hover::before { opacity: 1; }
.appcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .07), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.appcard:hover::after { opacity: 1; }
.appcard:hover { border-color: color-mix(in srgb, var(--c1) 55%, transparent); }
.appcard__glow {
  position: absolute; inset: -40% 40% 60% -40%;
  background: radial-gradient(circle, var(--c1), transparent 62%);
  opacity: .16; filter: blur(40px); transition: opacity .45s;
}
.appcard:hover .appcard__glow { opacity: .34; }
.appcard.is-hidden { display: none; }

.appcard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.appcard:hover .ico--card { transform: translateZ(30px) rotate(-6deg) scale(1.05); box-shadow: 0 18px 34px -14px rgba(0, 0, 0, .9), inset 0 0 0 .6px rgba(255, 255, 255, .25); }
.appcard__name { font-family: var(--display); font-size: 23px; font-weight: 700; letter-spacing: -.03em; margin-top: 18px; }
.appcard__cat { font-size: 11.5px; color: var(--txt-3); letter-spacing: .04em; }
.appcard__blurb { font-size: 13.5px; color: var(--txt-2); margin-top: 12px; min-height: 58px; }
.appcard__plats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pchip {
  font-size: 10.5px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--txt-2); background: rgba(255, 255, 255, .03);
}

.apps__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--txt-3);
}
.apps__foot b { color: var(--txt); }

/* ============================ 10 · PLATFORMS =========================== */
.platforms { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.platgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 18px; }
.plat {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px 26px;
  background: linear-gradient(170deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  transition: transform .45s var(--ease), border-color .4s;
}
.plat::before {
  content: ""; position: absolute; top: -60%; right: -40%; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, currentColor, transparent 62%);
  color: var(--violet); opacity: 0; transition: opacity .5s; filter: blur(30px);
}
.plat::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 40%, var(--line-2) 60%, transparent);
  opacity: .8;
}
.plat:hover { transform: translateY(-6px); border-color: var(--line-2); }
.plat:hover::before { opacity: .2; }
.plat__icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--surface); margin-bottom: 20px;
}
.plat h3 { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.plat p { font-size: 14px; color: var(--txt-2); margin-top: 10px; }
.plat__list { margin-top: 16px; display: flex; flex-direction: column; gap: 7px; }
.plat__list li { font-size: 12.5px; color: var(--txt-3); display: flex; align-items: center; gap: 8px; }
.plat__list li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); flex: none; }
.plat__num {
  display: inline-block; margin-top: 20px; font-family: var(--mono);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--txt-2);
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
}

/* ============================= 11 · PROCESS ============================ */
.process__wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.process__sticky { position: sticky; top: 120px; }
.process__meter { width: 3px; height: 120px; background: var(--line); border-radius: 3px; margin-top: 36px; overflow: hidden; }
.process__meter span { display: block; width: 100%; height: 100%; background: var(--grad); transform-origin: 50% 0; transform: scaleY(0); transition: transform .2s linear; }

.steps { display: flex; flex-direction: column; gap: 14px; }
.step {
  position: relative;
  border: 1px solid var(--line); border-radius: 22px;
  padding: 30px 28px;
  background: rgba(255, 255, 255, .02);
  opacity: .45;
  transition: opacity .5s, border-color .5s, background .5s, transform .5s var(--ease);
}
.step.is-on { opacity: 1; border-color: var(--line-2); background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); transform: translateX(6px); }
.step__n {
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em;
  color: var(--txt-3);
}
.step.is-on .step__n { color: var(--cyan); }
.step h3 { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.035em; margin: 8px 0 12px; }
.step p { font-size: 14.5px; color: var(--txt-2); max-width: 52ch; }
.step__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.step__tags span {
  font-size: 11.5px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--txt-3);
}

/* ============================= 12 · STUDIO ============================= */
.studio { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.quote {
  border: 1px solid var(--line); border-radius: 22px; padding: 28px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  transition: transform .4s var(--ease), border-color .4s;
}
.quote:hover { transform: translateY(-5px); border-color: var(--line-2); }
.quote blockquote { font-family: var(--display); font-size: 19px; line-height: 1.42; letter-spacing: -.02em; font-weight: 500; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.ava {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--a) 24%, transparent);
  border: 1px solid color-mix(in srgb, var(--a) 55%, transparent);
  color: color-mix(in srgb, var(--a) 60%, white);
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.quote figcaption > span:last-child { display: flex; flex-direction: column; font-size: 12px; color: var(--txt-3); }
.quote figcaption b { font-size: 14px; color: var(--txt); font-weight: 600; }


/* ============================== 13 · FAQ =============================== */
/* <details> so the answers are in the DOM for crawlers and work with JS off. */
.faq { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.faqlist { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.faqitem {
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  overflow: hidden;
  transition: border-color .35s, background .35s;
}
.faqitem[open] { border-color: var(--line-2); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); }
.faqitem:hover { border-color: var(--line-2); }
.faqitem summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px; cursor: pointer; list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.faqitem summary::-webkit-details-marker { display: none; }
.faqitem summary h3 {
  font-family: var(--display); font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.3;
}
.faqitem__mark {
  position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: transform .4s var(--ease), border-color .3s, background .3s;
}
.faqitem__mark::before, .faqitem__mark::after {
  content: ""; position: absolute; inset: 50% 5px auto; height: 1.5px;
  background: var(--txt-2); translate: 0 -50%; border-radius: 2px;
  transition: opacity .3s, background .3s;
}
.faqitem__mark::after { rotate: 90deg; }
.faqitem[open] .faqitem__mark { transform: rotate(135deg); border-color: var(--cyan); background: rgba(34, 211, 238, .12); }
.faqitem[open] .faqitem__mark::before, .faqitem[open] .faqitem__mark::after { background: var(--cyan); }
.faqitem__body { padding: 0 24px 24px; }
.faqitem__body p { color: var(--txt-2); font-size: 15px; max-width: 68ch; }
.faqitem[open] .faqitem__body { animation: faqIn .4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ============================== 14 · CTA =============================== */
.cta { position: relative; overflow: hidden; text-align: center; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.blob--4 { width: 620px; height: 620px; left: 50%; top: 50%; translate: -50% -50%; background: radial-gradient(circle, rgba(124, 92, 255, .5), transparent 66%); animation: drift1 22s ease-in-out infinite alternate; }
.blob--5 { width: 520px; height: 520px; right: 6%; bottom: -20%; background: radial-gradient(circle, rgba(34, 211, 238, .4), transparent 66%); animation: drift2 26s ease-in-out infinite alternate; }
.cta__in { display: flex; flex-direction: column; align-items: center; }
.cta__title { font-family: var(--display); font-size: clamp(42px, 8vw, 108px); line-height: .94; letter-spacing: -.045em; font-weight: 900; }
.cta .lead { text-align: center; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 38px; margin-bottom: -18px; }

/* ============================= FOOTER ================================== */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: 64px; }
.footer__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr); gap: 44px; padding-bottom: 52px; }
.footer__brand p { color: var(--txt-3); font-size: 14px; margin-top: 16px; max-width: 42ch; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.footer__cols h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--txt-3); margin-bottom: 14px; font-weight: 600; }
.footer__cols a { display: block; font-size: 14px; color: var(--txt-2); padding: 5px 0; transition: color .25s, transform .25s var(--ease); }
.footer__cols a:hover { color: var(--txt); transform: translateX(4px); }
.footer__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 22px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--txt-3);
}
.footer__top {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--txt-2);
  transition: color .25s, border-color .25s, background .25s;
}
.footer__top:hover { color: var(--txt); border-color: var(--line-2); background: var(--surface); }
.footer__top svg { transition: transform .3s var(--ease); }
.footer__top:hover svg { transform: translateY(-2px); }

/* =========================== 15 · RESPONSIVE =========================== */
@media (max-width: 1180px) {
  .phone--hero { --pscale: .66; }
  .hero__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
}

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__right .btn--ghost { display: none; }
  .burger { display: block; }

  .section { padding: clamp(64px, 10vw, 104px) 0; }
  .section-head { margin-bottom: clamp(32px, 5vw, 48px); }
  .section-head--row { display: block; }
  .section-head--row .lead { margin-top: 18px; }

  .hero { min-height: auto; padding: 116px 0 64px; }
  .hero__in { grid-template-columns: 1fr; gap: 0; }
  .phone--hero { --pscale: .82; }
  .scrollcue { display: none; }
  /* only the bottom-band icons survive the stacked layout */
  .float { display: none; }
  .float:nth-child(n+10) { display: block; }

  .process__wrap { grid-template-columns: 1fr; }
  .process__sticky { position: static; }
  .process__meter { display: none; }
  .step.is-on { transform: none; }

  .footer { padding-top: 48px; }
  .footer__in { grid-template-columns: 1fr; gap: 34px; padding-bottom: 38px; }
}

/* ------------------------------- phones -------------------------------- */
@media (max-width: 620px) {
  :root { --pad: 20px; }

  .section { padding: 60px 0; }
  .section-head { margin-bottom: 28px; }
  .h2 { font-size: clamp(33px, 10.5vw, 46px); line-height: .98; }
  .lead { font-size: 15.5px; margin-top: 16px; }
  .kicker { font-size: 11px; margin-bottom: 12px; }
  .kicker::before { width: 18px; margin-right: 9px; }
  .btn { padding: 14px 22px; font-size: 14.5px; }
  .btn--lg { padding: 16px 26px; font-size: 15.5px; }

  /* Hero: reflow so the device sits directly under the buttons, and the
     proof row closes the section. display:contents lifts the copy block's
     children into the flex flow so they can be reordered independently. */
  .hero { padding: 100px 0 48px; }
  /* align-items must be reset — the grid rule centres it, which shrink-wraps
     and indents every block once this becomes a column flex container */
  .hero__in { display: flex; flex-direction: column; align-items: stretch; }
  .hero__copy { display: contents; }
  .hero__title { order: 2; font-size: clamp(31px, 10vw, 50px); }
  .hero__sub { order: 3; margin-top: 18px; font-size: 15.5px; }
  .hero__cta { order: 4; margin-top: 24px; gap: 9px; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; padding-inline: 16px; }
  .hero__cta .btn span { white-space: nowrap; }
  .hero__device { order: 5; margin-top: 34px; padding-bottom: 42px; }
  .hero__proof { order: 6; margin-top: 30px; padding-top: 20px; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero__proof b { font-size: 23px; }
  .hero__proof span { font-size: 10.5px; letter-spacing: 0; }
  .hero__hint { font-size: 11.5px; padding: 7px 12px; }

  .marquee { padding: 15px 0; }
  .mq__i { font-size: 21px; padding-inline: 13px; }

  /* Work: cards become compact rows — a full-height card each was 24
     screens of scrolling on its own. */
  .appgrid { grid-template-columns: 1fr; gap: 10px; }
  .appcard {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon name"
      "icon cat"
      "blurb blurb"
      "plats plats";
    align-items: start;
    column-gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    transform: none;
  }
  .appcard__top { grid-area: icon; align-self: center; }
  .appcard__name { grid-area: name; align-self: end; margin-top: 0; font-size: 19px; }
  .appcard__cat { grid-area: cat; align-self: start; }
  .appcard__blurb { grid-area: blurb; margin-top: 11px; min-height: 0; font-size: 13.5px; }
  .appcard__plats { grid-area: plats; margin-top: 11px; }
  .ico--card { --is: 50px; }
  .appcard__glow { inset: -60% 30% 40% -40%; }

  /* Filters scroll sideways instead of wrapping into a two-row blob. */
  .filters {
    display: flex; flex-wrap: nowrap;
    width: auto; margin-inline: calc(var(--pad) * -1);
    padding: 5px var(--pad);
    overflow-x: auto; overscroll-behavior-x: contain;
    border: 0; border-radius: 0; background: none;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 34px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 34px), transparent 100%);
  }
  .filters::-webkit-scrollbar { display: none; }
  .filters__pill { display: none; }
  .filter {
    flex: none;
    border: 1px solid var(--line); border-radius: 999px;
    background: var(--surface);
    padding: 9px 17px;
  }
  .filter.is-active { background: var(--grad); border-color: transparent; }

  .apps__foot { margin-top: 26px; padding-top: 20px; font-size: 13px; }

  .platgrid { grid-template-columns: 1fr; gap: 10px; }
  .plat { padding: 22px 20px; border-radius: 18px; }
  .plat__icon { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 15px; }
  .plat h3 { font-size: 21px; }
  .plat p { font-size: 13.5px; margin-top: 8px; }
  .plat__list { margin-top: 13px; gap: 6px; }
  .plat__num { margin-top: 16px; }

  .steps { gap: 10px; }
  .step { padding: 22px 20px; border-radius: 18px; opacity: 1; }
  .step h3 { font-size: 26px; margin: 6px 0 9px; }
  .step p { font-size: 13.5px; }
  .step__tags { margin-top: 14px; }

  .quotes { gap: 10px; }
  .quote { padding: 22px 20px; border-radius: 18px; gap: 18px; }
  .quote blockquote { font-size: 17px; }

  .cta__actions { flex-direction: column; align-items: stretch; margin-top: 30px; }
  .cta__actions .btn { justify-content: center; }

  .faqitem summary { padding: 18px; gap: 14px; }
  .faqitem summary h3 { font-size: 16px; }
  .faqitem__body { padding: 0 18px 20px; }
  .faqitem__body p { font-size: 14px; }

  .footer__cols { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer__bar { flex-direction: column; align-items: flex-start; gap: 14px; font-size: 12px; }
}

@media (max-width: 380px) {
  .phone--hero { --pscale: .72; }
  .hero__proof b { font-size: 20px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { flex: none; }
}

/* ========================= REDUCED MOTION ============================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .marquee__track { animation: none; }
}

/* ============================ PRINT ==================================== */
@media print {
  .nav, .preloader, .cursor, .scrollbar, .scrollcue, .marquee, .phone { display: none !important; }
  body { background: #fff; color: #000; }
}
