/* ============================================
   Figma Icon Manager - Landing Page
   Speakeasy-inspired monochrome layout
   Black/white/grey + crosshair frames + dot patterns
   ============================================ */

:root {
  --bg: #050505;
  --bg-raised: #0c0c0c;
  --bg-card: #121212;
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.22);
  --text: #f5f5f5;
  --text-secondary: #8a8a8a;
  --text-tertiary: #555555;
  --text-dim: #333333;
  --accent: #ffffff;
  --code-bg: #000000;
  --dot: rgba(255, 255, 255, 0.14);
  --grid-line: rgba(255, 255, 255, 0.035);
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Move overflow-x off body so position: fixed on .topnav works reliably */
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/*
 * Fluid container:
 *   - On narrow screens: full width minus comfortable side margin
 *   - On medium screens: side margin scales with viewport (clamp)
 *   - On wide screens: caps at 1200px so reading width stays comfortable
 */
.container {
  width: min(1200px, 100% - clamp(32px, 6vw, 96px));
  margin: 0 auto;
}

/* ---------- Background grid + dots (fixed, subtle) ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, var(--dot) 0.8px, transparent 1.2px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 30%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 30%, black 0%, transparent 80%);
}

.topnav,
.hero,
section,
.footer {
  position: relative;
  z-index: 1;
}

/* ---------- Cursor spotlight (mouse-follow blurred glow) ---------- */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.02) 35%,
    rgba(255, 255, 255, 0.006) 60%,
    transparent 80%
  );
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
  /* Center on cursor: JS sets translate(x, y), then -50% shifts back by own size */
  transform: translate3d(-9999px, -9999px, 0);
}

.cursor-glow.visible {
  opacity: 1;
}

@media (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* ---------- Scroll reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.6, 0.2, 1),
              transform 0.75s cubic-bezier(0.2, 0.6, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Top nav (always-on-top fixed bar) ---------- */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(5, 5, 5, 0.72);
  border-bottom: 1px solid var(--border);
}

/* Reserve space at top so fixed nav doesn't overlap first section */
body {
  padding-top: 56px;
}

.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
}

.brand-mark {
  color: var(--text);
  font-size: 14px;
}

.brand-name {
  letter-spacing: -0.02em;
}

.topnav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 24px;
}

.topnav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
  font-weight: 500;
}

.topnav-links a:hover {
  color: var(--text);
}

@media (max-width: 720px) {
  .topnav-links { display: none; }
  .topnav-inner { gap: 16px; }
}

/* ---------- Language toggle ---------- */
.lang-toggle {
  display: flex;
  gap: 2px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--mono);
}

.lang-btn:hover { color: var(--text); }
.lang-btn.active { background: var(--bg-card); color: var(--text); }

/* ---------- Frame + crosshair marks (Speakeasy signature) ---------- */
.frame {
  position: relative;
  padding: 48px 40px;
}

.cross {
  position: absolute;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  background: var(--bg);
  user-select: none;
  pointer-events: none;
  z-index: 2;
}

.cross-tl { top: 0;    left: 0;    transform: translate(-50%, -50%); }
.cross-tr { top: 0;    right: 0;   transform: translate(50%, -50%); }
.cross-bl { bottom: 0; left: 0;    transform: translate(-50%, 50%); }
.cross-br { bottom: 0; right: 0;   transform: translate(50%, 50%); }

/* Frame borders (thin, subtle) */
.frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: 60px 0 40px;
}

.hero-frame {
  padding: 0;
}

.announce {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-secondary);
  font-family: var(--mono);
  flex-wrap: wrap;
}

.beta-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.1em;
  background: var(--bg-card);
}

.announce-arrow {
  margin-left: auto;
  color: var(--text-tertiary);
}

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  padding: 64px 48px;
  align-items: center;
}

@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 40px 24px;
  }
}

.hero-left {
  max-width: 560px;
}

.hero-title {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--text);
  /* Reserve 2 lines so EN/ZH switch doesn't shift content below */
  min-height: calc(2em * 1.18);
}

.title-italic {
  font-style: italic;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 32px;
  /* Reserve 3 lines worth so EN/ZH wrap differences don't shift CTA below */
  min-height: calc(3em * 1.6);
  /* Prevent orphan words on last line */
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  font-family: inherit;
  cursor: pointer;
  /* Reserve width so EN ↔ ZH text-length difference doesn't shift layout */
  min-width: 168px;
}

.btn-primary {
  background: var(--text);
  color: #000;
  border-color: var(--text);
}

.btn-primary:hover {
  background: #e8e8e8;
}

/* ---------- Arrow slide on primary button hover ----------
 * Replay-on-hover + no-revert trick:
 * The element's DEFAULT state equals the ANIMATION'S END state.
 * So when :hover is lost, the animation is removed and the element
 * sits at the end state — visually identical, no snap-back.
 * Each new hover re-runs the animation from its `from` keyframe.
 */
.btn-arrow-slot {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  overflow: hidden;       /* hard-clips whichever arrow is off-slot */
  vertical-align: -0.08em;
  line-height: 1;
  flex-shrink: 0;
}

.btn-arrow {
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;             /* explicit size so % translates are predictable */
  height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  will-change: transform;
}

/* Default (idle) state == animation END state.
   - --out has already exited right (hidden, clipped)
   - --in sits centered (visible)
   => User sees exactly ONE arrow at idle. */
.btn-arrow--out { transform: translateX(200%); }
.btn-arrow--in  { transform: translateX(0); }

.btn-primary:hover .btn-arrow--out {
  animation: arrow-slot-out 0.4s cubic-bezier(0.5, 0, 0.2, 1);
}
.btn-primary:hover .btn-arrow--in {
  animation: arrow-slot-in 0.4s cubic-bezier(0.5, 0, 0.2, 1);
}

@keyframes arrow-slot-out {
  from { transform: translateX(0); }        /* re-enters at center */
  to   { transform: translateX(200%); }     /* exits right (clipped) */
}

@keyframes arrow-slot-in {
  from { transform: translateX(-200%); }    /* starts off-slot left (clipped) */
  to   { transform: translateX(0); }         /* lands centered */
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover .btn-arrow--out,
  .btn-primary:hover .btn-arrow--in { animation: none; }
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hover);
}

.btn-secondary:hover {
  background: var(--bg-raised);
  border-color: var(--text);
}

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 11px;
  color: var(--text-secondary);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* ---------- Hero right: dot art + mockup ---------- */
.hero-right {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dot-art {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.45) 1.2px, transparent 1.6px);
  background-size: 10px 10px;
  mask-image:
    radial-gradient(circle at 50% 50%, black 0%, black 35%, transparent 55%);
  -webkit-mask-image:
    radial-gradient(circle at 50% 50%, black 0%, black 35%, transparent 55%);
  opacity: 0.8;
  animation: pulse-dots 6s ease-in-out infinite;
}

@keyframes pulse-dots {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.45; }
}

.mockup-window {
  position: relative;
  width: 340px;
  max-width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--border-hover);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  z-index: 1;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-title {
  margin-left: auto;
  font-size: 10px;
  color: var(--text-tertiary);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.mockup-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-status {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
}

.status-dot {
  width: 5px;
  height: 5px;
  background: var(--text);
  border-radius: 50%;
}

.mockup-category {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 11px;
  color: var(--text);
  font-family: var(--mono);
}

.mockup-count {
  color: var(--text-tertiary);
}

.mockup-publish {
  background: var(--text);
  color: #000;
  text-align: center;
  padding: 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* ---------- Sections (common) ---------- */
section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-label,
.col-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.label-bracket {
  color: var(--text-tertiary);
  font-weight: 400;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: var(--text);
  line-height: 1.2;
  /* Reserve 2 lines so EN/ZH wrap differences don't shift content below */
  min-height: calc(2em * 1.2);
  /* Balance lines so last line isn't a lone word */
  text-wrap: balance;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
  /* Reserve 2 lines worth of height for stable layout across languages */
  min-height: calc(2em * 1.6);
  /* Prevent orphan words on last line */
  text-wrap: pretty;
}

/* ---------- Features (2-column bordered frame) ---------- */
.feature-frame {
  padding: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

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

.feature-col {
  padding: 40px;
  position: relative;
}

.feature-col:first-child {
  border-right: 1px solid var(--border);
}

@media (max-width: 820px) {
  .feature-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

.col-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.3;
  /* Lock 1 line so EN/ZH switch doesn't shift list below */
  min-height: 1.3em;
}

.col-sub {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 32px;
  line-height: 1.6;
  /* Lock 1 line for stable layout */
  min-height: 1.6em;
}

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

.feature-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.feature-item:first-child {
  border-top: none;
  padding-top: 0;
}

.feature-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  margin-top: 2px;
}

.feature-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
  line-height: 1.4;
  /* Reserve 1 line so list items stay aligned across languages */
  min-height: 1.4em;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  /* Reserve 2 lines to absorb wrap differences between EN/ZH */
  min-height: calc(2em * 1.6);
}

/* ---------- How to (steps) ---------- */
.steps-frame {
  padding: 0;
}

.steps {
  display: flex;
  flex-direction: column;
}

.step {
  display: flex;
  gap: 32px;
  padding: 32px 40px;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}

.step:first-child {
  border-top: none;
}

.step-num {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.1em;
  padding-top: 2px;
  min-width: 40px;
}

.step-content h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  line-height: 1.3;
  /* Reserve 1 line so step list stays aligned across languages */
  min-height: 1.3em;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.step-content code {
  background: var(--code-bg);
  color: var(--text);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 12px;
  border: 1px solid var(--border);
}

/* ---------- Code example ---------- */
.code-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .code-split { grid-template-columns: 1fr; }
}

.code-block {
  background: var(--code-bg);
}

/* Frame-styled code block: sharp corners + crosshair marks (matches hero/feature/steps) */
.code-block.frame {
  padding: 0;
}

.code-header {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-family: var(--mono);
}

.code-label {
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.code-lang {
  color: var(--text-tertiary);
}

.code-block pre {
  padding: 18px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text);
}

.code-block code {
  font-family: inherit;
}

/* Monochrome syntax tokens */
.tok-keyword { color: #f5f5f5; font-weight: 600; }
.tok-string  { color: #a0a0a0; }
.tok-tag     { color: #f5f5f5; font-weight: 600; }
.tok-attr    { color: #777777; }
.tok-num     { color: #c8c8c8; }
.tok-comment { color: var(--text-tertiary); font-style: italic; }

/* ---------- Install ---------- */
.install-box {
  padding: 40px;
}

.install-step {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
  margin-top: 20px;
}

.install-step:first-child {
  margin-top: 0;
}

.install-num {
  color: var(--text-secondary);
  font-weight: 500;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  min-width: 32px;
}

.install-cmd {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  overflow: hidden;
}

.install-cmd-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 12px 7px 14px;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}

.install-cmd-tag {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.install-cmd-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  overflow-x: auto;
  white-space: nowrap;
}

.install-cmd-row .prompt {
  color: var(--text-tertiary);
  font-weight: 600;
  user-select: none;
}

/* Link-style command row (Release download) */
.install-cmd-row--link {
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 14px;
  padding: 14px 16px;
  white-space: normal;
}

.install-link {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--border-hover);
  padding-bottom: 1px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.install-link:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

.install-hint {
  color: var(--text-tertiary);
  font-size: 13px;
}

.install-hint code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 5px;
}

/* Divider between user flow and dev flow */
.install-divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0 8px;
}

/* Muted "for developers" header */
.install-step--muted {
  color: var(--text-tertiary);
}

.install-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2px 8px;
  min-width: 32px;
  text-align: center;
}

/* Copy button */
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.copy-btn:hover {
  color: var(--text);
  background: var(--bg-card);
  border-color: var(--border);
}

.copy-btn:focus-visible {
  outline: none;
  border-color: var(--border-hover);
  color: var(--text);
}

.copy-btn .icon-check {
  display: none;
}

/* Copied state: keep neutral styling (no green), just swap icon */
.copy-btn.copied .icon-copy { display: none; }
.copy-btn.copied .icon-check { display: inline-flex; }

/* ---------- Footer ---------- */
.footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-weight: 500;
  margin-bottom: 4px;
  font-size: 14px;
}

.footer-desc {
  font-size: 12px;
  color: var(--text-secondary);
  font-family: var(--mono);
}

.footer-desc a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-hover);
}

.footer-desc a:hover {
  border-bottom-color: var(--text);
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-right a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.15s;
  font-family: var(--mono);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .hero { padding: 40px 0 20px; }
  .frame { padding: 24px; }
  .feature-col { padding: 28px; }
  .step { padding: 24px; gap: 16px; }
  .install-box { padding: 28px; }
  .announce { padding: 10px 16px; font-size: 11px; }
  .announce-arrow { display: none; }
}
