:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5d6875;
  --line: #dde4ec;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --mint: #3fb88f;
  --blue: #3478c8;
  --amber: #f0ae35;
  --shadow: 0 18px 48px rgba(23, 32, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(221, 228, 236, 0.84);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.86rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 28px));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.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(9, 16, 24, 0.78), rgba(9, 16, 24, 0.34) 48%, rgba(9, 16, 24, 0.08)),
    linear-gradient(0deg, rgba(9, 16, 24, 0.48), rgba(9, 16, 24, 0.04) 45%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0 140px;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b8e9d9;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  font-size: clamp(1.04rem, 2.2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.88);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

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

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: #ffffff;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(23, 32, 42, 0.06);
}

.card-topline {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
}

.pending .status-dot {
  background: var(--amber);
}

.service-card h3 {
  margin: 22px 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.card-link:hover {
  color: var(--ink);
}

.info-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 40px;
  padding: 72px max(20px, calc((100vw - 1120px) / 2));
  background: #17202a;
  color: #ffffff;
}

.info-band p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.deploy-section {
  padding-bottom: 96px;
}

.deploy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

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

.deploy-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 800;
}

.deploy-list li {
  padding: 12px 14px;
  border-radius: 8px;
  background: #eef7f3;
  color: #1f6d58;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px 20px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    width: calc(100% - 36px);
    padding: 86px 0 96px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 16, 24, 0.82), rgba(9, 16, 24, 0.36)),
      linear-gradient(0deg, rgba(9, 16, 24, 0.54), rgba(9, 16, 24, 0.1) 48%);
  }

  .section {
    width: calc(100% - 36px);
    padding: 64px 0;
  }

  .section-heading,
  .info-band,
  .deploy-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .info-band {
    padding: 56px 18px;
  }

  .deploy-panel {
    padding: 22px;
  }
}
