/* 계그니 — precision industrial, presented with cinematic restraint. */
:root {
  color-scheme: dark;
  --bg-base: #000;
  --bg-deep: #000;
  --bg-surface: #111113;
  --bg-elevated: #1d1d1f;
  --bg-panel: #121214;
  --bg-panel-alt: #1c1c1e;
  --bg-tile: #161617;
  --accent: #2997ff;
  --accent-deep: #0071e3;
  --accent-soft: rgba(41, 151, 255, .12);
  --accent-line: rgba(41, 151, 255, .3);
  --accent-glow: 0 0 120px rgba(0, 113, 227, .22);
  --accent-alt: #bf5af2;
  --on-accent: #fff;
  --text: #f5f5f7;
  --text-strong: #fff;
  --text-muted: #a1a1a6;
  --text-faint: #6e6e73;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .22);
  --line-soft: rgba(255, 255, 255, .08);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --wrap: 1120px;
  --wrap-wide: 1320px;
  --wrap-narrow: 860px;
  --shadow-md: 0 24px 70px rgba(0, 0, 0, .28);
  --shadow-hero: 0 50px 140px rgba(0, 0, 0, .72);
}

.theme-light {
  color-scheme: dark;
  --bg-base: #0b0b0c;
  --bg-deep: #000;
  --bg-surface: #161617;
  --bg-elevated: #242426;
  --bg-panel: #1c1c1e;
  --bg-panel-alt: #242426;
  --bg-tile: #1c1c1e;
  --text: #f5f5f7;
  --text-strong: #fff;
  --text-muted: #a1a1a6;
  --text-faint: #86868b;
  --line: rgba(255, 255, 255, .13);
  --line-strong: rgba(255, 255, 255, .24);
  --line-soft: rgba(255, 255, 255, .09);
  --accent: #2997ff;
  --accent-deep: #0071e3;
  --accent-soft: rgba(41, 151, 255, .12);
  --accent-line: rgba(41, 151, 255, .3);
  background: #0b0b0c;
}

html { scroll-padding-top: 62px; }
body {
  background: #000;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: "ss05", "ss06";
  letter-spacing: -.012em;
}
h1, h2, h3, h4 { font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
a, button, summary, select, label { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(41, 151, 255, .72);
  outline-offset: 3px;
}
.wrap { width: min(100% - 48px, var(--wrap)); }
.wrap--wide { width: min(100% - 48px, var(--wrap-wide)); }
.section { padding-block: clamp(104px, 12vw, 180px); overflow: clip; }
.section--deep { background: #000; }
.shead { margin-bottom: clamp(56px, 7vw, 92px); }
.shead h2 {
  font-size: clamp(42px, 6.1vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
}
.shead__lead {
  max-width: 680px;
  margin-inline: auto;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}
.eyebrow { margin-bottom: 18px; font-size: 15px; letter-spacing: -.01em; }
.accent {
  color: inherit;
  background: linear-gradient(90deg, #2997ff, #7d7aff 48%, #f064bd);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.accent .w {
  background: linear-gradient(90deg, #2997ff, #7d7aff 52%, #f064bd);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tlink { color: var(--accent); font-size: 17px; }
.tlink::after { content: "›"; font-size: 1.18em; }
.btn {
  min-height: 44px;
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 500;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn--primary { background: #0071e3; color: #fff; box-shadow: none; }
.btn--primary:hover { background: #0077ed; box-shadow: 0 8px 28px rgba(0, 113, 227, .22); transform: none; }

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(0, 0, 0, .74);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav.is-stuck { background: rgba(0, 0, 0, .82); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.nav__inner { height: 52px; gap: 28px; }
.brand { color: #f5f5f7; gap: 8px; }
.brand__mark svg { width: 20px; height: 20px; }
.brand__mark svg * { stroke: currentColor !important; }
.brand__mark svg circle { opacity: .38 !important; }
.brand__text strong { font-size: 18px; letter-spacing: -.03em; }
.nav__links { gap: clamp(14px, 1.7vw, 28px); }
.nav__links a { color: #c7c7cc; font-size: 12px; }
.nav__links a:hover, .nav__links .nav__link--featured { color: #fff; }
.nav__links .nav__link--featured::after,
.nav__mobile .nav__link--featured::after { background: #2997ff; color: #fff; }
.nav__actions .btn--primary { background: #0071e3; color: #fff; }
.nav__actions .btn--primary:hover { background: #0077ed; }
.btn--sm { min-height: 30px; padding: 5px 13px; font-size: 12px; }

.hero {
  min-height: auto;
  padding: clamp(132px, 15vw, 210px) 0 clamp(100px, 12vw, 170px);
  background: #000;
}
.hero__glow {
  inset: -25% 0 auto;
  height: 900px;
  background: radial-gradient(ellipse at 50% 20%, rgba(0, 102, 204, .17), transparent 60%);
  filter: none;
}
.hero__scene { opacity: .34; filter: saturate(.55); }
.hero__vignette { background: linear-gradient(180deg, rgba(0,0,0,.2), transparent 24%, #000 86%); }
.hero__inner { max-width: 1120px; }
.hero__product { color: #a1a1a6; font-size: clamp(17px, 1.8vw, 21px); }
.hero__title {
  margin-top: 18px;
  font-size: clamp(54px, 8.7vw, 116px);
  line-height: .91;
  letter-spacing: -.072em;
}
.hero__lead { margin: 34px auto 0; color: #a1a1a6; font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; }
.hero__ctas { margin-top: 34px; gap: 26px; }
.hero__inner .chips { margin-top: 48px; gap: 9px; }
.chips li { padding: 7px 13px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.06); border-radius: 999px; }
.hero__note { margin-top: 22px; color: #86868b; }
.hero__shot { margin-top: clamp(70px, 9vw, 130px); }
.hero__shot::before { display: none; }
.shot--hero {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: clamp(18px, 2.2vw, 30px);
  background: #101012;
  box-shadow: 0 0 0 1px rgba(255,255,255,.03), 0 50px 180px rgba(0,72,145,.22);
}
.shot--hero img { border-radius: inherit; }
.shotpoints { max-width: 1080px; margin: 54px auto 0; gap: 42px; }
.shotpoints li { border-color: rgba(255,255,255,.16); }
.shotpoints strong { font-size: 19px; }
.shotpoints span { color: #a1a1a6; line-height: 1.6; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .nav__mobile { background: rgba(0,0,0,.96); border-color: rgba(255,255,255,.12); }
  .hero__title { font-size: clamp(50px, 12vw, 82px); }
}
@media (max-width: 640px) {
  .wrap, .wrap--wide, .wrap--narrow { width: min(100% - 32px, var(--wrap)); }
  .section { padding-block: 92px; }
  .shead { text-align: left; margin-bottom: 48px; }
  .shead h2 { font-size: 42px; }
  .shead__lead { margin-inline: 0; font-size: 18px; }
  .hero { padding-top: 116px; }
  .hero__inner { text-align: center; }
  .hero__title { font-size: clamp(45px, 14.5vw, 64px); line-height: .94; }
  .hero__lead { font-size: 20px; }
  .hero__inner .chips { display: none; }
  .shotpoints { grid-template-columns: 1fr; gap: 22px; margin-top: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
