/* skillful.online hub — styles. No external fonts or trackers. */

:root {
  --bg: #111111;
  --bg-elev: #1a1917;
  --bg-elev-hover: #22201d;
  --text: #f4f1ea;
  --muted: #b8b2a7;
  --faint: #7a746b;
  --line: #2d2a26;
  --gold: #c9a227;
  --gold-dim: #8a7018;
  --soon-bg: #161513;
  --focus: #e8c547;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.28);
  --font: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --space: 1.25rem;
  --max: 40rem;
  --max-wide: 52rem;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:hover {
  color: var(--gold);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--text);
  color: var(--bg);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2 * var(--space), var(--max-wide));
  margin-inline: auto;
}

/* Header / hero */
.hero {
  text-align: center;
  padding: 2.25rem 0 1.75rem;
}

.logo {
  width: min(22rem, 86vw);
  margin: 0 auto 1.35rem;
}

.logo img {
  width: 100%;
  height: auto;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 5.5vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.lede {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  color: inherit;
}

.btn--primary {
  background: var(--text);
  color: var(--bg);
}

.btn--primary:hover {
  background: #fff;
  color: var(--bg);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 162, 39, 0.08);
}

/* Sections */
.section {
  padding: 0.5rem 0 1.75rem;
}

.section h2 {
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Cards */
.grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .grid--channels {
    grid-template-columns: 1fr 1fr;
  }
  .grid--sites {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .grid--shop {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 719px) {
  .grid--sites {
    grid-template-columns: 1fr;
  }
}

.card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  min-height: 4.5rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}

a.card:hover {
  background: var(--bg-elev-hover);
  border-color: #3d3933;
  color: inherit;
}

a.card:hover .card__title {
  color: var(--gold);
}

.card--soon {
  background: var(--soon-bg);
  box-shadow: none;
  opacity: 0.86;
  cursor: default;
}

.card__mark {
  flex: 0 0 3.5rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.card__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__mark svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: currentColor;
}

.card__mark:has(svg) {
  background: #0e0d0c;
  color: var(--text);
  border: 1px solid var(--line);
}


.card__body {
  flex: 1 1 auto;
  min-width: 0;
}

.card__title {
  display: block;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.25;
  margin: 0 0 0.15rem;
}

.card__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.card__chevron {
  flex: 0 0 auto;
  color: var(--faint);
  display: grid;
  place-items: center;
}

a.card:hover .card__chevron {
  color: var(--gold);
}

.badge {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Follow list */
.follow {
  display: grid;
  gap: 0.6rem;
}

@media (min-width: 560px) {
  .follow {
    grid-template-columns: 1fr 1fr;
  }
}

.follow a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.15rem;
  padding: 0.55rem 0.85rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.follow a:hover {
  background: var(--bg-elev-hover);
  border-color: #3d3933;
  color: inherit;
}

.follow a:hover .follow__name {
  color: var(--gold);
}

.follow__icon {
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--text);
}

.follow__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  fill: currentColor;
}

.follow__name {
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
}

.follow__handle {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 400;
}

/* Footer */
.footer {
  padding: 1.5rem 0 2.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.footer p {
  margin: 0 0 0.7rem;
  max-width: 40rem;
}

.footer a {
  color: var(--muted);
}

.footer a:hover {
  color: var(--gold);
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 1rem;
  color: var(--faint);
}

.visually-hidden {
  position: absolute;
  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) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .card,
  .follow a {
    transition: none;
  }
}
