/* 루마닉 대표 주소(/). 참모 공개 홈과 같은 세계다: 웜 페이퍼 바탕, 레일 네이비는 세 차원 띠 한 곳,
   코발트는 입구 링크와 화살표, 금색은 띠 위 예시 문장의 밑줄과 F·S·T 글자. 그림 없이 글과 선으로만 그린다.
   로고와 서체는 lumanic.ai를 그대로 따른다(2026-10-03 사용자 지시): 로고 PNG, 한글 제목은 Pretendard 가는 굵기
   (lumanic.ai 한국어 제목과 같다), F·S·T는 Fraunces 기울임, 작은 표지는 JetBrains Mono. @font-face는 brand-fonts.css.
   값은 전부 lm-tokens.css 변수다(이 파일에 hex를 두지 않는다). CSP 때문에 인라인 스타일이 없다.
   Caddy가 /를 /home/index.html로 바꿔 내므로 이 파일과 HTML의 경로는 모두 절대 경로다. */

.hm {
  --hm-display: "Fraunces", var(--lm-font-ui);
  /* 시스템 모노(Consolas 등)를 사이에 두지 않는다. 두면 한글 라벨의 띄어쓰기·가운뎃점을 그 서체가 넓게 그린다 */
  --hm-mono: "JetBrains Mono", var(--lm-font-ui);
  font-size: 16px;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv01", "cv11";
  word-break: keep-all;
}

.hm ::selection {
  background: var(--lm-trust-soft);
  color: var(--lm-text-strong);
}

.hm a {
  text-underline-offset: 4px;
}

.hm :focus-visible {
  outline: var(--lm-focus-ring);
  outline-offset: 3px;
}

.hm-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.hm-skip {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: var(--lm-z-overlay);
  padding: 10px 14px;
  border-radius: var(--lm-radius);
  background: var(--lm-rail-bg);
  color: var(--lm-rail-ink-strong);
  font-weight: 700;
  text-decoration: none;
}

.hm-skip:focus {
  top: 12px;
}

/* ── 상단 막대 ── */

.hm-bar {
  position: sticky;
  top: 0;
  z-index: var(--lm-z-bar);
  background: var(--lm-bg-page);
  border-bottom: 1px solid var(--lm-hairline);
}

.hm-bar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.hm-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--lm-text-strong);
  text-decoration: none;
}

/* lumanic.ai 로고(698×88)를 1/4 높이로 낸다. 2배 화면에서도 원본 화소가 남는다 */
.hm-logo {
  display: block;
  width: auto;
  height: 22px;
}

.hm-logo--sm {
  height: 16px;
}

.hm-nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.hm-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--lm-radius);
  color: var(--lm-text);
  font-family: var(--hm-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--lm-duration-fast) var(--lm-ease-out), color var(--lm-duration-fast) var(--lm-ease-out);
}

.hm-nav a:hover {
  background: var(--lm-bg-subtle);
  color: var(--lm-text-strong);
}

/* ── 입구 단추: 둘 다 같은 무게다. 어느 쪽도 주 행동이 아니므로 코발트는 화살표에만 둔다 ── */

.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--lm-border-strong);
  border-radius: var(--lm-radius);
  background: var(--lm-bg-surface);
  color: var(--lm-text-strong);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--lm-duration-fast) var(--lm-ease-out), border-color var(--lm-duration-fast) var(--lm-ease-out);
}

.hm-btn .lm-icon {
  color: var(--lm-primary);
}

.hm-btn:hover {
  border-color: var(--lm-primary);
  background: var(--lm-bg-subtle);
}

.hm-btn--lg {
  min-height: 52px;
  padding: 0 20px 0 22px;
  font-size: 16px;
}

.hm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── 첫 화면 ── */

.hm-hero {
  padding: 64px 0 40px;
}

.hm-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 56px;
  align-items: end;
}

.hm-hero h1 {
  margin: 0 0 24px;
  color: var(--lm-text-strong);
  font-size: clamp(42px, 5.8vw, 76px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hm-hero__lead {
  max-width: 36em;
  margin: 0 0 32px;
  font-size: 19px;
  line-height: 1.65;
}

.hm-hero__facts {
  margin: 0;
  border-top: 1px solid var(--lm-border-strong);
}

.hm-hero__facts div {
  padding: 16px 0;
  border-bottom: 1px solid var(--lm-hairline);
}

.hm-hero__facts dt {
  color: var(--lm-text-muted);
  font-family: var(--hm-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.hm-hero__facts dd {
  margin: 4px 0 0;
  color: var(--lm-text-strong);
  font-size: 15px;
  line-height: 1.55;
}

/* ── 세 차원 띠(페이지에서 네이비는 여기 한 곳) ──
   위 예시 문장에서 금색 밑줄을 친 구간이 아래 세 열에 그대로 인용된다. 열마다 같은 문장을 다른 물음으로 읽는다. */

.hm-band {
  padding: 40px 0 56px;
  background: var(--lm-rail-bg);
  color: var(--lm-rail-ink);
}

.hm-band__title {
  margin: 0;
  color: var(--lm-rail-ink-strong);
  font-size: 26px;
  font-weight: 350;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.hm-band__sub {
  margin: 6px 0 28px;
  color: var(--lm-rail-muted);
  font-family: var(--hm-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.hm-said {
  margin: 0 0 40px;
  padding: 0;
}

.hm-said p {
  max-width: 34em;
  margin: 0;
  color: var(--lm-rail-ink-strong);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.hm-span {
  padding-bottom: 2px;
  background: none;
  border-bottom: 2px solid var(--lm-rail-accent);
  color: inherit;
}

.hm-dims {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--lm-rail-line);
}

.hm-dim {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px 24px 4px;
  border-left: 1px solid var(--lm-rail-line);
}

.hm-dim:first-child {
  padding-left: 0;
  border-left: 0;
}

.hm-dim h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  color: var(--lm-rail-ink-strong);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* 차원 글자: 예시 문장의 구간 뒤와 열 제목에 같은 글자를 달아, 어느 구간이 어느 열로 가는지 잇는다.
   lumanic.ai의 F·S·T처럼 Fraunces 기울임(가는 굵기, SOFT 50, WONK 1)이고 띠 위라 금색이다 */
.hm-key {
  color: var(--lm-rail-accent);
  font-family: var(--hm-display);
  font-size: 30px;
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
  /* Fraunces에는 기울임 면이 없어 lumanic.ai에서도 브라우저가 기울여 그린다. 기반 CSS가 합성을 꺼 두어 여기서만 켠다 */
  font-synthesis: style;
}

.hm-keys {
  display: inline-flex;
  gap: 0.18em;
  margin-left: 0.2em;
  vertical-align: 0.45em;
}

.hm-keys .hm-key {
  font-size: 0.62em;
  letter-spacing: 0;
}

.hm-dim__q {
  margin: 0;
  color: var(--lm-rail-muted);
  font-size: 14px;
}

.hm-dim__quote {
  display: grid;
  gap: 6px;
  margin: 4px 0 0;
}

.hm-dim__quote q {
  padding: 6px 10px;
  border-left: 1px solid var(--lm-rail-line);
  background: var(--lm-rail-hover);
  color: var(--lm-rail-ink-strong);
  font-size: 14.5px;
  line-height: 1.5;
  quotes: "\201C" "\201D";
}

.hm-dim__read {
  margin: 4px 0 0;
  color: var(--lm-rail-ink);
  font-size: 15px;
  line-height: 1.55;
}

/* 미확인: 앱의 미확인 칩과 같은 점선 테두리. 근거가 없는 것은 채우지 않고 이렇게 남긴다 */
.hm-dim__open {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: var(--lm-rail-muted);
  font-size: 14px;
  line-height: 1.55;
}

.hm-open {
  flex: none;
  padding: 0 8px;
  border: 1px dashed var(--lm-rail-muted);
  border-radius: var(--lm-radius-pill);
  color: var(--lm-rail-ink);
  font-family: var(--hm-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* ── 이어지는 절 ── */

.hm-section {
  padding: 96px 0;
}

.hm-section--split {
  border-top: 1px solid var(--lm-hairline);
}

.hm-h2 {
  margin: 0 0 32px;
  color: var(--lm-text-strong);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

/* 두 서비스: 카드 격자가 아니라 전폭 두 줄이다. 줄 전체가 링크다 */
.hm-svcs {
  border-top: 1px solid var(--lm-border-strong);
}

.hm-svc {
  display: grid;
  position: relative;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) 11em;
  grid-template-areas:
    "head desc go"
    "head who go";
  gap: 8px 40px;
  align-items: start;
  padding: 28px 16px;
  margin: 0 -16px;
  border-radius: var(--lm-radius);
  color: var(--lm-text);
  text-decoration: none;
  transition: background-color var(--lm-duration-fast) var(--lm-ease-out);
}

.hm-svc:hover {
  background: var(--lm-bg-surface);
}

/* 줄 사이 선은 글 폭에 맞춘다. 줄은 마우스를 올릴 때 바탕이 글보다 조금 넓게 깔리도록 양옆으로 16px 나가 있다 */
.hm-svc::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 1px;
  background: var(--lm-hairline);
}

.hm-svc__head {
  grid-area: head;
  display: grid;
  justify-items: start;
  gap: 10px;
}

.hm-svc__name {
  color: var(--lm-text-strong);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.hm-svc__desc {
  grid-area: desc;
  max-width: 34em;
  font-size: 16px;
}

.hm-svc__who {
  grid-area: who;
  color: var(--lm-text-muted);
  font-size: 14px;
}

.hm-svc__label {
  margin-right: 4px;
  color: var(--lm-text-strong);
  font-family: var(--hm-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.hm-svc__go {
  grid-area: go;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: var(--lm-primary);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.hm-svc:hover .hm-svc__go {
  color: var(--lm-primary-pressed);
}

.hm-chip {
  display: inline-flex;
  align-items: center;
  padding: 1px 9px;
  border: 1px solid var(--lm-hairline);
  border-radius: var(--lm-radius-pill);
  color: var(--lm-text-muted);
  font-family: var(--hm-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.6;
  white-space: nowrap;
}

.hm-chip--live {
  border-color: transparent;
  background: var(--lm-success-surface);
  color: var(--lm-success-text);
}

.hm-chip--soon {
  border-style: dashed;
  border-color: var(--lm-border);
}

/* 공통 원칙 */
.hm-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}

.hm-split .hm-h2 {
  margin-bottom: 16px;
}

.hm-split__desc {
  max-width: 28em;
  margin: 0;
  font-size: 17px;
}

.hm-rules {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--lm-border-strong);
  list-style: none;
}

.hm-rules li {
  display: grid;
  grid-template-columns: 8em minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--lm-hairline);
  font-size: 15.5px;
}

.hm-rules strong {
  color: var(--lm-text-strong);
  font-weight: 600;
}

/* ── 바닥글 ── */

.hm-foot {
  padding: 24px 0 40px;
  border-top: 1px solid var(--lm-hairline);
  color: var(--lm-text-muted);
  font-size: 13px;
}

.hm-foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}

.hm-foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
}

.hm-foot__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--lm-text);
  font-family: var(--hm-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ── 좁은 화면 ── */

@media (max-width: 960px) {
  .hm-hero__grid,
  .hm-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hm-dims {
    grid-template-columns: minmax(0, 1fr);
  }

  .hm-dim,
  .hm-dim:first-child {
    padding: 20px 0;
    border-left: 0;
  }

  .hm-dim + .hm-dim {
    border-top: 1px solid var(--lm-rail-line);
  }

  .hm-svc {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "desc"
      "who"
      "go";
    gap: 10px;
  }

  .hm-svc__go {
    justify-self: start;
    margin-top: 4px;
  }
}

@media (max-width: 640px) {
  .hm-wrap {
    padding: 0 16px;
  }

  .hm-nav {
    display: none;
  }

  .hm-hero {
    padding: 44px 0 36px;
  }

  .hm-hero h1 {
    font-size: 36px;
    letter-spacing: -0.035em;
  }

  .hm-hero__lead {
    font-size: 17px;
  }

  .hm-actions .hm-btn--lg {
    flex: 1 1 auto;
  }

  .hm-band {
    padding: 32px 0 40px;
  }

  .hm-band__title {
    font-size: 22px;
  }

  .hm-band__sub {
    margin-bottom: 20px;
  }

  .hm-said {
    margin-bottom: 24px;
  }

  .hm-said p {
    font-size: 20px;
  }

  .hm-section {
    padding: 64px 0;
  }

  .hm-svc {
    padding: 24px 12px;
    margin: 0 -12px;
  }

  .hm-svc::after {
    right: 12px;
    left: 12px;
  }

  .hm-svc__name {
    font-size: 21px;
  }

  .hm-rules li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm *,
  .hm *::before,
  .hm *::after {
    animation: none !important;
    transition: none !important;
  }
}
