:root {
  color: #f4f5f7;
  background: #08090b;
  font-family: Inter, Pretendard, "Noto Sans KR", system-ui, sans-serif;
  font-synthesis: none;
  --muted: #a7a9af;
  --line: rgba(232, 235, 241, 0.42);
  --line-soft: rgba(232, 235, 241, 0.2);
  --violet: #a890ff;
  --mint: #7be7c5;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(115deg, rgba(168, 144, 255, 0.025), transparent 32%),
    #08090b;
}

main {
  width: min(1440px, calc(100% - 80px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 38px 0 34px;
}

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

.brand {
  color: #f7f7f8;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 560;
  letter-spacing: 0.24em;
  text-decoration: none;
}

.masthead__line {
  position: relative;
  flex: 1;
  height: 1px;
  background: var(--line);
}

.masthead__line::after {
  position: absolute;
  right: 7%;
  width: 18px;
  height: 18px;
  content: "";
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: #08090b;
  transform: translateY(-9px) rotate(-45deg);
}

.introduction {
  margin: clamp(72px, 9.5vh, 112px) 4.5% clamp(64px, 8vh, 88px);
}

h1 {
  max-width: 1180px;
  margin: 0;
  font-family: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  font-size: clamp(2.9rem, 5.4vw, 5.6rem);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 1.14;
  text-wrap: balance;
  word-break: keep-all;
}

.introduction p {
  max-width: 900px;
  margin: 32px 0 0;
  color: #bbbcc1;
  font-size: clamp(1rem, 1.55vw, 1.32rem);
  line-height: 1.7;
  word-break: keep-all;
}

.services {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 360px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.services::before,
.services::after {
  position: absolute;
  top: -1px;
  width: 30px;
  height: 30px;
  content: "";
  border-top: 1px solid var(--violet);
}

.services::before {
  left: 0;
  border-left: 1px solid var(--violet);
}

.services::after {
  right: 0;
  border-right: 1px solid var(--violet);
}

.service {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 68px clamp(32px, 4vw, 68px) 50px;
  color: inherit;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.service + .service { border-left: 1px solid var(--line-soft); }

.service--link::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: linear-gradient(180deg, rgba(168, 144, 255, 0.06), transparent 70%);
  transition: opacity 180ms ease;
}

.service--link:hover::before,
.service--link:focus-visible::before { opacity: 1; }

.service--link:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: -4px;
}

.service__body {
  position: relative;
  z-index: 1;
  align-self: flex-start;
}

.service h2 {
  margin: 0;
  color: transparent;
  background: linear-gradient(105deg, var(--violet), #b6c1e2 55%, var(--mint));
  background-clip: text;
  font-size: clamp(3.6rem, 6vw, 6rem);
  font-weight: 420;
  letter-spacing: -0.05em;
  line-height: 1;
}

.service__status {
  margin: 28px 0 0;
  color: var(--violet);
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  font-weight: 650;
}

.service__description {
  margin: 22px 0 0;
  color: #c2c3c8;
  font-size: 1rem;
  line-height: 1.65;
  word-break: keep-all;
}

.service--pending { color: #777980; }

.service--pending h2 {
  color: #777980;
  background: none;
}

.service--pending .service__status,
.service--pending .service__description { color: #777980; }

.service__route {
  position: absolute;
  right: clamp(32px, 4vw, 68px);
  bottom: 50px;
  left: clamp(32px, 4vw, 68px);
  display: flex;
  align-items: center;
  color: var(--mint);
}

.service__route span {
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, var(--violet), var(--mint));
  transition: transform 180ms ease;
  transform-origin: left;
}

.service__route svg,
footer svg {
  width: 25px;
  height: 25px;
  margin-left: -1px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.6;
}

.service--link:hover .service__route span,
.service--link:focus-visible .service__route span { transform: scaleX(1.03); }

.service__route--pending span {
  height: 1px;
  background: repeating-linear-gradient(90deg, #666970 0 9px, transparent 9px 19px);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 18px 0;
  color: #8d8f96;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
}

footer a {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  color: #b7a5ff;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--mint);
}

footer a:hover,
footer a:focus-visible { color: #f4f5f7; }

footer a:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 5px;
}

footer svg { width: 20px; height: 20px; margin-left: 18px; }

@media (max-width: 900px) {
  main { width: min(100% - 36px, 700px); padding-top: 28px; }
  .introduction { margin-inline: 0; }
  .services { grid-template-columns: 1fr; }
  .service { min-height: 270px; padding: 42px 34px; }
  .service + .service { border-top: 1px solid var(--line-soft); border-left: 0; }
  .service__route { right: 34px; bottom: 40px; left: 34px; }
}

@media (max-width: 520px) {
  main { width: min(100% - 28px, 480px); }
  .masthead { gap: 18px; }
  .introduction { margin-block: 58px 52px; }
  h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .introduction p { margin-top: 24px; font-size: 0.98rem; }
  .service { min-height: 250px; padding: 34px 24px; }
  .service h2 { font-size: 3.8rem; }
  .service__status { margin-top: 22px; }
  .service__description { margin-top: 14px; font-size: 0.92rem; }
  .service__route { right: 24px; bottom: 32px; left: 24px; }
  footer { padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .service--link::before,
  .service__route span { transition: none; }
}
