:root {
  --bg: #080907;
  --panel: #11130f;
  --panel-2: #171a14;
  --panel-3: #20241c;
  --line: rgba(223, 216, 190, 0.16);
  --line-strong: rgba(223, 216, 190, 0.28);
  --text: #f1f0ea;
  --muted: #b6b3a7;
  --soft: #817f76;
  --brass: #c6a44f;
  --olive: #7d8a55;
  --steel: #8da0a8;
  --blue: #5d95b8;
  --danger: #a75344;
  --radius: 8px;
  --mono: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  --sans: "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--brass);
  color: #090907;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.topline {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 6px 24px;
  border-bottom: 1px solid var(--line);
  background: #050604;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.topline-status {
  color: #9fbe77;
}

.topline-status::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: #9fbe77;
  box-shadow: 0 0 12px rgba(159, 190, 119, 0.7);
}

.topline a {
  margin-left: auto;
  color: var(--brass);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 7, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 48px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand span span,
.footer-brand span {
  color: var(--brass);
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--brass);
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--brass);
}

.nav-toggle {
  width: 42px;
  height: 38px;
  display: none;
  place-items: center;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
}

.nav-toggle span {
  width: 18px;
  height: 1px;
  display: block;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100vh - 100px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 9, 7, 0.98) 0%, rgba(8, 9, 7, 0.82) 36%, rgba(8, 9, 7, 0.3) 66%, rgba(8, 9, 7, 0.62) 100%),
    linear-gradient(0deg, rgba(8, 9, 7, 0.88) 0%, rgba(8, 9, 7, 0.08) 42%, rgba(8, 9, 7, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0 68px;
}

.eyebrow,
.section-kicker,
.service-label span,
.panel-code,
.capability-list span,
.process-row span,
.hub-features span,
.node span {
  font-family: var(--mono);
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  max-width: max-content;
  margin: 0 0 20px;
  padding: 7px 10px;
  border: 1px solid rgba(198, 164, 79, 0.42);
  color: var(--brass);
  background: rgba(8, 9, 7, 0.48);
  font-size: 0.74rem;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  line-height: 1.03;
  font-weight: 900;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: #d4d1c5;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  font-weight: 800;
  font-size: 0.86rem;
}

.button-primary {
  background: var(--brass);
  border-color: var(--brass);
  color: #0b0c09;
}

.button-secondary {
  color: var(--text);
  background: rgba(17, 19, 15, 0.68);
}

.button-blue {
  width: max-content;
  margin-top: 22px;
  border-color: rgba(93, 149, 184, 0.6);
  background: rgba(93, 149, 184, 0.18);
  color: #d4edf7;
}

.button:hover {
  transform: translateY(-1px);
}

.hero-facts {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 56px 0 0;
  border: 1px solid var(--line);
  background: rgba(8, 9, 7, 0.62);
}

.hero-facts div {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts dt {
  margin: 0 0 6px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  color: #fff;
  font-weight: 800;
}

.fit,
.custom {
  padding: 108px 0;
  background:
    linear-gradient(rgba(223, 216, 190, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(223, 216, 190, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--brass);
  font-size: 0.74rem;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 0.72fr);
  gap: 46px;
  align-items: end;
  margin-bottom: 46px;
}

h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  line-height: 1.14;
}

h3,
p {
  margin-top: 0;
}

.split-heading p,
.lead {
  margin-bottom: 0;
  color: var(--muted);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.fit-panel {
  min-height: 230px;
  padding: 28px;
  background: rgba(17, 19, 15, 0.9);
  border-right: 1px solid var(--line);
}

.fit-panel:last-child {
  border-right: 0;
}

.panel-code {
  color: var(--olive);
  font-size: 0.76rem;
  font-weight: 800;
}

.fit-panel h3 {
  margin: 18px 0 10px;
  color: #fff;
  font-size: 1.16rem;
}

.fit-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.service {
  padding: 112px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-gcs {
  background: linear-gradient(135deg, #10120e 0%, #19190f 54%, #10120e 100%);
}

.service-hub {
  background: linear-gradient(135deg, #091015 0%, #111819 58%, #080907 100%);
}

.service-label {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 24px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.service-label span {
  padding: 6px 10px;
  border: 1px solid rgba(198, 164, 79, 0.42);
  color: var(--brass);
  font-size: 0.72rem;
}

.service-label strong {
  color: #fff;
  font-size: 1rem;
}

.service-label-blue span {
  border-color: rgba(93, 149, 184, 0.5);
  color: #82c3df;
}

.service-layout,
.hub-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: start;
}

.lead {
  margin-top: 18px;
  font-size: 1.02rem;
}

.capability-list {
  border: 1px solid var(--line);
}

.capability-list div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 7, 0.3);
}

.capability-list div:last-child {
  border-bottom: 0;
}

.capability-list span {
  color: var(--brass);
  font-size: 0.8rem;
  font-weight: 800;
}

.capability-list p {
  margin-bottom: 0;
  color: #dfded7;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 54px;
  border: 1px solid var(--line);
  background: #0b0c09;
}

.spec-strip div {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.spec-strip div:last-child {
  border-right: 0;
}

.spec-strip span {
  display: block;
  margin-bottom: 6px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.spec-strip strong {
  color: #fff;
}

.process {
  border-top: 1px solid var(--line);
}

.process-row {
  display: grid;
  grid-template-columns: 70px minmax(160px, 0.42fr) 1fr;
  gap: 28px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.process-row span {
  color: var(--brass);
  font-weight: 800;
}

.process-row h3 {
  margin-bottom: 0;
  color: #fff;
}

.process-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.connection {
  display: grid;
  grid-template-columns: 1fr 72px 1fr 72px 1fr;
  align-items: center;
  gap: 12px;
}

.node {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border: 1px solid rgba(141, 160, 168, 0.28);
  border-radius: var(--radius);
  background: rgba(8, 9, 7, 0.55);
}

.node-hub {
  border-color: rgba(93, 149, 184, 0.7);
  background: rgba(93, 149, 184, 0.13);
}

.node span {
  color: var(--steel);
  font-size: 0.72rem;
}

.node strong {
  margin-top: 10px;
  color: #fff;
  font-size: 1.04rem;
}

.link-line {
  position: relative;
  color: #9cc6d8;
  font-family: var(--mono);
  font-size: 0.68rem;
  text-align: center;
  text-transform: uppercase;
}

.link-line::before,
.link-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(93, 149, 184, 0.62);
}

.link-line::before {
  top: -8px;
}

.link-line::after {
  bottom: -8px;
}

.hub-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 54px;
  border: 1px solid rgba(93, 149, 184, 0.28);
  background: rgba(93, 149, 184, 0.18);
}

.hub-features article {
  padding: 26px;
  background: #0a0f11;
}

.hub-features span {
  color: #82c3df;
  font-size: 0.72rem;
  font-weight: 800;
}

.hub-features h3 {
  margin: 14px 0 8px;
  color: #fff;
}

.hub-features p {
  margin-bottom: 0;
  color: var(--muted);
}

.footer {
  padding: 72px 0 28px;
  background: #050604;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 48px;
}

.footer-brand {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.footer p,
.footer a {
  color: var(--muted);
}

.footer h2 {
  margin-bottom: 14px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.footer-mail {
  display: block;
  margin-bottom: 10px;
  color: var(--brass) !important;
  font-weight: 800;
}

.footer-grid > div:last-child a {
  display: block;
  margin-bottom: 8px;
}

.muted {
  color: var(--soft) !important;
}

.footer-bottom {
  width: min(1180px, calc(100% - 48px));
  margin: 46px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.section-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button:hover,
  .section-reveal {
    transform: none;
  }

  .section-reveal {
    transition: none;
  }
}

@media (max-width: 960px) {
  .topline {
    display: none;
  }

  .nav-menu {
    position: fixed;
    inset: 68px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 9, 7, 0.98);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle {
    display: grid;
  }

  .hero {
    min-height: calc(100vh - 68px);
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 9, 7, 0.98) 0%, rgba(8, 9, 7, 0.82) 58%, rgba(8, 9, 7, 0.55) 100%),
      linear-gradient(0deg, rgba(8, 9, 7, 0.9) 0%, rgba(8, 9, 7, 0.28) 50%, rgba(8, 9, 7, 0.55) 100%);
  }

  .split-heading,
  .service-layout,
  .hub-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .fit-grid,
  .spec-strip,
  .hub-features,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .fit-panel,
  .spec-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fit-panel:last-child,
  .spec-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .container,
  .nav,
  .hero-content,
  .footer-bottom {
    width: min(100% - 32px, 1180px);
  }

  .hero-content {
    padding: 60px 0 44px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-facts div:last-child {
    border-bottom: 0;
  }

  .fit,
  .custom,
  .service {
    padding: 76px 0;
  }

  .process-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .connection {
    grid-template-columns: 1fr;
  }

  .link-line {
    padding: 12px 0;
  }

  .link-line::before,
  .link-line::after {
    left: 50%;
    right: auto;
    width: 1px;
    height: 18px;
  }

  .link-line::before {
    top: -10px;
  }

  .link-line::after {
    bottom: -10px;
  }
}

@media (max-width: 520px) {
  .nav {
    height: 62px;
  }

  .nav-menu {
    inset: 62px 0 auto 0;
  }

  .brand {
    font-size: 0.95rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    object-position: 64% center;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .service-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
