/* ═══════════════════════════════════════════════════════════════
   SOLUM — homepage. The "Clean" product-launch layout in the Solum
   palette, with a few signatures of the first cut blended back in:
   the light field behind the crystal, the glint and sonar rings, the
   Michroma wordmark, the crossing band and the lock between the two
   tiles.

   This file loads on the homepage only; inner pages never see it.
   Motion touches transform + opacity only. Infinite animations stop
   while their section is off screen (`.is-off`, set by home.js).
   ═══════════════════════════════════════════════════════════════ */

:root {
  --page: #04070E;
  --white: #0B1322;      /* card surface */
  --bg-1: #070B15;
  --bg-2: #111A2B;
  --ink: #F0F6FD;
  --ink-2: #C3CCDA;
  --mute: #94A0B4;
  --mute-2: #8B97AB;
  --line: rgba(110, 200, 255, .10);
  --line-2: rgba(110, 200, 255, .18);
  --blue: #0070F8;
  --blue-d: #0A62D6;
  --blue-deep: #003A8C;
  --blue-soft: rgba(0, 112, 248, .16);
  --cyan: #6EC8FF;
  --gloss: #ECF6FF;
  --ok: #7CF2A6;

  --f-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --f-mark: "Michroma", "Sora", ui-sans-serif, system-ui, sans-serif;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --sh-1: inset 0 1px 0 rgba(236, 246, 255, .04), 0 10px 28px -12px rgba(0, 0, 0, .55);
  --sh-2: inset 0 1px 0 rgba(236, 246, 255, .05), 0 28px 60px -18px rgba(0, 0, 0, .7), 0 0 80px -30px rgba(0, 112, 248, .35);
  --sh-3: 0 30px 70px -20px rgba(0, 112, 248, .38), 0 0 0 1px rgba(110, 200, 255, .22);

  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-2: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
/* `clip`, not `hidden`: hidden turns the element into a scroll container
   and quietly breaks every position:sticky below it */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
b { font-weight: 600; }
figure { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.mute { color: var(--mute); }
.blue { color: var(--cyan); }

/* ───────── type ───────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12.5px/1 var(--f-mono);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 2px;
  background: var(--blue); transform: rotate(45deg);
}
.h2 {
  margin: 18px 0 0;
  font: 700 clamp(40px, 6.2vw, 84px)/1 var(--f-display);
  letter-spacing: -.048em;
}
.lede {
  margin: 22px 0 0;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--mute-2);
  max-width: 34em;
}
.head { margin-bottom: clamp(44px, 6vw, 72px); }
.head--c { text-align: center; }
.head--c .lede { margin-inline: auto; }

/* ───────── buttons ───────── */
.btn {
  --h: 44px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px;
  border-radius: 999px; border: 0;
  font: 500 15px/1 var(--f-body);
  letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .2s, color .2s, opacity .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--sm { --h: 36px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 54px; padding: 0 28px; font-size: 16.5px; }
.btn--block { width: 100%; --h: 50px; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 1px 1px rgba(0, 60, 150, .2), 0 6px 16px -4px rgba(0, 112, 248, .45), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn--blue:hover { background: var(--blue-d); }
.btn--dark, #navAccount .btn { background: var(--gloss); color: var(--page); }
.btn--dark:hover, #navAccount .btn:hover { background: #FFFFFF; }
.btn--soft { background: var(--bg-2); color: var(--ink); }
.btn--soft:hover { background: #18243A; }
.btn__arrow { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translate(2px, -2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ───────── nav ───────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background-color: rgba(4, 7, 14, 0);
  transition: background-color .3s;
}
.nav.is-scrolled { background-color: rgba(4, 7, 14, .94); }
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line); opacity: 0; transition: opacity .3s;
}
.nav.is-scrolled::after { opacity: 1; }
.nav__in {
  position: relative;
  max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter);
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font: 700 18px/1 var(--f-display); letter-spacing: -.04em;
}
.nav__brand img { width: 26px; height: 26px; }
.nav__links { display: flex; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav__links a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 14.5px; color: var(--ink-2); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav__links a:hover { background: var(--bg-2); color: var(--ink); }
.nav__account { display: inline-flex; min-width: 84px; justify-content: flex-end; }

/* ───────── hero ───────── */
.hero {
  --pt: clamp(28px, 5vh, 56px);
  --cw: clamp(170px, min(17vw, 28vh), 260px);
  --fh: 900px;
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: var(--pt) var(--gutter) 0;
  text-align: center;
}
/* the light field: caustics seen through a diamond lattice, centred on the
   crystal. The shader fades it to the page colour at its own edges. */
.hero__field {
  position: absolute; left: 50%; z-index: -2;
  width: min(1400px, 100%); height: var(--fh);
  top: calc(var(--pt) + var(--cw) / 2 - var(--fh) / 2);
  transform: translateX(-50%);
  opacity: 0; transition: opacity 2.2s var(--ease);
  pointer-events: none;
}
.hero__field.is-on { opacity: 1; }
.hero__aura {
  position: absolute; left: 50%; top: -184px; z-index: -1;
  width: min(1100px, 140vw); height: 760px; transform: translateX(-50%);
  background:
    radial-gradient(38% 42% at 50% 38%, rgba(0, 112, 248, .22), transparent 70%),
    radial-gradient(60% 50% at 50% 30%, rgba(110, 200, 255, .08), transparent 75%);
  pointer-events: none;
}
.crystal { position: relative; width: var(--cw); will-change: transform; animation: appear 1.6s var(--ease) both; }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
.crystal__float { position: relative; z-index: 1; animation: float 7s ease-in-out infinite alternate; }
/* the drop-shadow sits on a still image; the wrapper is what floats */
.crystal__img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 18px 34px rgba(0, 112, 248, .45)); }
/* a specular sweep cut to the crystal's own silhouette, moved by transform */
.crystal__glint {
  position: absolute; left: 0; top: 0; z-index: 2; width: 100%; aspect-ratio: 1;
  overflow: hidden; pointer-events: none;
  -webkit-mask: url(../assets/logo-512.png) center / contain no-repeat;
          mask: url(../assets/logo-512.png) center / contain no-repeat;
}
.crystal__glint::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -100%; width: 300%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .8) 48%, rgba(180, 230, 255, .5) 52%, transparent 60%);
  transform: translateX(-34%);
  animation: glint 6.5s var(--ease-2) 1.4s infinite;
}
@keyframes glint { 0% { transform: translateX(-34%); } 40%, 100% { transform: translateX(34%); } }
/* sonar: bevelled diamonds pulsing out behind the crystal */
.crystal__rings { position: absolute; left: 0; top: 0; z-index: 0; width: 100%; aspect-ratio: 1; pointer-events: none; }
.crystal__rings i {
  position: absolute; inset: 12%;
  border: 1px solid rgba(110, 200, 255, .5);
  transform: rotate(45deg) scale(.7); opacity: 0;
  animation: sonar 4.8s var(--ease) infinite;
}
.crystal__rings i:nth-child(2) { animation-delay: 1.6s; }
.crystal__rings i:nth-child(3) { animation-delay: 3.2s; }
@keyframes sonar {
  0% { opacity: 0; transform: rotate(45deg) scale(.7); }
  15% { opacity: .55; }
  100% { opacity: 0; transform: rotate(45deg) scale(1.5); }
}
.crystal__mirror {
  position: absolute; left: 0; top: 100%; width: 100%; margin-top: -6%;
  transform: scaleY(-1);
  opacity: .2;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 30%);
  mask-image: linear-gradient(to top, #000 0%, transparent 30%);
  pointer-events: none;
}
.crystal__floor {
  position: absolute; left: 50%; top: 96%; width: 78%; height: 34px; margin-left: -39%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 60, 150, .22), rgba(0, 60, 150, 0) 70%);
  animation: floor 7s ease-in-out infinite alternate;
}
@keyframes float { from { transform: translateY(6px); } to { transform: translateY(-10px); } }
@keyframes floor { from { transform: scale(1); opacity: 1; } to { transform: scale(.82); opacity: .6; } }

.hero__copy { position: relative; z-index: 2; margin-top: clamp(22px, 4vh, 44px); will-change: transform, opacity; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0; padding: 7px 14px 7px 10px;
  border-radius: 999px; background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--sh-1);
  font-size: 14px; color: var(--ink-2);
}
.pill__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.pill__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--blue);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(3); opacity: 0; } }

/* the wordmark: Michroma, uppercase, the crystal's ramp, decoded on load */
.hero__name {
  display: flex; justify-content: center;
  margin: 22px 0 0;
  font: 400 clamp(46px, min(13.4vw, 17vh), 150px)/.95 var(--f-mark);
  letter-spacing: .05em;
  text-transform: uppercase;
  perspective: 700px;
  margin-right: -.05em; /* the tracking after the last letter */
}
.hero__name span {
  position: relative; display: inline-block; text-align: center;
  background: linear-gradient(180deg, #FFFFFF 14%, var(--gloss) 32%, var(--cyan) 62%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .04em;
}
.hero__name span.is-scram { background-image: linear-gradient(180deg, #FFFFFF, var(--cyan)); }
.js .hero__name span { opacity: 0; }
.js .hero__name.is-in span { animation: letterIn 1.1s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes letterIn {
  from { opacity: 0; transform: translateY(45%) rotateX(-70deg) scale(.86); }
  to { opacity: 1; transform: none; }
}

.hero__line {
  margin: 20px 0 0;
  font: 500 clamp(20px, 2.2vw, 28px)/1.3 var(--f-display);
  letter-spacing: -.025em; color: var(--mute);
}
.hero__line b { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

/* ───────── device frame (shared) ───────── */
.device {
  position: relative;
  padding: 9px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #16223A 0%, #0B1322 100%);
  box-shadow: 0 0 0 1px rgba(110, 200, 255, .16), inset 0 1px 0 rgba(236, 246, 255, .08), var(--sh-2);
}
.device__screen {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--r-xl) - 9px);
  background:
    radial-gradient(90% 55% at 50% 0%, rgba(0, 112, 248, .30), transparent 70%),
    linear-gradient(180deg, #0B1322 0%, #05080E 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.device__slot {
  position: absolute; inset: 7% 8%;
  display: flex; align-items: center; justify-content: center;
}
.device__slot img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(120, 170, 255, .12), 0 24px 60px -10px rgba(0, 0, 0, .7);
}

/* ───────── the fan ───────── */
.hero, .fan { overflow-x: clip; }
.fan { position: relative; padding: clamp(56px, 9vh, 96px) var(--gutter) 0; }
.fan__stage {
  position: relative; margin: 0 auto;
  width: clamp(250px, 32vw, 430px);
}
.fan__card { will-change: transform; transform-origin: 50% 85%; }
.fan__card--l, .fan__card--r { position: absolute; left: 0; top: 0; width: 100%; }
.fan__card--c { position: relative; z-index: 2; }
.fan__card--l .device__screen, .fan__card--r .device__screen { background: linear-gradient(180deg, #0B1322 0%, #05080E 100%); }

/* ───────── crossing band ───────── */
.band {
  position: relative; z-index: 2;
  height: clamp(120px, 12vw, 170px);
  margin-top: clamp(48px, 8vh, 90px);
  overflow: hidden;
}
.band__row {
  position: absolute; left: -5%; right: -5%; top: 50%;
  padding: 15px 0;
  transform: translateY(-50%) rotate(-3deg);
  background: linear-gradient(90deg, var(--blue-deep), var(--blue) 30%, #2A8CFF 50%, var(--blue) 70%, var(--blue-deep));
  box-shadow: 0 20px 60px -24px rgba(0, 112, 248, .7), inset 0 0 0 1px rgba(110, 200, 255, .45);
}
.band__track {
  display: flex; width: max-content;
  will-change: transform;
  animation: marquee var(--dur, 40s) linear infinite;
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.band__run { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.band__run span {
  font: 400 clamp(14px, 1.7vw, 21px)/1 var(--f-mark);
  letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  color: #fff;
}
.band__run i { flex: none; width: 9px; height: 9px; background: #fff; transform: rotate(45deg); opacity: .9; }

/* ───────── exclusivity ───────── */
.lock { padding: clamp(100px, 15vh, 170px) 0 clamp(90px, 14vh, 160px); text-align: center; overflow-x: clip; }
.statement {
  margin: 0 auto;
  font: 700 clamp(48px, 9vw, 136px)/.95 var(--f-display);
  letter-spacing: -.058em;
  will-change: transform, opacity;
}
.statement span { display: inline-block; }
.statement__b, .h2 .mute, .fin__h .mute {
  /* the second line of a headline wears the crystal's ramp */
  background: linear-gradient(100deg, var(--gloss) 0%, var(--cyan) 42%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.lit {
  max-width: 30em; margin: clamp(32px, 5vh, 52px) auto 0;
  font: 500 clamp(20px, 2.3vw, 30px)/1.4 var(--f-display);
  letter-spacing: -.025em;
  color: var(--ink);
}
.lit .w { opacity: .16; transition: opacity .25s linear; }

/* the pair, and the lock that closes between them */
.pair {
  display: flex; align-items: flex-start; justify-content: center; gap: clamp(10px, 2.4vw, 28px);
  margin-top: clamp(64px, 10vh, 110px);
}
.pair__item { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; flex: none; }
.pair__tile {
  display: grid; place-items: center;
  width: clamp(100px, 17vw, 220px); aspect-ratio: 1;
  border-radius: clamp(24px, 3.4vw, 44px);
}
.pair__tile--solum { background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--sh-2); }
.pair__tile--solum img { width: 62%; }
.pair__tile--susano {
  background: radial-gradient(90% 90% at 30% 10%, #1A2740 0%, #070B15 70%);
  box-shadow: 0 0 0 1px var(--line), var(--sh-2);
}
.pair__tile--susano img { width: 70%; }
.pair__cap { font: 400 12.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.pair__cap b { color: var(--ink); font-weight: 500; }

.pair__link {
  position: relative; flex: 1 1 0; min-width: 44px; max-width: 300px;
  height: clamp(100px, 17vw, 220px); /* the tile's height, so it centres on the tiles */
  display: flex; align-items: center;
}
.pair__wire {
  position: relative; flex: 1; height: 2px; overflow: hidden;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transition: transform 1s var(--ease);
}
.pair__wire--l { transform-origin: 0 50%; }
.pair__wire--r { transform-origin: 100% 50%; background: linear-gradient(90deg, var(--cyan), var(--blue)); transition-delay: .08s; }
.pair__wire::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; opacity: 0;
  background: linear-gradient(90deg, transparent, #fff, transparent);
}
.pair__knot {
  position: relative; flex: none; display: grid; place-items: center;
  width: clamp(34px, 4.2vw, 48px); aspect-ratio: 1;
  opacity: .35; transform: rotate(-180deg) scale(.6);
  transition: transform 1.1s var(--ease), opacity .6s var(--ease);
}
/* the glow is a still gradient that fades in; no filter on anything that moves */
.pair__knot::before {
  content: ""; position: absolute; inset: -90%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(110, 200, 255, .45), rgba(0, 112, 248, .18) 45%, transparent 75%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.pair__knot svg { width: 100%; height: 100%; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linejoin: miter; }
.pair__knot svg path + path { stroke: var(--blue); fill: rgba(110, 200, 255, 0); transition: fill .5s var(--ease); }
.pair__flash {
  position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px;
  background: #fff; transform: rotate(45deg) scale(0); opacity: 0; pointer-events: none;
}
.pair__state {
  position: absolute; left: 50%; top: calc(50% + clamp(30px, 3.6vw, 42px));
  height: 14px; overflow: hidden;
  transform: translateX(-50%);
  font: 500 11px/14px var(--f-mono); letter-spacing: .32em; text-transform: uppercase;
  color: var(--mute); white-space: nowrap;
  padding-left: .32em; /* balance the tracking */
}
.pair__state span { display: block; transition: transform .6s var(--ease); }
.pair__state-b { color: var(--ok); }

.pair.is-linking .pair__wire { transform: scaleX(1); }
.pair.is-linking .pair__knot { opacity: 1; transform: none; }
.pair.is-locked .pair__knot::before { opacity: 1; }
.pair.is-locked .pair__knot svg path + path { fill: rgba(110, 200, 255, .9); }
.pair.is-locked .pair__flash { animation: flash .9s var(--ease) forwards; }
.pair.is-locked .pair__state span { transform: translateY(-100%); }
.pair.is-locked .pair__wire--l::after { opacity: 1; animation: pulseR 1.8s var(--ease-2) infinite; }
.pair.is-locked .pair__wire--r::after { opacity: 1; animation: pulseL 1.8s var(--ease-2) infinite; }
@keyframes flash { 0% { opacity: 1; transform: rotate(45deg) scale(0); } 100% { opacity: 0; transform: rotate(45deg) scale(24); } }
@keyframes pulseR { from { transform: translateX(-100%); } to { transform: translateX(334%); } }
@keyframes pulseL { from { transform: translateX(334%); } to { transform: translateX(-100%); } }

/* ───────── features / bento ───────── */
.features { padding: clamp(80px, 12vh, 140px) 0; background: var(--bg-1); }
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas:
    "a a a a a a a a b b b b"
    "c c c c d d d d d d d d"
    "c c c c e e e e f f f f";
}
.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 260px;
  padding: clamp(26px, 2.6vw, 36px);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--sh-1);
  transition: transform .6s var(--ease), opacity .8s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 1px var(--line-2), var(--sh-3);
  opacity: 0; transition: opacity .45s var(--ease);
}
.card.in:hover { transform: translateY(-5px); }
.card:hover::after { opacity: 1; }
.card--a { grid-area: a; min-height: 340px; justify-content: flex-end; }
.card--a::before {
  content: ""; position: absolute; right: -12%; top: -40%; width: 70%; aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 112, 248, .10), transparent 70%);
}
.card--b { grid-area: b; }
.card--c { grid-area: c; padding-bottom: 0; }
.card--d { grid-area: d; }
.card--e { grid-area: e; }
.card--f { grid-area: f; }
.card__no {
  position: absolute; top: clamp(24px, 2.4vw, 32px); right: clamp(24px, 2.6vw, 34px);
  font: 400 12.5px/1 var(--f-mono); letter-spacing: .06em; color: var(--mute);
}
.card__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: auto;
  border-radius: 14px; background: var(--blue-soft);
}
.card--a .card__icon { position: absolute; top: clamp(26px, 2.6vw, 36px); left: clamp(26px, 2.6vw, 36px); }
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card__t {
  margin: 36px 0 10px;
  font: 600 clamp(22px, 2vw, 27px)/1.1 var(--f-display);
  letter-spacing: -.035em;
}
.card__t--big {
  margin-top: 90px;
  font-size: clamp(40px, 5.4vw, 76px); font-weight: 700; line-height: .95; letter-spacing: -.055em;
  background: linear-gradient(100deg, #F0F6FD 0%, #F0F6FD 38%, #6EC8FF 70%, #0070F8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.card p { margin: 0; color: var(--mute-2); font-size: 16px; line-height: 1.6; max-width: 36em; }
.card--a p { font-size: 17px; max-width: 32em; }
.card__shot {
  position: relative; margin: 30px -8px 0; flex: 1; min-height: 240px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, #0B1322, #05080E);
  overflow: hidden;
}
.card__shot img {
  position: absolute; left: 50%; top: 22px; width: 84%; transform: translateX(-50%);
  border-radius: 10px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6);
  transition: transform .8s var(--ease);
}
.card--c:hover .card__shot img { transform: translate(-50%, -10px); }

/* ───────── showcase: a normal section, pages change on click ───────── */
.show { position: relative; background: var(--page); padding: clamp(80px, 12vh, 140px) 0; }
.show__pin { position: relative; }
.show__grid {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.show__side .lede { max-width: 24em; }
.show__list {
  list-style: none; margin: 34px 0 0 -12px; padding: 0;
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 2px 6px;
}
.show__list button {
  display: flex; align-items: baseline; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: 999px; border: 0; background: none; cursor: pointer;
  font: 500 16px/1.2 var(--f-body); color: var(--mute);
  letter-spacing: -.01em; text-align: left;
  transition: color .3s;
}
.show__list button span { font: 400 11px/1 var(--f-mono); letter-spacing: .04em; color: #4F5B70; transition: color .3s; }
.show__list button:hover { color: var(--ink-2); }
.show__list button.is-on { color: var(--ink); background: var(--bg-2); }
.show__list button.is-on span { color: var(--blue); }

.show__stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.show__glow {
  position: absolute; left: 50%; top: 45%; width: 130%; height: 90%; transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 112, 248, .14), transparent 70%);
  pointer-events: none;
}
.show__device { width: min(100%, 500px); }
.slide {
  position: absolute; inset: 6% 7%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(18px) scale(.965);
  transition: opacity .55s var(--ease), transform .75s var(--ease);
}
.slide.is-on { opacity: 1; transform: none; }
.slide.is-past { transform: translateY(-18px) scale(.965); }
.slide img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(120, 170, 255, .12), 0 24px 60px -10px rgba(0, 0, 0, .7);
}
.show__cap {
  position: relative; display: flex; align-items: center; gap: 16px;
  width: min(100%, 420px); margin-top: 26px;
  font: 400 12.5px/1 var(--f-mono); letter-spacing: .05em; color: var(--mute);
}
.show__cap b { font: 600 15px/1 var(--f-body); letter-spacing: -.01em; color: var(--ink); min-width: 78px; }
.show__bar { flex: 1; height: 2px; border-radius: 2px; background: var(--bg-2); overflow: hidden; }
.show__bar i { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--ease); }
.show__nav { display: flex; gap: 6px; }
.show__nav button {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px;
  border: 0; background: var(--bg-2); color: var(--ink); cursor: pointer;
  transition: background .25s, transform .25s var(--ease);
}
.show__nav button:hover { background: #18243A; }
.show__nav button:active { transform: scale(.94); }
.show__nav svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.show__list button:focus-visible, .show__nav button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ───────── why strip ───────── */
.why { padding: clamp(70px, 10vh, 110px) 0; border-top: 1px solid var(--line); background: var(--page); }
.why__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.why__item { padding: 6px clamp(18px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.why__item:first-child { border-left: 0; padding-left: 0; }
.why__item h3 { margin: 0; font: 600 clamp(24px, 2.4vw, 32px)/1.08 var(--f-display); letter-spacing: -.04em; }
.why__item h3 .blue { display: block; }
.why__item p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--mute-2); }

/* ───────── pricing (cards arrive from js/pricing.js) ───────── */
.pricing { padding: clamp(90px, 14vh, 160px) 0 clamp(80px, 12vh, 130px); background: var(--bg-1); }
.saleband { display: flex; justify-content: center; margin: calc(clamp(44px, 6vw, 72px) * -.5) 0 28px; }
.saleband span {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--blue-soft); box-shadow: 0 0 0 1px rgba(0, 112, 248, .4);
  font: 500 13px/1.3 var(--f-mono); letter-spacing: .04em; color: var(--gloss); text-align: center;
}
.saleband span::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--cyan); transform: rotate(45deg); }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: stretch; max-width: 920px; margin-inline: auto; }
.plans__msg {
  grid-column: 1 / -1;
  display: grid; place-items: center; gap: 6px; min-height: 260px; padding: 30px;
  border-radius: var(--r-lg); background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--sh-1);
  font: 400 13px/1.5 var(--f-mono); letter-spacing: .04em; color: var(--mute); text-align: center;
}
.plans__msg b { display: block; font: 600 18px/1.3 var(--f-display); letter-spacing: -.02em; color: var(--ink); }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--sh-1);
  transition: transform .6s var(--ease), opacity .8s var(--ease);
}
.plan::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: var(--sh-3); opacity: 0; transition: opacity .45s var(--ease);
}
.plan.in:hover { transform: translateY(-5px); }
.plan:hover::after { opacity: 1; }
.plan--best { box-shadow: 0 0 0 2px var(--blue), 0 20px 50px -18px rgba(0, 112, 248, .45), var(--sh-1); }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.plan h3 { margin: 0; font: 600 20px/1.2 var(--f-display); letter-spacing: -.03em; }
.tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px;
  border-radius: 999px; background: var(--bg-2);
  font: 500 11.5px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2);
  white-space: nowrap;
}
.tag--blue { background: var(--blue-soft); color: var(--cyan); }
.plan__price { display: flex; align-items: flex-end; gap: 12px; margin-top: 26px; }
.plan__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-bottom: 5px; white-space: nowrap; }
.plan__price b { font: 700 clamp(44px, 4.4vw, 58px)/1 var(--f-display); letter-spacing: -.055em; }
.plan__price s { font: 500 17px/1 var(--f-display); letter-spacing: -.03em; color: var(--mute); text-decoration-thickness: 1.5px; }
.plan__price small { font: 400 12px/1 var(--f-mono); letter-spacing: .04em; color: var(--mute); text-transform: uppercase; }
.plan__sub { margin: 10px 0 0; font-size: 15px; color: var(--mute-2); }
.plan__sub em { font-style: normal; font-weight: 500; color: var(--cyan); }
.plan ul { list-style: none; margin: 26px 0 30px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5.5 9.2 2.3 2.3 4.7-5' fill='none' stroke='%230070F8' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.plan .btn { margin-top: auto; }
.plan__out {
  margin-top: auto;
  display: grid; place-items: center; min-height: 50px; padding: 10px 16px;
  border-radius: 999px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2);
  font: 500 13px/1.3 var(--f-mono); letter-spacing: .03em; color: var(--mute); text-align: center;
}
.plan__out a { color: var(--cyan); text-decoration: none; }
.plan__out a:hover { text-decoration: underline; }
.plan.is-out .plan__price b { color: var(--mute); }

.plan--reseller {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1.25fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: 34px clamp(28px, 3.4vw, 44px);
  background: linear-gradient(180deg, #0F192C, #0A111E);
}
.plan--reseller.is-member { grid-template-columns: 1fr minmax(220px, .5fr); }
.plan--reseller ul { margin: 0; padding: 0 0 0 clamp(24px, 4vw, 56px); border-top: 0; border-left: 1px solid var(--line); }
.plan--reseller .plan__price { margin-top: 18px; }
.plan--reseller .plan__sub { max-width: 34em; }
.plan__side { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.plan__side > span { font-size: 14px; color: var(--mute-2); }
.plan__side .btn { margin-top: 0; }
.pricenote {
  max-width: 44em; margin: 44px auto 0; text-align: center;
  font-size: 14.5px; line-height: 1.75; color: var(--mute-2);
}
.pricenote b { color: var(--ink-2); font-weight: 500; }
.pricenote a { color: var(--cyan); text-decoration: none; }
.pricenote a:hover { text-decoration: underline; }

/* ───────── finale ───────── */
.fin { padding: clamp(110px, 18vh, 200px) 0 clamp(90px, 14vh, 150px); text-align: center; overflow: hidden; }
.fin__in { display: flex; flex-direction: column; align-items: center; }
.fin__mark {
  position: relative; width: 132px; height: 132px; border-radius: 36px;
  display: grid; place-items: center;
  background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--sh-2);
  will-change: transform;
}
.fin__mark img { width: 74%; }
.fin__h {
  margin: 44px 0 0;
  font: 700 clamp(46px, 8vw, 116px)/.95 var(--f-display);
  letter-spacing: -.058em;
}
.fin .lede { margin-inline: auto; text-align: center; }
.fin .hero__cta { margin-top: 36px; }
.fine { margin: 26px 0 0; font: 400 12.5px/1.5 var(--f-mono); letter-spacing: .03em; color: var(--mute); }

/* ───────── footer ───────── */
.foot { border-top: 1px solid var(--line); background: var(--bg-1); }
.foot__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 28px; }
.foot__links { display: flex; gap: 24px; }
.foot__links a { font-size: 14.5px; color: var(--mute-2); text-decoration: none; transition: color .2s; }
.foot__links a:hover { color: var(--ink); }
.foot__c { font: 400 12.5px/1 var(--f-mono); letter-spacing: .04em; color: var(--mute); }

/* ───────── reveal ───────── */
.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].in { opacity: 1; transform: none; }
.js .card[data-reveal].in, .js .plan[data-reveal].in { transition-delay: 0s; }

/* ───────── off screen: every loop stands down ───────── */
.is-off, .is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }

/* ───────── responsive ───────── */
@media (max-width: 980px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "a a" "b c" "d c" "e f";
  }
  .card--c { min-height: 520px; }
  .show__grid { grid-template-columns: 1fr 1fr; }
  .show__list { grid-template-columns: repeat(2, auto); }
  .why__row { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .why__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan--reseller, .plan--reseller.is-member { grid-template-columns: 1fr; text-align: left; }
  .plan--reseller ul { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .plan__side { align-items: stretch; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { --fh: 720px; }
  .nav__links { display: none; }
  .nav__in { height: 58px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__cta { width: 100%; max-width: 360px; margin-inline: auto; }
  .fan__stage { width: min(66vw, 300px); }
  .bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e" "f"; }
  .card { min-height: 0; }
  .card--a { min-height: 320px; }
  .card--c { min-height: 0; }
  .card__shot { min-height: 280px; flex: none; height: 300px; }

  .pair__link { min-width: 40px; }
  .pair__cap { font-size: 11px; letter-spacing: .04em; }
  .pair__state { font-size: 10px; letter-spacing: .26em; padding-left: .26em; }

  /* minmax(0,…): the swipeable chip row must not widen the column past the screen */
  .show__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; text-align: center; }
  .show__side, .show__stage { min-width: 0; }
  .h2 { font-size: clamp(36px, 10.4vw, 48px); }
  .show__side .h2 { font-size: 36px; margin-top: 10px; }
  .show__side .h2 br { display: none; }
  .show__side .lede { display: none; }
  /* on a phone the page list is one row of chips you swipe along */
  .show__list {
    display: flex; gap: 6px; margin: 18px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter);
    overflow-x: auto; scrollbar-width: none; justify-content: flex-start;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
  .show__list::-webkit-scrollbar { display: none; }
  .show__list li { flex: none; }
  .show__list button { background: var(--bg-2); font-size: 14.5px; white-space: nowrap; }
  .show__device { width: min(100%, 380px); }
  .show__cap { margin-top: 20px; }

  .why__row { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .why__item, .why__item:first-child, .why__item:nth-child(3) { padding: 0 0 0 14px; border-left: 2px solid var(--blue-soft); }
  .why__item h3 { font-size: 23px; }
  .why__item p { font-size: 14.5px; }

  .plan { padding: 26px; }
  .foot__in { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .hero__name span { opacity: 1; transform: none; }
  .lit .w { opacity: 1; }
  .band__track { transform: none; }
}
