:root {
  --green: #1c6b46;
  --green-dark: #124830;
  --ink: #141816;
  --muted: #5a645e;
  --line: #d5ddd7;
  --snow: #f4f6f3;
  --paper: #fbfcf9;
  --navy: #152536;
  --navy-2: #1e3348;
  --accent: #c45c26;
  --white: #fff;
  --radius: 14px;
  --shadow: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 252, 249, 0.92);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  display: block;
  height: 52px;
  width: auto;
  border-radius: 8px;
}
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { font-size: 15px; color: var(--muted); }
.site-nav a.is-active, .site-nav a:hover { color: var(--ink); }
.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 8px 14px;
  border-radius: 999px;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 56px;
}
.kicker {
  display: inline-block;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 36em; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-ghost { background: var(--white); border-color: var(--line); }
.hero-photo {
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  min-height: 420px;
}
.hero-photo img { width: 100%; height: 420px; object-fit: cover; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0 48px;
}
.trust span {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

.section { padding: 64px 0; }
.section-head { margin-bottom: 28px; }
.section-head h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.section-head p { margin: 0; color: var(--muted); }

.usp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.usp {
  background: var(--navy);
  color: var(--white);
  padding: 22px 16px;
  border-radius: var(--radius);
  min-height: 140px;
}
.usp strong { display: block; font-size: 15px; margin-bottom: 8px; }
.usp span { color: #c9d4de; font-size: 13px; }

.product-grid, .card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card, .info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-card {
  display: block;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s ease;
}
.product-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.product-card.is-selected {
  border-color: var(--green);
}
.selected-flag {
  display: none;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
}
.product-card.is-selected .selected-flag {
  display: inline-flex;
}
.spec-line {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.compare-wrap {
  margin-top: 28px;
}
.compare-table th:first-child,
.compare-table td:first-child {
  width: 18%;
  white-space: nowrap;
}
.product-detail-panel {
  padding-bottom: 24px;
  scroll-margin-top: 88px;
}
.product-detail {
  display: none;
}
.product-detail.is-visible {
  display: block;
}
.product-detail-hero {
  padding: 8px 0 8px;
}
.product-detail-hero h2 {
  margin: 8px 0 10px;
  font-size: clamp(24px, 4vw, 32px);
  letter-spacing: -0.04em;
}
.product-detail-hero p {
  color: var(--muted);
  margin: 0;
  max-width: 40em;
}
.product-detail .section {
  padding: 28px 0;
}
.product-detail-main {
  padding-top: 20px;
}
.highlight-list {
  margin: 0;
  padding-left: 1.2em;
  max-width: 40em;
}
.highlight-list li + li {
  margin-top: 8px;
}
.product-card img, .split-photo img, .panel-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: var(--snow);
}
.product-body, .info-card { padding: 18px; }
.product-card h3, .info-card h3 { margin: 0 0 6px; font-size: 20px; }
.meta { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.badge {
  font-size: 12px;
  background: var(--snow);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 999px;
}

.band {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
}
.band h2 { margin: 0 0 10px; }
.band p { color: #c9d4de; margin: 0 0 20px; }
.usecase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.usecase-item {
  background: var(--navy-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.usecase-item img { height: 180px; width: 100%; object-fit: cover; }
.usecase-item div { padding: 16px; }
.usecase-item h3 { margin: 0 0 6px; font-size: 17px; }
.usecase-item p { margin: 0; color: #c9d4de; font-size: 14px; }

.page-hero {
  padding: 48px 0 8px;
}
.page-hero h1 { margin: 8px 0 10px; font-size: clamp(28px, 5vw, 36px); letter-spacing: -0.04em; }
.page-hero p { color: var(--muted); margin: 0; max-width: 40em; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.spec-table th { width: 28%; color: var(--muted); font-weight: 600; background: var(--snow); }

.feature-list { display: grid; gap: 12px; }
.feature-list article {
  border-left: 3px solid var(--green);
  padding: 4px 0 4px 14px;
}
.feature-list h3 { margin: 0 0 4px; font-size: 16px; }
.feature-list p { margin: 0; color: var(--muted); }

.inquiry-form {
  max-width: 640px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 12px;
}
.inquiry-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--paper);
}
.inquiry-form textarea { min-height: 140px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.consent input {
  margin-top: 3px;
}
.form-status { min-height: 20px; font-size: 14px; color: var(--muted); }
.form-status.is-error { color: #9b2c2c; }

.admin-wrap { min-height: 100vh; background: var(--snow); }
.admin-box {
  width: min(420px, calc(100% - 32px));
  margin: 12vh auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.admin-box h1 { margin: 0 0 18px; font-size: 22px; }
.admin-box form { display: grid; gap: 12px; }
.admin-box label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.admin-box input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--paper);
}
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); }
.admin-table th, .admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  font-size: 13px;
  vertical-align: top;
}
.admin-table th { background: var(--snow); }
.status-select { min-width: 120px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 20px;
  background: var(--white);
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}
.footer-brand { color: var(--ink); font-weight: 700; margin: 0 0 8px; }
.footer-label { color: var(--ink); font-weight: 700; margin: 0 0 8px; }
.footer-partner {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-partner p { margin: 0; }
.footer-copy {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.full-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--snow);
}
.full-figure img { width: 100%; height: auto; }

.table-wrap { overflow-x: auto; }

.float-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.float-cta a {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.float-phone { background: var(--navy); color: var(--white); }
.float-inquiry { background: var(--green); color: var(--white); }

@media (max-width: 900px) {
  .hero, .split, .product-grid, .card-grid, .usp-grid, .usecase-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 18px;
    gap: 12px;
  }
  .site-nav.is-open { display: flex; }
  .hero-photo, .hero-photo img { min-height: 280px; height: 280px; }
  .brand-logo { height: 42px; }
  .section { padding: 40px 0; }
  .hero { padding: 36px 0 32px; gap: 24px; }
}

@media (max-width: 600px) {
  .usp-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .shell { width: min(1120px, calc(100% - 28px)); }
  body { padding-bottom: 88px; }
  body.no-float { padding-bottom: 0; }
  .float-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: row;
  }
  .float-cta a { flex: 1; }
}
