@font-face {
  font-family: "210 OmniGothic 040";
  src: url("./assets/210-omni-gothic-040.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --blue: #2b74fb;
  --ink: #111827;
  --hero-font: "210 OmniGothic 040", "Pretendard", -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid #8ebcff; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.clip-definitions { position: absolute; overflow: hidden; }
.scroll-scene { height: 524svh; background: #146eeb; }
.scene-stage {
  --phone-x: 0px;
  --phone-y: 0px;
  --phone-scale: 1;
  --phone-yaw: -24deg;
  --phone-roll: -3.5deg;
  --phone-width: 360px;
  --phone-ratio: 339 / 655;
  --art-opacity: 0;
  --visual-opacity: 1;
  --copy-opacity: 1;
  --copy-shift: 0px;
  --hero-size: 187px;
  --copy-x: 32px;
  --copy-y: 50%;
  --copy-width: 70%;
  --side-visible: 1;
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 560px;
  overflow: clip;
  isolation: isolate;
  background: #fff;
}
.prototype-brand { position: absolute; z-index: 10; top: max(28px, env(safe-area-inset-top)); left: clamp(24px, 5vw, 80px); display: inline-flex; align-items: center; gap: 12px; color: var(--blue); text-decoration: none; font-size: 22px; font-weight: 800; }
.prototype-brand span { font-size: 10px; letter-spacing: 0.12em; color: #94a3b8; font-weight: 600; }
.stage-controls { position: absolute; z-index: 10; top: max(24px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; border: 1px solid #e3eaf3; border-radius: 12px; background: rgba(255,255,255,.9); }
.stage-controls button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: #64748b; font-size: 12px; cursor: pointer; }
.stage-controls button[aria-current="step"] { color: var(--blue); background: #edf4ff; }
.style-controls { position: absolute; z-index: 10; top: 86px; left: clamp(24px, 5vw, 80px); display: flex; gap: 4px; padding: 4px; border: 1px solid #e3eaf3; border-radius: 12px; background: rgba(255,255,255,.9); }
.style-controls button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: #64748b; font-size: 12px; cursor: pointer; }
.style-controls button[aria-pressed="true"] { color: var(--blue); background: #edf4ff; }
.style-controls button:disabled { opacity: .35; cursor: default; }
.scene-copy { position: absolute; z-index: 4; left: var(--copy-x); top: var(--copy-y); width: var(--copy-width); opacity: var(--copy-opacity); transform: translateY(calc(-50% + var(--copy-shift))); text-align: var(--copy-align, left); }
.scene-copy h1 { margin: 0; font-family: var(--hero-font, "210 OmniGothic 040", sans-serif); font-synthesis: none; font-size: var(--hero-size); font-weight: 400; letter-spacing: -.045em; line-height: 1.18; }
.scene-copy h1 strong { display: block; color: var(--blue); font-size: inherit; font-weight: inherit; white-space: nowrap; }
.feature-slot { position: relative; display: block; height: 1.24em; overflow: hidden; color: var(--ink); }
.feature-item { position: absolute; inset: 0; opacity: 0; transform: translateY(110%); white-space: nowrap; }
.feature-item.is-current { opacity: 1; transform: translateY(0); }
.feature-item.is-entering { animation: slot-enter 500ms cubic-bezier(.22,1,.36,1) 210ms both; }
.feature-item.is-leaving { animation: slot-leave 180ms cubic-bezier(.4,0,.2,1) both; }
@keyframes slot-enter { 0% { opacity: 0; transform: translateY(110%); } 75% { opacity: 1; transform: translateY(-3%); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes slot-leave { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-110%); } }
.visual-plane { position: absolute; inset: 0; z-index: 2; isolation: isolate; opacity: var(--visual-opacity); pointer-events: none; }
.artwork-plane { position: absolute; z-index: 1; left: 50%; top: 52%; width: var(--art-width, min(640px,98vw)); height: var(--art-height,95svh); opacity: var(--art-opacity); transform: translate(-50%,-50%); pointer-events: none; }
.person-art { display: block; width: 100%; height: 100%; object-fit: contain; }
.person-art[hidden] { display: none; }
.grip-plane { z-index: 3; display: none; clip-path: url(#grip-tips); opacity: var(--grip-opacity,var(--art-opacity)); }
.scene-stage[data-variant="graphic"] .grip-plane { display: block; }
.phone-position { position: absolute; z-index: 2; left: 50%; top: 50%; width: var(--device-width,var(--phone-width)); height: var(--device-height,auto); aspect-ratio: var(--phone-ratio); transform: translate(calc(-50% + var(--phone-x)),calc(-50% + var(--phone-y))) scale(var(--phone-scale)); opacity: var(--device-opacity,1); perspective: 1200px; perspective-origin: 50% 50%; }
.phone-device { position: relative; width: 100%; height: 100%; transform: rotateY(var(--phone-yaw)) rotateZ(var(--phone-roll)); transform-style: preserve-3d; }
.phone-front, .phone-back { position: absolute; inset: 0; border-radius: 11.5% / 5.95%; background: #15191f; backface-visibility: hidden; }
.phone-front { background: #292a29; }
.phone-back { transform: translateZ(-16px); background: #17202c; opacity: var(--frame-opacity,1); }
.phone-side { position: absolute; top: 5.95%; bottom: 5.95%; width: 16px; background: #26303e; border-top: 1px solid #59677a; border-bottom: 1px solid #101722; opacity: var(--side-visible); backface-visibility: hidden; transform-style: preserve-3d; }
.phone-side--right { left: 100%; transform: rotateY(90deg); transform-origin: left center; border-left: 1px solid #647083; border-right: 1px solid #0b101a; }
.phone-side--left { right: 100%; transform: rotateY(-90deg); transform-origin: right center; border-right: 1px solid #647083; }
.phone-button { position: absolute; left: 3px; width: 9px; border: 1px solid #647183; border-radius: 3px; background: #303c4d; box-shadow: 1px 0 1px #101825; transform: translateZ(2px); }
.phone-button--volume-one { top: 22%; height: 7%; }
.phone-button--volume-two { top: 32%; height: 7%; }
.phone-button--side { top: 47%; height: 13%; }
.phone-glass { position: absolute; left: var(--glass-left,var(--screen-left,3.2456%)); top: var(--glass-top,var(--screen-top,1.5267%)); width: var(--glass-width,var(--screen-width,93.5103%)); height: var(--glass-height,var(--screen-height,96.9466%)); overflow: hidden; border-radius: 8.8% / 4.4%; background: #146eeb; }
.screen-expansion { position: absolute; z-index: 4; left: var(--zoom-left); top: var(--zoom-top); width: var(--zoom-width); height: var(--zoom-height); border-radius: var(--zoom-radius-x) / var(--zoom-radius-y); overflow: hidden; background: #146eeb; visibility: hidden; }
.screen-expansion:has(.phone-screen) { visibility: visible; }
.phone-screen { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #146eeb; perspective: 900px; }
.screen-logo { display: block; width: var(--logo-width,120%); max-width: none; height: auto; flex-shrink: 0; object-fit: contain; transform: translateY(var(--logo-shift-y,0px)) rotateY(var(--logo-yaw,0deg)); transform-origin: 50% 50%; }
.phone-notch { position: absolute; z-index: 2; left: 50%; top: -1px; width: 44%; height: 4.4%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 9%; border-radius: 0 0 12% 12% / 0 0 42% 42%; background: #090d14; opacity: var(--frame-opacity,1); }
.phone-earpiece { display: block; width: 36%; height: 12%; border-radius: 3px; background: #313a48; }
.phone-front-camera { display: block; width: 5.7%; aspect-ratio: 1; border-radius: 50%; background: #152238; box-shadow: inset 1px 1px 1px #455e81; }
.scroll-cue { position: absolute; z-index: 5; left: 50%; bottom: max(34px,env(safe-area-inset-bottom)); margin: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; color: #94a3b8; font-size: 13px; opacity: var(--cue-opacity,1); white-space: nowrap; }
.scroll-cue span { color: var(--blue); font-size: 20px; }
.scene-progress { position: absolute; z-index: 8; bottom: 0; left: 0; width: 100%; height: 3px; background: #f1f5f9; }
.scene-progress span { display: block; width: 100%; height: 100%; background: var(--blue); transform: scaleX(var(--scene-progress,0)); transform-origin: left; }
.prototype-brand, .stage-controls, .style-controls { opacity: var(--study-opacity,1); }
.scene-stage[data-expanded="true"] .prototype-brand,
.scene-stage[data-expanded="true"] .stage-controls,
.scene-stage[data-expanded="true"] .style-controls { visibility: hidden; pointer-events: none; }
.scene-stage[data-expanded="true"] .scene-progress { background: rgba(255,255,255,.10); }
.scene-stage[data-expanded="true"] .scene-progress span { background: rgba(255,255,255,.55); }
.feature-cards { position: absolute; z-index: 9; left: 50%; bottom: clamp(32px,8svh,80px); width: min(1280px,calc(100% - 64px)); transform: translateX(-50%); display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; pointer-events: none; }
.benefit-card { position: relative; isolation: isolate; height: 244px; padding: 20px; border-radius: 0; background: transparent; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: var(--card-opacity,0); transform: translateY(var(--card-rise,72px)) scale(var(--card-scale,1)); }
.benefit-card::before { content: ""; position: absolute; z-index: -1; inset: 0 10px; border-radius: 18px; background: #fff; transform: skewX(-7deg); box-shadow: 0 10px 26px rgba(8,44,102,.10); }
.benefit-card h2 { margin: 0; color: #0b3e91; font-family: var(--hero-font); font-synthesis: weight; font-weight: 700; font-size: var(--card-title-size,80px); line-height: 1.02; letter-spacing: -.035em; white-space: nowrap; }
.card-title-line { display: block; }
.benefit-card p { margin: 16px 0 0; color: #64748b; font-size: 21px; line-height: 1.45; font-weight: 600; word-break: keep-all; }
@media (max-width:700px) {
  .prototype-brand { left: 20px; top: max(24px,env(safe-area-inset-top)); font-size: 19px; }
  .prototype-brand span { display: none; }
  .stage-controls { top: 56px; left: 16px; right: 16px; transform: none; justify-content: space-between; }
  .stage-controls button { padding: 0 7px; font-size: 10px; }
  .style-controls { top: 110px; left: 16px; right: 16px; justify-content: center; }
  .style-controls button { padding: 0 9px; font-size: 11px; }
  .artwork-plane { top: 54%; }
  .scroll-cue { bottom: max(24px,env(safe-area-inset-bottom)); font-size: 12px; }
  .feature-cards { width: calc(100% - 32px); grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; bottom: max(32px,env(safe-area-inset-bottom)); }
  .benefit-card { height: 142px; padding: 12px; border-radius: 0; }
  .benefit-card p { margin-top: 12px; font-size: 16px; }
  .benefit-card::before { inset: 0 5px; border-radius: 14px; transform: skewX(-6deg); }
  .desktop-break { display: none; }
}
@media (max-width:360px) {
  .stage-controls { top: 56px; left: 16px; right: 16px; justify-content: space-between; }
  .style-controls { top: 110px; }
  .artwork-plane { top: calc(50% + 90px); }
}
@media (max-height:620px) and (max-width:1099px) { .scroll-cue { display: none; } }
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .scroll-scene { height: 100svh; }
  .feature-item { animation: none !important; }
  .scroll-cue { display: none; }
}

.hero-actions { position: absolute; z-index: 9; left: 50%; top: var(--actions-top,50%); transform: translate(-50%,var(--actions-rise,24px)); width: min(560px,calc(100% - 32px)); text-align: center; opacity: var(--actions-opacity,0); visibility: hidden; }
.hero-actions[data-visible="true"] { visibility: visible; }
.action-buttons { display: flex; justify-content: center; gap: 12px; }
.action-button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: #fff; color: #153b76; text-decoration: none; font-size: 15px; font-weight: 700; overflow: hidden; isolation: isolate; transition: color 420ms cubic-bezier(.22,1,.36,1),transform 420ms; }
.action-dot { position: relative; z-index: -1; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #142f58; }
.action-dot::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: inherit; transform: scale(1); transition: transform 650ms cubic-bezier(.22,1,.36,1); }
.action-arrow { display: inline-block; width: 0; opacity: 0; transform: translateX(-8px); transition: width 420ms,opacity 420ms,transform 420ms cubic-bezier(.22,1,.36,1); font-size: 24px; line-height: 1; }
.action-button:is(:hover,:focus-visible,:active,.is-touching) { color: white; background: #142f58; }
.action-button:is(:hover,:focus-visible,:active,.is-touching) .action-dot::before { transform: scale(85); }
.action-button:is(:hover,:focus-visible,:active,.is-touching) .action-arrow { width: 22px; opacity: 1; transform: translateX(0); }
.action-button:active { transform: scale(.98); }
.hero-actions p { margin: 10px 0 8px; color: rgba(255,255,255,.9); font-size: 13px; font-weight: 600; }
.store-badges { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.store-badges svg { height: 38px; width: auto; }
@media(max-width:700px) {
  .action-buttons { gap: 8px; }
  .action-button { height: 40px; padding: 0 13px; font-size: 12px; gap: 7px; }
  .hero-actions p { font-size: 11px; margin: 8px 0 7px; }
  .store-badges svg { height: 32px; }
}
@media(prefers-reduced-motion:reduce) { .action-button, .action-dot::before, .action-arrow { transition: none; } }

@media(max-width:700px) and (max-height:650px) {
  .feature-cards { gap: 8px; bottom: 24px; }
  .benefit-card { height: 132px; padding: 12px; border-radius: 0; }
}

.action-button, .store-badges a { -webkit-font-smoothing: antialiased; backface-visibility: hidden; }

.benefit-card p.card-eyebrow { margin: 0 0 16px; }
@media(max-width:700px) { .benefit-card p.card-eyebrow { margin-bottom: 12px; } }
@media(prefers-reduced-motion:reduce) { .benefit-card { filter: none; } }

/* One open white panel; editorial spacing follows the supplied reference. */
.feature-panel { position: absolute; z-index: 9; inset: auto 0 0; width: 100%; background: #fff; opacity: var(--panel-opacity,0); transform: translateY(var(--panel-rise,40px)); visibility: hidden; pointer-events: none; }
.feature-panel[data-visible="true"] { visibility: visible; pointer-events: auto; }
.panel-inner { width: min(1360px,calc(100% - 96px)); margin: 0 auto; padding: 30px 0 28px; }
.feature-panel .feature-cards { position: relative; inset: auto; width: 100%; transform: none; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 64px; }
.feature-panel .benefit-card { height: 176px; padding: 0; align-items: flex-start; justify-content: center; text-align: left; }
.feature-panel .benefit-card::before { display: none; }
.feature-panel .benefit-card h2 { color: #0b3e91; line-height: 1.08; }
.feature-panel .benefit-card p { color: #4d6383; font-size: 22px; line-height: 1.4; margin-top: 16px; }
.feature-panel .benefit-card p.card-eyebrow { margin: 0 0 16px; }
.panel-footer { padding-top: 40px; }
.feature-panel .hero-actions { position: relative; inset: auto; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 24px; transform: translateY(var(--actions-rise,24px)); text-align: center; }
.feature-panel .action-buttons { order: 1; width: min(744px,100%); gap: 24px; }
.feature-panel .action-button { min-width: 0; flex: 1; height: 80px; padding: 0 30px; border-radius: 14px; background: #eaf0ff; color: #183f9e; font-size: 24px; }
.feature-panel .action-button:first-child { background: #1d49c9; color: #fff; }
.feature-panel .action-dot { width: 9px; height: 9px; background: #0b318c; }
.feature-panel .action-button:first-child .action-dot { background: #77dfff; }
.feature-panel .action-label { white-space: nowrap; transition: transform 420ms cubic-bezier(.22,1,.36,1); }
.feature-panel .action-arrow { position: absolute; right: 20px; width: 24px; }
.feature-panel .action-button:is(:hover,:focus-visible,:active,.is-touching) { background: #eaf0ff; color: #fff; }
.feature-panel .action-button:first-child:is(:hover,:focus-visible,:active,.is-touching) { background: #1d49c9; color: #0b318c; }
.feature-panel .action-button:is(:hover,:focus-visible,:active,.is-touching) .action-dot::before { transform: scale(92); }
.feature-panel .action-button:is(:hover,:focus-visible,:active,.is-touching) .action-label { transform: translateX(-12px); }
.feature-panel .store-badges { order: 2; margin-top: 0; justify-content: center; gap: 24px; }
.feature-panel .store-badges a { width: 232px; height: 70px; align-items: center; justify-content: center; border-radius: 10px; background: #000; overflow: hidden; }
.feature-panel .store-badges svg { height: 68px; max-width: 100%; }
@media(max-width:1099px) and (min-width:701px) {
  .panel-inner { width: calc(100% - 48px); }
  .feature-panel .feature-cards { gap: 40px; }
}
@media(prefers-reduced-motion:reduce) { .feature-panel .action-label { transition: none; } }
@media(max-width:700px) {
  .panel-inner { width: calc(100% - 40px); padding: 24px 0; }
  .feature-panel .feature-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
  .feature-panel .benefit-card { height: 124px; }
  .feature-panel .benefit-card p { font-size: 18px; margin-top: 14px; }
  .feature-panel .benefit-card p.card-eyebrow { margin-bottom: 14px; }
  .panel-footer { padding-top: 32px; }
  .feature-panel .hero-actions { gap: 22px; }
  .feature-panel .action-buttons { order: 1; width: 100%; gap: 12px; }
  .feature-panel .action-button { min-width: 0; flex: 1; height: 66px; padding: 0 10px; font-size: 15px; gap: 7px; }
  .feature-panel .action-dot { width: 7px; height: 7px; }
  .feature-panel .action-arrow { right: 8px; width: 18px; font-size: 20px; }
  .feature-panel .action-button:is(:hover,:focus-visible,:active,.is-touching) .action-arrow { width: 18px; }
  .feature-panel .action-button:is(:hover,:focus-visible,:active,.is-touching) .action-label { transform: translateX(-18px); }
  .feature-panel .store-badges { width: 100%; gap: 12px; }
  .feature-panel .store-badges a { width: 160px; min-width: 0; height: 50px; }
  .feature-panel .store-badges svg { height: 48px; }
}
@media(max-width:700px) and (max-height:650px) {
  .panel-inner { padding: 14px 0 16px; }
  .feature-panel .feature-cards { gap: 20px 28px; }
  .feature-panel .benefit-card { height: 112px; }
  .feature-panel .benefit-card p { font-size: 15px; }
  .panel-footer { padding-top: 26px; }
  .feature-panel .hero-actions { gap: 20px; }
  .feature-panel .action-button { height: 64px; }
}
@media(max-width:360px) { .feature-panel .action-button { font-size: 14px; } }
