:root {
  color-scheme: light;
  --paper: #f9f7f1;
  --surface: #fffdf8;
  --stage: #e9ede2;
  --ink: #202820;
  --muted: #4f5d51;
  --line: #d8ddd1;
  --accent: #2d513e;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid #416c52; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
p, h1, h2, figcaption { word-break: keep-all; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.topbar, .footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar { min-height: 78px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 10px; align-items: center; flex-shrink: 0; font-weight: 800; text-decoration: none; }
.topbar nav { display: flex; align-items: center; justify-content: end; flex-wrap: wrap; gap: 26px; color: var(--muted); font-size: .9rem; }
.topbar nav a { text-decoration: none; }
.topbar nav a:hover { text-decoration: underline; }
.nav-beta { font-weight: 750; color: var(--accent); }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 4vw, 60px); padding-block: 46px 54px; }
.hero h1 { font-size: clamp(2.15rem, 4.35vw, 4.15rem); line-height: 1.13; font-weight: 850; letter-spacing: -.075em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p:not(.hero-label) { margin-top: 24px; max-width: 32ch; }
.hero-copy > p:not(.hero-label), .section-head > p:last-child { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.75; }
.button { display: inline-flex; align-items: center; gap: 20px; min-height: 48px; margin-top: 26px; padding: 11px 18px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 750; text-decoration: none; }
.button:hover { background: #223e30; }
.hero-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mode-card { display: grid; grid-template-rows: auto 1fr auto auto; gap: 7px; min-width: 0; padding: 15px; border: 1px solid #dce2d5; border-radius: 14px; background: var(--stage); color: var(--muted); text-decoration: none; font-size: .88rem; }
.mode-card:hover { border-color: #8eaa96; }
.mode-card strong { color: var(--ink); font-size: 1.05rem; }
.mode-card > span { word-break: keep-all; overflow-wrap: break-word; }
.mode-preview { display: flex; justify-content: center; align-items: center; gap: 5px; height: clamp(124px, 16vw, 210px); margin-block: 5px; }
.mode-preview .app-screen { max-height: 100%; width: auto; border-radius: 5px; box-shadow: 0 4px 10px #18241b2b; }
.one-window img { max-width: 86%; }
.two-windows img { max-width: calc((100% - 5px) / 2); }
.mode-link { color: var(--accent); font-size: .84rem; font-weight: 750; }
.mode-card:hover .mode-link { text-decoration: underline; }
.app-screen { height: auto; border: 1px solid #353e35; border-radius: 9px; background: #111311; }
.section { padding-block: 62px; }
.project { border-top: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: 28px; }
.section-label { margin-bottom: 12px; color: var(--accent); font-size: .88rem; font-weight: 800; }
h2 { font-size: clamp(1.95rem, 3.8vw, 3.45rem); line-height: 1.22; letter-spacing: -.055em; }
.section-head > p:last-child { margin-top: 13px; }
.compare-input, .compare-options { display: none; }
.comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.comparison-card { display: grid; justify-items: center; gap: 18px; padding: 22px 20px 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.comparison-card figcaption { display: grid; justify-self: stretch; gap: 6px; color: var(--muted); }
.comparison-card figcaption strong { color: var(--ink); font-size: 1.2rem; }
.comparison-card .app-screen { width: min(100%, 320px); }
.timeline { display: grid; grid-template-columns: minmax(160px, .8fr) minmax(0, 2fr); gap: 30px; align-items: center; margin-bottom: 18px; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.timeline h3 { font-size: 1.14rem; }
.timeline p, .beta-panel p { margin-top: 8px; color: var(--muted); line-height: 1.7; }
.time-summary { font-size: .9rem; font-weight: 750; }
.timeline-detail { --label-width: 62px; }
.axis { display: flex; justify-content: space-between; margin-left: var(--label-width); color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.bar-row { display: grid; grid-template-columns: var(--label-width) 1fr; align-items: center; margin-top: 7px; font-weight: 750; font-size: .85rem; }
.bar-row img { width: 100%; }
.actual-row { align-items: start; }
.actual-row > span { align-self: start; padding-top: 5px; }
.annotated-bar { position: relative; min-width: 0; }
.annotated-bar img { border-radius: 0 0 4px 4px; }
.bar-mark { position: absolute; top: 4px; width: 8px; height: 8px; border: 1px solid white; border-radius: 50%; transform: translateX(-50%); }
.early-mark { left: 17%; background: #198145; }
.over-mark { left: 52%; background: #b93e51; }
.bar-notes { display: flex; gap: 12px; margin: 5px 0 0; padding: 0; list-style: none; font-size: .83rem; font-weight: 750; }
.bar-notes li { min-width: 0; word-break: keep-all; }
.early-note { margin-left: max(0px, calc(17% - 34px)); color: #23643c; }
.over-note { margin-left: max(0px, calc(35% - 85px)); color: #9f3343; }
.bar-notes li::before { content: "↑ "; }
.multi-section { border-block: 1px solid #dce2d5; background: var(--stage); }
.multi-summary { margin-bottom: 14px; font-weight: 800; word-break: keep-all; }
.multi-summary span { display: block; margin-top: 5px; color: var(--muted); font-size: .92rem; font-weight: 500; }
.gallery-hint { display: none; }
.multi-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.4vw, 25px); }
.multi-gallery .app-screen { width: 100%; box-shadow: 0 8px 20px #18241b20; }
.beta-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.beta-panel h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.beta-panel p { max-width: 53ch; }
.availability { display: grid; gap: 6px; flex-shrink: 0; color: var(--accent); }
.availability span, .footer { color: var(--muted); font-size: .9rem; }
.footer { padding-block: 23px; border-top: 1px solid var(--line); }
@media (max-width: 830px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 24px; }
  .section { padding-block: 48px; }
  .timeline { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .topbar { flex-wrap: wrap; gap: 9px 14px; padding-block: 13px; }
  .topbar nav { justify-content: start; gap: 10px 16px; font-size: .84rem; }
  .hero, .comparison { grid-template-columns: minmax(0,1fr); }
  .hero { gap: 19px; padding-block: 24px 32px; }
  .hero h1 { font-size: clamp(2.1rem, 8.8vw, 3.55rem); }
  .hero-copy > p:not(.hero-label) { margin-top: 12px; }
  .hero .button { display: none; }
  .hero-modes { gap: 8px; }
  .mode-card { gap: 5px; padding: 10px; font-size: .8rem; }
  .mode-card strong { font-size: .92rem; }
  .mode-preview { height: 124px; margin-block: 2px; }
  .mode-link { font-size: .76rem; }
  .timeline-detail { --label-width: 0px; }
  .axis { margin-left: 0; }
  .bar-row { grid-template-columns: 1fr; gap: 4px; }
  .bar-row img { height: 28px; }
  .compare-input { display: block; position: absolute; width: 1px; height: 1px; opacity: 0; }
  .compare-options { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 12px; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
  .compare-options label { padding: 10px 4px; border-radius: 6px; cursor: pointer; text-align: center; font-weight: 750; }
  #show-before:checked ~ .compare-options [for="show-before"], #show-after:checked ~ .compare-options [for="show-after"] { background: var(--accent); color: white; }
  #show-before:focus-visible ~ .compare-options [for="show-before"], #show-after:focus-visible ~ .compare-options [for="show-after"] { outline: 2px solid var(--accent); outline-offset: 2px; }
  #show-before:checked ~ .comparison .after-card, #show-after:checked ~ .comparison .before-card { display: none; }
  .section { padding-block: 38px; }
  .wide-only { display: none; }
  .comparison-card, .timeline { padding: 16px; }
  .gallery-hint { display: block; margin-bottom: 10px; color: var(--muted); font-size: .85rem; }
  .multi-gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .multi-gallery .app-screen { width: min(78%, 316px); flex: none; scroll-snap-align: start; box-shadow: none; }
  .beta-panel { display: grid; padding: 20px; }
}
@media (max-width: 360px) {
  .hero { gap: 16px; }
  .mode-preview { height: 110px; }
}
.multi-gallery:focus-visible { outline: 3px solid #416c52; outline-offset: 4px; }
.hero {
  --hero-ink: #f6f4ea;
  background: radial-gradient(ellipse at 80% 80%, #203f35 0%, #132521 47%, #111c1b 80%);
  color: var(--hero-ink);
  padding-block: clamp(36px, 6vw, 80px);
  display: block;
}
.hero-inner { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(22px, 5vw, 72px); }
.hero h1 em, .hero .section-label { color: #bce3b9; }
.hero-copy > p:not(.hero-label) { color: #c9d8cc; }
.hero .button { background: #d5efd0; color: #1f382c; }
.hero .button:hover { background: #f0f7df; }
.hero .mode-card { padding: clamp(9px, 1.3vw, 17px); grid-template-rows: auto auto 1fr auto; background: #ffffff0a; border-color: #a1c5ac48; color: #cbd8cc; transition: transform .22s ease, border-color .22s ease, background-color .22s ease; }
.hero .mode-card strong { color: var(--hero-ink); }
.hero .mode-card:hover { transform: translateY(-4px); border-color: #c1e8c1; background: #ffffff14; }
.hero .mode-card:focus-visible { outline-color: #d8f2c7; }
.hero .mode-preview { min-width: 0; border: 1px solid #c3e6cb25; border-radius: 8px; background: #0a1514; overflow: hidden; }
.hero .mode-preview img { width: 100%; height: 100%; object-fit: contain; }
.hero .mode-link { color: #d7eed0; display: flex; align-items: center; gap: .45em; }
.play-icon { display: inline-grid; place-items: center; width: 1.75em; height: 1.75em; border-radius: 50%; background: #d7eed0; color: #1f382c; font-size: .75em; }
.demo-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(26px, 5vw, 68px); }
.demo-copy { margin: 0; }
.demo-copy > p:not(.section-label) { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.14rem); line-height: 1.75; margin-top: 15px; }
.demo-player { min-width: 0; padding: clamp(10px, 2vw, 18px); background: #152522; color: #d4e2d4; border: 1px solid #203831; border-radius: 16px; box-shadow: 0 16px 36px #1728201c; }
.demo-player video { display: block; width: 100%; height: auto; margin-inline: auto; background: #0e1817; border-radius: 8px; }
.project-player video { max-width: 365px; }
.demo-player figcaption { font-size: .82rem; line-height: 1.5; margin-top: 10px; text-align: center; }
.chapters { display: grid; gap: 6px; list-style: none; padding: 0; margin: 22px 0 0; }
.chapters button { width: 100%; min-height: 43px; display: flex; align-items: center; gap: .75rem; padding: 7px 10px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--ink); font: inherit; font-weight: 650; text-align: left; cursor: pointer; }
.chapters button span { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .84rem; }
.chapters button:hover, .chapters button[aria-current="true"] { border-color: #a9c2ab; background: #e1ebde; }
.chapters button:focus-visible, .screen-details summary:focus-visible { outline: 2px solid #416c52; outline-offset: 3px; }
.screen-details { margin-top: 28px; }
.screen-details summary { padding: 13px 2px; cursor: pointer; font-weight: 800; }
.screen-details summary span { margin-left: .6em; color: var(--muted); font-size: .83rem; font-weight: 500; }
.screen-details .timeline { margin-top: 8px; }
@media (max-width: 720px) {
  .hero-inner, .demo-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero { padding-block: 25px 32px; }
  .hero .mode-preview { height: clamp(100px, 26vw, 165px); }
  .chapters { margin-top: 15px; }
  .project-player video { max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .mode-card { transition: none; }
  .hero .mode-card:hover { transform: none; }
}
.hero .mode-preview video { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 640px) {
  .multi-player video { aspect-ratio: 7 / 8; object-fit: contain; }
}

.creator-story { padding-bottom: 48px; }
.creator-player { width: min(100%, 1020px); margin-inline: auto; }
.creator-player video { aspect-ratio: 16 / 9; }
.creator-flow { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.creator-flow li { padding: 14px 0 0; border-top: 1px solid var(--line); }
.creator-flow strong, .creator-flow span { display: block; overflow-wrap: break-word; word-break: keep-all; }
.creator-flow span { margin-top: 5px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
@media (max-width:640px) {
  .hero .creator-cta { display: inline-flex; margin-top: 16px; }
  .creator-flow { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.case-next { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; }
.case-next a { color: var(--accent); font-size: .92rem; line-height: 1.65; }
.case-next strong { display: inline-block; }
@media (max-width:640px) {
  .creator-player video { aspect-ratio: 4 / 5; object-fit: contain; }
}

.topbar .site-nav { margin-left: auto; font-size: .94rem; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-beta, .nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  font: inherit;
  font-size: .875rem;
  font-weight: 750;
  white-space: nowrap;
}
.nav-beta { background: var(--accent); color: white; text-decoration: none; }
.nav-beta:hover { background: #223e30; }
.nav-toggle { background: var(--surface); color: var(--accent); cursor: pointer; }
.nav-toggle-icon {
  display: inline-block;
  width: 14px;
  height: 12px;
  border-block: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}
.nav-toggle:focus-visible, .support-faq summary:focus-visible, .beta-share button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.topbar [hidden], .topbar .site-nav[hidden], .beta-share [hidden], .beta-share[hidden] { display: none; }
.case-examples, .resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.case-examples { margin-top: 18px; }
.case-examples a, .resource-card {
  min-width: 0;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.case-examples a { text-decoration: none; }
.case-examples a:hover { border-color: var(--accent); }
.case-examples a strong, .case-examples a span { display: block; }
.case-examples a span { margin-top: 5px; color: var(--muted); line-height: 1.5; }
.resource-card h3, .support-faq h3 { font-size: 1.15rem; }
.resource-card ol { margin: 12px 0; padding-inline-start: 1.4em; }
.resource-card li, .resource-card p, .support-faq p, .footer p {
  color: var(--muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.resource-card a { display: inline-block; margin-top: 9px; color: var(--accent); font-weight: 700; }
.resource-card li + li { margin-top: 7px; }
.resource-card p { margin-top: 7px; }
.support-section { border-top: 1px solid var(--line); }
.support-grid { gap: clamp(18px, 4vw, 48px); align-items: start; }
.support-side { display: grid; gap: 12px; }
.support-faq h3 { margin-bottom: 10px; }
.support-faq details { border-bottom: 1px solid var(--line); }
.support-faq summary { padding-block: 14px; cursor: pointer; font-weight: 700; line-height: 1.5; }
.support-faq p { margin-bottom: 14px; }
.beta-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.beta-share button {
  min-height: 44px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--accent);
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
}
.beta-panel .share-status { flex-basis: 100%; margin: 0; font-size: .9rem; overflow-wrap: anywhere; }
.beta-panel .share-status:empty { display: none; }
.availability { min-width: 0; max-width: 100%; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer p { margin-top: 4px; }
@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; min-height: 68px; gap: 8px 10px; padding-block: 10px; }
  .topbar .site-nav {
    order: 1;
    width: 100%;
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 10px;
    padding-block: 6px 2px;
    border-top: 1px solid var(--line);
  }
  .site-nav a { padding: 11px 6px; }
  .beta-panel { display: grid; }
}
@media (max-width: 640px) {
  .topbar .brand { gap: 5px; font-size: .88rem; }
  .topbar .brand img { width: 28px; }
  .header-actions { gap: 5px; }
  .nav-beta, .nav-toggle { padding-inline: 7px; font-size: .815rem; }
  .hero-modes, .case-examples, .resource-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .mode-preview { height: clamp(155px, 49vw, 248px); }
  .footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 350px) {
  .topbar { width: calc(100% - 20px); gap: 5px; }
  .topbar .brand img { width: 24px; }
  .nav-beta, .nav-toggle { padding-inline: 6px; }
}
