:root {
  color-scheme: light;
  --ivory: #fff9f4;
  --milk: #fffcf8;
  --coral: #efa59a;
  --coral-deep: #d9786c;
  --apricot: #f6c8a8;
  --butter: #f3d98b;
  --sage: #adc5ad;
  --sky: #bdd8ea;
  --lavender: #c9bedd;
  --cocoa: #4e4649;
  --gray: #8d8486;
  --line: rgba(78, 70, 73, 0.12);
  --shadow: 0 18px 48px rgba(94, 70, 66, 0.1);
  --serif: "Iropke Batang", "Nanum Myeongjo", "AppleMyungjo", serif;
  --sans: Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cocoa);
  background:
    radial-gradient(circle at 82% 4%, rgba(243, 217, 139, 0.26), transparent 25rem),
    radial-gradient(circle at 5% 32%, rgba(239, 165, 154, 0.14), transparent 25rem),
    var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 99;
  padding: 10px 14px;
  border-radius: 12px;
  color: white;
  background: var(--cocoa);
  transform: translateY(-180%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(78, 70, 73, 0.08);
  background: rgba(255, 249, 244, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1080px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(94, 70, 66, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  color: var(--gray);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--coral-deep);
}

main {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
  padding: 80px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral-deep);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(42px, 6.7vw, 74px);
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 30px;
  color: var(--gray);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-card {
  position: relative;
  min-height: 390px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 36px;
  background: rgba(255, 252, 248, 0.84);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -40px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 217, 139, 0.72), rgba(243, 217, 139, 0));
}

.hero-icon {
  position: relative;
  width: 118px;
  height: 118px;
  margin: 16px 0 52px;
  border-radius: 32px;
  box-shadow: 0 22px 36px rgba(145, 98, 89, 0.18);
}

.stamp {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1.5px solid var(--coral);
  border-radius: 999px;
  color: var(--coral-deep);
  font-size: 13px;
  font-weight: 760;
  transform: rotate(-3deg);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--milk);
  text-decoration: none;
  font-size: 15px;
  font-weight: 720;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(94, 70, 66, 0.12);
}

.button.primary {
  border-color: var(--coral);
  color: #382f31;
  background: var(--coral);
}

.section {
  padding: 36px 0 96px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(29px, 4vw, 40px);
  letter-spacing: -0.04em;
}

.section-heading p {
  color: var(--gray);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 27px;
  border: 1px solid rgba(78, 70, 73, 0.08);
  border-radius: 26px;
  background: var(--milk);
  box-shadow: 0 12px 30px rgba(94, 70, 66, 0.07);
}

.card-dot {
  width: 14px;
  height: 14px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 17px 0 0 var(--butter);
}

.card:nth-child(2) .card-dot {
  background: var(--sage);
  box-shadow: 17px 0 0 var(--sky);
}

.card:nth-child(3) .card-dot {
  background: var(--lavender);
  box-shadow: 17px 0 0 var(--apricot);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.card p {
  min-height: 54px;
  margin-bottom: 20px;
  color: var(--gray);
  font-size: 14px;
}

.card a {
  color: var(--coral-deep);
  font-size: 14px;
  font-weight: 750;
  text-underline-offset: 4px;
}

.document {
  width: min(820px, 100%);
  padding: 70px 0 100px;
}

.document-header {
  margin-bottom: 34px;
}

.document-header h1 {
  margin-bottom: 14px;
  font-size: clamp(35px, 6vw, 52px);
}

.document-meta {
  color: var(--gray);
  font-size: 14px;
}

.notice {
  margin: 30px 0;
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(246, 200, 168, 0.3);
}

.notice strong {
  display: block;
  margin-bottom: 5px;
}

.notice p:last-child,
.document section p:last-child {
  margin-bottom: 0;
}

.document section {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.document h2 {
  margin-bottom: 14px;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.document h3 {
  margin: 25px 0 8px;
  font-size: 17px;
}

.document p,
.document li,
.document td,
.document th {
  color: #61585b;
}

.document ul,
.document ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.document li + li {
  margin-top: 8px;
}

.table-wrap {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow-x: auto;
  background: var(--milk);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  min-width: 150px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--cocoa) !important;
  background: rgba(246, 200, 168, 0.17);
  font-weight: 730;
}

tr:last-child td {
  border-bottom: 0;
}

.steps {
  display: grid;
  gap: 13px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 62px;
  margin: 0;
  padding: 18px 20px 18px 66px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--milk);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 15px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #3f3537;
  background: var(--apricot);
  font-weight: 780;
}

.contact-box {
  margin-top: 34px;
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(189, 216, 234, 0.38), rgba(201, 190, 221, 0.27));
}

.contact-box h2 {
  margin-bottom: 8px;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--gray);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .nav {
    width: min(100% - 28px, 1080px);
    min-height: 64px;
  }

  .nav-links a:not([aria-current="page"]) {
    display: none;
  }

  main,
  .footer-inner {
    width: min(100% - 32px, 1080px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 58px 0 74px;
  }

  .hero-card {
    min-height: 310px;
    padding: 26px;
  }

  .hero-icon {
    width: 92px;
    height: 92px;
    margin-bottom: 38px;
    border-radius: 25px;
  }

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

  .card p {
    min-height: 0;
  }

  .document {
    padding: 52px 0 80px;
  }

  .document section {
    margin-top: 36px;
    padding-top: 29px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

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

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