/* CableCrab SaaS — Landing, Auth & In-Studio Account UI (CSP-safe, zero external CDN) */
@font-face {
  font-family: "Pretendard Variable";
  src: url("/static/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --cc-bg: #070d19;
  --cc-bg-2: #0d1628;
  --cc-surface: #111d35;
  --cc-surface-2: #162544;
  --cc-border: rgba(148, 163, 184, 0.16);
  --cc-border-strong: rgba(96, 165, 250, 0.35);
  --cc-text: #f1f5f9;
  --cc-muted: #94a3b8;
  --cc-accent: #3b82f6;
  --cc-accent-2: #06b6d4;
  --cc-coral: #f97316;
  --cc-green: #10b981;
  --cc-danger: #ef4444;
  --cc-radius: 14px;
  --cc-font: "Pretendard Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.cc-grid-bg {
  margin: 0;
  padding: 0;
  font-family: var(--cc-font);
  background: var(--cc-bg);
  color: var(--cc-text);
  -webkit-font-smoothing: antialiased;
}
body.cc-grid-bg *, body.cc-grid-bg *::before, body.cc-grid-bg *::after,
.cc-auth-dialog *, .cc-auth-dialog *::before, .cc-auth-dialog *::after {
  box-sizing: border-box;
}
body.cc-grid-bg a, .cc-auth-dialog a { color: inherit; text-decoration: none; }

/* Blueprint subtle background grid */
.cc-grid-bg {
  background-color: var(--cc-bg);
  background-image:
    radial-gradient(circle at 20% 0%, rgba(59, 130, 246, 0.18), transparent 45%),
    radial-gradient(circle at 82% 10%, rgba(6, 182, 212, 0.13), transparent 40%),
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
}

/* Header */
.cc-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(7, 13, 25, 0.82);
  border-bottom: 1px solid var(--cc-border);
}
.cc-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cc-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.cc-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cc-coral), #ea580c);
  color: #fff;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
}
.cc-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--cc-muted);
}
.cc-nav-links a:hover { color: #fff; }
.cc-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid var(--cc-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cc-text);
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.cc-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(148, 163, 184, 0.35); }
.cc-btn.primary {
  background: linear-gradient(135deg, #2563eb, #0284c7);
  border-color: rgba(96, 165, 250, 0.45);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.34);
}
.cc-btn.primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.cc-btn.lg { padding: 13px 24px; font-size: 15px; border-radius: 12px; }
.cc-btn.full { width: 100%; }
.cc-btn.google {
  background: #ffffff;
  color: #0f172a;
  border-color: #e2e8f0;
}
.cc-btn.google:hover { background: #f8fafc; }
.cc-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.cc-lang-btn {
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  letter-spacing: 0.04em;
}

/* Landing Sections */
.cc-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.cc-hero {
  padding: 78px 0 56px;
  text-align: center;
}
.cc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  margin-bottom: 22px;
}
.cc-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cc-green);
  box-shadow: 0 0 10px var(--cc-green);
}
.cc-hero h1 {
  margin: 0 auto 18px;
  max-width: 820px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.cc-gradient-text {
  background: linear-gradient(120deg, #60a5fa, #22d3ee, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cc-hero p.cc-lead {
  margin: 0 auto 30px;
  max-width: 680px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--cc-muted);
}
.cc-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 42px;
}
.cc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}
.cc-stat {
  background: rgba(17, 29, 53, 0.78);
  border: 1px solid var(--cc-border);
  border-radius: 12px;
  padding: 16px 14px;
}
.cc-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.cc-stat span {
  font-size: 12.5px;
  color: var(--cc-muted);
}

/* Pipeline Strip */
.cc-section { padding: 64px 0; }
.cc-section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 40px;
}
.cc-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 10px;
}
.cc-section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: -0.02em;
}
.cc-section-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--cc-muted);
}

.cc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.cc-card {
  background: rgba(17, 29, 53, 0.78);
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cc-card-num {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  background: rgba(59, 130, 246, 0.16);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.cc-card h3 { margin: 4px 0 0; font-size: 17px; }
.cc-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--cc-muted); }

/* Pricing */
.cc-pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.cc-plan {
  background: rgba(17, 29, 53, 0.82);
  border: 1px solid var(--cc-border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.cc-plan.featured {
  border-color: var(--cc-border-strong);
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.34), rgba(17, 29, 53, 0.92));
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.18);
}
.cc-plan-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: #7dd3fc;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.cc-plan h3 { margin: 0 0 8px; font-size: 20px; }
.cc-price { font-size: 32px; font-weight: 800; margin: 6px 0 14px; }
.cc-price small { font-size: 13px; font-weight: 500; color: var(--cc-muted); }
.cc-plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: #cbd5e1;
  flex: 1;
}
.cc-plan li::before {
  content: "✓ ";
  color: var(--cc-green);
  font-weight: 800;
}

/* Footer */
.cc-footer {
  border-top: 1px solid var(--cc-border);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--cc-muted);
}

/* Auth Page */
.cc-auth-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.cc-auth-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}
.cc-auth-card {
  width: 100%;
  max-width: 430px;
  font-family: var(--cc-font);
  color: var(--cc-text);
  background: rgba(17, 29, 53, 0.92);
  border: 1px solid var(--cc-border);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.cc-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(7, 13, 25, 0.65);
  border: 1px solid var(--cc-border);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 22px;
}
.cc-auth-tab {
  border: 0;
  background: transparent;
  color: var(--cc-muted);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 10px;
  border-radius: 7px;
  cursor: pointer;
}
.cc-auth-tab.active {
  background: var(--cc-surface-2);
  color: #fff;
}
.cc-field { margin-bottom: 14px; }
.cc-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}
.cc-field input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--cc-border);
  background: rgba(7, 13, 25, 0.72);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.cc-field input:focus { border-color: var(--cc-accent); }
.cc-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  font-size: 12px;
  color: var(--cc-muted);
}
.cc-divider::before, .cc-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--cc-border);
}
.cc-alert {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 14px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.38);
  color: #fecaca;
}
.cc-alert.info {
  background: rgba(14, 165, 233, 0.14);
  border-color: rgba(56, 189, 248, 0.35);
  color: #bae6fd;
}
.cc-guest-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: #7dd3fc;
}
.cc-guest-link:hover { text-decoration: underline; }

/* In-Studio SaaS Topbar Pill & Auth Modal */
.cc-studio-acct {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  padding-left: 8px;
  border-left: 1px solid rgba(148, 163, 184, 0.25);
}
.cc-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px 3px 4px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-size: 11.5px;
  font-weight: 700;
  max-width: 190px;
}
.cc-user-chip.guest {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}
.cc-user-avatar {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}
.cc-user-chip.guest .cc-user-avatar { background: #d97706; }
.cc-plan-badge {
  font-size: 9.5px;
  padding: 1px 5px;
  border-radius: 4px;
  background: #dbeafe;
  color: #1d4ed8;
  text-transform: uppercase;
}
.cc-plan-badge.cc-plan-pro { background: #ede9fe; color: #6d28d9; }
.cc-plan-badge.cc-plan-team { background: #dcfce7; color: #15803d; }
.cc-plan-badge.cc-plan-admin { background: #fef3c7; color: #b45309; }

.cc-quota-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e40af;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.cc-quota-pill:hover { background: #dbeafe; }
.cc-quota-pill.warn {
  border-color: #fcd34d;
  background: #fffbeb;
  color: #b45309;
}
.cc-quota-pill.exhausted {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #b91c1c;
}

.cc-studio-btn {
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  font-family: inherit;
}
.cc-studio-btn:hover { background: #f1f5f9; }
.cc-studio-btn.primary {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
.cc-studio-btn.primary:hover { background: #1d4ed8; }

.cc-auth-dialog {
  border: 0;
  padding: 0;
  border-radius: 16px;
  background: transparent;
  max-width: 420px;
  width: calc(100vw - 32px);
}
.cc-auth-dialog.cc-quota-dialog {
  max-width: 720px;
}
.cc-auth-dialog::backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}
.cc-auth-dialog .cc-auth-card {
  position: relative;
}
.cc-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--cc-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cc-muted);
  cursor: pointer;
  font-size: 16px;
}
.cc-dialog-close:hover { color: #fff; }

.cc-auth-title { margin: 0 0 6px; font-size: 21px; color: #fff; }
.cc-auth-sub { margin: 0 0 18px; font-size: 13.5px; color: var(--cc-muted); line-height: 1.5; }
.cc-dlg-title { margin: 0 0 6px; font-size: 18px; color: #fff; }
.cc-dlg-sub { margin: 0 0 16px; font-size: 13px; color: var(--cc-muted); line-height: 1.5; }
.cc-user-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cc-quota-card { padding: 24px; }
.cc-quota-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cc-plan-pill-lg {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}
.cc-quota-period { font-size: 12px; color: var(--cc-muted); }
.cc-quota-alert { margin-bottom: 14px; }

.cc-meter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.cc-meter-box {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--cc-border);
}
.cc-meter-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12.5px;
  color: var(--cc-muted);
  margin-bottom: 8px;
}
.cc-meter-top strong { color: #fff; font-size: 13.5px; }
.cc-meter-sub { font-size: 11.5px; color: var(--cc-muted); margin-top: 6px; line-height: 1.4; }
.cc-progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  appearance: none;
}
.cc-progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}
.cc-progress::-webkit-progress-value {
  background: #3b82f6;
  border-radius: 999px;
}
.cc-progress::-moz-progress-bar {
  background: #3b82f6;
  border-radius: 999px;
}

.cc-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.cc-tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cc-border);
}
.cc-tier-card.featured {
  border-color: rgba(59, 130, 246, 0.65);
  background: rgba(37, 99, 235, 0.12);
}
.cc-tier-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
}
.cc-tier-name { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.cc-tier-price { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.cc-tier-price span { font-size: 12px; font-weight: 500; color: var(--cc-muted); }
.cc-tier-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  flex: 1;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.65;
}
.cc-checkout-note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #dbeafe;
  font-size: 12.5px;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .cc-meter-grid, .cc-tier-grid { grid-template-columns: 1fr; }
}

/* ---------- Dedicated /billing Checkout Page ---------- */
.cc-billing-wrap { padding: 48px 0 72px; }
.cc-billing-head { margin-bottom: 24px; }
.cc-billing-head h1 { margin: 8px 0 8px; font-size: 32px; color: #fff; }
.cc-billing-sub { margin: 0; color: var(--cc-muted); font-size: 14.5px; line-height: 1.6; max-width: 680px; }
.cc-billing-user { font-size: 12.5px; color: var(--cc-muted); }
.cc-billing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.85fr);
  gap: 20px;
  align-items: start;
}
.cc-billing-panel, .cc-billing-summary, .cc-billing-success {
  padding: 22px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid var(--cc-border);
}
.cc-billing-success {
  text-align: center;
  padding: 36px 24px;
  margin-bottom: 20px;
}
.cc-billing-success h2 { margin: 0 0 10px; color: #fff; font-size: 24px; }
.cc-billing-success p { margin: 0 0 22px; color: #cbd5e1; font-size: 14.5px; }
.cc-billing-sec-title { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: #fff; }
.cc-billing-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.cc-plan-choice, .cc-pg-choice {
  text-align: left;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid var(--cc-border);
  background: rgba(255, 255, 255, 0.03);
  color: #e2e8f0;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cc-plan-choice:hover, .cc-pg-choice:hover {
  border-color: rgba(148, 163, 184, 0.45);
}
.cc-plan-choice.active, .cc-pg-choice.active {
  border-color: #3b82f6;
  background: rgba(37, 99, 235, 0.14);
}
.cc-plan-choice-top, .cc-pg-choice-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 15px;
  color: #fff;
}
.cc-plan-choice-price { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.cc-plan-choice-price span { font-size: 12.5px; font-weight: 500; color: var(--cc-muted); }
.cc-plan-choice ul {
  margin: 0;
  padding-left: 16px;
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.65;
}
.cc-tier-badge-inline {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
}
.cc-plan-choice-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  color: #cbd5e1;
}
.cc-pg-list { display: grid; gap: 10px; }
.cc-pg-choice small { display: block; color: var(--cc-muted); font-size: 12px; line-height: 1.45; }
.cc-pg-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
}
.cc-pg-badge.ready { background: rgba(34, 197, 94, 0.18); color: #86efac; }
.cc-pg-badge.off { background: rgba(245, 158, 11, 0.18); color: #fcd34d; }
.cc-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 13px;
  color: var(--cc-muted);
}
.cc-sum-row strong { color: #f8fafc; font-weight: 600; }
.cc-sum-divider { height: 1px; background: var(--cc-border); margin: 12px 0; }
.cc-sum-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  font-size: 13.5px;
  color: #e2e8f0;
}
.cc-sum-total strong { font-size: 22px; font-weight: 800; color: #fff; }
.cc-billing-footnote {
  margin: 12px 0 0;
  font-size: 11.5px;
  color: var(--cc-muted);
  line-height: 1.5;
}
@media (max-width: 840px) {
  .cc-billing-grid, .cc-billing-plans { grid-template-columns: 1fr; }
}

/* ---------- Legal Pages (/terms, /privacy, /refund) & Business Footer ---------- */
.cc-pricing-policy {
  margin: 22px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--cc-muted);
  line-height: 1.6;
}
.cc-pricing-policy a, .cc-billing-footnote a, .cc-legal-card a {
  color: #93c5fd;
  text-decoration: underline;
}
.cc-footer-biz {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  font-size: 12.5px;
  color: var(--cc-muted);
  line-height: 1.6;
}
.cc-footer-biz p { margin: 0; }
.cc-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 6px;
}
.cc-footer-links a {
  color: #e2e8f0;
  font-weight: 600;
  text-decoration: none;
}
.cc-footer-links a:hover { color: #93c5fd; text-decoration: underline; }
.cc-legal-wrap { padding: 48px 0 72px; }
.cc-legal-card {
  max-width: 840px;
  margin: 0 auto;
  padding: 36px 32px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid var(--cc-border);
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.75;
}
.cc-legal-card h1 { margin: 8px 0 6px; font-size: 28px; color: #fff; }
.cc-legal-meta { margin: 0 0 24px; font-size: 13px; color: var(--cc-muted); }
.cc-legal-card h2 {
  margin: 26px 0 10px;
  font-size: 17px;
  color: #f8fafc;
  padding-top: 14px;
  border-top: 1px solid var(--cc-border);
}
.cc-legal-card p { margin: 0 0 10px; }
.cc-legal-card ul { margin: 0 0 12px; padding-left: 20px; }
.cc-legal-card li { margin-bottom: 6px; }
.cc-legal-card strong { color: #f8fafc; }

@media (max-width: 900px) {
  .cc-nav-links { display: none; }
  .cc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-cards, .cc-pricing { grid-template-columns: 1fr; }
}
