
/* ○(U+25CB)·↓(U+2193)만 전각 CJK 글리프로 그리기 위한 글꼴.
   이 두 글자는 Arial 등 라틴 폰트에 '작은' 글리프로 존재해, 라틴 폰트가 먼저 잡히면
   옆의 전각 가나(あ·や·ん)보다 작게 보인다. unicode-range로 이 두 글자만 골라
   설치된 CJK 글꼴(전각)로 렌더하도록 강제한다. 그 외 글자에는 전혀 영향 없음. */
@font-face {
  font-family: 'A2T-Fullwidth';
  src: local('Apple SD Gothic Neo'), local('AppleSDGothicNeo-Regular'),
       local('Noto Sans KR'), local('NotoSansKR-Regular'),
       local('Noto Sans CJK KR'), local('Noto Sans CJK JP'),
       local('Noto Serif JP'), local('NotoSerifJP-Regular'),
       local('Malgun Gothic'), local('Yu Gothic'), local('Yu Gothic UI'),
       local('Meiryo'), local('Hiragino Sans'), local('Hiragino Kaku Gothic ProN'),
       local('Microsoft YaHei'), local('PingFang SC'), local('Gulim'), local('Dotum');
  unicode-range: U+25CB, U+2193;
}

:root {
  --ink: #0e0e0e;
  --ink2: #3a3a3a;
  --ink3: #888;
  --bg: #f7f5f0;
  --bg2: #edeae3;
  --accent: #c8401b;
  --accent2: #1b6ec8;
  --jp: 'A2T-Fullwidth', Arial, Helvetica, 'Noto Serif JP', 'Noto Sans KR', sans-serif;
  --sans: 'A2T-Fullwidth', Arial, Helvetica, 'Noto Sans KR', sans-serif;
  --mono: 'DM Mono', monospace;
  --radius: 6px;
  --nav-h: 64px;
  --tag-gap: 2.5rem; /* eyebrow·section-tag ↔ 제목 사이 간격 (이 값만 바꾸면 전체 적용) */
  --hero-top: 1.75rem; /* hero 콘텐츠 위쪽 여백 — eyebrow를 아래로 내림 (옛 <br> 대체) */
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  background: var(--bg);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
}
.nav-logo {
  font-family: var(--jp);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex; gap: 2rem; list-style: none;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 8px 20px;
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-size: 1.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: var(--tag-gap);
}
.hero-title {
  font-family: var(--jp);
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--ink);
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
  border-bottom: 3px solid var(--accent);
}
.hero-result {
  color: var(--accent);
}
.hero-sub {
  font-size: 1.00rem;
  color: var(--ink2);
  margin-bottom: 2.5rem;
  max-width: 585px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  padding: 13px 28px;
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-outline {
  padding: 13px 28px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink2);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Hero right — flow diagram */
.hero-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}
.flow-col {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: start;
  width: 100%;
}
.flow-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flow-label {
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 4px;
}
.flow-label.old { color: var(--ink3); }
.flow-label.new { color: var(--ink); }
.flow-item {
  padding: 10px 12px;
  white-space: nowrap;
  border-radius: var(--radius);
  font-size: 0.82rem;
  text-align: center;
}
.flow-item.old {
  background: var(--bg2);
  color: var(--ink3);
  border: 1.5px solid transparent;
  text-decoration: line-through;
  text-decoration-color: rgba(0,0,0,0.25);
}
.flow-item.new {
  background: #fff;
  border: 1.5px solid var(--accent);
  color: var(--ink);
  font-weight: 500;
}
.flow-item.result.old {
  background: var(--ink3);
  color: #fff;
  font-weight: 700;
}
.flow-item.result.new {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.flow-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink3);
  letter-spacing: 0.05em;
  padding-top: 0;
}
.hero-bg-text {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--jp);
  font-size: 22vw;
  font-weight: 700;
  color: rgba(0,0,0,0.03);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
}

/* ── SECTION BASE ── */
section { padding: 6rem 2.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag {
  font-size: 1.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: var(--tag-gap);
  display: block;
}
.section-title {
  font-family: var(--jp);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--ink2);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.8;
}
.section-sub.wide { max-width: none; }

/* ── PROBLEM ── */
#problem { background: var(--bg); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.problem-card {
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.problem-card.old-way {
  background: var(--bg2);
  border: 1px solid rgba(0,0,0,0.1);
}
.problem-footer {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink2);
}
.problem-card.new-way {
  background: var(--ink);
  color: #fff;
}
.problem-card-label {
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: block;
}
.problem-card.old-way .problem-card-label { color: var(--ink3); }
.problem-card.new-way .problem-card-label { color: #f4a261; }
.memorize-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 0 auto 1rem;
  max-width: 370px;
}
.jp-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--jp);
  font-size: 1rem;
  background: rgba(0,0,0,0.06);
  border-radius: 4px;
  font-weight: 400;
}
.jp-cell.dim { opacity: 0.25; }
.pain-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pain-list li {
  font-size: 0.85rem;
  color: var(--ink3);
  padding: 6px 10px;
  background: rgba(0,0,0,0.04);
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pain-list li::before { content: '×'; color: #c0392b; font-weight: 700; }
.rule-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rule-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.rule-item .jp-combo {
  font-family: var(--jp);
  font-size: 1.2rem;
  min-width: 80px;
  color: #fff;
}
.rule-item .arrow { color: #aaa; }
.rule-item .result-char {
  font-family: var(--jp);
  font-size: 1.4rem;
  color: #f4a261;
  font-weight: 700;
}
.rule-item .desc { font-size: 0.78rem; color: #aaa; margin-left: auto; }

/* ── INNOVATION / COMBO ── */
#innovation { background: #fff; }
.combo-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}
.formula-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.formula-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: default;
}
.formula-block:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(200,64,27,0.08);
}
.formula-block .keys {
  font-family: var(--jp);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 100px;
}
.key-box {
  background: var(--bg2);
  color: var(--ink);
  border: 1px solid rgba(0,0,0,0.15);
  border-bottom: 3px solid rgba(0,0,0,0.2);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 1.1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.key-box.mute,
.key-box.dn {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
/* ○(무음키 U+25CB)·↓(작은글자키 U+2193) 기호는 Arial 등 라틴 폰트에 '작은 글리프'로 존재해서,
   --jp 스택의 맨 앞 Arial이 먼저 잡히면 옆의 전각 가나(あ·や·ん)보다 작게 보인다.
   가나와 동일하게 전각으로 렌더되도록 CJK 폰트를 우선 지정한다. */
.key-box.mute,
.key-box.dn,
.k.mute-key,
.k.dn-key {
  font-family: 'Noto Sans KR', 'Noto Serif JP', 'Malgun Gothic', 'Yu Gothic', 'Hiragino Sans', sans-serif;
}
.plus-sign { font-size: 1rem; color: var(--ink3); font-weight: 300; }
.formula-arr { font-size: 1.2rem; color: var(--ink3); }
.formula-result {
  font-family: var(--jp);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 2rem;
}
.formula-note { font-size: 0.72rem; color: var(--ink3); margin-left: auto; text-align: right; }
/* combo table */
.combo-table-wrap { overflow-x: auto; }
.combo-table {
  border-collapse: collapse;
  width: 100%;
  font-family: var(--jp);
}
.combo-table th {
  font-family: var(--jp);
  font-size: 1rem;
  color: var(--ink);
  font-weight: 700;
  background: var(--bg2);
  padding: 8px 10px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.08);
}
.combo-table td {
  width: 52px;
  height: 52px;
  text-align: center;
  font-size: 1.1rem;
  border: 1px solid rgba(0,0,0,0.06);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border-radius: 4px;
  position: relative;
}
.combo-table td:empty { background: #fff; cursor: default; }
.combo-table td:not(:empty):hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.08);
  z-index: 1;
  box-shadow: 0 4px 12px rgba(200,64,27,0.25);
}
.combo-table td.header-col {
  /* 첫 열에는 ○(U+25CB)·↓(U+2193)이 섞여 있어 var(--jp)(Arial 우선)이면 작게 보인다.
     가나와 동일하게 전각으로 렌더되도록 CJK 폰트 우선 지정. */
  font-family: 'Noto Sans KR', 'Noto Serif JP', 'Malgun Gothic', 'Yu Gothic', 'Hiragino Sans', sans-serif;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--ink);
  font-weight: 700;
  background: var(--bg2);
  cursor: default;
  border: 1px solid rgba(0,0,0,0.08);
}
.combo-table td.header-col:hover { background: var(--bg2); transform: none; box-shadow: none; color: var(--ink); }

/* ── PHILOSOPHY ── */
#philosophy { background: var(--bg); }
.philo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
}
.philo-col {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.philo-col.old { background: var(--bg2); }
.philo-col.new { background: var(--ink); color: #fff; }
.philo-col-label {
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.philo-col.old .philo-col-label { color: var(--ink3); }
.philo-col.new .philo-col-label { color: #f4a261; }
.philo-tagline {
  font-family: var(--jp);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.philo-col.new .philo-tagline { color: #f4a261; }
.compare-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.9rem;
}
.philo-col.old .compare-row { border-color: rgba(0,0,0,0.07); }
.compare-row .jp { font-family: var(--jp); font-size: 1.2rem; min-width: 40px; }
.compare-row .desc {flex: 1; text-align: center; color: inherit; opacity: 0.7; font-size: 0.82rem; }
.compare-row .tag-bad {
  margin-left: auto;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(192,57,43,0.12);
  color: #c0392b;
  white-space: nowrap;
}
.compare-row .tag-good {
  margin-left: auto;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(244,162,97,0.18);
  color: #f4a261;
  white-space: nowrap;
}
.philo-footer {
  text-align: center;
  margin-top: 0.5rem;
}

/* ── PATENTS ── */
#patents { background: #fff; }
.patents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.patent-card {
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  container-type: inline-size; /* 자식 글자를 카드 폭 기준으로 스케일 */
}
.patent-flag { font-size: 2.5rem; line-height: 1; }
.patent-country { font-size: 1rem; font-weight: 500; margin-bottom: 2px; }
.patent-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}
.patent-status.done { background: #e6f4ea; color: #1e7e34; font-weight: 700 }
.patent-status.pending { background: #fff3cd; color: #856404; }
.patent-desc { font-size: 0.82rem; color: var(--ink3); line-height: 1.6; }
.patent-quote {
  grid-column: 1 / -1;
  padding: 2rem 2.5rem;
  border-left: 4px solid var(--accent);
  background: var(--bg);
  border-radius: 0 10px 10px 0;
  font-family: var(--jp);
  font-size: 1.35rem;
  line-height: 1.8;
  color: var(--ink2);
}
.patent-quote cite {
  display: block;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink3);
  margin-top: 0.75rem;
  font-style: normal;
}
.patent-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.patent-head .patent-status {
  margin-left: 12px;
}

/* ── DEMO ── */
#demo { background: var(--bg); }
.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  gap: 3rem;
  align-items: center;
}
/* interactive demo */
.demo-phone {
  background: var(--ink);
  border-radius: 28px;
  padding: 2rem 1.2rem 1.4rem;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 32px 64px rgba(0,0,0,0.2);
  position: relative;
}
.demo-phone-bar {
  width: 60px; height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}
.demo-display {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  min-height: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 10px 4px;
}
.demo-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 6px;
  min-height: 0;
}
.demo-clear {
  display: none;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 5px 14px;
  font-family: var(--sans);
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.demo-clear:hover { background: rgba(200,64,27,0.28); color: #fff; border-color: var(--accent); }
.demo-clear:active { transform: scale(0.96); }
.demo-clear.show { display: inline-flex; }
.demo-char {
  font-family: var(--jp);
  font-size: 2.25rem;
  line-height: 1;
  color: #fff;
  animation: popIn 0.2s ease;
}
.demo-cursor {
  width: 2px; height: 32px;
  background: var(--accent);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes popIn { from{transform:scale(0.7);opacity:0} to{transform:scale(1);opacity:1} }
.demo-hint {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-bottom: 1rem;
  height: 18px;
}
.keyboard-area {
  background: #c7cbd1;
  border-radius: 11px;
  padding: 8px 5px 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.key-row {
  display: flex;
  gap: 6px;
  justify-content: center;
}
/* 제1부분 키(자음/무음) — 흰색 */
.k {
  flex: 1 1 0;
  min-width: 0;
  height: 42px;
  border-radius: 6px;
  background: #fff;
  border: none;
  box-shadow: 0 1px 1px rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--jp);
  font-size: 1.15rem;
  color: #141414;
  cursor: pointer;
  transition: background 0.12s, transform 0.08s, box-shadow 0.08s;
  user-select: none;
  -webkit-user-select: none;
}
.k:hover { background: #f1f1f3; }
.k:active { transform: translateY(1px); box-shadow: none; background: #e2e3e6; }
/* 선택된 제1키 강조 */
.keyboard-area .k.pending { background: var(--accent); color: #fff; box-shadow: 0 0 0 2px rgba(200,64,27,0.35); }
/* 제2부분 키(모음) — 연한 회색 */
.k.vow { background: #e5e7ea; }
.k.vow:hover { background: #d9dce0; }
/* 무음키 ○ */
.k.mute-key { background: #fff; color: var(--accent); font-weight: 700; }
/* ↓ 작은글자 모디파이어 — 박스, 진회색 */
.k.dn-key {
  flex: 1.25 1 0;
  background: #a7adb5;
  border: 1.5px solid #6d747c;
  color: #141414;
  font-size: 1.2rem;
}
.k.dn-key:hover { background: #99a0a8; }
/* 기능키 — 진회색 */
.k.fn {
  background: #a7adb5;
  font-family: var(--sans);
  font-size: 0.86rem;
  color: #141414;
}
.k.fn:hover { background: #99a0a8; }
.k.fn:active { background: #8b929b; }
.k.fn.fn-sm { font-size: 0.76rem; }
.k.fn.fn-ret { flex: 1.3 1 0; }
.k.del-key { flex: 1.25 1 0; font-size: 1.05rem; }
.k.space { flex: 3.6 1 0; font-size: 0.84rem; letter-spacing: 0.02em; color: #2a2a2a; }
.k.kata-active { background: var(--accent); color: #fff; }
.k.kata-active:hover { background: var(--accent); }
.demo-steps { display: flex; flex-direction: column; gap: 1.25rem; }
.demo-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 1.25rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
}
.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content h4 { font-size: 0.9rem; font-weight: 500; margin-bottom: 3px; }
.step-content p { font-size: 0.82rem; color: var(--ink3); }
.step-example {
  font-family: var(--jp);
  font-size: 1.2rem;
  color: var(--accent);
  margin-top: 6px;
  font-weight: 700;
}

/* ── EDUCATION ── */
#education { background: #fff; }
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.edu-card {
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.edu-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(200,64,27,0.08);
}
.edu-icon { font-size: 2rem; line-height: 1; }
.edu-title { font-size: 1rem; font-weight: 500; }
.edu-desc { font-size: 0.85rem; color: var(--ink3); line-height: 1.7; }
.edu-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.edu-tag {
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: 20px;
  background: var(--bg2);
  color: var(--ink2);
  font-weight: 500;
}
.edu-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg);
  border-radius: 10px;
}
.stat-num {
  font-family: var(--jp);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.82rem; color: var(--ink3); }
#education .section-sub {
  max-width: none;
}

/* ── ABOUT ── */
#about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}
.about-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.about-avatar {
  margin-bottom: 0;   /* 가로 배치라 아래 여백 제거 */
}
.about-role {
  margin-bottom: 0;   /* 간격은 .about-header가 담당 */
}
.about-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  overflow: hidden;          /* 사각 SVG를 원형으로 잘라줌 */
  margin-bottom: 0rem;
  border: 2px solid #222b45; /* 발명자 로고 원형 테두리 */
}
.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-name { font-size: 1.1rem; font-weight: 500; margin-bottom: 4px; }
.about-role { font-size: 0.82rem; color: var(--ink3); margin-bottom: 0rem; }
.about-story {
  font-size: 0.95rem;
  color: var(--ink2);
  line-height: 1.9;
}
.journey-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.journey-item {
  display: flex;
  gap: 20px;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.journey-item:last-child { border-bottom: none; }
.journey-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
  position: relative;
}
.journey-dot::after {
  content: '';
  position: absolute;
  left: 50%; top: 14px;
  transform: translateX(-50%);
  width: 1px;
  height: calc(100% + 1.5rem);
  background: rgba(0,0,0,0.1);
}
.journey-item:last-child .journey-dot::after { display: none; }
.journey-content h4 { font-size: 0.9rem; font-weight: 500; margin-bottom: 4px; }
.journey-content p { font-size: 0.82rem; color: var(--ink3); line-height: 1.7; }

/* ── CONTACT / FOOTER ── */
#contact {
  background: var(--ink);
  color: #fff;
  padding: 5rem 2.5rem;
  text-align: center;
}
#contact .section-tag { color: #f4a261; }
#contact .section-title { color: #fff; margin: 0 auto 1rem; max-width: 600px; }
#contact .section-sub { color: #aaa; margin: 0 auto 2.5rem; max-width: 500px; }
.contact-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-light {
  padding: 13px 28px;
  background: #fff;
  color: var(--ink);
  border: none;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}
.btn-light:hover { background: #f4a261; }
.btn-ghost {
  padding: 13px 28px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: #fff; }
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer .footer-logo { font-family: var(--jp); font-size: 1rem; color: rgba(255,255,255,0.5); }
footer .footer-links { display: flex; gap: 1.5rem; }
footer .footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
footer .footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ── SCROLL ANIM ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── CONSOLIDATED (former inline styles) ── */
/* brand name keeps mixed-case even inside uppercase labels */
.brand { text-transform: none; }
/* All2Tap의 '2'만 강조색 (본문 텍스트 공통) */
.brand-2 { color: var(--accent); }

/* hero left content stacking */
.hero-content { position: relative; z-index: 1; padding-top: var(--hero-top); }

/* problem: split check boxes (right card) */
.rule-item.rule-check {
  background: rgba(200,64,27,0.1);
  border: 1px solid rgba(200,64,27,0.2);
  color: #f4a261;
  font-size: 0.85rem;
  font-weight: 500;
}

/* combo: captions under table */
.combo-caption {
  font-size: 0.75rem;
  color: var(--ink3);
  margin-top: 10px;
  text-align: center;
}
.combo-mini-title {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 600;
  margin-top: 6px;
  text-align: center;
  font-family: var(--jp);
}
.combo-mini-title span { color: var(--accent); }

/* philosophy: old/new column variants */
.philo-col.old .philo-tagline { color: var(--ink2); }
.philo-col.new .compare-row { border-color: rgba(255,255,255,0.1); }
.philo-col.new .compare-row .jp { color: #f4a261; }
.philo-col.new .compare-row .desc { color: rgba(255,255,255,0.6); opacity: 1; }

/* patents: text-title flags + feature list */
.patent-flag.patent-name {
  font-weight: 700;
  white-space: nowrap;                       /* 무조건 한 줄 */
  font-size: clamp(1rem, 5cqi, 1.05rem);   /* 칸 폭에 맞춰 자동 축소(최대 1.05rem) */
}
.patent-feature-title { font-size: 1.5rem; text-indent: 20px; }
.patent-feature-desc { margin-bottom: 10px; text-indent: 45px; max-width: none; }

/* demo: key principle callout */
.demo-principle {
  padding: 1.25rem;
  background: rgba(200,64,27,0.06);
  border: 1px solid rgba(200,64,27,0.15);
  border-radius: 10px;
}
.demo-principle p { font-size: 0.85rem; color: var(--ink2); line-height: 1.7;}
.demo-principle strong { color: var(--accent); }

/* footer spacing utilities */
.footer-col p.footer-mt { margin-top: 0.75rem; }
.footer-col.links strong.footer-legal-head { margin-top: 1rem; }

/* ── RESPONSIVE ── */
@media (max-width: 800px) {
  .hero-grid, .problem-grid, .combo-section-grid,
  .philo-grid, .demo-grid, .about-grid, .patents-grid,
  .edu-grid, .edu-stats { grid-template-columns: 1fr; }
  .hero-flow { grid-column: auto; grid-row: auto; align-self: auto; }
  .flow-col { grid-template-columns: 1fr; }
  .flow-vs { display: none; }
  .nav-links { display: none; }
  .patents-grid { grid-template-columns: 1fr; }
}

/* ── ADDED: NAV 확장 + 모바일 ── */
.nav-links { gap: 1.5rem; }
.nav-link-ws { display: none; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: all 0.25s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 90; }
.mobile-overlay.open { display: block; }

/* ── ADDED: 소개 드롭다운 ── */
.nav-links li { position: relative; }
.nav-dd-toggle {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink2);
  background: none; border: none; cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; gap: 5px; transition: color 0.2s;
}
.nav-dd-toggle::after { content: '▾'; font-size: 0.75em; }
.nav-dd-toggle:hover { color: var(--accent); }
.dropdown { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 14px; z-index: 100; }
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown { display: block; }
.dropdown-inner { background: #fff; border: 1px solid rgba(0,0,0,0.1); border-radius: 10px; padding: 8px; min-width: 150px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.dropdown a { display: block; padding: 9px 14px; font-size: 0.82rem; text-transform: none; letter-spacing: 0; color: var(--ink2); border-radius: 6px; transition: background 0.2s, color 0.2s; }
.dropdown a:hover { background: var(--bg); color: var(--accent); }

/* ── ADDED: SERVICE ── */
#service { background: #fff; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.service-card { background: var(--bg); border: 1px solid rgba(0,0,0,0.1); border-radius: 12px; padding: 2.25rem; position: relative; transition: border-color 0.2s, transform 0.2s; }
.service-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.service-card .badge-new { position: absolute; top: 1.5rem; right: 1.5rem; background: var(--accent); color: #fff; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; }
.service-card h3 { font-family: var(--jp); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.35rem; }
.service-card h3 .svc-accent { color: var(--accent); }
.svc-sub { font-size: 0.72rem; color: var(--ink3); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.service-card > p { font-size: 0.9rem; color: var(--ink2); line-height: 1.8; margin-bottom: 1.5rem; }
.svc-features { list-style: none; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.svc-features li { font-size: 0.82rem; color: var(--ink2); display: flex; gap: 8px; align-items: center; }
.svc-features li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.svc-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-sm { padding: 9px 18px; border-radius: var(--radius); font-size: 0.8rem; font-weight: 500; font-family: var(--sans); text-decoration: none; cursor: pointer; border: none; display: inline-block; transition: all 0.2s; }
.btn-sm.solid { background: var(--ink); color: var(--bg); }
.btn-sm.solid:hover { background: var(--accent); }
.btn-sm.line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink2); }
.btn-sm.line:hover { border-color: var(--accent); color: var(--accent); }

/* ── ADDED: BOARD ── */
#board { background: var(--bg); }
.board-list { display: flex; flex-direction: column; gap: 12px; }
.board-row { background: #fff; border: 1px solid rgba(0,0,0,0.1); border-radius: 10px; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; transition: border-color 0.2s; }
.board-row:hover { border-color: var(--accent); }
.bd-name { font-weight: 500; font-size: 0.95rem; margin-bottom: 3px; }
.bd-desc { font-size: 0.8rem; color: var(--ink3); }
.board-meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.os-tag { font-size: 0.7rem; font-weight: 500; padding: 2px 9px; border-radius: 100px; background: var(--bg2); color: var(--ink2); }
.bd-date { font-size: 0.72rem; color: var(--ink3); }
.dl-btn { padding: 9px 18px; border-radius: var(--radius); background: var(--ink); color: var(--bg); font-size: 0.8rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background 0.2s; }
.dl-btn:hover { background: var(--accent); }
.board-notice { margin-top: 1.25rem; padding: 0.9rem 1.25rem; background: var(--bg2); border-left: 3px solid var(--accent); font-size: 0.82rem; color: var(--ink2); }
.board-notice a { color: var(--accent); font-weight: 500; }

/* ── ADDED: QNA ── */
#qna { background: #fff; }
.qna-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--bg); border: 1px solid rgba(0,0,0,0.1); border-radius: 10px; padding: 1.1rem 1.25rem; cursor: pointer; transition: border-color 0.2s; }
.faq-item:hover, .faq-item.open { border-color: var(--accent); }
.faq-q { display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; font-weight: 500; gap: 12px; }
.faq-q::after { content: '+'; color: var(--accent); font-size: 1.1rem; flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid rgba(0,0,0,0.08); font-size: 0.82rem; color: var(--ink2); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }
.contact-card { background: var(--bg); border: 1px solid rgba(0,0,0,0.1); border-radius: 12px; padding: 2rem; }
.contact-card h3 { font-family: var(--jp); font-size: 1.15rem; font-weight: 700; margin-bottom: 1.25rem; }
.contact-form { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 11px 14px; border: 1.5px solid rgba(0,0,0,0.15); border-radius: var(--radius); font-family: var(--sans); font-size: 0.85rem; color: var(--ink); background: #fff; outline: none; transition: border-color 0.2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-submit { padding: 12px; border-radius: var(--radius); background: var(--ink); color: var(--bg); font-weight: 500; font-size: 0.85rem; border: none; cursor: pointer; font-family: var(--sans); transition: background 0.2s; }
.contact-submit:hover { background: var(--accent); }
.contact-note { margin-top: 1rem; font-size: 0.78rem; color: var(--ink3); text-align: center; }
.contact-note a { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── ADDED: FOOTER (full) ── */
.footer-full { background: var(--ink); border-top: 1px solid rgba(255,255,255,0.07); padding: 3rem 2.5rem 1.5rem; }
.footer-full-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.ff-logo { font-family: var(--jp); font-size: 1.2rem; color: #fff; margin-bottom: 0.75rem; }
.footer-col p { font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.8; }
.footer-col p strong { color: rgba(255,255,255,0.75); font-weight: 500; }
.footer-col.links strong { color: #fff; font-size: 0.82rem; font-weight: 500; display: block; margin-bottom: 0.5rem; }
.footer-col.links a { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.45); text-decoration: none; line-height: 2; transition: color 0.2s; }
.footer-col.links a:hover { color: #f4a261; }
.footer-copy { max-width: 1100px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; font-size: 0.72rem; color: rgba(255,255,255,0.25); }
.footer-copy a { color: rgba(255,255,255,0.35); }

@media (max-width: 800px) {
  nav { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .service-grid, .qna-grid { grid-template-columns: 1fr; }
  .hamburger { display: block; z-index: 120; }
  .nav-cta { display: none; }
  .nav-link-ws { display: block; }
  .nav-links {
    display: flex !important; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(280px, 80vw); background: var(--bg);
    padding: 72px 1.25rem 2rem; gap: 0;
    transform: translateX(100%); transition: transform 0.28s;
    z-index: 110; box-shadow: -4px 0 24px rgba(0,0,0,0.15); overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 12px 14px; border-radius: 8px; font-size: 0.92rem; text-transform: none; letter-spacing: 0; }
  .nav-link-ws { color: var(--accent) !important; font-weight: 500; }
  .nav-dd-toggle { width: 100%; justify-content: flex-start; padding: 12px 14px; font-size: 0.92rem; text-transform: none; letter-spacing: 0; }
  .dropdown { display: block !important; position: static; transform: none; padding-top: 0; }
  .dropdown-inner { background: none; border: none; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; }
  .dropdown a { padding: 10px 14px; font-size: 0.88rem; }
}

/* ── ADDED: 멀티페이지 nav active + 서브페이지 상단 여백 ── */
.nav-links a.active { color: var(--accent); }
.nav-dd-toggle.active { color: var(--accent); }

.text-bold {
  font-weight: 700;
}

.text-accent {
  color: var(--accent);
}

.text-highlight {
  font-weight: 700;
  color: var(--accent);
}
.text-gold {
  color: #f4a261;
}
.text-big {
  font-size: 1.2em;
}
/* ── LANGUAGE SWITCHER (한국어 · 日本語 · English) ── */
.nav-right { display: flex; align-items: center; gap: 1.25rem; }
.lang-switch { display: flex; align-items: center; gap: 0.5rem; font-family: var(--sans); font-size: 0.78rem; }
.lang-switch a { color: var(--ink3); text-decoration: none; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap; transition: color 0.2s; }
.lang-switch a:hover { color: var(--accent); }
.lang-switch a.lang-active { color: var(--ink); font-weight: 700; }
.lang-switch a:not(:last-child)::after { content: "·"; margin-left: 0.5rem; color: rgba(0,0,0,0.28); font-weight: 400; }
@media (max-width: 800px) {
  .nav-right { gap: 0.6rem; }
  .lang-switch { font-size: 0.72rem; gap: 0.4rem; }
  .lang-switch a:not(:last-child)::after { margin-left: 0.4rem; }
}
