:root {
  --ink: #10141c;
  --ink-2: #293241;
  --muted: #697487;
  --line: rgba(16, 20, 28, 0.11);
  --paper: #ffffff;
  --soft: #f4f7fb;
  --deep: #0b111d;
  --deep-2: #121b2b;
  --blue: #266df0;
  --cyan: #16bdd2;
  --green: #35c58e;
  --radius: 10px;
  --shadow: 0 24px 70px rgba(17, 27, 46, 0.13);
  --header: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
}

.nav {
  width: min(1220px, calc(100% - 32px));
  height: var(--header);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px;
  align-items: center;
}

.brand img { width: 174px; }

.nav-links {
  justify-self: center;
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 760;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: var(--ink);
}

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--ink);
  font-size: 14px;
  font-weight: 820;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
}

.menu-button i { font-size: 24px; }

.hero {
  min-height: 100vh;
  padding: 142px 0 90px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 86% 14%, rgba(38, 109, 240, 0.16), transparent 32%),
    radial-gradient(circle at 16% 18%, rgba(22, 189, 210, 0.12), transparent 28%),
    linear-gradient(180deg, #f9fbfe 0%, #ffffff 74%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 72px;
  align-items: center;
}

.hero-copy,
.capability-board,
.section-copy,
.section-heading { min-width: 0; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 880;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(42px, 4.6vw, 64px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.015em;
  word-break: keep-all;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.16;
  font-weight: 890;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.25;
}

.hero-copy p {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.45vw, 18px);
  overflow-wrap: break-word;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button.primary {
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 18px 42px rgba(17, 20, 28, 0.18);
}

.button.primary.light {
  color: var(--ink);
  background: #ffffff;
}

.button.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #ffffff;
}

.capability-board {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.board-header,
.board-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.board-header span,
.board-footer span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

.board-header strong {
  font-size: 14px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.board-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.board-card.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--deep), #243450);
}

.board-card i {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 12px;
  color: var(--blue);
  background: rgba(38, 109, 240, 0.1);
  font-size: 23px;
}

.board-card.active i {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.board-card strong,
.board-card span {
  display: block;
}

.board-card strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.board-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.board-card.active span {
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: 112px 0;
}

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

.section-heading.compact {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading p,
.section-copy p {
  color: var(--muted);
  font-size: 16px;
}

.business-section {
  background: #ffffff;
}

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

.business-grid article,
.operation-list div,
.project-card,
.process-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(17, 27, 46, 0.06);
}

.business-grid article {
  min-height: 280px;
  padding: 24px;
}

.business-grid i {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 14px;
  color: var(--blue);
  background: rgba(38, 109, 240, 0.1);
  font-size: 24px;
}

.business-grid p,
.project-card p,
.operation-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.operate-section {
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 20%, rgba(22, 189, 210, 0.16), transparent 34%),
    linear-gradient(135deg, var(--deep), var(--deep-2));
}

.operate-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 70px;
  align-items: center;
}

.operate-section .section-copy p {
  color: rgba(255, 255, 255, 0.7);
}

.operation-list {
  display: grid;
  gap: 14px;
}

.operation-list div {
  padding: 24px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.operation-list span,
.project-card span,
.process-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 880;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.operation-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.operation-list p {
  color: rgba(255, 255, 255, 0.66);
}

.projects-section {
  background: var(--soft);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 16px;
}

.project-card {
  min-height: 260px;
  padding: 26px;
}

.project-card.product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  background: linear-gradient(135deg, var(--deep), #263550);
}

.project-card.product p {
  color: rgba(255, 255, 255, 0.7);
}

.project-card.product a {
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--deep);
  background: #ffffff;
  font-size: 14px;
  font-weight: 850;
}

.process-section {
  background: #ffffff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-grid div {
  min-height: 156px;
  padding: 20px;
}

.process-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.35;
  word-break: keep-all;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.contact-section {
  padding-top: 70px;
  background: linear-gradient(180deg, #ffffff, #f5f8fc);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: 44px;
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at 90% 12%, rgba(22, 189, 210, 0.2), transparent 36%),
    linear-gradient(135deg, var(--deep), #1e2b3f);
  box-shadow: var(--shadow);
}

.contact-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

.site-footer {
  padding: 42px 0;
  background: #070b12;
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.site-footer img {
  width: 170px;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 16px;
  font-size: 13px;
  font-weight: 760;
}

@media (max-width: 1080px) {
  .nav {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
  }

  .nav-links.open {
    position: fixed;
    top: var(--header);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.open a {
    justify-content: center;
    min-height: 46px;
  }

  .hero-grid,
  .operate-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy p {
    max-width: 560px;
  }

  .business-grid,
  .project-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  :root { --header: 68px; }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand img {
    width: 142px;
  }

  .hero {
    min-height: auto;
    padding: 116px 0 72px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hero-copy p,
  .section-heading p,
  .section-copy p,
  .contact-panel p {
    font-size: 16px;
  }

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

  .board-grid,
  .business-grid,
  .project-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .board-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding: 86px 0;
  }

  .business-grid article,
  .project-card {
    min-height: auto;
  }

  .contact-panel {
    padding: 28px;
  }

  .footer-links {
    flex-direction: column;
    gap: 6px;
  }
}
