/* 가닥 홈페이지 — Gadoc 디자인 규칙(ios/Gadoc/Design/Theme.swift)을 따르되, 웹은 필름 사진과 어울리는
   자연스러운 웜 톤으로 대비를 낮춘다.
   - 웜 아이보리 바탕, 로고와 같은 웜 블랙(#231f20) 글자, 깊은 소나무 녹색·웜 차콜 패널
   - 유채색 accent는 로즈 하나. 강조 단어·막대·작은 표식에만 쓰고, 주 버튼은 연한 블러시 면 + 먹 테두리
   - 그라디언트 금지(사진 위 글자를 위한 평평한 어둡게 깔기만 쓴다). 모서리는 넉넉하게, 버튼·칩은 알약
   - 장식 도형은 로고의 사각·원 블록만. 앱 목업(.phone)은 실제 앱 색을 그대로 쓴다
   - 다크 모드는 두지 않는다(시스템 설정과 무관하게 항상 라이트) */

:root {
  --paper: #f5f2ea;
  --card: #fffdf8;
  --ink: #231f20;
  --ink-2: #4a4540;
  --subtle: #7a746b;
  --faint: #aaa398;
  --line: #e4ded2;
  --sand: #ebe5d9;
  --chip: #e0d9cc;
  /* 큰 글자·도형·막대용 로즈. 작은 글자는 --accent-text(아이보리 위 5:1) */
  --accent: #d94f69;
  --accent-text: #b13f57;
  --blush: #f5cfd7;
  --blush-hover: #f0bfca;
  --green: #1f3a32;
  --charcoal: #262220;
  --ribbon: #1f3a32;

  --shadow: 0 1px 2px rgba(70, 55, 35, 0.05), 0 10px 30px rgba(70, 55, 35, 0.07);
  --shadow-lift: 0 2px 4px rgba(70, 55, 35, 0.06), 0 24px 60px rgba(70, 55, 35, 0.14);

  --r-card: 20px;
  --r-panel: clamp(28px, 4.4vw, 56px);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --panel-inset: clamp(8px, 1.2vw, 16px);
  --nav-h: 60px;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* 라이트 전용 사이트. 'only'는 브라우저의 강제 다크 변환도 막는다 */
  color-scheme: only light;
}


/* ───────── base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 28px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }
.i { width: 1.1em; height: 1.1em; flex: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ───────── type ───────── */
.h1 {
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.h2 {
  font-size: clamp(32px, 4.8vw, 60px);
  font-weight: 690;
  line-height: 1.16;
  letter-spacing: -0.04em;
}
.h2--xl { font-size: clamp(36px, 6vw, 76px); }
.h1 em, .h2 em, .app-greet em, .footer__tagline em { font-style: normal; color: var(--accent); }
.eyebrow {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 18px;
}
.eyebrow--ko { letter-spacing: 0.02em; text-transform: none; font-size: 15px; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 36em; margin-top: 22px; line-height: 1.65; }
.footnote { margin-top: 40px; font-size: 13px; color: var(--subtle); line-height: 1.6; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px; border-radius: 999px;
  background: var(--sand); color: var(--ink-2);
  font-size: 13px; font-weight: 600; letter-spacing: 0;
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 15px; color: var(--ink); }
.link .i { transition: transform 0.25s var(--ease-out); }
.link:hover .i { transform: translateX(3px); }

/* ───────── buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 15px; font-weight: 650; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.2s var(--ease-out), background-color 0.2s, box-shadow 0.2s;
  touch-action: manipulation;
}
.btn--primary { background: var(--blush); color: #231f20; box-shadow: inset 0 0 0 1.5px #231f20; }
.btn--primary:hover { background: var(--blush-hover); transform: translateY(-1px); }
.btn--primary:active { transform: scale(0.97); }
.btn--lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn--lg .i { transition: transform 0.25s var(--ease-out); }
.btn--lg:hover .i { transform: translateX(3px); }

/* ───────── announcement ───────── */
.announce { background: var(--green); color: #f3efe6; font-size: 14px; font-weight: 550; }
.announce a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 8px var(--gutter); text-align: center; }
.announce__dot { width: 7px; height: 7px; border-radius: 50%; background: #ef8299; flex: none; }
.announce__more { display: inline-flex; align-items: center; gap: 2px; opacity: 0.7; font-weight: 600; }
.announce a:hover .announce__more { opacity: 1; }
@media (max-width: 560px) { .announce__more { display: none; } .announce { font-size: 13px; } }

/* ───────── nav ───────── */
.nav { position: sticky; top: 12px; z-index: 50; padding: 0 var(--gutter); margin-top: 12px; }
.nav__bar {
  position: relative;
  max-width: 1080px; height: var(--nav-h); margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  padding: 0 8px 0 20px;
  background: var(--card);
  background: color-mix(in srgb, var(--card) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.nav.is-scrolled .nav__bar { box-shadow: var(--shadow); }
.nav__logo { color: var(--ink); flex: none; }
/* 로고 SVG는 비율을 직접 준다(Safari의 height:auto 계산에 기대지 않음), 반올림으로 잘리지 않게 overflow는 연다 */
.nav__logo svg, .app-logo, .footer__logo { aspect-ratio: 756 / 165; overflow: visible; }
.nav__logo svg { width: 96px; height: auto; }
.seg { position: relative; display: flex; padding: 4px; border-radius: 999px; background: var(--sand); margin-left: 6px; }
.seg a { position: relative; z-index: 1; padding: 6px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 650; color: var(--subtle); transition: color 0.25s; }
.seg a:hover, .seg a.is-active { color: var(--ink); }
.seg__thumb {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0;
  border-radius: 999px; background: var(--card); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  opacity: 0; transition: transform 0.45s var(--ease-out), width 0.45s var(--ease-out), opacity 0.25s;
}
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { padding: 8px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 550; color: var(--subtle); transition: color 0.2s, background-color 0.2s; }
.nav__links a:hover { color: var(--ink); background: var(--sand); }
.nav__cta { flex: none; }
.nav__menu { display: none; width: 44px; height: 44px; border-radius: 14px; position: relative; margin-left: auto; }
.nav__menu span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.3s var(--ease-out); }
.nav__menu span:first-child { top: 18px; }
.nav__menu span:last-child { top: 25px; }
.nav__menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.sheet {
  max-width: 1080px; margin: 8px auto 0; padding: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lift);
  display: grid;
}
.sheet[hidden] { display: none; }
.sheet a { padding: 14px 16px; border-radius: 14px; font-size: 17px; font-weight: 600; }
.sheet a:active { background: var(--sand); }

@media (max-width: 1020px) { .nav__links { display: none; } .nav__cta { margin-left: auto; } }
@media (max-width: 760px) {
  .seg, .nav__cta { display: none; }
  .nav__menu { display: block; }
  .nav__bar { padding: 0 6px 0 18px; }
  .nav__logo svg { width: 88px; }
}
@media (min-width: 761px) { .sheet { display: none !important; } }

/* ───────── reveal ───────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ───────── hero ───────── */
.hero { position: relative; padding: clamp(48px, 8vh, 104px) var(--gutter) 0; text-align: center; overflow: hidden; }
.hero__title { max-width: 14em; margin: 0 auto; }
.hero__lede { max-width: 36em; margin: 26px auto 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); line-height: 1.65; }
.hero__cta { margin-top: 34px; display: flex; justify-content: center; }
.hero__note { margin-top: 16px; font-size: 14px; color: var(--subtle); }
.br-wide { display: none; }
@media (min-width: 880px) { .br-wide { display: inline; } }

.flow { position: relative; left: 50%; width: max(100%, 980px); transform: translateX(-50%); margin-top: clamp(8px, 3vw, 36px); }
.flow__svg { width: 100%; height: auto; overflow: visible; }
.flow__raw { font-size: 22px; font-weight: 500; fill: var(--faint); letter-spacing: -0.01em; }
.flow__raw .pii { fill: var(--ink); font-weight: 700; }
.flow__ribbon { fill: none; stroke: var(--ribbon); stroke-width: 52; stroke-linecap: round; }
.flow__clean { font-size: 20px; font-weight: 600; fill: #f3efe6; letter-spacing: -0.01em; }
.flow__clean .tok { fill: #f5a9b8; font-weight: 700; }
.flow__pill rect { fill: var(--card); stroke: var(--ink); stroke-width: 2.5; }
.flow__mark > * { fill: var(--ink); animation: piece 2.4s var(--ease-in-out) infinite; }
.flow__mark > :nth-child(1) { animation-delay: 0s; }
.flow__mark > :nth-child(2) { animation-delay: 0.2s; }
.flow__mark > :nth-child(5) { animation-delay: 0.4s; }
.flow__mark > :nth-child(4) { animation-delay: 0.6s; }
.flow__mark > :nth-child(3) { animation-delay: 0.8s; }
.flow__mark > :nth-child(6) { animation-delay: 1s; }
@keyframes piece { 0%, 60%, 100% { opacity: 1; } 25% { opacity: 0.18; } }
.flow__label { font-size: 21px; font-weight: 750; fill: var(--ink); letter-spacing: -0.02em; }
.flow__caption { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 4px auto 0; padding-bottom: clamp(56px, 9vw, 112px); font-size: 14.5px; color: var(--subtle); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: breathe 2.2s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.6); opacity: 0.5; } }
@media (max-width: 560px) { .flow__caption { font-size: 13px; padding-inline: 8px; } }

/* ───────── sections & panels ───────── */
.section { padding: clamp(80px, 11vw, 160px) 0; }
.panel {
  position: relative;
  margin: 0 var(--panel-inset);
  padding: clamp(72px, 10vw, 140px) 0;
  border-radius: var(--r-panel);
  overflow: hidden;
}
.panel--ink, .panel--green {
  --ink: #f3efe6;
  --ink-2: #d9d3c7;
  --line: rgba(243, 239, 230, 0.14);
  --accent: #ef8299;
  --accent-text: #f29bad;
  color: var(--ink);
}
.panel--green { background: var(--green); --card: #29473e; --sand: #2f4d44; --chip: #3a574d; --subtle: #a8b7af; --faint: #6c857c; }
.panel--ink { background: var(--charcoal); --card: #312d2a; --sand: #383430; --chip: #423d38; --subtle: #a69f94; --faint: #6d665d; }
.panel--card { background: var(--card); box-shadow: var(--shadow); }

/* ───────── stats ───────── */
.stats { display: grid; gap: 32px 28px; margin-top: 64px; }
.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats li { display: flex; flex-direction: column; gap: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.stats b {
  font-size: clamp(44px, 5.4vw, 68px); font-weight: 680; line-height: 1;
  letter-spacing: -0.045em; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.stats span { font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.stats small { font-size: 13.5px; color: var(--subtle); line-height: 1.5; }
.u { font-size: 0.5em; font-weight: 680; letter-spacing: -0.02em; margin-left: 0.08em; }
.bcard .u { font-size: 1em; font-weight: inherit; margin: 0; }
.stats--sm b { font-size: clamp(34px, 3.6vw, 44px); }
.stats--xl b { font-size: clamp(38px, 4.4vw, 60px); }
@media (max-width: 880px) { .stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .stats { gap: 28px 18px; } .stats span { font-size: 14.5px; } }

/* ───────── why ───────── */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); margin-top: 48px; max-width: 980px; }
.why__item h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.35; }
.why__item p { margin-top: 12px; color: var(--ink-2); }
.why .stats b { color: var(--ink); }
.why .stats li:first-child b { color: var(--accent); }
@media (max-width: 760px) { .why__grid { grid-template-columns: 1fr; } }

/* ───────── about / products ───────── */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.product {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.product__shape { width: 44px; height: 44px; margin-bottom: 18px; background: var(--ink); }
.product__shape--circle { border-radius: 50%; background: var(--accent); }
.product__shape--ring { border-radius: 50%; background: none; box-shadow: inset 0 0 0 10px var(--ink); }
.product h3 { font-size: 22px; font-weight: 720; letter-spacing: -0.03em; }
.product p { color: var(--ink-2); font-size: 16px; flex: 1; }
.product .link { margin-top: 10px; }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }

/* system map */
.sys { margin-top: 24px; padding: clamp(20px, 3vw, 40px); border-radius: calc(var(--r-card) + 6px); background: var(--card); box-shadow: var(--shadow); }
.sys__grid {
  display: grid;
  grid-template-columns: 104px 44px minmax(0, 1fr) 148px minmax(0, 1fr) 44px 112px;
  grid-template-areas:
    "pt a1 app a2 ai a3 res"
    ". . v1 . v2 . ."
    ". . car doc db . .";
  grid-template-rows: auto 64px auto;
  align-items: center;
}
.sys figcaption, .sys > figcaption { margin-top: 20px; }
.sys figcaption { font-size: 14px; color: var(--subtle); }
.sys__node { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 86px; padding: 12px 8px; border-radius: 16px; text-align: center; }
.sys__node b { font-size: 17px; font-weight: 720; }
.sys__node span { font-size: 13px; opacity: 0.72; }
.sys__node--ink { background: var(--ink); color: var(--paper); }
.sys__node--outline { border: 2px solid var(--ink); }
.sys__node--doc { justify-self: center; width: 92px; position: relative; }
.sys__group { padding: 16px; border-radius: 18px; background: var(--sand); display: grid; gap: 8px; }
.sys__group h4 { font-size: 15px; font-weight: 750; padding: 0 4px 4px; }
.sys__group p { font-size: 13.5px; color: var(--ink-2); padding: 0 4px; line-height: 1.55; }
.sys__group strong { font-weight: 700; color: var(--ink); }
.sys__box { padding: 10px 14px; border-radius: 12px; background: var(--card); display: grid; gap: 1px; }
.sys__box b { font-size: 14.5px; font-weight: 700; }
.sys__box span { font-size: 12.5px; color: var(--subtle); }

.sys__arrow { position: relative; height: 40px; display: flex; align-items: center; justify-content: center; }
.sys__arrow::before { content: ""; position: absolute; left: 6px; right: 8px; top: 50%; height: 2px; margin-top: -1px; background: var(--ink); }
.sys__arrow::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); }
.sys__arrow em { position: relative; z-index: 1; font-style: normal; font-size: 12.5px; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--ink); }
.sys__arrow i { position: absolute; left: 6px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--faint); animation: travel-x 2.6s var(--ease-in-out) infinite; }
.sys__arrow--accent i { background: var(--accent); }
@keyframes travel-x { 0% { left: 6px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 16px); opacity: 0; } }
.sys__arrow--m { display: none; }

.sys__vline { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }
.sys__vline::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 50%; width: 2px; margin-left: -1px; background: var(--ink); }
.sys__vline::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-bottom: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); }
.sys__vline--up::after { bottom: auto; top: 6px; transform: rotate(-135deg); }
.sys__vline em { position: relative; left: 56px; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--subtle); white-space: nowrap; background: var(--card); padding: 2px 6px; }
.sys__node--doc::before, .sys__node--doc::after { content: ""; position: absolute; top: 50%; height: 2px; width: 22px; background: var(--ink); }
.sys__node--doc::before { right: 100%; margin-right: 6px; }
.sys__node--doc::after { left: 100%; margin-left: 6px; }

@media (max-width: 1000px) {
  .sys__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "pt" "a1" "app" "a2" "ai" "a3" "res" "v1" "car" "a4" "doc" "a5" "db" "v2";
    max-width: 460px; margin: 0 auto;
  }
  .sys__node { min-height: 64px; }
  .sys__arrow { height: 44px; }
  .sys__arrow::before { left: 50%; right: auto; top: 6px; bottom: 10px; width: 2px; height: auto; margin: 0 0 0 -1px; }
  .sys__arrow::after { right: auto; left: 50%; top: auto; bottom: 8px; margin: 0 0 0 -4px; transform: rotate(135deg); }
  .sys__arrow i { left: 50%; top: 6px; margin: 0 0 0 -3.5px; animation-name: travel-y; }
  .sys__arrow--accent { height: 56px; }
  .sys__arrow--m { display: flex; }
  .sys__node--doc { width: 100%; }
  .sys__node--doc::before, .sys__node--doc::after { display: none; }
  .sys__vline { height: 44px; margin-top: 12px; }
  .sys__vline::before, .sys__vline::after { display: none; }
  .sys__vline em { left: 0; padding: 4px 12px; border-radius: 999px; background: var(--sand); color: var(--ink-2); }
  .sys__vline:not(.sys__vline--up) em::before { content: "Gadoc App → "; }
  .sys__vline--up em::before { content: "Database → Gadoc AI · "; }
}
@keyframes travel-y { 0% { top: 6px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 18px); opacity: 0; } }

/* ───────── how it works (sticky) ───────── */
.howto { padding-top: clamp(64px, 8vw, 120px); }
.howto__head { text-align: center; }
.howto__head .h2 { margin: 0 auto; }
.howto__track { position: relative; height: 330svh; margin-top: 8px; }
.howto__stage {
  position: sticky; top: 0; height: 100svh;
  max-width: var(--wrap); margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 32px;
  display: grid; grid-template-columns: 210px auto minmax(0, 1fr);
  align-items: center; gap: clamp(28px, 4vw, 64px);
}
.howto__steps { display: grid; gap: 4px; align-self: center; }
.howto__steps button {
  display: flex; align-items: baseline; gap: 10px; width: 100%;
  padding: 10px 0 10px 18px; text-align: left;
  font-size: 15.5px; font-weight: 600; color: var(--faint); line-height: 1.4;
  border-left: 2px solid var(--line); transition: color 0.3s, border-color 0.3s;
}
.howto__steps button span { font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.howto__steps button:hover { color: var(--subtle); }
.howto__steps button[aria-current="step"] { color: var(--ink); border-left-color: var(--accent); }

.howto__copy { position: relative; min-height: 300px; }
.howto__item { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(16px); transition: opacity 0.45s var(--ease-out), transform 0.6s var(--ease-out); pointer-events: none; }
.howto__item.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0.08s; }
.howto__item h3 { margin-top: 18px; font-size: clamp(28px, 3vw, 40px); font-weight: 690; letter-spacing: -0.04em; line-height: 1.2; }
.howto__item p { margin-top: 16px; font-size: 17px; color: var(--ink-2); max-width: 26em; }
.howto__item .howto__more { font-size: 15.5px; color: var(--subtle); padding-left: 14px; border-left: 2px solid var(--line); }
.no-js-steps .howto__item { position: static; opacity: 1; transform: none; margin-bottom: 40px; }

/* phone */
/* 폰 뒤 필름 사진 — 단계마다 바뀐다 */
.howto__visual { position: relative; isolation: isolate; display: grid; place-items: center; padding: clamp(28px, 5vh, 56px) clamp(48px, 7vw, 112px); border-radius: 32px; overflow: hidden; background: var(--sand); }
.howto__photo { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.9s var(--ease-out); }
.howto__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s var(--ease-out); }
.howto__photo.is-active { opacity: 1; }
.howto__photo.is-active img { transform: none; }
.phone-wrap { --ph: min(580px, calc(100svh - var(--nav-h) - 210px)); height: var(--ph); width: calc(var(--ph) * 0.4875); position: relative; }
.phone {
  /* 앱 화면은 라이트 모드 고정 */
  --paper: #f6f6f6; --card: #ffffff; --ink: #121212; --ink-2: #3d3d3d; --subtle: #737373; --faint: #a3a3a3; --line: #e6e6e6; --sand: #eeeeee;
  --accent: #e8385e; --accent-strong: #cc2d51; --accent-text: #cc2d51;
  position: absolute; left: 0; top: 0; width: 312px; height: 640px;
  transform-origin: 0 0; transform: scale(var(--ps, 1));
  border-radius: 52px; background: #0c0c0c; padding: 11px;
  box-shadow: 0 0 0 1.5px #2a2a2a, 0 40px 80px -30px rgba(0, 0, 0, 0.35), 0 12px 30px -12px rgba(0, 0, 0, 0.2);
  color: var(--ink); letter-spacing: -0.02em; line-height: 1.4;
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: var(--paper); }
.sb { position: absolute; z-index: 5; left: 0; right: 0; top: 0; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 4px 28px 0 34px; font-size: 14.5px; font-weight: 700; }
.sb__island { position: absolute; left: 50%; top: 10px; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #0c0c0c; }

.screen { position: absolute; inset: 0; padding: 52px 16px 92px; opacity: 0; transform: translateY(14px) scale(0.985); transition: opacity 0.45s var(--ease-out), transform 0.6s var(--ease-out); }
.screen.is-active { opacity: 1; transform: none; }

/* home */
.app-logo { width: 62px; height: auto; margin: 6px auto 16px; color: var(--ink); }
.app-greet { font-size: 23px; font-weight: 760; letter-spacing: -0.045em; line-height: 1.28; padding: 0 4px; }
.app-input { margin-top: 12px; padding: 14px 14px 12px; border-radius: 20px; background: var(--card); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04); }
.app-input p { min-height: 40px; font-size: 14.5px; font-weight: 600; }
.caret { display: inline-block; width: 1.5px; height: 17px; margin-left: 1px; vertical-align: -3px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.app-pill { display: flex; width: max-content; margin-left: auto; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--accent-strong); color: #fff; font-size: 14px; font-weight: 700; }
.app-pill svg { width: 15px; height: 15px; }
.app-sub { margin: 14px 4px 8px; font-size: 14px; font-weight: 740; }
.app-list { display: grid; gap: 6px; }
.app-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 40px; padding: 0 10px 0 14px; border-radius: 14px; background: var(--card); font-size: 13.5px; font-weight: 600; }
.app-list em { font-style: normal; color: var(--accent-text); }
.app-list svg { width: 16px; height: 16px; color: var(--faint); }
.app-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.app-block { position: relative; height: 112px; padding: 12px 13px; border-radius: 18px; background: var(--card); display: flex; flex-direction: column; }
.app-block svg { width: 22px; height: 22px; }
.app-block b { margin-top: auto; font-size: 14px; font-weight: 740; line-height: 1.3; }
.app-block span { margin-top: 4px; font-size: 10.5px; color: var(--subtle); }
.app-block--ink { background: var(--ink); color: #fff; }
.app-block--ink span { color: rgba(255, 255, 255, 0.6); }
.app-block--ink svg { color: #fff; }

.tabbar { position: absolute; z-index: 6; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04); }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 1px; width: 64px; padding: 6px 0 5px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.tabbar svg { width: 21px; height: 21px; }
.tabbar .is-on { background: var(--sand); color: var(--accent-text); }

/* chat */
.app-head { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.app-head b { font-size: 16px; font-weight: 740; }
.app-head > span:last-child:empty { width: 36px; }
.app-round { width: 36px; height: 36px; border-radius: 50%; background: var(--card); display: grid; place-items: center; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06); }
.app-round svg { width: 18px; height: 18px; }
.app-round--accent { color: var(--accent-text); }
.app-progress { margin-top: 10px; font-size: 11.5px; font-weight: 700; }
.app-progress > span { display: flex; justify-content: space-between; color: var(--subtle); }
.app-progress em { font-style: normal; color: var(--accent-text); }
.app-progress i { display: block; height: 4px; margin-top: 6px; border-radius: 4px; background: var(--line); overflow: hidden; }
.app-progress b { display: block; height: 100%; width: 95%; border-radius: 4px; background: var(--accent); }
.chat { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.bubble { max-width: 84%; padding: 8px 12px; border-radius: 18px; background: var(--card); font-size: 12px; font-weight: 600; line-height: 1.45; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04); opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out); }
.bubble--me { align-self: flex-end; background: var(--ink); color: #fff; }
.screen--chat.is-active .bubble { opacity: 1; transform: none; transition-delay: calc(0.15s + var(--i) * 0.32s); }
.bubble .pii { filter: blur(3.6px); transition: filter 0.6s; }
.no-blur .bubble .pii { filter: none; }
.app-composer { position: absolute; left: 16px; right: 16px; bottom: 112px; display: flex; gap: 8px; align-items: center; }
.app-composer span { flex: 1; height: 40px; padding: 0 16px; display: flex; align-items: center; border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 600; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05); }
.app-composer i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-strong); color: #fff; }
.app-composer svg { width: 18px; height: 18px; }
.app-done { position: absolute; left: 0; right: 0; bottom: 90px; text-align: center; font-size: 11px; font-weight: 600; color: var(--subtle); }

/* map */
.screen--map { padding-bottom: 0; }
.app-rag { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; padding: 0 4px; }
.app-rag svg { width: 18px; height: 18px; color: var(--accent-text); flex: none; margin-top: 1px; }
.app-rag b { display: block; font-size: 12.5px; font-weight: 740; }
.app-rag span { display: block; font-size: 10.5px; color: var(--subtle); }
.map { position: absolute; left: 0; right: 0; top: 142px; bottom: 0; overflow: hidden; }
.map__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__land { fill: #e7e7e7; }
.map__park { fill: #d6d6d6; }
.map__road { stroke: #fff; stroke-width: 6; fill: none; }
.map__main { stroke: #fff; stroke-width: 11; fill: none; }
.map__top { position: absolute; left: 12px; right: 12px; top: 10px; display: grid; gap: 6px; }
.map__top p { justify-self: start; font-size: 10.5px; font-weight: 650; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); }
.map__chips { display: flex; gap: 5px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 3px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 700; background: rgba(255, 255, 255, 0.94); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06); }
.chip--on { background: var(--ink); color: #fff; }
.chip--sort { margin-left: auto; }
.chip svg { width: 12px; height: 12px; }
.pin { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--accent); border: 2.5px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.pin::before, .pin::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; border-radius: 1px; }
.pin::before { width: 9px; height: 2.4px; margin: -1.2px 0 0 -4.5px; }
.pin::after { width: 2.4px; height: 9px; margin: -4.5px 0 0 -1.2px; }
.pin--big { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.screen--map.is-active .pin { animation: drop 0.6s var(--ease-out) both; }
.screen--map.is-active .pin:nth-of-type(2) { animation-delay: 0.08s; }
.screen--map.is-active .pin:nth-of-type(3) { animation-delay: 0.16s; }
.screen--map.is-active .pin:nth-of-type(4) { animation-delay: 0.24s; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(0.6); } }
.map__me { position: absolute; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--accent-text); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }
.map__me svg { width: 15px; height: 15px; }
.hcard { position: absolute; z-index: 4; left: 12px; right: 12px; bottom: 82px; padding: 14px 14px 12px; border-radius: 20px; background: var(--card); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); transform: translateY(20px); opacity: 0; transition: transform 0.6s var(--ease-out) 0.25s, opacity 0.5s var(--ease-out) 0.25s; }
.screen--map.is-active .hcard { transform: none; opacity: 1; }
.hcard__why { font-size: 11px; font-weight: 550; line-height: 1.55; color: var(--ink-2); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.hcard__row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; }
.hcard__row b { font-size: 15px; font-weight: 760; }
.hcard__row em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--accent-text); }
.hcard__meta { font-size: 11px; color: var(--subtle); margin-top: 2px; }
.hcard__act { display: flex; gap: 14px; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--accent-text); }

/* mobile stage */
@media (max-width: 900px) {
  .howto__track { height: 320svh; }
  .howto__stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    align-items: start; justify-items: center; gap: 18px;
    padding: calc(var(--nav-h) + 26px) var(--gutter) 16px;
  }
  .howto__steps { display: flex; gap: 6px; justify-content: center; }
  .howto__steps li { flex: none; }
  .howto__steps button { width: auto; padding: 8px 12px; border: 0; border-radius: 999px; background: var(--sand); font-size: 0; gap: 0; }
  .howto__steps button span { font-size: 13px; }
  .howto__steps button[aria-current="step"] { background: var(--ink); color: var(--paper); }
  .howto__visual { width: 100%; max-width: 440px; padding: 18px 24px; border-radius: 26px; }
  .phone-wrap { --ph: min(500px, calc(100svh - var(--nav-h) - 330px)); }
  .howto__copy { width: 100%; max-width: 520px; min-height: 0; text-align: center; }
  .howto__item h3 { margin-top: 12px; font-size: 24px; }
  .howto__item p { margin: 8px auto 0; font-size: 15.5px; }
  .howto__item .howto__more { display: none; }
  .howto__item .tag { height: 26px; font-size: 12.5px; }
}
@media (max-width: 900px) and (max-height: 700px) {
  .phone-wrap { --ph: calc(100svh - var(--nav-h) - 300px); }
  .howto__item p { display: none; }
}

/* ───────── AI ───────── */
.ai__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); margin-top: 56px; align-items: stretch; }
.ai__stats { margin-top: 0; }
.ai__stats b { color: var(--ink); }
.ai__stats li:first-child b, .ai__stats li:nth-child(2) b { color: var(--accent); }
.vchart { padding: 28px; border-radius: 24px; background: var(--card); display: flex; flex-direction: column; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend span::before { content: ""; width: 11px; height: 11px; border-radius: 3px; background: var(--faint); }
.legend__ours { font-weight: 700; color: var(--ink); }
.legend .legend__ours::before { background: var(--accent); }
.vchart__groups { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; min-height: 260px; }
.vchart__group { display: flex; flex-direction: column; }
.vchart__bars { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 12px; border-bottom: 2px solid var(--ink); padding: 0 8px; min-height: 200px; }
.vbar { position: relative; width: min(56px, 36%); height: 0; border-radius: 8px 8px 0 0; background: var(--faint); transition: height 1.1s var(--ease-out); }
.vbar--ours { background: var(--accent); }
.vbar em { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); margin-bottom: 6px; font-style: normal; font-size: 14px; font-weight: 650; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.vbar--ours em { font-weight: 800; color: var(--ink); }
.is-in .vbar { height: calc(var(--v) * 100%); }
.vchart__group p { margin-top: 12px; font-size: 13px; color: var(--subtle); line-height: 1.5; }
@media (max-width: 900px) { .ai__grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .vchart { padding: 20px; } .vchart__groups { gap: 14px; } }

.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.points li { padding: 24px; border-radius: var(--r-card); background: var(--card); }
.points h3 { font-size: 19px; font-weight: 720; letter-spacing: -0.03em; }
.points p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 860px) { .points { grid-template-columns: 1fr; } }

.patent { margin-top: 16px; padding: 24px 28px; border-radius: var(--r-card); border: 1px solid var(--line); display: grid; gap: 8px; }
.patent__tag { justify-self: start; font-size: 12.5px; font-weight: 700; color: var(--accent-text); letter-spacing: 0.02em; }
.patent p { font-size: 17px; font-weight: 650; letter-spacing: -0.02em; }
.patent .patent__note { font-size: 14.5px; font-weight: 450; color: var(--subtle); }

/* ───────── privacy ───────── */
.privacy__head { text-align: center; }
.privacy__head .lede { margin-left: auto; margin-right: auto; }
.pflow { margin-top: 56px; padding: clamp(20px, 3vw, 40px); border-radius: calc(var(--r-card) + 6px); background: var(--card); box-shadow: var(--shadow); }
.pflow__svg { width: 100%; height: auto; font-family: var(--font); overflow: visible; }
.pflow__svg--tall { display: none; max-width: 400px; margin: 0 auto; }
@media (max-width: 760px) { .pflow__svg--wide { display: none; } .pflow__svg--tall { display: block; } }
.pflow figcaption { margin-top: 22px; font-size: 14px; color: var(--subtle); }
.pflow figcaption b { color: var(--ink); }
.pf-group { fill: var(--sand); }
.pf-gtitle { font-size: 17px; font-weight: 760; fill: var(--ink); letter-spacing: -0.02em; }
.pf-gsub { font-size: 13px; fill: var(--subtle); }
.pf-box { fill: var(--card); stroke: var(--line); stroke-width: 1.5; }
.pf-box--strong { stroke: var(--ink); stroke-width: 2.5; }
.pf-bt { font-size: 15.5px; font-weight: 720; fill: var(--ink); letter-spacing: -0.02em; }
.pf-bs { font-size: 13px; fill: var(--subtle); }
.pf-ink { fill: var(--ink); }
.pf-ink-t { font-size: 17px; font-weight: 760; fill: var(--paper); }
.pf-line { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.pf-line--gray { stroke: var(--faint); stroke-dasharray: 0; }
.pf-line--accent { stroke: var(--accent); }
.pf-ah-ink { fill: var(--ink); }
.pf-ah-gray { fill: var(--faint); }
.pf-ah-accent { fill: var(--accent); }
.pf-chip rect { fill: var(--card); stroke: var(--ink); stroke-width: 1.5; }
.pf-chip text { font-size: 13px; font-weight: 680; fill: var(--ink); }
.pf-chip--gray rect { fill: var(--chip); stroke: none; }
.pf-chip--gray text { fill: var(--ink-2); font-weight: 600; }
.pf-dot { fill: var(--ink); }
.pf-dot--gray { fill: var(--faint); }
.pf-dot--accent { fill: var(--accent); }
.pf-accent-t { font-size: 14px; font-weight: 760; fill: var(--accent-text); }

.models { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.model { padding: clamp(24px, 3vw, 36px); border-radius: calc(var(--r-card) + 6px); background: var(--card); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 28px; }
.model header h3 { margin-top: 14px; font-size: clamp(26px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.04em; }
.model header p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.model .stats { margin-top: 0; gap: 22px 20px; }
.model .stats li:first-child b { color: var(--accent); }
.model__note { font-size: 14.5px; color: var(--ink-2); }
.model__note b { color: var(--ink); }
.rflow { width: 100%; max-width: 400px; height: auto; margin: 0 auto; font-family: var(--font); overflow: visible; }
@media (max-width: 900px) { .models { grid-template-columns: 1fr; } }

.hbars { display: grid; gap: 9px; }
.hbar { display: grid; grid-template-columns: 128px minmax(0, 1fr) 46px; align-items: center; gap: 10px; font-size: 13.5px; }
.hbar span { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar i { display: block; height: 10px; border-radius: 6px; background: var(--faint); width: 0; transition: width 1.1s var(--ease-out); }
.hbar b { font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hbar--ours span, .hbar--ours b { font-weight: 760; color: var(--ink); }
.hbar--ours i { background: var(--accent); }
.is-in .hbar i { width: calc(var(--v) * 100%); }
.hbars figcaption { margin-top: 8px; font-size: 13px; color: var(--subtle); }
.hbars--grouped .hbar { grid-template-columns: minmax(0, 1fr) 46px; }
.hbars--grouped .legend { margin-bottom: 4px; }
.hbars__label { margin-top: 8px; font-size: 13.5px; font-weight: 650; color: var(--ink); }
@media (max-width: 420px) { .hbar { grid-template-columns: 108px minmax(0, 1fr) 42px; font-size: 12.5px; } }

/* ───────── beta ───────── */
.beta { text-align: center; }
.beta .h2 { margin: 0 auto; }
.bcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); margin: 72px auto 0; max-width: 1040px; }
.bcard {
  aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 18px; text-align: center;
  --r: 0deg;
  transform: rotate(var(--r));
  transition: transform 0.6s var(--ease-out);
}
.js .bcard { opacity: 0; transform: translateY(60px) rotate(calc(var(--r) * -2)); transition: opacity 0.7s var(--ease-out), transform 0.9s cubic-bezier(0.34, 1.4, 0.64, 1); }
.js .bcards.is-in .bcard { opacity: 1; transform: rotate(var(--r)); }
.js .bcards.is-in .bcard:nth-child(2) { transition-delay: 0.08s; }
.js .bcards.is-in .bcard:nth-child(3) { transition-delay: 0.16s; }
.js .bcards.is-in .bcard:nth-child(4) { transition-delay: 0.24s; }
.bcards.is-in .bcard:hover { transform: rotate(0deg) scale(1.03); transition-delay: 0s; }
.bcard b { font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.bcard span { font-size: clamp(13px, 1.3vw, 15.5px); font-weight: 600; line-height: 1.45; }
.bcard--square { border-radius: 28px; }
.bcard--circle { border-radius: 50%; }
.bcard--paper { background: #f5f2ea; color: #231f20; }
.bcard--blush { background: var(--blush); color: #231f20; }
.bcard--ring { box-shadow: inset 0 0 0 2px rgba(243, 239, 230, 0.8); color: var(--ink); }
.bcard--sand { background: #e3d9c6; color: #231f20; }
.beta .footnote { margin-top: 56px; }
@media (max-width: 760px) {
  .bcards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 420px; gap: 14px; }
  .bcard { padding: 12px; gap: 8px; }
  .bcard b { font-size: 40px; }
  .bcard span br { display: none; }
}

/* ───────── career ───────── */
.career__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.career__title { font-size: clamp(32px, 4vw, 54px); }
.features { display: grid; gap: 28px; margin-top: 44px; }
.features li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 16px; }
.features__shape { width: 22px; height: 22px; margin-top: 3px; background: var(--ink); border-radius: 4px; }
.features__shape--circle { border-radius: 50%; background: var(--accent); }
.features h3 { font-size: 19px; font-weight: 720; letter-spacing: -0.03em; }
.features p { margin-top: 6px; font-size: 16px; color: var(--ink-2); }

/* 대시보드는 필름 사진 위에 반투명 판으로 얹는다 */
.dash__frame { position: relative; isolation: isolate; overflow: hidden; padding: clamp(18px, 3.4vw, 48px); border-radius: 28px; background: var(--sand); }
.dash__photo { position: absolute; inset: 0; z-index: -1; }
.dash__photo img { width: 100%; height: 100%; object-fit: cover; }
.dash__panel { padding: clamp(10px, 1.4vw, 16px); border-radius: 22px; background: var(--paper); background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 60px -24px rgba(30, 20, 10, 0.45); }
.dash__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 6px 6px 12px; }
.dash__head b { display: block; font-size: 16px; font-weight: 760; letter-spacing: -0.02em; }
.dash__head span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--subtle); }
.dash__head em { flex: none; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--accent-text); padding: 4px 10px; border-radius: 999px; border: 1.5px solid currentColor; }
.dash__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash__tile { padding: 16px; border-radius: 18px; background: var(--card); min-width: 0; }
.dash__tile > b { display: block; font-size: 13.5px; font-weight: 740; }
.dash__tile > span { display: block; margin-top: 2px; font-size: 11px; color: var(--subtle); line-height: 1.45; }
.dbars { display: grid; gap: 6px; margin-top: 12px; }
.dbars li { display: grid; grid-template-columns: 58px minmax(0, 1fr) 28px; gap: 8px; align-items: center; font-size: 11.5px; }
.dbars span { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dbars i { display: block; height: 8px; border-radius: 4px; background: var(--ink); width: 0; transition: width 1s var(--ease-out); }
.dbars li:first-child i { background: var(--accent); }
.dbars b { font-weight: 650; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.is-in .dbars i { width: calc(var(--v) * 100%); }
.dcols { display: flex; align-items: flex-end; gap: 6px; height: 150px; margin-top: 14px; padding-bottom: 0; }
.dcols span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; font-size: 10.5px; color: var(--subtle); }
.dcols i { display: block; width: 100%; max-width: 26px; height: 0; border-radius: 5px 5px 2px 2px; background: var(--ink); transition: height 1s var(--ease-out); }
.dcols .is-top i { background: var(--accent); }
.dcols em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--ink-2); }
.is-in .dcols i { height: calc(var(--v) * 100px); }
.heat { display: grid; grid-template-columns: 16px repeat(14, minmax(0, 1fr)); gap: 3px; margin-top: 12px; font-size: 9.5px; color: var(--subtle); }
.heat i { aspect-ratio: 1; border-radius: 3px; background: var(--ink); opacity: var(--o, 0.1); }
.heat i.is-max { background: var(--accent); opacity: 1; }
.heat span { display: flex; align-items: center; }
.dlist { margin-top: 10px; }
.dlist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); }
.dlist li:first-child { border-top: 0; }
.dlist span { font-size: 12.5px; font-weight: 700; }
.dlist small { grid-row: 2; font-size: 10.5px; color: var(--subtle); }
.dlist b { grid-row: 1 / span 2; align-self: center; font-size: 14px; font-weight: 760; font-variant-numeric: tabular-nums; }
.dash figcaption { margin: 12px 6px 2px; font-size: 13px; color: var(--subtle); }
@media (max-width: 960px) { .career__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .dash__grid { grid-template-columns: 1fr; } }

/* ───────── business ───────── */
.business .stats b { color: var(--ink); }
.business .stats li:first-child b { color: var(--accent); }
.business__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); margin-top: 72px; }
.business__copy { display: grid; gap: 18px; align-content: start; font-size: 17px; color: var(--ink-2); }
.roadmap { margin-top: 14px; padding: 22px 24px; border-radius: var(--r-card); background: var(--sand); }
.roadmap__title { font-size: 14px; font-weight: 750; color: var(--ink); }
.roadmap ol { display: grid; gap: 14px; margin-top: 14px; counter-reset: r; }
.roadmap li { display: grid; gap: 2px; padding-left: 26px; position: relative; font-size: 15px; }
.roadmap li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 12px; border-radius: 3px; background: var(--ink); }
.roadmap li:last-child::before { border-radius: 50%; background: var(--accent); }
.roadmap b { color: var(--ink); font-weight: 700; }
.revenue { display: grid; align-content: start; }
.revenue li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 24px 0; border-top: 1px solid var(--line); transition: padding-left 0.35s var(--ease-out); }
.revenue li:last-child { border-bottom: 1px solid var(--line); }
.revenue li:hover { padding-left: 8px; }
.revenue__n { font-size: 13px; font-weight: 700; color: var(--subtle); padding-top: 4px; font-variant-numeric: tabular-nums; }
.revenue h3 { font-size: 20px; font-weight: 720; letter-spacing: -0.03em; }
.revenue p { margin-top: 6px; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 900px) { .business__grid { grid-template-columns: 1fr; } }

/* ───────── FAQ ───────── */
.faq .h2 { margin-bottom: 48px; }
.faq__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 10px; border-radius: 30px; background: var(--sand); }
.faq__list { padding: 22px 14px 14px; border-radius: 22px; background: var(--green); color: #f3efe6; }
.faq__title { padding: 0 12px 12px; font-size: 14px; font-weight: 650; opacity: 0.6; }
.faq__item h3 { font-size: inherit; font-weight: inherit; }
.faq__q { width: 100%; text-align: left; padding: 14px 14px; border-radius: 14px; font-size: 16px; font-weight: 600; line-height: 1.45; opacity: 0.72; transition: background-color 0.25s, opacity 0.25s; display: flex; justify-content: space-between; gap: 12px; }
.faq__q:hover { opacity: 1; }
.faq__q[aria-expanded="true"] { opacity: 1; background: rgba(243, 239, 230, 0.12); }
.faq__a { padding: 2px 14px 16px; font-size: 15.5px; line-height: 1.65; opacity: 0.85; }
.faq__pane { padding: 22px 22px 28px; display: flex; flex-direction: column; }
.faq__pane .faq__title { opacity: 1; color: var(--subtle); padding: 0 0 16px; }
.faq__ask { align-self: flex-end; max-width: 80%; padding: 12px 16px; border-radius: 20px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 600; }
.faq__reply { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; }
.faq__avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--card); display: grid; place-items: center; box-shadow: var(--shadow); }
.faq__avatar svg { width: 18px; height: 18px; color: var(--ink); }
.faq__bubble { max-width: 88%; padding: 14px 18px; border-radius: 20px; background: var(--card); font-size: 16px; line-height: 1.65; box-shadow: var(--shadow); }
.faq__ask, .faq__bubble { animation: pop 0.45s var(--ease-out) both; }
.faq__bubble { animation-delay: 0.12s; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } }

/* 데스크톱: 답은 오른쪽 말풍선에만. 모바일: 아코디언 */
@media (min-width: 861px) {
  /* 말풍선은 장식용 복제본이라 aria-hidden — 원래 답은 화면 밖에 두어 스크린리더가 읽게 한다 */
  .js .faq__a { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 860px) {
  .faq__box { grid-template-columns: 1fr; padding: 6px; border-radius: 26px; }
  .faq__pane { display: none; }
  .faq__q::after { content: ""; flex: none; width: 9px; height: 9px; margin-top: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.3s var(--ease-out); }
  .faq__q[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 10px; }
}

/* ───────── CTA ───────── */
.cta { text-align: center; padding: clamp(96px, 14vw, 200px) 0; }
.cta { isolation: isolate; }
.cta__photo { position: absolute; inset: 0; z-index: -2; }
.cta__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* 사진 위 글자를 읽히게 하는 평평한 어둡게 깔기 */
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(26, 22, 18, 0.48); }
.cta__inner { position: relative; z-index: 1; }
.cta .h2 { margin: 0 auto; max-width: 16ch; }
.cta .lede { margin: 22px auto 36px; }

/* ───────── footer ───────── */
.footer { padding: clamp(72px, 9vw, 120px) 0 32px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; }
.footer__tagline { font-size: clamp(24px, 2.6vw, 32px); font-weight: 690; letter-spacing: -0.04em; line-height: 1.25; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 150px); gap: 24px; }
.footer__cols p { font-size: 13px; font-weight: 650; color: var(--subtle); margin-bottom: 12px; letter-spacing: 0.02em; }
.footer__cols a { display: block; padding: 5px 0; font-size: 15px; font-weight: 550; color: var(--ink-2); transition: color 0.2s; }
.footer__cols a:hover { color: var(--ink); }
.footer__logo { width: 100%; height: auto; margin-top: clamp(48px, 7vw, 96px); color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 28px; font-size: 13px; color: var(--subtle); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr; } .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ───────── reduced motion ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; transition-delay: 0s !important; }
  .js .reveal, .js .bcard { opacity: 1; transform: none; }
  .js .bcard { transform: rotate(var(--r)); }
  .pf-packets, .sys__arrow i { display: none; }
}
