/* ==========================================================================
   간다GO — Base layer (Pretendard, reset, typography, layout primitives)
   ========================================================================== */

/* Pretendard (self-hostable; loaded via CDN-style @font-face fallback to system) */
@font-face {
  font-family: "Pretendard";
  font-weight: 45 920;
  font-display: swap;
  src: local("Pretendard Variable"), local("Pretendard");
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-base);
  background:
    radial-gradient(1100px 560px at 50% -12%, rgba(242,106,27,.07), transparent 62%),
    radial-gradient(820px 460px at 92% 6%, rgba(58,86,140,.08), transparent 58%),
    var(--bg-base);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--brand-orange-soft); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--brand-orange); }

h1, h2, h3, h4 { color: var(--text-strong); line-height: var(--lh-tight); margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p  { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.2em; }
li { margin: .3em 0; }

hr { border: 0; border-top: 1px solid var(--surface-line); margin: 2rem 0; }

:focus-visible { outline: none; box-shadow: var(--ring-accent); border-radius: var(--r-sm); }

/* ---- Layout ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.narrow    { max-width: var(--maxw-narrow); }
.section   { padding-block: var(--section-y); }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-amber);
  font-weight: 700;
  margin-bottom: .8rem;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem,5vw,3.2rem); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p  { color: var(--text-muted); }

.lede { font-size: 1.08rem; color: var(--text-base); }

/* Utility */
.text-center { text-align: center; }
.muted { color: var(--text-muted); }
.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: var(--gap); }
.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;
}

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--brand-orange); color: var(--text-on-accent);
  padding: .6rem 1rem; border-radius: 0 0 var(--r-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
