:root {
  color-scheme: light;
  --ink: #142022;
  --muted: #647174;
  --line: #d9e0df;
  --paper: #f7f8f6;
  --white: #ffffff;
  --green: #2f6f68;
  --blue: #345d86;
  --amber: #9b6b35;
  --soft-green: #e8f0ed;
  --soft-blue: #e9eef4;
  --soft-amber: #f5efe5;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", "Noto Sans KR", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(20, 32, 34, .1);
  background: rgba(247, 248, 246, .94);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; min-width: 190px; }
.brand-mark { width: 26px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, var(--green), var(--blue)); box-shadow: inset 0 0 0 5px rgba(255,255,255,.55); }
.main-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
.main-nav a { padding: 9px 10px; border-radius: 6px; font-size: 14px; color: #314245; overflow-wrap: anywhere; }
.main-nav a:hover { background: #ffffff; box-shadow: 0 0 0 1px var(--line); }
.admin-link { color: #213d68 !important; background: var(--soft-blue); }
.page { min-height: 70vh; }
.section { padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 72px); }
.hero {
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}
.hero-copy { max-width: 680px; min-width: 0; }
.eyebrow { display: inline-flex; color: var(--green); font-weight: 800; font-size: 13px; margin-bottom: 14px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: 0; }
h1 { font-size: clamp(42px, 7vw, 84px); max-width: 11ch; overflow-wrap: anywhere; word-break: break-word; }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: 20px; }
p { color: var(--muted); line-height: 1.72; overflow-wrap: anywhere; }
.lead { font-size: clamp(17px, 2vw, 21px); max-width: 680px; color: #425155; overflow-wrap: anywhere; }
.lead span { display: block; }
.hero-visual { position: relative; min-height: 440px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.visual-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.7);
}
.visual-label span { display: block; overflow-wrap: anywhere; }
.cta-row, .toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  min-height: 42px;
  border: 1px solid #1d504b;
  background: #1f625b;
  color: #fff;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}
.btn.secondary { background: #fff; color: #244042; border-color: var(--line); }
.btn.warning { background: var(--amber); border-color: #80551f; }
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  min-width: 0;
}
.metric { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.metric strong { font-size: 34px; color: var(--green); }
.band { background: #fff; border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.media img { width: 100%; border-radius: 8px; border: 1px solid var(--line); display: block; }
.timeline { display: grid; gap: 12px; margin-top: 18px; }
.timeline-item { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; border-top: 1px solid var(--line); padding-top: 14px; }
.product-card { display: grid; gap: 14px; }
.product-thumb { aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--soft-green); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spec-table, .scope-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.spec-table th, .spec-table td, .scope-table th, .scope-table td { border-bottom: 1px solid var(--line); padding: 13px 14px; text-align: left; vertical-align: top; }
.spec-table th, .scope-table th { background: #eef4f1; color: #243b3b; }
.notice-row { display: grid; grid-template-columns: 120px 1fr 90px; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.badge { display: inline-flex; width: fit-content; padding: 5px 9px; border-radius: 999px; background: var(--soft-blue); color: #244463; font-size: 12px; font-weight: 700; }
.admin-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: calc(100vh - 118px); }
.admin-side { background: #203236; color: #ecf3f1; padding: 28px 20px; }
.admin-side a { display: block; padding: 11px 10px; border-radius: 6px; color: #d7e2df; }
.admin-side a:hover { background: rgba(255,255,255,.08); }
.admin-main { padding: clamp(24px, 4vw, 46px); }
.admin-top { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 7px; font-weight: 700; color: #2f3e41; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
}
textarea { min-height: 118px; resize: vertical; }
.table-like { display: grid; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.table-like > div { display: grid; grid-template-columns: 1.1fr .8fr .7fr auto; gap: 14px; align-items: center; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.table-like > div:first-child { background: #eef4f1; font-weight: 800; }
.media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.media-tile { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.media-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.media-tile p { padding: 0 12px 12px; margin: 8px 0 0; font-size: 13px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(18px, 5vw, 72px); border-top: 1px solid var(--line); background: #fff; }
.footer-links { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.footer-links a { color: var(--blue); font-weight: 700; }
.preview-frame { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.preview-frame img { width: 100%; display: block; }
@media (max-width: 900px) {
  .topbar { align-items: flex-start; flex-direction: column; gap: 12px; position: static; }
  .main-nav { justify-content: flex-start; width: 100%; }
  .hero, .split, .grid.cols-2, .grid.cols-3, .admin-shell { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 24px; }
  .hero-visual { min-height: 280px; }
  .notice-row { grid-template-columns: 1fr; gap: 6px; }
  .form-grid { grid-template-columns: 1fr; }
  .table-like > div { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { flex-direction: column; }
}
@media (max-width: 520px) {
  .brand { min-width: 0; }
  .main-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav a { padding: 8px 6px; font-size: 12px; text-align: center; }
  .section { padding: 30px 16px; }
  h1 { font-size: 28px; max-width: 100%; word-break: break-all; }
  .lead { font-size: 16px; max-width: 100%; word-break: break-all; }
  .cta-row .btn, .toolbar .btn { width: 100%; }
  .media-grid { grid-template-columns: 1fr; }
  .admin-side { padding: 20px 16px; }
}
