/* =========================================================
   아워스토리 홈페이지 — 공통 스타일
   색상·글꼴·간격은 아래 :root 토큰만 바꾸면 전체에 반영됩니다.
   ========================================================= */
:root {
  /* 브랜드 */
  --teal: #1CA7BC;          /* 로고 색 (장식·면) */
  --teal-deep: #0B7385;     /* 흰 배경 위 글자·버튼 (대비 5:1 이상) */
  --teal-ink: #0C2F36;      /* 본문 진한 글자 */
  --aqua: #E4F5F6;          /* 옅은 틸 면 */
  --paper: #F6F9F8;         /* 기본 배경 */
  --white: #FFFFFF;
  --marker: #FFE266;        /* 형광펜 */
  --muted: #4E6469;         /* 보조 글자 */
  --line: #D3E2E3;          /* 구분선 */

  /* 제품 고유색 */
  --rj: #7C4DBF;  --rj-soft: #F1EAFB;  --rj-ink: #3A2166;   /* 레디잡 */
  --rc: #3352E8;  --rc-soft: #EAEEFF;  --rc-ink: #18276E;   /* 레디커리어 */
  --rf: #D9822B;  --rf-soft: #FBF0E2;                       /* 보조 주황 */

  /* 글꼴 */
  --serif: "Hahmlet", "Nanum Myeongjo", serif;
  --sans: "Pretendard Variable", "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  /* 타입 스케일 (1.25 비율) */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.3125rem;
  --fs-xl: 1.75rem;
  --fs-2xl: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --fs-3xl: clamp(2.4rem, 1.5rem + 4vw, 4.4rem);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 28px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--teal-ink);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--teal-ink); }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal-ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 249, 248, 0.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.gnb { margin-left: auto; }
.gnb > ul { display: flex; gap: 4px; list-style: none; align-items: center; }
.gnb a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--teal-ink); text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
}
.gnb a:hover { background: var(--aqua); }
.gnb a[aria-current="page"] { background: var(--teal-ink); color: #fff; }
.gnb .gnb-cta a { background: var(--teal-deep); color: #fff; margin-left: 8px; }
.gnb .gnb-cta a:hover { background: var(--teal-ink); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--teal-ink); }
.menu-btn svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .gnb {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
    display: none;
  }
  .gnb.is-open { display: block; }
  .gnb > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .gnb a { padding: 14px 12px; border-radius: var(--radius-s); font-size: var(--fs-md); }
  .gnb .gnb-cta a { margin: 10px 0 0; text-align: center; }
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 var(--fs-sm)/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--teal-deep); color: #fff; }
.btn-primary:hover { background: var(--teal-ink); color: #fff; }
.btn-ghost { border-color: var(--teal-ink); color: var(--teal-ink); background: transparent; }
.btn-ghost:hover { background: var(--teal-ink); color: #fff; }
.btn-light { background: #fff; color: var(--teal-ink); }
.btn-light:hover { background: var(--marker); color: var(--teal-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 섹션 공통 ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-family: var(--serif); font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -0.01em; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: var(--fs-md); max-width: 60ch; }
.kicker { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--teal-deep); margin-bottom: 12px; }
.bg-white { background: var(--white); }
.bg-aqua { background: var(--aqua); }

/* ---------- 메인 히어로 ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: var(--fs-3xl); line-height: 1.18; letter-spacing: -0.02em;
}
.hero h1 .line { display: block; }
.hero-lead { margin-top: 28px; font-size: var(--fs-lg); line-height: 1.65; color: var(--muted); max-width: 34em; }
.hero .btn-row { margin-top: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; list-style: none; }
.hero-facts li { font-size: var(--fs-xs); font-weight: 600; color: var(--teal-deep); background: var(--aqua); padding: 6px 12px; border-radius: 999px; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* 질문 → 이야기 데모 (메인의 단 하나의 움직임) */
.story-demo {
  position: relative; margin: 0;
  background: var(--white);
  border-radius: var(--radius-l);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(12, 47, 54, 0.35);
}
.demo-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.demo-top span { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.demo-replay {
  font: 600 var(--fs-xs)/1 var(--sans); color: var(--teal-deep); background: var(--aqua);
  border: 0; border-radius: 999px; padding: 8px 12px; cursor: pointer; white-space: nowrap;
}
.demo-replay:hover { background: var(--teal-deep); color: #fff; }
.demo-turns { list-style: none; display: grid; gap: 14px; }
.turn { display: grid; grid-template-columns: clamp(28px, 3.4vw, 34px) 1fr; gap: clamp(8px, 1.4vw, 14px); align-items: start; }
.turn .who {
  width: clamp(28px, 3.4vw, 34px); height: clamp(28px, 3.4vw, 34px); border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 0.8rem;
}
.turn.q .who { background: var(--teal-deep); color: #fff; }
.turn.a .who { background: var(--paper); color: var(--teal-ink); border: 1.5px solid var(--line); }
.turn p { font-size: var(--fs-sm); line-height: 1.6; padding-top: 4px; }
.turn.q p { font-family: var(--serif); font-weight: 600; font-size: var(--fs-md); }
.turn.a p { color: var(--muted); }
.demo-result {
  margin-top: 22px; margin-left: clamp(36px, 4.4vw, 48px);
  border-top: 2px dashed var(--line); padding-top: 20px;
}
.demo-result .label { font-size: var(--fs-xs); font-weight: 700; color: var(--teal-deep); }
.demo-result .sentence { margin-top: 8px; font-family: var(--serif); font-size: var(--fs-lg); line-height: 1.55; font-weight: 600; }
.mark {
  background-image: linear-gradient(transparent 58%, var(--marker) 58%, var(--marker) 92%, transparent 92%);
  background-repeat: no-repeat; background-size: 100% 100%;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; list-style: none; }
.chips li { font-size: var(--fs-xs); font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--teal-ink); color: #fff; }

/* 애니메이션 상태: JS가 .is-playing을 붙이면 순서대로 등장 */
.story-demo.is-ready .turn,
.story-demo.is-ready .demo-result { opacity: 0; transform: translateY(6px); }
.story-demo.is-ready .mark { background-size: 0% 100%; }
.story-demo .turn.show,
.story-demo .demo-result.show { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }
.story-demo .demo-result.show .mark { background-size: 100% 100%; transition: background-size .9s .5s ease; }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--teal-deep); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .story-demo.is-ready .turn, .story-demo.is-ready .demo-result { opacity: 1; transform: none; }
  .story-demo.is-ready .mark { background-size: 100% 100%; }
  .caret::after { display: none; }
}

/* ---------- 대상별 하는 일 (행 리스트) ---------- */
.audience { list-style: none; border-top: 2px solid var(--teal-ink); }
.audience > li {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 24px 40px; align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.audience h3 { font-family: var(--serif); font-size: var(--fs-xl); }
.audience .who-for { display: block; margin-top: 6px; font-size: var(--fs-sm); color: var(--muted); font-family: var(--sans); font-weight: 500; }
.audience p { color: var(--teal-ink); max-width: 56ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; list-style: none; }
.tags li { font-size: var(--fs-xs); font-weight: 600; padding: 4px 10px; border-radius: 6px; background: var(--aqua); color: var(--teal-deep); }
.audience .more { font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; padding-top: 6px; }
@media (max-width: 820px) {
  .audience > li { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- 솔루션 ---------- */
.solutions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sol {
  border-radius: var(--radius-l); padding: clamp(26px, 3.4vw, 44px);
  display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden;
}
.sol-rj { background: var(--rj-soft); color: var(--rj-ink); }
.sol-rc { background: var(--rc-soft); color: var(--rc-ink); }
.sol .logo { height: 40px; width: auto; align-self: flex-start; }
.sol .for { font-size: var(--fs-sm); font-weight: 700; }
.sol-rj .for { color: var(--rj); }
.sol-rc .for { color: var(--rc); }
.sol h3 { font-family: var(--serif); font-size: var(--fs-xl); line-height: 1.35; color: inherit; }
.sol ul.feat { list-style: none; display: grid; gap: 8px; }
.sol ul.feat li { padding-left: 22px; position: relative; font-size: var(--fs-sm); }
.sol ul.feat li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: currentColor; opacity: .35; }
.sol .btn-row { margin-top: auto; padding-top: 8px; }
.sol-rj .btn-primary { background: var(--rj); }
.sol-rj .btn-primary:hover { background: var(--rj-ink); }
.sol-rc .btn-primary { background: var(--rc); }
.sol-rc .btn-primary:hover { background: var(--rc-ink); }
.sol .btn-ghost { border-color: currentColor; color: inherit; }
.sol-rj .btn-ghost:hover { background: var(--rj-ink); color: #fff; border-color: var(--rj-ink); }
.sol-rc .btn-ghost:hover { background: var(--rc-ink); color: #fff; border-color: var(--rc-ink); }

/* 제품 화면 미니 목업 (CSS로 그린 화면) */
.mock {
  background: #fff; border-radius: 16px; padding: 16px;
  box-shadow: 0 18px 40px -24px rgba(20, 20, 60, .45);
  font-size: var(--fs-xs); line-height: 1.5; color: #2a2a3a;
}
.mock-bar { display: flex; gap: 5px; margin-bottom: 12px; }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: #E2E2EA; }
.mock .steps { display: flex; gap: 6px; margin-bottom: 12px; }
.mock .steps span { flex: 1; text-align: center; padding: 6px 4px; border-radius: 8px; background: #F2F2F7; font-weight: 700; color: #7a7a8c; }
.mock .steps span.on { background: var(--rj); color: #fff; }
.mock .bubble { padding: 9px 12px; border-radius: 12px; margin-top: 6px; max-width: 88%; }
.mock .bubble.ai { background: var(--rj-soft); color: var(--rj-ink); }
.mock .bubble.me { background: #F2F2F7; margin-left: auto; }
.mock .vision { padding: 12px; border-radius: 12px; background: linear-gradient(135deg, #5B76FF, var(--rc)); color: #fff; font-weight: 600; }
.mock .vision small { display: block; opacity: .8; font-weight: 500; margin-bottom: 2px; }
.mock .parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.mock .parts div { background: var(--rc-soft); border-radius: 10px; padding: 8px; color: var(--rc-ink); }
.mock .parts b { display: block; font-size: 1.1rem; }
.sol-rf {
  grid-column: 1 / -1; background: var(--white); border: 1.5px solid var(--line);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; flex-direction: row;
}
.sol-rf .rf-mark { width: 56px; height: 56px; border-radius: 16px; background: var(--rf-soft); color: var(--rf); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.3rem; }
.sol-rf h3 { font-size: var(--fs-lg); color: var(--teal-ink); }
.sol-rf p { color: var(--muted); font-size: var(--fs-sm); margin-top: 4px; }
@media (max-width: 900px) {
  .solutions { grid-template-columns: 1fr; }
  .sol-rf { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- 실적 문장 ---------- */
.record-statement { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); line-height: 1.55; font-weight: 600; max-width: 30em; }
.record-statement .num { font-size: 1.5em; color: var(--teal-deep); font-weight: 700; padding: 0 .08em; }
.record-note { margin-top: 18px; font-size: var(--fs-xs); color: var(--muted); }
.partner-list { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.partner-list h3 { font-size: var(--fs-sm); color: var(--teal-deep); margin-bottom: 10px; }
.partner-list p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.9; }
@media (max-width: 820px) { .partner-list { grid-template-columns: 1fr; } }

/* ---------- 단계 (실제 순서가 있는 내용에만 번호) ---------- */
.steps-row { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; border-top: 2px solid var(--teal-ink); }
.steps-row > li { padding: 28px 28px 8px 0; position: relative; counter-increment: step; }
.steps-row > li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps-row .when { font-family: var(--serif); font-size: var(--fs-xl); font-weight: 700; }
.steps-row .when::before { content: counter(step) "."; color: var(--teal); margin-right: 6px; }
.steps-row p { margin-top: 10px; color: var(--muted); font-size: var(--fs-sm); }
.steps-row ul { list-style: none; margin-top: 16px; display: grid; gap: 6px; }
.steps-row ul li { font-size: var(--fs-sm); font-weight: 600; }
@media (max-width: 820px) {
  .steps-row { grid-template-columns: 1fr; }
  .steps-row > li, .steps-row > li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- 대표 인용 ---------- */
.quote-band { background: var(--teal-ink); color: #EAF6F7; }
.quote-band blockquote { margin: 0; max-width: 900px; }
.quote-band blockquote p { font-family: var(--serif); font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.1rem); line-height: 1.4; font-weight: 600; color: #fff; }
.quote-band blockquote p::before { content: "“"; display: block; font-size: 2.2em; line-height: .6; color: var(--teal); margin-bottom: 18px; }
.quote-band footer { margin-top: 28px; font-size: var(--fs-sm); color: #A9CDD2; }
.quote-band footer b { color: #fff; font-size: var(--fs-md); margin-right: 8px; }
.quote-band a { color: var(--marker); }

/* ---------- 소식 리스트 ---------- */
.news-list { list-style: none; border-top: 2px solid var(--teal-ink); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 8px 28px; align-items: baseline;
  padding: 24px 0; text-decoration: none; color: var(--teal-ink);
}
.news-list a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; }
.news-list time { font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.news-list h3 { font-size: var(--fs-md); font-weight: 700; line-height: 1.5; }
.news-list .src { font-size: var(--fs-xs); font-weight: 700; color: var(--teal-deep); white-space: nowrap; }
.news-list .sum { grid-column: 2 / 3; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 720px) {
  .news-list a { grid-template-columns: 1fr; gap: 4px; }
  .news-list .sum { grid-column: auto; }
}

/* ---------- 문의 ---------- */
.contact { background: var(--teal-deep); color: #fff; border-radius: var(--radius-l); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact h2 { font-family: var(--serif); font-size: var(--fs-2xl); }
.contact p { margin-top: 14px; color: #D6F0F3; }
.contact dl { margin: 0; display: grid; gap: 16px; align-content: start; }
.contact dt { font-size: var(--fs-xs); color: #BFE6EA; font-weight: 600; }
.contact dd { margin: 2px 0 0; font-size: var(--fs-lg); font-weight: 700; }
.contact dd a { color: #fff; text-decoration: none; }
.contact dd a:hover { text-decoration: underline; }
.contact .btn-row { margin-top: 28px; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }

/* ---------- 문의 폼 ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: var(--fs-sm); font-weight: 700; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: 500 var(--fs-md)/1.5 var(--sans); color: var(--teal-ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--teal-deep); outline: none; box-shadow: 0 0 0 3px rgba(28,167,188,.25); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hint { font-size: var(--fs-xs); color: var(--muted); margin-top: 6px; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- 푸터 ---------- */
.site-footer { background: #0A2329; color: #B5CDD1; padding: 56px 0 40px; font-size: var(--fs-sm); }
.site-footer .top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.site-footer img { height: 30px; width: auto; }
.site-footer .slogan { margin-top: 14px; color: #E2F1F3; }
.foot-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-nav h2 { font-size: var(--fs-sm); color: #fff; margin-bottom: 10px; }
.foot-nav ul { list-style: none; display: grid; gap: 6px; }
.foot-nav a { color: #B5CDD1; text-decoration: none; }
.foot-nav a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; margin-top: 40px; padding-top: 24px; border-top: 1px solid #1E3E45; line-height: 1.9; }
.site-footer address span { display: inline-block; margin-right: 18px; }
.site-footer .copy { margin-top: 10px; font-size: var(--fs-xs); color: #7F9DA2; }
@media (max-width: 820px) {
  .site-footer .top { grid-template-columns: 1fr; }
  .foot-nav { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   하위 페이지
   ========================================================= */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { font-family: var(--serif); font-size: var(--fs-3xl); line-height: 1.2; letter-spacing: -0.02em; max-width: 16em; }
.page-hero .lead { margin-top: 22px; font-size: var(--fs-lg); color: var(--muted); max-width: 40em; }
.crumb { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--muted); }

/* 제품 페이지 히어로 */
.product-hero { padding: clamp(48px, 7vw, 96px) 0; }
.product-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.product-hero .logo { height: clamp(38px, 5vw, 56px); width: auto; margin-bottom: 26px; }
.product-hero h1 { font-family: var(--serif); font-size: var(--fs-3xl); line-height: 1.2; letter-spacing: -0.02em; }
.product-hero .lead { margin-top: 22px; font-size: var(--fs-lg); line-height: 1.65; max-width: 32em; }
.product-hero .btn-row { margin-top: 32px; }
.p-rj { background: var(--rj-soft); color: var(--rj-ink); }
.p-rj .lead { color: #5A4580; }
.p-rj .btn-primary { background: var(--rj); }
.p-rj .btn-primary:hover { background: var(--rj-ink); }
.p-rj .btn-ghost { border-color: var(--rj-ink); color: var(--rj-ink); }
.p-rj .btn-ghost:hover { background: var(--rj-ink); color: #fff; }
.p-rc { background: var(--rc-soft); color: var(--rc-ink); }
.p-rc .lead { color: #3E4C8F; }
.p-rc .btn-primary { background: var(--rc); }
.p-rc .btn-primary:hover { background: var(--rc-ink); }
.p-rc .btn-ghost { border-color: var(--rc-ink); color: var(--rc-ink); }
.p-rc .btn-ghost:hover { background: var(--rc-ink); color: #fff; }
.product-hero .mock { font-size: var(--fs-sm); padding: 22px; border-radius: 22px; }
@media (max-width: 900px) { .product-hero .wrap { grid-template-columns: 1fr; } }

/* 문제 → 해결 대비 */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contrast > div { border-radius: var(--radius-m); padding: clamp(24px, 3vw, 36px); }
.contrast .before { background: #fff; border: 1.5px solid var(--line); }
.contrast .after { background: var(--teal-ink); color: #fff; }
.contrast .tag { font-size: var(--fs-sm); font-weight: 700; color: var(--muted); }
.contrast .after .tag { color: var(--marker); }
.contrast h3 { font-family: var(--serif); font-size: var(--fs-xl); margin-top: 10px; }
.contrast p { margin-top: 12px; color: var(--muted); }
.contrast .after p { color: #CFE6E9; }
@media (max-width: 760px) { .contrast { grid-template-columns: 1fr; } }

/* 기능 목록 (2열 정의 목록) */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; list-style: none; }
.feature-grid li { padding: 26px 0; border-top: 1px solid var(--line); }
.feature-grid h3 { font-size: var(--fs-lg); }
.feature-grid p { margin-top: 8px; color: var(--muted); font-size: var(--fs-sm); max-width: 46ch; }
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .feature-grid, .feature-grid.three { grid-template-columns: 1fr; } }

/* 흐름 (순서가 있는 단계) */
.flow { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 14px; counter-reset: f; }
.flow li { counter-increment: f; background: #fff; border-radius: var(--radius-m); padding: 26px 24px; border: 1.5px solid var(--line); position: relative; }
.flow li::before { content: "STEP " counter(f, decimal-leading-zero); display: block; font-size: var(--fs-xs); font-weight: 800; color: var(--accent, var(--teal-deep)); margin-bottom: 10px; }
.flow h3 { font-size: var(--fs-lg); }
.flow p { margin-top: 8px; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } }

/* 큰 수치 한 줄 */
.figure-line { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: baseline; }
.figure-line div { font-size: var(--fs-sm); color: var(--muted); }
.figure-line b { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 1.5rem + 2.5vw, 3.4rem); color: var(--teal-ink); line-height: 1.1; }

/* FAQ */
.faq { border-top: 2px solid var(--teal-ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 700; font-size: var(--fs-md); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.6rem; font-weight: 400; color: var(--teal-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* 회사 개요 표 */
.info-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--teal-ink); }
.info-table th, .info-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: var(--fs-sm); }
.info-table th { width: 160px; color: var(--muted); font-weight: 600; padding-right: 16px; }
.info-table td { font-weight: 600; }

/* 가치 3축 */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.values li { background: #fff; border-radius: var(--radius-m); padding: 30px 28px; border-top: 6px solid var(--teal); }
.values .en { font-size: var(--fs-sm); font-weight: 800; color: var(--teal-deep); }
.values h3 { font-family: var(--serif); font-size: var(--fs-xl); margin-top: 6px; }
.values p { margin-top: 10px; color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }

/* 연혁 타임라인 */
.timeline { list-style: none; position: relative; }
.timeline > li { display: grid; grid-template-columns: 110px 1fr; gap: 28px; padding: 0 0 34px; position: relative; }
.timeline > li::before { content: ""; position: absolute; left: 110px; top: 10px; bottom: -10px; width: 2px; background: var(--line); transform: translateX(13px); }
.timeline > li:last-child::before { display: none; }
.timeline .year { font-family: var(--serif); font-size: var(--fs-xl); font-weight: 700; color: var(--teal-deep); line-height: 1.2; }
.timeline ul { list-style: none; display: grid; gap: 10px; padding-left: 28px; position: relative; }
.timeline ul::before { content: ""; position: absolute; left: 7px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--teal); }
.timeline ul li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; font-size: var(--fs-sm); }
.timeline ul li b { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .timeline > li { grid-template-columns: 1fr; gap: 8px; }
  .timeline > li::before { display: none; }
  .timeline ul { padding-left: 0; }
  .timeline ul::before { display: none; }
}

/* 대표 인사말 */
.ceo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.ceo h2 { font-family: var(--serif); font-size: var(--fs-2xl); line-height: 1.35; }
.ceo .body p + p { margin-top: 18px; }
.ceo .body p { font-size: var(--fs-md); line-height: 1.85; }
.ceo .sign { margin-top: 30px; font-weight: 700; }
.ceo .sign small { display: block; font-weight: 500; color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 860px) { .ceo { grid-template-columns: 1fr; } }

/* 조직 */
.org { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; }
.org li { background: #fff; border-radius: var(--radius-m); padding: 22px; border: 1.5px solid var(--line); }
.org h3 { font-size: var(--fs-md); }
.org p { margin-top: 6px; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 900px) { .org { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .org { grid-template-columns: 1fr; } }

/* 프로그램 페이지 */
.prog-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 32px; }
.prog-nav a { display: block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--teal-ink); color: var(--teal-ink); text-decoration: none; font-weight: 700; font-size: var(--fs-sm); }
.prog-nav a:hover { background: var(--teal-ink); color: #fff; }
.prog-group { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 12px); }
.prog-group > .wrap > header { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px 48px; margin-bottom: 40px; }
.prog-group h2 { font-family: var(--serif); font-size: var(--fs-2xl); }
.prog-group header p { color: var(--muted); }
.prog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; }
.prog-list > li { background: #fff; border-radius: var(--radius-m); padding: 26px; border: 1.5px solid var(--line); }
.prog-list h3 { font-size: var(--fs-lg); }
.prog-list p { margin-top: 8px; color: var(--muted); font-size: var(--fs-sm); }
.prog-list ul { list-style: none; margin-top: 12px; display: grid; gap: 4px; }
.prog-list ul li { font-size: var(--fs-sm); padding-left: 16px; position: relative; }
.prog-list ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
@media (max-width: 860px) {
  .prog-group > .wrap > header { grid-template-columns: 1fr; }
  .prog-list { grid-template-columns: 1fr; }
}

.note-box { background: var(--aqua); border-radius: var(--radius-m); padding: 22px 26px; font-size: var(--fs-sm); color: var(--teal-ink); }

/* 인쇄 */
@media print {
  .site-header, .menu-btn, .story-demo .demo-replay { display: none; }
  body { background: #fff; }
}

/* ---------- 상단 메뉴 블로그 링크 ---------- */
.gnb .ext { width: 13px; height: 13px; margin-left: 3px; vertical-align: -1px; opacity: .7; }

/* ---------- 우측 하단 문의하기 버튼 + 팝업 ---------- */
.fab-contact { position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 90; display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px 14px 16px; border: 2px solid rgba(255,255,255,.85); border-radius: 999px; background: var(--teal-deep); color: #fff; font: inherit; font-weight: 700; font-size: var(--fs-sm); cursor: pointer; box-shadow: 0 10px 30px rgba(12,47,54,.28); transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .35s, background .3s; }
.fab-contact svg { width: 20px; height: 20px; }
.fab-contact:hover { background: var(--teal-ink); transform: translateY(-3px); }
.fab-contact:focus-visible { outline: 3px solid var(--marker); outline-offset: 3px; }
.fab-contact.is-away { opacity: 0; transform: translateY(20px); pointer-events: none; }
.contact-pop { width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 24px; background: var(--teal-deep); color: #fff; overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.contact-pop::backdrop { background: rgba(6,24,28,.55); backdrop-filter: blur(4px); }
.contact-pop[open] { animation: cpIn .4s cubic-bezier(.16,1,.3,1); }
@keyframes cpIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.cp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 28px 28px 0; }
.cp-head h2 { font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 1.4vw, 1.9rem); font-weight: 800; letter-spacing: -0.03em; }
.cp-head p { margin-top: 8px; font-size: var(--fs-sm); color: #CFE6E9; }
.cp-head a { color: #fff; font-weight: 700; }
.cp-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; }
.cp-close svg { width: 20px; height: 20px; }
.cp-close:hover { background: rgba(255,255,255,.2); }
.contact-pop .form { padding: 24px 28px 28px; margin: 0; }
.contact-pop .hint { color: #CFE6E9; }
html.cp-open { overflow: hidden; }
@media (max-width: 600px) {
  .fab-contact { padding: 14px; }
  .fab-contact span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cp-head { padding: 22px 20px 0; }
  .contact-pop .form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .contact-pop[open] { animation: none; } }

/* ---------- 소식: 블로그 띠 ---------- */
.blog-band { margin-top: 64px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 28px; padding: 28px 32px; border-radius: 24px; background: #03C75A; color: #fff; text-decoration: none; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.blog-band:hover { transform: translateY(-4px); }
.blog-band .bb-tag { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.2); font-size: var(--fs-xs); font-weight: 700; }
.blog-band b { font-size: var(--fs-lg); font-weight: 800; letter-spacing: -0.02em; word-break: keep-all; }
.blog-band .bb-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; }
.blog-band .ext { width: 16px; height: 16px; }
@media (max-width: 760px) { .blog-band { grid-template-columns: 1fr; padding: 24px; } .blog-band .bb-tag { justify-self: start; } }
