:root {
  color-scheme: light;
  --ink: #283563;
  --daylight: #f7f8fc;
  --paper: #f7f2e3;
  --night: #171c29;
  --muted: #536078;
  --white: #fff;
  --line: #dce0e9;
  --page-gutter: clamp(24px, 4vw, 72px);
  --content-max: 1680px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Noto Serif CJK TC", "Songti TC", "Yu Mincho", "Noto Serif CJK KR", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--daylight);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.75; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
button, input { font: inherit; }
svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.25; letter-spacing: -.035em; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.25rem); line-height: 1.35; letter-spacing: -.025em; }
h3 { font-size: 1.12rem; line-height: 1.5; }
.heading-phrase { display: inline-block; max-width: 100%; }
:lang(ko) { word-break: keep-all; overflow-wrap: break-word; }
p { max-width: 72ch; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; border-radius: 4px; }
[id] { scroll-margin-top: 2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { width: 100%; max-width: calc(var(--content-max) + 2 * var(--page-gutter)); margin: auto; padding: 18px var(--page-gutter); min-height: 88px; display: flex; align-items: center; gap: 32px; position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -.025em; font-size: 1.1rem; line-height: 1.2; }
.brand img { border-radius: 11px; flex: none; }
.site-header .brand { margin-right: auto; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { padding: 10px 15px; min-height: 44px; text-decoration: none; border-radius: 12px; color: var(--muted); font-size: .94rem; }
.site-nav a[aria-current], .site-nav a:hover { background: #e9ecf4; color: var(--ink); }
.language-switcher { position: relative; font-size: .9rem; flex: none; }
.language-switcher summary { display: flex; align-items: center; gap: 8px; padding: 10px 6px; min-height: 44px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.language-switcher[open] summary > svg:last-child { transform: rotate(180deg); }
.language-switcher nav { position: absolute; top: calc(100% + 8px); right: 0; min-width: 192px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 40px #28356314; }
.language-switcher nav a { display: block; padding: 10px 12px; min-height: 44px; text-decoration: none; border-radius: 8px; }
.language-switcher nav a:hover, .language-switcher nav a[aria-current] { background: var(--daylight); }
.section-wrap { width: calc(100% - 2 * var(--page-gutter)); max-width: var(--content-max); margin-left: auto; margin-right: auto; }
/* The home header and artwork fill the first viewport; content may grow at zoom or short heights. */
.page-home { --home-header-height: 88px; }
.page-home .site-header { width: 100%; min-height: var(--home-header-height); }
.story-hero { position: relative; isolation: isolate; min-height: calc(100vh - var(--home-header-height)); min-height: calc(100svh - var(--home-header-height)); margin: 0; padding: 72px max(var(--page-gutter), calc((100% - var(--content-max)) / 2)) 48px; overflow: hidden; display: flex; align-items: flex-end; background: #dce4f0; }
.world-art { position: absolute; inset: 0; z-index: -2; }
.world-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f7f8fc70, transparent 66%), linear-gradient(180deg, #ffffff45, transparent 26%); }
/* Three illustrations crossfade every four seconds. */
.world-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: 0; animation: banner-first 12s linear infinite; }
.world-image-0 { opacity: 1; }
.world-image-1 { animation-name: banner-second; }
.world-image-2 { animation-name: banner-third; }
@keyframes banner-first { 0%, 28%, 100% { opacity: 1; } 33.333%, 94.667% { opacity: 0; } }
@keyframes banner-second { 0%, 28%, 66.667%, 100% { opacity: 0; } 33.333%, 61.333% { opacity: 1; } }
@keyframes banner-third { 0%, 61.333%, 100% { opacity: 0; } 66.667%, 94.667% { opacity: 1; } }
.theme-picker input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 4px; }
.hero-card { width: min(580px, 55%); max-width: 580px; padding: 32px; border-radius: 26px; border: 1px solid #ffffffb8; background: #f7f9fc; box-shadow: 0 14px 42px -10px #17243e38, inset 0 1px 0 #ffffffb3, inset 0 -1px 0 #ffffff40; }
/* A web approximation of HomeReadingCardSurface; native Liquid Glass has its own adaptive material. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-card { background: linear-gradient(145deg, #ffffff29, #ffffff0a), #ffffff9e; backdrop-filter: blur(28px) saturate(135%); -webkit-backdrop-filter: blur(28px) saturate(135%); }
}
.platform { font-family: var(--sans); color: var(--muted); font-size: .87rem; line-height: 1.5; margin-bottom: 18px; }
.hero-card .platform { color: #2a3653; }
.hero-description { color: #24304d; margin-top: 22px; font-size: 1.02rem; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 13px 20px; min-height: 50px; border-radius: 12px; text-decoration: none; line-height: 1.5; font-size: .94rem; font-weight: 600; text-align: center; }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: #1c274e; }
.button-secondary { border: 1px solid #c5ccdc; background: var(--white); }
.button-secondary:hover { background: #eef0f7; }
.text-link { display: inline-block; font-size: .95rem; font-weight: 550; padding: 10px 0; }
/* Center each feature pair inside the wide page shell; size gaps between real components. */
.feature-layout { display: grid; width: 100%; max-width: 1280px; margin-inline: auto; align-items: center; }
.reading-section { padding: clamp(84px, 7vw, 124px) 0; }
.reading-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(40px, 4vw, 64px); }
.reading-copy, .reading-demo { width: 100%; min-width: 0; max-width: none; }
.section-intro { margin-top: 20px; color: var(--muted); }
.reading-features { margin: 32px 0 0; }
.reading-features > div + div { margin-top: 23px; }
.reading-features dt { font-weight: 600; }
.reading-features dd { margin: 5px 0 0; color: var(--muted); font-size: .95rem; }
.theme-picker { padding: 0; margin: 0 0 20px; border: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; }
.theme-picker legend { float: left; width: 100%; text-align: center; font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.theme-picker label { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; min-height: 44px; border: 1px solid transparent; border-radius: 12px; cursor: pointer; font-size: .85rem; }
.theme-picker input:checked + label { border-color: #b5bed2; background: var(--white); }
.theme-swatch { display: block; width: 15px; height: 15px; border: 1px solid #a2aabd; border-radius: 50%; }
.swatch-0 { background: var(--daylight); }
.swatch-1 { background: var(--paper); }
.swatch-2 { background: var(--night); }
.reading-sheet { min-height: 430px; padding: 36px 38px 30px; background: var(--paper); color: #342f28; border-radius: 20px; border: 1px solid #28356312; box-shadow: 0 14px 40px #28356308; transition: background-color .25s, color .25s; }
.reading-demo:has(#theme-0:checked) .reading-sheet { background: var(--daylight); color: #202533; }
.reading-demo:has(#theme-2:checked) .reading-sheet { background: var(--night); color: #e5e8f0; }
.preview-label { font-family: var(--sans); font-size: .78rem; opacity: .8; margin-bottom: 27px; }
.reading-sheet h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 20px; }
.sample-paragraph { font-family: var(--serif); font-size: 1.125rem; line-height: 1.95; }
.sample-paragraph + .sample-paragraph { margin-top: 18px; }
.reading-end { display: block; width: 30px; height: 1px; background: currentColor; opacity: .28; margin: 28px auto 0; }
.plans-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 104px); padding: clamp(36px, 4vw, 64px); border-radius: 26px; background: #edf0f6; }
.plans-section h2, .plans-section h3 { font: 600 1.4rem/1.4 var(--serif); letter-spacing: -.01em; }
.plans-section p { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.help-section { display: flex; align-items: flex-start; flex-direction: column; gap: 22px; padding: 70px 0; }
.help-section h2 { font-size: 1.6rem; }
.help-section p { margin-top: 12px; color: var(--muted); }
.help-section .button { flex: none; }
.page-heading { padding-top: 58px; padding-bottom: 44px; }
.page-heading h1 { max-width: 24ch; font-size: clamp(2rem, 3.8vw, 3rem); }
.page-heading > p:not(.platform) { margin-top: 24px; color: var(--muted); max-width: 68ch; }
.support-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(48px, 7vw, 128px); align-items: start; padding-bottom: 88px; }
.answer { max-width: 74ch; }
.questions { border-top: 1px solid var(--line); }
.question { border-bottom: 1px solid var(--line); }
.question summary { padding: 22px 2px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 1.08rem; font-weight: 600; cursor: pointer; list-style: none; }
.question[open] summary svg { transform: rotate(180deg); }
.answer { padding: 0 0 24px; }
.answer p + p { margin-top: 17px; }
.contact-panel { padding-top: 24px; border-top: 1px solid var(--line); }
.contact-panel .contact-heading { margin: 0; font: 600 1.35rem/1.4 var(--serif); letter-spacing: -.015em; color: var(--ink); }
.contact-panel p { margin-top: 14px; max-width: 52ch; color: var(--muted); font-size: .93rem; }
.contact-email { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 12px; font-size: .94rem; color: var(--ink); text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-email svg { flex: none; }
.contact-email span { min-width: 0; }
.document-layout { display: grid; grid-template-columns: clamp(220px, 18vw, 280px) minmax(0, 74ch); gap: clamp(40px, 6vw, 104px); padding-bottom: 88px; align-items: start; }
.document-contents { position: sticky; top: 28px; padding-right: 18px; }
.document-contents h2 { font: 600 .9rem/1.5 var(--sans); margin-bottom: 12px; }
.document-contents ol { margin: 0; padding: 0; list-style: none; }
.document-contents a { display: block; padding: 9px 0; color: var(--muted); font-size: .85rem; line-height: 1.65; text-decoration: none; }
.document-contents a:hover { color: var(--ink); text-decoration: underline; }
.document-body { color: #343f58; overflow-wrap: anywhere; }
.document-body > p:first-child { font-size: .9rem; color: var(--muted); padding-bottom: 12px; }
.document-body h2 { margin: 36px 0 15px; font: 600 1.35rem/1.5 var(--sans); letter-spacing: -.015em; color: var(--ink); }
.document-body p + p { margin-top: 17px; }
.document-body .contact-panel { margin-top: 42px; }
.not-found { padding: 70px 0 100px; min-height: 60vh; }
.not-found img { border-radius: 20px; margin-bottom: 24px; }
.not-found h1 { margin-bottom: 24px; }
.not-found .text-link { margin-top: 24px; }
@media (max-width: 1279px) {
  .support-layout { gap: 40px; }
  .document-layout { gap: 44px; }
}
@media (max-width: 960px) {
  .site-header { padding-top: 14px; padding-bottom: 14px; gap: 14px; }
  .story-hero { padding-top: 72px; padding-bottom: 28px; }
  .hero-card { width: min(580px, 73%); padding: 28px; }
  .reading-section { padding: 76px 0; }
  .reading-sheet { padding: 28px; }
  .plans-section { gap: 36px; padding: 32px; }
  .support-layout { grid-template-columns: 1fr 260px; gap: 32px; }
  .document-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 900px) {
  .feature-layout { max-width: 640px; grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .reading-layout { column-gap: 0; }
}
@media (max-width: 700px) {
  :root { --page-gutter: 20px; }
  h1 { font-size: 2.2rem; }
  .site-header { flex-wrap: wrap; padding: 12px var(--page-gutter) 14px; column-gap: 8px; row-gap: 8px; }
  .site-header .brand { font-size: 1rem; }
  .site-header .brand img { width: 38px; height: 38px; }
  .site-nav { order: 3; width: 100%; display: grid; grid-template-columns: auto 1fr 1.25fr; gap: 4px; align-items: stretch; }
  .site-nav a { display: grid; place-items: center; font-size: .8rem; padding: 8px 9px; min-height: 44px; line-height: 1.45; text-align: center; text-wrap: balance; }
  .language-switcher { font-size: .8rem; }
  .language-switcher summary { gap: 5px; padding: 8px 2px; }
  .language-switcher summary > svg:first-child { display: none; }
  .page-home { --home-header-height: 132px; }
  .page-home .site-nav a { min-height: 54px; }
  .story-hero { padding-top: clamp(72px, 18svh, 160px); padding-bottom: 20px; }
  .world-image { object-position: center 35%; }
  .world-art::after { background: linear-gradient(180deg, #ffffff38, transparent 26%); }
  .hero-card { width: 100%; padding: 25px 24px; }
  .hero-card h1 { font-size: clamp(1.9rem, 7.8vw, 2.5rem); }
  .platform { margin-bottom: 14px; font-size: .8rem; }
  .hero-description { font-size: .94rem; margin-top: 16px; }
  .hero-actions { gap: 9px 18px; margin-top: 21px; }
  .reading-section { padding: 62px 0; }
  .reading-features { margin-top: 25px; }
  .reading-features > div + div { margin-top: 20px; }
  .reading-sheet { min-height: 0; padding: 30px 27px; }
  .plans-section { grid-template-columns: 1fr; gap: 30px; padding: 28px; }
  .plans-section > div + div { border-top: 1px solid #d5dce8; padding-top: 26px; }
  .help-section { align-items: flex-start; flex-direction: column; gap: 22px; padding: 48px 0; }
  .page-heading { padding-top: 34px; padding-bottom: 32px; }
  .page-heading h1 { font-size: 2rem; }
  .support-layout { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; }
  .document-layout { grid-template-columns: 1fr; gap: 30px; padding-bottom: 48px; }
  .document-contents { position: static; padding: 20px 22px; border-radius: 18px; background: #edf0f6; }
  .document-contents a { min-height: 44px; }
  .document-body h2 { margin-top: 30px; font-size: 1.25rem; }
  .not-found { padding: 44px 0 70px; }
}
@media (max-width: 360px) {
  :root { --page-gutter: 16px; }
  .site-header .brand { font-size: .9rem; gap: 6px; }
  .site-header .brand img { width: 32px; height: 32px; }
  .hero-card { padding: 24px 20px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .text-link { text-align: center; }
  .theme-picker label { font-size: .78rem; padding: 9px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .world-image { animation: none; opacity: 0; }
  .world-image-0 { opacity: 1; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .hero-card { background: var(--white); border-color: #c5ccdc; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 10px 36px #17243e14; }
}
@media (forced-colors: active) {
  .theme-picker input:checked + label { outline: 2px solid Highlight; }
  .hero-card, .reading-sheet { background: Canvas; color: CanvasText; border-color: CanvasText; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .hero-card .platform, .hero-description { color: CanvasText; }
  .button { border: 1px solid ButtonText; }
}
