/* Vetto — shared tokens & base */
:root {
  --ink-990: #030719;
  --ink-950: #060c2b;
  --ink-900: #0a1440;
  --ink-850: #0e1a4f;
  --ink-800: #13215e;
  --ink-700: #1c2d78;
  --line: rgba(150, 180, 255, 0.14);
  --line-strong: rgba(150, 180, 255, 0.26);
  --text: #eef3ff;
  --text-2: #b4c1e6;
  --text-3: #8695c2;
  --cyan: #1ec8ff;
  --cyan-deep: #0a8fd6;
  --cyan-ink: #00243a;
  --violet: #9b5cff;
  --violet-deep: #6c3df0;
  --amber: #ffb224;
  --amber-ink: #2b1a00;
  --amber-2: #ff8a1f;
  --ok: #3ee3a8;
  --danger: #ff5f6d;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --font-display: "Rubik", "Heebo", system-ui, sans-serif;
  --font-ui: "Heebo", "Rubik", system-ui, sans-serif;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(1, 6, 30, 0.45);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, 0.35), 0 24px 60px rgba(1, 6, 30, 0.6);
  color-scheme: dark;
}

[hidden] { display: none !important; }

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--ink-950);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  font-variant-numeric: tabular-nums;
}

img, svg, video, canvas { display: block; max-width: 100%; }

::selection { background: rgba(30, 200, 255, 0.35); color: #fff; }
input, textarea { caret-color: var(--cyan); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 10px;
}

a { color: var(--cyan); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }

* { scrollbar-width: thin; scrollbar-color: var(--ink-700) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--ink-700); border-radius: 8px; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; text-wrap: pretty; }

.btn {
  --bg: var(--cyan);
  --fg: var(--cyan-ink);
  appearance: none;
  border: 0;
  font: 600 1.05rem/1 var(--font-ui);
  color: var(--fg);
  background: var(--bg);
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 6px 16px rgba(1, 6, 30, 0.45);
  transition: transform 160ms var(--ease-out), filter 160ms var(--ease-out), opacity 160ms;
  user-select: none;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.btn--ghost {
  --bg: transparent;
  --fg: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--ghost:hover { --bg: rgba(150, 180, 255, 0.08); }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

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