/* ==========================================================================
   EUMWARE — corporate site stylesheet
   Palette: ink / ground / brand teal (aligned with classnori.com)
   ========================================================================== */

:root {
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;

  --ink: #15221f;
  --ink-2: #2b3a37;
  --mute: #5b6a67;
  --faint: #8a9794;

  --paper: #ffffff;
  --ground: #f2f5f4;
  --ground-2: #e8eeec;
  --line: #d5ddda;
  --line-soft: #e6ecea;

  --brand: #1d7a6c;
  --brand-deep: #155a50;
  --brand-ink: #0f3f38;
  --brand-soft: #dcefe9;
  --brand-tint: #eef6f3;

  --accent: #d9782f;
  --accent-soft: #fbeadb;
  --ok: #3e9a6b;

  --hero-a: #0e3a34;
  --hero-b: #15221f;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shell: 1200px;
  --pad: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(21, 34, 31, .05), 0 10px 30px -12px rgba(21, 34, 31, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(29, 122, 108, .45); outline-offset: 2px; border-radius: 4px; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--ground { background: var(--ground); }
.section--tint { background: var(--brand-tint); }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.h-display { font-size: clamp(30px, 5.2vw, 56px); font-weight: 800; letter-spacing: -.02em; }
.h-section { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.h-card { font-size: 20px; font-weight: 700; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--mute); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-deep); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-tint); }
.btn--light { background: #fff; color: var(--brand-ink); }
.btn--light:hover { background: var(--brand-soft); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--sm { padding: 9px 14px; font-size: 14px; }
.btn .ico { width: 16px; height: 16px; }

.link-arrow { font-weight: 700; color: var(--brand-deep); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Badges ----------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px; line-height: 1.4;
}
.badge--live { background: var(--brand-soft); color: var(--brand-ink); }
.badge--soon { background: var(--accent-soft); color: #8a4712; }
.badge--neutral { background: var(--ground-2); color: var(--ink-2); }
.badge--dark { background: rgba(255,255,255,.12); color: #fff; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Header ----------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header__bar { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; flex: none; }
.logo svg { width: 30px; height: 30px; }
.logo small { font-weight: 600; font-size: 11px; letter-spacing: .12em; color: var(--faint); margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand-deep); background: var(--brand-tint); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.menu-btn[aria-expanded="true"] .burger { display: none; }

.mobile-nav { display: none; border-top: 1px solid var(--line-soft); background: #fff; }
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 14px 4px; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line-soft); }
.mobile-nav .btn { margin: 16px 0 20px; width: 100%; }

@media (max-width: 900px) {
  .nav, .header__cta .btn--ghost { display: none; }
  .menu-btn { display: inline-flex; }
  .header__bar { height: 62px; }
  .header .logo small { display: none; }
}
@media (max-width: 400px) {
  .header__cta .btn--primary { padding: 8px 11px; font-size: 13px; }
  .menu-btn { width: 40px; height: 40px; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--hero-a) 0%, var(--hero-b) 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(61, 178, 158, .22), transparent 60%),
    radial-gradient(500px 300px at 10% 100%, rgba(61, 178, 158, .12), transparent 60%);
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px);
  align-items: center; padding-block: clamp(56px, 8vw, 110px);
}
.hero .eyebrow { color: #8fd6c8; }
.hero .h-display { color: #fff; }
.hero .h-display em { font-style: normal; color: #8fd6c8; }
.hero .lead { color: rgba(255,255,255,.78); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__art { position: relative; }
.hero__art img, .hero__art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.hero__stats { display: flex; gap: 32px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.1; }
.stat span { font-size: 13px; color: rgba(255,255,255,.66); }
.hero--compact .hero__grid { padding-block: clamp(44px, 6vw, 80px); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 520px; margin: 0 auto; }
  .hero__stats { gap: 24px; }
}

/* Product cards ---------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; }
.card__icon svg { width: 26px; height: 26px; }
.card__kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.card p { color: var(--mute); font-size: 15px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card .tags span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--ground); padding: 4px 9px; border-radius: 6px; }
.card__foot { margin-top: auto; padding-top: 6px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.product-hero-card {
  grid-column: span 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center;
  background: linear-gradient(135deg, var(--brand-tint), #fff);
}
.product-hero-card .card__art { border-radius: var(--r); overflow: hidden; background: var(--ink); }
@media (max-width: 900px) { .product-hero-card { grid-template-columns: 1fr; grid-column: span 1; } }
@media (max-width: 1000px) and (min-width: 641px) { .product-hero-card { grid-column: span 2; } }

/* Feature rows ----------------------------------------------------------- */
.feature { display: flex; gap: 16px; }
.feature__num { font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: .08em; padding-top: 4px; min-width: 28px; }
.feature__icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--mute); font-size: 15px; }

.checklist li { position: relative; padding-left: 28px; color: var(--ink-2); }
.checklist li + li { margin-top: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23155a50' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* Split section ---------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__art { border-radius: var(--r-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.split__art img { width: 100%; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* Audience tiles --------------------------------------------------------- */
.tile { background: var(--paper); border-radius: var(--r); padding: 22px; border: 1px solid var(--line-soft); }
.tile__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; margin-bottom: 14px; }
.tile__icon svg { width: 22px; height: 22px; }
.tile h3 { font-size: 17px; margin-bottom: 6px; }
.tile p { color: var(--mute); font-size: 14.5px; }

/* CTA band --------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand-ink), var(--brand-deep));
  color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center;
}
.cta-band .h-section { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); margin-top: 10px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } .cta-band__actions { justify-content: flex-start; } }

/* Two-up teaser ---------------------------------------------------------- */
.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.teaser__box { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 30px; }
.teaser__box p { color: var(--mute); margin: 8px 0 18px; }
@media (max-width: 760px) { .teaser { grid-template-columns: 1fr; } }

/* Page hero (inner pages) ------------------------------------------------ */
.page-hero { background: var(--ground); border-bottom: 1px solid var(--line-soft); padding: clamp(44px, 6vw, 80px) 0; }
.page-hero .lead { margin-top: 14px; }

/* Definition table ------------------------------------------------------- */
.dl { display: grid; grid-template-columns: 140px 1fr; gap: 0; border-top: 1px solid var(--line); }
.dl > div { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.dl dt { font-weight: 700; color: var(--ink-2); font-size: 14.5px; }
.dl dd { margin: 0; color: var(--ink-2); }
@media (max-width: 560px) { .dl { grid-template-columns: 1fr; } .dl dt { padding-bottom: 0; border-bottom: 0; } .dl dd { padding-top: 6px; } }

/* Steps ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 22px; }
.step__n { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--brand); margin-bottom: 8px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--mute); font-size: 14.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Table ------------------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { background: var(--ground); font-weight: 700; font-size: 13.5px; color: var(--ink-2); }
tr:last-child td { border-bottom: 0; }

/* Forms ------------------------------------------------------------------ */
.form { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: 14px; color: var(--ink-2); }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  font: inherit; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(29,122,108,.14); }
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: 13px; color: var(--faint); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form__error { color: #b3261e; background: #fdecea; border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-bottom: 14px; display: none; }
.form__error.is-visible { display: block; }
.form__done { text-align: center; padding: 30px 10px; display: none; }
.form__done.is-visible { display: block; }
.form__done .check { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; }
.form__done .check svg { width: 28px; height: 28px; }
.form.is-done form { display: none; }

/* Contact ---------------------------------------------------------------- */
.contact-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.contact-list .k { width: 82px; flex: none; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding-top: 4px; }
.contact-list .v { font-weight: 600; color: var(--ink-2); }
.contact-list .v a:hover { color: var(--brand-deep); }

/* Job list --------------------------------------------------------------- */
.job { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.job h3 { font-size: 18px; margin-bottom: 4px; }
.job p { color: var(--mute); font-size: 14.5px; }
@media (max-width: 560px) { .job { flex-direction: column; align-items: flex-start; } }

/* Product detail --------------------------------------------------------- */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spec { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 20px; }
.spec .k { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.spec .v { font-weight: 700; font-size: 17px; }
.spec p { color: var(--mute); font-size: 14px; margin-top: 4px; }
@media (max-width: 800px) { .spec-grid { grid-template-columns: 1fr; } }

.problem { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.problem__box { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 22px; }
.problem__box .k { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.problem__box--before .k { color: #b3261e; }
.problem__box--after { border-color: var(--brand-soft); background: var(--brand-tint); }
.problem__box--after .k { color: var(--brand-deep); }
.problem__arrow { color: var(--brand); font-weight: 800; font-size: 24px; }
@media (max-width: 760px) { .problem { grid-template-columns: 1fr; } .problem__arrow { transform: rotate(90deg); text-align: center; } }

.product-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.product-nav a { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.product-nav a:hover, .product-nav a[aria-current="page"] { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-tint); }

/* Footer ----------------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 56px 0 32px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.footer .logo { color: #fff; }
.footer .logo small { color: rgba(255,255,255,.5); }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: .04em; }
.footer li + li { margin-top: 8px; }
.footer a:hover { color: #fff; }
.footer__addr { margin-top: 16px; line-height: 1.7; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: rgba(255,255,255,.5); font-size: 13px; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 24px; } }

/* Reveal ----------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease; }
  html.js .reveal.is-in { opacity: 1; transform: none; }
}
