:root {
  --ink: #111827;
  --muted: #4b5563;
  --subtle: #6b7280;
  --line: #d9dee8;
  --paper: #f5f7fb;
  --white: #ffffff;
  --blue: #2c4895;
  --blue-dark: #203875;
  --green: #50af37;
  --purple: #462e84;
  --magenta: #833084;
  --teal: #328d99;
  --red: #d12346;
  --orange: #e37627;
  --yellow: #eac018;
  --page-width: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { background: #d9dee3; }
body { margin: 0; color: var(--ink); background: #d9dee3; font-family: "Noto Sans KR", "Malgun Gothic", Arial, sans-serif; line-height: 1.6; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.site-canvas { width: min(1920px, 100%); min-height: 100vh; margin: 0 auto; background: var(--paper); }
.page-width { width: var(--page-width); margin-right: auto; margin-left: auto; }

.site-header { position: relative; z-index: 20; display: flex; align-items: center; height: 88px; padding: 0 max(24px, 4vw); border-bottom: 1px solid #e4e7ec; background: rgba(255,255,255,.98); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; color: var(--ink); text-decoration: none; }
.brand-mark, .ps1-admin-mark { display: flex; width: 24px; height: 30px; overflow: hidden; border-radius: 6px; }
.brand-mark i, .ps1-admin-mark i { width: 8px; background: var(--blue); }
.brand-mark i:nth-child(2), .ps1-admin-mark i:nth-child(2) { background: var(--green); }
.brand-mark i:nth-child(3), .ps1-admin-mark i:nth-child(3) { background: var(--red); }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.brand-name small { margin-top: 5px; color: var(--subtle); font-size: 9px; font-weight: 600; letter-spacing: .04em; }
.primary-nav { position: absolute; left: 50%; display: flex; align-self: stretch; align-items: center; gap: 34px; transform: translateX(-50%); }
.primary-nav a { position: relative; display: inline-flex; align-items: center; height: 100%; color: #374151; font-size: 14px; font-weight: 700; text-decoration: none; }
.primary-nav a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: transparent; content: ""; }
.primary-nav a:hover { color: var(--blue); }
.primary-nav a:hover::after { background: var(--blue); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 15px; color: var(--muted); font-size: 13px; }
.header-tools a, .icon-text-button { border: 0; background: none; color: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.header-tools .admin-link { color: var(--blue); }
.header-join { padding: 8px 13px; border: 1px solid var(--line); border-radius: 6px; background: #f8faff; }
.user-name { color: var(--ink); font-weight: 700; }
.inline { display: inline; margin: 0; }

.bi-stripe { display: grid; grid-template-columns: repeat(9, 1fr); height: 7px; }
.bi-stripe i:nth-child(1), .bi-stripe i:nth-child(6) { background: var(--blue); }
.bi-stripe i:nth-child(2), .bi-stripe i:nth-child(7) { background: var(--purple); }
.bi-stripe i:nth-child(3), .bi-stripe i:nth-child(8) { background: var(--green); }
.bi-stripe i:nth-child(4), .bi-stripe i:nth-child(9) { background: var(--red); }
.bi-stripe i:nth-child(5) { background: var(--yellow); }

.home-hero { position: relative; min-height: 650px; overflow: hidden; background: #f1f4ff; }
.hero-grid { position: absolute; inset: 0; opacity: .65; background-image: linear-gradient(rgba(44,72,149,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(44,72,149,.09) 1px, transparent 1px); background-size: 144px 144px; }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(400px, .94fr); align-items: center; gap: 70px; min-height: 650px; padding: 70px 0; }
.badge { display: inline-flex; padding: 8px 17px; border: 1px solid #b9c7ed; border-radius: 999px; background: rgba(255,255,255,.82); color: var(--blue); font-size: 12px; font-weight: 800; }
.eyebrow { margin: 22px 0 10px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.eyebrow.blue { color: var(--blue); }.eyebrow.magenta { color: var(--magenta); }
.hero-copy h1 { max-width: 680px; margin: 0; font-size: clamp(44px, 5.2vw, 72px); font-weight: 850; letter-spacing: -.06em; line-height: 1.08; }
.lede { max-width: 610px; margin: 26px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.actions { display: flex; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 22px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; }
.button.primary { background: var(--blue); color: var(--white); }.button.primary:hover { background: var(--blue-dark); }
.button.secondary { border-color: var(--blue); background: var(--white); color: var(--blue); }
.button.white { background: var(--white); color: var(--blue); }
.hero-meta { margin: 22px 0 0; color: var(--subtle); font-size: 13px; font-weight: 650; }

.hero-visual { display: flex; justify-content: center; }
.visual-panel { position: relative; width: min(470px, 100%); min-height: 430px; padding: 38px; border: 1px solid #cfd7e8; border-radius: 10px; background: rgba(255,255,255,.86); box-shadow: 0 30px 70px rgba(32,52,77,.12); }
.visual-top { display: flex; align-items: baseline; justify-content: space-between; color: var(--blue); }.visual-top span { font-size: 58px; font-weight: 900; letter-spacing: -.08em; }.visual-top small { font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.visual-window { position: relative; min-height: 190px; margin-top: 25px; padding: 34px; overflow: hidden; background: var(--blue); color: #fff; }
.visual-window::after { position: absolute; right: -45px; bottom: -70px; width: 190px; height: 190px; border: 28px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; }
.visual-window i { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 50%; background: var(--green); }.visual-window i:nth-child(2) { background: var(--yellow); }.visual-window i:nth-child(3) { background: var(--red); }
.visual-window strong { position: absolute; bottom: 30px; left: 34px; font-size: 27px; line-height: 1.12; letter-spacing: -.03em; }
.visual-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }.visual-cards span { padding: 13px 6px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 10px; font-weight: 800; text-align: center; }
.visual-bars { position: absolute; right: 38px; bottom: 21px; left: 38px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; height: 8px; }.visual-bars i:nth-child(1) { background: var(--green); }.visual-bars i:nth-child(2) { background: var(--blue); }.visual-bars i:nth-child(3) { background: var(--orange); }.visual-bars i:nth-child(4) { background: var(--yellow); }

.section { padding: 85px 0; background: var(--white); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-heading h2, .about-grid h2, .contact-cta h2 { margin: 0; font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.045em; line-height: 1.18; }
.section-heading p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); }
.text-link { color: var(--blue); font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 270px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-top: 6px solid var(--blue); background: #f7f9ff; }
.service-card.green { border-top-color: var(--green); background: #f2f9ef; }.service-card.purple { border-top-color: var(--purple); background: #f4f1fa; }
.service-number { color: var(--blue); font-size: 12px; font-weight: 900; }.service-card.green .service-number { color: var(--green); }.service-card.purple .service-number { color: var(--purple); }
.service-card h3 { margin: 42px 0 10px; font-size: 24px; letter-spacing: -.03em; }.service-card p { color: var(--muted); }.service-card b { position: absolute; bottom: 26px; left: 30px; color: var(--blue); font-size: 10px; letter-spacing: .04em; }
.about-section { background: var(--paper); }.about-grid { display: grid; grid-template-columns: 220px 1fr; gap: 70px; }.about-grid p { color: var(--muted); }
.contact-cta { background: var(--blue); color: #fff; }.contact-cta > .page-width { display: flex; align-items: center; justify-content: space-between; gap: 40px; }.contact-cta .eyebrow { color: #bcd6ff; }.contact-cta p:not(.eyebrow) { color: #dce5ff; }

.form-shell, .prose, .notice { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 74px 0 90px; }
.form-shell, .notice { max-width: 620px; }
.form-shell h1, .notice h1, .prose h1 { margin: 0 0 12px; font-size: clamp(34px, 5vw, 52px); letter-spacing: -.045em; line-height: 1.15; }
.form-shell > p, .notice > p { color: var(--muted); }.form-shell form { margin-top: 32px; padding: 32px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 55px rgba(32,52,77,.08); }
.form-shell form p { margin: 0 0 19px; }.form-shell label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 800; }
.form-shell input:not([type=checkbox]), .form-shell textarea, .form-shell select { display: block; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); outline: 0; }
.form-shell textarea { min-height: 150px; }.form-shell input:focus, .form-shell textarea:focus, .form-shell select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(44,72,149,.14); }
.form-shell .helptext, .form-shell ul { color: var(--subtle); font-size: 12px; }.errorlist { color: #a51c38 !important; }
.notice { text-align: center; }.prose { min-height: 520px; }.prose p { color: var(--muted); }
.messages { padding-top: 18px; }.messages p { margin: 0; padding: 13px 17px; border-left: 4px solid var(--green); background: #edf8ea; color: #275c48; }

.site-footer { background: #111827; color: #d5dbea; }
.footer-inner { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; padding-top: 48px; padding-bottom: 38px; }.footer-inner strong { color: #fff; font-size: 21px; }.footer-inner p, .footer-inner span { color: #9ca7b9; font-size: 13px; }.footer-inner nav { display: grid; gap: 8px; }.footer-inner nav a { color: #d5dbea; font-size: 13px; text-decoration: none; }.footer-contact { display: flex; flex-direction: column; align-items: flex-end; }.footer-contact b { color: #fff; font-size: 20px; }
.footer-inner nav > b { margin-bottom: 4px; color: #fff; font-size: 12px; }.footer-company dl { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 14px 0 0; }.footer-company dl div { display: flex; gap: 5px; color: #8994a8; font-size: 11px; }.footer-company dt::after { content: ":"; }.footer-company dd { margin: 0; }
.footer-policy { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid #293244; }.footer-policy a { color: #aab4c6; font-size: 11px; text-decoration: none; }.footer-policy a.important { color: #fff; font-weight: 800; }.footer-policy a:hover { color: #fff; }
.footer-legal { display: flex; justify-content: space-between; gap: 25px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid #293244; color: #8994a8; font-size: 11px; }.footer-legal > div { display: flex; flex-direction: column; }

.policy-page { min-height: 650px; padding: 72px 0 100px; background: var(--paper); }.policy-layout { max-width: 900px; }.policy-heading { padding-bottom: 28px; border-bottom: 4px solid var(--blue); }.policy-heading h1 { margin: 0; font-size: clamp(36px, 5vw, 54px); letter-spacing: -.05em; }.policy-heading > p:last-child { margin: 12px 0 0; color: var(--subtle); font-size: 13px; }.policy-body { margin-top: 32px; padding: 36px 42px; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 55px rgba(32,52,77,.06); }.policy-body p { margin: 0 0 24px; color: var(--muted); white-space: pre-line; }.policy-body p:last-child { margin-bottom: 0; }.policy-history { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; color: var(--subtle); font-size: 12px; }.policy-history strong { color: var(--ink); }

@media (max-width: 1000px) {
  .primary-nav { display: none; }.hero-content { grid-template-columns: 1fr; gap: 45px; }.hero-copy { padding-top: 30px; }.home-hero, .hero-content { min-height: auto; }.hero-visual { padding-bottom: 30px; }.service-grid { grid-template-columns: 1fr; }.service-card { min-height: 230px; }.footer-inner { grid-template-columns: 1fr 1fr; }.footer-contact { align-items: flex-start; }
}
@media (max-width: 640px) {
  :root { --page-width: calc(100% - 28px); }.site-header { height: 74px; padding: 0 14px; }.brand-name small, .user-name, .header-tools .admin-link { display: none; }.header-tools { gap: 8px; font-size: 12px; }.header-join { padding: 6px 9px; }.hero-content { padding: 52px 0; }.hero-copy h1 { font-size: 42px; }.lede { font-size: 16px; }.actions { flex-direction: column; }.actions .button { width: 100%; }.visual-panel { min-height: 365px; padding: 24px; }.visual-top span { font-size: 48px; }.visual-bars { right: 24px; left: 24px; }.section { padding: 58px 0; }.section-heading { align-items: flex-start; flex-direction: column; }.about-grid { grid-template-columns: 1fr; gap: 8px; }.contact-cta > .page-width { align-items: flex-start; flex-direction: column; }.form-shell form { padding: 24px 18px; }.footer-inner { grid-template-columns: 1fr; }.footer-legal { flex-direction: column; }.footer-contact { align-items: flex-start; }.policy-page { padding: 48px 0 70px; }.policy-body { padding: 26px 20px; }
}
