/* ==========================================================================
   Now加速 (https://nowvip.homes) — Cupertino Bento & Silver-Porcelain UI
   Pure Native CSS · Optical Gallery White (#ffffff) · Bento (#f5f5f7)
   System Azure (#0071e3) · Emerald Live (#34c759) · Carbon Ink (#1d1d1f)
   ========================================================================== */

:root {
  /* Cupertino Emerald Daylight Palette (Default) */
  --bg-body: #ffffff;
  --bg-bento: #f4f7f5;
  --bg-bento-hover: #ebf2ee;
  --bg-surface: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.68);
  --bg-glass-hover: rgba(244, 247, 245, 0.96);

  --text-primary: #141f19;
  --text-secondary: #485b50;
  --text-muted: #72857a;

  --border-subtle: rgba(20, 31, 25, 0.07);
  --border-strong: rgba(20, 31, 25, 0.14);

  --accent: #10a34b;
  --accent-hover: #0d8e40;
  --accent-soft: rgba(16, 163, 75, 0.1);

  --live-dot: #22c55e;
  --live-soft: rgba(34, 197, 94, 0.18);

  --specular: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  --shadow-tile: 0 1px 2px rgba(16, 40, 26, 0.03);
  --shadow-tile-hover: 0 14px 34px rgba(16, 56, 32, 0.08), 0 2px 6px rgba(16, 40, 26, 0.03);
  --shadow-pill: 0 4px 14px rgba(16, 163, 75, 0.25);
  --shadow-pill-hover: 0 8px 22px rgba(16, 163, 75, 0.36);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-bento: 28px;
  --radius-pill: 999px;

  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-theme: 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-tile: 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="dark"] {
  /* Cupertino Emerald Midnight Palette */
  --bg-body: #050a07;
  --bg-bento: #111a14;
  --bg-bento-hover: #18251d;
  --bg-surface: #0c140f;
  --bg-header: rgba(5, 10, 7, 0.78);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --bg-glass-hover: rgba(255, 255, 255, 0.13);

  --text-primary: #f2f7f4;
  --text-secondary: #9fb3a7;
  --text-muted: #708579;

  --border-subtle: rgba(242, 247, 244, 0.09);
  --border-strong: rgba(242, 247, 244, 0.18);

  --accent: #22c55e;
  --accent-hover: #4ade80;
  --accent-soft: rgba(34, 197, 94, 0.16);

  --live-dot: #4ade80;
  --live-soft: rgba(74, 222, 128, 0.22);

  --specular: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --shadow-tile: 0 2px 8px rgba(0, 0, 0, 0.32);
  --shadow-tile-hover: 0 16px 38px rgba(0, 0, 0, 0.56);
  --shadow-pill: 0 4px 16px rgba(34, 197, 94, 0.28);
  --shadow-pill-hover: 0 8px 24px rgba(34, 197, 94, 0.42);
}

/* Reset & Base Typography */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition-theme), color var(--transition-theme);
}

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

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  scroll-margin-top: 72px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Smooth anchor arrival highlight */
@keyframes sectionFocus {
  0% {
    opacity: 0.84;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-arrived {
  animation: sectionFocus 0.55s var(--ease-spring) both;
}

/* ==========================================================================
   Sticky Frosted-White Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-header);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-theme), border-color var(--transition-theme);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  flex-shrink: 0;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 2px;
}

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

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--text-primary);
  background-color: var(--bg-bento);
}

.nav-links a.nav-news {
  color: var(--accent);
  font-weight: 600;
}

.nav-links a.nav-news:hover {
  background-color: var(--accent-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Exquisite Translucent Frosted Day/Night Toggle Button */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background-color: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text-primary);
  cursor: pointer;
  padding: 0;
  outline: none;
  box-shadow: var(--specular);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s var(--ease-spring),
    color var(--transition-theme);
}

.theme-toggle:hover {
  background-color: var(--bg-glass-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.theme-toggle:active {
  transform: scale(0.94);
}

.theme-toggle:focus-visible {
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  width: 17px;
  height: 17px;
  transition:
    opacity 0.36s var(--ease-spring),
    transform 0.44s var(--ease-spring);
}

.theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(-75deg) scale(0.55);
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(75deg) scale(0.55);
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background-color: var(--bg-glass);
  color: var(--text-primary);
  cursor: pointer;
}

/* ==========================================================================
   Cupertino Buttons (Tactile Damping)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1;
  padding: 13px 24px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.22s var(--ease-spring),
    background-color 0.22s ease,
    box-shadow 0.26s var(--ease-spring),
    border-color 0.22s ease,
    color 0.22s ease;
}

.btn-sm {
  padding: 9px 18px;
  min-height: 36px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 15px 30px;
  min-height: 50px;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-pill);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: var(--shadow-pill-hover);
}

.btn-primary:active {
  transform: scale(0.975);
  box-shadow: 0 2px 8px rgba(16, 163, 75, 0.22);
}

.btn-secondary {
  background-color: var(--bg-bento);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

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

.btn-secondary:active {
  transform: scale(0.975);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero & Asymmetric 28px Cupertino Bento Metrics Grid
   ========================================================================== */
.hero {
  padding: 88px 0 48px;
  scroll-margin-top: 72px;
}

.hero-top {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-bento);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
  transition: background-color var(--transition-theme), border-color var(--transition-theme);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--live-dot);
  box-shadow: 0 0 0 4px var(--live-soft);
}

.hero-title {
  font-size: clamp(2.35rem, 5.4vw, 3.85rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-title-brand {
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.9vw, 1.24rem);
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 34px;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Shared Bento Tile Micro-interaction */
.bento-tile {
  background-color: var(--bg-bento);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-bento);
  box-shadow: var(--specular), var(--shadow-tile);
  transition:
    transform var(--transition-tile),
    box-shadow var(--transition-tile),
    background-color var(--transition-theme),
    border-color var(--transition-tile);
}

.bento-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--specular), var(--shadow-tile-hover);
  border-color: var(--border-strong);
}

/* Asymmetric Hero Bento Grid (4 Signature Metric Cards) */
.bento-hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.metric-card {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 196px;
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }

.metric-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.metric-value {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.metric-value em {
  font-style: normal;
  color: var(--accent);
}

.metric-note {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Core Advantages — 3 Bento Illustrated Cards
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.feature-visual {
  width: 100%;
  height: 148px;
  border-radius: 18px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background-color var(--transition-theme), border-color var(--transition-theme);
}

.feature-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

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

.chip {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* ==========================================================================
   Streaming Media & AI Support Bento Cards (Zero generic bot icons)
   ========================================================================== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.media-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.monogram {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.mono-netflix { color: #e50914; }
.mono-disney  { color: #0071e3; }
.mono-youtube { color: #ff0000; }
.mono-media   { color: var(--text-primary); }

.mono-openai  { color: #10a37f; }
.mono-claude  { color: #c86442; }
.mono-gemini  { color: #0071e3; }
.mono-dev     { color: var(--text-primary); }

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.status-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--live-dot);
}

.media-card h3 {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.media-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.media-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Real-Market Pricing Bento Cards + Comparison Table
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.plan-card {
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.plan-card.plan-featured {
  background-color: var(--bg-surface);
  border: 2px solid var(--accent);
}

.plan-pill {
  position: absolute;
  top: -12px;
  left: 24px;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.plan-name {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.plan-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.plan-amount {
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
}

.plan-cycle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 24px;
  flex: 1;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.check-icon {
  width: 16px;
  height: 16px;
  color: var(--live-dot);
  flex-shrink: 0;
  margin-top: 3px;
}

.table-wrap {
  background-color: var(--bg-bento);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-bento);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  transition: background-color var(--transition-theme), border-color var(--transition-theme);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: center;
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.compare-table thead th {
  font-weight: 700;
  color: var(--text-primary);
  background-color: var(--bg-surface);
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  padding-left: 26px;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.col-accent {
  color: var(--accent);
  font-weight: 700;
}

/* ==========================================================================
   Reviews & FAQ
   ========================================================================== */
.review-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-quote {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.72;
  flex: 1;
}

.reviewer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.reviewer-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.reviewer-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: #f5a623;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-bento);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color 0.24s ease, background-color var(--transition-theme);
}

.faq-item[open] {
  border-color: var(--accent);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.28s var(--ease-spring), color 0.24s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.72;
}

/* ==========================================================================
   Bottom CTA Bento Panel
   ========================================================================== */
.cta-bento {
  background-color: var(--bg-bento);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-bento);
  padding: 60px 36px;
  text-align: center;
  box-shadow: var(--specular);
}

.cta-bento h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.cta-bento p {
  font-size: 1.04rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ==========================================================================
   Footer — Strictly 4 Required Titles Opening New Pages
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-body);
  padding: 36px 0;
  transition: background-color var(--transition-theme), border-color var(--transition-theme);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 32px;
  list-style: none;
}

.footer-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--accent);
}

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

/* ==========================================================================
   Subpages (推荐资讯, 关于我们, 服务条款, 隐私政策, 网站地图)
   ========================================================================== */
.subpage-main {
  padding: 60px 0 88px;
  min-height: calc(100vh - 180px);
}

.doc-card {
  max-width: 880px;
  margin: 0 auto;
  background-color: var(--bg-bento);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-bento);
  padding: 44px;
  box-shadow: var(--specular);
}

.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}

.doc-back:hover {
  text-decoration: underline;
}

.doc-title {
  font-size: clamp(1.8rem, 3.4vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.doc-meta {
  font-size: 0.86rem;
  color: var(--text-muted);
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.doc-section {
  margin-bottom: 28px;
}

.doc-section:last-child {
  margin-bottom: 0;
}

.doc-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.doc-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 10px;
}

.doc-section ul {
  padding-left: 20px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.doc-callout {
  background-color: var(--bg-surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  color: var(--text-primary);
  font-size: 0.93rem;
  margin: 16px 0;
}

.node-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.node-pill {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.node-pill span {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 3px;
}

.sitemap-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.sitemap-box,
.news-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 26px;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--transition-tile), box-shadow var(--transition-tile);
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-tile-hover);
}

.news-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  background-color: var(--accent-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.news-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.35;
}

.news-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sitemap-box h2 {
  font-size: 1.08rem;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.sitemap-box ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sitemap-box a {
  color: var(--accent);
  font-weight: 500;
}

.sitemap-box a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Long-Form SEO Article Layout (TOC, Editorial Body, FAQ, Related Reading)
   ========================================================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--accent);
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.article-shell {
  max-width: 900px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 28px;
}

.article-header h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: var(--text-primary);
  margin: 14px 0 14px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.toc-box {
  background-color: var(--bg-bento);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 22px 26px;
  margin-bottom: 32px;
  box-shadow: var(--specular);
}

.toc-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.toc-list {
  list-style: decimal;
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}

.toc-list a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.toc-list a:hover {
  color: var(--accent);
}

.article-body {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-bento);
  padding: 40px 44px;
  margin-bottom: 32px;
}

.article-body section {
  margin-bottom: 36px;
  scroll-margin-top: 84px;
}

.article-body section:last-child {
  margin-bottom: 0;
}

.article-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 18px 0 8px;
}

.article-body p {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 14px;
}

.article-body a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  line-height: 1.75;
}

.article-body .table-wrap {
  margin: 20px 0;
  border-radius: 18px;
}

.article-cta {
  background-color: var(--bg-bento);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0;
}

.article-cta h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
}

.article-cta p {
  margin: 0;
  font-size: 0.9rem;
}

.related-section {
  margin-top: 40px;
}

.related-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
}

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

.related-card {
  background-color: var(--bg-bento);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--transition-tile), box-shadow var(--transition-tile), border-color 0.2s ease;
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-tile-hover);
  border-color: var(--accent);
}

.related-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.related-card span {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
}

.news-card-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Responsive @media Queries — Single-Column Mobile & Touch-Friendly Buttons
   ========================================================================== */
@media (max-width: 1080px) {
  .grid-4,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 20px;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-tile-hover);
  }

  .nav-links.is-open {
    display: flex;
  }

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

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 56px 0 36px;
  }

  .bento-hero-grid,
  .grid-3,
  .grid-4,
  .pricing-grid,
  .node-grid,
  .sitemap-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .span-7,
  .span-5,
  .span-6 {
    grid-column: span 1;
  }

  .metric-card {
    min-height: 150px;
    padding: 24px 22px;
  }

  .header-cta {
    display: none;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn,
  .plan-card .btn,
  .cta-bento .btn {
    width: 100%;
    min-height: 50px;
    font-size: 1rem;
  }

  .cta-bento {
    padding: 40px 22px;
  }

  .doc-card {
    padding: 28px 20px;
  }

  .toc-list,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .article-body {
    padding: 26px 20px;
  }

  .article-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .footer-nav {
    gap: 10px 20px;
  }
}
