/* 투자고(investgoai.com) — Wix my-site-2 를 정적 페이지로 옮긴 것. 본문은 글자가 들어간 통이미지 그대로. */
:root {
  --navy: #040e2e;
  --ink: #000;
  --muted: #707070;
  --wrap: 1280px;
  --gutter: 20px;
  --font: "Nanum Gothic", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); word-break: keep-all; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 헤더 ---------- */
.site-header { height: 89px; background: #fff; }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.site-header .logo img { width: 182px; }
.site-nav a { display: block; padding: 12px 18px; font-size: 16px; color: var(--ink); transition: color .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--muted); }
/* 홈은 헤더가 첫 이미지 위에 겹친다 */
.page-home .site-header { position: absolute; inset: 0 0 auto 0; z-index: 10; background: transparent; }

/* ---------- 홈 ---------- */
.hero { position: relative; background: #000; }
.hero img { width: 100%; }
/* 원본의 아래쪽 검정 그라데이션 */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; top: 56%; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0), #000 92%);
  pointer-events: none;
}
.hero-tail { height: clamp(80px, 13vw, 206px); background: #000; }

/* ---------- 회사소개 ---------- */
.about { position: relative; }
.about img { width: 100%; }
/* 이미지 속 "유튜브 '투자고'" 버튼 자리(원본 1920×1080 기준 x730~930, y448~558) */
.about .yt-hotspot { position: absolute; left: 38%; top: 41.4%; width: 10.5%; height: 10.4%; border-radius: 1.2vw; }
.about .yt-hotspot:focus-visible { outline: 3px solid #f7ff00; outline-offset: 2px; }

/* ---------- 푸터 ---------- */
.site-footer { padding: 24px 0 28px; }
.site-footer .wrap { display: flex; justify-content: center; align-items: center; gap: 22px; }
.site-footer .info { font-size: 14px; line-height: 1.4; }
.site-footer .yt img { width: 32px; }

@media (max-width: 640px) {
  .site-header { height: 64px; }
  .site-header .logo img { width: 120px; }
  .site-nav a { padding: 10px 0 10px 12px; font-size: 15px; }
  .site-footer .wrap { flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
  .site-footer .info { font-size: 12.5px; }
  .site-footer .info .sep, .site-footer .info br { display: none; }
  .site-footer .info span { display: block; }
}
