/* OpenAuth landing page. Shares the dashboard's visual language (dashboard/ui/dashboard.css). */

:root {
  --bg: #07070e;
  --bg-2: #0a0a15;
  --surface: #0f0f1c;
  --surface-2: #151527;
  --surface-3: #1c1c33;
  --border: rgba(148, 150, 255, 0.09);
  --border-strong: rgba(148, 150, 255, 0.17);

  --text: #ecedf7;
  --text-2: #a9abc6;
  --text-3: #74769a;

  --accent: #6c70f5;
  --accent-hover: #7f83f7;
  --accent-text: #a5a8ff;
  --accent-soft: rgba(108, 112, 245, 0.14);
  --violet: #8b5cf6;
  --gradient: linear-gradient(135deg, #575bde 0%, #7a4fe0 100%);
  --gradient-text: linear-gradient(92deg, #b4b7ff 0%, #c9a8ff 45%, #8fb7ff 100%);

  --success: #34d399;
  --success-text: #6ee7b7;
  --success-soft: rgba(52, 211, 153, 0.12);
  --warning: #fbbf24;
  --warning-text: #fcd34d;
  --warning-soft: rgba(251, 191, 36, 0.12);
  --danger: #f87171;
  --danger-text: #fca5a5;
  --danger-soft: rgba(248, 113, 113, 0.12);
  --info: #38bdf8;
  --info-text: #7dd3fc;
  --info-soft: rgba(56, 189, 248, 0.12);

  --radius: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 18px 40px -24px rgba(0, 0, 0, 0.85);
  --shadow-pop: 0 24px 60px -16px rgba(0, 0, 0, 0.85);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", "SFMono-Regular", Consolas, monospace;

  --container: 1200px;
  --gutter: 24px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: dark;
}

/* ---------- Base ---------- */

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

html {
  background: var(--bg);
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--accent-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #c7c9ff;
}

h1, h2, h3 {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

code, pre {
  font-family: var(--mono);
}

::selection {
  background: rgba(108, 112, 245, 0.4);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -52px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Shared pieces ---------- */

.nowrap {
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font: 600 15px/1 var(--font);
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, translate 0.2s ease;
}

.btn i {
  font-size: 0.9em;
  transition: translate 0.2s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 28px -10px rgba(108, 112, 245, 0.75);
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 14px 34px -10px rgba(122, 79, 224, 0.85);
}

.btn-primary:hover .fa-arrow-right {
  translate: 3px 0;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 150, 255, 0.3);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.btn-lg {
  height: 52px;
  padding: 0 26px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow:not(:has(.badge-new))::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
}

.badge-new {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 6px 16px -6px rgba(122, 79, 224, 0.9);
}

.badge-new--sm {
  height: 18px;
  padding: 0 7px;
  font-size: 10px;
  margin-left: 6px;
  vertical-align: 1px;
}

.text-gradient {
  background: var(--gradient-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section {
  position: relative;
  padding-block: clamp(64px, 7.5vw, 104px);
}

.section--tint {
  background:
    linear-gradient(180deg, transparent 0%, rgba(108, 112, 245, 0.035) 18%, rgba(108, 112, 245, 0.035) 82%, transparent 100%);
}

.section-head {
  max-width: 700px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}

.section h2 {
  font-size: clamp(30px, 2.4vw + 18px, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-lead {
  margin-top: 16px;
  text-wrap: pretty;
  color: var(--text-2);
  font-size: clamp(16px, 0.4vw + 14.5px, 18px);
  line-height: 1.65;
}

.section-head .section-lead {
  margin-inline: auto;
  max-width: 600px;
}

.card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.006)), var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 0.25s ease, translate 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, -30%), rgba(108, 112, 245, 0.13), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  border-color: var(--border-strong);
}

.card:hover::before {
  opacity: 1;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover {
    translate: 0 -3px;
  }
}

.tile {
  --h: 240;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  color: hsl(var(--h) 95% 82%);
  font-size: 20px;
  background: linear-gradient(145deg, hsl(var(--h) 88% 64% / 0.26), hsl(var(--h) 88% 56% / 0.06));
  box-shadow: inset 0 0 0 1px hsl(var(--h) 90% 72% / 0.24), 0 10px 26px -14px hsl(var(--h) 90% 60% / 0.8);
  --fa-primary-color: hsl(var(--h) 100% 88%);
  --fa-secondary-color: hsl(var(--h) 92% 66%);
  --fa-secondary-opacity: 0.6;
}

.tile--sm {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 16px;
}

.tile--xs {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 11px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.chip--success {
  background: var(--success-soft);
  border-color: rgba(52, 211, 153, 0.25);
  color: var(--success-text);
}

.chip--accent {
  background: var(--accent-soft);
  border-color: rgba(108, 112, 245, 0.32);
  color: var(--accent-text);
}

.chip--info {
  background: var(--info-soft);
  border-color: rgba(56, 189, 248, 0.25);
  color: var(--info-text);
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.dot--success,
.dot--live {
  background: var(--success);
}

.dot--accent {
  background: var(--accent-text);
}

.dot--info {
  background: var(--info);
}

.dot--live {
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
}

@media (prefers-reduced-motion: no-preference) {
  .dot--live {
    animation: pulse 2.2s ease-out infinite;
  }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Code windows */

.window {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #11111f, #0c0c17) padding-box,
    linear-gradient(160deg, rgba(165, 168, 255, 0.34), rgba(148, 150, 255, 0.07) 38%, rgba(148, 150, 255, 0.06) 70%, rgba(122, 79, 224, 0.32)) border-box;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.window-dots {
  display: inline-flex;
  gap: 6px;
}

.window-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.window-title {
  color: var(--text-2);
  font: 500 12.5px/1 var(--mono);
}

.window-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: var(--success-text);
  font: 500 12px/1 var(--mono);
}

.window-bar .chip {
  margin-left: auto;
}

.window-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  color: var(--success-text);
  font-size: 13px;
  font-weight: 500;
}

.window-foot i {
  margin-right: 6px;
}

.code {
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
  color: #cfd1ea;
  font-size: 13px;
  line-height: 1.75;
  tab-size: 4;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}

.code code {
  font-family: inherit;
}

.t-cmt { color: #7c7fa6; font-style: italic; }
.t-kw { color: #c8a6ff; }
.t-str { color: #8fe3c0; }
.t-num { color: #f7b27a; }
.t-fn { color: #93b8ff; }
.t-prop { color: #b9bcff; }
.t-type { color: #7dd3fc; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  margin-bottom: calc(var(--header-h) * -1);
  border-bottom: 1px solid transparent;
  background: rgba(7, 7, 14, 0.5);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 7, 14, 0.82);
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: #fff;
}

.brand img {
  width: 28px;
  height: 28px;
}

.nav-toggle {
  display: none;
}

.nav-panel {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  display: block;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.nav-links a[aria-current] {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-actions .btn {
  height: 40px;
  padding: 0 16px;
  font-size: 14.5px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px);
}

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

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
}

.hero-glow--a {
  top: -340px;
  left: 12%;
  width: 820px;
  height: 820px;
  background: radial-gradient(closest-side, rgba(87, 91, 222, 0.42), rgba(87, 91, 222, 0.08) 60%, transparent);
}

.hero-glow--b {
  top: -120px;
  right: -180px;
  width: 700px;
  height: 700px;
  background: radial-gradient(closest-side, rgba(122, 79, 224, 0.32), rgba(122, 79, 224, 0.06) 60%, transparent);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-glow--a { animation: drift-a 18s ease-in-out infinite alternate; }
  .hero-glow--b { animation: drift-b 22s ease-in-out infinite alternate; }
  .hero .text-gradient { animation: shimmer 9s ease-in-out infinite alternate; }
}

@keyframes drift-a {
  to { transform: translate(60px, 40px) scale(1.06); }
}

@keyframes drift-b {
  to { transform: translate(-70px, 50px) scale(0.94); }
}

@keyframes shimmer {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 150, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 150, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 25%, transparent 75%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 28px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.announce:hover {
  border-color: rgba(165, 168, 255, 0.35);
  background: rgba(108, 112, 245, 0.08);
  color: var(--text);
}

.announce i {
  font-size: 12px;
  transition: translate 0.2s ease;
}

.announce:hover i {
  translate: 3px 0;
}

.hero h1 {
  font-size: clamp(40px, 3.6vw + 18px, 70px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.042em;
}

.hero-lead {
  max-width: 560px;
  margin-top: 24px;
  color: var(--text-2);
  font-size: clamp(17px, 0.45vw + 15px, 19px);
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  color: var(--text-2);
  font-size: 14.5px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points i {
  color: var(--success);
}

.hero-visual {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 0 0 72px 40px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 0 12% 18%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(108, 112, 245, 0.34), transparent);
  filter: blur(30px);
}

.code--hero {
  font-size: 13px;
  line-height: 1.8;
}

.float-chip {
  position: absolute;
  top: 128px;
  right: -26px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(21, 21, 39, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-pop);
}

.float-chip strong,
.lease-title strong {
  display: block;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}

.float-chip small,
.lease-title small {
  display: block;
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.4;
}

.float-chip small {
  font-family: var(--mono);
}

.lease-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 316px;
  padding: 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: rgba(21, 21, 39, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-pop), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (prefers-reduced-motion: no-preference) {
  .lease-card { animation: float 7s ease-in-out infinite alternate; }
  .float-chip { animation: float 8s ease-in-out -3s infinite alternate; }
}

@keyframes float {
  to { transform: translateY(-8px); }
}

.lease-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lease-title {
  flex: 1;
  min-width: 0;
}

.lease-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  color: var(--success-text);
  font-size: 12px;
  font-weight: 600;
}

.lease-meter {
  height: 6px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.lease-meter span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient);
  box-shadow: 0 0 12px rgba(122, 79, 224, 0.7);
}

.lease-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--text-2);
  font-size: 12px;
}

/* ---------- Stats ---------- */

.stats {
  position: relative;
  padding-bottom: 8px;
}

.stats-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)), rgba(15, 15, 28, 0.7);
  box-shadow: var(--shadow);
}

.js .stats-bar {
  animation: fade-up 0.7s var(--ease) both;
}

@media (prefers-reduced-motion: reduce) {
  .js .stats-bar { animation: none; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.stats-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stats-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  flex: 1;
  margin: 0;
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 2px;
  padding: 0 24px;
  border-left: 1px solid var(--border);
}

.stat[hidden] {
  display: none;
}

.stat dt {
  color: var(--text-2);
  font-size: 13.5px;
}

.stat dd {
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 1.4vw + 12px, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

/* ---------- Features ---------- */

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

.feature h3 {
  margin: 20px 0 8px;
  font-size: 18.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.feature p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}

.feature--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 32px;
}

.feature--wide .feature-body {
  align-self: start;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.chips li {
  padding: 5px 11px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 500;
}

.token-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(7, 7, 14, 0.55);
  overflow: hidden;
  font-size: 12.5px;
}

.token-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 92px;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-top: 1px solid var(--border);
}

.token-row--head {
  border-top: 0;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.token-row code {
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.class-tag {
  --h: 240;
  padding: 3px 8px;
  border-radius: 6px;
  background: hsl(var(--h) 90% 65% / 0.13);
  color: hsl(var(--h) 95% 82%);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status--ok { color: var(--success-text); }
.status--warn { color: var(--warning-text); }
.status--frozen { color: var(--info-text); }

.integrations {
  display: grid;
  gap: 10px;
}

.integrations li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(7, 7, 14, 0.45);
}

.integrations li > span:last-child {
  flex: 1;
  min-width: 0;
}

.integrations strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.integrations small {
  display: block;
  color: var(--text-2);
  font-size: 12.5px;
}

.feature--stack {
  display: flex;
  flex-direction: column;
}

.feature--stack > .tile {
  align-self: flex-start;
}

.signin-options {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.signin-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(7, 7, 14, 0.45);
}

.signin-option > i {
  width: 18px;
  color: var(--accent-text);
  text-align: center;
  --fa-primary-color: #c7c9ff;
  --fa-secondary-color: #8b5cf6;
  --fa-secondary-opacity: 0.7;
}

.signin-option span {
  flex: 1;
  min-width: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.signin-option code {
  overflow: hidden;
  color: var(--text-2);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signin-option small {
  color: var(--text-2);
  font-size: 12.5px;
  white-space: nowrap;
}

/* ---------- Offline spotlight ---------- */

.spotlight {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4.5vw, 64px);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(122, 79, 224, 0.14), transparent 60%) padding-box,
    radial-gradient(700px 400px at 0% 100%, rgba(87, 91, 222, 0.1), transparent 60%) padding-box,
    linear-gradient(180deg, #10101e, #0c0c17) padding-box,
    linear-gradient(160deg, rgba(165, 168, 255, 0.3), rgba(148, 150, 255, 0.07) 35%, rgba(148, 150, 255, 0.05) 70%, rgba(122, 79, 224, 0.28)) border-box;
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.9);
}

.spotlight-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  gap: 48px;
}

.window-setting {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(7, 7, 14, 0.5);
}

.window-setting-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
}

.window-setting-top strong {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.range {
  position: relative;
  height: 6px;
  margin: 16px 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.range-fill {
  position: absolute;
  inset: 0 29% 0 0;
  border-radius: inherit;
  background: var(--gradient);
}

.range-thumb {
  position: absolute;
  top: 50%;
  left: 71%;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #7a4fe0;
  box-shadow: 0 0 0 5px rgba(122, 79, 224, 0.25), 0 4px 10px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -50%);
}

.range-scale {
  display: flex;
  justify-content: space-between;
  color: var(--text-2);
  font: 500 12px/1 var(--mono);
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-top: clamp(40px, 5vw, 56px);
}

.flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -42px;
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--accent-text) 0 5px, transparent 5px 10px);
  background-size: 20px 2px;
  opacity: 0.8;
}

.flow-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 42px;
  right: -41px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--accent-text);
  border-right: 2px solid var(--accent-text);
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: no-preference) {
  .flow-step:not(:last-child)::after {
    animation: dash-x 0.9s linear infinite;
  }
}

@keyframes dash-x {
  to { background-position: 20px 0; }
}

@keyframes dash-y {
  to { background-position: 0 20px; }
}

.flow-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
}

.flow-num {
  color: var(--text-3);
  font: 600 13px/1 var(--mono);
  letter-spacing: 0.04em;
}

.flow-step h3 {
  margin: 20px 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.flow-step p {
  flex: 1;
  margin-bottom: 18px;
  color: var(--text-2);
  font-size: 15px;
}

.flow-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--text-2);
  font-size: 14px;
}

.flow-note i {
  color: var(--accent-text);
}

.points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 40px;
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--border);
}

.points li {
  display: flex;
  gap: 16px;
}

.points li > i {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(108, 112, 245, 0.2), rgba(122, 79, 224, 0.06));
  box-shadow: inset 0 0 0 1px rgba(148, 150, 255, 0.2);
  font-size: 16px;
  color: var(--accent-text);
  --fa-primary-color: #c7c9ff;
  --fa-secondary-color: #8b5cf6;
  --fa-secondary-opacity: 0.7;
}

.points h3 {
  margin: 7px 0 6px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.points p {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- Split sections ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.split--code {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.split--code .split-copy {
  padding-top: 24px;
}

.split-visual {
  position: relative;
  isolation: isolate;
  margin: 0;
}

.split-visual::before {
  content: "";
  position: absolute;
  inset: 10% 10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(122, 79, 224, 0.28), transparent);
  filter: blur(40px);
}

.figure-note {
  margin-top: 12px;
  color: var(--text-3);
  font-size: 13px;
  text-align: right;
}

.checklist {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.checklist li {
  display: flex;
  gap: 14px;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.6;
}

.checklist strong {
  color: var(--text);
  font-weight: 600;
}

.checklist i,
.plan-list i {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(108, 112, 245, 0.3);
  color: var(--accent-text);
  font-size: 11px;
}

.verify {
  border-top: 1px solid var(--border);
}

.verify-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
}

.verify-row + .verify-row {
  border-top: 1px solid var(--border);
}

.verify-row > i {
  font-size: 18px;
}

.verify-row--ok > i { color: var(--success); }
.verify-row--bad > i { color: var(--danger); }

.verify-row > span:not(.verify-result) {
  flex: 1;
  min-width: 0;
}

.verify-row strong {
  display: block;
  color: var(--text);
  font: 500 13px/1.4 var(--mono);
}

.verify-row small {
  display: block;
  color: var(--text-2);
  font-size: 12.5px;
}

.verify-result {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.verify-row--ok .verify-result {
  background: var(--success-soft);
  color: var(--success-text);
}

.verify-row--bad .verify-result {
  background: var(--danger-soft);
  color: var(--danger-text);
}

/* ---------- Integrate ---------- */

.steps {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-2);
  font-size: 15.5px;
}

.steps strong {
  color: var(--text);
  font-weight: 600;
}

.step-num {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 16px -8px rgba(122, 79, 224, 0.9);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-weight: 600;
}

.text-link i {
  font-size: 12px;
  transition: translate 0.2s ease;
}

.text-link:hover i {
  translate: 3px 0;
}

.code-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.tablist {
  display: flex;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tablist::-webkit-scrollbar {
  display: none;
}

.tablist [role="tab"],
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-2);
  font: 500 13.5px/1 var(--font);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.tablist [role="tab"]:hover,
.copy-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.tablist [role="tab"][aria-selected="true"] {
  color: var(--text);
  background: rgba(108, 112, 245, 0.16);
  box-shadow: inset 0 0 0 1px rgba(108, 112, 245, 0.35);
}

.tablist [role="tab"]:focus-visible,
.copy-btn:focus-visible {
  outline-offset: -2px;
}

.copy-btn {
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
}

.copy-btn.is-copied {
  color: var(--success-text);
  border-color: rgba(52, 211, 153, 0.35);
}

.tabpanel .code {
  font-size: 13px;
}

.tabpanel:focus-visible {
  outline-offset: -3px;
}

.reply {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: rgba(52, 211, 153, 0.035);
}

.reply-label {
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reply-value {
  justify-self: start;
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--success-soft);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.3);
  color: var(--success-text);
  font-size: 15px;
  font-weight: 600;
}

.reply-note {
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.5;
}

.reply-note code,
.faq-answer code {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #c7c9ff;
  font-size: 0.9em;
}

.code-note {
  padding: 0 20px 16px;
  background: rgba(52, 211, 153, 0.035);
  color: var(--text-2);
  font-size: 13px;
}

.code-note code {
  color: #c7c9ff;
  font-size: 0.92em;
}

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: start;
  gap: 18px;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-name {
  font-size: 20px;
  font-weight: 600;
}

.plan-desc {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 14.5px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 24px 0 24px;
}

.plan-price .amount {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-price .per {
  color: var(--text-2);
  font-size: 15px;
}

.plan-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.5;
}

.plan-list i {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  font-size: 10px;
}

.plan-list-lead {
  color: var(--text) !important;
  font-weight: 600;
}

.plan--featured {
  border: 1px solid transparent;
  background:
    radial-gradient(520px 260px at 85% -10%, rgba(122, 79, 224, 0.22), transparent 65%) padding-box,
    linear-gradient(180deg, #151529, #0f0f1c) padding-box,
    linear-gradient(160deg, #7f83f7, rgba(122, 79, 224, 0.5) 40%, rgba(148, 150, 255, 0.12) 75%, #7a4fe0) border-box;
  box-shadow: 0 30px 80px -30px rgba(108, 112, 245, 0.45), var(--shadow);
}

.plan--featured:hover {
  border-color: transparent;
}

.plan--featured .plan-price .amount {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan-flag {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.plan-list--cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}

.plan-list--cols .plan-list-lead {
  grid-column: 1 / -1;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(40px, 6vw, 80px);
}

.faq-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.faq-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.006)), var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.15s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-item summary:focus-visible {
  outline-offset: -3px;
}

.faq-item h3 {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.faq-item summary i {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font-size: 12px;
  transition: transform 0.25s var(--ease), color 0.2s ease, background-color 0.2s ease;
}

.faq-item[open] summary i {
  transform: rotate(180deg);
  background: var(--accent-soft);
  color: var(--accent-text);
}

.faq-answer {
  padding: 0 26px 24px;
}

.faq-answer p {
  max-width: 64ch;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Final CTA ---------- */

.section--cta {
  padding-top: clamp(32px, 4vw, 56px);
}

.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, #121224, #0c0c17) padding-box,
    linear-gradient(160deg, rgba(165, 168, 255, 0.4), rgba(148, 150, 255, 0.08) 40%, rgba(122, 79, 224, 0.4)) border-box;
  text-align: center;
}

.cta-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 75% at 50% 0%, rgba(108, 112, 245, 0.34), transparent 70%),
    radial-gradient(35% 55% at 88% 100%, rgba(122, 79, 224, 0.22), transparent 70%),
    radial-gradient(30% 50% at 8% 100%, rgba(87, 91, 222, 0.18), transparent 70%);
}

.cta-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 150, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 150, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000 20%, transparent 75%);
}

.cta-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 10px 30px rgba(255, 94, 94, 0.35));
}

.cta-band h2 {
  font-size: clamp(30px, 2.6vw + 16px, 48px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.cta-band p {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--text-2);
  font-size: 17px;
}

.cta-actions {
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(10, 10, 21, 0.6), var(--bg));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(5, minmax(0, 1fr));
  gap: 32px;
}

.footer-brand p {
  max-width: 260px;
  margin-top: 14px;
  color: var(--text-2);
  font-size: 14px;
}

.footer-col h2 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--text-2);
  font-size: 14.5px;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-2);
  font-size: 13.5px;
}

.ukraine {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
}

.ukraine img {
  width: 16px;
  height: 16px;
}

.ukraine:hover {
  color: var(--text);
}

/* Single-column hero on tablets: centre the copy over the visual. */
@media (min-width: 561px) and (max-width: 1080px) {
  .hero-copy {
    margin-inline: auto;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-ctas,
  .hero-points {
    justify-content: center;
  }
}

/* ---------- Reveal on scroll ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease) var(--d, 0s), transform 0.7s var(--ease) var(--d, 0s), border-color 0.25s ease, translate 0.25s ease;
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  .plan--featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    max-width: 620px;
    width: 100%;
    margin-inline: auto;
  }

  .stats-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .stat:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .spotlight-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .window-setting {
    max-width: 440px;
  }

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

@media (max-width: 960px) {
  .nav {
    gap: 16px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 17px;
    cursor: pointer;
  }

  .nav-toggle [data-icon-close],
  .site-header.is-open .nav-toggle [data-icon-open] {
    display: none;
  }

  .site-header.is-open .nav-toggle [data-icon-close] {
    display: inline-block;
  }

  .js .nav-panel {
    position: absolute;
    top: calc(var(--header-h) - 4px);
    left: var(--gutter);
    right: var(--gutter);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: rgba(15, 15, 28, 0.98);
    box-shadow: var(--shadow-pop);
  }

  .js .site-header.is-open .nav-panel {
    display: flex;
  }

  html:not(.js) .nav {
    flex-wrap: wrap;
    height: auto;
    padding-block: 12px;
  }

  html:not(.js) .nav-toggle {
    display: none;
  }

  html:not(.js) .nav-panel {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a {
    padding: 12px 14px;
    font-size: 16px;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }

  .nav-actions .btn {
    height: 46px;
    font-size: 15px;
  }

  .nav-actions .btn-ghost {
    border-color: var(--border-strong);
  }

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

  .feature--wide {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

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

  .split,
  .split--code,
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-copy {
    max-width: 680px;
  }

  .split--code .split-copy {
    padding-top: 0;
  }

  .figure-note {
    text-align: left;
  }

  .flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .flow-step:not(:last-child)::after {
    top: auto;
    bottom: -32px;
    right: auto;
    left: 44px;
    width: 2px;
    height: 26px;
    background: repeating-linear-gradient(180deg, var(--accent-text) 0 5px, transparent 5px 10px);
    background-size: 2px 20px;
  }

  .flow-step:not(:last-child)::before {
    top: auto;
    right: auto;
    bottom: -33px;
    left: 41px;
    transform: rotate(135deg);
  }

  @media (prefers-reduced-motion: no-preference) {
    .flow-step:not(:last-child)::after {
      animation-name: dash-y;
    }
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
  }

  .feature-grid,
  .plans,
  .points {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature--wide,
  .plan--featured {
    grid-column: auto;
  }

  .feature--wide {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .plan-list--cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .card,
  .plan {
    padding: 24px;
  }

  .stats-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }

  .stat {
    padding: 0 16px;
  }

  .stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

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

  .reply {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .reply-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    letter-spacing: -0.035em;
  }

  .hero-ctas .btn {
    flex: 1 1 100%;
  }

  .hero-visual {
    padding: 0 0 104px;
  }

  .float-chip {
    display: none;
  }

  .lease-card {
    left: 12px;
    right: 12px;
    width: auto;
  }

  .code--hero {
    padding: 16px 18px;
    font-size: 12px;
  }

  .announce {
    font-size: 13px;
  }

  .token-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .token-row .class-tag,
  .token-row--head span:nth-child(2) {
    display: none;
  }

  .integrations {
    grid-template-columns: minmax(0, 1fr);
  }

  .copy-btn [data-copy-label] {
    display: none;
  }

  .copy-btn {
    width: 36px;
    padding: 0;
    justify-content: center;
  }

  .tablist [role="tab"] {
    padding: 0 10px;
  }

  .tabpanel .code {
    font-size: 12px;
  }

  .verify-row {
    padding: 14px 16px;
    gap: 12px;
  }

  .faq-item summary {
    padding: 20px;
  }

  .faq-links .btn {
    flex: 1 1 auto;
  }

  .spotlight {
    padding: 24px 20px;
  }

  .feature:not(.feature--wide),
  .feature-body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
  }

  .feature h3 {
    margin: 0;
  }

  .feature p,
  .feature .chips,
  .feature .signin-options {
    grid-column: 1 / -1;
  }

  .feature p {
    margin-top: 16px;
  }

  .signin-options {
    padding-top: 18px;
  }

  .faq-answer {
    padding: 0 20px 22px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
