@font-face {
  font-family: "Pretendard";
  src: url("./assets/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #202522;
  --ink-soft: #59615d;
  --paper: #f5f4f0;
  --white: #fff;
  --wine: #7a2639;
  --wine-dark: #5c1c2b;
  --wine-soft: #f4e9ec;
  --line: #dcdcd6;
  --line-dark: #c8cac4;
  --content: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.7;
  letter-spacing: -0.015em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

::selection {
  color: #fff;
  background: rgba(122, 38, 57, 0.85);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 9px 13px;
  color: #fff;
  background: var(--wine-dark);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--content), calc(100% - 48px));
  min-height: 72px;
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand span {
  display: grid;
}

.brand strong {
  font-size: 0.96rem;
  line-height: 1.2;
}

.brand small {
  color: var(--ink-soft);
  font-size: 0.61rem;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 720;
}

.header-nav a {
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--wine);
}

.header-login {
  padding: 9px 15px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.header-login:hover {
  border-color: var(--wine);
  color: var(--wine);
  background: var(--white);
}

.hero,
.section,
.site-footer {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(48px, 7vw, 88px);
  align-items: center;
  min-height: 610px;
  padding: 86px 0;
}

.eyebrow,
.item-label {
  margin: 0 0 14px;
  color: var(--wine);
  font-size: 0.7rem;
  font-weight: 820;
  line-height: 1.4;
  letter-spacing: 0.14em;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.7rem, 4.9vw, 4.6rem);
  font-weight: 790;
  line-height: 1.14;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.9;
}

.research-credit {
  max-width: 620px;
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--wine);
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.7;
}

.research-credit strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  color: #fff;
  background: var(--wine);
  font-size: 0.86rem;
  font-weight: 760;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease;
}

.primary-button:hover {
  background: var(--wine-dark);
  transform: translateY(-1px);
}

.text-link {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  transition: transform 160ms ease;
}

.text-link:hover {
  color: var(--wine);
}

.text-link:hover span {
  transform: translateY(2px);
}

.core-summary {
  padding: 28px 30px 30px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--wine);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(43, 35, 37, 0.055);
}

.core-summary > p {
  margin: 0 0 6px;
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.core-summary ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.core-summary li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.core-summary li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.core-summary li > span {
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 820;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.core-summary strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.core-summary li p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.65;
}

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.2rem);
  font-weight: 780;
  line-height: 1.25;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-heading > p:last-child {
  margin: 17px 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hero-visual {
  margin: 0;
}

.visual-heading {
  margin-bottom: 18px;
  font-size: 0.82rem;
  font-weight: 780;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  list-style: none;
}

.flow-list li {
  display: flex;
  flex-direction: column;
  min-height: 208px;
  padding: 24px 24px 26px 0;
  border-right: 1px solid var(--line);
}

.flow-list li + li {
  padding-left: 24px;
}

.flow-list li:last-child {
  padding-right: 0;
  border-right: 0;
}

.flow-list span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--wine);
  font-size: 0.7rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.flow-list strong {
  display: block;
  margin-top: auto;
  padding-top: 40px;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.flow-list p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.65;
}

.boundary-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.boundary-controls li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 24px 14px 0;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.73rem;
  font-weight: 700;
}

.boundary-controls li::before {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wine);
  opacity: 0.6;
  content: "";
}

.boundary-controls li + li {
  padding-left: 24px;
}

.boundary-controls li:last-child {
  padding-right: 0;
  border-right: 0;
}

.essential-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.essential-grid article {
  display: flex;
  flex-direction: column;
  min-height: 288px;
  padding: 30px 30px 30px 0;
  border-right: 1px solid var(--line);
}

.essential-grid article + article {
  padding-left: 30px;
}

.essential-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}

.essential-grid h3,
.transparency h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.45;
  letter-spacing: -0.035em;
}

.essential-grid article > p:not(.item-label):not(.item-example),
.transparency > p:not(.item-label) {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 0.87rem;
  line-height: 1.8;
}

.item-example {
  margin: auto 0 0;
  padding-top: 32px;
  color: var(--wine);
  font-size: 0.75rem;
  font-weight: 780;
  letter-spacing: 0.01em;
}

.transparency {
  display: grid;
  grid-template-columns: 132px minmax(230px, 0.8fr) minmax(310px, 1.2fr);
  gap: 32px;
  align-items: start;
  margin-top: 28px;
  padding: 32px 34px;
  border-left: 3px solid var(--wine);
  background: var(--wine-soft);
}

.transparency h3 {
  font-size: 1.14rem;
  line-height: 1.55;
  letter-spacing: -0.03em;
}

.transparency .item-label {
  margin: 5px 0 0;
}

.transparency > p:not(.item-label) {
  margin-top: 0;
}

.transparency-link {
  grid-column: 2 / -1;
  justify-self: start;
  color: var(--wine-dark);
  font-size: 0.82rem;
  font-weight: 760;
  text-decoration: none;
}

.transparency-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.data-use-hero h1 {
  font-size: clamp(2.55rem, 4.6vw, 4.35rem);
}

.data-scope-grid article {
  min-height: 322px;
}

.data-use-limit {
  margin-top: 36px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer p:nth-child(2) {
  margin-left: auto;
}

.site-footer strong {
  color: var(--ink);
}

a:focus-visible {
  outline: 3px solid rgba(122, 38, 57, 0.24);
  outline-offset: 3px;
}

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

  .hero-copy {
    max-width: 760px;
  }

  .transparency {
    grid-template-columns: 110px minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 820px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: min(var(--content), calc(100% - 36px));
  }

  .brand small {
    display: none;
  }

  .header-nav {
    gap: 12px;
  }

  .hero {
    gap: 42px;
    padding: 62px 0 72px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 11vw, 4rem);
  }

  .section {
    padding: 72px 0;
  }

  .flow-list,
  .essential-grid,
  .transparency {
    grid-template-columns: 1fr;
  }

  .flow-list li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 0;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow-list li:last-child {
    border-bottom: 0;
  }

  .flow-list span {
    grid-row: 1 / span 2;
    margin: 1px 0 0;
  }

  .flow-list p {
    grid-column: 2;
  }

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

  .essential-grid article,
  .essential-grid article + article {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .essential-grid article:last-child {
    border-bottom: 0;
  }

  .item-example {
    margin-top: 20px;
  }

  .transparency {
    gap: 14px;
    padding: 26px 24px;
  }

  .transparency-link {
    grid-column: auto;
  }

}

@media (max-width: 520px) {
  .header-nav > a:not(.header-login) {
    display: none;
  }

  .hero h1 br {
    display: none;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .core-summary {
    padding: 24px 20px;
  }

  .core-summary li {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }

  .boundary-controls {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
