/* ==========================================
   style.css — COMPLETE DESIGN SYSTEM
   ========================================== */

:root {
  --bg-color: #070a12;
  --card-bg: #131720;
  --card-border: #212631;
  --text-primary: #f0f6fc;
  --text-secondary: #8b949e;
  --accent-blue: #58a6ff;
  --accent-green: #3fb950;
  --accent-purple: #a371f7;
  --stripe-purple: #635bff;
  --accent-amber: #d29922;
  --accent-red: #f85149;
  --accent-gold: #e3b341;
  --radius: 8px;
}

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

body { 
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif; 
  background-color: var(--bg-color); 
  color: var(--text-primary); 
  line-height: 1.6; 
  padding: 16px; 
  padding-bottom: 80px; 
  min-height: 100vh; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  position: relative; 
}

.container { 
  max-width: 760px; 
  width: 100%; 
  flex: 1; 
  position: relative; 
  z-index: 1; 
}

/* Header & Navigation */
header { 
  text-align: center; 
  margin-bottom: 20px; 
  padding-top: calc(8px + env(safe-area-inset-top, 0px)); 
}

.brand-badge { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  background-color: rgba(88, 166, 255, 0.08); 
  border: 1px solid rgba(88, 166, 255, 0.2); 
  color: var(--accent-blue); 
  font-size: 11px; 
  font-weight: 600; 
  padding: 5px 12px; 
  border-radius: 20px; 
  margin-bottom: 12px; 
  text-transform: uppercase; 
}

header h1 { 
  font-size: 28px; 
  font-weight: 800; 
  margin-bottom: 6px; 
  background: linear-gradient(180deg, #ffffff 0%, #a6b4c9 100%); 
  -webkit-background-clip: text; 
  background-clip: text;
  -webkit-text-fill-color: transparent; 
}

header p { 
  color: var(--text-secondary); 
  font-size: 14px; 
  max-width: 580px; 
  margin: 0 auto; 
}

.tab-nav { 
  display: flex; 
  gap: 8px; 
  margin: 20px 0 24px 0; 
  background-color: var(--card-bg); 
  padding: 6px; 
  border-radius: 12px; 
  border: 1px solid var(--card-border); 
  overflow-x: auto; 
  -webkit-overflow-scrolling: touch;
}

.tab-btn { 
  flex: 1; 
  padding: 10px 14px; 
  background: none; 
  border: none; 
  color: var(--text-secondary); 
  font-size: 13px; 
  font-weight: 600; 
  border-radius: 8px; 
  cursor: pointer; 
  white-space: nowrap; 
}

.tab-btn.active { 
  background-color: rgba(88, 166, 255, 0.15); 
  color: var(--accent-blue); 
  border: 1px solid rgba(88, 166, 255, 0.3); 
}

.tab-content { 
  display: none; 
} 

.tab-content.active { 
  display: block; 
}

/* Trust Bar & Monetization */
.trust-bar { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 12px; 
  margin-bottom: 24px; 
  background: var(--card-bg); 
  border: 1px solid var(--card-border); 
  border-radius: 12px; 
  padding: 14px; 
  text-align: center; 
}

.trust-item { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 4px; 
}

.trust-item svg { 
  width: 18px; 
  height: 18px; 
  fill: var(--accent-blue); 
}

.trust-item span { 
  font-size: 11px; 
  color: var(--text-secondary); 
  font-weight: 500; 
}

.checkout-card { 
  background: linear-gradient(135deg, #181d28 0%, #11151f 100%); 
  border: 1px solid var(--stripe-purple); 
  border-radius: 16px; 
  padding: 24px 20px; 
  text-align: center; 
  margin-bottom: 24px; 
}

.checkout-card h2 { 
  font-size: 20px; 
  font-weight: 700; 
  margin-bottom: 6px; 
}

.checkout-card p { 
  color: var(--text-secondary); 
  font-size: 13px; 
  margin-bottom: 18px; 
}

.stripe-btn { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  background-color: var(--stripe-purple); 
  color: #ffffff; 
  font-weight: 600; 
  font-size: 15px; 
  padding: 12px 28px; 
  border-radius: 10px; 
  text-decoration: none; 
}

/* Audio Track Cards & Custom Player */
.track-list { 
  display: flex; 
  flex-direction: column; 
  gap: 16px; 
}

.track-card { 
  background-color: var(--card-bg); 
  border: 1px solid var(--card-border); 
  border-radius: 16px; 
  padding: 20px; 
}

.track-top { 
  display: flex; 
  justify-content: space-between; 
  align-items: flex-start; 
  margin-bottom: 10px; 
}

.track-identity { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
}

.track-icon-wrapper { 
  width: 40px; 
  height: 40px; 
  border-radius: 10px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}

.icon-beta { background-color: rgba(88, 166, 255, 0.1); stroke: var(--accent-blue); }
.icon-alpha { background-color: rgba(63, 185, 80, 0.1); stroke: var(--accent-green); }
.icon-delta { background-color: rgba(163, 113, 247, 0.1); stroke: var(--accent-purple); }

.track-title { font-size: 17px; font-weight: 700; }

.badge { 
  font-size: 10px; 
  font-weight: 700; 
  padding: 4px 8px; 
  border-radius: 20px; 
  text-transform: uppercase; 
  display: inline-block;
  width: fit-content;
}

.badge-beta { background-color: rgba(88, 166, 255, 0.12); color: var(--accent-blue); }
.badge-alpha { background-color: rgba(63, 185, 80, 0.12); color: var(--accent-green); }
.badge-delta { background-color: rgba(163, 113, 247, 0.12); color: var(--accent-purple); }

/* High-Converting Marketing Badges (Circadian Gear) */
.badge-gold { background: rgba(227, 179, 65, 0.15); color: #e3b341; border: 1px solid rgba(227, 179, 65, 0.3); }
.badge-green { background: rgba(63, 185, 80, 0.15); color: #3fb950; border: 1px solid rgba(63, 185, 80, 0.3); }
.badge-purple { background: rgba(163, 113, 247, 0.15); color: #a371f7; border: 1px solid rgba(163, 113, 247, 0.3); }
.badge-blue { background: rgba(88, 166, 255, 0.15); color: #58a6ff; border: 1px solid rgba(88, 166, 255, 0.3); }

.track-desc { color: var(--text-secondary); font-size: 13px; margin-bottom: 16px; }

.mode-toggle-group { 
  display: flex; 
  gap: 6px; 
  background-color: #11151f; 
  padding: 4px; 
  border-radius: 10px; 
  border: 1px solid var(--card-border); 
  margin-bottom: 14px; 
}

.mode-toggle-btn { 
  flex: 1; 
  padding: 8px 10px; 
  background: none; 
  border: none; 
  color: var(--text-secondary); 
  font-size: 11px; 
  font-weight: 700; 
  border-radius: 6px; 
  cursor: pointer; 
  transition: all 0.2s ease; 
}

.mode-toggle-btn.active { 
  background-color: rgba(88, 166, 255, 0.2); 
  color: var(--accent-blue); 
  border: 1px solid rgba(88, 166, 255, 0.4); 
}

.mode-toggle-btn.active-purple { 
  background-color: rgba(163, 113, 247, 0.2); 
  color: var(--accent-purple); 
  border: 1px solid rgba(163, 113, 247, 0.4); 
}

.custom-player { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  background-color: #1c2230; 
  border: 1px solid #30363d; 
  border-radius: 12px; 
  padding: 8px 14px; 
  margin-bottom: 12px; 
}

.play-pause-btn { 
  background-color: var(--accent-blue); 
  border: none; 
  width: 36px; 
  height: 36px; 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  cursor: pointer; 
  flex-shrink: 0; 
  transition: opacity 0.2s ease; 
  position: relative; 
  color: #070a12;
}

.play-pause-btn svg { width: 16px; height: 16px; fill: #0b0e14; }

.play-icon,
.pause-icon {
  color: #070a12;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  display: inline-block;
}

@keyframes spin { 
  0% { transform: rotate(0deg); } 
  100% { transform: rotate(360deg); } 
}

.loading-spinner { 
  display: none; 
  width: 18px; 
  height: 18px; 
  border: 3px solid rgba(11, 14, 20, 0.3); 
  border-radius: 50%; 
  border-top-color: #0b0e14; 
  animation: spin 1s ease-in-out infinite; 
}

.darkroom-trigger-btn { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px; 
  width: 100%; 
  background-color: #161b22; 
  border: 1px solid #30363d; 
  color: var(--text-secondary); 
  font-size: 12px; 
  font-weight: 700; 
  padding: 10px; 
  border-radius: 10px; 
  cursor: pointer; 
  transition: all 0.2s ease; 
}

.darkroom-trigger-btn:hover { 
  background-color: #1c2230; 
  color: #f0f6fc; 
}

.darkroom-trigger-btn svg { width: 14px; height: 14px; fill: currentColor; }

.time-display { font-size: 12px; font-family: monospace; color: #f0f6fc; font-weight: 600; min-width: 95px; }
.progress-bar-container { flex: 1; display: flex; align-items: center; }
.progress-bar-track { width: 100%; height: 6px; background: #30363d; border-radius: 3px; overflow: hidden; position: relative; pointer-events: none !important; user-select: none !important; }
.progress-bar-fill { height: 100%; width: 0%; background: var(--accent-blue); border-radius: 3px; transition: width 0.15s linear; pointer-events: none !important; }

.locked-shield { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px; 
  background-color: rgba(255, 255, 255, 0.02); 
  border: 1px dashed #30363d; 
  border-radius: 8px; 
  padding: 10px; 
  font-size: 12px; 
  color: var(--text-secondary); 
  margin-bottom: 12px; 
}

.locked-shield svg { width: 14px; height: 14px; fill: #8b949e; }

/* Setup Panel & Dynamic Timeline Cards */
.planner-card { 
  background-color: var(--card-bg); 
  border: 1px solid var(--card-border); 
  border-radius: 16px; 
  padding: 20px; 
  margin-bottom: 20px; 
}

.setup-panel { 
  background: rgba(88, 166, 255, 0.05); 
  border: 1px solid var(--accent-blue); 
  border-radius: var(--radius); 
  padding: 16px; 
  margin-bottom: 16px; 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
  gap: 12px; 
}

.setup-group { display: flex; flex-direction: column; }
.setup-label { font-size: 0.8rem; font-weight: 600; color: var(--accent-blue); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.setup-select { background: var(--card-bg); border: 1px solid var(--card-border); color: var(--text-primary); padding: 8px 12px; border-radius: 6px; outline: none; font-size: 0.9rem; }
input[type="time"].setup-select { color-scheme: dark; }

.btn-primary {
  width: 100%;
  padding: 12px;
  background-color: var(--accent-purple);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-primary:hover { opacity: 0.9; }

.timeline-item { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.time-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.time-stamp { font-size: 1.1rem; font-weight: 800; color: #ffffff; display: flex; align-items: center; gap: 8px; }
.time-badge { font-size: 0.7rem; padding: 2px 8px; border-radius: 12px; font-weight: 700; text-transform: uppercase; }
.badge-prep { background: rgba(88, 166, 255, 0.15); color: var(--accent-blue); }
.badge-fuel { background: rgba(163, 113, 247, 0.15); color: var(--accent-purple); }
.badge-cutoff { background: rgba(248, 81, 73, 0.15); color: var(--accent-red); }
.badge-commute { background: rgba(63, 185, 80, 0.15); color: var(--accent-green); }
.badge-sleep { background: rgba(163, 113, 247, 0.15); color: var(--accent-purple); }

.primary-action { font-size: 0.95rem; margin-bottom: 10px; }
.primary-action strong { color: #ffffff; }

.role-note { font-size: 0.85rem; color: #e6edf3; background: rgba(255, 255, 255, 0.05); border-left: 3px solid var(--accent-blue); padding: 10px 14px; margin-bottom: 10px; border-radius: 0 4px 4px 0; }
.compassion-block { font-size: 0.85rem; color: #d2a8ff; background: rgba(163, 113, 247, 0.08); border-left: 3px solid var(--accent-purple); padding: 10px 14px; margin-bottom: 10px; border-radius: 0 4px 4px 0; }
.stern-block { font-size: 0.85rem; color: #ff7b72; background: rgba(248, 81, 73, 0.06); border-left: 3px solid var(--accent-red); padding: 10px 14px; margin-bottom: 10px; border-radius: 0 4px 4px 0; }

.pro-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,0.1); }
.audio-btn { background: rgba(163, 113, 247, 0.15); border: 1px solid rgba(163, 113, 247, 0.4); color: #d2a8ff; padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.gear-btn { background: rgba(227, 179, 65, 0.1); border: 1px solid rgba(227, 179, 65, 0.3); color: var(--accent-gold); padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 6px; }

/* Gear Grid & Clinical Accordions */
.gear-grid { display: flex; flex-direction: column; gap: 20px; }
.gear-card { background-color: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 20px; }
.gear-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.gear-spec { background-color: rgba(210, 153, 34, 0.1); border: 1px solid rgba(210, 153, 34, 0.25); color: var(--accent-amber); padding: 10px; border-radius: 8px; font-size: 12px; margin-bottom: 14px; }
.gear-tiers { display: flex; flex-direction: column; gap: 12px; }
.tier-item { background-color: #1c2230; padding: 14px; border-radius: 10px; border: 1px solid #282f3d; display: flex; flex-direction: column; gap: 10px; }
.tier-header-row { display: flex; align-items: center; gap: 12px; }
.badge-icon { width: 44px; height: 44px; border-radius: 8px; background-color: #0b0e14; border: 1px solid #30363d; display: flex; align-items: center; justify-content: center; gap: 4px; flex-shrink: 0; font-size: 20px; }
.tier-top { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.tier-label { font-size: 10px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; }
.tier-price { font-size: 12px; font-weight: 700; color: var(--accent-green); }
.tier-name { font-size: 14px; font-weight: 700; color: #ffffff; }
.tier-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }
.buy-btn { 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  background-color: rgba(88, 166, 255, 0.12); 
  color: var(--accent-blue); 
  border: 1px solid rgba(88, 166, 255, 0.3); 
  font-size: 12px; 
  font-weight: 700; 
  padding: 10px 16px; 
  min-height: 44px;
  border-radius: 8px; 
  text-decoration: none; 
  width: fit-content; 
  transition: all 0.2s ease;
}
.buy-btn:hover {
  background-color: rgba(88, 166, 255, 0.25);
  color: #ffffff;
}

.ftc-notice { font-size: 11px; color: var(--text-secondary); background-color: var(--card-bg); border: 1px dashed var(--card-border); padding: 12px; border-radius: 8px; margin-top: 20px; text-align: center; }

.clinical-header { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 20px; margin-bottom: 20px; }
.clinical-header h2 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.clinical-header p { font-size: 13px; color: var(--text-secondary); }
.badge-group { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.clinical-badge { font-size: 10px; background: rgba(88, 166, 255, 0.12); color: var(--accent-blue); border: 1px solid rgba(88, 166, 255, 0.3); padding: 4px 8px; border-radius: 6px; font-weight: 700; text-transform: uppercase; }

details.accordion { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; margin-bottom: 12px; overflow: hidden; }
details.accordion summary { padding: 16px 20px; font-weight: 700; font-size: 15px; color: var(--text-primary); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.accordion summary::-webkit-details-marker { display: none; }
details.accordion summary::after { content: "＋"; font-size: 18px; color: var(--accent-blue); }
details.accordion[open] summary::after { content: "－"; }
details.accordion .accordion-body { padding: 0 20px 20px; border-top: 1px solid var(--card-border); font-size: 13px; color: var(--text-primary); margin-top: 10px; padding-top: 16px; }
.mechanism-block { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--card-border); }
.mechanism-block:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.mechanism-block h4 { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.mechanism-block p { color: var(--text-secondary); }
.calibration-note { background: rgba(88, 166, 255, 0.08); border-left: 3px solid var(--accent-blue); padding: 12px; border-radius: 0 8px 8px 0; margin: 12px 0 0 0; font-size: 12px; color: var(--text-secondary); }
.calibration-note strong { color: var(--accent-blue); }
.citation-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 12px; }
.citation-table th, .citation-table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--card-border); vertical-align: top; }
.citation-table th { color: var(--text-secondary); font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.citation-table td { color: var(--text-primary); }
.citation-table a { color: var(--accent-blue); text-decoration: none; font-weight: 600; display: inline-block; margin-top: 4px; }

/* Modals, PWA, Footer */
.install-pill { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: rgba(19, 23, 32, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(88, 166, 255, 0.4); color: var(--accent-blue); padding: 10px 20px; border-radius: 30px; font-size: 13px; font-weight: 700; display: none; align-items: center; gap: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6); z-index: 1000; cursor: pointer; }
.install-tooltip { position: fixed; bottom: 76px; left: 50%; transform: translateX(-50%) translateY(10px); background-color: var(--card-bg); border: 1px solid var(--accent-blue); color: var(--text-primary); padding: 12px 16px; border-radius: 12px; font-size: 12px; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8); z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; width: max-content; max-width: 280px; }
.install-tooltip.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.modal-overlay { position: fixed; inset: 0; background: rgba(7, 10, 18, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 5000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.show { display: flex; }
.modal-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 24px; max-width: 400px; width: 100%; text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.8); }
.modal-card h3 { font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.modal-card p { font-size: 13px; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.5; }
.modal-actions { display: flex; gap: 10px; }
.modal-btn { flex: 1; padding: 12px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; border: none; }
.btn-cancel { background: #1c2230; color: var(--text-primary); }
.btn-confirm { background: var(--accent-purple); color: #fff; }

.blackout-screen { position: fixed; inset: 0; background-color: #000000; z-index: 99999; display: none; flex-direction: column; align-items: center; justify-content: center; touch-action: none; user-select: none; -webkit-user-select: none; }
.blackout-hint { color: rgba(255, 255, 255, 0.15); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; opacity: 0; transition: opacity 0.3s ease; text-align: center; margin-bottom: 20px; }
.blackout-progress-container { width: 120px; height: 4px; background: rgba(255, 255, 255, 0.05); border-radius: 2px; overflow: hidden; opacity: 0; transition: opacity 0.2s ease; }
.blackout-progress-bar { height: 100%; width: 0%; background: rgba(255, 255, 255, 0.3); transition: width 0.03s linear; }

.site-footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--card-border); text-align: center; font-size: 11px; color: var(--text-secondary); width: 100%; position: relative; z-index: 1; }
.site-footer a { color: var(--text-primary); text-decoration: underline; }
.version-badge { display: inline-block; font-family: monospace; font-size: 10px; color: #484f58; margin-top: 8px; letter-spacing: 0.5px; }

/* ==========================================
   EDITORIAL SURVIVAL GUIDES (/guides/*)
   ========================================== */
.guide-container {
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 18px 60px;
  position: relative;
  z-index: 1;
}
.back-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00E5FF;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}
.back-nav:hover {
  text-decoration: underline;
}
.guide-header {
  text-align: left;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 22px;
}
.guide-header h1 {
  font-size: 28px;
  line-height: 1.25;
  margin: 12px 0;
  color: var(--text-primary, #f0f6fc);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: var(--text-primary, #f0f6fc);
}
.guide-meta {
  font-size: 12px;
  color: var(--text-secondary, #8b949e);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.safety-banner {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 22px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-primary, #f0f6fc);
}
.safety-banner strong {
  color: #f87171;
}
.tldr-box {
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 24px;
}
.tldr-box h2 {
  font-size: 16px;
  color: #00E5FF;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.tldr-box ul {
  padding-left: 18px;
  margin: 0;
}
.tldr-box li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary, #c9d1d9);
  margin-bottom: 8px;
}
.tldr-box li:last-child {
  margin-bottom: 0;
}
.tldr-box strong {
  color: #ffffff;
}
.guide-section {
  background-color: var(--card-bg, #131720);
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
  border-radius: 16px;
  padding: 26px 24px;
  margin-bottom: 24px;
}
.guide-section h2 {
  font-size: 20px;
  color: #60A5FA;
  margin-top: 0;
  margin-bottom: 14px;
  line-height: 1.35;
}
.guide-section h3 {
  font-size: 16px;
  color: var(--text-primary, #f0f6fc);
  margin-top: 22px;
  margin-bottom: 10px;
}
.guide-section p, .guide-section li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary, #c9d1d9);
  margin-bottom: 14px;
}
.guide-section ul, .guide-section ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.guide-section strong {
  color: var(--text-primary, #ffffff);
}
.protocol-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
}
.protocol-table th, .protocol-table td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  text-align: left;
  vertical-align: top;
  color: var(--text-secondary, #c9d1d9);
  overflow-wrap: break-word;
}
.protocol-table th {
  background: rgba(37, 99, 235, 0.15);
  color: #ffffff;
  font-weight: 700;
}
.inline-audio-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0;
}
.inline-audio-box.amber {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.4);
}
.inline-audio-box h4 {
  margin: 0 0 8px 0;
  color: #34d399;
  font-size: 15px;
}
.inline-audio-box.amber h4 {
  color: #fbbf24;
}
.inline-audio-box audio {
  width: 100%;
  margin-top: 10px;
  border-radius: 8px;
}
.gear-spectrum-box {
  background: rgba(187, 134, 252, 0.07);
  border: 1px solid rgba(187, 134, 252, 0.3);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0;
}
.cta-planner-box {
  background: linear-gradient(145deg, rgba(13, 19, 34, 0.95), rgba(37, 99, 235, 0.18));
  border: 1px solid #00E5FF;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  margin-top: 32px;
  margin-bottom: 24px;
}
.cta-planner-box h2 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 10px;
}
.cta-btn {
  display: inline-block;
  background-color: #00E5FF;
  color: #070a12;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 12px;
}
.related-guides-box {
  background-color: var(--card-bg, #131720);
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.related-guides-box h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary, #f0f6fc);
  margin: 0 0 12px 0;
}
.related-guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.related-guide-link {
  display: block;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 8px;
  padding: 10px 12px;
  color: #60A5FA;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.related-guide-link:hover {
  background: rgba(96, 165, 250, 0.12);
  border-color: #60A5FA;
}
.disclosure-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 12px;
  color: var(--text-secondary, #8b949e);
  line-height: 1.6;
}

@media (max-width: 600px) { 
  .trust-bar { grid-template-columns: 1fr; } 
  header h1, .guide-header h1 { font-size: 24px; }
  .guide-section { padding: 20px 16px; }
  .protocol-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .protocol-table th, .protocol-table td { padding: 8px; font-size: 13px; }
}