/* VeyraTalk Design System foundations. */
@font-face {
  font-family: Inter;
  src: url("/static/inter-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --vt-font: Inter, "Segoe UI", system-ui, -apple-system, "PingFang SC", "Hiragino Sans", "Yu Gothic UI", "Malgun Gothic", "Microsoft YaHei", sans-serif;
  --vt-ink: #111827;
  --vt-muted: #4b5563;
  --vt-primary: #7c3aed;
  --vt-primary-strong: #6d28d9;
  --vt-primary-pressed: #5b21b6;
  --vt-primary-soft: #f5f3ff;
  --vt-primary-tint: #ede9fe;
  --vt-teal: #1db5be;
  --vt-teal-soft: #ecfeff;
  --vt-teal-strong: #0e7478;
  --vt-paper: #f9fafb;
  --vt-white: #fff;
  --vt-on-primary: #fff;
  --vt-line: #e5e7eb;
  --vt-night: #211b35;
  --vt-gradient-brand: linear-gradient(135deg, #2a1d49 0%, #4c1d95 55%, var(--vt-primary-strong) 100%);
  --vt-gradient-cta: linear-gradient(135deg, #7c3aed 0%, #6d28d9 55%, #5b21b6 100%);
  --vt-gradient-cta-hover: linear-gradient(135deg, #6d28d9 0%, #5b21b6 55%, #4c1d95 100%);
  --vt-gradient-soft: linear-gradient(145deg, var(--vt-primary-tint) 0%, #f8f5ff 55%, var(--vt-white) 100%);
  --vt-gradient-heading: radial-gradient(ellipse at 100% 0%, var(--vt-primary-tint), transparent 70%),
    linear-gradient(108deg, var(--vt-white) 20%, #f8f5ff 68%, var(--vt-teal-soft));
  --vt-info-ink: #115e63;
  --vt-success: #176342;
  --vt-success-soft: #e9f8ef;
  --vt-warning: #815012;
  --vt-warning-soft: #fff4d8;
  --vt-danger-soft: #fff1f3;
  --vt-disabled: #f1f3f6;
  --vt-skeleton: #e9e7ef;
  --vt-skeleton-light: #f4f2f8;
  --vt-border-subtle: #e5e2f0;
  --vt-border: #e2ddf0;
  --vt-border-hover: #c4b5fd;
  --ui-border: #cbd2dc;
  --ui-focus: var(--vt-primary);
  --ui-danger: #b42335;
  --ui-danger-hover: #8e1828;
  --vt-danger: #b42335;
  --vt-danger-ink: #9e2432;
  --ui-transition: 150ms ease-out;
  --vt-ease: cubic-bezier(.22, .68, .28, 1);
  --vt-overlay-motion: 170ms cubic-bezier(.2, .7, .3, 1);
  --vt-radius: 10px;
  --vt-radius-panel: 12px;
  --vt-radius-card: 16px;
  --vt-z-sticky: 10;
  --vt-z-notice: 14;
  --vt-z-header: 32;
  --vt-z-dropdown: 48;
  --vt-z-modal: 70;
  --vt-z-toast: 95;
  --vt-shadow-card: 0 1px 2px #17122e12;
  --vt-shadow: 0 12px 16px -4px #17122e24, 0 4px 6px -2px #17122e14;
  --vt-shadow-hover: 0 14px 28px -12px rgba(91, 33, 182, 0.22), 0 4px 10px -4px rgba(23, 18, 46, 0.06);
  --vt-shadow-cta: 0 4px 12px -4px rgba(109, 40, 217, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  --vt-shadow-cta-hover: 0 10px 22px -6px rgba(91, 33, 182, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  --vt-shadow-menu: 0 12px 30px -6px #17122e30, 0 2px 6px #17122e0d;
  --vt-shadow-dialog: 0 22px 60px #17122e33;
  --vt-shadow-focus: 0 0 0 3px rgba(124, 58, 237, 0.24);
  --vt-gutter: clamp(16px, 6.15vw, 24px);
  --vt-content: 1184px;
  --vt-header-height: 64px;
  --vt-title: clamp(27px, 5.5vw, 40px);
  --vt-section-title: clamp(22px, 4vw, 30px);
  --vt-body: 15px/1.53 var(--vt-font);
  --ui-chevron: url('/static/icons/chevron.svg?v=ux13');
}

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 100;
  transform: translateY(calc(-100% - 16px));
  padding: 12px 16px;
  color: var(--vt-white);
  background: var(--vt-night);
  border-radius: 8px;
}

.skip-link:focus { transform: none; }

/* Unified Dark Mode tokens across Public/Legal/Auth/SEO pages, User Workspace, and Admin Console. */
html[data-theme="dark"],
html[data-theme="dark"] .design-workspace,
.design-workspace[data-theme="dark"],
html[data-theme="dark"] .site-page {
  color-scheme: dark;
  --vt-ink: #f3f1fa;
  --vt-muted: #a8a0c2;
  --vt-primary: #8b5cf6;
  --vt-primary-strong: #c4b5fd;
  --vt-primary-pressed: #7c3aed;
  --vt-primary-soft: rgba(139, 92, 246, 0.15);
  --vt-primary-tint: rgba(139, 92, 246, 0.24);
  --vt-teal: #2dd4bf;
  --vt-teal-soft: rgba(45, 212, 191, 0.13);
  --vt-teal-strong: #5eead4;
  --vt-paper: #0e0b16;
  --vt-white: #171324;
  --vt-on-primary: #fff;
  --ui-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23a8a0c2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 7.75 4.5 4.5 4.5-4.5'/%3E%3C/svg%3E");
  --vt-line: #2b2440;
  --vt-border: #332a4c;
  --vt-border-subtle: #26203a;
  --vt-border-hover: #7c3aed;
  --vt-info-ink: #99f6e4;
  --vt-success: #4ade80;
  --vt-success-soft: rgba(34, 197, 94, 0.15);
  --vt-warning: #fbbf24;
  --vt-warning-soft: rgba(245, 158, 11, 0.16);
  --vt-danger: #fb7185;
  --vt-danger-soft: rgba(244, 63, 94, 0.16);
  --vt-danger-ink: #fda4af;
  --vt-disabled: #211c32;
  --vt-skeleton: #252038;
  --vt-skeleton-light: #1d182d;
  --ui-border: #3a3154;
  --ui-danger: #e11d48;
  --ui-danger-hover: #be123c;
  --vt-gradient-soft: linear-gradient(145deg, rgba(139, 92, 246, 0.22) 0%, rgba(30, 24, 48, 0.94) 58%, #171324 100%);
  --vt-gradient-heading: radial-gradient(ellipse at 100% 0%, rgba(139, 92, 246, 0.24), transparent 70%),
    linear-gradient(108deg, #171324 20%, #1d1730 68%, rgba(45, 212, 191, 0.12));
  --vt-shadow-card: 0 2px 8px rgba(0, 0, 0, 0.34);
  --vt-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.55);
  --vt-shadow-dialog: 0 26px 70px rgba(0, 0, 0, 0.68);
}
