:root {
  --ink: #18201f;
  --muted: #66716f;
  --line: #dde5df;
  --paper: #fbfcf8;
  --soft: #eef5ef;
  --mint: #2f8f6b;
  --mint-dark: #1f6b50;
  --blue: #365f8f;
  --amber: #c8872f;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(24, 32, 31, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 252, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--mint);
  color: var(--white);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav,
.category-strip,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.main-nav a,
.category-strip a {
  padding: 8px 10px;
  border-radius: 8px;
  color: #36413f;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a.is-active,
.main-nav a:hover,
.category-strip a:hover {
  background: var(--soft);
  color: var(--mint-dark);
}

.category-strip {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 12px;
}

.hero,
.section,
.page-title,
.text-page,
.article-view {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px;
}

.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1,
.page-title h1 {
  margin: 12px 0 16px;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p,
.page-title p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.hero-search {
  margin-top: 30px;
  max-width: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 10px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-search--compact {
  margin-top: 22px;
}

.hero-search input {
  min-width: 0;
  border: 0;
  padding: 15px 16px;
  outline: none;
}

.hero-search button {
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.today-panel,
.category-card,
.article-card,
.setup-notice > div,
.empty-state,
.source-box,
.article-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.today-panel {
  padding: 26px;
  display: grid;
  gap: 12px;
}

.today-panel strong {
  font-size: 20px;
}

.today-panel a {
  padding: 13px 14px;
  border-radius: 8px;
  background: #f6f8f2;
  color: #263331;
  font-weight: 700;
}

.section__head {
  margin-bottom: 22px;
}

.section__head h2 {
  margin: 6px 0 0;
  font-size: 30px;
  line-height: 1.2;
}

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

.category-card {
  padding: 22px;
  min-height: 172px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-card strong {
  font-size: 20px;
}

.category-card span {
  color: var(--muted);
  font-size: 14px;
}

.category-card em {
  margin-top: auto;
  color: var(--amber);
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}

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

.article-card a {
  min-height: 230px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.article-card--large {
  grid-row: span 2;
}

.article-card__category {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.article-card h3 {
  margin: 10px 0;
  font-size: 21px;
  line-height: 1.32;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.article-card footer {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #77817f;
  font-size: 13px;
}

.page-title {
  padding-bottom: 28px;
}

.text-page {
  max-width: 860px;
  padding-top: 20px;
}

.text-page h2 {
  margin-top: 34px;
  font-size: 24px;
}

.article-view {
  padding-bottom: 24px;
}

.article-hero {
  max-width: 880px;
}

.article-hero__category {
  color: var(--mint-dark);
  font-weight: 800;
}

.article-hero h1 {
  margin: 12px 0 16px;
  font-size: 44px;
  line-height: 1.12;
}

.article-hero p {
  color: var(--muted);
  font-size: 18px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-meta span {
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 800px) 260px;
  align-items: start;
  gap: 34px;
  margin-top: 42px;
}

.article-content {
  font-size: 18px;
}

.article-content h2 {
  margin: 42px 0 12px;
  font-size: 28px;
  line-height: 1.24;
}

.article-content h3 {
  margin: 28px 0 10px;
}

.article-content a {
  color: var(--blue);
  border-bottom: 1px solid currentColor;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 15px;
}

.article-content th,
.article-content td {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
}

.source-box {
  margin-top: 44px;
  padding: 22px;
}

.source-box h2 {
  margin-top: 0;
  font-size: 22px;
}

.article-aside {
  position: sticky;
  top: 120px;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.article-aside a {
  color: var(--blue);
  font-weight: 700;
}

.article-related {
  padding-top: 24px;
}

.setup-notice {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px;
}

.setup-notice > div,
.empty-state {
  padding: 28px;
}

.empty-state {
  text-align: center;
}

.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  background: #f3f6f0;
}

.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
}

.site-footer p {
  max-width: 620px;
  color: var(--muted);
  margin: 8px 0 0;
}

.site-footer a {
  color: #3e4b49;
  font-weight: 700;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header__inner,
  .site-footer__inner {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .article-list,
  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .hero,
  .section,
  .page-title,
  .text-page,
  .article-view {
    padding: 38px 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero h1,
  .page-title h1,
  .article-hero h1 {
    font-size: 36px;
  }

  .hero-search {
    grid-template-columns: 1fr;
  }

  .hero-search button {
    min-height: 48px;
  }

  .category-grid,
  .article-list,
  .featured-grid {
    grid-template-columns: 1fr;
  }
}


.answer-box {
  margin: 0 0 32px;
  padding: 24px;
  border: 1px solid #cfe1d4;
  border-left: 5px solid var(--mint);
  border-radius: 8px;
  background: #f3faf5;
}

.answer-box span {
  display: block;
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 900;
}

.answer-box h2 {
  margin: 6px 0 10px;
  font-size: 24px;
}

.answer-box p {
  margin: 0;
  color: #263331;
  font-weight: 700;
}

.faq-box {
  margin-top: 44px;
}

.faq-box details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  margin-bottom: 10px;
  padding: 16px 18px;
}

.faq-box summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-box p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Approval-focused visual refinement */
:root {
  --paper: #f6f7f2;
  --soft: #ecf3ee;
  --ink: #17211f;
  --muted: #64706d;
  --blue: #2f5f92;
  --amber: #b97922;
  --coral: #b85b4b;
  --shadow: 0 20px 56px rgba(23, 33, 31, 0.1);
}

body {
  font-size: 16px;
  background:
    linear-gradient(180deg, #f9faf5 0, #f2f5ef 460px, #f7f8f3 100%);
}

.site-header__inner,
.category-strip,
.hero,
.section,
.page-title,
.article-view,
.site-footer__inner,
.trust-strip {
  max-width: 1220px;
}

.site-header {
  box-shadow: 0 8px 24px rgba(23, 33, 31, 0.04);
}

.brand__mark {
  background: #17211f;
  box-shadow: inset 0 -10px 0 rgba(47, 143, 107, 0.35);
}

.main-nav a,
.category-strip a {
  font-size: 14px;
  font-weight: 800;
}

.hero--portal {
  min-height: 590px;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 46px;
  padding-top: 72px;
  padding-bottom: 46px;
}

.hero__content h1 {
  max-width: 790px;
  font-size: 58px;
  line-height: 1.08;
}

.hero__content p {
  max-width: 680px;
  font-size: 19px;
  line-height: 1.7;
}

.hero-search {
  margin-top: 32px;
  grid-template-columns: minmax(0, 1fr) 112px;
  border: 1px solid #cedbd2;
  box-shadow: 0 22px 58px rgba(23, 33, 31, 0.14);
}

.hero-search input {
  min-height: 54px;
  font-size: 17px;
}

.hero-search button {
  min-height: 54px;
  background: #17211f;
}

.quick-keywords {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-keywords a {
  padding: 8px 11px;
  border: 1px solid #d4ded7;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #34413f;
  font-size: 14px;
  font-weight: 800;
}

.hero-board {
  border-radius: 8px;
  border: 1px solid #cfdbd3;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-board__top {
  padding: 22px 24px;
  background: #17211f;
  color: #ffffff;
}

.hero-board__top span,
.hero-board__top strong {
  display: block;
}

.hero-board__top span {
  color: #9fd3ba;
  font-size: 13px;
  font-weight: 900;
}

.hero-board__top strong {
  margin-top: 4px;
  font-size: 25px;
}

.hero-board ul {
  list-style: none;
  margin: 0;
  padding: 8px 24px 18px;
}

.hero-board li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.hero-board li:last-child {
  border-bottom: 0;
}

.hero-board b {
  color: var(--blue);
}

.hero-board span {
  color: var(--muted);
  font-size: 14px;
}

.trust-strip {
  margin: 0 auto;
  padding: 0 24px 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust-strip div {
  min-height: 96px;
  padding: 18px;
  border: 1px solid #d8e1da;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 17px;
}

.trust-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.section--tight {
  padding-top: 42px;
  padding-bottom: 42px;
}

.section__head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section__head h2 {
  font-size: 32px;
}

.text-link {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.category-grid--polished {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card {
  position: relative;
  min-height: 190px;
  padding: 22px;
  border-color: #d7e1da;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.category-card:hover,
.article-card:hover {
  transform: translateY(-2px);
  border-color: #b7cfc0;
  box-shadow: 0 24px 62px rgba(23, 33, 31, 0.13);
}

.category-card i {
  width: 54px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #edf3f8;
  color: var(--blue);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.category-card:nth-child(2n) i {
  background: #f8f0e5;
  color: var(--amber);
}

.category-card:nth-child(3n) i {
  background: #f8e9e4;
  color: var(--coral);
}

.category-card strong {
  font-size: 21px;
  line-height: 1.25;
}

.category-card span {
  font-size: 15px;
  line-height: 1.58;
}

.category-card em {
  color: #2f5f92;
}

.featured-grid--editorial {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
}

.article-card {
  border-color: #d7e1da;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.article-card a {
  min-height: 238px;
  padding: 24px;
}

.article-card--large a {
  min-height: 490px;
  background: linear-gradient(180deg, #ffffff 0%, #eef6f1 100%);
}

.article-card__category {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 8px;
  background: #edf3f8;
  color: var(--blue);
}

.article-card h3 {
  font-size: 22px;
  line-height: 1.34;
}

.article-card--large h3 {
  font-size: 30px;
}

.article-card p {
  font-size: 15.5px;
  line-height: 1.64;
}

.article-card footer {
  color: #596662;
  font-weight: 800;
}

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

.policy-title h1 {
  max-width: 920px;
  font-size: 46px;
}

.policy-page {
  background: #ffffff;
  border: 1px solid #d7e1da;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.policy-page p,
.policy-page li {
  font-size: 17px;
}

@media (max-width: 900px) {
  .hero--portal,
  .category-grid--polished,
  .featured-grid--editorial,
  .article-list--newsroom,
  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero--portal,
  .category-grid--polished,
  .featured-grid--editorial,
  .article-list--newsroom,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .hero__content h1 {
    font-size: 36px;
  }

  .hero__content p,
  .policy-page p,
  .policy-page li {
    font-size: 16px;
  }

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

.contact-layout {
  max-width: 1220px;
  margin: 0 auto;
  padding: 10px 24px 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
}

.contact-form,
.contact-guide {
  border: 1px solid #d7e1da;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-form {
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
  color: #34413f;
  font-size: 14px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfdad3;
  border-radius: 8px;
  padding: 12px 13px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2f8f6b;
  box-shadow: 0 0 0 3px rgba(47, 143, 107, 0.12);
}

.contact-form button {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #17211f;
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-success,
.form-error-public {
  margin-bottom: 15px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 900;
}

.form-success {
  background: #e3f3ea;
  color: #1f6b50;
}

.form-error-public {
  background: #fff0ed;
  color: #b23b3b;
}

.contact-guide {
  padding: 24px;
  align-self: start;
}

.contact-guide h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.contact-guide li {
  margin-bottom: 8px;
  color: #34413f;
  font-weight: 700;
}

.contact-guide p {
  color: var(--muted);
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.hero-board__image {
  width: 100%;
  display: block;
  aspect-ratio: 900 / 620;
  object-fit: cover;
  border-bottom: 1px solid #d7e1da;
}

.hero-board__top {
  background: #17211f;
}

@media (max-width: 900px) {
  .hero-board__image {
    max-height: 280px;
  }
}
