:root {
  --ink: #101418;
  --muted: #5f6872;
  --line: #dbe2e8;
  --paper: #f6f8f7;
  --white: #ffffff;
  --teal: #0f766e;
  --cyan: #19c2d1;
  --lime: #b6d84c;
  --coral: #e46e55;
  --charcoal: #101820;
  --shadow: 0 22px 60px rgba(16, 20, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 40px rgba(16, 20, 24, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #091014;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  font-weight: 800;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
}

.header-lang,
.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
}

.header-lang {
  min-width: 54px;
}

.site-header.is-scrolled .header-action,
.site-header.is-open .header-action,
.site-header.is-scrolled .header-lang,
.site-header.is-open .header-lang {
  border-color: var(--line);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 11, 15, 0.88), rgba(7, 11, 15, 0.5) 45%, rgba(7, 11, 15, 0.12)),
    linear-gradient(0deg, rgba(7, 11, 15, 0.84), rgba(7, 11, 15, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding-top: 80px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  word-break: keep-all;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 132px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  width: min(640px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.62;
  word-break: keep-all;
}

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

.button {
  border-radius: 0;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.header-action:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: transparent;
  color: #071014;
  background: var(--lime);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(620px, 100%);
  margin: 46px 0 0;
  background: rgba(255, 255, 255, 0.22);
}

.hero-metrics div {
  min-height: 98px;
  padding: 18px;
  background: rgba(9, 16, 20, 0.58);
  backdrop-filter: blur(12px);
}

.hero-metrics dt {
  font-size: 30px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 460px);
  column-gap: clamp(28px, 5vw, 72px);
  row-gap: 0;
  align-items: start;
  width: 100%;
  max-width: none;
}

.intro::before,
.intro::after {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: start;
  justify-self: stretch;
  pointer-events: none;
}

.intro::before {
  content: "";
  z-index: 1;
  width: 100%;
  min-height: 340px;
  background: url("assets/intro-workflow.svg") center / cover no-repeat;
  box-shadow: 0 18px 38px rgba(16, 20, 24, 0.12);
}

.intro::after {
  content: "";
  width: 100%;
  height: 340px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.04));
  opacity: 1;
}

.intro > * {
  grid-column: 1;
}

.intro h2,
.section-head h2,
.proof h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: 0;
  word-break: keep-all;
}

.intro p,
.section-head p,
.contact-copy p {
  max-width: 820px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.76;
  word-break: keep-all;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 32px;
  align-items: end;
  margin-bottom: 42px;
}

.services {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 320px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--white);
  background: #102024;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::before,
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: transform 320ms ease, opacity 320ms ease, filter 320ms ease;
}

.service-card::before {
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.04);
}

.service-card::after {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(7, 11, 15, 0.12), rgba(7, 11, 15, 0.48) 42%, rgba(7, 11, 15, 0.88));
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #8ebbc3;
  box-shadow: 0 20px 40px rgba(16, 20, 24, 0.16);
}

.service-card:hover::before {
  opacity: 0.92;
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.08);
}

.service-card:nth-child(1)::before {
  background-image:
    linear-gradient(135deg, rgba(18, 37, 44, 0.18), rgba(18, 37, 44, 0)),
    radial-gradient(circle at 78% 24%, rgba(25, 194, 209, 0.42), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(135deg, #16414a, #0d252c 58%, #09161b);
  background-size:
    auto,
    auto,
    34px 34px,
    34px 34px,
    auto;
  background-position:
    center,
    center,
    center,
    center,
    center;
}

.service-card:nth-child(2)::before {
  background-image:
    radial-gradient(circle at 22% 26%, rgba(228, 110, 85, 0.34), transparent 24%),
    radial-gradient(circle at 74% 72%, rgba(182, 216, 76, 0.2), transparent 20%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 16px),
    linear-gradient(135deg, #4d2e2b, #18333c 54%, #0d1d22);
}

.service-card:nth-child(3)::before {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, transparent 0 18%, rgba(25, 194, 209, 0.22) 18% 22%, transparent 22% 34%, rgba(182, 216, 76, 0.24) 34% 38%, transparent 38% 52%, rgba(255, 255, 255, 0.14) 52% 54%, transparent 54% 100%),
    radial-gradient(circle at 76% 24%, rgba(25, 194, 209, 0.24), transparent 22%),
    linear-gradient(135deg, #102f37, #102024 58%, #081115);
}

.service-card:nth-child(4)::before {
  background-image:
    radial-gradient(circle at 26% 24%, rgba(182, 216, 76, 0.24), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 14px),
    linear-gradient(90deg, rgba(25, 194, 209, 0.18), rgba(15, 118, 110, 0.06) 48%, rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, #22362a, #12292d 58%, #081115);
}

.service-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #071014;
  background: rgba(182, 216, 76, 0.9);
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 72px 0 16px;
  font-size: 24px;
  color: var(--white);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.service-card p,
.process-list p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}

.process-band {
  color: var(--white);
  background: var(--charcoal);
}

.network {
  background: #edf3f1;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.network-grid a {
  display: block;
  min-height: 176px;
  padding: 24px;
  background: var(--white);
  transition: background 180ms ease, transform 180ms ease;
}

.network-grid a:hover {
  background: #f8fbfa;
  transform: translateY(-2px);
}

.network-grid strong {
  display: block;
  color: var(--teal);
  font-size: 22px;
  line-height: 1.15;
}

.network-grid em {
  display: block;
  margin-top: 10px;
  color: var(--coral);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.network-grid span {
  display: block;
  margin-top: 34px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
  word-break: keep-all;
}

.section-head.light p {
  color: rgba(255, 255, 255, 0.68);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.16);
}

.process-list li {
  min-height: 260px;
  padding: 30px;
  background: #17242b;
}

.process-list span {
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.process-list strong {
  display: block;
  margin: 54px 0 16px;
  font-size: 25px;
}

.process-list p {
  color: rgba(255, 255, 255, 0.68);
}

.proof {
  background: #edf3f1;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.proof-grid article {
  min-height: 178px;
  padding: 26px;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.proof-grid strong {
  display: block;
  color: var(--teal);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.proof-grid span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(32px, 7vw, 90px);
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
  background: var(--white);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--white);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfcfc;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
  border: 0;
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: grid;
  gap: 18px;
  padding: 38px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: #0b2026;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 16px;
  letter-spacing: 0.02em;
}

.company-info {
  max-width: 980px;
  margin: 8px 0 0;
  color: rgba(216, 229, 231, 0.82);
  font-size: 13px;
  line-height: 1.65;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(216, 229, 231, 0.16);
  color: #9fb4b8;
  font-size: 13px;
  font-weight: 800;
}

.footer-policy-links a {
  color: #d8e5e7;
}

.footer-policy-links button {
  padding: 0;
  color: #d8e5e7;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.footer-policy-links a:hover {
  color: var(--lime);
}

.footer-policy-links button:hover {
  color: var(--lime);
}

.footer-admin-link {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: #102024 !important;
  background: var(--lime);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.policy-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 25, 29, 0.58);
  backdrop-filter: blur(8px);
}

.policy-panel[hidden] {
  display: none;
}

.policy-card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.policy-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.policy-card h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 30px;
}

.policy-body {
  color: var(--muted);
  line-height: 1.75;
}

.policy-body ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.policy-template {
  display: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav,
  .header-lang,
  .header-action {
    display: none;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-header.is-open .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    background: var(--white);
    box-shadow: 0 20px 40px rgba(16, 20, 24, 0.08);
  }

  .site-header.is-open .main-nav a {
    padding: 18px 24px;
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: 92vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 11, 15, 0.9), rgba(7, 11, 15, 0.52)),
      linear-gradient(0deg, rgba(7, 11, 15, 0.88), rgba(7, 11, 15, 0) 48%);
  }

  .section-head,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro {
    display: block;
  }

  .intro::before,
  .intro::after {
    display: none;
  }

  .service-grid,
  .network-grid,
  .process-list,
  .proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .site-header.is-open .main-nav {
    top: 68px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .hero {
    min-height: 96vh;
    align-items: flex-end;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px;
    padding: 110px 0 40px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero .eyebrow {
    font-size: 11px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .hero-metrics div {
    min-height: 78px;
  }

  .service-card,
  .network-grid a,
  .process-list li {
    min-height: 238px;
    padding: 24px;
  }

  .service-card::before {
    inset: 0;
    opacity: 0.72;
  }

  .network-grid span {
    margin-top: 36px;
  }

  .service-card h3,
  .process-list strong {
    margin-top: 38px;
  }

  .site-footer {
    padding: 32px 18px;
  }
}
