:root {
  color-scheme: light;

  /* Color tokens: field notice / newspaper base */
  --ink: #151611;
  --ink-soft: #2c3028;
  --muted: #5d6257;
  --paper: #f3eddf;
  --paper-warm: #fbf7ed;
  --paper-deep: #e7dcc8;
  --white: #ffffff;
  --reed: #6f7b45;
  --moss: #24331f;
  --water: #2f6670;
  --sun: #d79b3f;
  --stamp: #b83d2f;
  --line: rgba(21, 22, 17, 0.14);
  --line-strong: rgba(21, 22, 17, 0.34);
  --reverse-line: rgba(255, 255, 255, 0.18);

  /* Typography tokens */
  --font-body: "Noto Sans KR", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --title-sm: clamp(28px, 3.4vw, 40px);
  --title-md: clamp(34px, 4vw, 56px);
  --title-hero: clamp(44px, 7vw, 88px);
  --leading-tight: 0.96;
  --leading-title: 1.08;
  --leading-body: 1.72;

  /* Spacing tokens */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 56px;
  --space-10: 72px;
  --space-11: 96px;
  --space-12: 118px;

  /* Shape and depth tokens */
  --radius-none: 0;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --shadow-none: none;
  --shadow-print: 0 1px 0 rgba(21, 22, 17, 0.18);
  --shadow-lift: 0 12px 28px rgba(20, 28, 19, 0.12);
  --shadow: var(--shadow-print);

  /* Layout tokens */
  --container-main: 1120px;
  --container-text: 760px;
  --container-narrow: 600px;
  --page-gutter: 18px;
  --section-padding: clamp(var(--space-10), 10vw, var(--space-12));
  --section-padding-mobile: var(--space-9);

  /* Button tokens */
  --button-height: 48px;
  --button-padding-x: 20px;
  --button-radius: var(--radius-md);
  --button-font-size: var(--text-sm);
  --button-font-weight: 900;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: var(--leading-body);
  word-break: keep-all;
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
li,
dt,
dd,
a,
button,
label,
span,
strong {
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

section[id] {
  scroll-margin-top: 84px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(11, 17, 12, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.86;
}

.nav-links a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #0c120d;
}

.hero picture,
.hero picture img,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
  object-position: 54% center;
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(5, 9, 6, 0.88) 0%, rgba(5, 9, 6, 0.62) 38%, rgba(5, 9, 6, 0.08) 72%),
    linear-gradient(180deg, rgba(5, 9, 6, 0.18) 0%, rgba(5, 9, 6, 0.1) 58%, rgba(5, 9, 6, 0.82) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(var(--container-main), calc(100% - var(--page-gutter) - var(--page-gutter)));
  margin: 0 auto;
  padding: 112px 0 30px;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: var(--title-hero);
  line-height: var(--leading-tight);
  letter-spacing: 0;
  font-weight: 900;
}

.hero__lead {
  max-width: var(--container-narrow);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, var(--text-xl));
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--sun);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-hero {
  min-height: 100svh;
}

.landing-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 860px;
  margin-top: 42px;
}

.landing-card {
  display: grid;
  min-height: 220px;
  align-content: end;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.landing-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.18);
}

.landing-card span {
  color: var(--sun);
  font-size: 13px;
  font-weight: 900;
}

.landing-card h2 {
  margin-top: 14px;
  font-size: clamp(28px, 4vw, 44px);
}

.landing-card p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: var(--button-height);
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 var(--button-padding-x);
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--sun);
  color: #1a1205;
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.button--line {
  color: var(--moss);
  border-color: rgba(36, 51, 31, 0.28);
  background: transparent;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin: 34px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.hero__stats div {
  padding: 18px;
  background: rgba(7, 11, 8, 0.28);
}

.hero__stats dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--text-xs);
  font-weight: 800;
}

.hero__stats dd {
  margin: 6px 0 0;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 900;
}

.container {
  width: min(var(--container-main), calc(100% - var(--page-gutter) - var(--page-gutter)));
  margin: 0 auto;
}

.section-pad {
  padding: var(--section-padding) 0;
}

.section-tint {
  background: #ede8dc;
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: var(--title-md);
  line-height: var(--leading-title);
  letter-spacing: 0;
  font-weight: 900;
}

.intro p:last-child {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
}

.section-head {
  margin-bottom: 34px;
}

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

.info-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 0;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.info-card__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--water);
  font-size: 13px;
  font-weight: 900;
}

.info-card--challenge {
  background: #fff8ea;
  border-color: rgba(215, 155, 63, 0.42);
}

.info-card--challenge .info-card__icon {
  color: #221705;
  background: var(--sun);
}

.info-card h3,
.check-panel h3,
.benefit-box h3 {
  margin: 6px 0 0;
  font-size: var(--text-xl);
  line-height: 1.2;
}

.info-card p,
.benefit-box p,
.apply__copy p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.info-card p {
  line-height: 1.55;
}

.activity-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(28px, 6vw, 72px);
}

.check-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 20px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  font-weight: 700;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--reed);
  box-shadow: inset 0 0 0 3px #dbe6c1;
}

.benefit-box {
  padding: clamp(20px, 2.8vw, 26px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(145deg, var(--moss), #0f1812 68%, #2d2a15);
}

.benefit-box p {
  color: rgba(255, 255, 255, 0.82);
}

.benefit-box .note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.apply {
  background:
    linear-gradient(180deg, rgba(247, 245, 239, 0), rgba(247, 245, 239, 0.98)),
    radial-gradient(circle at 12% 0%, rgba(47, 102, 112, 0.2), transparent 36%),
    #f1eee6;
}

.apply__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.apply__copy {
  position: sticky;
  top: 96px;
}

.apply__copy p {
  margin-top: 22px;
  font-size: 18px;
}

.dm-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.dm-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(47, 102, 112, 0.28);
  border-radius: var(--radius-md);
  color: var(--water);
  background: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 900;
}

.apply-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: #2c3028;
  font-size: 14px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: var(--button-height);
  border: 1px solid rgba(21, 22, 17, 0.18);
  border-radius: var(--radius-md);
  background: var(--paper-warm);
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--water);
  box-shadow: 0 0 0 4px rgba(47, 102, 112, 0.14);
}

.consent {
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-weight: 700;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
  accent-color: var(--water);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--water);
  font-weight: 900;
}

.site-footer {
  padding: 40px 0;
  background: #101510;
  color: rgba(255, 255, 255, 0.72);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer__inner img {
  width: min(220px, 45vw);
  filter: brightness(0) invert(1);
}

.footer__inner p {
  max-width: 520px;
  margin: 0;
  text-align: right;
  font-weight: 700;
}

@media (max-width: 860px) {
  .site-header {
    min-height: 64px;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero picture img {
    object-position: 66% center;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(5, 9, 6, 0.88), rgba(5, 9, 6, 0.42)),
      linear-gradient(180deg, rgba(5, 9, 6, 0.04), rgba(5, 9, 6, 0.88));
  }

  .hero__stats,
  .info-grid,
  .landing-cards,
  .intro__grid,
  .activity-layout,
  .check-panel,
  .apply__grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .apply__copy {
    position: static;
  }

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

  .footer__inner p {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .nav-links a:first-child {
    display: none;
  }

  .hero__content {
    width: min(100% - 28px, 1120px);
    padding-bottom: 30px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 56px);
  }

  .hero__actions .button,
  .form-actions .button {
    width: 100%;
  }

  .hero__stats div {
    padding: 14px;
  }

  .section-pad {
    padding: var(--section-padding-mobile) 0;
  }

  .info-card {
    gap: 12px;
    padding: 18px;
  }

  .info-card__icon {
    width: 38px;
    height: 38px;
  }
}
