/* 91PORN视频官网样式 - 91-porny.lol */
:root {
  --primary: #ff6600;
  --primary-dark: #e55a00;
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1e1e1e;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #707070;
  --border: #2a2a2a;
  --gradient: linear-gradient(135deg, #ff6600 0%, #ff9933 100%);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --radius: 12px;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-link:hover { text-decoration: none; }
.logo-img { width: 48px; height: 48px; border-radius: 10px; }
.logo-text { font-size: 1.4rem; font-weight: 700; color: var(--text-primary); }
.logo-text span { color: var(--primary); }

.nav-main { display: flex; gap: 8px; align-items: center; }
.nav-main a {
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-main a:hover, .nav-main a.active {
  color: var(--text-primary);
  background: var(--bg-card);
  text-decoration: none;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(255,102,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,102,0,0.4);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

.page-header {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, #111 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border);
}

.page-header h1 { font-size: 2rem; margin-bottom: 8px; }
.page-header .breadcrumb { color: var(--text-muted); font-size: 0.9rem; }
.page-header .breadcrumb a { color: var(--text-secondary); }

.page-body { padding: 48px 0 80px; }

.legal-content h2 { font-size: 1.3rem; margin: 32px 0 12px; color: var(--text-primary); }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 10px; color: var(--primary); }
.legal-content p, .legal-content li { color: var(--text-secondary); margin-bottom: 12px; }
.legal-content ul, .legal-content ol { margin-left: 24px; margin-bottom: 16px; }

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  opacity: 0.8;
}

.error-page h1 { font-size: 1.8rem; margin: 16px 0; }
.error-page p { color: var(--text-secondary); margin-bottom: 32px; max-width: 480px; }

.site-footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; line-height: 1.6; }

.footer-col h4 { font-size: 0.95rem; margin-bottom: 16px; color: var(--text-primary); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; text-decoration: none; }
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; text-decoration: none; }
.footer-links a:hover { color: var(--primary); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  html { font-size: 15px; overflow-x: hidden; }
  body { overflow-x: hidden; max-width: 100%; }

  /* 无广告页：导航固定顶部 */
  body:not(:has(.site-top-fixed)) {
    padding-top: 56px;
  }
  body:not(:has(.site-top-fixed)) .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
  }

  /* 有广告页：整块顶栏固定，导航始终在最上方 */
  .site-top-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .menu-toggle { display: block; flex-shrink: 0; order: 2; }
  .header-inner {
    padding: 10px 16px;
    gap: 0;
    flex-wrap: wrap;
    align-items: center;
  }
  .logo-link {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    order: 1;
  }
  .logo-img { width: 40px; height: 40px; flex-shrink: 0; }
  .logo-text { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-main {
    display: none;
    position: static;
    flex-basis: 100%;
    order: 3;
    width: 100%;
    background: transparent;
    flex-direction: column;
    padding: 0 0 4px;
    margin-top: 0;
    border-bottom: none;
    box-shadow: none;
  }
  .nav-main.open {
    display: flex;
    padding-top: 10px;
    margin-top: 8px;
    border-top: 1px solid var(--border);
  }
  .nav-main a { width: 100%; text-align: center; padding: 12px; font-size: 0.92rem; }
  .container { padding: 0 16px; width: 100%; max-width: 100%; }
  .footer-brand p { overflow-wrap: break-word; word-break: break-word; }
  .page-header { padding: 32px 0 24px; }
  .page-header h1 { font-size: 1.6rem; }
  .page-body { padding: 32px 0 56px; }
  .legal-content h2 { font-size: 1.15rem; margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 36px 0 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .error-code { font-size: 5rem; }
}

/* ===== 首页专属排版（v5 Bento + 侧边栏指南）===== */
.page-home { background: #050505; }
.home-main { overflow-x: hidden; }

.home-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--primary);
  margin-bottom: 10px;
}

.home-section-head { margin-bottom: 44px; max-width: 620px; }
.home-section-head-center { text-align: center; max-width: none; margin-left: auto; margin-right: auto; }
.home-section-head-center p { margin: 0 auto; max-width: 520px; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }
.home-section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.2;
}
.home-section-head p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Buttons */
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.home-btn-fill {
  background: var(--gradient);
  color: #fff !important;
  box-shadow: 0 8px 28px rgba(255,102,0,0.35);
}
.home-btn-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255,102,0,0.45);
  color: #fff !important;
}
.home-btn-line {
  background: transparent;
  color: var(--text-secondary) !important;
  border: 1px solid #333;
}
.home-btn-line:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}

/* Hero */
.home-hero {
  position: relative;
  padding: 64px 0 48px;
  overflow: hidden;
}
.home-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,102,0,0.07) 0%, transparent 45%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 80px),
    #050505;
  pointer-events: none;
}
.home-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-width: 0;
}
.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.home-live {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34,197,94,0.6);
  animation: home-blink 2s ease infinite;
}
@keyframes home-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.home-hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.home-hero-copy h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.home-intro {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 520px;
}
.home-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.home-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.home-chips li {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid #252525;
  background: rgba(255,255,255,0.03);
  padding: 5px 12px;
  border-radius: 6px;
}

/* Phone fan */
.home-phones {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-phone {
  position: absolute;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid #2a2a2a;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  background: #111;
}
.home-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-phone-back {
  width: 160px;
  height: 284px;
  transform: rotate(-12deg) translateX(-90px);
  opacity: 0.55;
  z-index: 1;
}
.home-phone-mid {
  width: 200px;
  height: 356px;
  z-index: 3;
  border-color: rgba(255,102,0,0.35);
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 40px rgba(255,102,0,0.15);
}
.home-phone-front {
  width: 160px;
  height: 284px;
  transform: rotate(12deg) translateX(90px);
  opacity: 0.55;
  z-index: 2;
}

/* Metrics */
.home-metrics {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.home-metrics-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.home-metrics-row li {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid var(--border);
}
.home-metrics-row li:last-child { border-right: none; }
.home-metrics-row strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
}
.home-metrics-row span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Bento grid */
.home-bento {
  padding: 72px 0;
  background: #070707;
}
.home-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.home-bento-card {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.home-bento-card:hover {
  border-color: rgba(255,102,0,0.35);
  transform: translateY(-3px);
}
.home-bento-wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
}
.home-bento-media {
  overflow: hidden;
  background: #0a0a0a;
}
.home-bento-media img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.home-bento-media-sm { max-height: 160px; }
.home-bento-media-sm img { min-height: 160px; max-height: 160px; }
.home-bento-text {
  padding: 22px 24px;
}
.home-bento-wide .home-bento-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-bento-num {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.home-bento-text h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}
.home-bento-text p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Showcase scroll */
.home-showcase {
  padding: 72px 0;
  background: #0a0a0a;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.home-showcase-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 20px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}
.home-showcase-track figure {
  flex: 0 0 130px;
  margin: 0;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #222;
  background: #111;
  transition: border-color 0.2s, transform 0.2s;
}
.home-showcase-track figure:hover {
  border-color: rgba(255,102,0,0.4);
  transform: scale(1.03);
}
.home-showcase-track img {
  width: 130px;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
}
.home-showcase-track figcaption {
  padding: 8px 6px;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  border-top: 1px solid #1a1a1a;
}

/* Download timeline */
.home-dl {
  padding: 72px 0;
  background: #050505;
}
.home-dl-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.home-dl-intro h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.2;
}
.home-dl-intro > p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.home-kw {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.home-kw li {
  font-size: 0.74rem;
  color: var(--text-muted);
  border: 1px dashed #2a2a2a;
  padding: 5px 12px;
  border-radius: 999px;
}
.home-timeline {
  list-style: none;
  position: relative;
  padding-left: 0;
}
.home-timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), rgba(255,102,0,0.1));
}
.home-timeline li {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
}
.home-timeline li:last-child { padding-bottom: 0; }
.home-tl-dot {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  color: #fff;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(255,102,0,0.3);
}
.home-tl-body {
  flex: 1;
  background: #0c0c0c;
  border: 1px solid #1e1e1e;
  border-radius: 14px;
  padding: 20px 22px;
  transition: border-color 0.2s;
}
.home-timeline li:hover .home-tl-body {
  border-color: rgba(255,102,0,0.3);
}
.home-tl-body h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.home-tl-body p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Guide sidebar layout */
.home-guide {
  padding: 72px 0;
  background: #080808;
  border-top: 1px solid var(--border);
  overflow-x: hidden;
  max-width: 100%;
}
.home-guide-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  min-width: 0;
  width: 100%;
}
.home-guide-nav {
  position: sticky;
  top: 120px;
  min-width: 0;
  max-width: 100%;
}
.home-guide-nav h2 {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.home-guide-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.home-guide-nav nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.home-guide-nav nav a {
  font-size: 0.82rem;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.home-guide-nav nav a:hover {
  color: var(--primary) !important;
  background: rgba(255,102,0,0.06);
  border-left-color: var(--primary);
}
.home-guide-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.home-prose {
  padding: 28px 0;
  border-bottom: 1px solid #161616;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.home-prose-main {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.home-prose:last-child { border-bottom: none; }
.home-prose h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  line-height: 1.35;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.home-prose h3 span {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.75;
  flex-shrink: 0;
}
.home-prose p {
  color: var(--text-secondary);
  font-size: 0.91rem;
  line-height: 1.85;
  margin-bottom: 12px;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
.home-prose a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.home-prose p:last-child { margin-bottom: 0; }
.home-prose-img {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  min-width: 0;
  width: 100%;
}
.home-prose-img-left { grid-template-columns: auto minmax(0, 1fr); }
.home-prose-img figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #222;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  flex-shrink: 0;
  max-width: 130px;
}
.home-prose-img figure img {
  width: 100%;
  max-width: 130px;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
}
.home-tip {
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(255,102,0,0.06);
  border-left: 3px solid var(--primary);
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

/* FAQ grid */
.home-faq {
  padding: 72px 0;
  background: #060606;
  border-top: 1px solid var(--border);
}
.home-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.home-faq-item {
  background: #0c0c0c;
  border: 1px solid #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.home-faq-item[open] { border-color: rgba(255,102,0,0.35); }
.home-faq-item summary {
  padding: 16px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-primary);
}
.home-faq-item summary::-webkit-details-marker { display: none; }
.home-faq-item summary::after {
  content: '+';
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-left: 10px;
}
.home-faq-item[open] summary::after { content: '−'; }
.home-faq-item p {
  padding: 0 20px 16px;
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* CTA bar */
.home-cta {
  padding: 56px 0 80px;
  background: #050505;
}
.home-cta-box {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 40px;
  border-radius: 18px;
  border: 1px solid rgba(255,102,0,0.25);
  background: linear-gradient(100deg, rgba(255,102,0,0.08) 0%, #0a0a0a 55%);
  flex-wrap: wrap;
}
.home-cta-logo {
  border-radius: 18px;
  flex-shrink: 0;
}
.home-cta-box > div { flex: 1; min-width: 200px; }
.home-cta-box h2 {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 6px;
}
.home-cta-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .home-bento-grid { grid-template-columns: repeat(2, 1fr); }
  .home-bento-wide { grid-column: span 2; }
  .home-guide-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; min-width: 0; }
  .home-prose-img,
  .home-prose-img-left { grid-template-columns: minmax(0, 1fr); }
  .home-dl-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .home-hero { padding: 40px 0 32px; }
  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .home-phones { order: -1; height: 340px; }
  .home-phone-mid { width: 170px; height: 302px; }
  .home-phone-back, .home-phone-front { width: 130px; height: 231px; }
  .home-phone-back { transform: rotate(-10deg) translateX(-70px); }
  .home-phone-front { transform: rotate(10deg) translateX(70px); }
  .home-hero-actions { flex-direction: column; }
  .home-hero-actions .home-btn { width: 100%; }
  .home-metrics-row { grid-template-columns: repeat(2, 1fr); }
  .home-metrics-row li:nth-child(2) { border-right: none; }
  .home-metrics-row li:nth-child(1),
  .home-metrics-row li:nth-child(2) { border-bottom: 1px solid var(--border); }
  .home-bento,
  .home-showcase,
  .home-dl,
  .home-guide,
  .home-faq { padding: 52px 0; }
  .home-bento-grid { grid-template-columns: 1fr; }
  .home-bento-wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .home-guide-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    min-width: 0;
    width: 100%;
    overflow-x: hidden;
  }
  .home-guide-body {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .home-guide-nav {
    position: static;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .home-guide-nav nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
    gap: 6px;
    scrollbar-width: none;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .home-guide-nav nav::-webkit-scrollbar { display: none; }
  .home-guide-nav nav a {
    flex-shrink: 0;
    white-space: nowrap;
    border-left: none;
    border: 1px solid #222;
    background: #0a0a0a;
  }
  .home-prose-img,
  .home-prose-img-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .home-prose-img figure {
    justify-self: center;
    max-width: 100%;
  }
  .home-prose-img figure img {
    width: auto;
    max-width: min(130px, 100%);
  }
  .home-faq-grid { grid-template-columns: 1fr; }
  .home-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }
  .home-cta-box .home-btn { width: 100%; }
  .home-prose {
    padding: 20px 0;
  }
  .home-prose p { font-size: 0.88rem; }
  .home-prose h3 {
    display: block;
    font-size: 1rem;
    gap: 4px;
  }
  .home-prose h3 span {
    display: inline-block;
    margin-bottom: 6px;
  }
}

@media (max-width: 480px) {
  .home-metrics-row { display: none; }
  .home-showcase-track figure { flex: 0 0 110px; }
  .home-showcase-track img { width: 110px; }
}
