/* ============================================================
   Arazit Labs · arazitir.com 스킨으로 통일 (2026-11-19)
   origin.css 뒤에 얹는 덮어쓰기. 카피·구조·위젯은 그대로 두고 겉모습만 바꾼다.
   기준: ~/arazit-research/src/app/globals.css (design v3, 2026-11-06)
   - 검정 바탕 #0b0b0c, 띠 #141416, 카드 #1b1c1f
   - 글꼴 하나: Instrument Sans(+ 한글 Pretendard), 크고 촘촘하게. 세리프·이탤릭 없음
   - 작은 라벨은 Roboto Mono 대문자, 로고는 Alte Haas
   - 모서리: 버튼·입력 0, 칩 2px, 카드·이미지 4px, 상단 바 8px
   - 단색. 보라·하늘색 강조와 글로우를 걷는다
   ============================================================ */

:root {
  color-scheme: dark;
  --bg: #0b0b0c;
  --band: #141416;
  --raise: #1b1c1f;
  --ink: #f2f1ec;
  --ink-dim: rgb(242 241 236 / 0.64);
  --ink-faint: rgb(242 241 236 / 0.42);
  --line: rgb(242 241 236 / 0.12);
  --line-strong: rgb(242 241 236 / 0.32);
  --dot: rgb(242 241 236 / 0.13);
  --glass: var(--band);
  --glass-brd: var(--line);

  --font-sans: "Instrument Sans", "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif;
  --font-serif: var(--font-sans);

  --r-btn: 0px;
  --r-card: 4px;
  --container: none;
  --gutter: 32px;
}
@media (max-width: 767px) { :root { --gutter: 16px; } }

body { background: var(--bg); line-height: 1.6; }
em, i { font-style: normal; }

/* ---------- 상단 바: 떠 있는 유리 바 ---------- */
.nav {
  top: 10px;
  inset-inline: 10px;
  height: 70px;
  border-radius: 8px;
  border-bottom: 0;
  background: rgb(26 27 30 / 0.7);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.nav > .container { padding-inline: 20px 14px; }
.brand { font-size: 20px; letter-spacing: -0.02em; }
.nav-links a:not(.btn) { color: var(--ink-dim); transition: color 0.2s var(--ease); }
.nav-links a:not(.btn):hover { color: var(--ink); }
@media (max-width: 767px) {
  .nav { top: 8px; inset-inline: 8px; height: 60px; }
  .nav > .container { padding-inline: 14px 8px; }
  .brand { font-size: 17px; }
}

/* ---------- 버튼: 각진 모서리, 테두리 버튼 ---------- */
.btn {
  height: 42px;
  padding: 0 28px;
  border-radius: 0;
  font-weight: 400;
  font-size: 16px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}
.btn:hover { background: var(--ink); color: #111; border-color: var(--ink); transform: none; }
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--ink); color: #111; border-color: var(--ink); }
.btn-solid:hover { background: transparent; color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--line-strong); }
.btn-sm { height: 40px; padding: 0 20px; font-size: 15px; }
.btn-glow::before, .btn-glow::after { display: none !important; }

/* ---------- 히어로: 검정 + 점 격자, 왼쪽 아래 정렬 ---------- */
.hero, .page-hero { text-align: left; align-items: end; isolation: isolate; }
.hero-sky, .sky-drift { display: none !important; }
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.3px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 85%);
  pointer-events: none;
}
.hero::after, .page-hero::after { background: none !important; }
.hero-content, .page-hero-content {
  max-width: 1160px;
  margin-inline: 0;
  justify-items: start;
  padding-block: 140px 64px;
}
.hero-chip, .page-hero .hero-chip {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
}
.hero h1, .page-hero h1 {
  margin-top: 22px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(56px, 8.4vw, 132px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-sub {
  margin-top: 28px;
  max-width: 600px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink-dim);
}
.hero-cta { justify-content: flex-start; gap: 12px; margin-top: 36px; }
.hero-cta .btn { min-width: 205px; }
.hero-spark, .agent-spark { display: none; }

/* 질문 위젯: 각진 입력창 */
.ask {
  border-radius: 0;
  background: var(--band);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  width: min(600px, 100%);
}
.ask:focus-within { border-color: var(--ink); }
.ask button { border-radius: 0 !important; }
.ask-suggest { width: min(600px, 100%); }
.ask-suggest-btn {
  border-radius: 2px;
  background: var(--raise);
  border-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.ask-suggest-btn:hover { border-color: var(--line-strong); }
.ask-suggest-ic { color: var(--ink-dim) !important; filter: none !important; }
.ask-suggest-ic svg { fill: currentColor; }
.ask-note { text-align: left; }
@media (max-width: 767px) {
  .hero-content, .page-hero-content { padding-block: 110px 48px; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- 제목: 세리프 대신 크고 촘촘한 산세리프 ---------- */
.h2 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.h2 em { color: inherit; }
.manifesto-line {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.eyebrow, .statement-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
h3 { letter-spacing: -0.02em; }
.asset-body h3, .feature h3, .trust-card h3, .triage-card h3 { font-family: var(--font-sans); font-weight: 400; }
.asset-body h3 { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.08; letter-spacing: -0.04em; }

/* ---------- 섹션 ---------- */
.section { border-top: 1px solid var(--line); }
.band { background: var(--band); }

/* ---------- 카드: 평평한 판, 4px 모서리, 글로우 없음 ---------- */
.asset, .trust-card, .triage-card, .qcard, .sc-card, .lead-card, .feature-card, .mon-card {
  border-radius: 4px;
}
.asset, .trust-card, .triage-card, .qcard, .lead-card {
  background: var(--band);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
.asset:hover, .trust-card:hover, .triage-card:hover, .qcard:hover { border-color: var(--line-strong); transform: none; }
.asset::before, .asset::after { display: none !important; }
.asset-glyph { color: var(--ink-dim); }
.asset-en {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}
.trust-card:first-child { background: var(--band); }

/* 태그·칩: 2px 모서리, 단색 */
.tag, .source-chip, .ask-tag, .mon-tag, .phone-tag {
  border-radius: 2px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}
.qcard .tag.is-auto, .qcard .tag.is-review { color: var(--ink-dim); border-color: var(--line-strong); }
.pmsg-label.is-review, .pmsg-label, .pd-stat.is-hot b { color: var(--ink); }

/* 입력창: 각지게 */
input, textarea, select { border-radius: 0 !important; }
.lead-field input, .lead-field textarea { background: var(--bg); border-color: var(--line-strong); }

/* ---------- 푸터 ---------- */
.footer { padding-block: 72px 40px; }
.footer-brand .brand { font-size: 30px; letter-spacing: -0.045em; }
.footer-h { font-size: 11px; letter-spacing: 0.12em; }
.footer-col a { color: var(--ink-dim); }
.footer-col a:hover { color: var(--ink); }
.footer-social a { border-radius: 0; }
.footer-legal {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* 격자 안의 .container가 margin auto 때문에 내용 폭으로 줄어드는 것을 막는다 */
.hero > .container, .page-hero > .container { margin-inline: 0; width: 100%; }

/* 이탤릭 강조를 모두 정자로 (arazitir.com은 이탤릭을 섞지 않는다) */
.hero h1 em, .page-hero h1 em, .console-inner .h2 em, .band-tagline em, .h2 em { font-style: normal; font-weight: inherit; }

/* 한글 소제목 라벨은 모노 대문자 대신 작은 산세리프 (arazitir.com .giant-label과 같은 결) */
.statement-label {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-dim);
}
.lead-label i { border-radius: 2px; font-style: normal; }

/* 로고 심볼이 좁은 화면에서 눌려 작아지지 않게 */
.brand svg { flex: none; width: 22px; height: 22px; }
@media (max-width: 767px) {
  .brand svg { width: 20px; height: 20px; }
  .nav .btn-sm { height: 36px; padding: 0 12px; font-size: 14px; }
}
