@font-face {
  font-family: "Stack Sans Notch";
  src: url("/assets/StackSansNotch-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --navy: #102d3c;
  --ink: #15242b;
  --muted: #53636a;
  --mint: #27b895;
  /* Mint as small text fails WCAG AA on light grounds (2.4:1); this darker cut clears 4.5:1. */
  --mint-text: #1c7a63;
  --lime: #c8ee3b;
  --paper: #f6f9f8;
  --line: #d5e0df;
  --soft: #eaf5f1;
  --white: #ffffff;
  --font: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --wordmark: "Stack Sans Notch", var(--font);
  --max: 1120px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 45, 60, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
b, strong { font-weight: 700; }

.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin: 0 auto; }
.wrap.narrow { width: min(760px, calc(100% - 2.5rem)); }

.skip {
  position: absolute; left: 1rem; top: -4rem; padding: 0.5rem 0.9rem;
  background: var(--lime); color: var(--ink); border-radius: 8px; z-index: 100;
}
.skip:focus { top: 1rem; }

.wordmark { font-family: var(--wordmark); font-size: 1.7rem; letter-spacing: 0.02em; line-height: 1; }

.kicker {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mint-text); margin-bottom: 0.9rem;
}
.section-label {
  margin: 2.6rem 0 1rem; font-size: 0.86rem; font-weight: 700; color: var(--muted);
  letter-spacing: 0.04em;
}
.intro { max-width: 46rem; margin-top: 1.1rem; font-size: 1.08rem; color: var(--muted); }
.rule { width: 4.5rem; height: 4px; background: var(--mint); margin: 1.6rem 0; border-radius: 2px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.85rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 1.5px solid var(--navy); background: var(--navy); color: var(--white);
  cursor: pointer; font: inherit; font-weight: 700; transition: transform 0.15s ease, background 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.button.small { padding: 0.55rem 1.05rem; font-size: 0.92rem; }
.button.lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.button.ghost { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.button:disabled { opacity: 0.6; cursor: wait; transform: none; }
.text-link { font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1.5px solid var(--mint); }
.text-link:hover { color: var(--mint-text); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.brand { display: flex; flex-direction: column; flex: none; text-decoration: none; line-height: 1.1; }
.brand .wordmark { font-size: 1.45rem; white-space: nowrap; }
.brand-sub { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 0.2rem; }
.site-nav { display: flex; gap: 1.2rem; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  font-size: 0.92rem; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap;
  padding: 0.3rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--navy); border-color: var(--mint); }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding: clamp(4rem, 9vw, 7rem) 0; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -12vw; top: -20vh; width: 48vw; height: 140%;
  background: radial-gradient(closest-side, rgba(39, 184, 149, 0.28), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 3rem; align-items: center; position: relative; }
.hero .kicker { color: var(--lime); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, 0.86); }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-note { margin-top: 2.2rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.72); max-width: 34rem; }
.hero-note strong { color: var(--lime); letter-spacing: 0.1em; font-size: 0.78rem; }

.hero-card {
  background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow); border-top: 6px solid var(--lime);
}
.card-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.today { margin-top: 1rem; display: grid; gap: 0.55rem; }
.today li { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.9rem; background: var(--paper); border-radius: 10px; font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.mint { background: var(--mint); }
.dot.lime { background: var(--lime); }
.dot.navy { background: var(--navy); }
.dot.line { background: var(--line); }
.card-foot { margin-top: 1.2rem; display: grid; gap: 0.4rem; font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
.card-foot b { color: var(--ink); }

/* Sections */
.section { padding: clamp(3.6rem, 8vw, 6.5rem) 0; }
.section.paper { background: var(--paper); }
.section.soft { background: var(--soft); }
.grid { display: grid; gap: 1.2rem; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.98rem; }

.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.flow > div { padding: 1rem 1.2rem; border-left: 3px solid var(--mint); background: var(--white); border-radius: 0 10px 10px 0; }
.flow b { display: block; margin-bottom: 0.2rem; }
.flow span { color: var(--muted); font-size: 0.95rem; }

.close { margin-top: 3rem; max-width: 48rem; }
.close h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.close p { margin-top: 0.9rem; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem !important; }
.chips span { display: inline-block; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.88rem; color: var(--ink); }
.chips .chips-label { background: var(--navy); border-color: var(--navy); color: var(--lime); font-weight: 700; letter-spacing: 0.04em; }

/* Pillars */
.pillars { margin-top: 2.4rem; }
.pillar { position: relative; padding: 1.8rem 1.6rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.6rem; }
.pillar .num { font-family: var(--wordmark); font-size: 1.1rem; color: var(--mint-text); letter-spacing: 0.1em; }
.pillar h3 { font-size: 1.35rem; }
.pillar .sub { margin-top: -0.4rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pillar > p:not(.sub) { color: var(--muted); font-size: 0.98rem; }
.pillar ul { display: grid; gap: 0.35rem; margin-top: 0.3rem; font-size: 0.95rem; }
.pillar li { padding-left: 1.1rem; position: relative; }
.pillar li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--lime); }
.pillar .text-link { margin-top: auto; align-self: flex-start; padding-top: 0.6rem; }

/* Demo */
.demo-frame { margin-top: 2.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.demo-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); background: var(--paper); font-size: 0.86rem; }
.demo-badge { font-weight: 800; letter-spacing: 0.12em; font-size: 0.72rem; padding: 0.25rem 0.6rem; background: var(--lime); border-radius: 6px; }
.demo-hint { color: var(--muted); }
.demo-toolbar .text-link { margin-left: auto; }
#demo-iframe { display: block; width: 100%; height: 680px; border: 0; background: var(--white); }

.work-list { display: grid; gap: 0.6rem; max-width: 52rem; }
.work-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 0.9rem 1.1rem; background: var(--white); border-radius: 10px; border: 1px solid var(--line); }
.work-list .num, .steps .num { font-family: var(--wordmark); color: var(--mint-text); font-size: 1rem; letter-spacing: 0.08em; padding-top: 0.15rem; }
.work-list b { display: block; }
.work-list span:not(.num) { color: var(--muted); font-size: 0.95rem; }

/* Process */
.steps { counter-reset: step; }
.steps li { background: var(--paper); border-radius: var(--radius); padding: 1.4rem 1.3rem; border: 1px solid var(--line); display: grid; gap: 0.5rem; }
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--muted); font-size: 0.95rem; }
.band { margin-top: 2rem; padding: 1.3rem 1.6rem; background: var(--navy); color: var(--white); border-radius: var(--radius); font-size: 1.02rem; }
.band b { color: var(--lime); }
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; margin-top: 3rem; align-items: start; }
.split h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
.split > div > p { margin-top: 0.9rem; color: var(--muted); }
.principles { background: var(--soft); border-radius: var(--radius); padding: 1.5rem; }
.principles ul { display: grid; gap: 0.6rem; margin-top: 0.8rem; font-size: 0.96rem; }
.principles li { padding-left: 1.3rem; position: relative; }
.principles li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 800; }

/* Cases */
.cases-grid { margin-top: 2.2rem; }
.case-tag { font-size: 0.78rem; font-weight: 700; color: var(--mint-text); letter-spacing: 0.04em; margin-bottom: 0.6rem; }
.case h3 { font-size: 1.15rem; margin-bottom: 0.9rem; }
.case p + p { margin-top: 0.6rem; }
.case b { color: var(--navy); }
.case.integration { display: flex; flex-direction: column; }
.case.integration h3 { font-size: 1.08rem; }
.case.integration .text-link { margin-top: auto; padding-top: 1rem; align-self: flex-start; }

/* Engagement table */
.table-wrap { margin-top: 2rem; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.engage-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.97rem; }
.engage-table th, .engage-table td { padding: 1rem 1.2rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.engage-table thead th { background: var(--paper); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.engage-table tbody th { white-space: nowrap; color: var(--navy); }
.engage-table tbody tr:last-child th, .engage-table tbody tr:last-child td { border-bottom: 0; }
.engage-table td { color: var(--muted); }

/* FAQ */
#faq details { border-bottom: 1px solid var(--line); padding: 0.4rem 0; }
#faq details:first-of-type { margin-top: 1.6rem; border-top: 1px solid var(--line); }
#faq summary { cursor: pointer; padding: 0.9rem 0; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after { content: "+"; color: var(--mint-text); font-weight: 800; }
#faq details[open] summary::after { content: "−"; }
#faq details p { padding: 0 0 1.1rem; color: var(--muted); }

/* Contact */
.contact { background: var(--navy); color: var(--white); }
.contact .kicker { color: var(--lime); }
.contact .intro { color: rgba(255, 255, 255, 0.8); }
.contact-alt { margin-top: 1.4rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.72); }
.contact-alt a { color: var(--lime); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 1.8rem; display: grid; gap: 1rem; box-shadow: var(--shadow); }
.form label { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; }
.form label small { font-weight: 500; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form textarea {
  font: inherit; font-size: 1rem; padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink); width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--mint); outline-offset: 1px; background: var(--white); }
.form textarea { resize: vertical; min-height: 7rem; }
.form .check { grid-template-columns: auto 1fr; align-items: start; gap: 0.6rem; font-weight: 500; color: var(--muted); font-size: 0.86rem; }
.form .check input { margin-top: 0.25rem; }
.form .check a { color: var(--navy); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot { min-height: 65px; }
.status { font-size: 0.92rem; min-height: 1.4em; color: var(--muted); }
.status.ok { color: #1c7a63; font-weight: 600; }
.status.error { color: #a33d35; font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); padding: 3rem 0; font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: start; }
.foot-grid .wordmark { color: var(--white); display: block; margin-bottom: 0.6rem; }
.foot-grid p { margin-top: 0.2rem; }
.foot-grid a { color: var(--white); text-decoration: none; }
.foot-grid a:hover { color: var(--lime); }
.foot-grid nav { display: flex; flex-direction: column; gap: 0.4rem; }
.copy { grid-column: 1 / -1; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }

/* Privacy page */
.doc { padding: 3.5rem 0 5rem; }
.doc h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 0.6rem; }
.doc h2 { font-size: 1.25rem; margin: 2.2rem 0 0.7rem; }
.doc p, .doc li { color: var(--muted); }
.doc ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: 0.35rem; }
.doc .meta { font-size: 0.9rem; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 0.8rem; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--ink); white-space: nowrap; }

@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .grid.three, .grid.four { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 2rem); }
  .grid.three, .grid.four { grid-template-columns: 1fr; }
  .bar { gap: 0.8rem; }
  .site-nav { gap: 0.9rem; }
  .bar .button { display: none; }
  #demo-iframe { height: 560px; }
  .form { padding: 1.3rem; }
  .foot-grid { grid-template-columns: 1fr; }
}
