:root {
  --ink: #13262f;
  --muted: #5c6f78;
  --line: #d7e5e8;
  --blue: #1aa7ee;
  --deep-blue: #096d9c;
  --yellow: #ffd521;
  --teal: #0e9687;
  --coral: #ee735f;
  --green: #5ea76d;
  --paper: #fffdf6;
  --panel: #ffffff;
  --shadow: 0 18px 46px rgba(19, 38, 47, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f5fbfc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  line-height: 1.55;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 70px;
  padding: 10px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid rgba(215, 229, 232, 0.82);
  background: rgba(255, 253, 246, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(19, 38, 47, 0.12);
}

.main-nav,
.language-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.language-switcher {
  justify-content: flex-end;
}

.nav-button,
.lang-button,
.primary-action,
.secondary-action,
.copy-button {
  border: 1px solid rgba(19, 38, 47, 0.14);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.nav-button,
.lang-button {
  padding: 9px 12px;
  font-size: 0.92rem;
}

.nav-button[aria-current="page"],
.lang-button[aria-pressed="true"] {
  border-color: rgba(9, 109, 156, 0.36);
  background: #e9f6ff;
  color: var(--deep-blue);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, 88vh);
  padding: clamp(90px, 14vh, 150px) clamp(18px, 6vw, 92px) clamp(42px, 7vh, 70px);
  overflow: hidden;
  color: #112834;
  background: #ffd521;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 213, 33, 0.96), rgba(255, 213, 33, 0.58) 42%, rgba(255, 213, 33, 0.16) 70%),
    url("assets/pj-pigeon.png") right center / min(820px, 78vw) auto no-repeat;
}

.hero-inner {
  position: relative;
  width: min(720px, 100%);
  align-self: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid rgba(19, 38, 47, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  width: min(620px, 100%);
  margin-bottom: 28px;
  font-size: clamp(1.1rem, 2.2vw, 1.42rem);
  color: #25434c;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
}

.primary-action {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.secondary-action,
.copy-button {
  background: rgba(255, 255, 255, 0.86);
}

.page-band {
  padding: clamp(44px, 7vw, 84px) clamp(18px, 5vw, 72px);
}

.page-band.alt {
  background: var(--paper);
}

.narrow {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.section-heading p,
.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.card,
.step,
.contact-panel,
.mascot-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(19, 38, 47, 0.08);
}

.card,
.step {
  padding: 22px;
}

.card-kicker,
.step-number {
  margin-bottom: 12px;
  color: var(--deep-blue);
  font-weight: 900;
}

.card h3,
.step h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.card p,
.step p {
  color: var(--muted);
}

.mascot-note {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.mascot-note img {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  object-fit: cover;
}

.mascot-note strong {
  display: block;
  margin-bottom: 4px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.pill-card {
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(19, 38, 47, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.pill-card strong {
  display: block;
  margin-bottom: 6px;
}

.how-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.guide-stack {
  display: grid;
  gap: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.contact-panel {
  padding: clamp(20px, 4vw, 30px);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.form-row.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #bfcfd4;
  border-radius: 6px;
  padding: 11px 12px;
  background: #ffffff;
  color: var(--ink);
}

textarea {
  min-height: 154px;
  resize: vertical;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.check-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.check-row input {
  min-height: auto;
  margin-top: 4px;
}

.status {
  min-height: 24px;
  margin-top: 12px;
  color: var(--deep-blue);
  font-weight: 800;
}

.status.error {
  color: #b33c2e;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #13262f;
  color: #f7fbfc;
}

.site-footer p {
  margin-bottom: 0;
  color: #c9d9dd;
}

.noscript {
  padding: 18px;
  margin: 0;
  background: #fff1d6;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .main-nav,
  .language-switcher {
    justify-content: flex-start;
  }

  .grid,
  .grid.two,
  .feature-strip,
  .how-layout,
  .contact-layout,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 760px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 213, 33, 0.98), rgba(255, 213, 33, 0.72) 52%, rgba(255, 213, 33, 0.18)),
      url("assets/pj-pigeon.png") center bottom / min(620px, 95vw) auto no-repeat;
  }

  .hero-inner {
    align-self: start;
  }
}

@media (max-width: 640px) {
  .brand span {
    white-space: normal;
  }

  .nav-button,
  .lang-button {
    min-height: 42px;
  }

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

  .mascot-note {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .mascot-note img {
    width: 72px;
    height: 72px;
  }

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