/* =====================================================================
   GetApps — Design System
   Tokens → Base → Components → Layout → Pages → Responsive → A11y
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: dark;

  --ink:        #06070B;
  --ink-2:      #0A0C12;
  --ink-3:      #0F111A;
  --surface:    rgba(255, 255, 255, 0.028);
  --surface-2:  rgba(255, 255, 255, 0.055);
  --line:       rgba(255, 255, 255, 0.09);
  --line-2:     rgba(255, 255, 255, 0.16);

  --text:       #EEF0F6;
  --muted:      #98A1B2;
  --faint:      #646D7E;

  --brand:      #6D5EF8;
  --brand-soft: #8B7DFF;
  --brand-2:    #22D3EE;
  --brand-3:    #FF7A59;
  --ok:         #3DDC97;

  --grad: linear-gradient(115deg, var(--brand) 0%, #8B5CF6 32%, var(--brand-2) 100%);
  --grad-warm: linear-gradient(120deg, var(--brand-3), #FFB86B);

  --glow: 0 0 0 1px rgba(109, 94, 248, .35), 0 18px 60px -18px rgba(109, 94, 248, .55);
  --shadow-1: 0 1px 2px rgba(0,0,0,.35), 0 8px 24px -12px rgba(0,0,0,.6);
  --shadow-2: 0 30px 80px -30px rgba(0,0,0,.85);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  --pad: clamp(20px, 5vw, 40px);
  --maxw: 1240px;
  --nav-h: 74px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Space Grotesk", var(--font);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);
  --dur: .6s;
}

[data-theme="light"] {
  color-scheme: light;
  --ink:        #FBFBFD;
  --ink-2:      #FFFFFF;
  --ink-3:      #F3F4F9;
  --surface:    rgba(10, 12, 20, 0.022);
  --surface-2:  rgba(10, 12, 20, 0.05);
  --line:       rgba(10, 12, 20, 0.10);
  --line-2:     rgba(10, 12, 20, 0.18);
  --text:       #0A0C14;
  --muted:      #58607200;
  --muted:      #566072;
  --faint:      #838C9E;
  --brand:      #5A46F0;
  --brand-soft: #6D5EF8;
  --shadow-1: 0 1px 2px rgba(16,20,40,.06), 0 10px 30px -16px rgba(16,20,40,.24);
  --shadow-2: 0 40px 90px -40px rgba(16,20,40,.32);
  --glow: 0 0 0 1px rgba(90, 70, 240, .22), 0 18px 60px -22px rgba(90, 70, 240, .45);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.62;
  font-size: 16px;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--brand); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.9rem, 7.4vw, 6.1rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.22rem, 1.9vw, 1.55rem); letter-spacing: -0.028em; }
p  { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--brand-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--brand); color: #fff; font-size: .85rem; font-weight: 600;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip:focus { transform: translateY(0); }

/* ---------- 3. Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { position: relative; padding-block: clamp(72px, 11vw, 148px); }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }

.sec-head { max-width: 660px; margin-bottom: clamp(38px, 5vw, 62px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head p { color: var(--muted); font-size: 1.06rem; margin-top: 18px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono);
  font-size: .715rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 12px var(--brand-2);
  animation: pulse 2.4s var(--ease-io) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.72); }
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.divider { height: 1px; background: var(--line); border: 0; }

/* ---------- 4. Buttons ---------- */
.btn {
  --bg: var(--brand);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-size: .935rem; font-weight: 600; letter-spacing: -0.01em;
  background: var(--bg); color: #fff;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s var(--ease);
  will-change: transform;
}
.btn::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--grad);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(.985); }

.btn--ghost {
  background: transparent; color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn--ghost::after { background: var(--surface-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--line-2); }

.btn--lg { padding: 17px 34px; font-size: 1rem; }
.btn--sm { padding: 10px 18px; font-size: .84rem; }

.btn .ico { transition: transform .45s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .92rem; color: var(--text);
}
.link-arrow svg { transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 5. Chips / tags ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px 7px 11px;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: .8rem; color: var(--muted);
  backdrop-filter: blur(12px);
}
.chip b { color: var(--text); font-weight: 600; }

.tag {
  font-family: var(--mono);
  font-size: .64rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px;
  background: var(--surface-2); color: var(--muted);
  white-space: nowrap;
}
.tag--live  { background: rgba(61,220,151,.13); color: var(--ok); }
.tag--beta  { background: rgba(34,211,238,.13); color: var(--brand-2); }
.tag--soon  { background: rgba(255,122,89,.13); color: var(--brand-3); }

/* ---------- 6. Cursor ---------- */
.cursor, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9000;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity .3s;
}
.cursor { width: 7px; height: 7px; background: #fff; margin: -3.5px 0 0 -3.5px; }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(255,255,255,.55);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease),
              background .35s var(--ease), opacity .3s;
}
body.cursor-on .cursor, body.cursor-on .cursor-ring { opacity: 1; }
body.cursor-hot .cursor-ring {
  width: 66px; height: 66px; margin: -33px 0 0 -33px;
  background: rgba(255,255,255,.12);
  border-color: transparent;
}
body.cursor-hot .cursor { opacity: 0; }

/* ---------- 7. Preloader ---------- */
.preload {
  position: fixed; inset: 0; z-index: 9500;
  display: grid; place-items: center;
  background: var(--ink);
  transition: opacity .7s var(--ease), visibility .7s;
}
.preload.done { opacity: 0; visibility: hidden; }
.preload__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.preload__mark { animation: floaty 2.6s var(--ease-io) infinite; }
.preload__bar {
  width: 190px; height: 2px; border-radius: 2px;
  background: var(--line); overflow: hidden;
}
.preload__bar i {
  display: block; height: 100%; width: 0%;
  background: var(--grad);
  transition: width .25s linear;
}
.preload__num {
  font-family: var(--mono); font-size: .74rem;
  letter-spacing: .16em; color: var(--faint);
}
@keyframes floaty {
  0%, 100% { transform: translateY(-5px); }
  50%      { transform: translateY(5px); }
}

/* ---------- 8. Scroll progress + page transition ---------- */
.progress {
  position: fixed; top: 0; left: 0; z-index: 8000;
  height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: var(--grad);
}

.swipe {
  position: fixed; inset: 0; z-index: 9400;
  background: var(--ink-2);
  transform: translateY(100%);
  pointer-events: none;
}
.swipe.in  { animation: swipeIn .58s var(--ease-io) forwards; }
@keyframes swipeIn  { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ---------- 9. Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 7000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: height .45s var(--ease), background .45s var(--ease),
              box-shadow .45s var(--ease), backdrop-filter .45s var(--ease);
}
.nav.stuck {
  height: 62px;
  background: color-mix(in oklab, var(--ink) 76%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}
.nav__in {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--pad);
  display: flex; align-items: center; gap: 22px;
}

.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--display); font-weight: 700;
  font-size: 1.09rem; letter-spacing: -0.035em;
  margin-right: auto;
}
.brand__mark {
  width: 32px; height: 32px; flex: none;
  transition: transform .6s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-90deg) scale(1.06); }
.brand__tld { color: var(--faint); font-weight: 500; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 9px 15px; border-radius: var(--r-pill);
  font-size: .915rem; font-weight: 500; color: var(--muted);
  transition: color .3s var(--ease);
}
.nav__link::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; background: var(--surface-2);
  transform: scale(.82); opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--text); }
.nav__link:hover::before { transform: scale(1); opacity: 1; }
.nav__link span { position: relative; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 16px; height: 2px; margin-left: -8px; border-radius: 2px;
  background: var(--grad);
}

.nav__side { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color .3s, background .3s, transform .4s var(--ease);
}
.icon-btn:hover { color: var(--text); background: var(--surface-2); transform: translateY(-1px); }
.theme-btn .moon { display: none; }
[data-theme="light"] .theme-btn .moon { display: block; }
[data-theme="light"] .theme-btn .sun  { display: none; }

.burger { display: none; width: 40px; height: 40px; }
.burger i {
  display: block; width: 19px; height: 1.6px; border-radius: 2px;
  background: var(--text); margin: 4px auto;
  transition: transform .45s var(--ease), opacity .3s;
}
.burger.on i:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.burger.on i:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.burger.on i:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 6900;
  background: var(--ink);
  padding: calc(var(--nav-h) + 30px) var(--pad) 40px;
  display: flex; flex-direction: column;
  clip-path: circle(0% at calc(100% - 46px) 38px);
  transition: clip-path .72s var(--ease);
  visibility: hidden;
}
.drawer.open { clip-path: circle(150% at calc(100% - 46px) 38px); visibility: visible; }
.drawer a.drawer__link {
  font-family: var(--display); font-size: clamp(2rem, 9vw, 2.9rem);
  font-weight: 600; letter-spacing: -0.04em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0; transform: translateY(26px);
}
.drawer.open a.drawer__link { animation: drawerIn .65s var(--ease) forwards; }
.drawer.open a.drawer__link:nth-child(1) { animation-delay: .12s; }
.drawer.open a.drawer__link:nth-child(2) { animation-delay: .19s; }
.drawer.open a.drawer__link:nth-child(3) { animation-delay: .26s; }
.drawer.open a.drawer__link:nth-child(4) { animation-delay: .33s; }
.drawer__link span { font-family: var(--mono); font-size: .7rem; color: var(--faint); }
.drawer__foot { margin-top: auto; padding-top: 30px; }
@keyframes drawerIn { to { opacity: 1; transform: none; } }

/* ---------- 10. Reveal system ---------- */
.rv { opacity: 0; transform: translateY(28px); }
.rv.in {
  opacity: 1; transform: none;
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--d, 0ms);
}
.rv-l { opacity: 0; transform: translateX(-34px); }
.rv-l.in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.rv-s { opacity: 0; transform: scale(.955); }
.rv-s.in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }

/* Split text */
.split { display: block; }
.split .ln { display: block; overflow: hidden; }
.split .wd {
  display: inline-block;
  transform: translateY(105%) rotate(4deg);
  opacity: 0;
}
.split.in .wd {
  transform: none; opacity: 1;
  transition: transform .95s var(--ease), opacity .8s var(--ease);
  transition-delay: calc(var(--i) * 52ms + var(--base, 0ms));
}

/* ---------- 11. Hero ---------- */
.hero {
  position: relative;
  min-height: min(104svh, 1000px);
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 60px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; }

.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .5;
  animation: drift 22s var(--ease-io) infinite alternate;
}
.blob--1 { width: 46vw; height: 46vw; left: -12vw; top: -10vw; background: var(--brand); }
.blob--2 { width: 38vw; height: 38vw; right: -8vw; top: 8vw; background: var(--brand-2); opacity: .32; animation-duration: 27s; }
.blob--3 { width: 30vw; height: 30vw; left: 34vw; bottom: -14vw; background: var(--brand-3); opacity: .22; animation-duration: 31s; }
[data-theme="light"] .blob { opacity: .3; filter: blur(110px); }
[data-theme="light"] .blob--2 { opacity: .22; }
[data-theme="light"] .blob--3 { opacity: .16; }
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(6vw, 5vw, 0) scale(1.16); }
}

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 42%, #000 20%, transparent 78%);
  opacity: .5;
}

.hero__in { position: relative; z-index: 2; width: 100%; }
.hero h1 { margin-block: 20px 0; }
.hero__sub {
  max-width: 570px; margin-top: 26px;
  font-size: clamp(1.02rem, 1.35vw, 1.19rem);
  color: var(--muted);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 38px; }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 12px 30px;
  margin-top: 52px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero__meta div { display: flex; flex-direction: column; gap: 2px; }
.hero__meta b {
  font-family: var(--display); font-size: 1.62rem;
  font-weight: 600; letter-spacing: -0.035em;
}
.hero__meta small {
  font-family: var(--mono); font-size: .67rem;
  letter-spacing: .13em; text-transform: uppercase; color: var(--faint);
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; z-index: 3;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: .63rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--faint);
}
.scroll-hint i {
  width: 1px; height: 42px;
  background: linear-gradient(var(--line-2), transparent);
  position: relative; overflow: hidden;
}
.scroll-hint i::after {
  content: ""; position: absolute; top: -50%; left: 0;
  width: 1px; height: 50%; background: var(--brand-2);
  animation: trickle 2.1s var(--ease-io) infinite;
}
@keyframes trickle { to { top: 100%; } }

/* Floating app tiles in hero */
.orbit { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.orbit__tile {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px 11px 12px;
  border-radius: 15px;
  background: color-mix(in oklab, var(--ink-2) 82%, transparent);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1);
  backdrop-filter: blur(14px);
  font-size: .82rem; font-weight: 600;
  animation: bob 6s var(--ease-io) infinite alternate;
  white-space: nowrap;
}
.orbit__tile em { font-style: normal; font-size: .68rem; color: var(--faint); font-weight: 500; display: block; }
.orbit__tile .dot { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.orbit__tile:nth-child(1) { top: 21%; right: 5%;  animation-delay: -.4s; }
.orbit__tile:nth-child(2) { top: 45%; right: 15%; animation-delay: -2.2s; }
.orbit__tile:nth-child(3) { top: 68%; right: 3%;  animation-delay: -3.6s; }
@keyframes bob {
  from { transform: translateY(-9px); }
  to   { transform: translateY(9px); }
}

/* ---------- 12. Marquee ---------- */
.marquee {
  position: relative;
  padding-block: 26px;
  border-block: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: slide 42s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track > * {
  display: flex; align-items: center; gap: 11px;
  padding-inline: 30px;
  font-family: var(--display); font-size: 1.02rem; font-weight: 500;
  color: var(--faint); white-space: nowrap;
  transition: color .3s;
}
.marquee__track > *:hover { color: var(--text); }
@keyframes slide { to { transform: translateX(-50%); } }

.marquee--big .marquee__track > * {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 600; letter-spacing: -0.045em;
  padding-inline: 28px;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
}
.marquee--big .marquee__track > *:hover {
  color: var(--text); -webkit-text-stroke-color: transparent;
}

/* ---------- 13. Cards ---------- */
.card {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 28px;
  overflow: hidden;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), background .4s;
  will-change: transform;
}
.card::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%),
              color-mix(in oklab, var(--brand) 22%, transparent), transparent 62%);
  transition: opacity .5s var(--ease);
}
.card:hover::before { opacity: 1; }
.card:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-2);
}
.card > * { position: relative; z-index: 1; }

.card__ico {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  margin-bottom: 20px;
  transition: transform .55s var(--ease);
}
.card:hover .card__ico { transform: translateY(-2px) rotate(-6deg); }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--muted); font-size: .945rem; }

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.bento > .card { grid-column: span 2; }
.bento > .card--wide  { grid-column: span 4; }
.bento > .card--full  { grid-column: span 6; }
.bento > .card--tall  { grid-row: span 2; display: flex; flex-direction: column; }

.card--feature { min-height: 268px; display: flex; flex-direction: column; }
.card--feature p { margin-top: auto; padding-top: 18px; }

.stat-mini {
  font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 600; letter-spacing: -0.045em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Product card */
.pcard {
  display: flex; flex-direction: column; gap: 14px;
  min-height: 218px;
  padding: 26px;
}
.pcard__top { display: flex; align-items: flex-start; gap: 14px; }
.pcard__ico {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  transition: transform .55s var(--ease);
}
.pcard:hover .pcard__ico { transform: rotate(-8deg) scale(1.06); }
.pcard__name { font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.03em; }
.pcard__cat { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.pcard p { color: var(--muted); font-size: .92rem; }
.pcard__foot {
  margin-top: auto; padding-top: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--muted);
}
.pcard__go {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background .4s var(--ease), transform .4s var(--ease), color .3s;
}
.pcard:hover .pcard__go { background: var(--brand); color: #fff; transform: rotate(-45deg); box-shadow: none; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* ---------- 14. Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step {
  position: relative; padding: 30px 26px;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.step::after {
  counter-increment: s; content: "0" counter(s);
  position: absolute; right: 18px; top: 10px;
  font-family: var(--display); font-size: 4.2rem; font-weight: 700;
  letter-spacing: -0.05em; color: var(--text); opacity: .05;
}
.step h3 { margin-bottom: 9px; }
.step p { color: var(--muted); font-size: .94rem; }
.step__line { height: 2px; width: 34px; border-radius: 2px; background: var(--grad); margin-bottom: 20px; }

/* ---------- 15. Stats band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
  background: var(--surface);
}
.stats > div {
  padding: 38px 26px; text-align: center;
  border-right: 1px solid var(--line);
}
.stats > div:last-child { border-right: 0; }
.stats b {
  display: block;
  font-family: var(--display); font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 600; letter-spacing: -0.045em; line-height: 1.05;
}
.stats small {
  font-family: var(--mono); font-size: .66rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--faint);
}

/* ---------- 16. Testimonials ---------- */
.quotes { position: relative; min-height: 250px; }
.quote {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  pointer-events: none;
  text-align: center;
}
.quote.on { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.quote blockquote {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  font-weight: 500; letter-spacing: -0.035em; line-height: 1.28;
  max-width: 830px; margin-inline: auto;
}
.quote figcaption {
  margin-top: 26px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: .9rem; color: var(--muted);
}
.quote .av {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: .82rem; color: #fff;
}
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.dots button {
  width: 26px; height: 3px; border-radius: 3px;
  background: var(--line-2);
  transition: background .4s, width .4s var(--ease);
}
.dots button[aria-selected="true"] { background: var(--brand); width: 46px; }

/* ---------- 17. CTA ---------- */
.cta {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(48px, 8vw, 92px) var(--pad);
  text-align: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
  background: var(--ink-2);
}
.cta::before {
  content: ""; position: absolute; inset: -40% -10% auto;
  height: 340px;
  background: var(--grad);
  filter: blur(90px); opacity: .34;
  animation: drift 18s var(--ease-io) infinite alternate;
}
.cta > * { position: relative; }
.cta p { color: var(--muted); max-width: 500px; margin: 18px auto 0; }
.cta__row { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 34px; }

/* ---------- 18. Footer ---------- */
.foot { border-top: 1px solid var(--line); padding-top: clamp(52px, 7vw, 80px); }
.foot__grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px 26px;
}
.foot__about { max-width: 300px; }
.foot__about p { color: var(--muted); font-size: .92rem; margin-top: 16px; }
.foot h4 {
  font-family: var(--mono); font-size: .67rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--faint);
  margin-bottom: 16px;
}
.foot li { margin-bottom: 10px; }
.foot li a {
  font-size: .92rem; color: var(--muted);
  transition: color .3s, padding-left .35s var(--ease);
}
.foot li a:hover { color: var(--text); padding-left: 5px; }

.foot__word {
  margin-top: clamp(46px, 7vw, 78px);
  font-family: var(--display);
  font-size: clamp(3.6rem, 17vw, 16rem);
  font-weight: 700; letter-spacing: -0.055em; line-height: .82;
  text-align: center;
  background: linear-gradient(180deg, var(--text) 0%, transparent 118%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.foot__bar {
  margin-top: 26px; padding-block: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  font-size: .84rem; color: var(--faint);
}
.foot__bar nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot__bar a:hover { color: var(--text); }
.socials { display: flex; gap: 8px; }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--muted);
}
.status-pill i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 10px var(--ok);
  animation: pulse 2.4s var(--ease-io) infinite;
}

/* ---------- 19. Sub-page hero ---------- */
.phero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 110px));
  padding-bottom: clamp(40px, 6vw, 70px);
  overflow: hidden;
}
.phero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.phero__in { position: relative; z-index: 2; }
.phero h1 { font-size: clamp(2.5rem, 6.2vw, 4.9rem); }
.phero__lead {
  max-width: 620px; margin-top: 24px;
  font-size: clamp(1rem, 1.3vw, 1.16rem); color: var(--muted);
}
.crumbs {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .13em; text-transform: uppercase; color: var(--faint);
  margin-bottom: 22px;
}
.crumbs a:hover { color: var(--text); }

/* ---------- 20. Products page ---------- */
.filters {
  position: sticky; top: calc(var(--nav-h) - 8px); z-index: 500;
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  padding: 14px 16px;
  margin-bottom: 26px;
  border-radius: var(--r-pill);
  background: color-mix(in oklab, var(--ink) 78%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  position: relative;
  padding: 8px 16px; border-radius: var(--r-pill);
  font-size: .855rem; font-weight: 500; color: var(--muted);
  transition: color .3s var(--ease);
  white-space: nowrap;
}
.pill::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--surface-2); opacity: 0; transform: scale(.85);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.pill:hover { color: var(--text); }
.pill:hover::before { opacity: 1; transform: scale(1); }
.pill span { position: relative; }
.pill.on { color: #fff; }
.pill.on::before { opacity: 1; transform: scale(1); background: var(--brand); }

.search {
  position: relative; display: flex; align-items: center;
  min-width: 214px; flex: 0 1 274px;
}
.search svg { position: absolute; left: 14px; color: var(--faint); pointer-events: none; }
.search input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: .875rem;
  transition: box-shadow .35s var(--ease), background .35s;
}
.search input::placeholder { color: var(--faint); }
.search input:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--brand), 0 0 0 4px color-mix(in oklab, var(--brand) 18%, transparent);
}

.count-line {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-family: var(--mono); font-size: .7rem;
  letter-spacing: .13em; text-transform: uppercase; color: var(--faint);
  margin-bottom: 18px;
}

.pcard.hide { display: none; }
.pcard.pop { animation: pop .55s var(--ease) both; }
@keyframes pop {
  from { opacity: 0; transform: translateY(16px) scale(.975); }
  to   { opacity: 1; transform: none; }
}

.empty {
  display: none; text-align: center;
  padding: 70px 20px;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.empty.show { display: block; }
.empty p { color: var(--muted); margin-top: 10px; }

.compare {
  width: 100%; border-collapse: collapse;
  font-size: .92rem;
}
.compare th, .compare td {
  padding: 16px 18px; text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  font-family: var(--mono); font-size: .66rem;
  letter-spacing: .13em; text-transform: uppercase; color: var(--faint);
  font-weight: 500;
}
.compare tbody tr { transition: background .3s; }
.compare tbody tr:hover { background: var(--surface); }
.compare td b { font-weight: 600; }
.table-scroll { overflow-x: auto; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- 21. About page ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; border-radius: 2px;
  background: var(--line);
}
.timeline__fill {
  position: absolute; left: 7px; top: 6px;
  width: 2px; border-radius: 2px; height: 0;
  background: var(--grad);
  transition: height .25s linear;
}
.tl-item { position: relative; padding-bottom: 44px; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink); box-shadow: inset 0 0 0 2px var(--line-2);
  transition: box-shadow .5s var(--ease), background .5s;
}
.tl-item.in::before { box-shadow: inset 0 0 0 4px var(--brand); }
.tl-item time {
  font-family: var(--mono); font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand-soft);
}
.tl-item h3 { margin: 8px 0 8px; }
.tl-item p { color: var(--muted); font-size: .95rem; max-width: 560px; }

.value {
  padding: 30px 26px;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background .45s var(--ease), transform .5s var(--ease);
}
.value:hover { background: var(--surface); transform: translateY(-4px); }
.value h3 { margin: 18px 0 9px; }
.value p { color: var(--muted); font-size: .94rem; }
.value__n {
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .14em; color: var(--faint);
}

.person {
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 24px;
  transition: transform .5s var(--ease), background .4s;
}
.person:hover { transform: translateY(-4px); background: var(--surface); }
.person__av {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; color: #fff; font-size: 1.02rem;
  margin-bottom: 18px;
  transition: transform .5s var(--ease);
}
.person:hover .person__av { transform: rotate(-7deg); }
.person b { display: block; font-family: var(--display); font-size: 1.04rem; letter-spacing: -0.025em; }
.person span { font-size: .85rem; color: var(--muted); }

.split-2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}
.prose p { color: var(--muted); margin-bottom: 18px; font-size: 1.02rem; }
.prose p strong { color: var(--text); font-weight: 600; }
.prose p:last-child { margin-bottom: 0; }

.sticky-col { position: sticky; top: calc(var(--nav-h) + 30px); }

/* ---------- 22. Support page ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; text-align: left;
  font-family: var(--display); font-size: clamp(1.02rem, 1.7vw, 1.24rem);
  font-weight: 600; letter-spacing: -0.025em;
  transition: color .3s;
}
.acc__btn:hover { color: var(--brand-soft); }
.acc__sign { position: relative; width: 17px; height: 17px; flex: none; }
.acc__sign::before, .acc__sign::after {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 17px; height: 1.6px; border-radius: 2px; background: currentColor;
  transition: transform .45s var(--ease);
}
.acc__sign::after { transform: rotate(90deg); }
.acc__item.open .acc__sign::after { transform: rotate(0); }
.acc__item.open .acc__btn { color: var(--brand-soft); }
.acc__panel {
  overflow: hidden; height: 0;
  transition: height .5s var(--ease);
}
.acc__panel p { color: var(--muted); padding: 0 4px 26px; max-width: 720px; font-size: .97rem; }

.channel {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), background .4s;
}
.channel:hover { transform: translateY(-4px); background: var(--surface); }
.channel__ico { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; }
.channel h3 { font-size: 1.06rem; margin-bottom: 6px; }
.channel p { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }

.slab {
  border-radius: var(--r-xl);
  box-shadow: inset 0 0 0 1px var(--line);
  background: var(--surface);
  padding: clamp(28px, 4vw, 44px);
}
.kv { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); font-size: .92rem; }
.kv b { font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1080px) {
  .bento > .card { grid-column: span 3; }
  .bento > .card--wide { grid-column: span 6; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__about { grid-column: 1 / -1; max-width: 420px; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .orbit { display: none; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split-2 { grid-template-columns: 1fr; }
  .sticky-col { position: static; }
  .hero { min-height: auto; padding-block: calc(var(--nav-h) + 66px) 84px; }
  .scroll-hint { display: none; }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .bento > .card, .bento > .card--wide, .bento > .card--full { grid-column: span 6; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats > div:last-child { border-bottom: 0; }
  .filters { border-radius: var(--r-lg); position: static; }
  .search { flex: 1 1 100%; }
  .hero__meta { gap: 18px 26px; }
  .hero__meta b { font-size: 1.35rem; }
  .btn { padding: 13px 22px; }
  .foot__bar { flex-direction: column; align-items: flex-start; }
}

@media (hover: none) {
  .cursor, .cursor-ring { display: none; }
}

/* ---------- 24. Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .rv, .rv-l, .rv-s, .split .wd { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
  .cursor, .cursor-ring { display: none; }
}

@media print {
  .nav, .foot__word, .preload, .cursor, .cursor-ring, .progress, .scroll-hint { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- 25. Split-text masks (injected by JS) ---------- */
.wdm {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .14em;
  margin-bottom: -.14em;
}

/* ---------- 26. Form fields ---------- */
.fld {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: .94rem;
  transition: box-shadow .35s var(--ease);
}
.fld::placeholder { color: var(--faint); }
.fld:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--brand), 0 0 0 4px color-mix(in oklab, var(--brand) 16%, transparent);
}
textarea.fld { resize: vertical; min-height: 118px; line-height: 1.6; }
select.fld {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.fld:user-invalid { box-shadow: inset 0 0 0 1px var(--brand-3); }

.form-note {
  display: none;
  font-size: .88rem; font-weight: 500;
  padding: 12px 14px; border-radius: var(--r-sm);
  background: rgba(61,220,151,.1); color: var(--ok);
}
.form-note.show { display: block; animation: pop .5s var(--ease) both; }
.form-note.bad { background: rgba(255,122,89,.12); color: var(--brand-3); }

/* ---------- 27. Visibility helpers ---------- */
@media (max-width: 900px) { .hide-sm { display: none; } }
