/* Run aWei - AI Agent Company */
/* Design: Space Grotesk + DM Sans, dark theme, API/tech aesthetic */

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

:root {
  --story-accent: #e9c58b;
  --story-ink: #35281c;
  --story-glow: rgba(233, 197, 139, 0.1);
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --text: #f8fafc;
  --text-secondary: #a1a1aa;
  --text-muted: #52525b;
  --border: #222222;
  --border-light: #2a2a2a;
  --primary: #00d4ff;
  --primary-dim: rgba(0, 212, 255, 0.12);
  --accent: #22c55e;
  --accent-dim: rgba(34, 197, 94, 0.12);
  --glow-primary: rgba(0, 212, 255, 0.15);
  --glow-accent: rgba(34, 197, 94, 0.1);
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 200ms ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ===== 导航栏 ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  cursor: pointer;
  transition: color var(--transition);
}

.nav-logo:hover {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  cursor: pointer;
}

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

.lang-select {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 4px 8px 4px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.04em;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2300d4ff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
  outline: none;
}

.lang-select:hover,
.lang-select:focus {
  background-color: rgba(0, 212, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.4);
}

.lang-select option {
  background: var(--bg-elevated);
  color: var(--text);
  padding: 8px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, var(--glow-primary) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from { opacity: 0.6; transform: translateX(-50%) scale(1); }
  to { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  animation: fadeInUp 0.8s ease;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--primary);
  color: var(--bg);
  box-shadow: 0 0 30px var(--glow-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

/* 装饰代码 */
.hero-code {
  position: relative;
  margin-top: 80px;
  padding: 24px 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 14px;
  line-height: 2;
  animation: fadeInUp 1s ease 0.3s backwards;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.code-line {
  opacity: 0;
  animation: codeFadeIn 0.5s ease forwards;
}

.code-line:nth-child(1) { animation-delay: 0.8s; }
.code-line:nth-child(2) { animation-delay: 1.2s; }
.code-line:nth-child(3) { animation-delay: 1.6s; }

@keyframes codeFadeIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

.code-keyword { color: #c084fc; }
.code-var { color: var(--text); }
.code-func { color: var(--primary); }
.code-string { color: var(--accent); }

/* ===== 产品展示 ===== */
.product {
  padding: 120px 24px;
  border-top: 1px solid var(--border);
}

.product-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.product-phone {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  border-radius: 36px;
  padding: 8px;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 40px var(--glow-primary);
  border: 1px solid rgba(0, 212, 255, 0.15);
  transition: all 0.4s ease;
  overflow: hidden;
}

.phone-frame:hover {
  transform: translateY(-8px);
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(0, 212, 255, 0.25);
  border-color: rgba(0, 212, 255, 0.3);
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.product-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.product-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.product-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 440px;
}

.download-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.download-btn:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.download-btn svg {
  flex-shrink: 0;
}

.product-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.product-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
  cursor: pointer;
}

.product-links a:hover {
  color: var(--primary);
}

/* ===== AI ROGUE 项目卡 ===== */
.product-rogue {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 52%, rgba(139, 26, 46, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(14, 7, 11, 0.35), rgba(10, 10, 10, 0));
}

.product-rogue::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(192, 57, 43, 0.06), transparent 38%);
}

.product-rogue .product-inner {
  position: relative;
  max-width: 1100px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 64px;
  align-items: center;
  text-align: left;
}

.product-rogue .product-info {
  align-items: flex-start;
}

.product-rogue .product-label {
  color: #d34b48;
}

.product-rogue .product-desc {
  max-width: 480px;
}

.product-rogue .download-buttons,
.product-rogue .product-links {
  justify-content: flex-start;
}

.product-rogue .download-btn:hover {
  border-color: #c0392b;
  color: #ef6a63;
}

.rogue-visual {
  position: relative;
  display: block;
  aspect-ratio: 864 / 496;
  overflow: hidden;
  border: 1px solid rgba(192, 57, 43, 0.28);
  border-radius: 24px;
  background: #150509;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.5),
    0 0 56px rgba(139, 26, 46, 0.16);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.rogue-visual:hover {
  transform: translateY(-6px);
  border-color: rgba(211, 75, 72, 0.55);
  box-shadow:
    0 36px 96px rgba(0, 0, 0, 0.58),
    0 0 72px rgba(139, 26, 46, 0.24);
}

.rogue-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.rogue-visual:hover img {
  transform: scale(1.035);
}

.rogue-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(9, 3, 6, 0.9) 100%);
}

.rogue-visual-copy {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.rogue-wordmark {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}

.rogue-visual-tag {
  max-width: 220px;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
  color: rgba(255, 255, 255, 0.72);
}

/* ===== Waifu 项目卡 ===== */
.product-waifu {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 48%, rgba(0, 212, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(4, 13, 20, 0.48), rgba(10, 10, 10, 0));
}

.product-waifu::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(245deg, rgba(236, 72, 153, 0.05), transparent 42%);
}

.product-waifu .product-inner {
  position: relative;
  max-width: 1100px;
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
  gap: 56px;
  align-items: center;
  text-align: left;
}

.product-waifu .product-info {
  align-items: flex-start;
}

.product-waifu .product-label {
  color: var(--primary);
}

.product-waifu .product-desc {
  max-width: 480px;
}

.product-waifu .download-buttons,
.product-waifu .product-links {
  justify-content: flex-start;
}

.waifu-visual {
  position: relative;
  display: block;
  aspect-ratio: 864 / 496;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(0, 212, 255, 0.26);
  border-radius: 24px;
  background:
    radial-gradient(circle at 78% 32%, rgba(244, 114, 182, 0.3), transparent 30%),
    radial-gradient(circle at 22% 76%, rgba(0, 212, 255, 0.2), transparent 36%),
    linear-gradient(135deg, #050913 0%, #071723 58%, #10101b 100%);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.5),
    0 0 56px rgba(0, 212, 255, 0.13);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.waifu-visual::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 76%);
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}

.waifu-visual::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  right: -48px;
  top: -92px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 36px rgba(0, 212, 255, 0.025),
    0 0 0 72px rgba(244, 114, 182, 0.018);
}

.waifu-visual:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.52);
  box-shadow:
    0 36px 96px rgba(0, 0, 0, 0.58),
    0 0 72px rgba(0, 212, 255, 0.2);
}

.waifu-visual:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.waifu-visual-copy {
  position: absolute;
  z-index: 2;
  left: 32px;
  bottom: 30px;
  width: 48%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.waifu-visual-copy::before {
  content: 'COMPANION / 01';
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(125, 211, 252, 0.76);
}

.waifu-wordmark {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #fff;
}

.waifu-visual-tag {
  max-width: 220px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.waifu-device {
  position: absolute;
  z-index: 1;
  right: 9%;
  bottom: -16%;
  width: 31%;
  aspect-ratio: 300 / 650;
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  background: #070a10;
  box-shadow:
    0 30px 56px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(244, 114, 182, 0.18);
  transform: rotate(4deg);
  transform-origin: 50% 100%;
  transition: transform 0.65s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.waifu-visual:hover .waifu-device {
  transform: rotate(1.5deg) translateY(-6px);
}

.waifu-device img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 24px;
}

/* ===== 特性 ===== */
.features {
  padding: 120px 24px;
  border-top: 1px solid var(--border);
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.features-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 12px;
}

.features-subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 64px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  cursor: default;
}

.feature-card:hover {
  border-color: var(--border-light);
  background: var(--bg-elevated);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-dim);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 12px;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

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

/* ===== 页脚 ===== */
.footer {
  padding: 60px 24px 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color var(--transition);
  cursor: pointer;
}

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

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 滚动渐入 */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ===== 响应式 ===== */
@media (max-width: 920px) {
  .product-links {
    justify-content: center;
  }

  .product-rogue .product-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .product-rogue .product-info {
    align-items: center;
    text-align: center;
  }

  .product-rogue .download-buttons,
  .product-rogue .product-links {
    justify-content: center;
  }

  .product-waifu .product-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .product-waifu .product-info {
    align-items: center;
    text-align: center;
  }

  .product-waifu .download-buttons,
  .product-waifu .product-links {
    justify-content: center;
  }

  .waifu-visual {
    order: -1;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 12px 16px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-subtitle br {
    display: none;
  }

  .hero-code {
    padding: 16px 20px;
    font-size: 12px;
    margin-top: 60px;
  }

  .product {
    padding: 80px 20px;
  }

  .rogue-visual {
    border-radius: 18px;
  }

  .rogue-visual-copy {
    right: 16px;
    bottom: 15px;
    left: 16px;
  }

  .rogue-visual-tag {
    display: none;
  }

  .waifu-visual {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .waifu-visual-copy {
    left: 18px;
    bottom: 18px;
    width: 50%;
  }

  .waifu-visual-tag {
    display: none;
  }

  .waifu-device {
    right: 8%;
    bottom: -18%;
    width: 38%;
    border-radius: 24px;
  }

  .waifu-device img {
    border-radius: 19px;
  }

  .phone-frame {
    width: 240px;
    height: 480px;
  }

  .features {
    padding: 80px 20px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .footer-brand {
    flex-direction: column;
    gap: 8px;
  }
}

/* AIStory uses the moon artwork from the product brand assets. */
.product-story { background: radial-gradient(ellipse at 25% 50%, var(--story-glow), transparent 65%); }
.product-story .product-inner { max-width: 1100px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 64px; align-items: center; text-align: left; }
.product-story .product-label { color: var(--story-accent); }
.product-story .download-buttons { justify-content: flex-start; }
.product-story .download-btn:hover { border-color: var(--story-accent); color: var(--story-accent); }
.story-visual { position: relative; display: flex; min-height: 540px; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--border-light); border-radius: var(--radius-lg); background: radial-gradient(ellipse at 50% 35%, var(--story-glow), var(--bg)); color: var(--story-accent); text-decoration: none; }
.story-visual-copy { position: absolute; bottom: 35px; left: 28px; right: 28px; display: flex; flex-direction: column; gap: 8px; }
.story-wordmark { font-family: Georgia, serif; font-size: 42px; color: var(--text); }
.story-visual-tag { font-size: 14px; line-height: 1.6; }
.story-visual:focus-visible { outline: 2px solid var(--story-accent); outline-offset: 5px; }
@media (max-width: 920px) {
  .product-story .product-inner { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .product-story .download-buttons { justify-content: center; }
}
@media (max-width: 640px) {
  .story-visual { min-height: 440px; }
  .story-visual-copy { bottom: 24px; }
}

.story-moon { width: min(76%, 390px); height: auto; object-fit: contain; margin-bottom: 85px; filter: drop-shadow(0 0 35px var(--story-glow)); }
@media (max-width: 640px) {
  .story-moon { width: min(84%, 290px); }
}

.footer-copy { line-height: 1.8; }
.footer-copy a { color: inherit; white-space: nowrap; text-decoration: none; }
.footer-copy a:hover, .footer-copy a:focus-visible { color: var(--text-secondary); text-decoration: underline; }
