:root {
  color-scheme: light;
  --ink: #18233d;
  --muted: #68738a;
  --blue: #3455b4;
  --blue-dark: #27449a;
  --line: #e3e8f2;
  --surface: #fff;
  --page: #f7f8fc;
  --green: #16734c;
  --green-bg: #eaf6ef;
  --radius: 22px;
  font-family: Inter, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; overflow-x: clip; background: var(--page); color: var(--ink); line-height: 1.65; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 5; padding: 12px 16px; border-radius: 8px; background: #fff; color: var(--blue); }
.skip-link:focus { top: 12px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #edf1ff; color: var(--blue); font-size: 15px; font-weight: 800; }
.brand-copy { display: grid; line-height: 1.35; }
.brand-copy strong { font-size: 15px; }
.brand-copy span { margin-top: 3px; color: var(--muted); font-size: 13px; }
.header-nav { display: flex; align-items: center; gap: 22px; }
.header-nav a { min-height: 44px; display: inline-flex; align-items: center; color: #46536b; font-size: 13px; font-weight: 700; text-decoration: none; text-underline-offset: 4px; }
.header-nav a:hover { color: var(--blue); text-decoration: underline; }
.hero { padding-block: 48px 34px; }
.eyebrow { margin: 0 0 10px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.22; letter-spacing: -.045em; }
.hero h1 span { color: var(--blue); }
.hero-copy { max-width: 580px; margin: 15px 0 0; color: var(--muted); font-size: 16px; }
.church-shortcut-wrap { margin-top: 0; margin-bottom: 30px; }
.church-shortcut { min-height: 88px; display: grid; grid-template-columns: 48px minmax(0, 1fr) 28px; align-items: center; gap: 15px; padding: 16px 20px; border: 1px solid #dce5fb; border-radius: 18px; background: #eef3ff; color: var(--ink); text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.church-shortcut:hover { border-color: #b9c9f1; background: #e9efff; }
.church-shortcut:focus-visible, .header-nav a:focus-visible, .brand:focus-visible, .skip-link:focus-visible, .download-button:focus-visible, .secondary-button:focus-visible, .preview-control:focus-visible, .preview-track:focus-visible { outline: 3px solid #93abff; outline-offset: 3px; }
.church-shortcut-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #fff; color: var(--blue); }
.church-shortcut-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.church-shortcut-copy { min-width: 0; display: grid; gap: 3px; }
.church-shortcut-copy strong { font-size: 15px; line-height: 1.4; }
.church-shortcut-copy span { color: var(--muted); font-size: 13px; }
.church-shortcut-arrow { justify-self: end; color: var(--blue); font-size: 22px; font-weight: 700; }
.apps-section { padding-bottom: 68px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 18px; }
.section-heading h2, .help-inner h2 { margin: 0; font-size: 25px; letter-spacing: -.03em; }
.section-heading .eyebrow { margin-bottom: 5px; }
.count-label { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.app-card { min-width: 0; display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); grid-template-areas: "overview platforms" "preview platforms"; align-items: start; gap: 22px 28px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 3px 14px rgb(26 45 89 / 3%); }
.app-overview { grid-area: overview; min-width: 0; }
.app-top { display: flex; align-items: center; gap: 15px; }
.app-icon { width: 68px; height: 68px; flex: none; border-radius: 17px; object-fit: cover; background: #edf1ff; }
.app-names { min-width: 0; }
.app-names h3 { margin: 0; font-size: 23px; line-height: 1.3; letter-spacing: -.03em; overflow-wrap: anywhere; }
.app-names p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.app-description { margin: 16px 0 13px; color: #4b5870; }
.feature-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.feature-list li { padding: 4px 10px; border-radius: 999px; background: #f0f3fa; color: #46536b; font-size: 12px; }
.platform-list { grid-area: platforms; min-width: 0; display: grid; align-content: start; gap: 12px; }
.platform { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.platform-head { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.platform-title-group { min-width: 0; display: flex; align-items: center; gap: 9px; }
.platform-icon { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #eef2ff; color: var(--blue); }
.platform-icon svg { width: 21px; height: 21px; }
.platform-title { min-width: 0; margin: 0; font-size: 16px; font-weight: 750; overflow-wrap: anywhere; }
.status { flex: none; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.status.available { background: var(--green-bg); color: var(--green); }
.status.unreleased, .status.unavailable { background: #f0f1f4; color: #687080; }
.platform-support { margin: 8px 0 0; color: #536078; font-size: 12px; }
.platform-meta { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.platform-note { margin: 6px 0 0; color: #536078; font-size: 12px; }
.platform-actions { display: grid; gap: 9px; margin-top: 14px; }
.download-button, .secondary-button { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; padding: 10px 14px; border: 1px solid transparent; border-radius: 12px; font: inherit; font-size: 14px; font-weight: 750; text-align: center; text-decoration: none; }
.download-button { background: var(--blue); color: #fff; cursor: pointer; }
.download-button:hover { background: var(--blue-dark); }
.download-button[aria-disabled="true"] { background: #e8eaf0; color: #7b8392; cursor: not-allowed; }
.secondary-button { border-color: #cfd9f3; background: #f7f8ff; color: var(--blue); }
.secondary-button:hover { border-color: #aebee9; background: #eef2ff; }
.download-hint { margin: 5px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.app-preview { grid-area: preview; min-width: 0; align-self: start; }
.preview-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.preview-title { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.preview-controls { display: flex; flex: none; gap: 7px; }
.preview-control { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--blue); font: inherit; font-size: 25px; line-height: 1; cursor: pointer; }
.preview-control:hover { border-color: #b9c9f1; background: #f0f4ff; }
.preview-track { min-width: 0; max-width: 100%; display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; padding: 3px 3px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #bdc9e2 transparent; touch-action: pan-x pan-y; }
.preview-item { flex: 0 0 min(48%, 210px); min-width: 0; margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcff; scroll-snap-align: start; }
.preview-zoom { display: block; max-width: 100%; margin-inline: auto; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.preview-zoom:focus-visible, .preview-lightbox-close:focus-visible { outline: 3px solid #93abff; outline-offset: 3px; }
.preview-item img { display: block; width: auto; height: auto; max-width: 100%; max-height: 280px; margin-inline: auto; object-fit: contain; }
.preview-item figcaption { display: grid; gap: 2px; margin-top: 9px; font-size: 12px; }
.preview-name { color: var(--ink); }
.preview-description { color: var(--muted); }
.preview-notice { margin: 2px 0 0; color: var(--muted); font-size: 11px; }
.preview-lightbox { position: fixed; inset: 0; width: min(94vw, 900px); max-width: none; max-height: 94dvh; margin: auto; padding: 54px 18px 18px; overflow: auto; border: 1px solid rgb(255 255 255 / 24%); border-radius: 16px; background: #111827; color: #fff; }
.preview-lightbox::backdrop { background: rgb(9 15 29 / 82%); }
.preview-lightbox-close { position: absolute; top: 10px; right: 10px; min-height: 40px; padding: 7px 13px; border: 1px solid #647084; border-radius: 10px; background: #273248; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.preview-lightbox-image { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(94dvh - 76px); margin: 0 auto; object-fit: contain; }
.preview-error { margin: 8px 0 0; padding: 18px 8px; border-radius: 10px; background: #f0f2f7; color: var(--muted); font-size: 12px; text-align: center; }
.empty-state, .error-state, .loading { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--muted); }
.help-section { border-block: 1px solid #e2e8f4; background: #eef2fb; scroll-margin-top: 16px; }
.help-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px; }
.help-inner p:not(.eyebrow) { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.text-link { color: var(--blue); font-weight: 750; text-underline-offset: 4px; white-space: nowrap; }
.site-footer { background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 23px; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 12px; }
.footer-inner strong { color: var(--ink); }
.copyright { text-align: right; white-space: nowrap; }
.noscript { margin: 20px; padding: 14px; background: #fff4e5; color: #76531b; text-align: center; }
@media (max-width: 900px) {
  .app-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "overview" "platforms" "preview"; gap: 18px; }
}
@media (max-width: 640px) {
  .shell { width: min(100% - 32px, 560px); }
  .header-inner { min-height: 70px; gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 11px; font-size: 13px; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy span { font-size: 11px; }
  .hero { padding-block: 36px 28px; }
  .hero-copy { margin-top: 12px; font-size: 14px; }
  .church-shortcut-wrap { margin-bottom: 24px; }
  .church-shortcut { min-height: 78px; grid-template-columns: 42px minmax(0, 1fr) 20px; gap: 11px; padding: 13px; border-radius: 16px; }
  .church-shortcut-icon { width: 40px; height: 40px; border-radius: 12px; }
  .church-shortcut-icon svg { width: 22px; height: 22px; }
  .church-shortcut-copy strong { font-size: 13px; }
  .church-shortcut-copy span { font-size: 12px; }
  .church-shortcut-arrow { font-size: 19px; }
  .apps-section { padding-bottom: 48px; }
  .section-heading h2, .help-inner h2 { font-size: 23px; }
  .app-card { gap: 16px; padding: 17px; border-radius: 19px; }
  .app-icon { width: 60px; height: 60px; border-radius: 15px; }
  .app-names h3 { font-size: 21px; }
  .app-description { margin-block: 13px 11px; }
  .platform-list { gap: 10px; }
  .platform { padding: 13px; }
  .platform-actions { gap: 8px; margin-top: 12px; }
  .help-inner { align-items: flex-start; flex-direction: column; padding-block: 25px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .copyright { text-align: left; white-space: normal; }
  .preview-item { flex-basis: 72%; max-width: 230px; }
  .preview-item img { max-height: 360px; }
}
@media (max-width: 380px) {
  .shell { width: calc(100% - 28px); }
  .app-card { padding: 14px; }
  .platform-head { gap: 7px; }
  .platform-title-group { gap: 7px; }
  .platform-title { font-size: 15px; }
  .status { padding-inline: 7px; font-size: 10px; }
  .preview-item { flex-basis: 78%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
