/* Token Akademy — custom CSS layer.
   Tailwind CDN handles the bulk; this file covers what Tailwind can't
   express cleanly: typography stack, focus rings, the global B/W reset. */

:root {
  --tk-fg: #ffffff;
  --tk-bg: #000000;
  --tk-hairline: #ffffff;
  --tk-font-display: "Inter", "Archivo Black", "Space Grotesk", system-ui, sans-serif;
  --tk-font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html, body {
  background: var(--tk-bg);
  color: var(--tk-fg);
  font-family: var(--tk-font-body);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tk-font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
}

a { color: inherit; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.tk-btn-primary:focus-visible,
.tk-btn-secondary:hover:focus-visible {
  outline-color: #000;
}

img { max-width: 100%; display: block; }

/* Reusable utilities not covered well by Tailwind */
.tk-hairline-t { border-top: 1px solid var(--tk-hairline); }
.tk-hairline-b { border-bottom: 1px solid var(--tk-hairline); }
.tk-hairline   { border: 1px solid var(--tk-hairline); }

/* Primary button (white fill, black text) */
.tk-btn-primary {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  border: 1px solid #fff;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.tk-btn-primary:hover {
  background: #000;
  color: #fff;
  border-color: #fff;
}

/* Secondary button (outlined, inverts on hover) */
.tk-btn-secondary {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  border: 1px solid #fff;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.tk-btn-secondary:hover { background: #fff; color: #000; }

/* Form inputs */
.tk-input {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
  padding: 0.6rem 0.75rem;
  font: inherit;
  width: 100%;
}
.tk-input:focus {
  outline: none;
  border-width: 2px;
}

/* Wordmark */
.tk-wordmark {
  font-family: var(--tk-font-display);
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
}

/* Active state for portal sidebar items (and other invertible nav items) */
.tk-sidebar-active {
  background: #fff;
  color: #000;
}
