/* InsaengON R27 logo update v2 */
:root {
  --ink: #17352f;
  --muted: #58706a;
  --green: #075f52;
  --green-dark: #03483e;
  --mint: #dff3ed;
  --line: #c7d9d4;
  --paper: #ffffff;
  --canvas: #f3f8f6;
  --warning: #8b3a2c;
  --warning-soft: #fff0eb;
  --success: #176947;
  --success-soft: #e8f7ef;
  --shadow: 0 20px 55px rgba(7, 66, 56, .10);
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 90% 0%, #d9f1e9 0, transparent 28rem), var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}
a { color: var(--green-dark); text-decoration: none; }
a:hover { color: #001f1a; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: #fff; padding: .8rem 1rem; border: 2px solid var(--green); border-radius: .6rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(108, 143, 134, .35); background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); }
.header-inner { width: min(1160px, calc(100% - 2rem)); min-height: 78px; margin: auto; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-logo { display: block; width: 56px; height: 56px; flex: 0 0 56px; object-fit: contain; }
.brand strong { display: block; font-size: 1.12rem; line-height: 1.15; }
.brand small { display: block; color: var(--muted); font-size: .75rem; line-height: 1.25; }
.main-nav { display: flex; align-items: center; gap: 1.1rem; margin-left: auto; }
.main-nav a { color: var(--ink); font-size: .92rem; font-weight: 700; text-decoration: none; }
.language { display: flex; padding: .2rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.language a { padding: .35rem .62rem; border-radius: 999px; color: var(--muted); font-size: .76rem; font-weight: 800; text-decoration: none; }
.language a.active { color: #fff; background: var(--green); }

.page-shell { width: min(1060px, calc(100% - 2rem)); min-height: 64vh; margin: 0 auto; padding: 4.5rem 0 5rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); align-items: center; gap: 3rem; margin-bottom: 3.5rem; }
.eyebrow { margin: 0 0 .7rem; color: var(--green); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--ink); line-height: 1.28; letter-spacing: -.025em; }
h1 { max-width: 800px; margin-bottom: 1.2rem; font-size: clamp(2.05rem, 5vw, 4rem); }
h2 { margin-bottom: .8rem; font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { margin-bottom: .4rem; font-size: 1.08rem; }
.lead { max-width: 760px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.hero-panel, .card, .document, .form-card, .notice { border: 1px solid var(--line); background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.hero-panel { padding: 1.8rem; border-radius: 1.4rem; }
.hero-panel p { margin: .35rem 0; }
.status-line { display: flex; align-items: center; gap: .55rem; font-weight: 800; }
.status-dot { width: .65rem; height: .65rem; border-radius: 50%; background: #2ea16f; box-shadow: 0 0 0 .3rem #dbf4e8; }
.button-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .65rem 1rem; border: 2px solid var(--green); border-radius: .8rem; color: #fff; background: var(--green); font-weight: 800; text-decoration: none; cursor: pointer; }
.button:hover { color: #fff; background: var(--green-dark); }
.button.secondary { color: var(--green-dark); background: #fff; }
.button.danger { border-color: var(--warning); background: var(--warning); }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card { display: flex; flex-direction: column; min-height: 210px; padding: 1.45rem; border-radius: 1.15rem; }
.card-number { color: var(--green); font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.card p { margin: 0 0 1rem; color: var(--muted); }
.card a { margin-top: auto; font-weight: 850; }
.document { max-width: 860px; margin: 0 auto; padding: clamp(1.25rem, 4vw, 3.2rem); border-radius: 1.5rem; }
.document-header { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.document-header h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.effective { color: var(--muted); font-size: .9rem; }
.policy-section { padding: 1.4rem 0; border-bottom: 1px solid #e2ece8; }
.policy-section:last-child { border-bottom: 0; }
.policy-section p, .policy-section ul { margin-bottom: 0; }
.policy-section ul { padding-left: 1.25rem; }
.policy-section li + li { margin-top: .45rem; }
.contact-text { font-weight: 850; letter-spacing: .01em; }
.notice { margin: 1.2rem 0; padding: 1rem 1.1rem; border-radius: .9rem; box-shadow: none; }
.notice.success { border-color: #8dceb0; background: var(--success-soft); color: var(--success); }
.notice.error { border-color: #e4a596; background: var(--warning-soft); color: var(--warning); }
.notice.info { background: #eef8f5; }
.form-card { max-width: 780px; margin-top: 1.5rem; padding: clamp(1.2rem, 4vw, 2.2rem); border-radius: 1.25rem; }
.field { display: block; margin-bottom: 1.15rem; font-weight: 800; }
.field span { display: block; margin-bottom: .4rem; }
.field small { display: block; margin-top: .35rem; color: var(--muted); font-weight: 500; }
input, textarea, select { width: 100%; min-height: 50px; padding: .72rem .8rem; color: var(--ink); border: 2px solid #7f9891; border-radius: .75rem; background: #fff; }
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus, button:focus, a:focus { outline: 3px solid #65bda9; outline-offset: 3px; }
.check { display: grid; grid-template-columns: 24px 1fr; align-items: start; gap: .7rem; margin: 1rem 0 1.4rem; font-weight: 700; }
.check input { width: 22px; min-height: 22px; margin-top: .15rem; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.meta-list { display: grid; gap: .7rem; padding: 0; list-style: none; }
.meta-list li { padding: .8rem 1rem; border-left: 4px solid var(--green); background: #eff8f5; }

.site-footer { border-top: 1px solid var(--line); background: #e5f0ec; }
.footer-inner { width: min(1060px, calc(100% - 2rem)); margin: auto; padding: 2.4rem 0 1.2rem; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 2rem; }
.footer-inner p { margin: .25rem 0; color: var(--muted); font-size: .88rem; }
.footer-links { display: flex; flex-direction: column; gap: .4rem; }
.footer-links a { font-size: .9rem; font-weight: 750; }
.copyright { width: min(1060px, calc(100% - 2rem)); margin: auto; padding: 1rem 0 2rem; color: var(--muted); border-top: 1px solid rgba(97, 130, 121, .25); font-size: .78rem; }

@media (max-width: 850px) {
  .header-inner { flex-wrap: wrap; padding: .75rem 0; gap: .8rem; }
  .main-nav { order: 3; width: 100%; margin: 0; padding-top: .55rem; border-top: 1px solid var(--line); overflow-x: auto; }
  .main-nav a { white-space: nowrap; }
  .language { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 1.3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand-logo { width: 50px; height: 50px; flex-basis: 50px; }
  .page-shell { width: min(100% - 1.2rem, 1060px); padding: 2.5rem 0 3rem; }
  .main-nav { gap: .85rem; }
  .card-grid, .footer-inner { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .document { border-radius: 1rem; }
  .button-row, .button { width: 100%; }
}

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