/* Qstat 판매 웹페이지 - 디자인 시스템.
   컨셉: 화이트 기반 + 라이트 블루 포인트 + 네이비/다크그레이 텍스트.
   제조업 품질/공정/R&D 엔지니어에게 신뢰감을 주는 것이 목표라, 화려한
   그라디언트나 장식적 애니메이션은 의도적으로 배제하고 여백/정렬/타이포
   위계로만 완성도를 낸다. */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  --bg: #FFFFFF;
  --bg-subtle: #F5F8FC;
  --surface: #FFFFFF;

  --ink: #16232E;
  --ink-secondary: #3C4A59;
  --ink-muted: #6B7785;

  --accent: #2F6FE4;
  --accent-hover: #255ACB;
  --accent-soft: #EAF2FE;
  --accent-soft-line: #CFE0FB;

  --line: #E4E9EF;
  --line-strong: #CDD6E0;

  --warning: #B45309;
  --warning-soft: #FEF3E2;
  --warning-soft-line: #FBDCAF;

  --danger: #D33B3B;

  --footer-bg: #101B2C;
  --footer-ink: #C9D3DD;
  --footer-ink-muted: #8393A6;
  --footer-line: rgba(255, 255, 255, 0.08);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;

  --font-display: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --content-width: 1200px;
  --shadow-card: 0 1px 2px rgba(16, 27, 44, 0.04);
  --shadow-card-hover: 0 8px 24px rgba(16, 27, 44, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-secondary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

.container { max-width: var(--content-width); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.28;
  text-wrap: balance;
  margin: 0;
}
h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3, h4 { font-weight: 700; }
p { margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  padding: 13px 24px; border-radius: var(--radius-sm);
  border: 1px solid transparent; text-decoration: none; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: #FFFFFF; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { color: var(--accent); padding: 13px 8px; }
.btn-ghost:hover { color: var(--accent-hover); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .header-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  color: var(--ink); text-decoration: none;
}
.brand .brand-dot { color: var(--accent); }
.brand .brand-logo { height: 28px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-size: 0.94rem; font-weight: 600; color: var(--ink-secondary);
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-link-button {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--font-body); text-decoration: none;
  font-size: 0.94rem; font-weight: 600; color: var(--ink-secondary);
  transition: color 0.15s ease;
}
.nav-link-button:hover { color: var(--accent); }

/* ---------- Qstat 서브메뉴 (클릭하면 헤더 바로 아래 가로 막대가 펼쳐짐) ---------- */
.nav-dropdown { position: static; }
.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: var(--font-body); font-size: 0.94rem; font-weight: 600; color: var(--ink-secondary);
}
.nav-dropdown-trigger:hover { color: var(--accent); }
.nav-dropdown.is-open .nav-dropdown-trigger, .nav-dropdown.is-current .nav-dropdown-trigger { color: var(--accent); }
.dropdown-caret { font-size: 0.6rem; transition: transform 0.15s ease; }
.nav-dropdown.is-open .dropdown-caret { transform: rotate(180deg); }

/* .site-header가 position:sticky라 이 절대배치의 기준(containing block)이
   되어, 헤더 바로 밑에 전체 너비로 깔리는 막대가 된다 - 특정 버튼 밑에
   뜨는 작은 팝업이 아니라 "새 줄" 형태를 원했기 때문. */
.subnav-bar {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: 0; overflow: hidden; visibility: hidden;
  background: var(--bg-subtle); border-bottom: 1px solid transparent;
  transition: max-height 0.2s ease, visibility 0.2s ease;
}
.nav-dropdown.is-open .subnav-bar {
  max-height: 64px; visibility: visible; border-bottom-color: var(--line);
}
.subnav-list {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  list-style: none; margin: 0; padding: 16px 0;
}
.subnav-list a {
  text-decoration: none; font-size: 0.92rem; font-weight: 600; color: var(--ink-secondary);
}
.subnav-list a:hover, .subnav-list a[aria-current="page"] { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  width: 40px; height: 40px; cursor: pointer; color: var(--ink); font-size: 1.1rem;
  align-items: center; justify-content: center;
}

@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: #FFFFFF; border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links > li:not(.nav-dropdown) > a,
  .nav-links > li:not(.nav-dropdown) .nav-link-button { display: block; padding: 10px 0; width: 100%; text-align: left; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-secondary-desktop { display: none; }

  /* 모바일 플라이아웃 안에서는 헤더 밑 가로 막대 대신, 펼쳐진 채로 쭉
     나열되는 하위 목록으로 보여준다(좁은 화면에서 "가로 막대"는 의미가
     없고, 터치에서 hover도 없어서 별도 토글 없이 항상 펼쳐두는 게 낫다). */
  .nav-dropdown { width: 100%; padding: 10px 0; }
  .nav-dropdown-trigger { pointer-events: none; padding: 0 0 6px; font-weight: 700; color: var(--ink); }
  .dropdown-caret { display: none; }
  .subnav-bar {
    position: static; max-height: none; overflow: visible; visibility: visible;
    background: none; border-bottom: none;
  }
  .subnav-bar .container { padding: 0; }
  .subnav-list {
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 0 0 0 12px;
  }
  .subnav-list a { display: block; padding: 8px 0; font-weight: 500; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-subtle { background: var(--bg-subtle); }
.section-tight { padding: 64px 0; }
.section-head { max-width: 640px; }
.section-head.center { max-width: 640px; margin: 0 auto; text-align: center; }
.section-head.wide { max-width: 880px; }
.section-head.wide .lede { font-size: 0.96rem; }
.section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
.section-head .lede { margin-top: 14px; color: var(--ink-muted); font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 88px; }
.hero .hero-grid { display: grid; grid-template-columns: 1fr; gap: 20px; text-align: center; }
.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.15rem);
  letter-spacing: -0.01em;
  max-width: 16ch; margin: 0 auto;
}
.hero .hero-sub { margin-top: 18px; font-size: 1.15rem; color: var(--ink-secondary); max-width: 46ch; margin-left: auto; margin-right: auto; }
.hero .hero-tagline { margin-top: 14px; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.hero .hero-desc { margin-top: 10px; font-size: 0.98rem; color: var(--ink-muted); }
.hero .hero-actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .hero-fine-print {
  margin-top: 18px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  font-size: 0.86rem; color: var(--ink-muted);
}
.hero .hero-fine-print li { list-style: none; display: flex; align-items: center; gap: 6px; }
.hero .hero-fine-print li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.hero-fine-print { padding: 0; margin: 18px 0 0; }

.hero-media { margin-top: 44px; }
.media-frame {
  position: relative; width: 100%; max-width: 980px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-subtle); border: 1px solid var(--line);
  box-shadow: var(--shadow-card-hover);
}
.media-frame video, .media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--ink-muted); background: var(--bg-subtle);
}
.media-placeholder .ph-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.4rem;
}
.media-placeholder span { font-size: 0.9rem; font-weight: 600; }
.media-frame.is-loaded .media-placeholder { display: none; }

/* ---------- 작은 UI 스크린샷(옵션 창의 라이선스 정보 등) 전용 프레임 ---------- */
/* 사진과 달리 가로로 길고 얇은 UI 캡처라 기본 object-fit:cover로 정사각형에
   채우면 좌우가 크게 잘린다 - 실제 비율 그대로(object-fit:contain) 여백을
   두고 카드 안에 담는다. */
.media-frame.license-shot-frame {
  aspect-ratio: auto; max-width: 420px; padding: 36px; background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.media-frame.license-shot-frame img { width: 100%; height: auto; object-fit: contain; }

/* ---------- Advantages (3 cards) ---------- */
.advantage-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 620px; margin-left: auto; margin-right: auto; }
.advantage-card { text-align: left; }
.icon-badge {
  width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--accent-soft);
  color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  margin-bottom: 16px;
}
.advantage-card h3 { font-size: 1.1rem; }
.advantage-card p { margin-top: 8px; color: var(--ink-muted); font-size: 0.95rem; }

/* ---------- How it works ---------- */
.steps-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { display: flex; flex-direction: column; gap: 14px; }
.step-no { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; }
.step-card h3 { font-size: 1.15rem; }
.step-card p { color: var(--ink-muted); font-size: 0.88rem; }
.step-image {
  aspect-ratio: 4/3; border-radius: var(--radius); background: var(--bg-subtle);
  border: 1px solid var(--line); overflow: hidden; position: relative;
}
.step-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Feature category cards (6) - 카드 안에서 항목 버튼으로 영상 전환 ---------- */
.feature-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-card); transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.feature-card:hover { box-shadow: var(--shadow-card-hover); border-color: var(--line-strong); }
.feature-card-media { margin: -26px -26px 4px; }
.feature-card-media .media-frame {
  aspect-ratio: 16/10; max-width: none; margin: 0; box-shadow: none;
  border-radius: var(--radius) var(--radius) 0 0; border-width: 0 0 1px;
}
.feature-card h3 { font-size: 1.08rem; }
.feature-card .summary { color: var(--ink-muted); font-size: 0.92rem; }
.feature-card .item-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.feature-item-btn {
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-subtle); font-family: var(--font-body); font-weight: 600; font-size: 0.78rem;
  color: var(--ink-secondary); cursor: pointer; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.feature-item-btn:hover { border-color: var(--accent); }
.feature-item-btn.is-active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.feature-card .more-link {
  margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 0.9rem; color: var(--accent);
  text-decoration: none;
}
.feature-card .more-link:hover { text-decoration: underline; }

/* ---------- Media + copy split (advanced demo, quality section) ---------- */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-copy .split-lede { margin-top: 14px; color: var(--ink-muted); font-size: 0.92rem; }
.split-copy ul { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.split-copy ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.98rem; color: var(--ink-secondary); }
.split-copy ul li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--accent-soft); position: relative;
}
.split-copy ul li::after {
  content: "✓"; position: absolute; margin-left: -14px; margin-top: 2px; color: var(--accent);
  font-size: 0.7rem; font-weight: 800;
}

/* ---------- 체크리스트(가로 나열, Trial 섹션 등에서 재사용) ---------- */
.check-list {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  list-style: none; margin: 22px 0 0; padding: 0;
  font-size: 0.88rem; color: var(--ink-secondary); font-weight: 600;
}
.check-list li { display: flex; align-items: center; gap: 6px; }
.check-list li::before { content: "✓"; color: var(--accent); font-weight: 800; }

/* ---------- 품질/공정 결과 화면 2x2 ---------- */
.quality-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.quality-tile-label {
  margin-top: 12px; text-align: center; font-weight: 700; font-size: 0.92rem; color: var(--ink);
}

/* ---------- Business (Concurrent/Permanent) ---------- */
.business-grid { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.business-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-card); min-width: 0;
}
.business-card h3 { font-size: 1.15rem; }
.business-card .tagline { margin-top: 8px; font-weight: 700; color: var(--accent-on-paper); font-size: 0.95rem; }
.business-card p:not(.tagline):not(.spec-line) { margin-top: 12px; color: var(--ink-muted); font-size: 0.95rem; }
.business-card .spec-line {
  margin-top: 16px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  color: var(--ink-secondary); padding-top: 14px; border-top: 1px solid var(--line);
  white-space: nowrap; overflow-x: auto;
}

/* ---------- Pricing ---------- */
.pricing-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 24px; display: flex; flex-direction: column; position: relative;
}
.price-card.is-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-card-hover); }
.price-card .badge {
  position: absolute; top: -13px; left: 24px; background: var(--accent); color: #fff;
  font-size: 0.72rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; letter-spacing: 0.02em;
}
.price-card h3 { font-size: 1.1rem; }
.price-card .tagline { margin-top: 6px; font-weight: 700; font-size: 0.86rem; color: var(--accent-on-paper); }
.price-card .price {
  margin-top: 14px; font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 1.9rem; font-weight: 700; color: var(--ink);
}
.price-card .price .period { font-size: 0.9rem; font-weight: 600; color: var(--ink-muted); font-family: var(--font-body); }
.price-card .seats { margin-top: 6px; font-size: 0.86rem; color: var(--ink-muted); font-weight: 600; }
.price-card .desc { margin-top: 10px; font-size: 0.88rem; color: var(--ink-muted); }
.price-card .feature-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.price-card .feature-list li { font-size: 0.88rem; color: var(--ink-secondary); display: flex; gap: 8px; align-items: flex-start; }
.price-card .feature-list li::before { content: "✓"; color: var(--accent); font-weight: 800; flex-shrink: 0; }
.price-card .feature-list li.restricted { color: var(--ink-muted); }
.price-card .feature-list li.restricted::before { content: "–"; color: var(--ink-muted); }
.price-card .tier-note { margin-top: 14px; font-size: 0.82rem; color: var(--ink-muted); line-height: 1.5; }
.price-card .btn { margin-top: 22px; }
.pricing-note { margin-top: 22px; font-size: 0.88rem; color: var(--ink-muted); text-align: center; }

.process-flow {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 10px; margin-top: 32px;
}
.process-flow span:not(.arrow) {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; font-size: 0.92rem; font-weight: 700; color: var(--ink);
}
.process-flow .arrow { color: var(--ink-muted); font-weight: 400; }

.compare-scroll { overflow-x: auto; margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius); }
table.compare { width: 100%; min-width: 720px; border-collapse: collapse; background: #fff; font-size: 0.92rem; }
table.compare th, table.compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.compare thead th { background: var(--bg-subtle); font-weight: 700; color: var(--ink); }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare td.yes { color: var(--accent); font-weight: 800; }
table.compare td.no { color: var(--danger); font-weight: 800; }

/* 열 폭은 <colgroup>이 담당한다(테이블 본문에 colspan="2"가 섞여 있어서
   nth-child로 열을 짚으면 그 행에서만 카운트가 밀려 어긋난다 - 실제로
   겪은 버그: 이용 기간/동시 사용자 행에서 Trial 칸이 항목 열 스타일을
   받아버렸음). 정렬은 각 값 칸에 직접 붙인 plan-col 클래스로 한다 -
   위치(n번째 자식)가 아니라 칸 자체를 표시해서 colspan과 무관하게 항상
   맞는 칸에만 적용된다. */
table.compare-plans { table-layout: fixed; }
table.compare-plans .plan-col { text-align: center; }

/* ---------- FAQ accordion ---------- */
.faq-list { margin-top: 36px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; text-align: left; cursor: pointer; padding: 20px 4px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink);
}
.faq-question .chevron { flex-shrink: 0; transition: transform 0.15s ease; color: var(--ink-muted); }
.faq-item.is-open .faq-question .chevron { transform: rotate(180deg); color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.2s ease; }
.faq-answer-inner { padding: 0 4px 20px; color: var(--ink-muted); font-size: 0.95rem; }
.faq-item.is-open .faq-answer { max-height: 320px; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; background: var(--accent-soft); border-radius: var(--radius-lg); padding: 64px 32px; }
.final-cta h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.final-cta p { margin-top: 12px; color: var(--ink-secondary); font-size: 1.05rem; }
.final-cta .btn { margin-top: 26px; }
.final-cta .fine-print { margin-top: 14px; font-size: 0.85rem; color: var(--ink-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-ink-muted); padding: 64px 0 28px; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--footer-line); }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 12px; font-size: 0.88rem; max-width: 32ch; }
.footer-col h4 { color: var(--footer-ink); font-size: 0.85rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; font-size: 0.9rem; color: var(--footer-ink-muted); }
.footer-col a:hover { color: #fff; }
.footer-legal { padding-top: 24px; font-size: 0.78rem; line-height: 2; }
.footer-legal .placeholder { color: #5D6C80; font-style: normal; }
.footer-legal a { text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: #fff; }
.footer-copyright { margin-top: 18px; font-size: 0.78rem; }

@media (max-width: 960px) {
  .advantage-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .quality-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .business-grid { grid-template-columns: 1fr; gap: 16px; }
  .split-section { grid-template-columns: 1fr; gap: 32px; }
  .split-section.reverse { direction: ltr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .steps-grid, .feature-grid, .pricing-grid, .quality-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Generic content pages (guide/support/legal/login/account) ---------- */
.page-header { padding: 56px 0 40px; border-bottom: 1px solid var(--line); background: var(--bg-subtle); }
.page-header h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.page-header p { margin-top: 12px; color: var(--ink-muted); max-width: 60ch; }
.content-body { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
.content-body h2 { font-size: 1.2rem; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); }
.content-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.content-body .feature-cat-eyebrow { display: block; font-size: 1.15rem; margin-top: 8px; }
.content-body p, .content-body li { color: var(--ink-secondary); font-size: 0.98rem; }
.content-body p { margin-top: 12px; }
.content-body .guide-shot {
  display: block; margin-top: 16px; max-width: 100%; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.content-body ul, .content-body ol { margin-top: 12px; padding-left: 20px; line-height: 1.8; }
.content-body table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 0.9rem; }
.content-body th, .content-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.content-body th { background: var(--bg-subtle); font-weight: 700; }
.todo-marker { color: var(--accent); font-family: var(--font-mono); font-size: 0.85em; }
.notice-banner {
  margin-top: 20px; border: 1px solid var(--accent-soft-line); background: var(--accent-soft);
  border-radius: var(--radius-sm); padding: 12px 16px; font-size: 0.85rem; color: var(--ink-secondary);
  max-width: 60ch;
}

.expiry-alert-banner { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.expiry-alert-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  border: 1px solid var(--warning-soft-line); background: var(--warning-soft);
  border-radius: var(--radius-sm); padding: 14px 18px;
}
.expiry-alert-row p { margin: 0; font-size: 0.92rem; color: var(--ink); }
.expiry-alert-row strong { color: var(--warning); }
.expiry-alert-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.expiry-alert-actions .btn { padding: 9px 16px; font-size: 0.85rem; }

.simple-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-card);
}
.checkout-card .checkout-summary {
  text-align: center; font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: 20px;
}
.checkout-card #payment-method, .checkout-card #agreement { margin-top: 8px; }
.checkout-card .checkout-error { text-align: left; }
.checkout-quantity {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.checkout-quantity label { font-size: 0.86rem; font-weight: 700; color: var(--ink); }
.quantity-stepper { display: flex; align-items: center; gap: 10px; }
.quantity-stepper button {
  width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--bg-subtle); color: var(--ink); font-size: 1.1rem; font-weight: 700;
  cursor: pointer; line-height: 1;
}
.quantity-stepper button:hover { background: var(--line); }
.quantity-stepper input {
  width: 64px; text-align: center; padding: 8px 6px; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); font-size: 1rem; font-weight: 700; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.checkout-total {
  text-align: center; margin-top: 16px; font-size: 0.92rem; color: var(--ink-muted);
}
.checkout-total strong { color: var(--ink); font-size: 1.15rem; margin-left: 6px; }
.form-shell { display: flex; flex-direction: column; gap: 16px; max-width: 380px; margin: 0 auto; }
.form-shell label { font-size: 0.86rem; font-weight: 700; color: var(--ink); display: block; margin-bottom: 6px; }
.form-shell input {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 0.95rem; font-family: var(--font-body); color: var(--ink);
}
.form-shell input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-note { font-size: 0.82rem; color: var(--ink-muted); text-align: center; }
.form-shell input[readonly] { background: var(--bg-subtle); color: var(--ink-muted); }

/* ---------- 이메일 인증번호 발송/카운트다운 (회원가입, 비밀번호 찾기) ---------- */
.form-step { display: flex; flex-direction: column; gap: 16px; }
.form-step[hidden] { display: none; }
.verify-timer-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: -8px; }
.verify-timer-row label { margin-bottom: 0; }
.verify-timer {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 0.85rem; font-weight: 700; color: var(--accent);
}
.verify-timer.is-expired { color: #C0392B; }
.link-btn {
  background: none; border: none; padding: 0; font: inherit; color: var(--accent);
  font-weight: 700; cursor: pointer; text-decoration: underline;
}
.link-btn:disabled { color: var(--ink-muted); cursor: default; text-decoration: none; }
.form-error-inline { margin-top: 8px; font-size: 0.82rem; color: #8A2E1B; }
.form-error-inline[hidden] { display: none; }
.verify-code-row { display: flex; gap: 10px; align-items: stretch; }
.verify-code-row input { flex: 1; min-width: 0; }
.verify-code-row .btn { flex-shrink: 0; padding-left: 18px; padding-right: 18px; white-space: nowrap; }

.spec-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.spec-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.spec-list li .label { color: var(--ink-muted); }
.spec-list li .value { font-weight: 700; color: var(--ink); font-family: var(--font-mono); }
@media (max-width: 560px) { .spec-list { grid-template-columns: 1fr; } }
