/* ============================================================
   Brilliant 부트캠프 — style.css
   Palette: near-white #f7f8fb / navy ink #0f1f3d / electric blue #2563eb
   + lime & coral outcome pops. No external assets.
   ============================================================ */

:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #eef1f7;
  --ink: #0f1f3d;
  --ink-2: #33415c;
  --muted: #64748b;
  --line: #e2e7f0;
  --accent: #2563eb;
  --accent-ink: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.10);
  --lime: #22c55e;
  --lime-ink: #15803d;
  --coral: #fb5a4b;
  --coral-ink: #e11d48;
  --gold: #f59e0b;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(15, 31, 61, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 31, 61, 0.16);
  --ring: 0 0 0 3px rgba(37, 99, 235, 0.35);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;

  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

/* ---------- layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--alt { background: var(--surface); }
.section--ink {
  background: radial-gradient(120% 140% at 80% -10%, #16305e 0%, #0f1f3d 55%, #0a1730 100%);
  color: #eaf0fb;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 6px 13px;
  border-radius: 999px;
}
.section--ink .eyebrow { color: #bcd0ff; background: rgba(120, 160, 255, 0.14); }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(1.7rem, 4.4vw, 2.7rem);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-top: 16px;
}
.section-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}
.section--ink .section-sub { color: #b8c6e4; }

.text-accent { color: var(--accent); }
.text-lime { color: var(--lime-ink); }
.text-coral { color: var(--coral-ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.32);
}
.btn--primary:hover { background: var(--accent-ink); box-shadow: 0 16px 34px rgba(37, 99, 235, 0.42); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.section--ink .btn--ghost { color: #eaf0fb; border-color: rgba(255,255,255,0.28); }
.section--ink .btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--lg { padding: 16px 30px; font-size: 1.06rem; }
.btn--block { width: 100%; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 251, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-stuck {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(15, 31, 61, 0.07);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand__mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand__sub { font-size: 0.7rem; font-weight: 700; color: var(--muted); display: block; letter-spacing: 0.02em; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 26px);
}
.nav__links a {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink-2);
  padding: 8px 4px;
  position: relative;
  transition: color 0.15s ease;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--accent-ink); }
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav__links a.nav__cta {
  margin-left: 6px;
  color: #fff;
  padding-right: 12px;
  padding-left: 12px;
}

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 11px;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  position: relative;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }

@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--surface);
    padding: 14px var(--gutter) 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }
  .nav__links a {
    padding: 14px 6px;
    font-size: 1.06rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav__cta { margin: 14px 0 0; }
  body.nav-open .nav__links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  body.nav-open .nav__toggle span { background: transparent; }
  body.nav-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
  body.nav-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(37,99,235,0.10) 0%, rgba(37,99,235,0) 45%),
    radial-gradient(80% 100% at 0% 100%, rgba(34,197,94,0.10) 0%, rgba(34,197,94,0) 40%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--lime-ink);
  background: rgba(34,197,94,0.12);
  padding: 7px 14px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(2.1rem, 6.2vw, 4rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-top: 20px;
}
.hero h1 .hl {
  position: relative;
  color: var(--accent-ink);
  white-space: nowrap;
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: 0.06em;
  height: 0.28em;
  background: rgba(37,99,235,0.16);
  border-radius: 6px;
  z-index: -1;
}
.hero__lead {
  margin-top: 20px;
  font-size: clamp(1.02rem, 1.9vw, 1.22rem);
  color: var(--ink-2);
  max-width: 34ch;
}
.hero__cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__trust {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  align-items: center;
}
.hero__trust .t {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.hero__trust .t b {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 900;
  color: var(--ink);
}
.hero__trust .t span { font-size: 0.82rem; color: var(--muted); font-weight: 600; }

.hero__art {
  position: relative;
  background: linear-gradient(160deg, #16305e, #0f1f3d 70%);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 30px);
  box-shadow: var(--shadow-lg);
  color: #eaf0fb;
}
.hero__art-title {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.85rem; font-weight: 700; color: #b8c6e4; margin-bottom: 10px;
}
.hero__chart { width: 100%; height: auto; }

/* ============================================================
   MARQUEE (hiring partners)
   ============================================================ */
.marquee {
  overflow: hidden;
  position: relative;
  padding-block: 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: clamp(26px, 5vw, 60px);
  width: max-content;
  align-items: center;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track svg { height: 30px; width: auto; opacity: 0.72; flex: 0 0 auto; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
.marquee__label { text-align: center; color: var(--muted); font-weight: 700; font-size: 0.85rem; margin-bottom: 16px; letter-spacing: 0.02em; }

/* ============================================================
   STATS (count-up)
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.stat__num {
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
  word-break: keep-all;
}
.stat--lime .stat__num { color: var(--lime-ink); }
.stat--coral .stat__num { color: var(--coral-ink); }
.stat__num .suffix { font-size: 0.5em; margin-left: 2px; }
.stat__label { margin-top: 10px; font-weight: 700; color: var(--ink); }
.stat__note { color: var(--muted); font-size: 0.86rem; margin-top: 3px; }
.section--ink .stat { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); box-shadow: none; }
.section--ink .stat__label { color: #eaf0fb; }
.section--ink .stat__note { color: #9fb0d3; }
.section--ink .stat__num { color: #7fa8ff; }
.section--ink .stat--lime .stat__num { color: #67e8a0; }
.section--ink .stat--coral .stat__num { color: #ff8a7d; }

.stats-chart {
  margin-top: clamp(28px, 4vw, 44px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 34px);
}
.stats-chart svg { width: 100%; height: auto; }

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature__icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent-ink);
  margin-bottom: 16px;
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 0.98rem; }

/* ============================================================
   TIMELINE (weekly curriculum)
   ============================================================ */
.timeline {
  position: relative;
  margin-top: clamp(24px, 4vw, 40px);
  padding-left: 8px;
}
.timeline__rail {
  position: absolute;
  left: 27px; top: 12px; bottom: 12px;
  width: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.timeline__fill {
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 0%;
  background: linear-gradient(180deg, var(--accent), var(--lime));
  border-radius: 4px;
  transition: height 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding-block: 12px;
}
.tl-item__dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--line);
  display: grid; place-items: center;
  font-weight: 900;
  color: var(--accent-ink);
  font-size: 0.8rem;
  z-index: 1;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.tl-item.is-active .tl-item__dot { border-color: var(--accent); background: var(--accent); color: #fff; }
.tl-item__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.tl-item__wk { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.tl-item__card h3 { font-size: 1.14rem; font-weight: 800; margin-top: 4px; }
.tl-item__card p { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-2);
  background: var(--surface-2);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.plan {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
}
.plan--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: none;
}
.plan__flag {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 15px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan__name { font-size: 1.2rem; font-weight: 800; }
.plan__desc { color: var(--muted); font-size: 0.92rem; margin-top: 4px; min-height: 2.6em; }
.plan__price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan__price b { font-size: clamp(1.9rem, 5vw, 2.5rem); font-weight: 900; letter-spacing: -0.02em; }
.plan__price s { color: var(--muted); font-size: 1rem; }
.plan__price .per { color: var(--muted); font-size: 0.9rem; }
.plan__gov {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--lime-ink);
  background: rgba(34,197,94,0.12);
  padding: 5px 12px;
  border-radius: 999px;
  align-self: flex-start;
}
.plan__list { margin-top: 20px; display: grid; gap: 11px; flex: 1; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--ink-2); }
.plan__list svg { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 2px; color: var(--lime-ink); }
.plan .btn { margin-top: 24px; }

/* ============================================================
   TESTIMONIALS / QUOTES
   ============================================================ */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow);
}
.quote__stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; }
.quote p { margin-top: 12px; font-size: 1.02rem; color: var(--ink); line-height: 1.6; }
.quote__who { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 900; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--lime));
  flex: 0 0 auto;
}
.quote__who b { display: block; font-size: 0.95rem; }
.quote__who span { color: var(--muted); font-size: 0.82rem; }

/* ============================================================
   FAQ (accordion)
   ============================================================ */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 18px;
  font-weight: 800;
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  transition: transform 0.25s ease;
  color: var(--accent);
}
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details p {
  padding: 0 18px 20px;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { text-align: center; }
.cta-band .section-title { font-size: clamp(1.8rem, 5vw, 3rem); }
.cta-band__actions { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band__note { margin-top: 16px; color: #9fb0d3; font-size: 0.9rem; }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  background: radial-gradient(110% 140% at 90% -20%, rgba(37,99,235,0.10), transparent 55%);
  padding-block: clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 16px;
}
.page-hero p { margin-top: 16px; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.14rem); max-width: 58ch; }
.crumbs { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--accent-ink); }

/* ============================================================
   TECH STACK / CHIPS
   ============================================================ */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
}
.chip svg { width: 18px; height: 18px; color: var(--accent-ink); }

/* project cards */
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.project {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.project__cover { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #16305e, #0f1f3d); }
.project__cover svg { width: 100%; height: 100%; }
.project__body { padding: 20px 22px; }
.project__body h3 { font-size: 1.14rem; font-weight: 800; }
.project__body p { color: var(--muted); font-size: 0.94rem; margin-top: 6px; }

/* ============================================================
   OUTCOMES: company grid + salary chart + success stories
   ============================================================ */
.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.company {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  min-height: 78px;
}
.company svg { height: 26px; width: auto; opacity: 0.82; max-width: 100%; }

.salary-chart {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow);
}
.salary-chart svg { width: 100%; height: auto; }

.stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.story {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 28px);
  box-shadow: var(--shadow);
}
.story__head { display: flex; align-items: center; gap: 14px; }
.story__head b { display: block; font-size: 1rem; }
.story__head span { color: var(--muted); font-size: 0.84rem; }
.story__path {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700;
  background: var(--surface-2); border-radius: 999px; padding: 5px 12px;
  color: var(--ink-2); flex-wrap: wrap;
}
.story__path .arr { color: var(--accent); }
.story p { margin-top: 14px; color: var(--ink-2); font-size: 0.96rem; }

/* ============================================================
   FORM (apply)
   ============================================================ */
.apply-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 800; font-size: 0.92rem; margin-bottom: 7px; }
.field .req { color: var(--coral-ink); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field.two > div { margin: 0; }
.field .err {
  display: none;
  color: var(--coral-ink);
  font-size: 0.83rem;
  font-weight: 700;
  margin-top: 6px;
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--coral); }
.field.invalid .err { display: block; }

.form-note { color: var(--muted); font-size: 0.85rem; margin-top: 6px; }

.form-success {
  display: none;
  text-align: center;
  padding: clamp(30px, 5vw, 54px) 20px;
}
.form-success.show { display: block; }
.form-success .ok {
  width: 76px; height: 76px; margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(34,197,94,0.14);
  display: grid; place-items: center;
  color: var(--lime-ink);
}
.form-success h3 { font-size: 1.5rem; font-weight: 900; }
.form-success p { color: var(--muted); margin-top: 10px; }

.info-tiles { display: grid; gap: 14px; }
.info-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  display: flex; gap: 14px; align-items: flex-start;
}
.info-tile__icon {
  width: 42px; height: 42px; border-radius: 11px; flex: 0 0 auto;
  background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center;
}
.info-tile__icon svg { width: 22px; height: 22px; }
.info-tile b { display: block; font-size: 1rem; }
.info-tile span, .info-tile a { color: var(--muted); font-size: 0.92rem; }
.info-tile a:hover { color: var(--accent-ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0b1730;
  color: #b8c6e4;
  padding-block: clamp(44px, 6vw, 64px) 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(24px, 4vw, 44px);
}
.site-footer .brand { color: #fff; }
.site-footer .brand__sub { color: #8298c4; }
.footer-about { margin-top: 14px; font-size: 0.92rem; max-width: 34ch; color: #96a8ce; }
.footer-col h4 { color: #fff; font-size: 0.95rem; font-weight: 800; margin-bottom: 14px; }
.footer-col a { display: block; padding: 6px 0; font-size: 0.92rem; color: #96a8ce; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
  font-size: 0.84rem; color: #7f93bd;
}

/* ============================================================
   REVEAL animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .timeline__fill { transition: none !important; }
  .feature, .btn { transition: none !important; }
}

/* animated chart line draw */
.draw-path {
  stroke-dasharray: var(--len, 1000);
  stroke-dashoffset: var(--len, 1000);
  transition: stroke-dashoffset 1.6s ease;
}
.draw-path.is-drawn { stroke-dashoffset: 0; }
.grow-bar { transform: scaleY(0); transform-origin: bottom; transition: transform 1s cubic-bezier(0.22,1,0.36,1); }
.grow-bar.is-grown { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) {
  .draw-path { stroke-dashoffset: 0 !important; transition: none !important; }
  .grow-bar { transform: none !important; transition: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .apply-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero__lead { max-width: none; }
  .field.two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 44px 1fr; gap: 12px; }
  .timeline__rail { left: 21px; }
  .tl-item__dot { width: 34px; height: 34px; }
  .cta-band__actions .btn { width: 100%; }
  .hero__trust { gap: 16px 22px; }
}
