/* Visioon — shared base for Brief, proposal and CRM */
:root {
  --ground: #040A1C;
  --surface: #0E2A5C;
  --shelf: #0A1838;
  --deep: #060E24;
  --abyss: #03060F;
  --ink: #EAF1FF;
  --ink-2: #A9BADB;
  --ink-3: #7487AD;
  --signal: #5CC8FF;
  --signal-soft: rgba(92, 200, 255, 0.12);
  --line: rgba(169, 186, 219, 0.16);
  --line-strong: rgba(169, 186, 219, 0.32);
  --ok: #7BE0B0;
  --warn: #F2C46D;
  --bad: #FF8A8A;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-text: "Geist", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 17px/1.55 var(--font-text); -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--signal); color: var(--abyss); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 8px; }

.display { font-family: var(--font-display); font-stretch: 125%; font-weight: 580; letter-spacing: -0.03em; line-height: 0.98; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  cursor: pointer; text-decoration: none; font-weight: 500; transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), opacity .2s;
}
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: scale(0.98); }
.btn-solid { background: var(--ink); color: var(--abyss); border-color: var(--ink); }
.btn-solid:hover { background: #fff; }
.btn[disabled] { opacity: .35; cursor: not-allowed; }
.btn .ico { width: 16px; height: 16px; }

.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark img { width: 34px; height: auto; }
.wordmark b { font-family: var(--font-display); font-stretch: 125%; font-weight: 600; letter-spacing: 0.02em; font-size: 17px; }
.wordmark sup { font-family: var(--font-mono); font-size: 10px; color: var(--signal); margin-left: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
