:root {
  color: #22313a;
  background: #f4efe6;
  font-family:
    Inter,
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    system-ui,
    sans-serif;
}

body {
  margin: 0;
}

a {
  color: #0f5f7a;
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
}

.topnav {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #d8d0c4;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 18px clamp(20px, 5vw, 72px);
}

.hero {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  min-height: 520px;
  padding: 56px clamp(20px, 5vw, 72px);
}

.hero.compact {
  grid-template-columns: minmax(0, 820px);
  min-height: 380px;
}

.eyebrow {
  color: #8b4e35;
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 4.8rem);
  letter-spacing: 0;
  line-height: 1.06;
  margin: 0;
  max-width: 980px;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  letter-spacing: 0;
  margin: 0 0 24px;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
}

.lead {
  color: #4f626c;
  font-size: 1.15rem;
  line-height: 1.75;
  margin: 22px 0 28px;
  max-width: 860px;
}

.primary {
  background: #1d5e67;
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  padding: 13px 18px;
}

.primary:hover {
  background: #164b52;
  text-decoration: none;
}

.rail-visual {
  aspect-ratio: 1.2 / 1;
  background:
    linear-gradient(90deg, rgba(35, 49, 58, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(35, 49, 58, 0.08) 1px, transparent 1px),
    #fffaf0;
  background-size: 44px 44px;
  border: 1px solid #d8d0c4;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(35, 49, 58, 0.12);
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.line {
  border-radius: 999px;
  display: block;
  height: 10px;
  position: absolute;
}

.line-a {
  background: #905a89;
  left: 8%;
  top: 45%;
  transform: rotate(-16deg);
  width: 86%;
}

.line-b {
  background: #2f7e9e;
  left: 4%;
  top: 62%;
  transform: rotate(8deg);
  width: 92%;
}

.line-c {
  background: #d65f45;
  left: 46%;
  top: 7%;
  transform: rotate(82deg);
  transform-origin: left center;
  width: 82%;
}

.station {
  background: #ffffff;
  border: 5px solid #22313a;
  border-radius: 999px;
  height: 18px;
  position: absolute;
  width: 18px;
}

.s1 { left: 18%; top: 40%; }
.s2 { left: 44%; top: 56%; }
.s3 { left: 62%; top: 29%; }
.s4 { left: 78%; top: 65%; }

.content {
  background: #ffffff;
  border-top: 1px solid #d8d0c4;
  padding: 52px clamp(20px, 5vw, 72px) 72px;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

article {
  border: 1px solid #d8d0c4;
  border-radius: 8px;
  padding: 20px;
}

article p,
td {
  color: #4f626c;
  line-height: 1.65;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid #d8d0c4;
  padding: 16px;
  text-align: left;
  vertical-align: top;
}

th {
  color: #22313a;
  font-weight: 800;
}

.keyword-list {
  columns: 2;
  font-size: 1.05rem;
  line-height: 2;
  margin: 0;
  padding-left: 22px;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .rail-visual {
    min-height: 240px;
  }

  .keyword-list {
    columns: 1;
  }
}
