/* ==========================================================================
   M.A.D.S. Corp. — Design tokens
   ========================================================================== */
:root {
  --ink: #14171c;
  --graphite: #2e3138;
  --steel: #6b7079;
  --line: #e2ded7;
  --mist: #ebe8e2;
  --paper: #f4f2ee;
  --card: #ffffff;
  --brand: #ed6614;
  --brand-deep: #c9520e;
  --brand-tint: #fdf1e8;
  --brand-grad: linear-gradient(90deg, #ed6614, #f5a000);
  --night: #050607;
  --night-2: #0f1113;
  --night-card: #17191d;
  --night-line: #2a2d33;
  --on-night: #e9e6e0;
  --on-night-soft: rgba(233, 230, 224, 0.68);
  --ok: #1f8a5b;
  --danger: #c62828;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-pill: 999px;

  --container: 1200px;
  --gutter: 24px;
  --section: 112px;
  --header-h: 72px;

  --shadow-card: 0 12px 32px rgba(17, 17, 17, 0.08);
  --ease: 200ms ease-out;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

p {
  text-wrap: pretty;
}

/* 줄바꿈 규칙: 문장 = 한 블록(줄 길이 균등), 구(句)는 끊지 않음 */
.sen {
  display: block;
  text-wrap: balance;
}

.ph {
  display: inline-block;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--graphite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

strong {
  font-weight: 700;
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-md);
  font-weight: 700;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ==========================================================================
   Typography
   ========================================================================== */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}

.display {
  text-wrap: balance;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.h2 {
  text-wrap: balance;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.lead {
  text-wrap: pretty;
  font-size: 19px;
  line-height: 1.7;
  color: var(--graphite);
}

.small {
  font-size: 14px;
  line-height: 1.6;
  color: var(--steel);
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head .lead {
  margin-top: 20px;
}

/* Doubly-sure double rule */
.rule {
  display: block;
  width: 36px;
  height: 7px;
  margin-bottom: 22px;
  background: linear-gradient(var(--brand), var(--brand)) top / 100% 2px no-repeat,
    linear-gradient(var(--brand), var(--brand)) bottom / 100% 2px no-repeat;
}

.on-dark .rule {
  background: linear-gradient(#fff, #fff) top / 100% 2px no-repeat,
    linear-gradient(#fff, #fff) bottom / 100% 2px no-repeat;
  opacity: 0.9;
}

/* Heartbeat divider (brand logo motif) */
.heartbeat {
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='14' viewBox='0 0 160 14'><path d='M0 9h44l4-7 5 11 4-6 3 2h100' fill='none' stroke='%23ed6614' stroke-width='1.6' stroke-linejoin='round' stroke-linecap='round'/></svg>")
    center / 160px 14px repeat-x;
  opacity: 0.55;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--r-md);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease),
    transform var(--ease), box-shadow var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f7a11a 0%, #ed6614 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 18px rgba(237, 102, 20, 0.35);
}

.btn-lg {
  min-height: 62px;
  padding: 0 32px;
  font-size: 18px;
  border-radius: 10px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f5a000 0%, #d95a0f 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(237, 102, 20, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--ink);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Chips / badges
   ========================================================================== */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px 0 10px;
  border-radius: var(--r-pill);
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.chip svg {
  width: 16px;
  height: 16px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  background: var(--mist);
  color: var(--steel);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(5, 6, 7, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color var(--ease);
}

.header.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 26px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav > li {
  position: relative;
}

.nav a,
.nav button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--on-night-soft);
  transition: background var(--ease), color var(--ease);
}

.nav a:hover,
.nav button:hover,
.nav button[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav button svg {
  width: 14px;
  height: 14px;
  transition: transform var(--ease);
}

.nav button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 640px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.dropdown.is-open {
  display: grid;
}

.dropdown a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  height: auto;
  padding: 12px 14px;
}

.dropdown a strong {
  font-size: 15px;
}

.dropdown a span {
  font-size: 13px;
  color: var(--steel);
  font-weight: 400;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-tel {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  padding: 0 10px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 메뉴 9개 + 전화번호 + 견적 버튼이 한 줄에 다 들어가지 않는 폭: 전화번호는 숨기고(모바일 바·푸터에 있음) 메뉴 간격을 줄인다 */
@media (max-width: 1360px) {
  .header-tel {
    display: none;
  }
}

@media (max-width: 1200px) {
  .nav a,
  .nav button {
    padding: 0 10px;
  }
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  color: #fff;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile drawer */
.drawer {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 90;
  background: var(--night);
  color: var(--on-night);
  overflow-y: auto;
  padding: 16px 20px 120px;
}

.drawer.is-open {
  display: block;
}

.drawer-group {
  padding: 10px 0;
  border-bottom: 1px solid var(--night-line);
}

.drawer-group > span {
  display: block;
  padding: 8px 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f5a000;
  font-weight: 600;
}

.drawer a {
  display: block;
  padding: 12px 0;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.drawer a small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--on-night-soft);
}

/* ==========================================================================
   Hero — 블랙 배경 + 브랜드 선언 + SAFE LEADER 표지판
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--night);
  color: var(--on-night);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 78% 50%, rgba(245, 180, 0, 0.10), transparent 70%),
    linear-gradient(180deg, #050607 0%, #0a0b0d 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  padding-block: 128px 112px;
}

.hero-copy {
  max-width: 720px;
}

.hero .eyebrow {
  color: #f5b400;
}

.hero .display {
  color: #fff;
  font-size: 60px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-top: 6px;
}

.hero .display em {
  font-style: normal;
  color: #f5b400;
}

.hero .lead {
  margin-top: 28px;
  color: var(--on-night-soft);
  font-size: 18px;
  line-height: 1.8;
}

.hero .lead strong {
  color: #fff;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero .chips {
  margin-top: 32px;
}

.hero .chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--on-night);
}

.hero .chip svg {
  color: #f5b400;
}

.hero-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-art .sign {
  width: min(100%, 440px);
  height: auto;
  transform: rotate(-6deg);
}

.hero-art-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  font-weight: 500;
}

.hero-art-caption .brandword {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: #f5b400;
  font-family: "Arial Black", "Pretendard Variable", Pretendard, sans-serif;
  text-shadow: 0 2px 12px rgba(245, 180, 0, 0.35);
}

.hero-foot {
  position: relative;
  background-color: var(--night-2);
  opacity: 0.8;
}

/* ==========================================================================
   Page hero (제품 상세) — 밝은 스톤 배경 위 2단
   ========================================================================== */
.page-hero {
  padding: 56px 0 0;
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.page-hero .hero-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--mist);
}

.page-hero .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: var(--section) 0;
}

.section-mist {
  background: var(--mist);
}

.section-night {
  background: var(--night);
  color: rgba(255, 255, 255, 0.82);
}

.section-night .h2,
.section-night .h3,
.section-night strong {
  color: #fff;
}

.section-night .eyebrow {
  color: #f5a000;
}

.section-night .lead,
.section-night p {
  color: var(--on-night-soft);
}

.section-night .card {
  background: var(--night-card);
  border-color: var(--night-line);
}

.section-night .card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.section-night .card .h3,
.section-night .law-card .card-kicker {
  color: #fff;
}

.section-night .card p {
  color: var(--on-night-soft);
}

.section-night .callout {
  background: var(--night-card);
  color: #fff;
}

.section-night .callout a {
  color: #f5a000;
}

/* Cards grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 28px;
  width: 3px;
  height: 0;
  border-radius: 2px;
  background: var(--brand);
  transition: height var(--ease);
}

.card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-card);
}

.card:hover::before {
  height: 36px;
}

.card .h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--graphite);
}

.card-kicker {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}

.stat {
  padding-top: 18px;
  border-top: 2px solid var(--brand);
}

.stat-n {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat-n small {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  margin-left: 4px;
  letter-spacing: 0;
}

.stat-l {
  margin-top: 10px;
  font-size: 14px;
  color: var(--steel);
  line-height: 1.55;
}

.section-night .stat-n {
  color: #fff;
}

.section-night .stat {
  border-top-color: #f5a000;
}

/* ==========================================================================
   Problem (why now)
   ========================================================================== */
.law-card .card-kicker {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4px;
}

.law-card .card-kicker em {
  font-style: normal;
  color: var(--brand);
}

.law-card .h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.law-card p {
  font-size: 15px;
  line-height: 1.7;
}

.callout {
  margin-top: 40px;
  padding: 22px 28px;
  border-left: 3px solid var(--brand);
  background: var(--card);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.callout a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-deep);
  font-weight: 700;
  white-space: nowrap;
}

.callout a svg {
  width: 16px;
  height: 16px;
}

.callout a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.br-lg {
  display: inline;
}

/* ==========================================================================
   Pillars (how we work)
   ========================================================================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 40px;
}

.pillar-n {
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 14px;
}

.pillar .h3 {
  margin-bottom: 12px;
}

.pillar p {
  font-size: 15.5px;
}

/* ==========================================================================
   Products
   ========================================================================== */
.product-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.product-card .pc-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mist);
}

.product-card .pc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.product-card:hover .pc-media img {
  transform: scale(1.03);
}

.product-card .pc-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card .tag {
  align-self: flex-start;
  margin-bottom: 12px;
}

.product-card .h3 {
  font-size: 20px;
}

.product-card p {
  font-size: 15px;
  flex: 1;
}

.pc-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.pc-stat {
  min-width: 0;
  font-size: 13px;
  color: var(--steel);
  line-height: 1.4;
}

.pc-foot .link-arrow {
  flex: none;
  white-space: nowrap;
}

.pc-stat b {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.pc-stat b small {
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
  margin-left: 2px;
}

.help-card {
  margin-top: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px 36px;
  border-radius: var(--r-lg);
  background: var(--brand-tint);
  border: 1px solid #f8d9c2;
}

.help-card .h3 {
  margin-bottom: 6px;
}

.help-card p {
  font-size: 15.5px;
}

/* ==========================================================================
   Process
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
  counter-reset: step;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--brand);
}

.step-n {
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--brand);
  font-weight: 700;
}

.step-icon {
  width: 40px;
  height: 40px;
  margin: 18px 0 16px;
  color: var(--ink);
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.step .h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
}

.step-out {
  margin-top: auto;
  padding-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
  color: var(--steel);
}

.step-out b {
  color: var(--ink);
  font-weight: 700;
}

.facts {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.facts svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
}

/* ==========================================================================
   Cases
   ========================================================================== */
.case-card {
  padding: 0;
  overflow: hidden;
}

.case-card .cc-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.case-card .cc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card .cc-body {
  padding: 20px 22px 22px;
}

.case-card .tag {
  margin-bottom: 10px;
}

.case-card .h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.case-card p {
  font-size: 14.5px;
  color: var(--steel);
}

.cases-foot {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.link-blog {
  font-size: 19px;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--card);
}

.link-blog .naver {
  width: 28px;
  height: 28px;
}

.link-blog:hover {
  border-color: var(--ink);
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.plan {
  display: flex;
  flex-direction: column;
}

.plan.is-featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-card);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 28px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.plan .h3 {
  font-size: 22px;
}

.plan-for {
  font-size: 14px;
  color: var(--steel);
  margin-bottom: 20px;
}

.plan ul {
  flex: 1;
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.plan li svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--brand);
}

.plan-target {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
  color: var(--steel);
}

.plan-target b {
  color: var(--ink);
}

.quote-includes {
  margin-top: 56px;
  padding: 36px 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.quote-includes .h3 {
  font-size: 20px;
}

.quote-includes ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.quote-includes li {
  display: flex;
  gap: 8px;
  align-items: center;
}

.quote-includes li svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  flex: none;
}

.pricing-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.pricing-note {
  text-align: center;
  font-weight: 600;
  color: var(--ink);
}

.faq-foot {
  margin-top: 28px;
  text-align: center;
  font-size: 15px;
  color: var(--steel);
}

.faq-foot a {
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

/* ==========================================================================
   Objections / FAQ
   ========================================================================== */
.objections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px var(--gutter);
}

.objection {
  padding: 26px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.objection .h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.objection .h3::before {
  content: "Q";
  display: inline-block;
  margin-right: 10px;
  color: var(--brand);
  font-weight: 800;
}

.objection p {
  font-size: 15px;
}

.faq {
  max-width: 860px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform var(--ease);
  margin-right: 4px;
}

.faq details[open] summary::after {
  transform: rotate(225deg);
}

.faq details p {
  padding: 0 4px 24px;
  font-size: 15.5px;
  max-width: 760px;
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: stretch;
}

/* 사진 높이를 오른쪽 글 블록 높이에 맞춤 (데스크톱) */
.about-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 360px;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about .stats {
  margin-top: 40px;
}

.about .stat-n {
  font-size: 40px;
}

.about-meta {
  margin-top: 36px;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  color: var(--steel);
}

.about-meta b {
  color: var(--ink);
  font-weight: 700;
  margin-right: 8px;
}

/* ==========================================================================
   Quote form
   ========================================================================== */
.quote {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.quote-side .lead {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 20px;
}

.quote-alt {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 14px;
}

.quote-alt a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}

.quote-alt a svg {
  width: 22px;
  height: 22px;
  color: #f5a000;
}

.quote-alt small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

.form {
  background: var(--card);
  color: var(--graphite);
  border-radius: var(--r-lg);
  padding: 36px;
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field label,
.field > span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.field label .req,
.field > span .req {
  color: var(--brand);
  margin-left: 2px;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(237, 102, 20, 0.18);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--danger);
}

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: var(--danger);
}

.field.is-invalid .field-error {
  display: block;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--graphite);
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
  margin: 0;
  flex: none;
}

.file-input {
  font-size: 14px;
}

.file-input input {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  background: var(--mist);
}

.consent {
  font-size: 14px;
  align-items: flex-start;
}

.consent input {
  margin-top: 3px;
}

.consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
}

.form-status.is-error {
  display: block;
  background: #fdecec;
  color: var(--danger);
}

.form-status.is-ok {
  display: block;
  background: #e8f5ee;
  color: var(--ok);
}

.form-fine {
  font-size: 13px;
  color: var(--steel);
  text-align: center;
}

/* 어두운 견적 섹션 안의 흰 폼 카드: .section-night p의 밝은 글자색을 되돌린다 */
.section-night .form .form-fine {
  color: var(--steel);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--night-2);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 40px;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
  height: 24px;
  width: auto;
}

.footer-brand p {
  margin-top: 18px;
  line-height: 1.8;
}

.footer-h {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer li + li {
  margin-top: 8px;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  margin-right: 16px;
}

/* ==========================================================================
   Mobile sticky bar / floating
   ========================================================================== */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(5, 6, 7, 0.96);
  border-top: 1px solid var(--night-line);
  backdrop-filter: blur(8px);
  gap: 10px;
}

.mobile-bar .btn {
  flex: 1;
  min-height: 54px;
  font-size: 17px;
  font-weight: 800;
}

.mobile-bar .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* 3칸(전화·카톡·견적 요청): 좁은 폰(320px)에서도 글자가 넘치지 않게 여백을 줄이고 견적 요청을 조금 넓게 */
.mobile-bar .btn {
  padding: 0 8px;
  gap: 6px;
  font-size: 16px;
}

.mobile-bar .btn-primary {
  flex: 1.4;
}

.mobile-bar .btn-kakao {
  background: #fee500;
  border-color: #fee500;
  color: #191919;
}

.kakao-fab {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 94;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 22px 0 16px;
  border-radius: var(--r-pill);
  background: #fee500;
  color: #191919;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(254, 229, 0, 0.18);
  transition: transform var(--ease), box-shadow var(--ease);
}

.kakao-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), 0 0 0 6px rgba(254, 229, 0, 0.22);
}

.kakao-fab svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   Product detail pages
   ========================================================================== */
.page-hero .display {
  font-size: 44px;
}

.page-hero .lead {
  margin-top: 22px;
}

.page-hero .hero-actions {
  margin-top: 32px;
}


.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--steel);
  margin-bottom: 22px;
}

.breadcrumb a:hover {
  color: var(--ink);
}

/* 긴 글 제목이 옆에 와도 '홈'·'인사이트'가 한 글자씩 세로로 꺾이지 않게 */
.breadcrumb a,
.breadcrumb [aria-hidden] {
  flex-shrink: 0;
  white-space: nowrap;
}

.page-stats {
  padding: 56px 0 0;
}

.types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}

.type-card {
  padding: 0;
  overflow: hidden;
}

.type-card .tc-media {
  aspect-ratio: 4 / 3;
  background: var(--mist);
  overflow: hidden;
}

.type-card .tc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.type-card .tc-body {
  padding: 22px 24px 24px;
}

.type-card .h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.type-card p {
  font-size: 15px;
}

.type-card .tc-meta {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--steel);
}

.apps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
}

.app {
  text-align: center;
}

.app-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--mist);
}

.app-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app b {
  font-size: 15px;
  color: var(--ink);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
}

.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 640px;
  font-variant-numeric: tabular-nums;
}

.spec caption {
  text-align: left;
  padding: 18px 20px 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.spec caption small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--steel);
}

.spec th,
.spec td {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.spec thead th {
  background: var(--mist);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--steel);
  white-space: nowrap;
}

.spec tbody th {
  font-weight: 700;
  color: var(--ink);
}

.spec tbody th:first-child,
.spec tbody td:first-child {
  position: sticky;
  left: 0;
  background: #fff;
}

.spec-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--steel);
}

.spec-group + .spec-group {
  margin-top: 40px;
}

.compare {
  min-width: 720px;
}

.compare td {
  white-space: normal;
}

.law-list {
  display: grid;
  gap: 14px;
}

.law-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 15px;
}

.law-list b {
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.sub-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.sub-section + .sub-section {
  margin-top: 88px;
}

.sub-section:nth-child(even) .sub-media {
  order: -1;
}

.sub-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.sub-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-section .h2 {
  font-size: 32px;
}

.sub-section .lead {
  margin-top: 16px;
  font-size: 17px;
}

.sub-section .stats {
  margin-top: 28px;
}

.sub-section .stat-n {
  font-size: 36px;
}

.cta-band {
  padding: 88px 0;
}

.cta-band .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.cta-band .h2 {
  font-size: 32px;
}

.cta-band p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.cta-band .hero-actions {
  margin-top: 0;
}

.other-products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.other-products a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  transition: border-color var(--ease), background var(--ease);
}

.other-products a:hover {
  border-color: var(--ink);
  background: var(--mist);
}

.other-products a small {
  display: block;
  margin-top: 4px;
  font-weight: 400;
  color: var(--steel);
  font-size: 12.5px;
}

/* Simple text pages */
.prose {
  max-width: 800px;
  margin: 0 auto;
  /* 세로만 지정: .container의 좌우 여백(--gutter)을 지우지 않도록 */
  padding-block: 72px 112px;
}

.prose .h2 {
  margin-bottom: 32px;
}

.prose h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 40px 0 12px;
}

.prose p,
.prose li {
  font-size: 15.5px;
}

.prose ul {
  list-style: disc;
  padding-left: 22px;
}

.prose ol {
  list-style: decimal;
  padding-left: 22px;
}

.prose th:first-child,
.prose td:first-child {
  min-width: 4.5em;  /* 좁은 화면에서 첫 칸 한글이 한 글자씩 꺾이지 않게 */
}

.prose h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 6px;
}

/* 인사이트 글 본문 사진 */
.prose .post-fig {
  margin: 20px 0;
}

.prose .post-fig img {
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  display: block;
}

.prose .post-fig figcaption {
  font-size: 13px;
  color: var(--steel);
  margin-top: 6px;
}

.prose .post-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.prose .post-pair .post-fig {
  margin: 8px 0;
}

/* 문단 사이 숨 쉴 간격 */
.prose p + p,
.prose ul + p,
.prose ol + p {
  margin-top: 14px;
}

.prose p + ul,
.prose p + ol {
  margin-top: 10px;
}

.prose p > .btn {
  margin: 8px 0;
}

/* 본문 속 링크가 일반 글자와 구분되도록 */
.prose > p a:not(.btn),
.prose > ul > li a,
.prose > ol > li a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-underline-offset: 3px;
}

.prose li + li {
  margin-top: 6px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 16px 0;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--mist);
  font-weight: 600;
}

.thanks {
  text-align: center;
  padding: 120px 0;
}

.thanks .display {
  font-size: 44px;
}

.thanks .lead {
  margin: 20px auto 0;
  max-width: 560px;
}

.thanks .hero-actions {
  justify-content: center;
}

.thanks-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  display: grid;
  place-items: center;
}

.thanks-mark svg {
  width: 36px;
  height: 36px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --section: 88px;
  }

  .display {
    font-size: 44px;
  }

  .hero .display {
    font-size: 48px;
  }

  .h2 {
    font-size: 34px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero .container,
  .page-hero .container,
  .about,
  .quote,
  .sub-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-media {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .sub-section:nth-child(even) .sub-media {
    order: 0;
  }

  .grid-3,
  .grid-4,
  .pillars,
  .steps,
  .types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-includes {
    grid-template-columns: 1fr;
  }

  .quote-includes ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .other-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .nav,
  .header-tel {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .cta-band .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section: 64px;
    --gutter: 20px;
    --header-h: 64px;
  }

  body {
    padding-bottom: 80px;
  }

  .display {
    font-size: 34px;
  }

  .h2 {
    font-size: 28px;
  }

  .h3 {
    font-size: 20px;
  }

  .lead {
    font-size: 17px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .stat-n {
    font-size: 40px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .hero-grid {
    padding-block: 56px 64px;
  }

  .hero .display {
    font-size: 36px;
  }

  .hero-art .sign {
    width: min(70%, 300px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-media,
  .page-hero .hero-media {
    aspect-ratio: 16 / 10;
  }

  .hero-foot {
    margin-top: 40px;
  }

  .logo img {
    height: 22px;
  }

  .header-cta .btn {
    display: none;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .pillars,
  .stats,
  .objections,
  .types,
  .checks,
  .form-row {
    grid-template-columns: 1fr;
  }

  .stats {
    gap: 20px;
  }

  .apps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 24px;
    border-left: 2px solid var(--line);
  }

  .step {
    padding: 0 0 36px;
    border-top: 0;
  }

  .step::before {
    top: 4px;
    left: -31px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px #fff;
  }

  .step-icon {
    margin-top: 12px;
  }

  .help-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .help-card .btn {
    width: 100%;
  }

  .quote-includes {
    padding: 26px;
  }

  .quote-includes ul {
    grid-template-columns: 1fr;
  }

  .form {
    padding: 24px;
  }

  .other-products {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mobile-bar {
    display: flex;
  }

  /* 모바일은 하단 바에 카톡 버튼이 있으므로 떠 있는 버튼을 숨긴다 (본문·입력칸을 가리지 않게) */
  .kakao-fab {
    display: none;
  }

  .page-hero .display,
  .cta-band .h2,
  .thanks .display {
    font-size: 30px;
  }

  .sub-section .h2 {
    font-size: 26px;
  }

  .law-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .faq summary {
    font-size: 16px;
    padding: 18px 2px;
  }

  .callout {
    padding: 18px 20px;
  }
}

@media (max-width: 480px) {
  .br-lg {
    display: none;
  }

  .hero .display {
    font-size: 32px;
  }

  .callout a {
    white-space: normal;
  }

  .apps {
    grid-template-columns: 1fr 1fr;
  }

  .other-products {
    grid-template-columns: 1fr;
  }

  .chip {
    height: auto;
    padding: 6px 12px 6px 10px;
    white-space: normal;
  }
}

/* 수정 요청용 번호표: body.is-edit 일 때만 표시 (?edit=1 또는 시안 빌드) */
.is-edit [data-t] {
  position: relative;
  outline: 1px dashed rgba(237, 102, 20, 0.35);
  outline-offset: 2px;
}

.is-edit [data-t]::before {
  content: attr(data-t);
  position: absolute;
  top: -10px;
  left: -4px;
  z-index: 5;
  padding: 1px 6px;
  border-radius: 4px;
  background: #ed6614;
  color: #fff;
  font: 700 10px/1.5 var(--font);
  letter-spacing: 0.04em;
  pointer-events: none;
  text-transform: none;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .header,
  .mobile-bar,
  .kakao-fab,
  .drawer {
    display: none !important;
  }

  body {
    padding-bottom: 0;
  }
}

/* ==========================================================================
   Blog / Insights (blog.html, blog/*.html)
   ========================================================================== */
.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-date {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}

.blog-card .h3 {
  margin-top: 6px;
}

.blog-card .h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-card p {
  flex: 1;
  margin-top: 10px;
}

.blog-card .link-arrow {
  margin-top: 16px;
}

.prose .help-card {
  margin-top: 48px;
}

/* ==========================================================================
   Cases page (cases.html) — 현장명 + 현장 사진
   ========================================================================== */
.page-hero-dark {
  background: var(--night);
  color: var(--on-night);
  padding: 72px 0 40px;
}

.page-hero-dark .breadcrumb {
  color: rgba(255, 255, 255, 0.5);
}

.page-hero-dark .eyebrow {
  color: #f5b400;
}

.page-hero-dark .display {
  color: #fff;
  font-size: 48px;
}

.page-hero-dark .lead {
  color: var(--on-night-soft);
  margin-top: 18px;
  max-width: 640px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.filter {
  height: 38px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--on-night);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.filter:hover {
  border-color: #fff;
}

.filter.is-active {
  background: #f5b400;
  border-color: #f5b400;
  color: #0b0c0e;
}

.projects .container {
  display: grid;
  gap: 72px;
}

.project.is-hidden {
  display: none;
}

.project-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.project-head .tag {
  margin-bottom: 10px;
}

.project-head .h2 {
  font-size: 30px;
}

.project-meta {
  margin-top: 8px;
  font-size: 15px;
  color: var(--steel);
}

.project-count {
  flex: none;
  font-size: 13px;
  color: var(--steel);
  padding-bottom: 6px;
}

.photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--mist);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.photo:hover img {
  transform: scale(1.03);
}

.photos > .photo:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

/* 사진이 많은 현장은 처음 6장만(휴대폰 3장) — '모두 보기'로 펼침 */
.photos.is-folded > .photo:nth-child(n+7) {
  display: none;
}

.photos-more {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 4px;
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.photos-more:hover {
  border-color: var(--steel);
}

.photos-more.is-mobile-only {
  display: none;
}

.blog-card.is-hidden {
  display: none;
}

.filters .filter small {
  margin-left: 2px;
  font-size: 0.85em;
  opacity: 0.7;
}

.cc-more {
  margin-top: 14px;
  font-size: 14px;
}

.cases-foot {
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(5, 6, 7, 0.94);
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lb-img {
  max-width: min(1400px, 92vw);
  max-height: 84vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lb-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 600;
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.lb-close {
  top: 22px;
  right: 22px;
  transform: none;
  font-size: 30px;
}

.lb-prev {
  left: 22px;
}

.lb-next {
  right: 22px;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 768px) {
  .page-hero-dark {
    padding: 44px 0 32px;
  }

  .page-hero-dark .display {
    font-size: 30px;
  }

  .photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .photos > .photo:first-child {
    grid-column: span 2;
    grid-row: auto;
  }

  .photos.is-folded > .photo:nth-child(n+4) {
    display: none;
  }

  .photos-more.is-mobile-only {
    display: block;
  }

  .project-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .project-head .h2 {
    font-size: 24px;
  }

  .lb-prev,
  .lb-next {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }

  .lb-prev {
    left: 8px;
  }

  .lb-next {
    right: 8px;
  }
}

/* ---------- estimate.html: 셀프 진단 ---------- */
.est {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: start;
}
.est-form {
  border: 1px solid var(--line);
}
.est-form .h3 {
  font-size: 17px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.est-form .h3 + .field {
  margin-top: -4px;
}
.est-form .form-fine {
  margin-top: -6px;
}
.est-dims {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.field input[type="number"] {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input[type="number"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(237, 102, 20, 0.18);
}
[data-est-group] {
  display: grid;
  gap: 18px;
}
[data-est-group][hidden],
[data-est-only][hidden] {
  display: none;
}
.est-result {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.est-empty p {
  margin-top: 10px;
  color: var(--steel);
}
.est-empty .h3 {
  color: var(--ink);
}
.est-space {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--steel);
}
.est-space small {
  font-weight: 500;
  font-size: 13.5px;
}
.est-out .h3 {
  margin-top: 18px;
  font-size: 26px;
}
.est-model {
  margin-top: 6px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--brand-deep);
}
.est-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.est-stats .stat-n {
  font-size: 44px;
}
.est-stats .stat-n small {
  font-size: 18px;
  margin-left: 4px;
  font-weight: 700;
  color: var(--steel);
}
.est-h {
  margin-top: 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
.est-list {
  margin-top: 8px;
  display: grid;
  gap: 6px;
  font-size: 14.5px;
  color: var(--graphite);
  padding-left: 18px;
  list-style: disc;
}
.est-list a {
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.est-cands {
  margin-top: 8px;
  display: grid;
  gap: 6px;
  list-style: none;
  padding: 0;
}
.est-cands li {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
}
.est-cands li.is-primary {
  background: var(--brand-tint);
  border-color: #f8d9c2;
}
.ec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  font-size: 14px;
}
.ec-head a {
  font-weight: 700;
  color: var(--ink);
}
.ec-model {
  color: var(--graphite);
  font-weight: 600;
}
.ec-vol {
  margin-left: auto;
  font-weight: 700;
  color: var(--brand-deep);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ec-cond {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--steel);
}
.est-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  vertical-align: 1px;
}
.est-badge-warn {
  background: var(--mist);
  color: var(--steel);
}
.est-law {
  margin-top: 8px;
  font-size: 14px;
  color: var(--graphite);
}
.est-price {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--brand-tint);
  border: 1px solid #f8d9c2;
  display: grid;
  gap: 4px;
}
.est-price b {
  font-size: 13px;
  color: var(--brand-deep);
}
.est-price span {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.est-price small {
  font-size: 13px;
  color: var(--steel);
}
.est-price-na {
  background: var(--paper);
  border-color: var(--line);
}
.est-price-na b {
  color: var(--steel);
}
.est-price-na span {
  font-size: 18px;
}
.est-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.est-out .form-fine {
  margin-top: 16px;
}

/* ---------- 관련 시공 사례 (제품 · 인사이트 하단) ---------- */
.prose .related-cases {
  margin-top: 56px;
}
.section .related-cases > .h3:empty {
  display: none;
}
.related-cases .h3 {
  margin-bottom: 20px;
}
.prose .related-cases .grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.prose .related-cases .case-card p {
  font-size: 14px;
}

/* ---------- cases.html: 공간별 요약 · 현장별 CTA ---------- */
.case-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
  margin-bottom: 64px;
}
.case-summary li {
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.case-summary .tag {
  margin-bottom: 10px;
}
.case-summary b {
  display: block;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
}
.case-summary small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--steel);
}
.project-foot {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  font-size: 14.5px;
}
.project-foot .link-arrow {
  font-size: 14.5px;
}
.project-foot a + a {
  color: var(--steel);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .est {
    grid-template-columns: 1fr;
  }
  .est-result {
    position: static;
  }
  .case-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .est-form,
  .est-result {
    padding: 24px 20px;
  }
  .est-dims {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .est-stats .stat-n {
    font-size: 36px;
  }
  .case-summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* 통계 숫자 앞 보조 표기 (예: 최대 15년) */
.stat-n small.pre {
  margin-left: 0;
  margin-right: 6px;
}

/* 모바일 홈: 제품 카드를 가로형으로 압축, 시공 사례는 3개만 노출(나머지는 '시공 사례 전체 보기') */
@media (max-width: 768px) {
  #products .product-card {
    flex-direction: row;
    align-items: stretch;
  }
  #products .product-card .pc-media {
    flex: 0 0 104px;
    aspect-ratio: auto;
  }
  #products .product-card .pc-body {
    padding: 14px 16px;
  }
  #products .product-card .tag {
    margin-bottom: 6px;
    font-size: 11px;
  }
  #products .product-card .h3 {
    font-size: 17px;
    margin-bottom: 4px;
  }
  #products .product-card p {
    font-size: 13.5px;
    line-height: 1.55;
  }
  #products .pc-foot {
    margin-top: 10px;
    padding-top: 10px;
  }
  #products .pc-stat {
    display: none;
  }
  #products .grid-3 {
    gap: 12px;
  }
  #cases .grid-3 > li:nth-child(n+4) {
    display: none;
  }
}

/* ==========================================================================
   Cursor effects (main.js)
   1) 손전등 리빌: 홈 첫 화면 어둠 속에 '사람이 없는 시간의 위험'을 숨겨 두고, 커서(손전등)로 비춘 곳만 드러난다.
      마우스가 없는 기기는 빛이 천천히 저절로 훑고, 모션 줄이기 설정이면 희미하게 고정 표시.
   2) 마그네틱 버튼: 본문 주황 버튼 + 첫 화면 버튼이 커서 쪽으로 살짝 끌려온다
   3) 3D 틸트: 홈 제품 카드
   4) 뷰파인더 커서: 시공 사례 사진 위에서 커서가 확대 뷰파인더로 바뀐다
   ========================================================================== */
@property --fxx { syntax: "<length-percentage>"; inherits: true; initial-value: 50%; }
@property --fxy { syntax: "<length-percentage>"; inherits: true; initial-value: -40%; }

.hero .hero-grid {
  position: relative;
  z-index: 1;
}

.fx-spot,
.fx-reveal {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.fx-spot {
  opacity: 0;
  transition: opacity 400ms ease;
  background: radial-gradient(300px circle at var(--fxx) var(--fxy),
              rgba(255, 196, 61, 0.16), rgba(237, 102, 20, 0.06) 45%, transparent 72%);
}

.fx-reveal {
  -webkit-mask-image: radial-gradient(230px circle at var(--fxx) var(--fxy), #000 0%, #000 42%, transparent 78%);
  mask-image: radial-gradient(230px circle at var(--fxx) var(--fxy), #000 0%, #000 42%, transparent 78%);
}

.hero.fx-lit .fx-spot,
.hero.fx-auto .fx-spot {
  opacity: 1;
}

.fx-risk {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px dashed rgba(255, 196, 61, 0.6);
  border-radius: 6px;
  background: rgba(245, 180, 0, 0.08);
  color: #ffc83d;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.fx-risk::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6a1a;
  box-shadow: 0 0 10px 2px rgba(255, 106, 26, 0.8);
}

.fx-risk small {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 220, 150, 0.75);
}

.fx-hint {
  position: absolute;
  z-index: 1;
  left: max(16px, calc((100% - var(--container)) / 2 + var(--gutter)));
  bottom: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(233, 230, 224, 0.55);
  pointer-events: none;
}

.fx-hint svg {
  width: 16px;
  height: 16px;
  color: #f5b400;
}

/* 데스크톱 배치: 문구·표지판을 피해 위쪽 띠, 오른쪽 가장자리, 아래쪽에 */
.fx-r1 { top: 3%; left: 9%; }
.fx-r2 { top: 4%; left: 44%; }
.fx-r3 { top: 10%; left: 70%; }
.fx-r4 { top: 25%; right: 1.5%; }
.fx-r5 { top: 58%; right: 1.5%; }
.fx-r6 { top: 88.5%; left: 46%; }
.fx-r7 { top: 91%; left: 72%; }

.hero.fx-auto .fx-reveal {
  animation: fx-sweep 14s ease-in-out infinite;
}

.hero.fx-auto .fx-spot {
  animation: fx-sweep 14s ease-in-out infinite;
}

@keyframes fx-sweep {
  0% { --fxx: 12%; --fxy: 4%; }
  20% { --fxx: 52%; --fxy: 6%; }
  40% { --fxx: 90%; --fxy: 30%; }
  60% { --fxx: 88%; --fxy: 62%; }
  80% { --fxx: 66%; --fxy: 86%; }
  100% { --fxx: 12%; --fxy: 4%; }
}

@media (max-width: 1200px) {
  .fx-r5 { display: none; }  /* 화면이 좁아지면 표지판과 겹침 */
}
@media (max-width: 1024px) {
  .fx-r4 { display: none; }
}

/* 휴대폰: 숨은 위험 7개를 하나씩 — 위치는 main.js(riskTour)가 글·버튼·표지판 사이 빈 줄을 재서 정하고, 빛이 따라간다 */
@media (max-width: 768px) {
  .fx-hint { display: none; }
  .fx-risk { display: inline-flex; gap: 6px; padding: 6px 10px; font-size: 12px; line-height: 1.25; top: 0; }
  .fx-risk small { font-size: 11px; }
  .fx-r1, .fx-r2, .fx-r6 { left: 5%; right: auto; }
  .fx-r3, .fx-r4, .fx-r5, .fx-r7 { left: auto; right: 4%; }

  .fx-spot {
    background: radial-gradient(200px circle at var(--fxx) var(--fxy),
                rgba(255, 196, 61, 0.18), rgba(237, 102, 20, 0.06) 45%, transparent 72%);
  }
  .fx-reveal {
    -webkit-mask-image: radial-gradient(150px circle at var(--fxx) var(--fxy), #000 0%, #000 45%, transparent 80%);
    mask-image: radial-gradient(150px circle at var(--fxx) var(--fxy), #000 0%, #000 45%, transparent 80%);
  }
  .hero.fx-seq .fx-spot { opacity: 1; }
  .hero.fx-seq .fx-spot,
  .hero.fx-seq .fx-reveal {
    transition: --fxx 900ms ease-in-out, --fxy 900ms ease-in-out, opacity 400ms ease;
  }
  .hero.fx-seq .fx-risk { opacity: 0; transition: opacity 400ms ease; }
  .hero.fx-seq .fx-risk.is-on { opacity: 1; transition-delay: 600ms; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-reveal {
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 0.35;
  }
}

.fx-cursor [data-magnetic] {
  transition: translate 180ms ease-out, background var(--ease), box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}

.fx-cursor .product-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.fx-cursor .product-card.is-tilting {
  transition: border-color var(--ease), box-shadow var(--ease);
}

.fx-cursor .product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
  background: radial-gradient(360px circle at var(--tx, 50%) var(--ty, 50%), rgba(255, 255, 255, 0.22), transparent 60%);
}

.fx-cursor .product-card.is-tilting::after {
  opacity: 1;
}

/* ---- 제품: 작동 원리 영상 · 사용방법 · 자료 (상업용 주방) ---- */
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.video-card { padding: 0; overflow: hidden; }
.video-card .vc-media { aspect-ratio: 16 / 9; background: var(--night); }
.video-card video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--night); }
.video-card .tc-body { padding: 20px 24px 24px; }
.video-card .h3 { font-size: 19px; margin-bottom: 8px; }
.video-card .h3 small { margin-left: 6px; font-size: 13px; font-weight: 500; color: var(--steel); }
.video-card p { font-size: 15px; }
.usage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.usage-card { padding: 28px; }
.usage-card .h3 { font-size: 20px; margin-bottom: 18px; }
.usage-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.usage-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.usage-list .un { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--brand); padding-top: 3px; }
.usage-list b { display: block; font-size: 16px; margin-bottom: 4px; }
.usage-list p { font-size: 14.5px; color: var(--graphite); margin: 0; }
.usage-sub { margin: 56px 0 24px; font-size: 20px; }
.usage-foot { display: grid; grid-template-columns: 1fr auto; gap: var(--gutter); align-items: center; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.usage-cautions { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; color: var(--graphite); }
.usage-call { display: inline-flex; align-items: center; gap: 14px; padding: 16px 22px; border-radius: var(--r-md); background: var(--ink); color: #fff; text-decoration: none; font-size: 20px; font-weight: 700; white-space: nowrap; }
.usage-call svg { width: 26px; height: 26px; color: var(--brand); }
.usage-call small { display: block; font-size: 12.5px; font-weight: 500; opacity: 0.72; margin-bottom: 2px; }
.dl-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.dl-card { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); text-decoration: none; transition: border-color var(--ease), box-shadow var(--ease); }
.dl-card:hover { border-color: var(--brand); box-shadow: var(--shadow-card); }
.dl-card svg { width: 26px; height: 26px; color: var(--brand); }
.dl-card b { display: block; font-size: 17px; }
.dl-card small { display: block; font-size: 13.5px; color: var(--steel); margin-top: 2px; }
.dl-card em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--brand); border: 1px solid var(--brand); border-radius: var(--r-sm); padding: 3px 7px; }
.cert-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.cert-grid li { display: flex; flex-direction: column; gap: 10px; }
.cert-grid a { display: block; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); }
.cert-grid img { display: block; width: 100%; height: auto; }
.cert-grid span { font-size: 13.5px; color: var(--graphite); text-align: center; }
@media (max-width: 1024px) {
  .usage-foot { grid-template-columns: 1fr; }
  .usage-call { justify-self: start; }
}
@media (max-width: 768px) {
  .video-grid, .usage-grid, .dl-row { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .usage-card { padding: 22px; }
  .usage-sub { margin-top: 40px; }
  .usage-call { font-size: 18px; white-space: normal; }
}
.type-card .tc-sensors { display: block; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); font-size: 14px; line-height: 1.7; color: var(--graphite); }
.type-card .tc-sensors b { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 2px; }
.type-card .sd { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin: 0 5px 1px 0; vertical-align: middle; }
.type-card .sd-y { background: #f2b705; }
.type-card .sd-b { background: #2f6fd6; }
.type-card .sd-r { background: #d93a2b; }
.type-card .tc-sensors > span { display: block; }
/* 카드가 2장이면 2열로 꽉 채움 */
.types.types-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.types.types-2 .tc-media { aspect-ratio: 16 / 10; }
@media (max-width: 768px) {
  .types.types-2 { grid-template-columns: 1fr; }
}
