@font-face {
  font-family: Pretendard;
  src: url("/fonts/pretendard-1.3.9/PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3f0e8;
  --ink: #193d32;
  --orange: #ed6d3a;
  --rule: rgba(25, 61, 50, 0.16);
  --max: 68rem;
  --measure: 38rem;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans CJK KR", "Malgun Gothic", sans-serif;
  font-size: 1.0625rem;
  font-weight: 430;
  line-height: 1.75;
}

:lang(ko) {
  word-break: keep-all;
}

html:lang(en) body {
  line-height: 1.65;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 2;
  transform: translateY(-150%);
  padding: 0.35rem 0.65rem;
  background: var(--paper);
  color: var(--ink);
}

.skip:focus {
  transform: none;
}

a:focus-visible,
#main:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--rule);
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.35rem;
  padding-block: 0.95rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  order: 1;
  margin-right: auto;
  color: inherit;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  order: 2;
  gap: 0.65rem 1.15rem;
}

.header-tools {
  display: flex;
  align-items: center;
  order: 3;
  gap: 0.9rem;
}

.nav a,
.header-tools a,
.lang {
  color: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  text-decoration: none;
}

.nav a:hover,
.quiet:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.lang[aria-current="page"] {
  font-weight: 600;
}

.mark {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 0.08em;
}

/* Source viewBoxes include empty margin. Crop to the drawn mark without editing paths. */
.brand-symbol,
.brand-word {
  position: relative;
  display: block;
  overflow: hidden;
  flex: none;
}

.brand-symbol {
  width: 1.5rem;
  aspect-ratio: 172 / 216;
}

.brand-symbol img {
  position: absolute;
  width: 148.84%;
  height: 118.52%;
  max-width: none;
  left: -20.93%;
  top: -7.41%;
}

.brand-word {
  height: 0.92rem;
  aspect-ratio: 98.7 / 13.6;
}

.brand-word img {
  position: absolute;
  width: 121.6%;
  height: 176.5%;
  max-width: none;
  left: -1.5%;
  top: -54.4%;
}

.hero {
  display: grid;
  gap: 1.6rem 3.25rem;
  padding-block: clamp(3.25rem, 8vw, 6rem) clamp(2.75rem, 6vw, 4.75rem);
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0;
  max-width: 11em;
  font-size: clamp(2rem, 1.05rem + 2.5vw, 3.65rem);
  line-height: 1.22;
}

h2 {
  margin: 0 0 1rem;
  max-width: 16em;
  font-size: clamp(1.6rem, 1.15rem + 1.3vw, 2.15rem);
  line-height: 1.35;
}

h3 {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.lede,
.prose,
.principles p,
.row p {
  max-width: var(--measure);
}

.intro,
.support,
.prose,
.row p,
.principles p,
.legal {
  margin: 0;
}

.support {
  margin-top: 0.9rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.85rem 1.4rem;
  margin: 1.6rem 0 0;
}

.quiet {
  color: inherit;
}

.section {
  border-top: 1px solid var(--rule);
  padding-block: clamp(2.75rem, 6vw, 4.75rem);
}

.rows,
.principles {
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
}

.row,
.principles li {
  border-top: 1px solid var(--rule);
  padding-block: 1.25rem;
}

.row:last-child,
.principles li:last-child {
  border-bottom: 1px solid var(--rule);
}

.row {
  display: grid;
  grid-template-columns: minmax(7.5rem, 12rem) minmax(0, var(--measure));
  gap: 0.45rem 2rem;
}

.principles li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 40rem);
  gap: 0.35rem 1rem;
}

.num {
  padding-top: 0.15rem;
  font-variant-numeric: tabular-nums;
  font-weight: 560;
}

.principles h3 {
  margin-bottom: 0.3rem;
}

.contact h2 {
  max-width: 14em;
  font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.45rem);
}

.email {
  display: inline-block;
  max-width: 100%;
  margin-top: 1.7rem;
  color: inherit;
  font-size: clamp(1.15rem, 0.85rem + 1.4vw, 1.65rem);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.4;
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 0.1em;
  word-break: normal;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 1.8rem 2.6rem;
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.footer-inner .brand {
  order: 0;
}

@media (min-width: 768px) {
  .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2.5rem;
  }

  .footer-inner .brand {
    margin-right: 0;
  }
}

.legal {
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    align-items: start;
  }

  .hero h1 {
    grid-column: 1;
  }

  .lede {
    grid-column: 2;
    padding-top: 0.45rem;
  }
}

@media (max-width: 700px) {
  .nav {
    flex-basis: 100%;
    order: 4;
  }

  .header-tools {
    order: 2;
  }
}

@media (max-width: 640px) {
  .row,
  .principles li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .num {
    padding-top: 0;
  }
}
