:root { --site-header-height: 76px; --site-shell-width: 1184px; --site-shell-padding: 32px; }
body.site-layout { --site-page-background: #070a12; }
body.account-page, body.inquiries-page, body.subscriptions-page { --site-page-background: #101214; }
body.site-layout { padding-top: var(--site-header-height); }
html:has(.site-header) { scroll-padding-top: calc(var(--site-header-height) + 20px); }
.site-layout .site-header { position: fixed; inset: 0 0 auto; z-index: 200; height: var(--site-header-height); margin: 0; padding: 0; border: 0; border-bottom: 1px solid #252e40; background: var(--site-page-background); color: #edf2ff; font: 14px/1.5 "Noto Sans KR", "Segoe UI", system-ui, sans-serif; letter-spacing: 0; }
.site-header, .site-header * { box-sizing: border-box; }
.site-header__inner { width: min(var(--site-shell-width), calc(100% - 2 * var(--site-shell-padding))); height: 100%; margin-inline: auto; display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr); align-items: center; gap: 16px; }
.site-layout :is(.account-shell, .subscription-shell, .doc-shell, .faq-shell, .studio-wrap) { width: min(var(--site-shell-width), calc(100% - 2 * var(--site-shell-padding))); margin-inline: auto; }
.site-header a { color: inherit; text-decoration: none; }
.site-header .site-header__brand { display: inline-flex; align-items: center; justify-self: start; gap: 12px; font-size: 19px; font-weight: 700; white-space: nowrap; }
.site-header__brand img { display: block; width: 32px; height: 32px; object-fit: contain; }
.site-header__nav { display: flex; height: 100%; align-items: center; justify-content: center; gap: clamp(20px, 2vw, 30px); }
.site-header .site-header__nav a { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0; white-space: nowrap; font-size: 14px; font-weight: 600; color: #b8c1d2; }
.site-header__nav a:hover, .site-header__nav a[aria-current] { color: #fff; }
.site-header__account { justify-self: end; display: flex; align-items: center; gap: 12px; }
.site-header .site-header__account button, .site-header .site-header__signup { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin: 0; padding: 8px 14px; border: 1px solid #3d485d; border-radius: 8px; background: transparent; color: #edf2ff; font: inherit; font-weight: 600; white-space: nowrap; cursor: pointer; }
.site-header .site-header__signup { background: #dce8ff; border-color: #dce8ff; color: #111d33; }
.site-header__account button:hover { background: #192234; }
.site-header__signup:hover { filter: brightness(1.06); }
.site-header a:focus-visible, .site-header button:focus-visible { outline: 2px solid #83deee; outline-offset: 4px; }
.site-header [hidden] { display: none !important; }
.site-header .site-header__account .site-header__menu { display: none; width: 40px; padding: 0; font-size: 20px; }
.site-header__products { align-self: stretch; display: flex; align-items: center; }
.site-header [data-site-products-toggle] { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ui-muted, #b8c1d2); font: inherit; font-weight: 500; cursor: pointer; }
.site-header [data-site-products-toggle]:is(:hover, [aria-current], [aria-expanded="true"]) { color: var(--ui-text, #fff); }
.site-header__product-panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: min(760px, calc(100vw - 2 * var(--site-shell-padding))); max-height: calc(100dvh - var(--site-header-height) - 16px); overflow-y: auto; padding: 20px; border: 1px solid var(--ui-border, #3d485d); border-radius: 0 0 12px 12px; background: var(--ui-panel, #111722); box-shadow: 0 20px 40px #0006; }
.site-header .site-header__products-all { justify-content: space-between; padding: 0 12px 12px; margin-bottom: 8px; border-bottom: 1px solid var(--ui-line, #303a4b); }
.site-header__product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.site-header .site-header__product-grid a { gap: 12px; min-width: 0; padding: 12px; border-radius: 8px; white-space: normal; }
.site-header__product-grid a:hover { background: var(--ui-raised, #192234); }
.site-header__product-grid img { flex: 0 0 32px; object-fit: contain; }
.site-header__product-grid strong, .site-header__product-grid small { display: block; }
.site-header__product-grid strong { color: var(--ui-text, #edf2ff); font-size: 14px; font-weight: 500; }
.site-header__product-grid small { margin-top: 2px; color: var(--ui-muted, #a8b2c4); font-size: 12px; font-weight: 400; }
.site-header__auth-status { color: var(--ui-muted, #a8b2c4); font-size: 12px; white-space: nowrap; }
.site-header .site-header__account [data-site-logout] { border-color: transparent; padding-inline: 8px; color: var(--ui-muted, #a8b2c4); }
.site-header__feedback { position: absolute; right: var(--site-shell-padding); top: 100%; max-width: calc(100vw - 40px); margin: 8px 0; padding: 12px 16px; border: 1px solid var(--ui-border, #3d485d); border-radius: 8px; background: var(--ui-panel, #111722); }

.site-layout .site-trust-footer { box-sizing: border-box; width: 100%; margin: 0; padding: 0; border: 0; border-top: 1px solid #252e40; border-radius: 0; background: var(--site-page-background); color: #e5eaf4; font: 12px/1.6 "Noto Sans KR", "Segoe UI", system-ui, sans-serif; }
.site-trust-footer, .site-trust-footer * { box-sizing: border-box; }
.site-trust-footer a { color: inherit; text-decoration: none; }
.site-layout .site-trust-footer__inner { width: min(var(--site-shell-width), calc(100% - 2 * var(--site-shell-padding))); margin: auto; padding: 24px 0 12px; }
.site-trust-footer__lead { display: flex; align-items: center; gap: 28px; padding-bottom: 16px; border-bottom: 1px solid #252e40; }
.site-trust-footer__brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: #fff; }
.site-trust-footer__brand img { width: 30px; height: 30px; object-fit: contain; }
.site-trust-footer__brand strong { font-size: 17px; font-weight: 700; }
.site-trust-footer__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .4fr); align-items: start; gap: 36px; padding-block: 16px; }
.site-trust-footer__label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; color: #c4cede; }
.site-trust-footer__facts { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; }
.site-trust-footer__facts > div { display: flex; align-items: baseline; gap: 10px; min-width: 0; max-width: 100%; padding: 0; border: 0; }
.site-trust-footer__facts > .site-trust-footer__wide { flex-basis: 100%; }
.site-trust-footer__facts dt { flex: 0 0 auto; color: #9faabd; font-size: 12px; line-height: 1.7; }
.site-trust-footer__facts dd { min-width: 0; margin: 0; color: #d2d9e5; font-size: 12px; font-weight: 400; line-height: 1.7; overflow-wrap: anywhere; }
.site-trust-footer__contact { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.site-trust-footer__contact a { min-height: 0; }
.site-trust-footer__links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
.site-layout .site-trust-footer__links a { display: inline; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; font-size: 12px; font-weight: 400; color: #c4cede; line-height: 1.7; white-space: nowrap; }
.site-trust-footer__links a::after { content: none; }
.site-trust-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-trust-footer a:focus-visible { outline: 2px solid #83deee; outline-offset: 4px; }
.site-trust-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; padding-top: 8px; border-top: 1px solid #252e40; color: #9faabd; }
.site-trust-footer__bottom a { display: inline; min-height: 0; color: inherit; }

@media (max-width: 1100px) {
  .site-header__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .site-header .site-header__account .site-header__menu { display: inline-flex; }
  .site-header__nav { display: none; height: auto; position: absolute; inset: 100% 0 auto; justify-content: start; gap: 0; padding: 12px var(--site-shell-padding); border-bottom: 1px solid #3d485d; background: var(--site-page-background); }
  .site-header.is-menu-open .site-header__nav { display: grid; grid-template-columns: repeat(4, auto); }
  .site-header .site-header__nav a { padding: 4px 12px; justify-content: center; }
  .site-header [data-site-products-toggle] { padding: 4px 12px; }
  .site-header .site-header__products-all { justify-content: space-between; }
  .site-header .site-header__product-grid a { justify-content: flex-start; padding: 12px; }
  .site-trust-footer__body { grid-template-columns: minmax(0, 1fr) minmax(220px, .5fr); gap: 24px; }
}
@media (max-width: 700px) {
  :root { --site-header-height: 64px; --site-shell-padding: 20px; }
  .site-header .site-header__brand { font-size: 16px; gap: 8px; }
  .site-header__account { gap: 8px; }
  .site-header .site-header__account button, .site-header .site-header__signup { padding: 7px 10px; font-size: 13px; }
  .site-header.is-menu-open .site-header__nav { grid-template-columns: 1fr; }
  .site-header .site-header__nav a { justify-content: start; }
  .site-header__products { display: block; }
  .site-header [data-site-products-toggle] { width: 100%; justify-content: space-between; }
  .site-header__product-panel { position: static; width: 100%; max-height: 45dvh; transform: none; padding: 8px; border-radius: 8px; box-shadow: none; }
  .site-header__product-grid { grid-template-columns: 1fr; gap: 0; }
  .site-header__auth-status { display: none; }
  .site-trust-footer__lead { align-items: start; flex-direction: column; gap: 8px; padding-bottom: 12px; }
  .site-trust-footer__body { grid-template-columns: 1fr; gap: 16px; padding-block: 12px; }
  .site-trust-footer__facts > div { flex-basis: 100%; }
  .site-trust-footer__links { gap: 8px 16px; }
  .site-trust-footer__links a { display: inline-block; padding-block: 4px; }
  .site-trust-footer__bottom { flex-wrap: wrap; padding-top: 12px; }
}
@media (max-width: 400px) { .site-header__brand span { display: none; } }

body.auth-locked [data-site-footer], body.auth-locked .site-quick-help { display: none !important; }
[data-site-footer] { position: relative; z-index: 2; }
.site-quick-help { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 240; font: 14px/1.6 "Noto Sans KR", "Segoe UI", sans-serif; color: #edf2ff; }
.site-quick-help summary { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #3d485d; border-radius: 10px; background: #111722; cursor: pointer; list-style: none; }
.site-quick-help summary::-webkit-details-marker { display: none; }
.site-quick-help summary svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.site-quick-help__panel { position: absolute; bottom: 60px; right: 0; width: min(300px, calc(100vw - 40px)); padding: 20px; border: 1px solid #3d485d; border-radius: 10px; background: #111722; box-shadow: 0 16px 48px #0006; }
.site-quick-help__panel header { display: grid; gap: 4px; padding-bottom: 12px; }
.site-quick-help__panel header strong { font-size: 17px; }
.site-quick-help__panel header span { color: #a8b2c4; font-size: 12px; }
.site-quick-help__panel nav { display: grid; }
.site-quick-help__panel a { display: flex; justify-content: space-between; gap: 12px; padding-block: 12px; border-top: 1px solid #303a4b; color: inherit; text-decoration: none; }
.site-quick-help__panel a:hover { color: #b5ddcb; }
.site-quick-help :is(summary, a):focus-visible { outline: 2px solid #b5ddcb; outline-offset: 3px; }
.support-breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #a2abb1; font-size: 13px; }
.support-sections, .account-sections { display: flex; align-items: center; gap: 8px; margin-block: 20px; border-bottom: 1px solid #32383c; }
.support-sections a, .account-sections button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 0; border-bottom: 2px solid transparent; border-radius: 6px 6px 0 0; background: transparent; color: #a2abb1; font: inherit; text-decoration: none; cursor: pointer; }
.support-sections a[aria-current], .account-sections button[aria-selected="true"] { color: #d2e8de; border-bottom-color: #b5ddcb; background: #1b2322; }
.support-sections a:focus-visible, .account-sections button:focus-visible { outline: 2px solid #b5ddcb; outline-offset: 2px; }

/* Shared horizontal edges for home, product cards, header and footer. */
body.overhouse-public-home { --pad: max(var(--site-shell-padding), calc((100% - var(--site-shell-width)) / 2)); }
html body.overhouse-public-home:not(.auth-locked) .ecosystem__head { grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
html body.overhouse-public-home:not(.auth-locked) .ecosystem__head > :is(#ecosystemTitle, .ecosystem__aside) { grid-column: 1; grid-row: auto; }
body.overhouse-public-home:not(.auth-locked) .ecosystem__head > #ecosystemTitle { padding: 0; }
html body.overhouse-public-home:not(.auth-locked) .ecosystem__head > .ecosystem__aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: none; gap: 16px; min-height: 0; padding: 0; border: 0; }
body.overhouse-public-home .ecosystem__aside :is(.ecosystem-launcher-cta, .guide-launch) { width: 100%; max-width: none; height: 76px; min-height: 76px; margin: 0; padding: 16px 20px; align-items: center; border-radius: 10px; }
body.overhouse-public-home .ecosystem__aside .ecosystem-launcher-cta { padding: 0; }
body.overhouse-public-home .ecosystem-launcher-cta .hero-launcher-cta__surface { padding: 16px 20px; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; border-radius: 10px; box-shadow: none; }
body.overhouse-public-home .ecosystem-launcher-cta .hero-launcher-cta__copy strong { font-size: 16px; }
body.overhouse-public-home .ecosystem-launcher-cta .hero-launcher-cta__copy small { font-size: 12px; }
body.overhouse-public-home .ecosystem-launcher-cta .hero-launcher-cta__mark { width: 40px; height: 40px; }
body.overhouse-public-home .ecosystem__aside .guide-launch { grid-template-columns: 40px minmax(0, 1fr) 32px; }
body.overhouse-public-home .ecosystem__aside .guide-launch__mark { width: 40px; height: 40px; }
body.overhouse-public-home .ecosystem__aside .guide-launch__copy strong { font-size: 16px; }
body.overhouse-public-home .ecosystem__aside .guide-launch__copy small { font-size: 12px; margin-top: 4px; }
.home-screen-settings { position: fixed; z-index: 180; top: calc(var(--site-header-height) + 12px); right: var(--pad); color: #b8c1d2; font: 12px/1.5 "Noto Sans KR", sans-serif; }
.home-screen-settings summary { width: fit-content; margin-left: auto; padding: 8px 12px; border: 1px solid #303a4b; border-radius: 6px; background: #0b101d; cursor: pointer; }
.home-screen-settings details[open] > div { box-sizing: border-box; width: 280px; margin-top: 8px; padding: 12px; border: 1px solid #303a4b; border-radius: 8px; background: #0b101d; }
.home-screen-settings .opening-experience-dock.is-docked { position: static !important; width: 100%; margin: 0 !important; transform: none !important; }
.opening-experience-dock.header-experience-controls button svg { display: block; width: 20px; height: 20px; flex-shrink: 0; }
.opening-experience-dock.header-experience-controls { grid-template-columns: repeat(4, minmax(0, 1fr)); min-width: 176px; }
.home-screen-settings .opening-experience-dock button { min-height: 44px; height: 44px; }
body.auth-locked .home-screen-settings, body:not(.opening-complete) .home-screen-settings { display: none; }
@media (max-width: 700px) {
  html body.overhouse-public-home:not(.auth-locked) .ecosystem__head > .ecosystem__aside { grid-template-columns: minmax(0, 1fr); }
}

/* Existing support questions, regrouped into category, answer and contact areas. */
.site-layout .faq-hero { padding-block: 40px 24px; }
.site-layout .faq-search { margin-top: 24px; width: min(780px, 100%); }
.site-layout .faq-hero__meta { position: static; display: block; margin-top: 16px; padding: 0; border: 0; }
.site-layout .faq-browser { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; padding-top: 28px; }
.site-layout .faq-index { position: static; grid-column: 1 / -1; }
.site-layout .faq-index h2 { font-size: 16px; }
.site-layout .faq-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; border: 0; }
.site-layout .faq-filters button { gap: 12px; min-height: 44px; padding: 10px 16px; border: 1px solid #303a4b; border-radius: 6px; }
.site-layout .faq-filters button[aria-pressed="true"] { background: #202b41; }
.site-layout .faq-filters button[aria-pressed="true"] span::before { content: none; }
.site-layout .faq-content { grid-column: 1; }
.site-layout .faq-content__head > span { padding-top: 4px; }
.site-layout .faq-contact { grid-column: 2; align-self: start; display: grid; gap: 16px; margin: 0; padding: 24px; border: 1px solid #303a4b; border-radius: 8px; background: #101521; }
.site-layout .faq-contact h2 { font-size: 20px; }
.site-layout .faq-contact > a { width: 100%; min-width: 0; min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid #3d485d; border-radius: 6px; font-size: 14px; }
.site-layout .faq-index__note { margin: 0; padding-top: 16px; }
.site-layout .faq-answer p { font-size: 15px; line-height: 1.8; }
.site-layout .policy-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
.site-layout .policy-prose { max-width: 760px; }
@media (max-width: 800px) {
  .site-layout .faq-browser { grid-template-columns: minmax(0, 1fr); }
  .site-layout :is(.faq-content, .faq-contact) { grid-column: 1; }
  .site-layout .policy-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
