:root {
  --navy: #071b38;
  --blue: #153ec4;
  --paper: #f8fafc;
  --ink: #122644;
  --muted: #52657b;
  --line: #d1dce9;
  --wash: #edf3fc;
  --pose-ratio: .8;
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.75 var(--font); word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
ol, ul { padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: white; }
.wrap { width: calc(100% - 112px); max-width: 1280px; margin-inline: auto; min-width: 0; }
.sr-only { 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; z-index: 100; top: 12px; left: 12px; padding: 10px 20px; color: var(--navy); background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.anchor-alias { display: block; scroll-margin-top: 28px; }
.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: var(--paper); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 760; letter-spacing: -.045em; line-height: 1.2; flex-shrink: 0; }
.brand-mark { position: relative; display: inline-block; width: 29px; height: 29px; border: 1.6px solid currentColor; border-radius: 50%; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: currentColor; }
.brand-mark::before { width: 1px; top: -5px; bottom: -5px; left: 50%; }
.brand-mark::after { height: 1px; left: -5px; right: -5px; top: 50%; }
#primary-nav { display: flex; align-items: center; margin-left: auto; gap: 32px; }
#primary-nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: 14px; font-weight: 600; }
#primary-nav a:hover { color: var(--blue); }
.nav-actions { flex-shrink: 0; }
.nav-actions .button { min-height: 44px; padding: 10px 19px; font-size: 14px; }
.nav-toggle { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 52px; padding: 13px 24px; border: 1px solid transparent; border-radius: 4px; font-size: 15px; line-height: 1.4; font-weight: 700; transition: background-color .18s, border-color .18s; text-align: center; }
.button-blue { color: white; background: var(--blue); border-color: var(--blue); }
.button-blue:hover { background: #10309b; border-color: #10309b; }
.button-outline { border-color: var(--line); background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--wash); border-color: var(--blue); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 650; border-bottom: 1px solid var(--line); }
.text-link:hover { color: var(--blue); border-color: var(--blue); }
.hero-shell { background: linear-gradient(115deg, #f8fafc 35%, #e9f1fc); }
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 60px; min-height: 600px; padding-block: 48px; }
.hero-copy { min-width: 0; }
.eyebrow { margin-bottom: 23px; color: var(--blue); font-size: 13px; font-weight: 750; letter-spacing: .015em; }
h1 { font-size: clamp(42px, 4.4vw, 64px); font-weight: 730; line-height: 1.2; letter-spacing: -.055em; }
h1 span { color: var(--blue); }
.hero-description { max-width: 480px; margin-top: 26px; color: var(--muted); font-size: 17px; line-height: 1.85; letter-spacing: -.015em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 32px; }
.hero-figure { min-width: 0; }
.hero-character-stage { position: relative; display: grid; place-items: center; min-height: 490px; }
.hero-character-stage::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; max-width: 410px; border-radius: 50%; background: #dfeafd; }
.character-window { position: relative; overflow: hidden; isolation: isolate; height: 470px; width: auto; max-width: 100%; aspect-ratio: var(--pose-ratio); }
.character-sheet { position: absolute; left: 0; top: 0; width: auto; height: 100%; max-width: none; transform: translateX(calc(var(--pose, 0) * -25% - var(--pose-inset, 0%))); }
.hero-figure figcaption { color: var(--muted); text-align: center; font-size: 12px; margin-top: 4px; }
.availability { background: #e9f0fa; border-block: 1px solid var(--line); }
.availability .wrap { display: flex; align-items: center; gap: 24px; min-height: 80px; padding-block: 16px; }
.availability strong { font-size: 14px; flex-shrink: 0; font-weight: 700; }
.availability p { color: var(--muted); font-size: 13px; }
.section { padding-block: 100px; }
.section-heading { margin-bottom: 46px; max-width: 760px; }
h2 { font-size: clamp(30px, 3.25vw, 44px); line-height: 1.35; font-weight: 710; letter-spacing: -.052em; }
.section-heading p { margin-top: 18px; color: var(--muted); max-width: 610px; }
.motion-showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: 72px; align-items: center; }
.motion-figure { min-width: 0; }
.motion-stage { min-height: 462px; display: grid; place-items: center; border-radius: 6px; background: #eaf1fb; }
.motion-stage .character-window { height: 440px; }
.motion-figure figcaption { margin-top: 14px; color: var(--muted); font-size: 13px; }
.motion-content { min-width: 0; }
.motion-tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.motion-tab { border: 0; border-bottom: 2px solid transparent; padding: 13px 17px; min-height: 48px; background: transparent; color: var(--muted); font-size: 15px; font-weight: 600; margin-bottom: -1px; }
.motion-tab:hover { color: var(--blue); }
.motion-tab[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); font-weight: 750; }
#motion-name { font-size: 29px; letter-spacing: -.04em; line-height: 1.4; }
#motion-description { margin-top: 14px; color: var(--muted); max-width: 390px; }
.motion-facts { margin-top: 25px; display: grid; gap: 16px; }
.motion-facts > div { display: grid; grid-template-columns: 76px 1fr; gap: 20px; }
.motion-facts dt { color: var(--muted); font-size: 13px; }
.motion-facts dd { font-size: 14px; font-weight: 600; }
.preview-note { font-size: 12px; color: var(--muted); margin-top: 32px; max-width: 380px; }
.edit-section { background: #edf3fc; }
.edit-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); gap: 92px; align-items: start; }
.edit-copy p { color: var(--muted); margin-top: 22px; max-width: 380px; }
.edit-example { min-width: 0; background: white; border: 1px solid #d4dfed; border-radius: 6px; padding: 34px; }
.example-label { color: var(--muted); font-size: 13px; margin-bottom: 15px; font-weight: 650; }
.request-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.request-tab { padding: 8px 14px; min-height: 44px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); background: white; font-size: 13px; font-weight: 600; }
.request-tab[aria-selected="true"] { border-color: var(--blue); color: var(--blue); background: #f1f5ff; }
#request-text { font-size: 19px; line-height: 1.8; font-weight: 650; letter-spacing: -.025em; min-height: 105px; }
.request-result { display: grid; gap: 18px; margin-top: 24px; border-top: 1px solid var(--line); padding-top: 23px; }
.request-result > div { display: grid; grid-template-columns: 74px 1fr; gap: 16px; }
.request-result dt { color: var(--muted); font-size: 12px; }
.request-result dd { font-size: 13px; }
.copy-button { border: 0; padding: 12px 0; min-height: 44px; margin-top: 12px; background: transparent; color: var(--blue); font-size: 13px; font-weight: 700; }
.copy-button:hover { text-decoration: underline; }
#copy-status { min-height: 22px; font-size: 12px; color: var(--muted); }
.workflow { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px; counter-reset: workflow; }
.workflow li { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.workflow-name { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 14px; }
.workflow-description { display: block; color: var(--muted); font-size: 14px; max-width: 300px; }
.rules-section { background: #eef3f9; }
.rules-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 92px; }
.rules-copy p { margin-top: 22px; max-width: 460px; color: var(--muted); }
.rule-list { display: grid; gap: 26px; }
.rule-list > div { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.rule-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.rule-list h3 { font-size: 18px; font-weight: 700; margin-bottom: 9px; letter-spacing: -.025em; }
.rule-list p { color: var(--muted); font-size: 14px; }
.export-layout { display: grid; gap: 42px; }
.export-copy { max-width: 690px; }
.export-copy p { color: var(--muted); margin-top: 20px; max-width: 620px; }
.export-figure { background: #eaf1fb; border-radius: 6px; padding: 36px 24px 22px; }
.pose-overview { width: 100%; height: auto; }
.export-figure figcaption { font-size: 12px; text-align: center; margin-top: 14px; color: var(--muted); }
.export-details { list-style: none; display: flex; justify-content: space-between; gap: 42px; margin-top: 26px; }
.export-details li { flex: 1; }
.export-details strong { display: block; font-size: 16px; margin-bottom: 7px; }
.export-details span { display: block; font-size: 13px; color: var(--muted); }
.contact-section { background: #e6eefb; border-top: 1px solid var(--line); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .88fr); gap: 88px; }
.contact-layout h2 { max-width: 570px; }
.contact-layout p { color: var(--muted); margin-top: 20px; max-width: 550px; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 6px; }
.contact-email { color: var(--blue); font-size: 17px; font-weight: 650; }
.contact-note { max-width: 510px; font-size: 12px; }
.site-footer { padding-block: 38px; border-top: 1px solid var(--line); }
.footer-layout { display: flex; align-items: center; gap: 50px; }
.company-info { color: var(--muted); font-size: 12px; }
.company-info p + p { margin-top: 3px; }
.footer-links { margin-left: auto; font-size: 13px; }
.footer-links a:hover { color: var(--blue); }
@media (min-width: 1280px) { .hero { gap: 76px; } }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 72px); }
  .hero { gap: 24px; min-height: 570px; }
  .hero-character-stage { min-height: 430px; }
  .hero-character-stage .character-window { height: 420px; }
  h1 { font-size: 46px; }
  .nav-wrap { gap: 24px; }
  #primary-nav { gap: 20px; }
  .section { padding-block: 80px; }
  .motion-showcase, .edit-layout, .rules-layout, .contact-layout { gap: 42px; }
  .motion-stage { min-height: 395px; }
  .motion-stage .character-window { height: 380px; }
  .motion-tab { padding-inline: 12px; }
  .edit-example { padding: 25px; }
  .workflow { gap: 36px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 44px); }
  .nav-wrap { min-height: 74px; flex-wrap: wrap; gap: 0; justify-content: space-between; }
  .brand { font-size: 22px; }
  .brand-mark { width: 25px; height: 25px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 4px; background: transparent; padding: 7px 13px; min-height: 44px; font-size: 13px; font-weight: 650; }
  .nav-actions { display: none; }
  #primary-nav { display: none; flex-basis: 100%; gap: 2px; margin: 0; padding-block: 8px 19px; }
  #primary-nav[data-open="true"] { display: flex; flex-direction: column; align-items: stretch; }
  #primary-nav a { padding: 7px 0; min-height: 44px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 40px 24px; gap: 23px; }
  h1 { font-size: clamp(34px, 9.5vw, 45px); line-height: 1.24; }
  .eyebrow { margin-bottom: 20px; font-size: 12px; }
  .hero-description { font-size: 15px; margin-top: 20px; max-width: 460px; }
  .hero-actions { margin-top: 25px; gap: 16px; }
  .hero-character-stage { min-height: 340px; }
  .hero-character-stage::before { width: 85%; max-width: 305px; }
  .hero-character-stage .character-window { height: 340px; }
  .hero-figure figcaption { font-size: 11px; }
  .availability .wrap { display: block; min-height: 0; padding-block: 21px; }
  .availability strong { font-size: 13px; }
  .availability p { margin-top: 5px; font-size: 12px; }
  .section { padding-block: 60px; }
  h2 { font-size: 30px; line-height: 1.4; }
  .section-heading { margin-bottom: 30px; }
  .section-heading p { font-size: 14px; margin-top: 16px; }
  .motion-showcase, .edit-layout, .rules-layout, .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .motion-stage { min-height: 350px; }
  .motion-stage .character-window { height: 340px; }
  .motion-tabs { margin-bottom: 23px; gap: 10px; }
  .motion-tab { flex: 1; padding-inline: 10px; font-size: 14px; }
  #motion-name { font-size: 25px; }
  #motion-description { font-size: 14px; }
  .motion-facts { margin-top: 20px; gap: 12px; }
  .preview-note { margin-top: 22px; }
  .edit-copy p, .rules-copy p { font-size: 14px; margin-top: 18px; }
  .edit-example { padding: 23px; }
  #request-text { font-size: 17px; min-height: 120px; }
  .request-tabs { gap: 6px; }
  .request-tab { padding-inline: 11px; font-size: 12px; }
  .request-result > div { grid-template-columns: 62px 1fr; gap: 10px; }
  .workflow { grid-template-columns: 1fr; gap: 27px; }
  .workflow li { padding-top: 20px; }
  .workflow-description { max-width: none; }
  .rules-layout { gap: 34px; }
  .rule-list { gap: 22px; }
  .rule-list > div { padding-bottom: 22px; }
  .export-layout { gap: 28px; }
  .export-copy p { font-size: 14px; }
  .export-figure { padding: 22px 8px 18px; }
  .export-figure figcaption { text-align: left; margin-inline: 12px; font-size: 11px; }
  .export-details { display: grid; gap: 22px; margin-top: 26px; }
  .contact-layout p { font-size: 14px; }
  .contact-layout .contact-note { font-size: 12px; }
  .contact-actions { gap: 17px; padding-top: 0; }
  .contact-email { font-size: 16px; }
  .footer-layout { flex-wrap: wrap; align-items: flex-start; gap: 22px; }
  .company-info { flex-basis: 100%; order: 2; }
  .footer-links { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
