/* Service main reuses Home tokens and controls; no host-specific selectors. */
.service-home [hidden] { display: none !important; }
.trust-links { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; }
.trust-links a { color: var(--ink-strong); text-underline-offset: .2em; padding-block: .35rem; }
.trust-links a[aria-current="page"] { font-weight: 750; text-decoration-thickness: 2px; }
.trust-links a:focus-visible, .trust-document a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.trust-footer { margin: .75rem 0 1.25rem; font-size: .85rem; }
.trust-document { max-width: 46rem; padding: 1.5rem 0 2.5rem; line-height: 1.7; overflow-wrap: anywhere; }
.service-home .trust-document h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; margin: .4rem 0 1rem; }
.service-home .trust-document h2 { font-size: 1.2rem; line-height: 1.4; margin: 1.7rem 0 .5rem; letter-spacing: normal; }
.trust-document p { margin: .5rem 0; }
.trust-paragraph { white-space: pre-line; }
.trust-document .trust-flow { white-space: pre-line; border-left: 2px solid var(--line); padding-left: 1rem; }
.trust-document a { color: var(--ink-strong); }
.service-home::before { content: none; }
.service-header, .service-main { width: min(1120px, calc(100% - 3rem)); margin: auto; }
.service-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; }
.service-header .brand { margin: 0; text-decoration: none; }
.service-header .button { width: auto; flex-shrink: 0; }
.service-user { min-width: 8rem; display: flex; justify-content: flex-end; }
.service-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; max-width: 100%; }
.service-mcp, .service-pricing { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; color: var(--ink-strong); text-underline-offset: .25em; }
.service-mcp:focus-visible, .service-pricing:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.trust-document.pricing-page { max-width: none; padding-block: clamp(2rem, 5vw, 4rem); }
.pricing-heading { max-width: 46rem; margin-bottom: 2.5rem; }
.pricing-page .pricing-eyebrow { color: var(--primary-strong); font-size: .75rem; font-weight: 750; letter-spacing: .08em; }
.pricing-page .pricing-intro { max-width: 40rem; color: var(--muted); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-block: 2rem 1.5rem; }
.pricing-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.25rem, 2.5vw, 2rem); background: var(--surface); box-shadow: 0 4px 16px rgba(23, 43, 50, .04); overflow-wrap: anywhere; }
.pricing-card-pro, .pricing-card-catalog { border-color: var(--primary); box-shadow: 0 8px 24px rgba(23, 43, 50, .08), inset 0 3px var(--primary); }
.pricing-plan-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; min-height: 2.25rem; }
.service-home .pricing-card h2 { margin: 0; font-size: 1.4rem; font-weight: 750; }
.pricing-badge { border-radius: 999px; padding: .2rem .6rem; color: var(--primary-strong); background: var(--paper); font-size: .7rem; font-weight: 750; }
.pricing-card .pricing-audience { margin: .65rem 0 0; color: var(--muted); font-size: .85rem; min-height: 3rem; }
.pricing-card .pricing-price { display: flex; align-items: center; min-height: 4rem; margin: 1.25rem 0; font-size: clamp(1.65rem, 2.6vw, 2rem); line-height: 1.25; font-weight: 800; letter-spacing: -.035em; color: var(--ink-strong); }
.pricing-card .pricing-price-contact { font-size: 1.65rem; }
.pricing-card .pricing-price-unavailable { font-size: 1.35rem; letter-spacing: normal; color: var(--muted); }
.pricing-card .pricing-description { flex-grow: 1; margin: 0 0 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; line-height: 1.7; }
.pricing-card .button { width: 100%; min-height: 3.25rem; white-space: normal; max-width: 100%; text-align: center; font-size: .85rem; }
.pricing-card-pro .button, .pricing-card-catalog .button { color: var(--surface); margin-top: auto; }
.pricing-page .pricing-note { max-width: 46rem; color: var(--muted); font-size: .8rem; }
.trust-document.mcp-guide-page { max-width: 68rem; padding-block: clamp(2rem, 5vw, 4rem); }
.mcp-guide-heading { max-width: 47rem; }
.mcp-guide-eyebrow { color: var(--primary-strong); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mcp-guide-lead { max-width: 42rem; color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); }
.mcp-guide-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 2.25rem 0 3.25rem; padding: 1rem 0; border-block: 1px solid var(--line); list-style: none; counter-reset: mcp-flow; }
.mcp-guide-flow li { position: relative; display: grid; gap: .15rem; min-width: 0; padding: .35rem 1.25rem; counter-increment: mcp-flow; }
.mcp-guide-flow li + li { border-left: 1px solid var(--line); }
.mcp-guide-flow li::before { content: "0" counter(mcp-flow); color: var(--primary-strong); font-size: .66rem; font-weight: 800; letter-spacing: .12em; }
.mcp-guide-flow span { color: var(--muted); font-size: .75rem; }
.mcp-guide-flow strong { color: var(--ink-strong); font-size: .9rem; }
.mcp-guide-steps > h2 { margin-bottom: 1rem; }
.mcp-guide-faq > h2 { margin-bottom: .6rem; font-size: 1.35rem; }
.mcp-guide-step { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1rem; margin-bottom: .8rem; padding: clamp(1.05rem, 2.2vw, 1.5rem); border: 1px solid rgba(17,45,52,.12); border-radius: 14px; background: var(--surface); }
.mcp-guide-icon { display: grid; place-items: center; width: 3rem; height: 3rem; }
.mcp-guide-icon img { display: block; width: 1.75rem; height: 1.75rem; }
.mcp-guide-step-content { min-width: 0; }
.mcp-guide-step-label { margin: 0 0 .2rem; color: var(--primary-strong); font-size: .66rem; font-weight: 800; letter-spacing: .13em; }
.service-home .mcp-guide-step h3 { margin: 0 0 .35rem; color: var(--ink-strong); font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.35; }
.mcp-guide-step-content > p:not(.mcp-guide-step-label) { max-width: 48rem; margin: 0; color: var(--muted); }
.mcp-guide-shot { margin: 1rem 0 0; }
.mcp-guide-shot-frame { position: relative; border: 0; background: transparent; box-shadow: none; }
.mcp-guide-shot img { display: block; max-width: 100%; height: auto; object-fit: contain; }
.mcp-guide-shot-plugins { width: min(100%, 52rem); }
.mcp-guide-shot-plugins img, .mcp-guide-shot-modal img { width: 100%; height: auto; }
.mcp-guide-shot-wrap-modal { max-width: 38rem; }
.mcp-guide-shot-modal { width: 100%; }
/* Separate lossless images use their intrinsic aspect ratios at every width. */
.mcp-guide-shot-frame img { position: static; width: 100%; max-width: 100%; height: auto; }
.mcp-guide-image-callout { position: absolute; z-index: 1; border: 2px solid var(--primary); border-radius: 999px; padding: .3rem .65rem; color: #fff; background: var(--primary-strong); font-size: .7rem; font-weight: 800; box-shadow: 0 2px 9px rgba(17,45,52,.22); }
.mcp-guide-shot-plugins .mcp-guide-image-callout { top: 12%; right: 2%; }
/* Crop-relative markers remain in the left gutter, clear of UI labels. */
.mcp-guide-image-marker { position: absolute; left: 2.9%; transform: translate(-50%, -50%); z-index: 1; display: grid; place-items: center; width: 3.6%; aspect-ratio: 1; border-radius: 50%; color: #fff; background: var(--primary-strong); font-size: clamp(.5rem, 1.6vw, .66rem); font-weight: 800; pointer-events: none; }
.mcp-guide-shot-ko .mcp-guide-image-marker-name { top: 24%; }
.mcp-guide-shot-ko .mcp-guide-image-marker-server { top: 42.4%; }
.mcp-guide-shot-ko .mcp-guide-image-marker-auth { top: 50.6%; }
.mcp-guide-shot-ko .mcp-guide-image-marker-security { top: 81.2%; }
.mcp-guide-shot-en .mcp-guide-image-marker-name { top: 23%; }
.mcp-guide-shot-en .mcp-guide-image-marker-server { top: 43.4%; }
.mcp-guide-shot-en .mcp-guide-image-marker-auth { top: 52.8%; }
.mcp-guide-shot-en .mcp-guide-image-marker-security { top: 83.6%; }
.mcp-guide-shot figcaption { margin-top: .4rem; color: var(--muted); font-size: .74rem; line-height: 1.45; }
.mcp-guide-shot [hidden] { display: none !important; }
.mcp-guide-image-fallback { margin: .5rem 0; padding: .75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 9px; }
.mcp-guide-fields { display: grid; gap: .55rem; margin: 1rem 0; }
.mcp-guide-fields > div { padding: .65rem .85rem; border-radius: 10px; background: var(--paper); }
.mcp-guide-fields dt { color: var(--muted); font-size: .72rem; }
.mcp-guide-fields dd { margin: .1rem 0 0; color: var(--ink-strong); font-weight: 750; overflow-wrap: anywhere; }
.mcp-guide-copy { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin: .75rem 0 1rem; padding: .7rem .8rem; border-left: 3px solid var(--primary); border-radius: 0 9px 9px 0; background: var(--paper); }
.mcp-guide-copy code { min-width: 0; overflow-wrap: anywhere; color: var(--ink-strong); }
.mcp-guide-copy-button { flex-shrink: 0; min-height: 2.6rem; border: 1px solid var(--primary); border-radius: 9px; padding: .4rem .8rem; color: var(--primary-strong); background: var(--surface); font: inherit; font-size: .78rem; font-weight: 750; cursor: pointer; }
.mcp-guide-copy-button:hover { background: var(--paper); }
.mcp-guide-copy-button:focus-visible { outline: 2px solid var(--ink-strong); outline-offset: 2px; }
.mcp-guide-note { margin: 2rem 0 2.5rem; padding: 1rem 1.15rem; border-left: 3px solid var(--primary); border-radius: 0 12px 12px 0; background: var(--paper); }
.mcp-guide-note p { margin-bottom: 0; color: var(--muted); }
.mcp-guide-faq details { border-bottom: 1px solid var(--line); padding: .85rem .15rem; }
.mcp-guide-faq summary { color: var(--ink-strong); font-weight: 750; cursor: pointer; }
.mcp-guide-faq summary:focus-visible { outline: 2px solid var(--ink-strong); outline-offset: 3px; }
.mcp-guide-faq details p { color: var(--muted); }
.mcp-guide-advanced { margin-top: .4rem; opacity: .88; }
@media (max-width: 1023px) { .pricing-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .service-header { flex-wrap: wrap; } }
.service-language { display: flex; align-items: center; gap: .25rem; }
.service-language button { font: inherit; font-size: .8rem; color: var(--ink-strong); background: transparent; border: 0; padding: .25rem; min-height: 44px; cursor: pointer; white-space: nowrap; }
.service-language button[aria-pressed="true"] { text-decoration: underline; text-underline-offset: .25em; font-weight: 750; }
.service-language button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.service-home:lang(ko) h1, .service-home:lang(ko) h2, .service-home:lang(ko) p { word-break: keep-all; }
.service-user-member { display: flex; align-items: center; gap: .65rem; font-size: .8rem; width: 8rem; }
.service-user [hidden] { display: none; }
.service-user-member a { display: inline-flex; align-items: center; min-height: 48px; color: var(--ink-strong); font-weight: 750; text-decoration: none; }
.service-user-member a:hover { text-decoration: underline; }
.service-user-member [data-service-name] { display: block; flex: 1; min-width: 0; line-height: 48px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.service-user-member a:last-child { flex-shrink: 0; }
.service-home h1 { max-width: 900px; }
.service-home h2 { margin: .45rem 0 .85rem; color: var(--ink-strong); font: 700 clamp(1.7rem, 3vw, 2.5rem)/1.2 Georgia, serif; letter-spacing: -.025em; }
.service-hero { padding: clamp(1.75rem, 4vw, 3rem) 0; }
.service-hero h1 { margin: .65rem 0 1rem; }
.service-home .home-actions { align-items: flex-start; margin-top: 1.25rem; }
.work-action { display: grid; justify-items: center; gap: .25rem; }
.work-action small { color: var(--muted); font-size: .68rem; line-height: 1.25; white-space: nowrap; }
.service-section { padding: clamp(1.3rem, 2.6vw, 2.25rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 1.5rem; }
.service-home .auth-notice { max-width: 46rem; min-height: 50vh; margin: auto; padding-block: clamp(2rem, 6vw, 5rem); border-top: 0; }
.service-home .auth-notice h1 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.2; overflow-wrap: anywhere; }
.service-home .auth-notice .home-actions { flex-wrap: wrap; }
.service-home .auth-notice .button { max-width: 100%; white-space: normal; text-align: center; }
.service-home .registration-notice { text-align: center; border: 1px solid rgba(32,58,66,.18); border-radius: 20px; background: #fffaf0; padding: clamp(1.5rem, 5vw, 4rem); margin-block: 2rem; }
.service-home .registration-notice .home-actions { justify-content: center; }
.service-home .registration-notice p { white-space: pre-line; }
.registration-shield { display: block; color: #c96845; font-size: 3rem; margin-bottom: 1rem; }
.service-home .lead { max-width: 650px; }
.value-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 3rem; padding: 0; margin: 1.125rem 0 0; }
.value-list { list-style: none; }
.service-copy { max-width: 650px; color: var(--muted); font-size: 1rem; }
.service-copy p { margin: 0 0 .75rem; }
.service-copy p:last-child { margin-bottom: 0; }
.continue-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem 1.5rem; max-width: 650px; margin: .85rem 0 0; padding: 0; list-style: none; }
.continue-list li { color: var(--ink-strong); font-weight: 750; }
.session-maintenance { max-width: 650px; margin-top: .85rem; color: var(--muted); font-size: .82rem; }
.session-maintenance p { margin: 0; }
.service-closing-statement { padding: .35rem 0 .2rem; }
.service-closing { margin: 0 0 1rem; color: var(--ink-strong); font: 700 1.3rem/1.4 Georgia, serif; }
.service-home li p { color: var(--muted); margin: .4rem 0 0; }
.service-home li, .service-home h1, .service-home h2 { overflow-wrap: anywhere; }
/* Desktop density is isolated from the existing mobile reading rhythm. */
@media (min-width: 1024px) {
  .service-hero { padding: 1.8rem 0; }
  .service-hero h1 { font-size: 4.25rem; line-height: 1.02; margin: .4rem 0 .65rem; }
  .service-home .home-actions { margin-top: .85rem; }
  .service-section { padding: 1.4rem 0; }
  .service-home h2 { margin: 0 0 .6rem; font-size: 2rem; line-height: 1.1; }
  .service-home .lead { line-height: 1.5; }
  .service-copy, .value-list { line-height: 1.4; }
  .value-list { gap: .6rem 3rem; margin-top: .75rem; }
  .service-home li p { margin-top: .2rem; }
  .service-copy p { margin-bottom: .3rem; }
  .service-copy p:last-child { margin-bottom: 0; }
  .service-home footer { padding: .5rem 0 1rem; }
  .service-closing { margin-bottom: .25rem; font-size: 1.15rem; line-height: 1.25; }
}
/* Desktop density is isolated from the existing mobile reading rhythm. */
@media (min-width: 1024px) {
  .service-hero { padding: 1.8rem 0; }
  .service-hero h1 { font-size: 4.25rem; line-height: 1.02; margin: .4rem 0 .65rem; }
  .service-home .home-actions { margin-top: .85rem; }
  .service-section { padding: 1.6rem 0; }
  .service-home h2 { margin: 0 0 .6rem; }
  .value-list { gap: .6rem 3rem; margin-top: .75rem; }
  .service-home li p { margin-top: .2rem; }
  .service-copy p { margin-bottom: .3rem; }
  .service-copy p:last-child { margin-bottom: 0; }
  .service-home footer { padding: .875rem 0 1rem; }
  .service-closing { margin-bottom: .5rem; font-size: 1.15rem; line-height: 1.25; }
}
@media (min-width: 1600px) {
  .service-section { padding: 1.1rem 0; }
}
/* Compact desktop information blocks; Hero and closing retain their spacing. */
@media (min-width: 1024px) {
  .service-section[aria-labelledby="context-title"],
  .service-section[aria-labelledby="continue-title"] { padding-block: .75rem; }
  .service-section h2 { margin-bottom: .25rem; }
  .value-list { row-gap: .25rem; margin-top: .25rem; }
  .service-home .value-list li p { display: inline; margin: 0 0 0 .5rem; }
  .service-section .service-copy p { margin-bottom: 0; }
}
/* Let the desktop closing breathe without changing the content above it. */
@media (min-width: 1024px) {
  .service-section[aria-labelledby="continue-title"] { padding-bottom: 1.5rem; }
  .service-home footer { padding: 1rem 0 1rem; }
  .service-closing { margin-bottom: 1rem; }
}
@media (max-width: 520px) {
  .service-header, .service-main { width: calc(100% - 2rem); }
  .service-header { flex-wrap: wrap; gap: 1rem; }
  .service-header .brand { font-size: .9rem; }
  .service-controls { gap: .5rem; }
  .service-hero { padding: 2rem 0; }
  .service-hero h1 { margin: .75rem 0 1.1rem; }
  .service-home .home-actions { margin-top: 1.4rem; }
  .work-action { width: 100%; }
  .continue-list { grid-template-columns: 1fr; gap: .4rem; }
  .service-home h2 { margin: .6rem 0 1rem; }
  .service-section { padding: 1.5rem 0; }
  .value-list { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1.25rem; }
  .mcp-guide-flow { grid-template-columns: 1fr; padding-block: .4rem; }
  .mcp-guide-flow li { padding: .65rem .25rem; }
  .mcp-guide-flow li + li { border-top: 1px solid var(--line); border-left: 0; }
  .mcp-guide-step { grid-template-columns: 2.55rem minmax(0, 1fr); gap: .75rem; padding: 1rem; }
  .mcp-guide-icon { width: 2.45rem; height: 2.45rem; }
  .mcp-guide-icon img { width: 1.45rem; height: 1.45rem; }
  .mcp-guide-shot { margin-left: calc(-2.55rem - .75rem); }
  .mcp-guide-shot-wrap-modal { max-width: 34rem; }
  .mcp-guide-copy { align-items: stretch; flex-direction: column; }
  .mcp-guide-copy-button { width: 100%; }
}
/* My and Home body share the same product stack; override heading shorthands in both locales. */
.service-home h1, .service-home h2, .service-home .service-closing { font-family: inherit; }
.service-closing { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -.015em; }
@media (max-width: 360px) {
  html[lang="ko"] .service-home .service-closing { font-size: 1rem; }
}

.pricing-card .pricing-features { padding-left: 1.25rem; margin: 0 0 1.5rem; color: var(--ink-strong); font-size: .9rem; line-height: 1.7; }
.pricing-card .pricing-features li + li { margin-top: .5rem; }
