/* Tokens — aligned with apps/desktop/src/index.css */
:root {
  --bg-0: #0e1016;
  --bg-1: #12141c;
  --bg-2: #1c1a24;
  --surface-raised: color-mix(in srgb, #fff 9%, transparent);
  --surface-hover: color-mix(in srgb, #fff 13%, transparent);
  --border: color-mix(in srgb, #f4f6fa 12%, transparent);
  --divider: color-mix(in srgb, #f4f6fa 8%, transparent);

  --text: #f4f6fa;
  --text-secondary: #b4bac6;
  --text-muted: #8a90a0;

  --gold: #d4a84a;
  --gold-ink: #8a6a2f;
  --weather: #5b9fd4;
  --forex: #6bc49a;
  --holiday: #ff6b6f;

  --serif: "Source Serif 4", ui-serif, Georgia, serif;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --devanagari: "Noto Serif Devanagari", "Noto Sans Devanagari", serif;

  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --header-h: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body {
  margin: 0;
  background: var(--bg-1);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--gold);
  color: #1a160c;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.15s var(--ease-out-quart);
}

.skip-link:focus {
  top: 16px;
}

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

/* ---------- site header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid color-mix(in srgb, var(--divider) 100%, transparent);
  background: color-mix(in srgb, var(--bg-1) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

.site-nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.15s var(--ease-out-quart), color 0.15s var(--ease-out-quart);
}

.nav-ghost:hover {
  border-color: var(--gold-ink);
  color: var(--text);
}

.nav-ghost svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 9px;
  background: var(--gold);
  color: #1a160c;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s var(--ease-out-quart), box-shadow 0.15s var(--ease-out-quart);
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--gold) 55%, transparent);
}

@media (max-width: 760px) {
  .nav-ghost span,
  .nav-ghost {
    padding: 8px 10px;
  }

  .nav-ghost {
    font-size: 0;
    gap: 0;
  }
}

/* ---------- hero ---------- */

.hero-shell {
  position: relative;
  overflow: hidden;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: -20% -15% -40%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 12% 0%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 62%),
    linear-gradient(168deg, var(--bg-2) 0%, var(--bg-1) 52%, var(--bg-0) 100%);
}

.hero {
  position: relative;
  z-index: 1;
  padding-block: clamp(48px, 8vw, 80px) clamp(56px, 9vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-shot {
    order: -1;
  }
}

.hero-copy .deva {
  font-family: var(--devanagari);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--gold);
  margin: 0 0 8px;
  opacity: 0;
  animation: rise 0.7s var(--ease-out-quart) 0.08s forwards;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.5rem, 4.2vw + 1rem, 4.25rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0 0 18px;
  text-wrap: balance;
  opacity: 0;
  animation: rise 0.7s var(--ease-out-quart) 0.14s forwards;
}

.hero-copy .tagline {
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.125rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 48ch;
  margin: 0 0 22px;
  text-wrap: pretty;
  opacity: 0;
  animation: rise 0.7s var(--ease-out-quart) 0.2s forwards;
}

@media (max-width: 900px) {
  .hero-copy .tagline {
    max-width: none;
    margin-inline: auto;
  }
}

.download-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  animation: rise 0.7s var(--ease-out-quart) 0.26s forwards;
}

@media (max-width: 900px) {
  .download-cta {
    align-items: center;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: #1a160c;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  transition: transform 0.15s var(--ease-out-quart), box-shadow 0.15s var(--ease-out-quart);
}

.btn-primary--large {
  padding: 16px 28px;
  font-size: 17px;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -14px color-mix(in srgb, var(--gold) 55%, transparent);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}

.download-note {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.other-platforms {
  font-size: 13px;
  color: var(--text-muted);
}

.other-platforms summary {
  cursor: pointer;
  list-style: none;
  color: var(--text-muted);
  border-bottom: 1px dotted var(--border);
  width: max-content;
  transition: color 0.15s var(--ease-out-quart);
}

.other-platforms summary::-webkit-details-marker {
  display: none;
}

.other-platforms summary:hover {
  color: var(--gold);
}

.other-platforms-links {
  display: flex;
  gap: 6px 14px;
  flex-wrap: wrap;
  padding-top: 10px;
}

@media (max-width: 900px) {
  .other-platforms summary {
    margin-inline: auto;
  }

  .other-platforms-links {
    justify-content: center;
  }
}

.other-platforms a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px dotted color-mix(in srgb, var(--border) 100%, transparent);
}

.other-platforms a:hover {
  color: var(--gold);
}

.hero-shot {
  display: flex;
  justify-content: center;
  perspective: 1400px;
  opacity: 0;
  animation: rise 0.85s var(--ease-out-quart) 0.18s forwards;
}

.hero-device {
  position: relative;
  width: min(100%, 330px);
  padding: 8px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-raised) 45%, transparent);
  box-shadow: 0 40px 100px -40px rgba(8, 9, 13, 0.85);
  transform: rotateY(-9deg) rotateX(3deg) rotate(-1.5deg);
  transform-origin: center right;
  transition: transform 0.5s var(--ease-out-quart), box-shadow 0.5s var(--ease-out-quart);
}

.hero-shot:hover .hero-device {
  transform: rotateY(0) rotateX(0) rotate(0);
  box-shadow: 0 46px 110px -40px rgba(8, 9, 13, 0.9);
}

@media (max-width: 900px) {
  .hero-device,
  .hero-shot:hover .hero-device {
    transform: none;
  }
}

.hero-device-screen img {
  display: block;
  width: 100%;
  border-radius: 15px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy .deva,
  .hero-copy h1,
  .hero-copy .tagline,
  .download-cta,
  .hero-shot {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero-device,
  .hero-shot:hover .hero-device {
    transition: none;
  }
}

/* ---------- pillars ---------- */

.pillars {
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  background: color-mix(in srgb, var(--bg-0) 55%, transparent);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  padding-block: clamp(36px, 5vw, 52px);
}

@media (max-width: 760px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pillar h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pillar p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

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

section {
  padding-block: clamp(64px, 9vw, 104px);
  border-top: 1px solid var(--divider);
}

.section-head {
  margin-bottom: clamp(32px, 4vw, 44px);
  max-width: 640px;
}

.section-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  text-wrap: balance;
}

.section-sub {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
}

/* ---------- carousel ---------- */

.carousel-shell .section-head {
  margin-bottom: 28px;
}

.carousel-stage {
  position: relative;
  --carousel-fade: color-mix(in srgb, var(--surface-raised) 55%, var(--bg-1));
  padding: clamp(28px, 4vw, 40px) clamp(18px, 3vw, 28px) clamp(24px, 3vw, 32px);
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 90% 70% at 50% -20%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 58%),
    radial-gradient(ellipse 60% 50% at 100% 100%, color-mix(in srgb, var(--weather) 8%, transparent), transparent 55%),
    color-mix(in srgb, var(--surface-raised) 55%, transparent);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 6%, transparent),
    0 28px 80px -48px rgba(8, 9, 13, 0.85);
}

.carousel-track-wrap {
  position: relative;
}

.carousel-track-wrap::before,
.carousel-track-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 28px;
  width: clamp(48px, 10vw, 96px);
  z-index: 1;
  pointer-events: none;
}

.carousel-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--carousel-fade), transparent);
}

.carousel-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--carousel-fade), transparent);
}

.carousel {
  display: flex;
  gap: clamp(16px, 2.5vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(28px, calc(50% - min(140px, 42vw)));
  padding: 8px max(28px, calc(50% - min(140px, 42vw))) 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.slide {
  flex: none;
  scroll-snap-align: center;
  width: min(280px, 72vw);
  opacity: 0.42;
  transform: scale(0.94);
  transition:
    opacity 0.35s var(--ease-out-quart),
    transform 0.35s var(--ease-out-quart);
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.slide-frame {
  position: relative;
  padding: 3px;
  border-radius: 20px;
  background: linear-gradient(
    155deg,
    color-mix(in srgb, var(--gold) 34%, transparent),
    color-mix(in srgb, var(--border) 100%, transparent) 48%,
    color-mix(in srgb, var(--weather) 18%, transparent)
  );
  box-shadow:
    0 28px 70px -36px rgba(8, 9, 13, 0.9),
    inset 0 1px 0 color-mix(in srgb, #fff 10%, transparent);
  transition: box-shadow 0.35s var(--ease-out-quart);
}

.slide.is-active .slide-frame {
  box-shadow:
    0 36px 90px -32px rgba(8, 9, 13, 0.95),
    0 0 0 1px color-mix(in srgb, var(--gold) 22%, transparent),
    inset 0 1px 0 color-mix(in srgb, #fff 14%, transparent);
}

.slide-frame img {
  width: 100%;
  border-radius: 17px;
  border: 1px solid color-mix(in srgb, #fff 8%, transparent);
  cursor: zoom-in;
}

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

.carousel-footer {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.carousel-footer-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.carousel-live-caption {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1vw + 1rem, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.carousel-counter {
  margin: 0;
  flex: none;
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

.carousel-progress {
  height: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--border) 100%, transparent);
  overflow: hidden;
}

.carousel-progress-fill {
  height: 100%;
  width: 8.333%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--gold) 88%, #fff 12%),
    var(--gold)
  );
  transition: width 0.35s var(--ease-out-quart);
}

.carousel-arrow {
  position: absolute;
  top: calc(50% - 14px);
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-0) 82%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 32px -18px rgba(8, 9, 13, 0.9);
  transition:
    border-color 0.15s var(--ease-out-quart),
    background-color 0.15s var(--ease-out-quart),
    transform 0.1s var(--ease-out-quart),
    box-shadow 0.15s var(--ease-out-quart);
}

.carousel-arrow.carousel-prev {
  left: clamp(8px, 2vw, 16px);
}

.carousel-arrow.carousel-next {
  right: clamp(8px, 2vw, 16px);
}

.carousel-arrow:hover {
  border-color: color-mix(in srgb, var(--gold) 45%, var(--border));
  background: color-mix(in srgb, var(--bg-0) 94%, transparent);
  box-shadow: 0 16px 36px -16px color-mix(in srgb, var(--gold) 28%, transparent);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.94);
}

.carousel-arrow svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (max-width: 720px) {
  .carousel-stage {
    margin-inline: -4px;
    padding-inline: 12px;
  }

  .carousel-arrow {
    display: none;
  }

  .carousel-track-wrap::before,
  .carousel-track-wrap::after {
    width: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide,
  .slide-frame,
  .carousel-progress-fill {
    transition: none;
  }
}

/* ---------- lightbox ---------- */

.lightbox {
  border: none;
  background: transparent;
  padding: 0;
  max-width: none;
  max-height: none;
  width: 100vw;
  height: 100vh;
  margin: 0;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox[open] {
  display: flex;
}

.lightbox::backdrop {
  background: color-mix(in srgb, var(--bg-0) 88%, transparent);
  backdrop-filter: blur(6px);
}

.lightbox-frame {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: min(92vw, 900px);
}

.lightbox-media {
  position: relative;
}

.lightbox img {
  max-height: 84vh;
  max-width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px -30px rgba(8, 9, 13, 0.7);
}

.lightbox-caption {
  position: absolute;
  bottom: -34px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-raised);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s var(--ease-out-quart), transform 0.1s var(--ease-out-quart);
}

.lightbox-close:hover {
  border-color: var(--gold-ink);
}

.lightbox-close:active {
  transform: scale(0.92);
}

.lightbox-close svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.lightbox-nav {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-raised);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s var(--ease-out-quart), transform 0.1s var(--ease-out-quart);
}

.lightbox-nav:hover {
  border-color: var(--gold-ink);
}

.lightbox-nav:active {
  transform: scale(0.92);
}

.lightbox-nav svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

@media (max-width: 640px) {
  .lightbox-frame {
    max-width: 92vw;
  }

  .lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
  }

  .lightbox-nav.lightbox-prev {
    left: 12px;
  }

  .lightbox-nav.lightbox-next {
    right: 12px;
  }
}

/* ---------- features ---------- */

.features-section {
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, color-mix(in srgb, var(--gold) 6%, transparent), transparent 55%),
    var(--bg-1);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 56px);
  border-bottom: 1px solid var(--divider);
}

@media (max-width: 860px) {
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  padding: 20px 0 26px;
  border-top: 1px solid var(--divider);
}

.feature-item h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.15s var(--ease-out-quart);
}

.feature-item:hover h3 {
  color: var(--gold);
}

.feature-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 34ch;
  text-wrap: pretty;
}

/* ---------- install ---------- */

.install-lead {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  max-width: 64ch;
}

.install-lead strong {
  color: var(--text);
}

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

@media (max-width: 760px) {
  .install-platforms {
    grid-template-columns: 1fr;
  }
}

.install-platform {
  background: color-mix(in srgb, var(--surface-raised) 80%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.install-platform-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.install-platform-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--gold) 30%, transparent), transparent),
    color-mix(in srgb, var(--surface-hover) 100%, transparent);
  border: 1px solid var(--border);
}

.install-platform-icon--win {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--weather) 30%, transparent), transparent),
    color-mix(in srgb, var(--surface-hover) 100%, transparent);
}

.install-platform-icon--linux {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--forex) 30%, transparent), transparent),
    color-mix(in srgb, var(--surface-hover) 100%, transparent);
}

.install-platform h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
}

.install-platform p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}

.install-platform .guide-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.install-platform .guide-link:hover {
  text-decoration: underline;
}

.install-platform .guide-link svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

/* ---------- cta band ---------- */

.cta-band {
  border-top: 1px solid var(--divider);
  background:
    radial-gradient(ellipse 80% 80% at 50% 120%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 58%),
    var(--bg-0);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(48px, 7vw, 72px);
}

.cta-band h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  letter-spacing: -0.02em;
}

.cta-band-copy {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

@media (max-width: 640px) {
  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--divider);
  padding-block: 48px 28px;
}

.site-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px clamp(32px, 6vw, 80px);
  flex-wrap: wrap;
  padding-bottom: 28px;
}

.footer-brand p {
  margin: 10px 0 0;
  max-width: 36ch;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-contact {
  margin: 14px 0 0;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-contact a {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  transition: color 0.15s var(--ease-out-quart);
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px clamp(18px, 2.5vw, 28px);
  padding-top: 6px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s var(--ease-out-quart);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s var(--ease-out-quart);
}

.footer-bottom a:hover {
  color: var(--gold);
}

@media (max-width: 640px) {
  .site-footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links {
    padding-top: 0;
  }
}

/* ---------- install page compat ---------- */

header.wrap,
header:not(.site-header) {
  padding-block: 26px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav a.github {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.nav a.github:hover {
  border-color: var(--gold-ink);
  color: var(--text);
}

.nav a.github svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

footer.wrap {
  padding-block: 44px 64px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

footer.wrap a {
  color: var(--text-muted);
  text-decoration: underline;
}

code {
  background: color-mix(in srgb, #000 30%, var(--surface-raised));
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 0.92em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
