:root {
  color-scheme: light;
  --brand: #146b57;
  --brand-pressed: #0e5443;
  --brand-soft: #e7f4ef;
  --canvas: #f2f4f6;
  --surface: #ffffff;
  --ink: #191f28;
  --muted: #6b7684;
  --tertiary: #8b95a1;
  --line: #e5e8eb;
  --success: #16835d;
  --warning: #9a6700;
  --danger: #d9363e;
  --max: 1120px;
  --shadow: 0 20px 55px rgba(25, 31, 40, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(20, 107, 87, 0.35); outline-offset: 3px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(229, 232, 235, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}
.nav-shell {
  width: min(calc(100% - 40px), var(--max));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.brand-lockup img { width: 34px; height: 34px; border-radius: 9px; }
.brand-lockup small {
  color: var(--tertiary);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand); }
.nav-links .nav-cta {
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

main { overflow: hidden; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.hero { background: #f1f8f5; }
.hero-grid {
  min-height: 680px;
  padding: 84px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 72px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 750;
}
.hero h1, .page-hero h1 {
  margin: 20px 0 22px;
  font-size: clamp(42px, 6.4vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}
.hero-copy {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.65;
  letter-spacing: -0.025em;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 52px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 0.16s ease, background 0.16s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--brand); color: #fff; }
.button-primary:hover { background: var(--brand-pressed); }
.button-secondary { border-color: var(--line); background: var(--surface); color: var(--ink); }
.trust-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.trust-row span::before { content: "✓"; margin-right: 6px; color: var(--success); }

.phone-stage { position: relative; min-height: 560px; display: grid; place-items: center; }
.phone-stage::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: rgba(20, 107, 87, 0.1);
}
.phone {
  position: relative;
  width: min(310px, 74vw);
  padding: 10px;
  border: 1px solid rgba(25, 31, 40, 0.14);
  border-radius: 42px;
  background: #11151a;
  box-shadow: 0 35px 70px rgba(20, 60, 50, 0.2);
  transform: rotate(2deg);
}
.phone img { width: 100%; border-radius: 33px; }
.float-card {
  position: absolute;
  z-index: 2;
  max-width: 210px;
  padding: 14px 16px;
  border: 1px solid rgba(229, 232, 235, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}
.float-card strong { display: block; color: var(--brand); font-size: 12px; }
.float-card.one { left: 0; top: 150px; }
.float-card.two { right: -20px; bottom: 105px; }

.section { padding: 112px 0; }
.section-soft { background: var(--canvas); }
.section-dark { background: #16241f; color: #fff; }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-kicker { margin: 0 0 10px; color: var(--brand); font-size: 15px; font-weight: 800; }
.section-dark .section-kicker { color: #83d8bc; }
.section h2, .content-card h2 {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.05em;
}
.section-lead { margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.section-dark .section-lead { color: #b7c4bf; }

.task-flow {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  counter-reset: flow;
}
.task-flow li {
  position: relative;
  min-height: 176px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  counter-increment: flow;
}
.task-flow li::before {
  content: counter(flow, decimal-leading-zero);
  display: block;
  margin-bottom: 30px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
}
.task-flow strong { display: block; margin-bottom: 5px; font-size: 18px; letter-spacing: -0.035em; }
.task-flow span { color: var(--muted); font-size: 14px; line-height: 1.55; }

.feature-list { display: grid; gap: 100px; }
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 82px;
}
.feature-row:nth-child(even) .feature-visual { order: 2; }
.feature-copy h3 {
  margin: 12px 0 18px;
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.22;
  letter-spacing: -0.05em;
}
.feature-copy p { margin: 0; color: var(--muted); font-size: 18px; }
.feature-points { margin: 24px 0 0; padding: 0; display: grid; gap: 11px; list-style: none; }
.feature-points li { position: relative; padding-left: 25px; font-weight: 650; }
.feature-points li::before { content: "✓"; position: absolute; left: 0; color: var(--success); }
.feature-visual {
  min-height: 530px;
  padding: 48px 32px 0;
  border-radius: 32px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  background: var(--brand-soft);
}
.feature-visual.gray { background: #edf0f2; }
.feature-visual img {
  width: min(300px, 88%);
  border-radius: 34px 34px 0 0;
  box-shadow: 0 24px 50px rgba(25, 31, 40, 0.16);
}

.audience-grid, .principle-grid, .link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.audience-card, .principle-card, .link-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.audience-card .label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}
.audience-card h3, .principle-card h3, .link-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.035em;
}
.audience-card p, .principle-card p, .link-card p { margin: 0; color: var(--muted); font-size: 14px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.price-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}
.price-card.featured { border-color: rgba(20, 107, 87, 0.45); box-shadow: 0 16px 38px rgba(20, 107, 87, 0.10); }
.price-card .label {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}
.price-card h3 { min-height: 58px; margin: 15px 0 12px; font-size: 21px; line-height: 1.35; letter-spacing: -0.04em; }
.price-card > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.price { margin: 0; display: flex; align-items: baseline; gap: 7px; }
.price strong { color: var(--ink); font-size: 27px; letter-spacing: -0.045em; }
.price span { color: var(--tertiary); font-size: 13px; font-weight: 700; }
.pricing-note { margin: 24px auto 0; max-width: 780px; color: var(--muted); font-size: 14px; text-align: center; }
.principle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.principle-card { border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.055); }
.principle-card p { color: #b7c4bf; }
.principle-number { display: block; margin-bottom: 22px; color: #83d8bc; font-size: 13px; font-weight: 850; }

.scope-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scope-card { padding: 32px; border-radius: 24px; background: var(--surface); }
.scope-card h3 { margin: 0 0 20px; font-size: 24px; letter-spacing: -0.04em; }
.scope-card ul { margin: 0; padding-left: 20px; color: var(--muted); }
.scope-card li + li { margin-top: 10px; }

.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  padding: 23px 4px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 750;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--brand); font-size: 24px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -4px 0 23px; padding: 0 36px 0 4px; color: var(--muted); }

.closing-panel { padding: 64px 40px; border-radius: 32px; background: var(--brand); color: #fff; text-align: center; }
.closing-panel h2 { font-size: clamp(32px, 5vw, 50px); }
.closing-panel p { margin: 18px auto 0; max-width: 620px; color: rgba(255, 255, 255, 0.78); font-size: 18px; }
.closing-panel .button { margin-top: 30px; background: #fff; color: var(--brand); }

.page-hero { padding: 92px 0 58px; background: #f1f8f5; }
.page-hero h1 { max-width: 800px; font-size: clamp(40px, 6vw, 64px); }
.page-hero p { max-width: 720px; margin: 0; color: var(--muted); font-size: 19px; }
.page-meta { margin-top: 22px; color: var(--tertiary); font-size: 14px; }

.manual-layout {
  padding: 56px 0 120px;
  display: grid;
  grid-template-columns: 245px minmax(0, 760px);
  justify-content: space-between;
  align-items: start;
  gap: 64px;
}
.toc { position: sticky; top: 96px; padding: 20px; border-radius: 18px; background: var(--canvas); }
.toc strong { display: block; margin-bottom: 10px; font-size: 14px; }
.toc ol { margin: 0; padding-left: 22px; color: var(--muted); font-size: 14px; }
.toc li + li { margin-top: 7px; }
.toc a:hover { color: var(--brand); }
.manual-content { min-width: 0; }
.manual-section { padding: 0 0 64px; scroll-margin-top: 96px; }
.manual-section + .manual-section { padding-top: 64px; border-top: 1px solid var(--line); }
.manual-section h2 { margin: 0 0 16px; font-size: 32px; line-height: 1.25; letter-spacing: -0.045em; }
.manual-section h3 { margin: 32px 0 10px; font-size: 21px; letter-spacing: -0.035em; }
.manual-section p { margin: 0 0 16px; color: var(--muted); }
.manual-section a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.manual-shot {
  margin: 28px 0;
  padding: 32px 32px 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--brand-soft);
  text-align: center;
}
.manual-shot img {
  width: min(280px, 84%);
  margin: 0 auto;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 22px 44px rgba(25, 31, 40, 0.15);
}
.manual-shot figcaption {
  margin: 0 -32px;
  padding: 18px 24px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}
.steps { margin: 24px 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { position: relative; min-height: 40px; padding: 5px 0 18px 50px; counter-increment: steps; }
.steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 850;
}
.steps li + li::after { content: ""; position: absolute; left: 16px; top: -20px; width: 2px; height: 18px; background: var(--line); }
.callout { margin: 24px 0; padding: 18px 20px; border-left: 4px solid var(--brand); border-radius: 4px 14px 14px 4px; background: var(--brand-soft); color: #29453d; }
.callout.warning { border-left-color: var(--warning); background: #fff8df; color: #614f19; }
.callout.danger { border-left-color: var(--danger); background: #fff0f0; color: #7a292e; }
.status-table { width: 100%; margin: 22px 0; border-collapse: collapse; font-size: 14px; }
.status-table th, .status-table td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.status-table th { color: var(--muted); font-weight: 750; }
.status { display: inline-block; padding: 3px 8px; border-radius: 999px; background: var(--canvas); font-size: 12px; font-weight: 800; white-space: nowrap; }
.status.ok { background: var(--brand-soft); color: var(--success); }
.status.wait { background: #fff8df; color: var(--warning); }
.status.stop { background: #fff0f0; color: var(--danger); }
.path { margin: 16px 0; padding: 14px 16px; border-radius: 12px; background: var(--canvas); color: var(--ink); font-weight: 750; }

.policy-wrap { padding: 72px 0 112px; }
.content-card { max-width: 820px; margin: 0 auto; }
.content-card > h1 { margin: 0 0 12px; font-size: clamp(36px, 5vw, 52px); line-height: 1.18; letter-spacing: -0.05em; }
.content-card .lead { margin: 0 0 44px; color: var(--muted); font-size: 18px; }
.content-card h2 { margin: 54px 0 16px; font-size: 27px; scroll-margin-top: 96px; }
.content-card h3 { margin: 30px 0 10px; font-size: 19px; }
.content-card p, .content-card li { color: #4e5968; }
.content-card ul, .content-card ol { padding-left: 22px; }
.content-card li + li { margin-top: 8px; }
.content-card a:not(.button):not(.link-card) { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.content-card table { width: 100%; border-collapse: collapse; font-size: 14px; }
.content-card th, .content-card td { padding: 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.content-card th { background: var(--canvas); }

.link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; }
.link-card { display: block; transition: border 0.16s ease, transform 0.16s ease; }
.link-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.link-card .arrow { display: block; margin-top: 24px; color: var(--brand); font-weight: 850; }

.site-footer { padding: 52px 0; border-top: 1px solid var(--line); background: #fafbfb; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.footer-company strong { display: block; margin-bottom: 12px; font-size: 16px; }
.footer-company p { margin: 0; color: var(--tertiary); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: flex-start; gap: 10px 20px; color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--brand); }

@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-grid, .feature-row, .manual-layout { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 70px; gap: 30px; }
  .phone-stage { min-height: 590px; }
  .float-card.one { left: 4%; }
  .float-card.two { right: 2%; }
  .task-flow, .audience-grid, .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-row:nth-child(even) .feature-visual { order: initial; }
  .feature-copy { order: -1; }
  .toc { position: static; }
}

@media (max-width: 640px) {
  body { word-break: normal; }
  .nav-shell, .container { width: min(calc(100% - 32px), var(--max)); }
  .nav-shell { min-height: 62px; }
  .brand-lockup small, .nav-links .nav-cta { display: none; }
  .nav-links a[aria-current="page"] { display: inline; }
  .hero-grid { min-height: 0; padding: 60px 0 40px; }
  .hero h1, .page-hero h1 { font-size: 42px; }
  .actions { display: grid; }
  .phone-stage { min-height: 510px; }
  .phone-stage::before { width: 330px; height: 330px; }
  .phone { width: 245px; }
  .float-card { max-width: 168px; padding: 11px 13px; font-size: 12px; }
  .float-card.one { top: 120px; left: -4px; }
  .float-card.two { right: -4px; bottom: 75px; }
  .section { padding: 80px 0; }
  .task-flow, .audience-grid, .pricing-grid, .principle-grid, .scope-panel, .link-grid, .footer-grid { grid-template-columns: 1fr; }
  .price-card h3 { min-height: 0; }
  .task-flow li { min-height: 0; }
  .task-flow li::before { margin-bottom: 18px; }
  .feature-list { gap: 76px; }
  .feature-row { gap: 28px; }
  .feature-visual { min-height: 430px; padding-top: 34px; }
  .closing-panel { padding: 46px 22px; }
  .page-hero { padding: 62px 0 42px; }
  .manual-layout { padding-top: 32px; gap: 42px; }
  .manual-section h2 { font-size: 28px; }
  .status-table, .content-card table { display: block; overflow-x: auto; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}


/* HomiSoft category integration */
.homi-company-strip {
  display: flex;
  justify-content: center;
  gap: 18px;
  min-height: 34px;
  padding: 7px 20px;
  border-bottom: 1px solid rgba(229, 232, 235, 0.76);
  background: #fffefa;
  color: #5e6a64;
  font-size: 13px;
  font-weight: 700;
}

.homi-company-strip a:hover {
  color: var(--brand);
}

.site-header {
  top: 0;
}

@media (max-width: 720px) {
  .homi-company-strip {
    justify-content: flex-start;
  }
}
