/* 자산정비혁신센터 — commercial visual system. Rules and tokens: docs/DESIGN-DIRECTION.md */
:root {
  --paper: #F5F7FB;
  --surface: #FFFFFF;
  --surface-sunk: #F0F3F9;
  --ink: #121826;
  --ink-muted: #4A5468;
  --line: #E1E6EF;
  --line-strong: #B7C0CF;
  --brand: #2253D6;
  --brand-deep: #173A9E;
  --brand-tint: #E8EFFF;
  --night: #0B1A45;
  --night-2: #12286E;
  --on-brand: #FFFFFF;
  --on-brand-muted: #C7D4F5;
  --notice-bg: #FFF6E0;
  --notice-line: #EBCB7A;
  --focus: #0B6BCB;
  --glow-blue: #3D73FF;
  --glow-teal: #1FB5A8;
  --glow-sky: #2E9BFF;
  --urban-tint: #E7EEFF;
  --fiber-tint: #E1F6F2;
  --rose-tint: #FFEFF3;
  --amber-tint: #FFF4DE;
  --fog: #E9ECF2;
  --fog-deep: #DCE2EB;

  --implemented-bg: #E2F3E6; --implemented-ink: #1A5A2B;
  --conditional-bg: #FCEFD2; --conditional-ink: #714600;
  --planned-bg: #E5EAF5; --planned-ink: #2B3A57;
  --demo-bg: #EEEFF1; --demo-ink: #3D4249;

  --font: Pretendard, "Pretendard Variable", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --text-sm: 0.875rem;
  --text-s: 1rem;
  --text-m: 1.125rem;
  --text-l: 1.25rem;
  --text-xl: clamp(1.625rem, 1.15rem + 1.8vw, 2.25rem);
  --text-xxl: clamp(2.125rem, 1.2rem + 3.6vw, 3.625rem);
  --text-display: clamp(2.25rem, 0.5rem + 6.2vw, 6rem);
  --radius-s: 6px;
  --radius: 12px;
  --radius-l: 20px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05), 0 2px 6px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 18px 40px -18px rgba(16, 24, 40, 0.28);
  --shadow-lg: 0 40px 80px -30px rgba(5, 14, 40, 0.6);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 68ch;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text-m);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.35; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding-left: 1.25em; }
li::marker { color: var(--ink-muted); }
img { max-width: 100%; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.page-intro :focus-visible, .cta :focus-visible, .site-footer :focus-visible { outline-color: var(--on-brand); }
main:focus { outline: none; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.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; }
.muted { color: var(--ink-muted); }
.small { font-size: var(--text-s); }
.strong { font-weight: 700; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.emoji { display: block; width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(11, 26, 69, 0.18)); user-select: none; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 16px; background: var(--brand); color: var(--on-brand); border-radius: var(--radius-s); font-weight: 700; }
.skip-link:focus { top: 16px; }

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: var(--text-s); font-weight: 700; line-height: 1.3; text-decoration: none; text-align: center;
  transition: translate 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s, border-color 0.2s;
}
.button:hover { translate: 0 -2px; }
/* .button sets display, which would otherwise beat the UA [hidden] rule (the JS-only print button ships hidden). */
.button[hidden] { display: none; }
.button--primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 24px -10px rgba(34, 83, 214, 0.7); }
.button--primary:hover { background: var(--brand-deep); }
.button--secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.button--secondary:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.button--light { background: var(--on-brand); color: var(--night); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5); }
.button--light:hover { background: #EEF3FF; }
.button--ghost { background: rgba(255, 255, 255, 0.06); color: var(--on-brand); border-color: rgba(255, 255, 255, 0.4); }
.button--ghost:hover { background: rgba(255, 255, 255, 0.14); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(225, 230, 239, 0.8); transition: box-shadow 0.25s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(16, 24, 40, 0.35); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: var(--header-h); padding-block: 8px; }
/* Typographic logo (original): exact capitals in the bold system sans stack, tight tracking, one ink colour; no icon beside it. */
.wordmark { font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif; font-weight: 900; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; min-height: 44px; color: var(--ink); text-decoration: none; }
.brand .wordmark { font-size: 1.75rem; }
.brand__name { color: var(--ink-muted); font-size: 0.75rem; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; list-style: none; }
.site-nav a { position: relative; display: flex; align-items: center; min-height: 44px; padding: 8px 14px; color: var(--ink-muted); font-size: var(--text-s); font-weight: 600; text-decoration: none; border-radius: 999px; transition: background-color 0.2s, color 0.2s; }
.site-nav a:hover { color: var(--ink); background: var(--surface-sunk); }
.site-nav a[aria-current] { color: var(--brand-deep); background: var(--brand-tint); font-weight: 800; }
.site-nav { margin-left: auto; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { min-height: 42px; padding: 8px 18px; font-size: var(--text-sm); box-shadow: none; }
.header-cta[aria-current] { background: var(--brand-deep); }
.nav-toggle { min-height: 44px; min-width: 44px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: var(--text-s); font-weight: 700; cursor: pointer; }

/* Keep all six menu items on one row when there is room. */
@media (max-width: 1199px) {
  .js .nav-toggle:not([hidden]) { display: inline-flex; align-items: center; }
  .js .site-nav { display: none; width: 100%; order: 3; margin-left: 0; }
  .site-header__inner { gap: 8px 12px; }
  .js .site-nav[data-open] { display: block; padding-bottom: 12px; /* taller than the viewport: scroll inside the sticky header */ max-height: calc(100vh - 128px); max-height: calc(100dvh - 128px); overflow-y: auto; overscroll-behavior: contain; }
  .js .site-nav ul { flex-direction: column; gap: 4px; }
  .js .site-nav a { border-radius: var(--radius-s); }
}
@media (min-width: 1200px) { .nav-toggle { display: none; } }

/* ---------- dark intro shared by detail pages and the 404 page ---------- */
/* Orbit lines echo the flow loop of the home 3D scene and the closing band; glows drift slowly. */
.page-intro { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on-brand); }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background:
    repeating-radial-gradient(ellipse 62% 48% at 86% 34%, rgba(255, 255, 255, 0.07) 0 1px, transparent 1.5px 30px),
    linear-gradient(160deg, var(--night) 0%, var(--night-2) 64%, #0E3463 100%);
}
.hero__bg span { position: absolute; width: 40vmax; height: 40vmax; border-radius: 50%; filter: blur(80px); opacity: 0.4; animation: drift 24s var(--ease) infinite alternate; }
.hero__bg span:nth-child(1) { left: -14vmax; top: -20vmax; background: radial-gradient(circle, var(--glow-blue), transparent 65%); }
.hero__bg span:nth-child(2) { right: -12vmax; top: -10vmax; background: radial-gradient(circle, var(--glow-sky), transparent 65%); animation-duration: 28s; animation-delay: -6s; opacity: 0.3; }
.hero__bg span:nth-child(3) { left: 36%; bottom: -30vmax; background: radial-gradient(circle, var(--glow-teal), transparent 65%); animation-duration: 32s; animation-delay: -12s; opacity: 0.22; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vmax, 3vmax, 0) scale(1.12); }
  100% { transform: translate3d(-4vmax, 5vmax, 0) scale(0.95); }
}

.float { animation: float 6s ease-in-out infinite; }
.float--b { animation-duration: 7.5s; animation-delay: -2s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-4deg); }
}

/* Pause control for looping decoration (detail intros here; the home hero restyles it in home.css). */
.motion-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; background: rgba(11, 26, 69, 0.55); color: var(--on-brand); cursor: pointer; backdrop-filter: blur(8px); }
.motion-toggle__icon { width: 20px; height: 20px; fill: currentColor; pointer-events: none; }
.motion-toggle__icon--play, .motion-toggle[aria-pressed="true"] .motion-toggle__icon--pause { display: none; }
.motion-toggle[aria-pressed="true"] .motion-toggle__icon--play { display: block; }
.motion-toggle:hover { background: rgba(11, 26, 69, 0.8); }
.motion-toggle[hidden] { display: none; }
.page-intro__tools { display: flex; justify-content: flex-end; margin-top: 8px; }
.page-intro .lede { margin-top: 22px; color: var(--on-brand-muted); font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); max-width: 36em; }

/* product window illustrations */
.mock { position: relative; background: var(--surface); color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.6); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--surface-sunk); border-bottom: 1px solid var(--line); }
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #F87171; }
.mock__bar span:nth-child(2) { background: #FBBF24; }
.mock__bar span:nth-child(3) { background: #34D399; }
.mock__bar p { margin-left: 10px; color: var(--ink-muted); font-size: 0.8125rem; font-weight: 700; }
.mock__body { padding: 16px 16px 18px; }
.mock__steps { list-style: none; padding: 0; display: grid; gap: 6px; counter-reset: mock; }
.mock__steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 0.9375rem; font-weight: 600; color: var(--ink-muted); counter-increment: mock; }
.mock__steps li::before { content: counter(mock); display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--surface-sunk); color: var(--ink-muted); font-size: 0.75rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.mock__dot { order: 2; margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.mock__progress { margin-top: 14px; height: 6px; border-radius: 999px; background: var(--surface-sunk); overflow: hidden; }
.mock__progress span { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--glow-teal)); }
.mock figcaption { padding: 6px 16px; border-bottom: 1px dashed var(--line); color: var(--conditional-ink); font-size: 0.75rem; font-weight: 700; background: var(--notice-bg); }
.mock--inline { box-shadow: var(--shadow-md); border-color: var(--line); }

.mock__table { display: grid; gap: 4px; font-size: 0.875rem; }
.mock__row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink); font-weight: 600; }
.mock__row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock__row--head { padding-block: 4px; color: var(--ink-muted); font-size: 0.75rem; font-weight: 800; }
.mock__row:not(.mock__row--head) { animation: mockStep 8s infinite; }
.mock__row:nth-child(3) { animation-delay: 2s; }
.mock__row:nth-child(4) { animation-delay: 4s; }
.mock__row:nth-child(5) { animation-delay: 6s; }
.mock__pill { padding: 2px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 800; }
.mock__pill--ok { background: var(--implemented-bg); color: var(--implemented-ink); }
.mock__pill--warn { background: var(--conditional-bg); color: var(--conditional-ink); }
.mock__pill--info { background: var(--planned-bg); color: var(--planned-ink); }
.mock__foot { display: grid; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 0.75rem; font-weight: 700; }
.mock__foot .mock__progress { margin-top: 0; }

/* active-step cycle: one highlight walks through the steps (static when motion is reduced) */
.mock__steps li { animation: mockStep 10s infinite; }
.mock__steps li:nth-child(2) { animation-delay: 2s; }
.mock__steps li:nth-child(3) { animation-delay: 4s; }
.mock__steps li:nth-child(4) { animation-delay: 6s; }
.mock__steps li:nth-child(5) { animation-delay: 8s; }
.mock__progress span { animation: mockProgress 10s linear infinite; }
@keyframes mockStep {
  0%, 22%, 100% { background: transparent; color: var(--ink-muted); }
  2%, 18% { background: var(--brand-tint); color: var(--brand-deep); }
}
@keyframes mockProgress { from { width: 4%; } to { width: 100%; } }

/* ---------- page intro (sub pages) ---------- */
.page-intro { padding-block: 36px clamp(48px, 6vw, 72px); }
.page-intro__grid { display: grid; gap: 24px; align-items: center; }
.page-intro h1 { margin-top: 14px; font-size: var(--text-xxl); font-weight: 800; letter-spacing: -0.04em; line-height: 1.16; max-width: 18em; }
.page-intro__product { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: var(--text-s); }
.page-intro__product span:not(.category-label) { color: var(--on-brand-muted); }
.page-intro__art { display: none; justify-self: center; }
.page-intro__art .emoji { width: 180px; height: 180px; filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.45)); }
@media (min-width: 800px) {
  .page-intro__grid { grid-template-columns: minmax(0, 1fr) 220px; }
  .page-intro__art { display: block; }
}
.breadcrumb ol { display: flex; flex-wrap: wrap; padding: 0; list-style: none; font-size: var(--text-sm); color: var(--on-brand-muted); }
.breadcrumb li + li::before { content: "/"; margin-inline: 8px; opacity: 0.5; }
.breadcrumb a { color: var(--on-brand-muted); }
.breadcrumb a:hover { color: var(--on-brand); }
.breadcrumb [aria-current] { color: var(--on-brand); font-weight: 600; }

/* ---------- document layout ---------- */
.doc { padding-bottom: 104px; }
.doc__body { min-width: 0; }
.section { padding-top: clamp(64px, 7vw, 96px); }
.section__head { display: flex; align-items: center; gap: 14px; }
.section__head h2 { font-size: var(--text-xl); letter-spacing: -0.03em; }
.section__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.section__icon .emoji { width: 36px; height: 36px; filter: none; }
.section__lead { margin-top: 14px; color: var(--ink-muted); max-width: var(--measure); }
.section > .section__head + *:not(.section__lead), .section__lead + * { margin-top: 32px; }
.section > * + * { margin-top: 24px; }
.section--lead { padding-top: 48px; }
.section--lead > * + * { margin-top: 24px; }
.section__more { margin-top: 24px; }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose--large { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem); line-height: 1.75; color: var(--ink); }
.minor-heading { margin-top: 28px; font-size: var(--text-m); }
.minor-heading + * { margin-top: 12px; }
.empty { padding: 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--ink-muted); }

.toc { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.toc summary { min-height: 48px; padding: 12px 16px; font-size: var(--text-s); font-weight: 800; cursor: pointer; }
.toc ol { list-style: none; padding: 0 8px 12px; font-size: var(--text-s); }
.toc a { display: block; padding: 6px 10px; color: var(--ink-muted); text-decoration: none; border-radius: var(--radius-s); transition: background-color 0.2s, color 0.2s; }
.toc a:hover, .toc a.is-active { color: var(--brand-deep); background: var(--brand-tint); }
@media (min-width: 1024px) {
  .doc--toc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; }
  .toc { position: sticky; top: calc(var(--header-h) + 24px); margin-top: clamp(64px, 7vw, 96px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
}

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-sm); }
.card > * + * { margin-top: 14px; }
.card--lift { transition: translate 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.card--lift:hover { translate: 0 -6px; box-shadow: var(--shadow-md); }
.card__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: linear-gradient(145deg, var(--brand-tint), #F4F7FF); }
.card__icon .emoji { width: 52px; height: 52px; }
.card h3 { font-size: var(--text-l); }
.title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.title-row h3, .title-row h4 { font-size: var(--text-l); }

.business-grid { display: grid; gap: 24px; }
@media (min-width: 800px) { .business-grid { grid-template-columns: 1fr 1fr; } }
.principles, .problem-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .principles, .problem-grid { grid-template-columns: repeat(3, 1fr); } }


.audience-chips, .chip-list, .pill-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.audience-chips li { padding: 4px 12px; border-radius: 999px; background: var(--surface-sunk); border: 1px solid var(--line); font-size: var(--text-sm); font-weight: 600; color: var(--ink); }
.pill-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); font-weight: 700; font-size: var(--text-s); text-decoration: none; transition: translate 0.2s var(--ease), border-color 0.2s; }
.pill-links a:hover { translate: 0 -2px; border-color: var(--brand); }
.pill-links .emoji { width: 30px; height: 30px; filter: none; }



.two-col { display: grid; gap: 20px; }
@media (min-width: 800px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col > div > * + * { margin-top: 12px; }
.two-col .minor-heading { margin-top: 0; }
.two-col--tight { gap: 16px 32px; }
.intro-split { display: grid; gap: 32px; align-items: start; }
.intro-split > div > * + * { margin-top: 16px; }
@media (min-width: 1100px) { .intro-split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }

.facts { display: grid; gap: 10px; font-size: var(--text-s); }
.facts > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 16px; }
.facts dt { color: var(--ink-muted); font-weight: 700; }
.facts--wide { max-width: var(--measure); }

.role-grid { display: grid; gap: 16px; }
.role-grid > div { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.role-grid dt { font-weight: 800; }
.role-grid dd { margin-top: 6px; color: var(--ink-muted); font-size: var(--text-s); }
@media (min-width: 720px) { .role-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .role-grid { grid-template-columns: repeat(3, 1fr); } }

.problem__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), #157F9A); color: var(--on-brand); font-weight: 800; font-variant-numeric: tabular-nums; }

.scope-grid { display: grid; gap: 12px; padding: 0; list-style: none; }
.scope-grid li { position: relative; padding: 18px 20px 18px 48px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 600; }
.scope-grid li::before { content: ""; position: absolute; left: 20px; top: 27px; width: 12px; height: 12px; border-radius: 4px; background: linear-gradient(135deg, var(--brand), var(--glow-teal)); }
@media (min-width: 800px) { .scope-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- "한눈에 보기" in the detail page intro ---------- */
.summary { margin-top: 28px; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-l); background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px); max-width: 44em; }
.summary > * + * { margin-top: 10px; }
.summary__label { color: var(--on-brand-muted); font-size: var(--text-sm); font-weight: 800; }
.summary__tagline { font-size: var(--text-l); font-weight: 700; }
.summary__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.summary__chips li { padding: 3px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); font-size: var(--text-sm); font-weight: 700; }
.summary__status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--on-brand-muted); font-size: var(--text-sm); }
.summary__status > span:first-child:not(.tag) { color: var(--on-brand); font-weight: 800; }
.summary__actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.summary__actions .button { min-height: 46px; padding: 10px 20px; }

/* ---------- toy strip, commitments, contact extras ---------- */
.toy-strip { display: grid; gap: 12px; padding: 0; list-style: none; }
@media (min-width: 800px) { .toy-strip { grid-template-columns: 1fr 1fr; } }
.toy-strip a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); transition: translate 0.25s var(--ease), box-shadow 0.25s; }
.toy-strip a:hover { translate: 0 -3px; box-shadow: var(--shadow-md); }
.toy-strip .emoji { flex: none; width: 48px; height: 48px; }
.toy-strip span { display: flex; flex-direction: column; line-height: 1.45; }
.toy-strip small { color: var(--ink-muted); font-size: var(--text-sm); }
.commitment h3 { font-size: var(--text-m); }
.mini-steps { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; counter-reset: mini; }
.mini-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface-sunk); border: 1px solid var(--line); font-size: var(--text-sm); font-weight: 700; counter-increment: mini; }
.mini-steps li::before { content: counter(mini); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-size: 0.75rem; font-weight: 800; }
.prep-actions { margin-top: 16px; }
.principle-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.principle-list li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 700; }
.principle-list .emoji { flex: none; width: 40px; height: 40px; }
@media (min-width: 900px) { .principle-list { grid-template-columns: repeat(3, 1fr); } }
.cell-condition { display: block; margin-top: 6px; color: var(--conditional-ink); font-size: var(--text-sm); font-weight: 700; white-space: normal; line-height: 1.5; }
.summary__limit { display: inline-flex; padding: 2px 10px; border-radius: 999px; background: var(--notice-bg); color: var(--conditional-ink); font-weight: 700; }

/* ---------- summary cards (overview pages) ---------- */
.svc { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 28px 24px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(150deg, var(--urban-tint), var(--surface) 62%); box-shadow: var(--shadow-sm); transition: translate 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; }
.svc--fiber { background: linear-gradient(150deg, var(--fiber-tint), var(--surface) 62%); }
.svc--rose { background: linear-gradient(150deg, var(--rose-tint), var(--surface) 62%); }
.svc--amber { background: linear-gradient(150deg, var(--amber-tint), var(--surface) 62%); }
.svc--brief { background: var(--surface); }
.svc:hover { translate: 0 -6px; box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.svc:focus-within { border-color: var(--brand); }
.svc__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.svc__emoji { width: 76px; height: 76px; transition: rotate 0.35s var(--ease), scale 0.35s var(--ease); }
.svc:hover .svc__emoji { rotate: -8deg; scale: 1.08; }
.svc h3 { margin-top: 6px; font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem); letter-spacing: -0.03em; }
.svc__link { color: var(--ink); text-decoration: none; }
.svc__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc__link:focus-visible { outline: none; }
.svc__link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 2px; }
.svc:hover .svc__link { text-decoration: underline; text-underline-offset: 0.2em; }
.svc__sub { margin-top: -6px; color: var(--ink-muted); font-size: var(--text-sm); font-weight: 700; }
.svc__tagline { font-size: var(--text-m); font-weight: 600; }
.svc__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.svc__chips li { padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line); font-size: var(--text-sm); font-weight: 700; }
.svc__status { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-strong); color: var(--ink-muted); font-size: var(--text-sm); }
.svc__status span { color: var(--ink); font-weight: 800; }
.svc__limit { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 8px 12px; border-radius: var(--radius); background: var(--notice-bg); border: 1px solid var(--notice-line); font-size: var(--text-sm); font-weight: 700; }
.svc__limit-icon { flex: none; width: 22px; height: 22px; filter: none; }
.svc .bars { padding: 14px 16px; gap: 10px; }
.svc__roles { padding: 14px 16px; border-radius: var(--radius); background: var(--surface-sunk); border: 1px solid var(--line); }
.svc__roles p { margin-bottom: 8px; color: var(--ink-muted); font-size: var(--text-sm); font-weight: 800; }
.svc .tag { position: relative; z-index: 1; }
.svc--wide { max-width: 760px; }
.prep__more { margin-top: 12px; font-size: var(--text-sm); font-weight: 700; }


.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid transparent; font-size: 0.8125rem; font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.tag__glyph { font-size: 0.75em; }
.tag--implemented { background: var(--implemented-bg); color: var(--implemented-ink); }
.tag--conditional { background: var(--conditional-bg); color: var(--conditional-ink); }
.tag--planned { background: var(--planned-bg); color: var(--planned-ink); }
.tag--demo { background: var(--demo-bg); color: var(--demo-ink); border: 1px dashed #868C95; }
.category-label { display: inline-block; padding: 2px 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-muted); background: var(--surface); font-size: var(--text-sm); font-weight: 700; }
.category-label--dark { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.35); color: var(--on-brand); }

.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.legend__title { font-size: var(--text-sm); font-weight: 800; color: var(--ink-muted); }
.legend ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }

/* ---------- notices ---------- */
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; background: var(--notice-bg); border: 1px solid var(--notice-line); border-radius: var(--radius); max-width: 54em; }
.notice__icon { flex: none; width: 36px; height: 36px; filter: none; }
.notice > div > * + * { margin-top: 4px; }
.notice__title { font-weight: 800; }
.status-panel { padding: 24px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); max-width: 54em; }
.status-panel > * + * { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 24px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: linear-gradient(135deg, var(--night) 0%, var(--night-2) 55%, #0C4A6E 100%); color: var(--on-brand); box-shadow: var(--shadow-lg); }
.cta__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 70% at 85% 30%, rgba(31, 181, 168, 0.45), transparent 70%), radial-gradient(40% 60% at 10% 100%, rgba(61, 115, 255, 0.5), transparent 70%); }
.cta h2 { font-size: var(--text-xl); letter-spacing: -0.03em; }
.cta__copy > * + * { margin-top: 12px; }
.cta__notice { font-weight: 700; font-size: var(--text-m); }
.cta__copy .button { margin-top: 12px; }
.cta__emoji { justify-self: center; width: 132px; height: 132px; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.45)); }
@media (min-width: 800px) { .cta { grid-template-columns: minmax(0, 1fr) 180px; } .cta__emoji { width: 160px; height: 160px; } }

/* ---------- process & sequences ---------- */
.process { position: relative; isolation: isolate; display: grid; gap: 20px; padding: 0; list-style: none; }
.process li { position: relative; padding: 24px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: translate 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.process li:hover { translate: 0 -6px; box-shadow: var(--shadow-md); }
.process__top { display: flex; align-items: center; justify-content: space-between; }
.process__emoji { width: 60px; height: 60px; }
.process__num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-size: var(--text-s); font-weight: 800; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 6px var(--brand-tint); }
.process h3 { margin-top: 18px; font-size: var(--text-l); }
.process p { margin-top: 8px; color: var(--ink-muted); font-size: var(--text-s); }
@media (min-width: 640px) { .process { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(4, 1fr); }
  .process::before { content: ""; position: absolute; left: 6%; right: 6%; top: 54px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--glow-teal)); transform-origin: left; z-index: -1; }
}

.sequence { list-style: none; padding: 0; counter-reset: seq; max-width: var(--measure); }
.sequence li { position: relative; padding: 4px 0 16px 48px; counter-increment: seq; }
.sequence li::before { content: counter(seq); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-deep); font-size: var(--text-sm); font-weight: 800; font-variant-numeric: tabular-nums; }
.sequence li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 2px; width: 2px; border-radius: 2px; background: linear-gradient(var(--brand-tint), var(--line)); }
.sequence li:last-child { padding-bottom: 0; }

.phases { list-style: none; padding: 0; counter-reset: phase; display: grid; gap: 14px; }
.phases li { display: grid; gap: 6px 32px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); counter-increment: phase; }
.phases h3 { font-size: var(--text-m); }
.phases h3::before { content: counter(phase) "단계"; display: block; color: var(--brand); font-size: var(--text-sm); font-weight: 800; letter-spacing: 0; }
.phases__check { font-size: var(--text-s); color: var(--ink-muted); }
.phases__check strong { color: var(--ink); margin-right: 6px; }
@media (min-width: 800px) {
  .phases li { grid-template-columns: 12em minmax(0, 1fr); }
  .phases li > p { grid-column: 2; }
  .phases h3 { grid-row: span 2; }
}

/* ---------- offerings, journeys, features ---------- */
.group + .group { margin-top: 48px; }
.group__title { font-size: var(--text-l); }
.group__lead { margin-top: 6px; max-width: var(--measure); font-size: var(--text-s); }
.offerings { display: grid; gap: 20px; margin-top: 20px; }
.offering > * + * { margin-top: 16px; }
.offering h5 { font-size: var(--text-s); color: var(--ink-muted); letter-spacing: 0; }
.offering h5 + * { margin-top: 6px; }
.offering ul { font-size: var(--text-s); }
.offerings--compact { gap: 12px; }
.offering--compact { padding: 22px 24px; border-radius: var(--radius); border: 1px dashed var(--line-strong); background: rgba(255, 255, 255, 0.6); }
.offering--compact .title-row h4 { font-size: var(--text-m); }
.chip-list a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-sunk); color: var(--ink); font-size: var(--text-sm); font-weight: 600; text-decoration: none; transition: border-color 0.2s, background-color 0.2s; }
.chip-list a:hover { border-color: var(--brand); background: var(--brand-tint); }
.limitation { font-size: var(--text-s); color: var(--ink-muted); max-width: var(--measure); }
.limitation strong { color: var(--ink); margin-right: 6px; }

.journeys { display: grid; gap: 20px; }
@media (min-width: 1100px) { .journeys { grid-template-columns: 1fr 1fr; } }
.journey { padding: clamp(22px, 3vw, 30px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-sm); }
.journey > * + * { margin-top: 20px; }
.journey .title-row h3 { font-size: var(--text-m); }

.features { list-style: none; padding: 0; display: grid; gap: 12px; }
@media (min-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { position: relative; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.feature::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: var(--line); }
.feature--implemented::before { background: linear-gradient(90deg, #22A55A, #7AD99B); }
.feature--conditional::before { background: linear-gradient(90deg, #E7A500, #F7D57A); }
.feature--planned::before { background: linear-gradient(90deg, #6B7FA6, #B5C2DD); }
.feature--demo::before { background: repeating-linear-gradient(90deg, #868C95 0 8px, transparent 8px 14px); }
.feature > * + * { margin-top: 8px; }
.feature .title-row h3 { font-size: var(--text-m); }
.feature__link { font-size: var(--text-s); font-weight: 700; }

/* ---------- equipment ---------- */
.profile__kind { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--surface-sunk); font-size: var(--text-sm); font-weight: 700; color: var(--ink-muted); }
.profile__kind--on { background: var(--brand-tint); color: var(--brand-deep); }

.bars { display: grid; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface-sunk); border: 1px solid var(--line); }
.bars__row { display: grid; gap: 6px; }
.bars dt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-weight: 800; font-size: var(--text-s); }
.bars dt span { color: var(--ink-muted); font-weight: 600; font-size: var(--text-sm); }
.bars dd { display: grid; gap: 4px; }
.bars__track { display: block; height: 12px; border-radius: 999px; background: #DDE4F0; overflow: hidden; }
.bars__fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--glow-teal)); transform-origin: left; }
.bars__row--min .bars__fill { width: 50%; }
.bars__row--rec .bars__fill { width: 75%; }
.bars__row--exp .bars__fill { width: 100%; }
.bars__value { font-size: var(--text-sm); font-weight: 700; color: var(--ink); }

.table-block > * + * { margin-top: 12px; }
.table-block h3 { font-size: var(--text-m); }
.table-scroll { position: relative; max-width: 100%; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--text-s); line-height: 1.6; }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr > * { transition: background-color 0.2s; }
tbody tr:hover > * { background: #F8FAFE; }
thead th { background: var(--surface-sunk); color: var(--ink); font-size: var(--text-sm); font-weight: 800; white-space: nowrap; }
tbody th[scope="row"] { font-weight: 800; }
td.num { font-weight: 800; white-space: nowrap; }
.spec-table { min-width: 680px; }
.spec-table th:first-child { width: 7em; }
.models-table { min-width: 1040px; }
.compare-table { min-width: 640px; }
.compare-table thead th:not(:first-child) { white-space: normal; font-size: var(--text-m); }
.compare-table thead a { color: var(--ink); }
.compare-table td ul { padding-left: 1.1em; }
.models-table tbody th[scope="row"], .spec-table tbody th[scope="row"], .compare-table tbody th[scope="row"], .models-table thead th:first-child, .compare-table thead th:first-child, .spec-table thead th:first-child {
  position: sticky; left: 0; z-index: 1; background: var(--surface); border-right: 1px solid var(--line);
}
.models-table thead th:first-child, .compare-table thead th:first-child, .spec-table thead th:first-child { background: var(--surface-sunk); z-index: 2; }
.models-table tbody th[scope="row"] { min-width: 11em; }
.config span { display: block; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.cell-note { display: block; margin-top: 4px; font-size: var(--text-sm); font-weight: 600; white-space: normal; }
.na { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--surface-sunk); color: var(--ink-muted); font-weight: 700; font-size: var(--text-sm); }
.note-cell { min-width: 18em; color: var(--ink-muted); }
.use-cell { min-width: 9em; }

.sources ul { padding: 0; list-style: none; font-size: var(--text-s); }
.sources li + li { margin-top: 6px; }
.measurement { display: inline-block; padding: 8px 16px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 999px; font-size: var(--text-s); }
.measurement strong { margin-right: 6px; }
.budget { display: grid; gap: 12px; max-width: 48em; }
.budget > div { padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); }
.budget__host { background: var(--planned-bg); }
.budget__guest { background: var(--brand-tint); }
.budget__free { background: var(--implemented-bg); }
.budget dt { font-size: var(--text-sm); color: var(--ink-muted); font-weight: 700; }
.budget dd { font-size: 1.5rem; font-weight: 800; }
@media (min-width: 640px) { .budget { grid-template-columns: 1fr 2fr 1fr; } }
#condition-storage { font-weight: 700; }
#condition-storage:target { background: var(--notice-bg); outline: 1px solid var(--notice-line); border-radius: var(--radius-s); }

/* ---------- contact ---------- */
.prep-grid { display: grid; gap: 16px; }
@media (min-width: 800px) { .prep-grid { grid-template-columns: 1fr 1fr; } }
.prep { padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-sm); transition: border-color 0.3s, box-shadow 0.3s; }
.prep h3 { display: flex; align-items: center; gap: 10px; font-size: var(--text-m); }
.prep__emoji { width: 32px; height: 32px; filter: none; }
.prep ul { margin-top: 12px; font-size: var(--text-s); }
.prep:target { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 56em; }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color 0.2s; }
.faq details[open] { border-color: var(--brand); }
.faq summary { position: relative; display: block; min-height: 44px; padding: 18px 56px 18px 22px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-sunk); color: var(--brand-deep); font-size: 1.125rem; font-weight: 700; line-height: 1; transition: rotate 0.25s var(--ease), background-color 0.2s; }
.faq details[open] summary::after { rotate: 45deg; background: var(--brand-tint); }
.faq details p { padding: 0 22px 20px; color: var(--ink-muted); max-width: var(--measure); }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--on-brand-muted); font-size: var(--text-s); }
.site-footer__inner { display: grid; gap: 28px; padding-block: 56px 64px; }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: var(--on-brand); }
.wordmark--footer { font-size: clamp(2.75rem, 2.4rem + 1.2vw, 3.25rem); }
.site-footer__name { color: var(--on-brand-muted); font-size: var(--text-s); font-weight: 700; }
.site-footer__desc { margin-top: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 20px; padding: 0; list-style: none; }
.footer-links a, .site-footer a { color: var(--on-brand); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: rgba(255, 255, 255, 0.35); }
.site-footer__meta { max-width: var(--measure); }
.site-footer__meta > * + * { margin-top: 6px; }
@media (min-width: 1024px) { .site-footer__inner { grid-template-columns: 18em minmax(0, 1fr); } .site-footer__meta { grid-column: 2; } }

/* ---------- motion: reveal on scroll (only when JS runs and motion is allowed) ---------- */
.motion-ok [data-reveal] { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), translate 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.motion-ok [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); }
.motion-ok [data-reveal="1"] { transition-delay: 0.08s, 0.08s, 0s, 0s; }
.motion-ok [data-reveal="2"] { transition-delay: 0.16s, 0.16s, 0s, 0s; }
.motion-ok [data-reveal="3"] { transition-delay: 0.24s, 0.24s, 0s, 0s; }
.motion-ok [data-reveal="4"] { transition-delay: 0.32s, 0.32s, 0s, 0s; }
/* Focus inside a revealable item shows it and every revealable ancestor at once, with no opacity fade or delay. The rule does not
   depend on .is-in (the focusin script adds that class in the same turn), so the cascade is identical before and after it lands. */
.motion-ok [data-reveal]:focus-within { opacity: 1; transform: none; transition: translate 0.3s var(--ease), box-shadow 0.3s var(--ease); }
/* Above-the-fold intros use a CSS-only entrance so they never wait on script timing. */
.motion-ok .page-intro [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
.motion-ok .page-intro [data-reveal] { animation: rise 0.9s var(--ease) both; }
.motion-ok .page-intro [data-reveal="1"] { animation-delay: 0.08s; }
.motion-ok .page-intro [data-reveal="2"] { animation-delay: 0.18s; }
/* Same-duration override instead of animation: none, so the entrance does not replay when focus leaves. */
.motion-ok .page-intro [data-reveal]:focus-within { animation-duration: 0s; animation-delay: 0s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.motion-ok .bars:not(.is-in) .bars__fill { transform: scaleX(0); }
.motion-ok .bars .bars__fill { transition: transform 1.2s var(--ease) 0.2s; }
.motion-ok .process:not(.is-in)::before { transform: scaleX(0); }
.motion-ok .process::before { transition: transform 1.4s var(--ease) 0.3s; }

.motion-paused .float, .motion-paused .hero__bg span, .motion-paused .mock__steps li, .motion-paused .mock__row, .motion-paused .mock__progress span { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ok [data-reveal], .motion-ok [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
  .motion-ok .bars .bars__fill, .motion-ok .bars:not(.is-in) .bars__fill { transform: none; }
  .mock__steps li:first-child, .mock__row:nth-child(2) { background: var(--brand-tint); color: var(--brand-deep); }
  .mock__progress span { width: 20%; }
}

@media print {
  .print-prep .page-intro, .print-prep .site-footer, .print-prep .doc__body > .section:not(#preparation), .print-prep .prep-actions, .print-prep .prep__more { display: none !important; }
  .print-prep .prep { break-inside: avoid; box-shadow: none; }
  .print-prep [data-reveal] { opacity: 1 !important; transform: none !important; }
  .site-header, .toc, .skip-link, .actions, .hero__bg, .motion-toggle, .entry { display: none; }
  body { background: #fff; }
  .hero, .page-intro, .cta, .site-footer { background: none; color: var(--ink); }
  .hero *, .page-intro *, .cta * { color: var(--ink) !important; }
  /* Main service cards are dark panels on screen and print drops their background, so the text must go dark too.
     !important matches the rules above: the screen rules for these children (home.css, inner.css) are more specific. */
  .band .business-grid--showcase .svc--main { background: none; box-shadow: none; }
  .svc--main, .svc--main .svc__link, .svc--main .svc__sub, .svc--main .svc__status, .svc--main .svc__status span, .svc--main .svc__chips li { color: var(--ink) !important; }
}

/* The three core projects share the same card sizing and reading order. */
.business-grid.business-grid--priority { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
.business-grid--priority .svc { min-width: 0; }
.business-grid--priority .svc h3 { font-size: clamp(1.625rem, 1.25rem + 0.9vw, 2.25rem); line-height: 1.15; }
.business-grid--priority .svc--core { background: linear-gradient(165deg, var(--brand-tint), var(--surface) 70%); }
@media (min-width: 900px) {
  .business-grid.business-grid--priority { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.svc--secondary .svc__emoji, .svc--pilot .svc__emoji { width: 52px; height: 52px; }
.pilot-strip { max-width: 760px; }
.pilot-strip .svc { background: var(--surface); padding: 22px 26px; }
.contact-phone { margin: 20px 0; }
.contact-phone .button { white-space: normal; overflow-wrap: anywhere; text-align: center; }

.evidence-grid { display: grid; gap: 20px; margin-bottom: 24px; }
.evidence-image { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.evidence-image img { display: block; width: 100%; height: auto; }
.evidence-image figcaption { padding: 12px 16px; font-size: var(--text-sm); color: var(--ink-muted); }
@media (min-width: 720px) { .evidence-grid:has(figure:nth-child(2)) { grid-template-columns: 1fr 1fr; } }
#business-challenge { margin-block: 20px; max-width: 100%; }
#business-result { margin-block: 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

/* Container widths also cover enlarged content when the viewport media query stays wide. */
main { container-type: inline-size; container-name: content; }
.site-header { container-type: inline-size; container-name: header; }
.header-actions { flex-shrink: 0; }
@container header (max-width: 1199px) {
  .js .nav-toggle:not([hidden]) { display: inline-flex; align-items: center; }
  .js .site-nav { display: none; width: 100%; order: 3; margin-left: 0; }
  .site-header__inner { gap: 8px 12px; }
  .js .site-nav[data-open] { display: block; padding-bottom: 12px; max-height: calc(100vh - 128px); max-height: calc(100dvh - 128px); overflow-y: auto; overscroll-behavior: contain; }
  .js .site-nav ul { flex-direction: column; gap: 4px; }
  .js .site-nav a { border-radius: var(--radius-s); }
}
/* Very narrow headers (320px phones, 400% zoom): a slightly smaller lockup and tighter CTA keep brand, CTA and menu button on one row.
   Placed after the collapsed-menu block so these values win. */
@container header (max-width: 399px) {
  .site-header__inner { column-gap: 8px; }
  .brand .wordmark { font-size: 1.5rem; }
  .brand__name { font-size: 0.6875rem; }
  .header-cta { padding-inline: 12px; }
}
@container content (max-width: 1023px) {
  .doc--toc { display: block; }
  .toc { position: static; max-height: none; margin-top: 32px; }
}
@container content (max-width: 719px) {
  .principles, .problem-grid, .role-grid, .journeys, .features, .two-col, .process, .business-grid, .intro-split, .offerings { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 재개발착착 target service: shared by home and the detail page ---------- */
/* Goal label: always beside the core sentence, readable size, never a small grey footnote. */
.goal-label { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px 6px 10px; border: 1px solid #C9D6F5; border-radius: 999px; background: var(--brand-tint); color: var(--brand-deep); font-size: var(--text-s); font-weight: 800; line-height: 1.35; }
.goal-label .glyph { width: 20px; height: 20px; }
.vision__lead { max-width: 46em; }
.vision__headline { margin-top: 18px; font-size: clamp(1.75rem, 1rem + 2.6vw, 3rem); font-weight: 800; line-height: 1.18; letter-spacing: -0.045em; text-wrap: balance; }
.vision__headline span { display: inline-block; }
.vision__intro { margin-top: 14px; max-width: 38em; color: var(--ink-muted); font-size: var(--text-m); }

/* The five-step flow as stations on one line (a list, so the order is announced). */
.vision-flow { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: flow; }
.vision-flow::before { content: ""; position: absolute; z-index: -1; left: 10%; right: 10%; top: 13px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--glow-teal)); }
.vision-flow li { counter-increment: flow; display: grid; justify-items: center; gap: 10px; text-align: center; font-size: var(--text-m); font-weight: 800; line-height: 1.35; word-break: keep-all; }
.vision-flow__dot { width: 28px; height: 28px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 3px var(--brand); }
.vision-flow li:last-child .vision-flow__dot { background: var(--brand); }
@container content (max-width: 559px) {
  .vision-flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .vision-flow::before { left: 13px; right: auto; top: 14px; bottom: 14px; width: 2px; height: auto; background: linear-gradient(var(--brand), var(--glow-teal)); }
  .vision-flow li { grid-template-columns: 28px minmax(0, 1fr); justify-items: start; align-items: center; gap: 14px; padding-block: 8px; text-align: left; }
}

/* Who it is for: three readers, plain hairline columns. */
.audiences { display: grid; gap: 0 28px; margin: 32px 0 0; padding: 0; list-style: none; }
.audiences > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; padding: 20px 0 22px; border-top: 1px solid var(--line-strong); }
.audiences__mark { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-deep); }
.audiences h3, .audiences h4 { align-self: center; font-size: var(--text-l); font-weight: 800; letter-spacing: -0.02em; }
.audiences p { color: var(--ink-muted); }
@container content (min-width: 900px) {
  .audiences:not(.audiences--stack) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .audiences:not(.audiences--stack) > li { grid-template-columns: minmax(0, 1fr); }
  .audiences:not(.audiences--stack) .audiences__mark { grid-row: auto; }
}

/* Target data zones: three stations, from shared to association-sensitive. */
.zones { position: relative; isolation: isolate; display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.zone { position: relative; display: grid; gap: 6px; padding: 20px 22px 22px 58px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); }
.zone__mark { position: absolute; left: 20px; top: 22px; width: 22px; height: 22px; border-radius: 6px; background: var(--brand-tint); box-shadow: inset 0 0 0 2px var(--brand); }
.zone--account .zone__mark { border-radius: 50%; }
.zone--sensitive { border-color: var(--brand); }
.zone--sensitive .zone__mark { background: var(--brand); }
.zone__title { font-size: var(--text-l); font-weight: 800; letter-spacing: -0.02em; }
.zone__where { color: var(--brand-deep); font-weight: 700; }
.zone__scope { color: var(--ink-muted); }
.zones__note { margin-top: 14px; max-width: var(--measure); color: var(--ink-muted); }
@container content (min-width: 900px) {
  .zones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Native disclosure for long reference material; the heading stays outside, hash entry and print open it. */
.fold { margin-top: 28px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.fold > summary { position: relative; display: flex; align-items: center; min-height: 56px; padding: 14px 56px 14px 0; color: var(--brand-deep); font-size: var(--text-m); font-weight: 800; cursor: pointer; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "+"; position: absolute; right: 8px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-deep); font-size: 1.25rem; line-height: 1; transition: rotate 0.25s var(--ease); }
.fold[open] > summary::after { rotate: 45deg; }
.fold > summary:hover span { text-decoration: underline; text-underline-offset: 0.2em; }
.fold__body { padding: 8px 0 32px; }
.fold__body > * + * { margin-top: 24px; }
.fold--quiet { margin-top: 24px; }
.status-counts { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 20px; padding: 0; list-style: none; }
.status-counts li { display: inline-flex; align-items: center; gap: 8px; }
.status-counts strong { font-size: var(--text-m); }

@media print {
  .fold > summary::after { display: none; }
  .goal-label { border-color: currentColor; background: none; }
}
