/* 더코트랩 허브. 다크 테마.
   TODO: --pitch 는 주니어 축구 액센트 자리표시.
   종목 저장소 brand.md의 피치 민트 #2EE6A8 을 임시로 씁니다.
   마스터 브랜드 가이드에서 색이 정해지면 이 값만 바꾸면 됩니다. */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/inter-700.woff2") format("woff2");
}
@font-face {
  font-family: "Gothic A1";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/gothic-a1-400.woff2") format("woff2");
}
@font-face {
  font-family: "Gothic A1";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/gothic-a1-500.woff2") format("woff2");
}
@font-face {
  font-family: "Gothic A1";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/gothic-a1-700.woff2") format("woff2");
}
@font-face {
  font-family: "Gothic A1";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/gothic-a1-800.woff2") format("woff2");
}

:root {
  --bg: #0b0d10;
  --panel: #14171c;
  --panel-2: #1b2028;
  --line: #232830;
  --chalk: #f5f7fa;
  --muted: #8b95a1;
  --amber: #ffb020;
  --amber-ink: #1a1203;
  --pitch: #2ee6a8;
  --nav: 72px;
  --wrap: 1240px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--chalk);
  font-family: Inter, "Gothic A1", "Apple SD Gothic Neo", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
}

body.nav-open { overflow: hidden; }

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

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

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

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--amber);
  color: var(--amber-ink);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

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

.note-gap { margin-top: 16px; }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav);
  display: flex;
  align-items: center;
  background: rgba(11, 13, 16, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.header-inner:not(:has(.nav-toggle)) {
  grid-template-columns: 1fr auto;
}
.header-inner:not(:has(.nav-toggle)) .brand { justify-self: start; }
.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  text-decoration: none;
  font-weight: 600;
}
.cta-row.center { justify-content: center; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-height: 44px;
  justify-self: center;
}
.brand-logo {
  height: 40px;
  width: auto;
  flex: none;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--chalk);
}

.nav-desktop { display: none; }

.header-cta {
  justify-self: end;
  text-decoration: none;
  background: var(--amber);
  color: var(--amber-ink);
  font-weight: 700;
  border-radius: 10px;
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.header-cta:hover { filter: brightness(1.06); }

.mobile-nav {
  position: fixed;
  inset: var(--nav) 0 0 0;
  z-index: 45;
  background: rgba(11, 13, 16, 0.98);
  overflow: auto;
  padding: 8px 20px 48px;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 700;
}
.mobile-nav .sub {
  padding-left: 12px;
  font-weight: 500;
  color: var(--muted);
  font-size: 16px;
}
.mobile-label {
  margin: 22px 0 0;
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.menu { position: relative; }
.menu > button {
  background: transparent;
  border: 0;
  color: var(--chalk);
  min-height: 44px;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
}
.menu > button::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 4px solid transparent;
  border-top-color: var(--muted);
  transform: translateY(2px);
}
.menu-panel {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 240px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.menu:hover .menu-panel,
.menu:focus-within .menu-panel,
.menu[data-open="true"] .menu-panel { display: grid; }
.menu-panel a {
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 12px;
  display: grid;
  gap: 2px;
}
.menu-panel a:hover,
.menu-panel a:focus-visible { background: var(--panel-2); }
.menu-panel small { color: var(--muted); font-weight: 500; }
.menu-panel strong { font-weight: 700; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 64px;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}
h1 {
  margin: 0;
  font-size: clamp(34px, 8.6vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 800;
}
h1 span { display: block; }
.lede {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 38em;
}
.cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--chalk); color: var(--bg); }
.btn-primary:hover { background: #fff; }
.btn-ghost { background: transparent; border-color: rgba(245, 247, 250, 0.4); color: var(--chalk); }
.btn-ghost:hover { border-color: var(--chalk); }
.btn .arrow { font-family: Inter, sans-serif; }

.hero-stage {
  position: relative;
  height: 280px;
}
.glow {
  position: absolute;
  right: -10%;
  top: 10%;
  width: 78%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 176, 32, 0.55), rgba(255, 176, 32, 0) 68%);
  filter: blur(6px);
  pointer-events: none;
}
.frame {
  position: absolute;
  background: rgba(20, 23, 28, 0.86);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.frame header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.frame-a { width: 62%; left: 0; top: 18px; transform: rotate(-6deg); }
.frame-b { width: 54%; right: 0; top: 78px; transform: rotate(5deg); }
.frame-c { width: 46%; left: 28%; bottom: 6px; }
.frame svg { width: 100%; height: auto; padding: 8px; }
.chip {
  position: absolute;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.chip { display: none; }
.chip-a { left: 0; bottom: 48px; color: var(--pitch); }
.chip-b { right: 0; top: 8px; color: var(--amber); }
.example-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.manifesto {
  padding: 72px 0 24px;
}
.manifesto p {
  margin: 0;
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.03em;
  max-width: 14em;
}
.manifesto p + p {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(18px, 3vw, 22px);
  max-width: 28em;
  font-weight: 400;
  letter-spacing: 0;
}

.caps {
  padding: 28px 0 10px;
}
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.cap {
  padding: 18px 14px 20px 0;
  border-bottom: 1px solid var(--line);
}
.cap b {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.cap span { color: var(--muted); font-size: 14px; }
.cap i {
  display: block;
  font-style: normal;
  color: var(--amber);
  font-family: Inter, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.band { padding: 72px 0; }
.kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.kicker span {
  color: var(--amber);
  font-family: Inter, sans-serif;
  letter-spacing: 0.14em;
  margin-right: 8px;
}
h2 {
  margin: 0;
  font-size: clamp(32px, 7vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.prose {
  color: var(--muted);
  max-width: 38em;
}
.prose p { margin: 14px 0 0; }

.split { display: grid; gap: 28px; }

.wire {
  position: relative;
  min-height: 320px;
}
.blob {
  position: absolute;
  inset: 10% 8%;
  background:
    radial-gradient(circle at 30% 40%, rgba(46, 230, 168, 0.45), transparent 46%),
    radial-gradient(circle at 70% 60%, rgba(255, 176, 32, 0.55), transparent 50%);
  filter: blur(8px);
}
.wire-card {
  position: absolute;
  border: 1px solid rgba(245, 247, 250, 0.28);
  border-radius: 12px;
  background: rgba(11, 13, 16, 0.25);
}
.wire-card.w1 { width: 68%; height: 46%; left: 6%; top: 16%; }
.wire-card.w2 { width: 54%; height: 38%; right: 4%; top: 34%; }
.wire-card.w3 { width: 40%; height: 22%; left: 18%; bottom: 10%; }
.wire-card::before,
.wire-card::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  height: 8px;
  border-radius: 99px;
  background: rgba(245, 247, 250, 0.2);
}
.wire-card::before { top: 16px; }
.wire-card::after { top: 32px; width: 42%; right: auto; }

.glow-band {
  position: relative;
  text-align: center;
  padding: 110px 0;
}
.glow-band .orb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, 92vw);
  height: min(560px, 92vw);
  transform: translate(-50%, -52%);
  background: radial-gradient(circle, rgba(255, 176, 32, 0.5), rgba(255, 176, 32, 0) 68%);
  pointer-events: none;
}
.glow-band .wrap { position: relative; }
.glow-band h2, .glow-band .prose { margin-inline: auto; }
.center { text-align: center; }

.mock {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.mock-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}
.mock-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.mock-row strong { display: block; font-size: 15px; }
.mock-row span { color: var(--muted); font-size: 14px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--pitch);
  font-size: 12px;
  font-weight: 700;
}

.trust-grid, .story-grid, .sport-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px 24px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.card p { margin: 0; color: var(--muted); }
.card .more {
  display: inline-flex;
  margin-top: 16px;
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
  align-items: center;
}
.sport-card { position: relative; overflow: hidden; }
.sport-card .accent {
  height: 4px;
  width: 64px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.sport-card.soccer .accent { background: var(--pitch); }
.sport-card.volley .accent { background: var(--amber); }
.sport-card .domain {
  color: var(--muted);
  font-size: 13px;
  font-family: Inter, sans-serif;
  overflow-wrap: anywhere;
}
.soon {
  border-style: dashed;
  color: var(--muted);
}
.soon h3 { color: var(--chalk); }

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.checklist li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 16px 18px;
}
.checklist strong { display: block; margin-bottom: 4px; }
.checklist span { color: var(--muted); }

.proof {
  padding: 28px 0 10px;
  text-align: center;
}
.proof p {
  margin: 0 auto;
  max-width: 16em;
  font-size: clamp(26px, 5vw, 40px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.proof small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
}

.contact {
  padding: 40px 0 88px;
}
form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
input, select, textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 48px;
  padding: 10px 12px;
}
textarea { min-height: 140px; resize: vertical; }
.form-status {
  margin: 0;
  color: var(--pitch);
  font-weight: 700;
}
.todo-mail {
  display: inline-flex;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px dashed var(--amber);
  color: var(--amber);
  text-decoration: none;
  font-family: Inter, sans-serif;
  font-size: 14px;
  word-break: break-all;
}
.fine { color: var(--muted); font-size: 14px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  background: #090b0e;
}
.footer-grid { display: grid; gap: 28px; }
.site-footer h2 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
  font-weight: 700;
}
.site-footer a {
  display: inline-flex;
  text-decoration: none;
  min-height: 32px;
  align-items: center;
}
.site-footer a:hover { color: var(--amber); }
.todo-list { list-style: none; margin: 8px 0 0; padding: 0; color: var(--amber); font-size: 14px; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.draft {
  margin-left: 6px;
  border: 1px solid var(--amber);
  color: var(--amber);
  border-radius: 999px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
}

.legal { padding: 28px 0 80px; }
.legal h1 { font-size: clamp(34px, 8vw, 52px); }
.banner {
  display: inline-flex;
  margin: 16px 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 176, 32, 0.12);
  color: var(--amber);
  font-weight: 700;
  font-size: 13px;
}
.legal h2 { font-size: 24px; margin-top: 32px; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--chalk); }

.empty {
  min-height: calc(100dvh - 220px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 0;
}

@media (min-width: 720px) {
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-row { flex-direction: row; }
  .btn { min-width: 200px; }
  .trust-grid, .story-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

@media (min-width: 960px) {
  .header-inner:not(:has(.nav-toggle)) {
    grid-template-columns: auto 1fr auto;
  }
  .story-grid { grid-template-columns: repeat(3, 1fr); }
  .chip { display: block; }
  .nav-toggle { display: none; }
  .brand { justify-self: start; }
  .brand-logo { height: 48px; }
  .nav-desktop { display: flex; align-items: center; gap: 2px; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .mobile-nav { display: none; }
  .hero { padding: 36px 0 80px; }
  h1 { font-size: clamp(56px, 4.6vw, 72px); }
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
    gap: 28px;
    align-items: center;
    min-height: calc(100dvh - var(--nav) - 48px);
  }
  .hero-stage { height: 520px; }
  .split { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
  .split.reverse { direction: rtl; }
  .split.reverse > * { direction: ltr; }
  .sport-grid { grid-template-columns: 1.2fr 1.2fr 0.8fr; }
  .band { padding: 110px 0; }
  .manifesto { padding: 120px 0 40px; }
  .manifesto p { font-size: clamp(40px, 4.6vw, 60px); }
  .glow-band { padding: 150px 0; }
  form { grid-template-columns: 1fr 1fr; }
  form .full, form button, form .form-status, form .fine { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .frame-a, .frame-b { transform: none; }
}
