:root {
  color-scheme: dark;
  --sl-canvas: #0C0D0F;
  --sl-panel: #121316;
  --sl-panel-elevated: #17181C;
  --sl-stage: #15171C;
  --sl-hairline: rgba(255, 255, 255, 0.085);
  --sl-hairline-strong: rgba(255, 255, 255, 0.14);
  --sl-muted: #A8AAB3;
  --sl-muted-soft: #7E818B;
  --sl-glass-opaque: #171B24;
  --sl-glass-tint: rgba(18, 22, 32, 0.72);
  --sl-connected: #34D399;
  --sl-radius-pill: 999px;
  --sl-header-offset: 102px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--sl-canvas);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 78% 36% at 50% 0%, rgba(94, 234, 212, 0.075), rgba(129, 140, 248, 0.06) 44%, transparent 72%),
    var(--sl-canvas);
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11";
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

section[id] {
  scroll-margin-top: var(--sl-header-offset);
}

:focus-visible {
  outline: 2px solid var(--sl-brand-teal);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 120;
  padding: 10px 16px;
  border-radius: var(--sl-radius-pill);
  background: #FFFFFF;
  color: #141726;
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform var(--sl-motion-page) var(--sl-motion-easing);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* Liquid Glass with solid opaque fallback */
.glass {
  background: var(--sl-glass-opaque);
  box-shadow:
    inset 0 0 0 1px var(--sl-hairline-strong),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 60px -20px rgba(0, 0, 0, 0.72);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background: var(--sl-glass-tint);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    backdrop-filter: blur(22px) saturate(140%);
  }
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

/* 1. Floating Pill Header (uxpeak-inspired geometry, Skein Link palette) */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  width: min(1140px, calc(100% - 32px));
  padding: 8px 10px 8px 16px;
  border-radius: var(--sl-radius-pill);
}

.header-top {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding-inline: 2px;
  border-radius: var(--sl-radius-pill);
  font-weight: 650;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

/* Brandbook clear space: >= 0.25 of visible mark height */
.brand-mark-wrap {
  display: inline-grid;
  place-items: center;
  padding: 6px;
}

.brand-mark-wrap img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.brand-name {
  font-size: 0.98rem;
  white-space: nowrap;
}

.site-nav {
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--sl-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 4px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color var(--sl-motion-hover) var(--sl-motion-easing);
}

.site-nav a:hover {
  color: #FFFFFF;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--sl-radius-pill);
  box-shadow: inset 0 0 0 1px var(--sl-hairline-strong);
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

.lang-option {
  min-width: 38px;
  height: 32px;
  padding: 0 11px;
  border: 0;
  border-radius: var(--sl-radius-pill);
  background: transparent;
  color: var(--sl-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    background var(--sl-motion-hover) var(--sl-motion-easing),
    color var(--sl-motion-hover) var(--sl-motion-easing);
}

.lang-option[aria-pressed="true"] {
  background: #FFFFFF;
  color: #141726;
}

/* 2. Centered Editorial Hero + Lit Device Stage (uxpeak rhythm, Skein Link palette) */
.hero {
  padding: 124px 0 64px;
  display: grid;
  justify-items: center;
  gap: 36px;
}

.hero-copy {
  max-width: 760px;
  text-align: center;
  display: grid;
  justify-items: center;
}

h1 {
  margin: 0;
  font-size: clamp(2.55rem, 5.6vw, 4.5rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.hero-title-line {
  display: block;
}

.brand-accent {
  background: var(--sl-brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  margin: 22px 0 0;
  max-width: 560px;
  color: var(--sl-muted);
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  line-height: 1.62;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--sl-radius-pill);
  border: 0;
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform var(--sl-motion-hover) var(--sl-motion-easing),
    opacity var(--sl-motion-hover) var(--sl-motion-easing);
}

.button:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.button-primary {
  min-width: 196px;
  background: #FFFFFF;
  color: #141726;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 18px 42px -12px rgba(94, 234, 212, 0.22);
}

.ui-icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

/* Lit Hero Stage (mirrors uxpeak's .platform-frame-wrap using Skein Link palette) */
.hero-stage-wrap {
  width: 100%;
  max-width: 1080px;
  display: grid;
  justify-items: center;
  gap: 14px;
  position: relative;
}

.hero-stage-wrap::before {
  content: "";
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(94, 234, 212, 0.14), rgba(129, 140, 248, 0.10) 48%, transparent 74%);
  pointer-events: none;
}

.hero-stage {
  position: relative;
  width: 100%;
  padding: 32px;
  border-radius: 26px;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(ellipse 68% 45% at 50% 0%, rgba(94, 234, 212, 0.07), transparent 65%);
  background-size: 20px 20px, 100% 100%;
  background-color: var(--sl-panel);
  box-shadow:
    inset 0 0 0 1px var(--sl-hairline-strong),
    0 48px 100px -28px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

/* Top edge specular hairline rim */
.hero-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #5EEAD4 34%, #818CF8 66%, transparent);
  opacity: 0.72;
}

.hero-orbs-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-threads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.bg-thread-base {
  fill: none;
  stroke-width: 1.3;
  stroke-linecap: round;
  opacity: 0.14;
}

.bg-thread-soft {
  opacity: 0.09;
}

.bg-thread-pulse-a,
.bg-thread-pulse-b {
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-dasharray: 0.16 0.84;
  opacity: 0.42;
  animation: bridgeFlow 6.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.bg-thread-pulse-b {
  animation-duration: 8.2s;
  animation-delay: -3.4s;
  animation-direction: reverse;
}

.hero-orb-rotor {
  position: absolute;
  left: 50%;
  top: 44%;
}

.hero-orb-rotor-a {
  width: 520px;
  height: 260px;
  margin-left: -260px;
  margin-top: -130px;
  animation: orbSpin 26s linear infinite;
}

.hero-orb-rotor-b {
  width: 380px;
  height: 220px;
  margin-left: -190px;
  margin-top: -110px;
  animation: orbSpin 19s linear infinite reverse;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
}

.bg-orb-teal {
  left: 4%;
  top: 8%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.24), rgba(94, 234, 212, 0.06) 46%, transparent 72%);
}

.bg-orb-indigo {
  right: 2%;
  bottom: 4%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.24), rgba(129, 140, 248, 0.06) 46%, transparent 72%);
}

.bg-orb-dot {
  position: absolute;
  border-radius: 50%;
}

.bg-orb-dot-teal {
  left: 16%;
  top: 16%;
  width: 9px;
  height: 9px;
  background: rgba(94, 234, 212, 0.56);
  box-shadow: 0 0 12px 2px rgba(94, 234, 212, 0.28);
}

.bg-orb-dot-indigo {
  right: 16%;
  bottom: 18%;
  width: 8px;
  height: 8px;
  background: rgba(129, 140, 248, 0.58);
  box-shadow: 0 0 12px 2px rgba(129, 140, 248, 0.30);
}

.hero-link-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

.hero-link-row {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(88px, 1fr) minmax(0, 320px);
  align-items: center;
  gap: 20px;
}

.hero-device-card {
  min-width: 0;
  padding: 16px 18px;
  border-radius: 20px;
  background: #0E1015;
  box-shadow: inset 0 0 0 1px var(--sl-hairline-strong);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-device-glyph {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hero-glyph-android {
  background: radial-gradient(circle at 30% 25%, rgba(94, 234, 212, 0.16), rgba(94, 234, 212, 0.04) 72%);
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.28);
}

.hero-glyph-mac {
  background: radial-gradient(circle at 70% 25%, rgba(129, 140, 248, 0.18), rgba(129, 140, 248, 0.04) 72%);
  box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.28);
}

.hero-device-svg {
  width: 48px;
  height: 48px;
}

.hero-device-meta {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.hero-device-meta strong {
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.2;
}

.hero-device-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sl-muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sl-connected);
  flex-shrink: 0;
}

.hero-orbital-center {
  position: relative;
  height: 84px;
  display: grid;
  place-items: center;
  min-width: 0;
}

.center-core-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sl-brand-teal), var(--sl-brand-indigo));
  box-shadow: 0 0 12px 2px rgba(94, 234, 212, 0.28);
}

.center-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
}

.center-orbit-a {
  width: 58px;
  height: 58px;
  margin-left: -29px;
  margin-top: -29px;
  animation: orbSpin 12s linear infinite;
}

.orb-bead {
  position: absolute;
  border-radius: 50%;
}

.orb-bead-teal {
  top: 0;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  margin-top: -3px;
  background: var(--sl-brand-teal);
  box-shadow: 0 0 10px 2px rgba(94, 234, 212, 0.48);
}

.orb-bead-indigo {
  bottom: 0;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  margin-bottom: -3px;
  background: var(--sl-brand-indigo);
  box-shadow: 0 0 10px 2px rgba(129, 140, 248, 0.48);
}

.hero-moments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-moment {
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: #0E1015;
  box-shadow: inset 0 0 0 1px var(--sl-hairline);
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-device-card,
  .hero-moment {
    background: rgba(14, 16, 21, 0.78);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}

.moment-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.moment-icon svg {
  width: 15px;
  height: 15px;
}

.moment-icon-teal {
  background: rgba(94, 234, 212, 0.13);
  color: var(--sl-brand-teal);
}

.moment-icon-indigo {
  background: rgba(129, 140, 248, 0.15);
  color: var(--sl-brand-indigo);
}

.moment-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.moment-copy strong {
  font-size: 0.84rem;
  font-weight: 640;
  line-height: 1.25;
}

.moment-copy span {
  font-size: 0.76rem;
  color: var(--sl-muted);
  line-height: 1.38;
}

/* Section Headings (uxpeak scale) */
.section-head-center {
  text-align: center;
  margin-bottom: 44px;
}

h2 {
  margin: 0;
  font-size: clamp(1.95rem, 4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
}

/* 3. Features – uxpeak-style dark showcase stages */
.features {
  padding: 56px 0 72px;
  display: grid;
  gap: 20px;
}

.features .section-head-center {
  margin-bottom: 24px;
}

.showcase-panel {
  padding: 26px;
  border-radius: 22px;
  background: var(--sl-panel);
  box-shadow: inset 0 0 0 1px var(--sl-hairline);
  display: grid;
  align-items: center;
  gap: 28px;
}

.showcase-clipboard {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.showcase-mirror {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.showcase-personal {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.showcase-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: 20px;
}

.showcase-tile {
  padding: 10px 10px 24px;
  border-radius: 22px;
  background: var(--sl-panel);
  box-shadow: inset 0 0 0 1px var(--sl-hairline);
  display: grid;
  gap: 20px;
  align-content: start;
}

.tile-copy {
  padding-inline: 16px;
  display: grid;
  gap: 8px;
}

.showcase-copy {
  padding-inline: 8px;
  display: grid;
  gap: 12px;
}

.showcase-panel h3,
.showcase-tile h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.showcase-panel p,
.showcase-tile p {
  margin: 0;
  color: var(--sl-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Inset stages (uxpeak signature container with Skein Link palette tints) */
.showcase-stage {
  border-radius: 16px;
  padding: 24px;
  background: var(--sl-stage);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: grid;
  align-items: center;
  min-height: 208px;
  overflow: hidden;
}

.stage-dotted {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(ellipse 75% 65% at 50% 100%, rgba(94, 234, 212, 0.08), transparent 70%);
  background-size: 18px 18px, 100% 100%;
  background-color: var(--sl-stage);
}

.stage-tint-teal {
  background:
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(94, 234, 212, 0.11), transparent 72%),
    var(--sl-stage);
}

.stage-tint-indigo {
  background:
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(129, 140, 248, 0.12), transparent 72%),
    var(--sl-stage);
}

/* Clipboard choreographed bidirectional demo */
.clipboard-demo {
  display: grid;
  grid-template-columns: minmax(0, 128px) minmax(136px, 1fr) minmax(0, 128px);
  align-items: center;
  gap: 16px;
}

.clipboard-node {
  min-width: 0;
  padding: 18px 14px;
  border-radius: 16px;
  background: #0E1015;
  box-shadow: inset 0 0 0 1px var(--sl-hairline-strong);
  display: grid;
  justify-items: center;
  gap: 9px;
  text-align: center;
}

.clipboard-device-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--sl-hairline);
  display: grid;
  place-items: center;
  color: var(--sl-brand-ink);
}

.clipboard-device-icon svg {
  width: 18px;
  height: 18px;
}

.clipboard-node strong {
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.clipboard-node-android {
  animation: nodePulseTeal 5.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.clipboard-node-mac {
  animation: nodePulseIndigo 5.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.clipboard-tracks {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.track-row {
  display: grid;
  gap: 6px;
}

.track-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--sl-muted);
  text-align: center;
  white-space: nowrap;
}

.track-line {
  position: relative;
  height: 3px;
  border-radius: var(--sl-radius-pill);
  background: rgba(255, 255, 255, 0.14);
}

.track-line-forward {
  background: linear-gradient(90deg, rgba(94, 234, 212, 0.35), rgba(129, 140, 248, 0.85));
}

.track-line-reverse {
  background: linear-gradient(90deg, rgba(94, 234, 212, 0.85), rgba(129, 140, 248, 0.35));
}

.pulse-dot {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.pulse-forward {
  left: 0;
  background: var(--sl-brand-teal);
  animation: packetForward 5.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.pulse-reverse {
  right: 0;
  background: var(--sl-brand-indigo);
  animation: packetReverse 5.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

/* Notification banner settling gently */
.notif-stage {
  padding: 6px 0;
}

.notification-demo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 15px 16px;
  border-radius: 17px;
  animation: notifSettle 5.6s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.notif-badge {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.20), rgba(129, 140, 248, 0.24));
  color: var(--sl-brand-teal);
  flex-shrink: 0;
}

.notif-badge svg {
  width: 18px;
  height: 18px;
}

.notif-body {
  min-width: 0;
  flex: 1 1 160px;
}

.notif-body strong,
.notif-body span {
  display: block;
}

.notif-body strong {
  font-size: 0.86rem;
  font-weight: 600;
}

.notif-body span {
  font-size: 0.8rem;
  color: var(--sl-muted);
}

.notif-action {
  padding: 6px 12px;
  border-radius: var(--sl-radius-pill);
  background: rgba(94, 234, 212, 0.14);
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.34);
  color: var(--sl-brand-ink);
  font-size: 0.77rem;
  font-weight: 600;
  white-space: nowrap;
}

/* File transfer demo */
.transfer-demo {
  padding: 18px;
  border-radius: 15px;
  background: #0E1015;
  box-shadow: inset 0 0 0 1px var(--sl-hairline-strong);
  display: grid;
  gap: 11px;
}

.transfer-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.85rem;
}

.transfer-file-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.transfer-file-name strong {
  font-weight: 650;
  overflow-wrap: anywhere;
}

.transfer-file-name span {
  color: var(--sl-muted-soft);
  font-size: 0.76rem;
}

.transfer-percent {
  color: var(--sl-brand-ink);
  font-weight: 700;
  flex-shrink: 0;
}

.transfer-bar {
  position: relative;
  height: 7px;
  border-radius: var(--sl-radius-pill);
  background: rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

.transfer-fill {
  position: relative;
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: var(--sl-brand-gradient);
  overflow: hidden;
}

.transfer-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-100%);
  animation: progressShimmer 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.transfer-demo small {
  color: var(--sl-muted-soft);
  font-size: 0.78rem;
}

/* Calm obsidian Screen Mirror & Remote Control widgets */
.control-showcase {
  display: grid;
  gap: 12px;
}

.mirror-board {
  padding: 13px;
  border-radius: 16px;
  background: #0E1015;
  box-shadow: inset 0 0 0 1px var(--sl-hairline-strong);
  display: grid;
  gap: 10px;
}

.mirror-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.mirror-dir-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--sl-radius-pill);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px var(--sl-hairline);
}

.mirror-dir {
  padding: 4px 10px;
  border: 0;
  border-radius: var(--sl-radius-pill);
  background: transparent;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--sl-muted-soft);
  white-space: nowrap;
  cursor: pointer;
  transition:
    background var(--sl-motion-hover) var(--sl-motion-easing),
    color var(--sl-motion-hover) var(--sl-motion-easing);
}

.mirror-dir:hover:not(.is-active) {
  color: #FFFFFF;
}

.mirror-dir.is-active {
  background: rgba(94, 234, 212, 0.14);
  color: var(--sl-brand-ink);
}

.mirror-board[data-active-dir="m2a"] .mirror-dir.is-active {
  background: rgba(129, 140, 248, 0.16);
  color: #C2C4FF;
}

.mirror-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--sl-muted);
  white-space: nowrap;
}

.mirror-canvas-clean {
  position: relative;
  height: 112px;
  border-radius: 11px;
  background:
    radial-gradient(ellipse 72% 72% at 50% 100%, rgba(94, 234, 212, 0.08), transparent 72%),
    #13161E;
  box-shadow: inset 0 0 0 1px var(--sl-hairline);
  overflow: hidden;
  transition: background var(--sl-motion-panel) var(--sl-motion-easing);
}

.mirror-board[data-active-dir="m2a"] .mirror-canvas-clean {
  background:
    radial-gradient(ellipse 72% 72% at 50% 100%, rgba(129, 140, 248, 0.10), transparent 72%),
    #13161E;
}

.mirror-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--sl-motion-panel) var(--sl-motion-easing);
}

.mirror-scene.is-active {
  opacity: 1;
}

.mirror-focus-surface {
  width: 56%;
  max-width: 240px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--sl-hairline);
  display: grid;
  gap: 8px;
}

.mirror-focus-bar {
  height: 8px;
  width: 78%;
  border-radius: var(--sl-radius-pill);
  background: rgba(255, 255, 255, 0.14);
}

.mirror-focus-chip {
  height: 20px;
  width: 48%;
  border-radius: 6px;
  background: rgba(94, 234, 212, 0.12);
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.25);
}

.mirror-tap {
  position: absolute;
  left: 51%;
  top: 52%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--sl-brand-teal);
  opacity: 0;
  animation: tapRipple 5.4s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.mirror-cursor {
  position: absolute;
  left: 53%;
  top: 54%;
  width: 14px;
  height: 18px;
  background: #FFFFFF;
  clip-path: polygon(0 0, 100% 68%, 54% 72%, 34% 100%);
  animation: cursorJourney 5.4s cubic-bezier(0.35, 0, 0.25, 1) infinite;
}

/* Miniature Mac-on-Android desktop scene inside fixed 112px canvas */
.mirror-mac-frame {
  width: 68%;
  max-width: 268px;
  height: 82px;
  padding: 7px 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.24);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 6px;
}

.mirror-mac-bar {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mirror-mac-bar span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.mirror-mac-body {
  display: grid;
  grid-template-columns: 28% 1fr;
  gap: 6px;
  min-height: 0;
}

.mirror-mac-sidebar {
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
}

.mirror-mac-main {
  display: grid;
  gap: 5px;
  align-content: center;
}

.mirror-mac-line {
  height: 6px;
  width: 72%;
  border-radius: var(--sl-radius-pill);
  background: rgba(255, 255, 255, 0.14);
}

.mirror-mac-card {
  height: 18px;
  border-radius: 5px;
  background: rgba(129, 140, 248, 0.14);
  box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.28);
}

.mirror-mac-dock {
  justify-self: center;
  display: inline-flex;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--sl-radius-pill);
  background: rgba(255, 255, 255, 0.06);
}

.mirror-mac-dock span {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
}

.mirror-mac-dock span:nth-child(2) {
  background: rgba(94, 234, 212, 0.65);
}

.mirror-touch-ripple {
  position: absolute;
  left: 56%;
  top: 52%;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  margin-top: -11px;
  border-radius: 50%;
  border: 1.5px solid var(--sl-brand-indigo);
  opacity: 0;
  animation: touchTap 5.2s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.mirror-touch-dot {
  position: absolute;
  left: 56%;
  top: 52%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  margin-top: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.85), rgba(94, 234, 212, 0.22) 72%);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.52);
  animation: touchGlide 5.2s cubic-bezier(0.35, 0, 0.25, 1) infinite;
}

.control-widgets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.control-widget {
  min-width: 0;
  padding: 13px;
  border-radius: 15px;
  background: #0E1015;
  box-shadow: inset 0 0 0 1px var(--sl-hairline-strong);
  display: grid;
  gap: 10px;
  align-content: center;
}

.slider-row {
  display: grid;
  gap: 6px;
}

.slider-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--sl-muted);
}

.slider-head svg {
  width: 14px;
  height: 14px;
  color: var(--sl-brand-ink);
  flex-shrink: 0;
}

.slider-track {
  height: 5px;
  border-radius: var(--sl-radius-pill);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.slider-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sl-brand-gradient);
}

.slider-volume {
  width: 72%;
}

.slider-brightness {
  width: 84%;
}

.mini-pad {
  position: relative;
  height: 46px;
  padding-inline: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--sl-hairline);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.mini-pad > span:first-child {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sl-muted-soft);
}

.trackpad-finger {
  position: absolute;
  left: 72%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  margin-top: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.72), rgba(94, 234, 212, 0.14) 72%);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.45);
  animation: trackpadGlide 4.8s cubic-bezier(0.35, 0, 0.25, 1) infinite;
}

.media-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.media-btn {
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--sl-hairline);
  display: grid;
  place-items: center;
  color: var(--sl-muted);
}

.media-btn svg {
  width: 13px;
  height: 13px;
}

/* Personal data hub + CallPopupView widget */
.personal-summary {
  margin-top: 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--sl-brand-ink);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.personal-summary-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.personal-summary-item::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(94, 234, 212, 0.55);
  flex-shrink: 0;
}

.personal-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 14px;
  align-items: center;
}

.personal-rail {
  min-width: 0;
  display: grid;
  gap: 10px;
  align-content: center;
}

.mini-card {
  min-width: 0;
  padding: 11px 13px;
  border-radius: 14px;
  background: #0E1015;
  box-shadow: inset 0 0 0 1px var(--sl-hairline-strong);
  display: grid;
  gap: 6px;
}

.mini-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mini-card-head strong {
  font-size: 0.76rem;
  font-weight: 640;
  color: #FFFFFF;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-card-head time {
  margin-left: auto;
  font-size: 0.66rem;
  color: var(--sl-muted-soft);
  flex-shrink: 0;
}

.mini-badge {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mini-badge svg {
  width: 13px;
  height: 13px;
}

.mini-badge-teal {
  background: rgba(94, 234, 212, 0.14);
  color: var(--sl-brand-teal);
}

.mini-badge-indigo {
  background: rgba(129, 140, 248, 0.16);
  color: var(--sl-brand-indigo);
}

.mini-card-body {
  margin: 0;
  font-size: 0.76rem !important;
  line-height: 1.38 !important;
  color: var(--sl-muted) !important;
}

.mini-card-sub {
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.69rem;
  color: var(--sl-brand-ink);
  line-height: 1.35;
}

.mini-contacts-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1px;
}

.mini-avatars {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.mini-avatars span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.64rem;
  font-weight: 700;
  color: #141726;
  background: var(--sl-brand-gradient);
}

.mini-avatars span + span {
  background: #252A38;
  color: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.mini-avatars span:nth-child(3) {
  background: rgba(129, 140, 248, 0.30);
  color: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.42);
}

.mini-contacts-meta small {
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--sl-muted);
}

.call-widget {
  position: relative;
  width: min(320px, 100%);
  margin-inline: auto;
  padding: 17px 16px 14px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(129, 140, 248, 0.09), transparent 65%),
    #11141C !important;
  box-shadow:
    inset 0 0 0 1px var(--sl-hairline-strong),
    0 18px 38px -18px rgba(0, 0, 0, 0.72);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 7px;
}

.call-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--sl-hairline);
  display: grid;
  place-items: center;
}

.call-close svg {
  width: 11px;
  height: 11px;
  color: var(--sl-muted);
}

.call-kicker {
  margin: 0;
  padding-inline: 26px;
  color: var(--sl-muted-soft);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.call-avatar {
  width: 48px;
  height: 48px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.18), rgba(129, 140, 248, 0.22));
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.34);
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  animation: callBreath 3.6s ease-in-out infinite;
}

.call-name {
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.2;
}

.call-number {
  color: var(--sl-muted);
  font-size: 0.76rem;
}

.call-buttons {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 4px;
}

.call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: var(--sl-radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
}

.call-btn-decline {
  background: rgba(255, 158, 166, 0.13);
  box-shadow: inset 0 0 0 1px rgba(255, 158, 166, 0.34);
  color: var(--sl-danger-ink);
}

.call-btn-answer {
  background: rgba(52, 211, 153, 0.14);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.36);
  color: var(--sl-connected);
}

.call-footnote {
  width: 100%;
  margin: 4px 0 0;
  padding-top: 9px;
  border-top: 1px solid var(--sl-hairline);
  color: var(--sl-muted-soft) !important;
  font-size: 0.71rem !important;
  line-height: 1.38 !important;
  text-align: left;
}

/* 4. How to start */
.how {
  padding: 56px 0 72px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-card {
  min-width: 0;
  padding: 10px 10px 24px;
  border-radius: 22px;
  background: var(--sl-panel);
  box-shadow: inset 0 0 0 1px var(--sl-hairline);
  display: grid;
  gap: 16px;
  align-content: start;
}

.step-stage {
  height: 168px;
  border-radius: 15px;
  background: var(--sl-stage);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 16px;
}

.step-stage small {
  color: var(--sl-muted-soft);
  font-size: 0.74rem;
}

.wifi-pair {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #FFFFFF;
}

.wifi-pair > svg {
  width: 28px;
  height: 28px;
}

.wifi-pulse {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(94, 234, 212, 0.10);
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.28);
  color: var(--sl-brand-teal);
  animation: readyHalo 3.6s ease-in-out infinite;
}

.wifi-pulse svg {
  width: 20px;
  height: 20px;
}

.qr-card {
  position: relative;
  width: 102px;
  height: 102px;
  padding: 11px;
  border-radius: 15px;
  background: #ffffff;
  overflow: hidden;
}

.qr-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.qr-grid span {
  border-radius: 2px;
  background: #0f172a;
}

.qr-grid i {
  border-radius: 2px;
  background: transparent;
}

.qr-scanline {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 12px;
  height: 3px;
  border-radius: var(--sl-radius-pill);
  background: var(--sl-brand-teal);
  box-shadow: 0 0 10px var(--sl-brand-teal);
  animation: qrScan 3s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.sas-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  max-width: 256px;
}

.sas-row span {
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #0E1015;
  box-shadow: inset 0 0 0 1px var(--sl-hairline-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.05rem;
  font-weight: 700;
  animation: codeWave 4.2s ease-in-out infinite;
}

.sas-row span:nth-child(2) { animation-delay: 0.16s; }
.sas-row span:nth-child(3) { animation-delay: 0.32s; }
.sas-row span:nth-child(4) { animation-delay: 0.48s; }
.sas-row span:nth-child(5) { animation-delay: 0.64s; }
.sas-row span:nth-child(6) { animation-delay: 0.80s; }

.step-card h3,
.step-card p {
  padding-inline: 14px;
}

.step-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.step-card p {
  margin: 0;
  color: var(--sl-muted);
  font-size: 0.94rem;
  line-height: 1.56;
}

/* 5. Privacy */
.privacy {
  padding: 56px 0 72px;
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 44px;
}

.privacy-copy {
  display: grid;
  gap: 16px;
}

.privacy-text {
  margin: 0;
  color: var(--sl-muted);
  font-size: 1rem;
  line-height: 1.62;
  max-width: 52ch;
}

.privacy-points {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  gap: 11px;
}

.privacy-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: #FFFFFF;
}

.privacy-points svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--sl-brand-teal);
  flex-shrink: 0;
}

.privacy-stage {
  position: relative;
  min-height: 280px;
}

.privacy-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.privacy-orb-rotor {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300px;
  height: 220px;
  margin-left: -150px;
  margin-top: -110px;
  animation: orbSpin 24s linear infinite;
}

.privacy-glow {
  position: absolute;
  left: 14%;
  top: 18%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.14), rgba(129, 140, 248, 0.10) 52%, transparent 74%);
  filter: blur(14px);
}

.privacy-orb {
  position: absolute;
  border-radius: 50%;
}

.privacy-orb-teal {
  left: 20%;
  top: 22%;
  width: 8px;
  height: 8px;
  background: rgba(94, 234, 212, 0.62);
  box-shadow: 0 0 12px 2px rgba(94, 234, 212, 0.30);
}

.privacy-orb-indigo {
  right: 18%;
  bottom: 20%;
  width: 7px;
  height: 7px;
  background: rgba(129, 140, 248, 0.64);
  box-shadow: 0 0 12px 2px rgba(129, 140, 248, 0.32);
}

.privacy-orb-soft {
  left: 62%;
  top: 14%;
  width: 6px;
  height: 6px;
  background: rgba(94, 234, 212, 0.42);
  box-shadow: 0 0 10px 2px rgba(94, 234, 212, 0.22);
}

.privacy-visual {
  position: relative;
  z-index: 1;
  min-height: 232px;
  overflow: hidden;
}

.privacy-threads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.thread-base {
  stroke-width: 3.5;
  stroke-linecap: round;
  opacity: 0.34;
}

.thread-secondary {
  stroke-width: 2.5;
  opacity: 0.24;
}

.thread-flow {
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 0.26 0.74;
  animation: threadStream 4s linear infinite;
}

.thread-flow-reverse {
  stroke-width: 2.8;
  animation-direction: reverse;
  animation-duration: 5.2s;
}

.privacy-node {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(20, 24, 34, 0.92);
  font-size: 0.84rem;
  font-weight: 650;
}

.privacy-node svg {
  width: 18px;
  height: 18px;
  color: var(--sl-brand-ink);
}

.privacy-node-android {
  left: 8px;
  bottom: 14px;
}

.privacy-node-mac {
  right: 8px;
  top: 14px;
}

/* 6. Smooth gradient Footer band & Floating Back-to-Top button */
.footer-band {
  position: relative;
  margin-top: 32px;
  padding: 44px 0 54px;
  background: radial-gradient(ellipse 82% 110% at 50% 100%, rgba(94, 234, 212, 0.085), rgba(129, 140, 248, 0.07) 44%, transparent 74%);
  overflow: hidden;
}

.footer-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1160px, calc(100% - 40px));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.34) 36%, rgba(129, 140, 248, 0.34) 64%, transparent);
}

.site-footer {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  color: var(--sl-muted);
  font-size: 0.88rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer nav a:hover,
.back-top:hover {
  color: #FFFFFF;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}

.support-link {
  color: var(--sl-muted);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.26);
  text-underline-offset: 4px;
  transition:
    color var(--sl-motion-hover) var(--sl-motion-easing),
    text-decoration-color var(--sl-motion-hover) var(--sl-motion-easing);
}

.support-link:hover {
  color: var(--sl-brand-ink);
  text-decoration-color: var(--sl-brand-ink);
}

.button-footer {
  min-height: 36px;
  min-width: 0;
  padding: 0 15px;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 550;
  color: var(--sl-text);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--sl-hairline-strong);
  transition:
    background-color var(--sl-motion-hover) var(--sl-motion-easing),
    box-shadow var(--sl-motion-hover) var(--sl-motion-easing),
    color var(--sl-motion-hover) var(--sl-motion-easing),
    transform var(--sl-motion-hover) var(--sl-motion-easing);
}

.button-footer:hover {
  background: rgba(94, 234, 212, 0.10);
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.34);
  color: #FFFFFF;
  opacity: 1;
}

.ui-icon-sm {
  width: 15px;
  height: 15px;
}

.back-top {
  color: var(--sl-muted-soft);
  font-size: 0.84rem;
}

.floating-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 55;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.94);
  transition:
    opacity var(--sl-motion-panel) var(--sl-motion-easing),
    transform var(--sl-motion-panel) var(--sl-motion-easing),
    color var(--sl-motion-hover) var(--sl-motion-easing);
}

.floating-top-btn svg {
  width: 19px;
  height: 19px;
}

.floating-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-top-btn:hover {
  color: var(--sl-brand-ink);
  transform: translateY(-2px) scale(1);
}

.release-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 65;
  width: min(460px, calc(100% - 28px));
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(16, 18, 25, 0.92);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px) scale(0.97);
  transition:
    opacity var(--sl-motion-panel) var(--sl-motion-easing),
    transform var(--sl-motion-panel) var(--sl-motion-easing);
  overflow: hidden;
}

.release-toast::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #5EEAD4 35%, #818CF8 65%, transparent);
  opacity: 0.75;
}

.release-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.release-toast-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--sl-brand-gradient);
  box-shadow: 0 0 12px rgba(94, 234, 212, 0.48);
  flex-shrink: 0;
}

.release-toast-copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 3px;
}

.release-toast-copy strong {
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.25;
  color: #FFFFFF;
}

.release-toast-copy span {
  font-size: 0.81rem;
  line-height: 1.42;
  color: var(--sl-muted);
}

.release-toast-close {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--sl-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background-color var(--sl-motion-hover) var(--sl-motion-easing),
    color var(--sl-motion-hover) var(--sl-motion-easing);
}

.release-toast-close:hover {
  background: rgba(255, 255, 255, 0.11);
  color: #FFFFFF;
}

.release-toast-close svg {
  width: 15px;
  height: 15px;
}

/* Smooth GPU-friendly animations */
@keyframes orbSpin {
  to { transform: rotate(360deg); }
}

@keyframes bridgeFlow {
  to { stroke-dashoffset: -1; }
}

@keyframes packetForward {
  0%, 5% { left: 0; opacity: 0; }
  12% { left: 0; opacity: 1; }
  40% { left: calc(100% - 9px); opacity: 1; }
  48%, 100% { left: calc(100% - 9px); opacity: 0; }
}

@keyframes packetReverse {
  0%, 50% { right: 0; opacity: 0; }
  58% { right: 0; opacity: 1; }
  86% { right: calc(100% - 9px); opacity: 1; }
  94%, 100% { right: calc(100% - 9px); opacity: 0; }
}

@keyframes nodePulseTeal {
  0%, 83%, 100% {
    background: #0E1015;
    box-shadow: inset 0 0 0 1px var(--sl-hairline-strong);
  }
  87%, 96% {
    background: rgba(94, 234, 212, 0.09);
    box-shadow:
      inset 0 0 0 1px rgba(94, 234, 212, 0.78),
      0 0 22px -6px rgba(94, 234, 212, 0.42);
  }
}

@keyframes nodePulseIndigo {
  0%, 37%, 56%, 100% {
    background: #0E1015;
    box-shadow: inset 0 0 0 1px var(--sl-hairline-strong);
  }
  41%, 50% {
    background: rgba(129, 140, 248, 0.09);
    box-shadow:
      inset 0 0 0 1px rgba(129, 140, 248, 0.78),
      0 0 22px -6px rgba(129, 140, 248, 0.45);
  }
}

@keyframes notifSettle {
  0%, 100% { transform: translateY(0); }
  20%, 55% { transform: translateY(-4px); }
}

@keyframes progressShimmer {
  0% { transform: translateX(-100%); }
  65%, 100% { transform: translateX(140%); }
}

@keyframes cursorJourney {
  0% { transform: translate(18px, 12px); }
  30% { transform: translate(-8px, -4px); }
  42% { transform: translate(-8px, -4px) scale(0.92); }
  54% { transform: translate(-8px, -4px); }
  82% { transform: translate(14px, -12px); }
  100% { transform: translate(18px, 12px); }
}

@keyframes trackpadGlide {
  0%, 100% { transform: translate(-16px, 5px); }
  35% { transform: translate(16px, -6px); }
  50% { transform: translate(16px, -6px) scale(0.84); }
  75% { transform: translate(-6px, -4px); }
}

@keyframes tapRipple {
  0%, 36% { transform: scale(0.4); opacity: 0; }
  42% { transform: scale(0.75); opacity: 0.78; }
  62%, 100% { transform: scale(1.85); opacity: 0; }
}

@keyframes touchGlide {
  0%, 100% { transform: translate(-18px, 6px); }
  32% { transform: translate(8px, -4px); }
  44% { transform: translate(8px, -4px) scale(0.84); }
  56% { transform: translate(8px, -4px); }
  82% { transform: translate(-6px, -10px); }
}

@keyframes touchTap {
  0%, 38% { transform: scale(0.4); opacity: 0; }
  44% { transform: scale(0.85); opacity: 0.75; }
  64%, 100% { transform: scale(1.75); opacity: 0; }
}

@keyframes callBreath {
  0%, 100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(94, 234, 212, 0); }
}

@keyframes qrScan {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(76px); }
}

@keyframes codeWave {
  0%, 35%, 100% { box-shadow: inset 0 0 0 1px var(--sl-hairline-strong); background: #0E1015; }
  18% { box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.55); background: rgba(94, 234, 212, 0.08); }
}

@keyframes readyHalo {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.28), 0 0 0 0 rgba(94, 234, 212, 0.25); }
  50% { box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.45), 0 0 0 9px rgba(94, 234, 212, 0); }
}

@keyframes threadStream {
  to { stroke-dashoffset: -1; }
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
  .hero {
    padding-top: 118px;
    gap: 32px;
  }

  .hero-stage {
    padding: 26px 22px;
  }

  .hero-link-row {
    grid-template-columns: minmax(0, 260px) minmax(72px, 1fr) minmax(0, 260px);
    gap: 14px;
  }

  .showcase-mirror,
  .showcase-personal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  :root {
    --sl-header-offset: 132px;
  }

  .site-header {
    padding: 10px 14px 11px;
    border-radius: 22px;
  }

  .header-top {
    row-gap: 9px;
  }

  .site-nav {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    margin-inline: 0;
    padding-top: 8px;
    border-top: 1px solid var(--sl-hairline);
    justify-content: center;
    gap: 18px;
  }

  .lang-switch {
    margin-left: auto;
  }

  .hero {
    padding: 136px 0 48px;
    gap: 30px;
  }

  .hero-stage {
    padding: 20px 16px;
  }

  .hero-link-row {
    grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr);
    gap: 12px;
  }

  .hero-device-glyph {
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }

  .hero-device-svg {
    width: 40px;
    height: 40px;
  }

  .hero-moments {
    grid-template-columns: 1fr;
  }

  .showcase-clipboard,
  .showcase-mirror,
  .showcase-personal,
  .showcase-pair,
  .steps-grid,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-meta {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .personal-stage-grid {
    grid-template-columns: 1fr;
  }

  .call-widget {
    order: 1;
  }

  .personal-rail {
    order: 2;
  }
}

@media (max-width: 600px) {
  .shell {
    width: calc(100% - 24px);
  }

  .site-header {
    top: 8px;
    width: calc(100% - 20px);
    padding: 8px 10px 9px;
    border-radius: 18px;
  }

  .header-top {
    gap: 6px;
    row-gap: 7px;
  }

  .brand {
    gap: 5px;
    min-height: 32px;
    padding-inline: 2px;
  }

  .brand-mark-wrap {
    padding: 4px;
  }

  .brand-mark-wrap img {
    width: 20px;
    height: 20px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .lang-option {
    min-width: 30px;
    height: 28px;
    padding: 0 7px;
    font-size: 0.72rem;
  }

  .site-nav {
    gap: 14px;
    padding-top: 7px;
  }

  .site-nav a {
    font-size: 0.82rem;
    padding: 3px 2px;
  }

  .hero {
    padding: 122px 0 38px;
    gap: 24px;
  }

  h1 {
    font-size: clamp(2.15rem, 11vw, 2.95rem);
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
    padding: 0 14px;
    font-size: 0.94rem;
  }

  .button-footer {
    width: auto;
    padding: 0 15px;
    font-size: 0.84rem;
  }

  .hero-stage {
    padding: 16px 14px;
    border-radius: 20px;
  }

  .hero-link-showcase {
    gap: 14px;
  }

  .hero-link-row {
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
    gap: 8px;
  }

  .hero-device-card {
    flex-direction: column;
    text-align: center;
    padding: 12px 8px;
    gap: 8px;
    border-radius: 15px;
  }

  .hero-device-glyph {
    width: 62px;
    height: 62px;
    border-radius: 17px;
  }

  .hero-device-svg {
    width: 36px;
    height: 36px;
  }

  .hero-orbital-center {
    height: 58px;
  }

  .center-orbit-a {
    width: 40px;
    height: 40px;
    margin-left: -20px;
    margin-top: -20px;
  }

  .mirror-dir {
    padding: 4px 8px;
    font-size: 0.64rem;
  }

  .floating-top-btn {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }

  .release-toast {
    bottom: 16px;
    width: calc(100% - 24px);
    padding: 12px 13px;
    border-radius: 16px;
  }

  .hero-device-meta {
    justify-items: center;
  }

  .hero-device-meta strong {
    font-size: 0.9rem;
  }

  .hero-device-sub {
    font-size: 0.68rem;
  }

  .hero-moment {
    padding: 12px 13px;
  }

  .features {
    padding: 40px 0 48px;
    gap: 16px;
  }

  .showcase-panel {
    padding: 16px;
    border-radius: 18px;
    gap: 18px;
  }

  .showcase-stage {
    padding: 14px;
    min-height: 170px;
  }

  /* Side-by-side compact bidirectional clipboard for mobile */
  .clipboard-demo {
    grid-template-columns: 74px minmax(0, 1fr) 74px;
    gap: 8px;
  }

  .clipboard-node {
    padding: 12px 6px;
    gap: 6px;
    border-radius: 13px;
  }

  .clipboard-device-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .clipboard-device-icon svg {
    width: 15px;
    height: 15px;
  }

  .clipboard-node strong {
    font-size: 0.74rem;
  }

  .clipboard-tracks {
    gap: 11px;
  }

  .track-label {
    font-size: 0.62rem;
  }

  .call-widget {
    width: 100%;
    padding: 16px 14px 14px;
  }

  .how,
  .privacy {
    padding: 40px 0 48px;
  }

  .privacy-visual {
    min-height: 210px;
  }

  .privacy-node {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .privacy-node-android {
    left: 2px;
    bottom: 8px;
  }

  .privacy-node-mac {
    right: 2px;
    top: 8px;
  }
}

@media (max-width: 520px) {
  .control-widgets {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .clipboard-demo {
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    gap: 6px;
  }

  .clipboard-tracks {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
