:root {
  color-scheme: light;
  --ink: #111;
  --muted: #525252;
  --line: #c9c9c9;
  --mast-h: 64px;
  scroll-padding-top: var(--mast-h);
  --gutter: clamp(24px, 5vw, 90px);
  font-family: "Instrument Sans", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink); background: white; scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
body { line-height: 1.6; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
:where(a,button,input):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wrap { width: min(1540px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip { position: fixed; left: 8px; top: 8px; transform: translateY(-160%); padding: 10px 16px; background: white; z-index: 8; }
.skip:focus { transform: none; }
.mast { position: fixed; inset: 0 0 auto; z-index: 6; background: #fffffff2; backdrop-filter: blur(12px); border-bottom: 1px solid #1717171c; }
.mast-inner, .brand { display: flex; align-items: center; }
.mast-inner { height: var(--mast-h); justify-content: space-between; gap: 8px; }
.mast .brand { --wordmark-size: clamp(15px,1.25vw,18px); min-height: 44px; gap: 7px; }
.mast-wordmarks { display: inline-grid; align-items: center; justify-items: start; }
.mast-wordmarks .brand-wordmark { grid-area: 1 / 1; }
.brand-wordmark { display: grid; font: 850 var(--wordmark-size,19px)/1 Arial,sans-serif; }
.brand-wordmark em { font: 500 1.05em/1.3 "Segoe Script","Snell Roundhand","Brush Script MT",cursive; margin-top: 2px; }
.mast-wordmarks .brand-korean { display: block; width: clamp(108px, calc(90px + 4.2vw), 154px); height: auto; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .mast-wordmarks .brand-wordmark { animation: mast-language 8s ease-in-out infinite; }
  .mast-wordmarks [lang=ko] { animation-delay: -4s; }
  @keyframes mast-language { 0%,44%,100% { opacity: 1; } 50%,94% { opacity: 0; } }
}
.mast-start { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 44px; padding: 9px 16px; color: #fff; border: 1px solid transparent; border-radius: 11px; font-size: 13px; line-height: 1; font-weight: 700; letter-spacing: -.035em; white-space: nowrap;
  background: linear-gradient(112deg,#111 19%,#292929 36%,#626262 49%,#2a2a2a 62%,#111 81%) padding-box,
              linear-gradient(112deg,#282828 20%,#ededed 49%,#383838 78%) border-box;
  background-size: 240% 100%; background-position: 50% 50%;
}
.mast-start::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.mast-start:hover { box-shadow: 0 0 0 1px #333; }
@media (prefers-reduced-motion: no-preference) {
  .mast-start { animation: mast-light 4.2s ease-in-out infinite alternate; }
  @keyframes mast-light { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
}
.mast-start:focus-visible { outline-color: var(--ink); }
.brand { gap: 10px; font-weight: 850; font-size: 20px; line-height: 1.15; letter-spacing: -.06em; white-space: nowrap; }
.brand i { width: 30px; height: 30px; background: currentColor; mask: url("/favicon.svg") center / contain no-repeat; }
.mast .brand i { width: calc(var(--wordmark-size) * 2.45); height: calc(var(--wordmark-size) * 2.45); mask-size: 108%; flex: none; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #fff; min-height: 100svh; display: grid; align-items: center; }
/* Frame the sweep of the ribbon; the original phone is outside the visible crop. */
.hero::before { content: ""; position: absolute; inset: 0 auto 0 -18%; width: 177%; z-index: -1; pointer-events: none; background: url("/landing/hero-ribbon.webp") left bottom / cover no-repeat; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: center; gap: clamp(18px,2.3vw,46px); padding-block: calc(var(--mast-h) + clamp(25px,5vh,72px)) clamp(40px,6vh,86px); }
.hero-copy { --title-size: clamp(87px,10.9vw,190px); }
.hero-lockup { width: max-content; max-width: 100%; }
.hero-lockup h1 { font-size: var(--title-size); line-height: 1; }
.display-title { display: flex; flex-direction: column; align-items: flex-start; }
.your-word { font-family: "Baskervville","Times New Roman",Georgia,serif; font-weight: 400; font-style: italic; font-size: 1.13em; line-height: .78; letter-spacing: -.078em; }
.display-title strong { font-family: "Archivo Black","Arial Black",Arial,sans-serif; font-weight: 950; letter-spacing: -.085em; line-height: .83; margin-left: .1em; }
.hero-tagline { margin: clamp(22px,2.25vw,36px) 0 0 calc(var(--title-size) * .15); color: #292929; font-size: clamp(15px,1.32vw,20px); letter-spacing: -.038em; font-weight: 580; line-height: 1.55; }
.stores { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.hero-copy > .stores { margin: clamp(25px,2.65vw,42px) 0 0 calc(var(--title-size) * .15); }
.store { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 60px; min-width: 146px; padding: 12px 18px; border-radius: 10px; text-align: left; }
.store strong, .store small { display: block; }
.store strong { font: 700 17px/1.15 Arial, sans-serif; letter-spacing: -.02em; }
.store small { margin-top: 3px; font-size: 11px; line-height: 1.35; font-weight: 550; }
.store-play { color: white; background: #141414; }
.store-play:hover { background: #333; }
.store-download { flex: none; }
.ios-choice { display: inline-flex; align-items: center; gap: 9px; }
.ios-status { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; line-height: 1.3; color: #525252; white-space: nowrap; }
.ios-status::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.store-ios { color: #444; border: 0; background: #ffffffeb; box-shadow: inset 0 0 0 1px #888; }
.store-device { width: 12px; height: 18px; border: 1.5px solid; border-radius: 3px; position: relative; }
.store-device::after { content: ""; position: absolute; bottom: 2px; left: 2px; right: 2px; height: 1px; background: currentColor; }
.hero-visual { width: min(100%, 78svh, 760px); aspect-ratio: 1.04; justify-self: center; position: relative; }
.hero-visual .login-scene {
  display: block !important; position: absolute; inset: 0; color: #f6f5ef;
  --yp-font-family: "Paperlogy", "IBM Plex Sans KR", "Noto Sans KR", sans-serif;
}
.hero-visual .login-wing {
  --rim: linear-gradient(118deg,#9d9e9b 0%,#efefeb 8%,#3b3c3a 23%,#a1a39f 44%,#262725 62%,#cecfca 85%,#5a5b58 100%);
  width: 42%; height: auto; aspect-ratio: 9 / 18.8; bottom: auto;
  border: clamp(3px,.38vw,6px) solid transparent; border-radius: 15% / 7.2%;
  background: var(--screen-fill) padding-box, var(--rim) border-box;
  box-shadow: inset 0 0 0 3px #101110, 0 2px 2px #1116, 4px 10px 15px -7px #15161455, 13px 35px 48px -25px #1117;
}
.hero-visual .login-left {
  left: 6%; top: 9%; z-index: 2; transform: rotate(-10deg);
}
.hero-visual .login-right {
  right: 6%; top: 1%; transform: rotate(9deg);
}
.hero-visual .login-wing::before, .hero-visual .login-wing::after {
  content: ""; position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); border-radius: 999px; pointer-events: none;
}
.hero-visual .login-wing::before { top: 2.6%; width: 24%; height: 3.3%; background: #121311; box-shadow: inset 0 0 0 1px #ffffff16; }
.hero-visual .login-wing::after { bottom: 2.2%; width: 30%; height: .8%; background: currentColor; opacity: .68; }
.hero-visual .login-session { top: 14%; font-size: clamp(16px,8cqw,26px); }
.hero-visual .login-actor { width: 93%; top: 61%; height: auto; }
.hero-visual .shot-stride .login-actor { top: 60%; width: 72%; height: auto; }
.hero-visual .login-track { top: 77%; height: 16%; }
/* Switch the caption at the cut; only the artwork dissolves between scenes. */
@media (prefers-reduced-motion: no-preference) {
  .hero-visual .login-shot { opacity: 1; transition: visibility 0s linear .32s; }
  .hero-visual .login-shot.is-current { transition-delay: 0s; }
  .hero-visual .login-shot:not(.is-current) .login-session { visibility: hidden; }
  .hero-visual .login-shot :is(.login-actor,.login-track) { opacity: 0; transition: opacity .32s ease; }
  .hero-visual .login-shot.is-current :is(.login-actor,.login-track) { opacity: 1; }
}
.hero-visual .login-controls { right: 0; bottom: 0; z-index: 4; }
.hero-visual .login-motion-sign { color: #222; background: #fff; border-color: #ababaa; }
.hero-visual .login-motion-toggle:has(:focus-visible) { outline-color: #333; }
h2 { font-size: clamp(31px, 4.8vw, 66px); letter-spacing: -.075em; line-height: 1.12; }
.library { background: #fff; padding-block: clamp(54px,7.5vw,112px); }
#features-title { font-family: "Archivo Black","Arial Black",Arial,sans-serif; font-size: clamp(52px,7.4vw,112px); font-weight: 900; letter-spacing: -.075em; }
#features-title em { font-family: "Baskervville","Times New Roman",serif; font-weight: 400; }
.library-layout { display: grid; grid-template-columns: minmax(140px, .63fr) minmax(0, 3fr); gap: clamp(20px, 4vw, 80px); margin-top: clamp(29px,4.3vw,65px); }
.feature-nav { align-self: start; position: sticky; top: calc(var(--mast-h) + 18px); display: grid; border-top: 1px solid var(--ink); }
.feature-nav a { position: relative; display: flex; align-items: center; min-height: 47px; color: #666; font-size: 14px; font-weight: 640; border-bottom: 1px solid var(--line); padding-left: 1px; padding-right: 17px; }
.feature-nav a:hover, .feature-nav a[aria-current] { color: var(--ink); }
.feature-nav a[aria-current] { font-weight: 800; }
.feature-nav a[aria-current]::after { content: "↘"; position: absolute; right: 2px; }
.feature-group { scroll-margin-top: 20px; }
.feature-group + .feature-group { margin-top: clamp(50px,6vw,90px); }
.feature-group > h2 { font-size: clamp(27px,3.3vw,52px); padding-top: 17px; border-top: 4px solid #151515; }
.library .feature-grid { display: grid; gap: 12px; margin-top: 24px; }
.library .feature-card { min-width: 0; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); align-items: center; border: 1px solid #d4d4d1; }
.library .card-copy { min-width: 0; padding: clamp(17px,2.1vw,32px); }
.library .card-copy h3 { font-size: clamp(21px,2vw,30px); line-height: 1.2; letter-spacing: -.055em; }
.skill-checkpoints { list-style: none; display: grid; gap: 5px; margin: 14px 0 0; padding: 0; }
.skill-checkpoints li { display: grid; grid-template-columns: .7em minmax(0,1fr); gap: .55em; color: #444; font-size: 15px; line-height: 1.55; letter-spacing: -.025em; overflow-wrap: anywhere; }
.skill-checkpoints li::before { content: ""; width: .68em; height: .36em; margin-top: .48em; border: solid #363636; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.library .sample { display: grid; place-items: center; position: relative; align-self: stretch; padding: 12px; border-left: 1px solid #e3e3e1; background: #f2f2f0; cursor: zoom-in; }
.library .sample img { width: min(100%,258px); height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.help { padding-block: clamp(50px,7vw,100px); border-top: 1px solid var(--ink); }
.help h2 { text-align: center; font-size: clamp(31px,4.3vw,62px); }
.help-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(12px,2vw,24px); margin-top: clamp(27px,3.4vw,50px); }
.help-grid article { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px,2.7vw,40px); border: 1px solid #171717; background: white; }
.help-grid .start-web { color: white; background: #171717; }
.help-grid h3 { margin-top: 21px; font-size: clamp(22px,2.1vw,31px); letter-spacing: -.055em; line-height: 1.25; }
.help-grid p { color: #515151; font-size: 15px; line-height: 1.65; letter-spacing: -.025em; margin-top: 10px; }
.start-web p { color: #dcdcdc; }
.start-symbol { position: relative; display: block; height: 23px; width: 33px; border: 1.5px solid; border-radius: 3px; }
.start-web .start-symbol::after { content: ""; position: absolute; top: 4px; inset-inline: 0; border-top: 1px solid; }
.start-app .start-symbol { width: 15px; }
.start-app .start-symbol::after { content: ""; position: absolute; bottom: 2px; left: 4px; right: 4px; border-top: 1px solid; }
.start-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; padding-top: 26px; margin-top: auto; }
.launch-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 10px 7px 17px; background: #171717; color: white; border: 1px solid #171717; border-radius: 40px; font-size: 15px; line-height: 1.3; font-weight: 720; letter-spacing: -.035em; }
.launch-arrow { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #151515; }
.launch-arrow::after { content: ""; width: 12px; height: 12px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12 8-8M5 4h7v7'/%3E%3C/svg%3E") center / contain no-repeat; }
.start-web .launch-button { color: #151515; background: white; border-color: white; }
.start-web .launch-label { position: relative; top: .1em; }
.start-web .launch-arrow { color: white; background: #171717; }
.launch-button:disabled { background: #f3f3f1; color: #4b4b48; border-color: #c8c8c3; padding-right: 16px; }
.launch-button:disabled,.store-ios:disabled { opacity: 1; }
footer { background: #111; color: white; }
.foot { width: min(1640px,calc(100% - 2 * clamp(19px,3vw,55px))); padding-block: 35px 40px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: clamp(13px,1.5vw,28px); }
.foot .brand { gap: 7px; justify-self: start; font: 850 19px/1 Arial,sans-serif; }
.foot .brand i { width: 50px; height: 50px; mask-size: 108%; flex: none; }
.foot .business-line { color: #d1d1d1; text-align: center; font-size: 12px; line-height: 1.8; letter-spacing: -.025em; }
.business-line span { display: inline-block; max-width: 100%; }
.business-line a { text-decoration: underline; text-underline-offset: 3px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 clamp(9px,1.1vw,19px); color: #eee; }
.foot nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: 12px; }
#example-preview { width: min(830px, calc(100% - 28px)); max-height: 94vh; max-height: 94dvh; padding: 0; border: 1px solid #666; background: #fff; color: #111; }
#example-preview::backdrop { background: #101010d9; }
.preview-head { position: sticky; top: 0; background: white; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 12px 7px 19px; border-bottom: 1px solid #bbb; }
.preview-head h2 { font-size: 21px; }
.preview-head button { width: 44px; height: 44px; border: 0; background: #eee; font-size: 25px; cursor: pointer; }
#example-preview img { width: 100%; max-height: calc(94dvh - 60px); object-fit: contain; }
@media (max-width: 950px) {
  .library-layout { grid-template-columns: 1fr; }
  .feature-nav { position: relative; top: auto; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0 12px; }
  .foot { grid-template-columns: auto 1fr; }
  .foot nav { grid-column: 2; grid-row: 1; justify-content: flex-end; }
  .foot .business-line { grid-column: 1/-1; }
}
@media (max-width: 700px) {
  :root { --gutter: 19px; --mast-h: 56px; }
  .brand { font-size: 17px; gap: 6px; }
  .brand i { width: 24px; height: 26px; }
  .hero { min-height: 100svh; }
  .hero::before { inset-block-start: 42%; left: -15%; width: 164%; background-size: auto 106%; background-position: 31% bottom; }
  .hero-inner { grid-template-columns: minmax(0,1fr); gap: 26px; padding-block: 87px 30px; }
  .hero-copy { --title-size: clamp(62px,17vw,98px); width: 100%; }
  .hero-tagline { margin-top: 19px; }
  .hero-visual { width: min(100%,435px); }
  .store { min-width: 0; min-height: 54px; padding: 10px 15px; gap: 14px; }
  .store strong { font-size: 16px; }
  .library-layout { gap: 26px; }
  .feature-nav { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .library .feature-grid { margin-top: 17px; gap: 10px; }
  .library .feature-card { grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); }
  .library .card-copy { padding: 15px 12px; }
  .library .card-copy h3 { font-size: 20px; }
  .skill-checkpoints { gap: 4px; margin-top: 10px; }
  .skill-checkpoints li { font-size: 13px; }
  .library .sample { padding: 6px; }
  .help-grid { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .foot { grid-template-columns: minmax(0,1fr); justify-items: center; gap: 12px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  .foot .brand { justify-self: center; }
  .foot nav { grid-area: auto; justify-content: center; gap: 0 13px; }
}
@media (min-width: 701px) and (max-width: 1000px) and (orientation: portrait) {
  .hero { min-height: 78svh; }
}
@media (max-width: 365px) {
  .stores { gap: 7px; }
  .store { gap: 10px; padding-inline: 13px; }
  .store strong { font-size: 15px; }
  .library .card-copy { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }

/* The same filmstrip is used inline and in the enlarged view. Only the active still loads. */
.library .feature-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; border-radius: 14px; }
.library .feature-grid { gap: clamp(12px, 1.6vw, 24px); }
.library .card-copy { padding: clamp(18px, 2.2vw, 34px); }
.library .skill-reel { min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; background: #f3f3ef; border-left: 1px solid #deded8; }
.library .skill-reel .sample { flex: 1; display: grid; place-items: center; min-height: 140px; padding: clamp(12px, 1.75vw, 23px); border: 0; background: transparent; touch-action: pan-y pinch-zoom; }
.library .skill-reel .sample img { width: min(100%, 350px); aspect-ratio: 3/2; background: white; border-radius: 7px; box-shadow: 0 4px 14px #1515110b, 0 0 0 1px #10101010; user-select: none; }
.library .skill-reel .sample::after { content: ""; position: absolute; inset: 10px 10px auto auto; width: 28px; height: 28px; border: 1px solid #d3d3ce; border-radius: 7px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23242424' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2.5h4.5V7M13.5 2.5l-4 4m-2.5 7H2.5V9m0 4.5 4-4'/%3E%3C/svg%3E") center / 14px 14px no-repeat; }
.library .skill-reel .sample:is(:hover,:focus-visible)::after { border-color: #777771; }
.reel-controls { display: flex; align-items: center; gap: 3px; padding: 4px 9px 4px clamp(12px, 1.6vw, 23px); background: white; border-top: 1px solid #deded8; }
.reel-status { display: flex; align-items: center; gap: clamp(7px, 1vw, 15px); min-width: 0; flex: 1; }
.reel-position { flex-shrink: 0; font: 600 10px/1.3 "IBM Plex Mono", Consolas, monospace; color: #66665e; letter-spacing: .04em; }
.reel-status strong { font-size: clamp(11px, 1.05vw, 14px); line-height: 1.35; letter-spacing: -.04em; }
.reel-controls button { display: grid; place-items: center; flex: 0 0 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #171714; font: 20px/1 Arial, sans-serif; cursor: pointer; }
.reel-controls button:is(:hover,:focus-visible) { background: #171714; color: white; }
#example-preview { border: 0; border-radius: 14px; box-shadow: 0 16px 80px #0005; }
#example-preview .preview-head { padding-inline: 20px 10px; border-color: #deded8; }
#example-preview .preview-head button { border-radius: 50%; background: transparent; }
#example-preview .preview-head button:is(:hover,:focus-visible) { background: #eee; }
#example-preview img { background: white; width: 100%; height: auto; max-height: calc(94vh - 130px); max-height: calc(94dvh - 130px); object-fit: contain; touch-action: pan-y pinch-zoom; user-select: none; }
#example-preview .reel-controls { min-height: 54px; }
@media (max-width: 620px) {
  .library .feature-card { grid-template-columns: minmax(0, 1fr); }
  .library .card-copy { padding: 19px 19px 17px; }
  .library .skill-reel { border-left: 0; border-top: 1px solid #deded8; }
  .library .skill-reel .sample { min-height: 0; padding: 13px 25px; }
  .library .skill-reel .sample img { width: min(100%, 275px); }
  .reel-controls button { flex-basis: 44px; height: 44px; }
  .reel-status strong { font-size: 13px; }
}
