/* ISOSOL / 이온소스솔루션 company site — static, local mock */
:root {
  --ink: #1b2437;
  --ink-soft: #2c3a56;
  --paper: #f6f3ee;
  --card: #fffcf8;
  --line: #e3dcd0;
  --muted: #5e5a53;
  --accent: #8f332c;
  --accent-hover: #732822;
  --mark: #f6e7a8;
  --banner: #2f3d4f;
  --banner-text: #f3efe7;
  --focus: #1b2437;
  --max: 68rem;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(27, 36, 55, 0.06), 0 8px 24px rgba(27, 36, 55, 0.05);
  --font: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", "Apple Myungjo", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:lang(en) { --font: "Noto Sans", "Noto Sans KR", "Segoe UI", "Helvetica Neue", sans-serif; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--accent-hover); }
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* Draft / mock banner — remove before public launch */
.site-banner {
  background: var(--banner);
  color: var(--banner-text);
  font-size: 0.8125rem;
  line-height: 1.5;
  padding: 0.55rem 1.25rem;
  text-align: center;
}
.site-banner strong { font-weight: 600; }

.need, mark.need {
  background: var(--mark);
  color: var(--ink);
  padding: 0.05em 0.28em;
  border-radius: 3px;
  font-style: normal;
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  text-decoration: none;
  color: inherit;
  min-width: 8rem;
}
.brand-mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  line-height: 1.15;
  color: var(--ink);
}
.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.75rem;
  background: var(--card);
}
.lang-switch a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.28rem 0.7rem;
  font-weight: 500;
}
.lang-switch a[aria-current="page"] {
  background: var(--ink);
  color: #f6f3ee;
}
.nav-toggle { display: none; }
.nav-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--ink);
}
.site-nav {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.15rem 0;
}
.site-nav a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.site-nav a:hover { color: var(--accent); }

@media (max-width: 720px) {
  .nav-btn { display: inline-block; }
  .site-nav { display: none; }
  .nav-toggle:checked ~ .site-nav,
  .header-inner:has(.nav-toggle:checked) .site-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 0.35rem;
  }
  .site-nav a { padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
}

/* Layout */
main { min-height: 60vh; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.hero {
  padding: 3.25rem 0 2.75rem;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--muted);
  margin: 0 0 0.7rem;
  font-weight: 500;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.15rem, 5.5vw, 3.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}
.hero .legal-name {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
}
.hero .lede {
  font-size: 1.1rem;
  max-width: 40rem;
  margin: 0 0 1.6rem;
  color: var(--ink-soft);
}
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink);
  color: #f6f3ee;
}
.btn-primary:hover { background: var(--ink-soft); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: #fff; }

.section { padding: 2.75rem 0; }
.section + .section, .section.alt {
  border-top: 1px solid var(--line);
}
.section h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}
.section h3 {
  font-size: 1.15rem;
  margin: 1.6rem 0 0.5rem;
}
.section p { margin: 0 0 1rem; }
.section p:last-child { margin-bottom: 0; }

.grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  margin-top: 1.4rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.35rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card p { color: var(--ink-soft); }
.card .card-kicker {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 0.3rem;
  letter-spacing: 0.04em;
}

.info-table, .policy table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.95rem;
}
.info-table th, .info-table td,
.policy table th, .policy table td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
}
.info-table th, .policy table th {
  width: 11.5rem;
  font-weight: 600;
  background: #efeae1;
  color: var(--ink);
}
.info-table tr:last-child th, .info-table tr:last-child td,
.policy table tr:last-child th, .policy table tr:last-child td {
  border-bottom: 0;
}
@media (max-width: 560px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td {
    display: block;
    width: 100%;
  }
  .info-table th {
    padding-bottom: 0.15rem;
    border-bottom: 0;
  }
  .info-table td { padding-top: 0.2rem; }
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1rem;
}
.draft-box {
  background: #fff8dc;
  border: 1px solid #e6d48a;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}
.draft-box p { margin: 0 0 0.5rem; }
.draft-box p:last-child { margin: 0; }

.policy h2 { margin-top: 2rem; }
.policy h2:first-of-type { margin-top: 0; }
.policy ul, .policy ol { margin: 0 0 1rem; padding-left: 1.3rem; }
.policy li { margin: 0.25rem 0; }
.policy table { margin: 0.7rem 0 1.1rem; display: block; overflow-x: auto; }
.policy table thead, .policy table tbody, .policy table tr { width: 100%; }
@media (max-width: 700px) {
  .policy table { font-size: 0.82rem; }
  .policy table th, .policy table td { padding: 0.5rem 0.55rem; }
}

.page-title {
  padding: 2.4rem 0 0.5rem;
}
.page-title h1 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}
.page-title .lede { margin: 0 0 0.5rem; color: var(--ink-soft); max-width: 42rem; }

.product-hero .product-name {
  font-family: var(--serif);
  font-size: 1.85rem;
  margin: 0 0 0.35rem;
}
.ext-link::after { content: " ↗"; font-size: 0.85em; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 2rem 0 2.4rem;
  font-size: 0.88rem;
  color: var(--muted);
  background: #efeae3;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.4fr 1fr 1fr;
}
.site-footer strong { color: var(--ink); font-weight: 600; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-nav { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-legal { margin: 0; }
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 2.1rem 0 2rem; }
  .section { padding: 2rem 0; }
}

@media print {
  .site-banner, .nav-btn, .lang-switch { display: none; }
  .site-header { position: static; }
  body { background: #fff; }
}
