:root {
  --ink: #171a1f;
  --muted: #626b76;
  --paper: #f8f7f3;
  --line: rgba(23, 26, 31, 0.12);
  --teal: #0e7c7b;
  --coral: #e9604f;
  --gold: #d7a23f;
  --blue: #355f8c;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.modal-open {
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
}

.nav-links {
  gap: clamp(14px, 3vw, 30px);
  font-size: 15px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(20px, 5vw, 72px) 34px;
  color: var(--white);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 13, 18, 0.9) 0%, rgba(8, 13, 18, 0.58) 44%, rgba(8, 13, 18, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 13, 18, 0.82) 0%, rgba(8, 13, 18, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
  padding-bottom: clamp(36px, 7vw, 92px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.hero-copy {
  max-width: 720px;
  margin: 28px 0 0;
  font-size: clamp(18px, 2.1vw, 25px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.service-card:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.service-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 13, 18, 0.32);
  backdrop-filter: blur(12px);
}

.service-strip a {
  min-height: 62px;
  display: grid;
  place-items: center;
  padding: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 800;
}

.intro,
.network,
.closing {
  padding: clamp(72px, 10vw, 124px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.closing h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-copy {
  max-width: 900px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.feature-grid article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: var(--white);
  background: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.feature-grid article:nth-child(2) .feature-icon {
  background: var(--teal);
}

.feature-grid article:nth-child(3) .feature-icon {
  background: var(--coral);
}

.feature-grid h3,
.service-card span {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.feature-grid p,
.service-card p,
.closing p {
  margin: 12px 0 0;
  color: var(--muted);
}

.network {
  background: #eef2ef;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.service-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(23, 26, 31, 0.1);
  border-radius: 8px;
  background: var(--white);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  border-color: rgba(14, 124, 123, 0.45);
  box-shadow: 0 18px 40px rgba(23, 26, 31, 0.08);
}

.service-card strong {
  color: var(--teal);
  font-size: 15px;
}

.closing {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.closing-content {
  display: grid;
  gap: 22px;
}

.closing p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.closing .button {
  justify-self: start;
}

.closing-visual {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: #24282d;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.closing-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 26, 31, 0), rgba(23, 26, 31, 0.24));
  pointer-events: none;
}

.closing-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
}

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

.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;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(216, 229, 231, 0.16);
  color: #9fb4b8;
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

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

.site-footer .footer-policy-links button {
  appearance: none;
  display: inline;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  color: #d8e5e7;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  cursor: pointer;
}

.footer-policy-links span {
  color: rgba(216, 229, 231, 0.58);
}

.site-footer .footer-policy-links a:hover,
.site-footer .footer-policy-links button:hover {
  color: var(--gold);
}

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

.policy-panel,
.contact-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],
.contact-panel[hidden] {
  display: none;
}

.policy-card,
.contact-card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 60px rgba(16, 20, 24, 0.16);
}

.contact-card {
  width: min(620px, 100%);
}

.policy-close,
.contact-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,
.contact-card h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 30px;
}

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

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

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

.policy-body p {
  margin: 0 0 10px;
}

.policy-template {
  display: none;
}

.contact-form {
  display: grid;
  gap: 14px;
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  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: 6px;
  padding: 13px 14px;
  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;
}

@media (max-width: 920px) {
  .feature-grid,
  .service-grid,
  .closing {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    padding: 16px 18px;
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 88vh;
    padding: 100px 18px 20px;
  }

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

  .button {
    width: 100%;
  }

  .service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .intro,
  .network,
  .closing {
    padding: 64px 18px;
  }

  .closing-visual,
  .closing-visual img {
    min-height: 260px;
  }

  .site-footer {
    flex-direction: column;
    padding: 22px 18px;
  }
}
