/* billycrew.info — shared base styles (tokens + nav + footer + buttons) */

:root {
  --billy-yellow: #FFCD07;
  --billy-yellow-2: #FFC000;
  --billy-yellow-soft: #FFF2CC;
  --billy-yellow-mid: #F6D84C;

  --emerald-soft: #ECFDF5;
  --emerald: #10B981;
  --sky-soft: #E0F2FE;
  --sky: #0EA5E9;
  --indigo-soft: #EEF2FF;
  --indigo: #6366F1;

  --cool-gray: #E2E8F0;
  --warm-gray: #EEEEEE;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --text-muted: #666666;
  --text: #020816;
  --text-dim: #475569;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(2, 8, 22, 0.04);
  --shadow: 0 1px 3px rgba(2, 8, 22, 0.06), 0 8px 24px rgba(2, 8, 22, 0.04);
  --shadow-lg: 0 4px 12px rgba(2, 8, 22, 0.06), 0 24px 48px rgba(2, 8, 22, 0.08);

  --font-sans: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Inter', 'Pretendard', -apple-system, sans-serif;
  --font-mono: 'Inter', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-code: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

/* ── Top Nav ─────────────────────────────── */
.nav {
  height: 64px;
  border-bottom: 1px solid var(--cool-gray);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0 48px;
  gap: 40px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.nav__menu { display: flex; gap: 28px; flex: 1; }
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  padding: 22px 0;
}
.nav__link--active { font-weight: 600; color: var(--text); }
.nav__link--active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--text);
}
.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav__chevron {
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  width: 10px;
  height: 10px;
  transition: transform 0.15s ease;
}
.nav__item:hover .nav__chevron,
.nav__item:focus-within .nav__chevron { transform: rotate(180deg); }
.nav__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #fff;
  border: 1px solid var(--cool-gray);
  border-radius: 10px;
  padding: 6px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 4px 12px rgba(2, 8, 22, 0.06), 0 24px 48px rgba(2, 8, 22, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 20;
}
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__sub-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  padding: 9px 12px;
  border-radius: 6px;
  white-space: nowrap;
  display: block;
}
.nav__sub-link:hover { background: var(--bg-soft); color: var(--text); }
.nav__sub-link--active {
  background: var(--sky-soft);
  color: var(--sky);
  font-weight: 600;
}
.nav__sub-link--active:hover { background: var(--sky-soft); color: var(--sky); }
.nav__right { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--cool-gray);
  padding: 5px 10px;
  border-radius: 999px;
}
.lang-toggle__sep { opacity: 0.3; }
.lang-toggle__item--active { font-weight: 700; color: var(--text); }
.lang-toggle__item { font-weight: 400; }

/* ── Buttons ─────────────────────────────── */
.btn {
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 10px;
  font-size: 14px;
  padding: 14px 22px;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn--primary { background: var(--text); color: #fff; }
.btn--primary:hover { background: #1a2030; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--cool-gray); }
.btn--ghost:hover { background: var(--bg-soft); }
.btn--text { background: transparent; color: var(--text-dim); border: none; padding: 14px 6px; }
.btn--text:hover { color: var(--text); }
.btn--yellow {
  background: var(--billy-yellow);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 24px;
}
.btn--yellow:hover { background: var(--billy-yellow-2); }
.btn--dark-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 15px;
  padding: 16px 24px;
}
.btn--dark-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn--nav {
  background: var(--text);
  color: #fff;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* ── Eyebrow / Section head ─────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.6px;
}
.eyebrow__dot { width: 6px; height: 6px; border-radius: 3px; background: var(--billy-yellow); }

.section { padding: 100px 48px; }
.section--contained { max-width: 1280px; margin: 0 auto; }
.section--soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--cool-gray);
  border-bottom: 1px solid var(--cool-gray);
}
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.sec-head__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.sec-head__title {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.15;
  max-width: 640px;
}
.sec-head__link { font-size: 13px; color: var(--text); font-weight: 600; }
.sec-head__link--underline { border-bottom: 2px solid var(--billy-yellow); padding-bottom: 2px; }

.breadcrumb {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  display: flex;
  gap: 6px;
  align-items: center;
}
.breadcrumb__current { color: var(--text); }

/* ── Footer ─────────────────────────────── */
.footer {
  border-top: 1px solid var(--cool-gray);
  background: var(--bg-soft);
  padding: 64px 48px 40px;
}
.footer__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 18px;
}
.footer__blurb {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}
.footer__coltitle {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link { font-size: 13px; color: var(--text-muted); }
.footer__link:hover { color: var(--text); }
.footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--cool-gray);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Responsive (shared) ─────────────────────────────── */
@media (max-width: 960px) {
  .nav { padding: 0 24px; gap: 20px; }
  .nav__menu { display: none; }
  .section { padding: 72px 24px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sec-head__title { font-size: 30px; letter-spacing: -0.6px; }
  .footer { padding: 48px 24px 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}
