:root {
  --bg: #08080b;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-solid: #14141d;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f8;
  --text-muted: #9997a8;
  --text-faint: #6b6878;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --accent-1: #f9a8d4;   /* mew blush pink */
  --accent-2: #ec4899;   /* mew vivid pink */
  --accent-3: #fbcfe8;   /* mew pale pink */
  --accent-rgb: 236, 72, 153;
  --gold: #f2b84b;
  --success: #34d399;

  --gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));

  --danger-bg: rgba(239, 68, 68, 0.1);
  --danger-text: #fca5a5;
  --danger-border: rgba(239, 68, 68, 0.3);

  --radius: 16px;
  --shadow-card: 0 1px 1px rgba(0, 0, 0, 0.2), 0 24px 48px -12px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 0 1px rgba(var(--accent-rgb), 0.15), 0 20px 60px -15px rgba(var(--accent-rgb), 0.35);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f3f9;
    --surface: rgba(255, 255, 255, 0.7);
    --surface-solid: #ffffff;
    --border: rgba(20, 18, 30, 0.08);
    --border-strong: rgba(20, 18, 30, 0.14);
    --text: #17161f;
    --text-muted: #625f70;
    --text-faint: #8a8798;
    --shadow-card: 0 1px 1px rgba(20, 18, 30, 0.04), 0 24px 48px -16px rgba(20, 18, 30, 0.18);
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* ---------------- background: single soft glow ---------------- */
.bg-fx {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.glow {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 900px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 50% at 50% 30%, rgba(var(--accent-rgb), 0.22), transparent 70%);
  animation: glow-breathe 12s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}
@media (prefers-color-scheme: light) {
  .glow { background: radial-gradient(ellipse 50% 50% at 50% 30%, rgba(var(--accent-rgb), 0.14), transparent 70%); }
}
@media (prefers-reduced-motion: reduce) {
  .glow { animation: none; }
}

/* ---------------- layout ---------------- */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
}

.topbar-left {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  letter-spacing: 0.01em;
  font-size: 14.5px;
  color: var(--text-muted);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.back-link .arrow {
  transition: transform 0.15s ease;
  display: inline-block;
}
.back-link:hover .arrow { transform: translateX(-3px); }
.nav-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-faint);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--text-muted); }

.brand-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 38% 35%;
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.7);
  flex-shrink: 0;
}

.content {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 70px;
}
.content.top-align { align-items: flex-start; }

/* ---------------- reveal-on-load animation ---------------- */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: reveal-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
}

/* card with a slightly springy pop-in, used for the primary content card */
@keyframes card-in {
  0%   { opacity: 0; transform: translateY(28px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 38px 34px;
  animation: card-in 0.7s cubic-bezier(0.34, 1.4, 0.44, 1) both;
  animation-delay: 90ms;
}
.card.wide { max-width: 760px; }
@media (prefers-reduced-motion: reduce) {
  .card { animation: none; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(242, 184, 75, 0.12);
  border: 1px solid rgba(242, 184, 75, 0.25);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1 em, .display-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 { font-size: 17px; margin: 0 0 14px; }

p.subtitle {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0 0 28px;
  line-height: 1.55;
}

label {
  display: block;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  margin-bottom: 7px;
  color: var(--text-muted);
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(127, 127, 127, 0.06);
  color: var(--text);
  font-size: 15px;
  margin-bottom: 18px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 18px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  text-decoration: none;
  box-shadow: 0 8px 24px -8px rgba(var(--accent-rgb), 0.55);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 12px 32px -8px rgba(var(--accent-rgb), 0.65); }
.btn:active { transform: translateY(0) scale(0.99); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-secondary {
  background: rgba(127, 127, 127, 0.1);
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}
.btn-secondary:hover { background: rgba(127, 127, 127, 0.16); filter: none; box-shadow: none; }

.btn-discord {
  background: linear-gradient(135deg, #5865f2, #7289da);
  box-shadow: 0 8px 24px -8px rgba(88, 101, 242, 0.6);
}

.error {
  background: var(--danger-bg);
  color: var(--danger-text);
  border: 1px solid var(--danger-border);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13.5px;
  margin-bottom: 18px;
  animation: reveal-up 0.35s ease both;
}

.nda-text {
  white-space: pre-wrap;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text);
  background: rgba(127, 127, 127, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 24px;
}

.required-mark {
  color: var(--accent-2);
  font-weight: 700;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}
.checkbox-row input { margin-top: 3px; accent-color: var(--accent-1); }
.checkbox-row label {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text);
  margin: 0;
}

.sig-wrap {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 8px;
  overflow: hidden;
  touch-action: none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.02);
}
canvas#sigpad {
  display: block;
  width: 100%;
  height: 160px;
  cursor: crosshair;
}
.sig-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.sig-hint { font-size: 12px; color: var(--text-faint); }
.link-btn {
  background: none;
  border: none;
  color: var(--accent-2);
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
  padding: 4px 0;
}

/* ---------------- step progress indicator ---------------- */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 26px 20px 6px;
  flex-wrap: wrap;
}
.step {
  display: flex;
  align-items: center;
  gap: 9px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.step.is-active, .step.is-done { opacity: 1; }
.step-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  background: rgba(127, 127, 127, 0.12);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  transition: all 0.35s cubic-bezier(0.34, 1.4, 0.44, 1);
}
.step.is-active .step-dot {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.14);
}
.step.is-done .step-dot {
  background: var(--success);
  color: #05271c;
  border-color: transparent;
}
.step-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.step.is-active .step-label, .step.is-done .step-label { color: var(--text); }
.step-line {
  width: 40px;
  height: 2px;
  background: var(--border-strong);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.step-line::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.step-line.is-filled::after { transform: scaleX(1); }

/* ---------------- discord verify / not-a-member ---------------- */
.discord-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.server-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(127, 127, 127, 0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 24px;
}
.server-preview .avatar {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 15px;
}
.server-preview .meta { font-size: 13px; line-height: 1.4; }
.server-preview .meta strong { display: block; font-size: 14px; }
.server-preview .meta span { color: var(--text-muted); }

/* ---------------- video library ---------------- */
.library-shell {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}
.library-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 10px;
}
.library-header h1 { margin: 0; }
.signed-as { font-size: 13px; color: var(--text-muted); }
.signed-as a { color: var(--text-muted); }

.tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  padding-bottom: 0;
}
.tab-btn {
  position: relative;
  background: none;
  border: none;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 650;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  color: var(--text);
  border-bottom-color: transparent;
}
.tab-btn.active::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.video-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  opacity: 0;
}
.video-card.enter {
  animation: reveal-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .video-card { opacity: 1; }
  .video-card.enter { animation: none; }
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glow);
}
.video-thumb-wrap {
  position: relative;
}
.video-card video {
  width: 100%;
  display: block;
  background: #000;
  aspect-ratio: 16/9;
  cursor: pointer;
}
.video-thumb-wrap:fullscreen,
.video-thumb-wrap:-webkit-full-screen {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.video-thumb-wrap:fullscreen video,
.video-thumb-wrap:-webkit-full-screen video {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  object-fit: contain;
}
.custom-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}
.cc-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}
.cc-btn:hover {
  opacity: 1;
}
.cc-time {
  flex-shrink: 0;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.cc-seek {
  flex: 1;
  min-width: 0;
  accent-color: var(--accent-2, #ec4899);
  cursor: pointer;
}
.watermark-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-repeat: repeat;
  background-position: 0 0;
  animation: watermark-drift 100s linear infinite;
  mix-blend-mode: difference;
}
@keyframes watermark-drift {
  from { background-position: 0 0; }
  to { background-position: 240px 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .watermark-layer { animation: none; }
}
.video-card .caption {
  padding: 13px 15px;
  font-size: 14px;
  font-weight: 650;
}

.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 20px;
  font-size: 14.5px;
}

table.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
table.admin-table th, table.admin-table td {
  text-align: left;
  padding: 11px 13px;
  border-bottom: 1px solid var(--border);
}
table.admin-table th {
  color: var(--text-muted);
  font-weight: 650;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.status-approved {
  color: var(--success);
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.28);
}
.status-revoked {
  color: var(--danger-text);
  background: var(--danger-bg);
  border-color: var(--danger-border);
}

/* admin: video library tab */
.folder-form {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.folder-form input[type="text"] {
  flex: 1;
  min-width: 220px;
  margin-bottom: 0;
}
.folder-form .btn-pill { padding: 12px 22px; white-space: nowrap; }

.folder-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
}
.folder-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
}
.folder-toggle .chevron {
  display: inline-block;
  font-size: 11px;
  color: var(--text-faint);
  transition: transform 0.2s ease;
}
.folder-toggle.is-open .chevron { transform: rotate(90deg); }
.folder-toggle .folder-title {
  font-size: 16px;
  font-weight: 650;
  flex: 1;
}
.folder-toggle .folder-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
}
.folder-content {
  padding: 0 22px 20px;
}
.folder-empty {
  color: var(--text-faint);
  font-size: 13.5px;
  margin: 0 0 16px;
}
.folder-video-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}
.folder-video-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  gap: 12px;
}
.folder-video-list li:last-child { border-bottom: none; }
.video-select-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}
.video-select-label input[type="checkbox"] { accent-color: var(--accent-1); flex-shrink: 0; }
.video-select-label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.duration-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
  flex-shrink: 0;
}
.folder-bulk-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.upload-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.upload-form input[type="file"] {
  font-size: 12.5px;
  color: var(--text-muted);
  max-width: 240px;
}
.upload-form .btn-pill { padding: 10px 18px; font-size: 12px; white-space: nowrap; }

/* ================================================================
   Editorial long-form layout (NDA page)
   ================================================================ */
.content:has(.editorial) {
  display: block;
  padding: 0;
  align-items: initial;
  justify-content: initial;
}

.editorial {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 22px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  flex: 1;
  max-width: 64px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-strong));
}
.eyebrow::after { background: linear-gradient(to left, transparent, var(--border-strong)); }
.eyebrow.align-left { justify-content: flex-start; }
.eyebrow.align-left::before { display: none; }
.eyebrow.align-left::after { max-width: none; }

/* hero */
.hero {
  text-align: center;
  padding: 96px 0 64px;
}
.hero .display-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.hero .hero-sub {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 36px;
}
.hero .caption {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  background: #f5f5f8;
  color: #0a0a0d;
  border: none;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
  box-shadow: 0 8px 30px -10px rgba(255, 255, 255, 0.25);
}
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(255, 255, 255, 0.35); }
.btn-pill:active { transform: translateY(0) scale(0.98); }
.btn-pill:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-pill.btn-pill-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}
.btn-pill.btn-pill-outline:hover { background: rgba(255,255,255,0.05); box-shadow: none; }

/* mini roadmap */
.roadmap { margin-top: 56px; border-top: 1px solid var(--border); }
.roadmap-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.roadmap-item .num {
  font-family: var(--font-mono);
  color: var(--accent-2);
  font-size: 12px;
  letter-spacing: 0;
}
.roadmap-item.is-done { color: var(--text); }
.roadmap-item.is-done .num { color: var(--success); }

/* section heading (used for "Terms of Confidentiality" / "Sign & Acknowledge") */
.section-head { text-align: center; padding: 88px 0 40px; }
.section-head .display-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.section-head .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 8px;
}

/* clause list */
.clause {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.clause.is-visible { opacity: 1; transform: translateY(0); }
.clause .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-2);
  padding-top: 2px;
}
.clause .clause-title {
  font-size: 16.5px;
  font-weight: 650;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.clause .clause-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}
@media (prefers-reduced-motion: reduce) {
  .clause { opacity: 1; transform: none; transition: none; }
}

/* execution / sign section */
.execution { padding-top: 8px; }
.identity-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 32px;
}
.identity-chip .dot {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #fff; flex-shrink: 0;
}
.identity-chip .meta { font-size: 13px; line-height: 1.4; }
.identity-chip .meta strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
  margin-bottom: 2px;
}

.field-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.editorial .nda-text,
.editorial input[type="text"],
.editorial input[type="email"] {
  font-size: 15px;
}

.sign-actions-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.sign-actions-row .caption {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.editorial-footer {
  text-align: center;
  padding: 60px 0 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

@media (max-width: 560px) {
  .hero { padding: 64px 0 48px; }
  .section-head { padding: 64px 0 32px; }
  .clause { grid-template-columns: 28px 1fr; gap: 14px; padding: 28px 0; }
}

/* ---------------- home screen ---------------- */
.home-socials {
  text-align: center;
  margin: 4px 0 28px;
}
.home-socials-title {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--text);
  margin: 0 0 6px;
}
.home-socials-handle {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin: 0;
}
.home-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.home-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.home-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glow);
}
.home-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent-2);
  overflow: hidden;
}
.home-card-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 35%;
  display: block;
}
.home-card-primary .home-card-icon {
  background: var(--gradient);
  color: #fff;
}
.home-card-title {
  font-size: 16px;
  font-weight: 700;
}
.home-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.home-card-arrow {
  position: absolute;
  top: 22px;
  right: 20px;
  color: var(--text-faint);
  font-size: 16px;
  transition: transform 0.2s ease;
}
.home-card:hover .home-card-arrow {
  transform: translateX(3px);
  color: var(--text);
}
@media (max-width: 760px) {
  .home-grid { grid-template-columns: 1fr; }
}

/* ---------------- review form ---------------- */
.review-shell {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 48px 0 0;
}
.review-header h1 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  margin: 0;
}
.review-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.review-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  margin-bottom: 22px;
}
.review-form textarea:focus {
  outline: none;
  border-color: var(--border-strong);
}
.review-thanks { padding: 40px 0; }

.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
  margin: 10px 0 26px;
}
.star-rating input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.star-rating label {
  font-size: 30px;
  line-height: 1;
  color: var(--border-strong);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: var(--gold);
}
.star-rating label:hover {
  transform: scale(1.12);
}

/* ---------------- verify page stats ---------------- */
.verify-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 440px;
}
.verify-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.stat-value {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
}
.stat-star {
  color: var(--gold);
  font-size: 18px;
  margin-left: 3px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
.stat-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ---------------- public reviews list ---------------- */
.reviews-public {
  margin-top: 40px;
}
.public-review-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.public-review-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.public-review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.public-review-stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
}
.public-review-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.public-review-body {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
  white-space: pre-wrap;
}

/* ---------------- 1on1 calls calendar ---------------- */
.calls-calendar-section {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.calendar-card {
  flex: 1 1 340px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.calendar-month-label {
  font-family: var(--font-serif);
  font-size: 19px;
}
.cal-nav {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.cal-nav:hover {
  background: rgba(var(--accent-rgb), 0.1);
  border-color: var(--border-strong);
}
.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.calendar-weekdays span {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 4px 0 8px;
}
.calendar-grid {
  gap: 4px;
}
.cal-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-muted);
  padding: 0;
}
.cal-cell-blank {
  visibility: hidden;
}
.cal-cell-past {
  color: var(--text-faint);
  opacity: 0.45;
  cursor: default;
}
.cal-cell-today {
  border-color: var(--border-strong);
  font-weight: 700;
  color: var(--text);
}
.cal-cell:disabled {
  cursor: default;
}
.cal-cell-available {
  cursor: pointer;
  color: var(--text);
  background: rgba(var(--accent-rgb), 0.12);
  font-weight: 700;
  transition: background 0.15s ease, transform 0.15s ease;
}
.cal-cell-available:hover {
  background: rgba(var(--accent-rgb), 0.22);
  transform: translateY(-1px);
}
.cal-cell-selected,
.cal-cell-selected.cal-cell-today {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}
.calendar-legend {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.calendar-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.calendar-legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  display: inline-block;
}
.calendar-legend-available {
  background: var(--accent-2);
}
.calendar-legend-today {
  background: transparent;
  border: 1px solid var(--border-strong);
}
.calendar-day-panel {
  flex: 1 1 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.calendar-day-title {
  font-family: var(--font-serif);
  font-size: 17px;
  margin: 0 0 14px;
}
.calendar-day-empty {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 0;
}
.calendar-slot-list {
  margin: 0;
}
@media (max-width: 700px) {
  .calls-calendar-section { flex-direction: column; }
  .calendar-card, .calendar-day-panel { flex-basis: auto; width: 100%; }
}

/* ---------------- admin day-grid (48 half-hour toggles) ---------------- */
.day-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
}
.day-slot-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.01em;
  padding: 8px 6px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.day-slot-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
}
.day-slot-btn.day-slot-active {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #fff;
}
.day-slot-btn.day-slot-booked {
  background: var(--gold);
  border-color: var(--gold);
  color: #1c1922;
}
.day-slot-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* ---------------- admin storage usage ---------------- */
.storage-usage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.storage-usage-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.storage-usage-head span:last-child {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.storage-usage-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(127, 127, 127, 0.15);
  overflow: hidden;
}
.storage-usage-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--gradient);
  transition: width 0.4s ease;
}
.storage-usage-fill-warn {
  background: var(--gold);
}
.storage-usage-fill-danger {
  background: var(--danger-text);
}

/* ---------------- admin video rename ---------------- */
.video-row-view,
.video-row-edit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}
.video-row-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.rename-input {
  flex: 1;
  min-width: 0;
  padding: 6px 10px;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 13px;
}
.rename-input:focus {
  outline: none;
  border-color: var(--accent-2);
}
