:root {
  --ink: rgba(255, 255, 255, 0.96);
  --muted: rgba(232, 226, 255, 0.72);
  --soft: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.28);
  --pink: #ff8df1;
  --blue: #7aa8ff;
  --cyan: #84f1ff;
  --dark: #060815;
  --motion: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
  font-family:
    Inter, "SF Pro Display", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei",
    system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.08), transparent 28rem),
    linear-gradient(180deg, #070817 0%, #0b1025 48%, #070916 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 18% 74%, rgba(122, 168, 255, 0.045)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 36rem);
  mix-blend-mode: screen;
  opacity: 0.34;
  z-index: 1;
}

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

#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0);
}

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.018)),
    rgba(5, 7, 18, 0.34);
  backdrop-filter: blur(20px) saturate(1.62) brightness(1.06);
  -webkit-backdrop-filter: blur(20px) saturate(1.62) brightness(1.06);
  transition:
    padding 360ms var(--motion),
    background 360ms ease,
    border-color 360ms ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.032)),
    rgba(5, 7, 18, 0.48);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.nav-links a {
  position: relative;
  transition:
    color 220ms ease,
    opacity 220ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  opacity: 0;
  transform: scaleX(0.34);
  transition:
    opacity 260ms ease,
    transform 360ms var(--motion);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  opacity: 0.9;
  transform: scaleX(1);
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.hero {
  min-height: 94vh;
  padding: 118px max(24px, calc((100vw - 1180px) / 2)) 54px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
  padding-bottom: 42px;
  will-change: transform, opacity;
}

.eyebrow {
  margin: 0 0 16px;
  color: rgba(255, 210, 253, 0.82);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 5.8rem;
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow:
    0 0 22px rgba(255, 255, 255, 0.46),
    0 0 54px rgba(122, 168, 255, 0.28);
}

.lead {
  max-width: 520px;
  color: rgba(247, 244, 255, 0.82);
  font-size: 1.28rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 14px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-badges span,
.release-status {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0 12px;
  color: rgba(238, 236, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.028)),
    rgba(255, 255, 255, 0.026);
  backdrop-filter: blur(18px) saturate(1.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.55);
}

.primary-action,
.secondary-action,
.inline-link,
.ghost-button {
  --mx: 50%;
  --my: 50%;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  border: 0;
  color: inherit;
  transition:
    transform 320ms var(--motion),
    filter 240ms ease,
    border-color 240ms ease,
    box-shadow 320ms var(--motion);
}

.primary-action::before,
.secondary-action::before,
.inline-link::before,
.ghost-button::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.44), transparent 34%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.primary-action {
  color: #101326;
  background: linear-gradient(135deg, rgba(255, 141, 241, 0.96), rgba(132, 241, 255, 0.9));
  box-shadow: 0 18px 48px rgba(122, 168, 255, 0.22);
}

.secondary-action,
.inline-link,
.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 18px 44px rgba(1, 5, 20, 0.22);
  backdrop-filter: blur(18px) saturate(1.62) brightness(1.06);
  -webkit-backdrop-filter: blur(18px) saturate(1.62) brightness(1.06);
}

.primary-action:hover,
.secondary-action:hover,
.inline-link:hover,
.ghost-button:not(:disabled):hover {
  transform: translate3d(0, -3px, 0);
  filter: brightness(1.08);
}

.primary-action:hover::before,
.secondary-action:hover::before,
.inline-link:hover::before,
.ghost-button:not(:disabled):hover::before {
  opacity: 0.88;
}

.primary-action.is-pressing,
.secondary-action.is-pressing,
.inline-link.is-pressing,
.copy-button.is-pressing {
  transform: translate3d(0, -1px, 0) scale(0.985);
  transition-duration: 120ms;
}

.ghost-button {
  cursor: default;
  opacity: 0.66;
}

.small-note {
  color: rgba(232, 226, 255, 0.58);
  font-size: 0.92rem;
  line-height: 1.7;
}

.product-stage {
  perspective: 1200px;
  will-change: transform, opacity;
}

.glass-widget {
  --tilt-x: 4deg;
  --tilt-y: -7deg;
  --shine-x: 50%;
  --shine-y: 45%;
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 54px;
  padding: 42px 48px 34px;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05) 28%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(90deg, rgba(255, 141, 241, 0.08), transparent 38% 62%, rgba(122, 168, 255, 0.1)),
    rgba(9, 12, 34, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -18px 60px rgba(10, 16, 48, 0.22),
    0 34px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(30px) saturate(1.82) brightness(1.08);
  -webkit-backdrop-filter: blur(30px) saturate(1.82) brightness(1.08);
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition:
    transform 420ms var(--motion),
    box-shadow 420ms var(--motion);
  will-change: transform;
  contain: layout paint;
}

.glass-widget:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -18px 64px rgba(10, 16, 48, 0.18),
    0 42px 110px rgba(0, 0, 0, 0.3);
}

.glass-widget::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.glass-widget::before {
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(124deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.06) 20%, transparent 42%),
    radial-gradient(240px 72px at 30% 4%, rgba(255, 255, 255, 0.24), transparent 68%);
  mix-blend-mode: screen;
  opacity: 0.7;
}

.glass-widget::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.22), transparent 22%),
    linear-gradient(100deg, transparent 0 44%, rgba(255, 255, 255, 0.08), transparent 58% 100%);
  opacity: 0.48;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 360ms ease;
}

.glass-widget.is-syncing {
  animation: glass-pulse 950ms var(--motion);
}

.glass-widget.is-syncing .widget-glow {
  animation:
    widget-spin 8s linear infinite,
    sync-flare 950ms var(--motion);
}

.widget-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 38%, rgba(255, 255, 255, 0.16), transparent 58% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 42% 100%);
  opacity: 0.34;
  animation: glass-sheen 8.8s ease-in-out infinite;
}

.sync-line,
.dots,
.metric-title,
.token-count,
.widget-footer {
  position: relative;
  z-index: 1;
}

.sync-line {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
  font-weight: 800;
}

.dots {
  position: absolute;
  right: 48px;
  top: 44px;
  display: flex;
  gap: 14px;
}

.dots span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.58);
  animation: dot-breathe 3.4s ease-in-out infinite;
}

.dots span:nth-child(2) {
  animation-delay: -1.2s;
}

.dots span:nth-child(3) {
  animation-delay: -2.2s;
}

.metric-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
  color: rgba(248, 220, 255, 0.9);
  font-size: 1.36rem;
  font-weight: 900;
}

.metric-title time {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.98rem;
}

.metric-title span {
  display: block;
  width: 5px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 210, 253, 0.92);
  box-shadow: 0 0 18px rgba(255, 141, 241, 0.64);
}

.token-count {
  display: block;
  margin: 22px auto 34px;
  text-align: center;
  font-size: 5.15rem;
  line-height: 1;
  letter-spacing: 0;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.74),
    0 0 50px rgba(122, 168, 255, 0.36);
}

.token-count.is-changing {
  animation: token-glow 900ms var(--motion);
}

.widget-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 18px;
}

.provider-block,
.cost-block {
  display: grid;
  gap: 2px;
}

.provider-block i {
  width: 98px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 141, 241, 0.92), transparent);
  margin-bottom: 8px;
}

.provider-block span,
.cost-block span {
  color: rgba(231, 223, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 800;
}

.provider-block b {
  font-size: 1.78rem;
  line-height: 1.08;
}

.provider-block em {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  font-style: normal;
  font-weight: 800;
}

.clock {
  min-width: 130px;
  text-align: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
  font-weight: 900;
}

.cost-block {
  text-align: right;
}

.cost-block b {
  font-size: 2.25rem;
  line-height: 1.1;
}

.scroll-hint {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.86rem;
  text-align: center;
  animation: hint-float 2.8s ease-in-out infinite;
}

.band {
  padding: 92px max(24px, calc((100vw - 1180px) / 2));
  content-visibility: auto;
  contain-intrinsic-size: 760px;
}

.release-band {
  padding-top: 76px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head > p:not(.eyebrow) {
  margin: 16px 0 0;
  color: rgba(232, 226, 255, 0.72);
  font-size: 1.08rem;
  line-height: 1.78;
}

h2 {
  margin-bottom: 0;
  font-size: 2.7rem;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.feature-grid,
.security-layout,
.api-grid,
.usage-grid,
.download-layout {
  display: grid;
  gap: 14px;
}

.feature-grid,
.security-layout,
.download-layout {
  grid-template-columns: repeat(3, 1fr);
}

.api-grid,
.usage-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid article,
.security-layout article,
.api-grid article,
.usage-grid article,
.release-card {
  position: relative;
  min-height: 182px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.028) 54%, rgba(255, 255, 255, 0.052)),
    rgba(255, 255, 255, 0.024);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 16px 42px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(20px) saturate(1.62) brightness(1.06);
  -webkit-backdrop-filter: blur(20px) saturate(1.62) brightness(1.06);
  contain: layout paint;
}

.release-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 440px;
}

.release-card.featured-release {
  border-color: rgba(255, 210, 253, 0.34);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 141, 241, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03) 58%, rgba(122, 168, 255, 0.07)),
    rgba(255, 255, 255, 0.03);
}

.release-card.pending {
  opacity: 0.86;
}

.release-card h3 {
  margin-bottom: 0;
  font-size: 1.62rem;
}

.release-card p {
  margin: 0;
  color: rgba(232, 226, 255, 0.72);
  line-height: 1.72;
}

.release-card dl {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding-top: 8px;
}

.release-card dl div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.release-card dt {
  color: rgba(255, 210, 253, 0.68);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.release-card dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: rgba(244, 242, 255, 0.74);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.55;
}

.feature-grid span,
.api-grid span,
.usage-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: rgba(255, 210, 253, 0.72);
  font-weight: 900;
}

.feature-grid p,
.security-layout p,
.api-grid p,
.usage-grid p,
.checklist li {
  color: rgba(232, 226, 255, 0.7);
  line-height: 1.75;
}

.api-types,
.usage-intel {
  position: relative;
}

.api-types::before,
.usage-intel::before {
  content: "";
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  right: max(24px, calc((100vw - 1180px) / 2));
  top: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 141, 241, 0.32), rgba(122, 168, 255, 0.36), transparent);
  pointer-events: none;
}

.api-grid article {
  min-height: 236px;
  background:
    linear-gradient(120deg, rgba(255, 141, 241, 0.052), transparent 34% 66%, rgba(132, 241, 255, 0.048)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.024));
}

.api-grid h3 {
  font-size: 1.34rem;
  line-height: 1.25;
}

.usage-grid article {
  min-height: 220px;
  background:
    linear-gradient(120deg, rgba(132, 241, 255, 0.045), transparent 42% 100%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.024));
}

.usage-grid span {
  margin-bottom: 22px;
  color: rgba(132, 241, 255, 0.78);
}

.usage-grid h3 {
  font-size: 1.15rem;
  line-height: 1.42;
}

.stat-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.stat-flow div {
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.024)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 16px 42px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px) saturate(1.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.55);
  contain: layout paint;
}

.stat-flow span {
  display: block;
  margin-bottom: 12px;
  color: rgba(132, 241, 255, 0.74);
  font-size: 0.8rem;
  font-weight: 900;
}

.stat-flow strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.18rem;
}

.stat-flow i {
  display: block;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 141, 241, 0.1), rgba(132, 241, 255, 0.82));
  box-shadow: 0 0 16px rgba(122, 168, 255, 0.34);
}

.checklist {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0;
  padding-left: 22px;
}

.inline-link {
  width: fit-content;
  margin-top: 22px;
}

.release-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.release-links .inline-link {
  margin-top: 0;
}

.verify-layout,
.command-grid,
.faq-grid,
.timeline-grid {
  display: grid;
  gap: 14px;
}

.verify-layout {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 14px;
}

.command-grid {
  grid-template-columns: repeat(2, 1fr);
}

.faq-grid {
  grid-template-columns: repeat(3, 1fr);
}

.timeline-grid {
  grid-template-columns: repeat(3, 1fr);
}

.verify-card,
.command-card,
.faq-item,
.timeline-card {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  overflow: hidden;
  min-height: 178px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.026) 58%, rgba(122, 168, 255, 0.052)),
    rgba(255, 255, 255, 0.022);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 16px 42px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(20px) saturate(1.62) brightness(1.06);
  -webkit-backdrop-filter: blur(20px) saturate(1.62) brightness(1.06);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0, 0, 0);
  transition:
    transform 420ms var(--motion),
    border-color 320ms ease,
    box-shadow 420ms var(--motion),
    background 420ms ease;
  contain: layout paint;
}

.verify-card::after,
.command-card::after,
.faq-item::after,
.timeline-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.16), transparent 34%);
  transition: opacity 320ms ease;
}

.verify-card > *,
.command-card > *,
.faq-item > *,
.timeline-card > * {
  position: relative;
  z-index: 1;
}

.verify-card:hover,
.command-card:hover,
.faq-item:hover,
.timeline-card:hover {
  will-change: transform;
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 22px 56px rgba(0, 0, 0, 0.16);
}

.verify-card:hover::after,
.command-card:hover::after,
.faq-item:hover::after,
.timeline-card:hover::after {
  opacity: 1;
}

.verify-card span,
.timeline-card span {
  display: inline-flex;
  margin-bottom: 24px;
  color: rgba(255, 210, 253, 0.72);
  font-weight: 900;
}

.verify-card p,
.command-card p,
.faq-item p,
.timeline-card p {
  margin: 0;
  color: rgba(232, 226, 255, 0.72);
  line-height: 1.75;
}

.command-card {
  min-height: 242px;
  background:
    radial-gradient(circle at 14% 0%, rgba(132, 241, 255, 0.11), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025) 62%),
    rgba(255, 255, 255, 0.024);
}

.command-card code {
  display: block;
  margin: 18px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 14px;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(4, 7, 18, 0.38);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.55;
}

.copy-button {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  background:
    linear-gradient(135deg, rgba(255, 141, 241, 0.2), rgba(132, 241, 255, 0.12)),
    rgba(255, 255, 255, 0.04);
  transition:
    transform 260ms var(--motion),
    background 260ms ease,
    border-color 260ms ease;
}

.copy-button:hover {
  transform: translate3d(0, -2px, 0);
  border-color: rgba(255, 255, 255, 0.44);
}

.copy-button.is-copied {
  background: linear-gradient(135deg, rgba(132, 241, 255, 0.32), rgba(255, 141, 241, 0.18));
}

.faq-item h3,
.timeline-card h3 {
  font-size: 1.15rem;
  line-height: 1.38;
}

.timeline-card.is-current {
  border-color: rgba(255, 210, 253, 0.34);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 141, 241, 0.16), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03) 58%, rgba(122, 168, 255, 0.07)),
    rgba(255, 255, 255, 0.03);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 34px max(24px, calc((100vw - 1180px) / 2)) 44px;
  color: rgba(255, 255, 255, 0.56);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-page {
  min-height: 100vh;
  padding: 124px max(24px, calc((100vw - 1180px) / 2)) 80px;
}

.legal-hero {
  max-width: 860px;
  margin-bottom: 38px;
}

.legal-hero h1 {
  font-size: 4.8rem;
}

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

.legal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.024)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 16px 42px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(20px) saturate(1.62) brightness(1.06);
  -webkit-backdrop-filter: blur(20px) saturate(1.62) brightness(1.06);
  contain: layout paint;
}

.feature-grid article,
.security-layout article,
.api-grid article,
.usage-grid article,
.release-card,
.legal-card {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0, 0, 0);
  transition:
    transform 420ms var(--motion),
    border-color 320ms ease,
    box-shadow 420ms var(--motion),
    background 420ms ease;
  will-change: auto;
}

.feature-grid article::after,
.security-layout article::after,
.api-grid article::after,
.usage-grid article::after,
.release-card::after,
.legal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.18), transparent 34%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.feature-grid article > *,
.security-layout article > *,
.api-grid article > *,
.usage-grid article > *,
.release-card > *,
.legal-card > * {
  position: relative;
  z-index: 1;
}

.feature-grid article:hover,
.security-layout article:hover,
.api-grid article:hover,
.usage-grid article:hover,
.release-card:hover,
.legal-card:hover {
  will-change: transform;
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 22px 56px rgba(0, 0, 0, 0.16);
}

.feature-grid article:hover::after,
.security-layout article:hover::after,
.api-grid article:hover::after,
.usage-grid article:hover::after,
.release-card:hover::after,
.legal-card:hover::after {
  opacity: 1;
}

.legal-card h2 {
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.legal-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: rgba(232, 226, 255, 0.74);
  line-height: 1.72;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.985);
  transition:
    opacity 780ms var(--motion),
    transform 780ms var(--motion);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.feature-grid article.reveal,
.security-layout article.reveal,
.api-grid article.reveal,
.usage-grid article.reveal,
.release-card.reveal,
.verify-card.reveal,
.command-card.reveal,
.faq-item.reveal,
.timeline-card.reveal,
.legal-card.reveal {
  --reveal-y: 28px;
  --reveal-scale: 0.985;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0, var(--reveal-y), 0) scale(var(--reveal-scale));
}

.feature-grid article.reveal.is-visible,
.security-layout article.reveal.is-visible,
.api-grid article.reveal.is-visible,
.usage-grid article.reveal.is-visible,
.release-card.reveal.is-visible,
.verify-card.reveal.is-visible,
.command-card.reveal.is-visible,
.faq-item.reveal.is-visible,
.timeline-card.reveal.is-visible,
.legal-card.reveal.is-visible {
  --reveal-y: 0px;
  --reveal-scale: 1;
}

.reveal.delay-1 {
  transition-delay: 90ms;
}

.reveal.delay-2 {
  transition-delay: 160ms;
}

.reveal.delay-3 {
  transition-delay: 230ms;
}

@keyframes widget-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes glass-sheen {
  0%,
  100% {
    opacity: 0.22;
    transform: translate3d(-12%, 0, 0);
  }

  50% {
    opacity: 0.42;
    transform: translate3d(12%, 0, 0);
  }
}

@keyframes dot-breathe {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.86);
  }

  45% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hint-float {
  0%,
  100% {
    opacity: 0.42;
    transform: translateY(0);
  }

  50% {
    opacity: 0.72;
    transform: translateY(-6px);
  }
}

@keyframes liquid-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate3d(2%, -1%, 0) rotate(180deg) scale(1.04);
  }
}

@keyframes glass-pulse {
  0%,
  100% {
    transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1);
  }

  42% {
    transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.012);
  }
}

@keyframes sync-flare {
  0%,
  100% {
    opacity: 0.72;
  }

  44% {
    opacity: 0.98;
  }
}

@keyframes token-glow {
  0%,
  100% {
    text-shadow:
      0 0 18px rgba(255, 255, 255, 0.74),
      0 0 50px rgba(122, 168, 255, 0.36);
  }

  48% {
    text-shadow:
      0 0 28px rgba(255, 255, 255, 0.92),
      0 0 74px rgba(255, 141, 241, 0.42),
      0 0 88px rgba(122, 168, 255, 0.42);
  }
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 96px;
  }

  h1 {
    font-size: 4.2rem;
  }

  .glass-widget {
    transform: none;
  }

  .feature-grid,
  .security-layout,
  .download-layout,
  .verify-layout,
  .command-grid,
  .faq-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .release-card {
    min-height: auto;
  }

  .stat-flow {
    grid-template-columns: 1fr;
  }

  .stat-flow i {
    width: 1px;
    height: 32px;
    margin-left: 18px;
    background: linear-gradient(180deg, rgba(255, 141, 241, 0.1), rgba(132, 241, 255, 0.82));
  }

  .api-grid,
  .usage-grid,
  .legal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero,
  .band {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.06rem;
  }

  .glass-widget {
    min-height: 360px;
    border-radius: 34px;
    padding: 34px 24px 28px;
  }

  .dots {
    right: 28px;
    top: 34px;
  }

  .metric-title {
    margin-top: 52px;
    font-size: 1.04rem;
  }

  .token-count {
    font-size: 3.35rem;
  }

  .widget-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .release-card {
    min-height: auto;
  }

  .stat-flow {
    grid-template-columns: 1fr;
  }

  .stat-flow i {
    width: 1px;
    height: 32px;
    margin-left: 18px;
    background: linear-gradient(180deg, rgba(255, 141, 241, 0.1), rgba(132, 241, 255, 0.82));
  }

  .api-grid,
  .usage-grid,
  .legal-grid,
  .verify-layout,
  .command-grid,
  .faq-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .legal-page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .legal-hero h1 {
    font-size: 3.1rem;
  }

  .clock,
  .cost-block {
    text-align: left;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
