﻿:root {
  --bg-base: #f4f8ff;
  --bg-surface: #ffffff;
  --bg-surface2: #eef4ff;
  --bg-overlay: #ffffff;
  --border-subtle: rgba(27, 79, 146, 0.10);
  --border-default: rgba(27, 79, 146, 0.24);
  --border-strong: rgba(27, 79, 146, 0.38);
  --text-primary: #12263a;
  --text-secondary: #49617a;
  --text-muted: #6e8094;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-dim: rgba(37, 99, 235, 0.10);
  --accent-border: rgba(37, 99, 235, 0.32);
  --success: #1f9d55;
  --success-dim: rgba(31, 157, 85, 0.10);
  --warning: #b7791f;
  --warning-dim: rgba(183, 121, 31, 0.10);
  --danger: #dc2626;
  --danger-dim: rgba(220, 38, 38, 0.10);
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  margin: 0 !important;
  padding: 0 !important;
  padding-top: 64px !important;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2 { font-family: var(--font-display); }
h3, h4, h5, h6 { font-family: var(--font-body); }
h1 { font-size: 28px; font-weight: 700; }
h2 { font-size: 22px; font-weight: 600; }
h25 {font-size: 20px; font-weight: 600; }
h3 { font-size: 16px; font-weight: 500; }
.text-secondary { color: var(--text-secondary) !important; }

.ta-content { min-height: calc(100vh - 180px); }
.ta-container,
.site-container {
  --bs-gutter-x: 3rem;
  --bs-gutter-y: 0;
  width: 100%;
  margin: 0 auto;
  padding-left: calc(var(--bs-gutter-x) * .5);
  padding-right: calc(var(--bs-gutter-x) * .5);
}

@media (min-width: 1400px) {
  .ta-container,
  .site-container {
    max-width: 1600px;
  }
}

@media (min-width: 1920px) {
  .ta-container,
  .site-container {
    max-width: 1800px;
  }
}

@media (max-width: 991.98px) {
  .ta-container,
  .site-container {
    --bs-gutter-x: 1.5rem;
  }
}

@media (min-width: 2560px) {
  .ta-container,
  .site-container {
    max-width: 1800px;
  }
}

[data-theme="dark"] {
  --bg-base: #1a2333;
  --bg-surface: #223047;
  --bg-surface2: #2a3b57;
  --bg-overlay: #223047;
  --border-subtle: rgba(179, 199, 224, 0.24);
  --border-default: rgba(179, 199, 224, 0.36);
  --border-strong: rgba(179, 199, 224, 0.5);
  --text-primary: #f1f6ff;
  --text-secondary: #d2deef;
  --text-muted: #b2c2d8;
  --accent: #7ab8ff;
  --accent-hover: #5ea8ff;
  --accent-dim: rgba(122, 184, 255, 0.18);
  --accent-border: rgba(122, 184, 255, 0.42);
}
