/* 초코랩스 회사 홈. 밤색 바탕, 앰버 강조. 제품 페이지는 body의 --accent만 바꾼다. */

:root {
  --bg: #0e0c0a;
  --bg-2: #15110e;
  --surface: rgba(255, 244, 232, 0.04);
  --surface-2: rgba(255, 244, 232, 0.07);
  --line: rgba(255, 240, 225, 0.1);
  --line-2: rgba(255, 240, 225, 0.18);
  --ink: #f7f2ec;
  --muted: #bfb3a7;
  --dim: #8d8277;
  --brand: #e8a15a;
  --accent: var(--brand);
  --accent-ink: #1a120b;
  --radius: 1.5rem;
  --radius-sm: 1rem;
  --container: 72rem;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.75);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}

body.carloc {
  --accent: #ff7a1a;
}

body.gather {
  --accent: #ff8a3d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

/* 아이콘 */
.ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 머리글 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}

.site-header.scrolled {
  background: rgba(14, 12, 10, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 4.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.logo img {
  width: auto;
  height: 3.25rem;
}

.nav {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}

.nav a {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--ink);
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex: none;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.lang a {
  color: var(--dim);
  text-decoration: none;
  padding: 0.28rem 0.38rem;
  border-radius: 6px;
}

.lang a[aria-current="page"] {
  color: var(--ink);
}

.lang.end {
  margin-left: auto;
}

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, filter 0.2s, background 0.2s;
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn.ghost {
  border-color: var(--line-2);
  background: var(--surface);
  color: var(--ink);
}

.btn.ghost:hover {
  background: var(--surface-2);
}

.btn.sm {
  min-height: 2.4rem;
  padding: 0 1rem;
  font-size: 0.92rem;
}

.btn.static {
  cursor: default;
}

.btn.static:hover {
  transform: none;
  filter: none;
}

.btn .ic {
  width: 1.1em;
  height: 1.1em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* 라벨 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem 0.35rem 0.6rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}

.eyebrow .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.grad {
  background: linear-gradient(100deg, #ffe2c2 0%, var(--accent) 55%, #ff6a3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 섹션 */
.section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section.tight {
  padding-top: 0;
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  font-weight: 700;
}

.section-head p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
}

/* 히어로 */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  background:
    radial-gradient(40rem 26rem at 78% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(30rem 22rem at 10% 10%, rgba(120, 120, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
  opacity: 0.45;
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.brand-banner {
  padding: 0 0 clamp(2.5rem, 6vw, 4rem);
}

.brand-banner img {
  width: 100%;
  height: auto;
  border-radius: 0;
  border: 1px solid var(--line);
}

.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.lede {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.7;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.chips .ic {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}

.product-badge {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.product-badge img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.product-badge strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.3;
}

.product-badge span {
  color: var(--dim);
  font-size: 0.9rem;
}

/* 폰 */
.phone {
  position: relative;
  width: 100%;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2.6rem;
  background: linear-gradient(160deg, #2a2420, #0b0908 60%);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(0, 0, 0, 0.6);
}

.phone img {
  width: 100%;
  aspect-ratio: 720 / 1390;
  object-fit: cover;
  object-position: top;
  border-radius: 2.1rem;
  background: #111;
}

.phone::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: 50%;
  z-index: 1;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #050404;
  transform: translateX(-50%);
}

.stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 30rem;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 10% 5% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 40%, transparent), transparent);
  filter: blur(30px);
  opacity: 0.7;
}

.stage .phone {
  width: min(17.5rem, 62vw);
}

.stage.duo .phone {
  width: min(15.5rem, 44vw);
}

.stage.duo .phone:first-child {
  z-index: 2;
  transform: rotate(-5deg) translateY(-0.5rem);
}

.stage.duo .phone:last-child {
  margin-left: -3.25rem;
  transform: rotate(6deg) translateY(1.5rem);
}

.float {
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  50% {
    translate: 0 -10px;
  }
}

/* 제품 카드 (홈) */
.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 38rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: linear-gradient(180deg, var(--surface-2), var(--surface) 60%);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s;
}

.product-card:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
}

.product-card.carloc {
  --accent: #ff7a1a;
}

.product-card.gather {
  --accent: #ff8a3d;
}

.product-card::before {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -25%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 35%, transparent), transparent);
  pointer-events: none;
}

.product-card header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.product-card header img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
}

.product-card h3 {
  font-size: 1.5rem;
}

.product-card .sub {
  color: var(--dim);
  font-size: 0.88rem;
}

.product-card .pitch {
  margin: 1.25rem 0 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.product-card .desc {
  margin: 0.75rem 0 0;
  max-width: 26rem;
  color: var(--muted);
}

.product-card .chips {
  margin-top: 1.25rem;
}

.product-card .more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  color: var(--accent);
  font-weight: 700;
}

.product-card .more .ic {
  transition: transform 0.2s;
}

.product-card:hover .more .ic {
  transform: translateX(4px);
}

.product-card .peek {
  position: relative;
  width: min(15rem, 70%);
  margin: 2rem auto -9rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
  white-space: nowrap;
}

.status.live {
  background: rgba(61, 212, 122, 0.12);
  color: #7fe3a6;
}

.status.soon {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: color-mix(in srgb, var(--accent) 80%, white);
}

/* 카드 격자 */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  grid-column: span 2;
  padding: 1.6rem 1.5rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s, background 0.25s;
}

.card:hover {
  border-color: var(--line-2);
  background: var(--surface-2);
}

.card.wide {
  grid-column: span 3;
}

.card .ic-wrap {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.1rem;
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card .tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.45rem;
  border-radius: 0.4rem;
  background: var(--surface-2);
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 650;
  vertical-align: 0.15em;
}

/* 기능 줄 */
.features {
  display: grid;
  gap: clamp(4rem, 9vw, 7rem);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.feature:nth-child(even) .feature-media {
  order: -1;
}

.feature .num {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1.1rem;
  border-radius: 0.7rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
}

.feature h3 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 750;
}

.feature p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.checks {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.checks .ic {
  margin-top: 0.22rem;
  color: var(--accent);
}

.feature-media {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: clamp(2rem, 4vw, 3rem) 1rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background:
    radial-gradient(60% 60% at 50% 40%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 75%),
    var(--surface);
  overflow: hidden;
}

.feature-media .phone {
  width: min(15.5rem, 64vw);
}

.feature-media.pair .phone {
  width: min(13rem, 40vw);
}

.feature-media.pair .phone:last-child {
  margin-top: 2.5rem;
}

/* 단계 */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.steps h3 {
  font-size: 1.2rem;
}

.steps p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.steps .note {
  margin-top: 0.85rem;
  color: var(--dim);
  font-size: 0.88rem;
}

.steps.illustrated {
  grid-template-columns: 1fr;
}

.steps.illustrated li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.steps.illustrated li::before {
  margin-bottom: 0;
}

.steps.illustrated .step-copy,
.steps.illustrated .figs,
.steps.illustrated > figure {
  min-width: 0;
}

.steps .figs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  min-width: 0;
}

.steps figure {
  margin: 0;
  min-width: 0;
}

.steps figure svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.steps figure text {
  font-family: var(--font);
}

.steps figcaption {
  margin-top: 0.5rem;
  color: var(--dim);
  font-size: 0.88rem;
}

/* 갤러리 */
.gallery {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0.5rem max(1.25rem, calc((100vw - var(--container)) / 2)) 1.5rem;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(1.25rem, calc((100vw - var(--container)) / 2));
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}

.gallery figure {
  flex: 0 0 min(15rem, 66vw);
  margin: 0;
  scroll-snap-align: start;
}

.gallery figure .phone {
  border-radius: 2.2rem;
  box-shadow: 0 20px 50px -25px rgba(0, 0, 0, 0.8);
}

.gallery figure .phone img {
  border-radius: 1.75rem;
}

.gallery figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.gallery figcaption strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--ink);
  font-size: 1.02rem;
}

.gallery-nav {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}

.gallery-nav button {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s;
}

.gallery-nav button:hover {
  background: var(--surface-2);
}

/* 쓰임 */
.uses {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.uses li {
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 600;
}

/* 자주 묻는 질문 */
.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
  margin-inline: auto;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: background 0.2s, border-color 0.2s;
}

.faq details[open] {
  border-color: var(--line-2);
  background: var(--surface-2);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid var(--dim);
  border-bottom: 2px solid var(--dim);
  transform: rotate(45deg) translateY(-25%);
  transition: transform 0.25s;
}

.faq details[open] summary::after {
  transform: rotate(225deg) translateY(-25%);
}

.faq details p {
  margin: 0;
  padding: 0 1.35rem 1.25rem;
  color: var(--muted);
}

/* 사업자 정보 */
.company {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.company .section-head {
  margin-bottom: 0;
}

.biz {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.biz div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding: 1.05rem 1.5rem;
  border-top: 1px solid var(--line);
}

.biz div:first-child {
  border-top: 0;
}

.biz dt {
  color: var(--dim);
  font-size: 0.95rem;
}

.biz dd {
  margin: 0;
  font-weight: 600;
}

.biz a {
  color: var(--accent);
  overflow-wrap: anywhere;
}

/* 행동 띠 */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border: 1px solid var(--line-2);
  border-radius: 2.25rem;
  background:
    radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%),
    radial-gradient(60% 100% at 0% 100%, rgba(120, 120, 255, 0.12), transparent 60%),
    var(--bg-2);
  text-align: center;
}

.cta-band h2 {
  max-width: 36rem;
  margin-inline: auto;
}

.cta-band p {
  max-width: 34rem;
  margin: 1rem auto 0;
  color: var(--muted);
}

.cta-band .actions {
  justify-content: center;
}

/* 바닥글 */
.site-footer {
  margin-top: clamp(1rem, 4vw, 2rem);
  padding: 3.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-brand img {
  width: auto;
  height: 2.75rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 22rem;
  margin: 0;
}

.site-footer h4 {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.site-footer ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: var(--ink);
}

.legal-line {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.85rem;
  line-height: 1.8;
}

.legal-line p {
  margin: 0;
}

/* 문서 페이지 */
.doc {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem;
}

.doc h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 750;
}

.doc .meta {
  margin: 0.9rem 0 2.5rem;
  color: var(--dim);
}

.doc h2 {
  margin: 2.75rem 0 0.75rem;
  font-size: 1.35rem;
}

.doc h3 {
  margin: 1.75rem 0 0.55rem;
  font-size: 1.05rem;
}

.doc ol {
  padding-left: 1.2rem;
}

.doc .table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 1.1rem;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.doc th,
.doc td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.doc th {
  color: var(--ink);
  font-weight: 650;
}

.doc p,
.doc li {
  color: var(--muted);
}

.doc ul {
  padding-left: 1.2rem;
}

.doc li + li {
  margin-top: 0.4rem;
}

.doc a {
  color: var(--accent);
}

.doc .panel {
  margin: 1.5rem 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.doc .panel p {
  margin: 0.25rem 0;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.contact-cards a {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.contact-cards a:hover {
  border-color: var(--line-2);
  background: var(--surface-2);
}

.contact-cards img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
}

.contact-cards strong {
  display: block;
}

.contact-cards span {
  color: var(--dim);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

/* 나타나기 */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .float {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 반응형 */
@media (max-width: 960px) {
  .hero-grid,
  .feature,
  .company {
    grid-template-columns: 1fr;
  }

  .feature:nth-child(even) .feature-media {
    order: 0;
  }

  .products {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card,
  .card.wide {
    grid-column: span 1;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps li {
    padding: 1.35rem 1.15rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .stage {
    min-height: 0;
    margin-top: 1rem;
  }
}

@media (min-width: 961px) {
  .steps.illustrated li {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 1.15fr);
    column-gap: 1.75rem;
    align-items: center;
  }

  .steps.illustrated li::before,
  .steps.illustrated .step-copy {
    grid-column: 1;
  }

  .steps.illustrated li::before {
    margin-bottom: 0.35rem;
  }

  .steps.illustrated .figs,
  .steps.illustrated > figure {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
  }

  .steps .figs {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .nav-wrap {
    gap: 0.55rem;
  }

  .nav {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    padding: 0.35rem 0.45rem;
    font-size: 0.84rem;
  }

  .header-cta {
    display: none;
  }

  .logo img {
    height: 2.65rem;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .biz div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }

  .product-card .peek {
    margin-bottom: -7rem;
  }

  .stage.duo .phone:last-child {
    margin-left: -2.5rem;
  }

  .gallery-nav {
    display: none;
  }
}
