/* COREVIS home page, 4안 · 내 PC (owner-approved 2026-10-26; the draft's shared/base.css and c4-pc/style.css,
   D:/Work/ai-work/home-1025). A night desk, a monitor running COREVIS, told by scroll: each chapter shows one core line,
   big, in the emptiest part of its shot; the camera frames the rest. Only the home loads this file (generate-pages.mjs
   head); the other pages use styles.css. Additions for the site are at the end: the operator block, "Pause motion"
   (WCAG 2.2.2, <html data-motion="off"> from app.js, which stops the same things as the reduced-motion setting) and
   the plan picker's generated parts. */
@font-face { font-family: 'Corevis Sans'; src: url('/assets/fonts/CorevisSans-subset.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Corevis Mono'; src: url('/assets/fonts/CorevisMono-subset.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  color-scheme: dark;
  --deep: #070a1f;
  --navy: #0b0f2a;
  --indigo: #1c2150;
  --ink: #05061a;
  --text: #f4f4fb;
  --body: #d6d8ea;
  --muted: rgba(214, 218, 240, .72);
  --line: rgba(196, 200, 240, .14);
  --lilac: #b6aaee;
  --lilac-hi: #d9d1ff;
  --pale: #ece8ff;
  --violet: #7c6cf0;
  --orange: #ff8a4c;
  --orange-hi: #ffb37f;
  --mint: #43d6b0;
  --sans: 'Corevis Sans', 'Pretendard Variable', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --mono: 'Corevis Mono', 'Corevis Sans', ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--deep); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; word-break: keep-all; overflow-wrap: break-word; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* The "예시" mark every illustrative demo carries (site rule: label illustrative demonstrations). */
.ex-tag { display: inline-flex; align-items: center; gap: .35em; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lilac-hi); padding: 4px 7px; border: 1px solid rgba(182, 170, 238, .35); border-radius: 999px; background: rgba(12, 14, 36, .55); }
.pill-new { display: inline-flex; align-items: center; gap: .4em; font: 600 12px/1 var(--sans); color: #fff; padding: 5px 9px; border-radius: 999px; background: linear-gradient(180deg, rgba(124, 108, 240, .55), rgba(84, 70, 200, .45)); border: 1px solid rgba(217, 209, 255, .35); }
.pill-soon { display: inline-flex; align-items: center; gap: .4em; font: 600 12px/1 var(--sans); color: var(--orange-hi); padding: 5px 9px; border-radius: 999px; background: rgba(255, 138, 76, .1); border: 1px solid rgba(255, 138, 76, .35); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

:root {
  --night: #05061a;
  --warm: #ffd7a6;
  --gut: clamp(18px, 4.2vw, 64px);
  --core: clamp(40px, 3.6vw, 60px);
}
html { background: var(--night); scroll-behavior: auto; }
body { background: var(--night); min-height: 100%; }
::selection { background: rgba(182, 170, 238, .35); }

.skip { position: fixed; z-index: 50; left: 12px; top: -60px; padding: 10px 14px; border-radius: 10px; background: #ece8ff; color: #0b0d22; font: 700 14px/1 var(--sans); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- the scene ---------- */
#stage { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; display: block; z-index: 0; opacity: 0; transition: opacity 1.4s ease; }
.is-ready #stage { opacity: 1; }
/* a soft night falloff that follows the words (JS moves --vx / --vy to the active line) */
.veil { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse var(--vw, 62%) var(--vh, 70%) at var(--vx, 18%) var(--vy, 60%), rgba(5, 6, 26, calc(var(--va, .9))) 0%, rgba(5, 6, 26, calc(var(--va, .9) * .62)) 42%, rgba(5, 6, 26, 0) 76%),
    linear-gradient(180deg, rgba(5, 6, 26, .55) 0%, rgba(5, 6, 26, 0) 12%),
    linear-gradient(0deg, rgba(5, 6, 26, .35) 0%, rgba(5, 6, 26, 0) 14%); }
.loading { position: fixed; z-index: 3; left: 50%; bottom: 64px; transform: translateX(-50%); margin: 0; display: flex; align-items: center; gap: 10px; font: 500 13px/1 var(--sans); color: rgba(236, 232, 255, .6); transition: opacity .6s ease; }
.loading span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(182, 170, 238, .25); border-top-color: var(--lilac); animation: spin 1s linear infinite; }
.is-ready .loading { opacity: 0; pointer-events: none; }
@keyframes spin { to { transform: rotate(1turn); } }

/* ---------- header ---------- */
.top { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 22px; padding: 20px var(--gut); pointer-events: none; transition: background .4s, backdrop-filter .4s; }
.in-pricing .top { background: rgba(5, 6, 26, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(196, 200, 240, .08); }
.top > * { pointer-events: auto; }
/* a soft shade under the menu, so a close-up screen never runs into it */
.top::before { content: ''; position: absolute; z-index: -1; inset: 0 0 -34px; background: linear-gradient(rgba(4, 5, 20, .74), rgba(4, 5, 20, .38) 62%, rgba(4, 5, 20, 0)); pointer-events: none; transition: opacity .4s; }
.in-pricing .top::before { opacity: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 16px/1 var(--sans); letter-spacing: .18em; color: #f3f1ff; }
.links { display: flex; gap: 24px; margin-left: auto; font: 500 14px/1 var(--sans); }
.links a, .signin { text-decoration: none; color: rgba(236, 232, 255, .72); transition: color .2s; }
.links a:hover, .signin:hover { color: #fff; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(236, 232, 255, .18); background: rgba(8, 10, 30, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lang a { padding: 6px 9px; border-radius: 999px; text-decoration: none; font: 700 11.5px/1 var(--mono); letter-spacing: .06em; color: rgba(236, 232, 255, .62); }
.lang a[aria-current] { background: rgba(236, 232, 255, .9); color: #0b0d22; }
.lang a:not([aria-current]):hover { color: #fff; }
.signin { padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(236, 232, 255, .24); font: 600 13px/1 var(--sans); color: #f3f1ff; background: rgba(8, 10, 30, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------- chapter index: a quiet row at the bottom left ---------- */
.rail { position: fixed; z-index: 12; left: var(--gut); bottom: 26px; display: flex; gap: 4px; opacity: 0; transition: opacity .6s ease; }
.show-rail .rail { opacity: 1; }
.rail a { position: relative; display: grid; justify-items: center; gap: 6px; padding: 6px 5px; text-decoration: none; color: rgba(236, 232, 255, .36); }
.rail a::after { content: ''; width: 14px; height: 2px; border-radius: 1px; background: currentColor; opacity: .5; transition: width .3s, background .3s, opacity .3s; }
.rail b { font: 600 10.5px/1 var(--mono); letter-spacing: .06em; }
.rail span { position: absolute; left: 50%; bottom: calc(100% + 6px); font: 500 12px/1 var(--sans); opacity: 0; transform: translate(-50%, 4px); transition: opacity .25s, transform .25s; white-space: nowrap; padding: 6px 9px; border-radius: 8px; background: rgba(6, 8, 24, .9); border: 1px solid rgba(236, 232, 255, .12); pointer-events: none; color: #f4f2ff; }
.rail a:hover span, .rail a:focus-visible span { opacity: 1; transform: translate(-50%, 0); }
.rail a:hover, .rail a[aria-current='true'] { color: #fff; }
.rail a[aria-current='true']::after { width: 22px; opacity: 1; background: var(--lilac); box-shadow: 0 0 8px var(--lilac); }
@media (max-width: 1180px) and (min-aspect-ratio: 9/10) { .rail { display: none; } }

/* ---------- story: tall sections give the scroll length; the words float over the shot ---------- */
#story { position: relative; z-index: 4; }
.ch { position: relative; height: 200vh; }
.stick { position: sticky; top: 0; height: 100vh; height: 100svh; pointer-events: none; }
.gl .stick { position: fixed; inset: 0; height: auto; }
.panel { position: absolute; color: #f4f2ff; pointer-events: none; visibility: hidden; transform: translate(var(--dx, 0px), calc(var(--by, 0%) + var(--dy, 0px))); }
.panel.on { visibility: visible; }
.panel.live { pointer-events: auto; }

/* where the core line sits: one spot per chapter, the camera leaves it empty */
.panel[data-place='lm'] { left: var(--gut); top: 50%; --by: -50%; width: min(700px, 48vw); }
.panel[data-place='rm'] { right: var(--gut); top: 50%; --by: -50%; width: min(700px, 48vw); }
/* each line comes in from its own side */
.panel[data-place='lm'] h2 { --ex: -34px; --ey: 0px; }
.panel[data-place='rm'] h2 { --ex: 34px; --ey: 0px; }
.panel[data-place='tl'] h2 { --ex: -24px; --ey: -18px; }
.panel[data-place='tr'] h2 { --ex: 24px; --ey: -18px; }
.panel[data-place='bl'] h2 { --ex: -24px; --ey: 20px; }
.panel[data-place='br'] h2 { --ex: 24px; --ey: 20px; }
.panel[data-place='tl'] { left: var(--gut); top: 14vh; width: min(1120px, 78vw); }
.panel[data-place='tr'] { right: var(--gut); top: 14vh; width: min(1120px, 78vw); }
.panel[data-place='bl'] { left: var(--gut); bottom: 13vh; width: min(1120px, 78vw); }
.panel[data-place='br'] { right: var(--gut); bottom: 13vh; width: min(1120px, 78vw); }
.panel[data-place='rm'] h2, .panel[data-place='tr'] h2, .panel[data-place='br'] h2 { text-align: right; }
.panel[data-place='hero'] { left: var(--gut); bottom: clamp(70px, 11vh, 118px); width: min(470px, 34vw); }
@media (min-aspect-ratio: 9/10) { :lang(en) .panel[data-place='hero'] { width: min(560px, 40vw); } }

h1, h2 { margin: 0; font-weight: 800; letter-spacing: -.026em; color: #f7f5ff; text-wrap: balance; }
h1 { font-size: clamp(38px, 4vw, 60px); line-height: 1.1; text-shadow: 0 2px 34px rgba(0, 0, 0, .55); }
h2 { font-size: var(--core); line-height: 1.08; text-shadow: 0 4px 40px rgba(0, 0, 0, .7), 0 1px 3px rgba(0, 0, 0, .5); }
/* the guiding line: one sentence per row on wide screens, shrunk to its box by main.js (--fit) instead of wrapping */
.panel h2 { font-size: calc(var(--core) * var(--fit, 1)); line-height: 1.16; letter-spacing: -.022em; white-space: nowrap; }
.aside { font-size: .42em; font-weight: 600; letter-spacing: 0; color: rgba(236, 232, 255, .66); vertical-align: .32em; margin-left: .3em; white-space: nowrap; text-shadow: 0 2px 16px rgba(0, 0, 0, .8); }
.nw { white-space: nowrap; }
h1 em, h2 em { white-space: nowrap; font-style: normal; display: inline-block; background: linear-gradient(100deg, #f4f1ff 0%, #d2c8ff 38%, #a596ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 3px 22px rgba(0, 0, 0, .6)) drop-shadow(0 0 18px rgba(124, 108, 240, .35)); }
:lang(en) h2 { letter-spacing: -.03em; }

/* the core line arrives in one beat: a quick rise out of a blur, the accent a moment later; it leaves fast */
.panel h2 { opacity: 0; }
.panel.in h2 { animation: core-in .32s cubic-bezier(.2, .85, .25, 1) both; }
.panel.in h2 em { animation: core-em .34s cubic-bezier(.2, .85, .25, 1) .11s both; }
.panel.out h2 { animation: core-out .16s ease-in both; }
@keyframes core-in { from { opacity: 0; transform: translate(var(--ex, 0px), var(--ey, 22px)) scale(.985); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes core-em { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } to { opacity: 1; transform: none; filter: drop-shadow(0 3px 22px rgba(0, 0, 0, .6)) drop-shadow(0 0 18px rgba(124, 108, 240, .35)); } }
@keyframes core-out { from { opacity: 1; } to { opacity: 0; transform: translateY(-10px); } }
.hero .panel h1, .hero .panel .lede, .hero .panel .ask { transition: opacity .3s ease, transform .3s ease; }
.hero .panel.out h1, .hero .panel.out .lede, .hero .panel.out .ask { opacity: 0; transform: translateY(-10px); }

.lede { margin: 20px 0 24px; font: 450 17px/1.64 var(--sans); color: rgba(232, 232, 248, .8); text-shadow: 0 1px 16px rgba(0, 0, 0, .7); }
.body { margin: 18px 0 0; font: 450 16.5px/1.72 var(--sans); color: rgba(228, 230, 246, .84); }
.small { margin: 14px 0 0; font: 450 13px/1.62 var(--sans); color: rgba(214, 218, 240, .62); }

/* hero: one sentence, one action */
.ask { pointer-events: auto; }
.ask-label { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; font: 500 13px/1.3 var(--sans); color: rgba(236, 232, 255, .66); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips button { cursor: pointer; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(236, 232, 255, .2); background: rgba(10, 12, 34, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 600 14px/1.2 var(--sans); color: #f4f2ff; text-align: left; transition: background .25s, border-color .25s, box-shadow .25s; }
.chips button:hover { background: rgba(182, 170, 238, .14); border-color: rgba(217, 209, 255, .5); }
.chips button[aria-pressed='true'] { background: rgba(182, 170, 238, .24); border-color: rgba(217, 209, 255, .7); box-shadow: 0 0 0 4px rgba(124, 108, 240, .16), 0 8px 30px -10px rgba(124, 108, 240, .8); }
.chips button:focus-visible, .hot:focus-visible, .rail a:focus-visible, .still-actions button:focus-visible, .lang a:focus-visible { outline: 2px solid var(--lilac-hi); outline-offset: 3px; }
.cue { position: absolute; left: 50%; bottom: 62px; transform: translateX(-50%); margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 12px/1 var(--sans); letter-spacing: .04em; color: rgba(236, 232, 255, .45); opacity: var(--cue, 1); }
.cue i { width: 1px; height: 34px; background: linear-gradient(180deg, rgba(182, 170, 238, 0), rgba(182, 170, 238, .9)); animation: cue 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(16px); opacity: 0; } }

/* stills: only for the no-WebGL page; the sheet's approval buttons only on tall screens */
.still, .still-actions { display: none; }

/* ---------- callouts: labels pinned to points on the screens ---------- */
.callouts { position: fixed; inset: 0; z-index: 6; pointer-events: none; }
.leaders { position: absolute; inset: 0; overflow: visible; }
.leaders line { stroke: rgba(226, 220, 255, .72); stroke-width: 1; }
.leaders circle { fill: #ece8ff; }
.leaders circle.halo { fill: rgba(182, 170, 238, .28); }
.co { position: absolute; left: 0; top: 0; padding: 8px 12px; border-radius: 10px; background: rgba(9, 11, 32, .76); border: 1px solid rgba(182, 170, 238, .42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .9); font: 650 14px/1.3 var(--sans); color: #f4f2ff; white-space: nowrap; will-change: transform, opacity; }
.co small { display: block; margin-top: 2px; font: 500 12px/1.3 var(--sans); color: rgba(214, 218, 240, .66); }
.co.warm { border-color: rgba(255, 138, 76, .6); }
.co.mint { border-color: rgba(67, 214, 176, .5); }

/* ---------- hotspots: real buttons laid over buttons drawn on the screen ---------- */
.hotspots { position: fixed; inset: 0; z-index: 7; pointer-events: none; }
.hot { position: absolute; left: 0; top: 0; margin: 0; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer; pointer-events: auto; transition: box-shadow .2s, background .2s; }
.hot:hover { background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px rgba(236, 232, 255, .55), 0 0 22px rgba(182, 170, 238, .45); }
.hot[hidden] { display: none; }

/* ---------- pricing + footer: a normal page over the dimmed desk ---------- */
.pricing { position: relative; z-index: 5; padding: 30vh var(--gut) 0; background: linear-gradient(180deg, rgba(5, 6, 26, 0) 0, rgba(5, 6, 26, .78) 22vh, #05061a 46vh); }
.pricing-in { max-width: 1180px; margin: 0 auto; }
.pricing h2 { max-width: 900px; font-size: clamp(40px, 4.2vw, 64px); }
.pricing .body { max-width: 640px; }
.sale { margin: 18px 0 0; font: 700 16px/1.5 var(--sans); color: #f4f2ff; }
.site-footer { max-width: 1180px; margin: 0 auto; padding: 90px 0 110px; border-top: 1px solid rgba(196, 200, 240, .1); margin-top: 80px; }
.slogan { margin: 0; font: 800 clamp(26px, 2.6vw, 36px)/1.2 var(--sans); letter-spacing: -.01em; color: #f4f2ff; }
.meta { margin: 16px 0 0; font: 500 14px/1.6 var(--sans); color: rgba(214, 218, 240, .7); }
.meta .sep { margin: 0 4px; opacity: .5; }
.legal { display: flex; gap: 18px; margin: 18px 0 0; font: 500 13.5px/1 var(--sans); }
.legal a { color: rgba(236, 232, 255, .8); text-decoration: none; border-bottom: 1px solid rgba(236, 232, 255, .25); padding-bottom: 3px; }
.tm { max-width: 760px; margin: 22px 0 0; font: 450 12px/1.7 var(--sans); color: rgba(214, 218, 240, .46); }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }

/* ---------- the plan picker: frosted glass cards with a line mark; the chosen one opens with a spring ---------- */
.picker { margin: 34px 0 0; padding: 20px; border-radius: 28px; background: linear-gradient(160deg, rgba(40, 44, 100, .42), rgba(14, 16, 44, .5)); border: 1px solid rgba(236, 232, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 50px 120px -50px rgba(0, 0, 0, .9); backdrop-filter: blur(22px) saturate(1.25); -webkit-backdrop-filter: blur(22px) saturate(1.25); }
.picker-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 2px 4px 16px; }
.picker-title { margin: 0; font: 800 19px/1.2 var(--sans); color: #f4f2ff; letter-spacing: -.01em; }
.period { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(5, 6, 26, .55); border: 1px solid rgba(236, 232, 255, .14); }
.period button { position: relative; z-index: 1; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font: 700 14px/1 var(--sans); color: rgba(236, 232, 255, .66); transition: color .3s; }
.period button[aria-checked='true'] { color: #12142e; }
.period::before { content: ''; position: absolute; z-index: 0; top: 4px; bottom: 4px; left: var(--pl, 4px); width: var(--pw, 60px); border-radius: 999px; background: linear-gradient(180deg, #f4f1ff, #cfc6ff); box-shadow: 0 6px 20px -6px rgba(182, 170, 238, .8); transition: left .45s cubic-bezier(.34, 1.4, .5, 1), width .45s cubic-bezier(.34, 1.4, .5, 1); }
.plans { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; min-height: 360px; }
.plan { --o1: #f4f1ff; --o2: #a9a3d6; --o3: #5d5890; position: relative; flex: 1 1 0; min-width: 0; border-radius: 22px; overflow: hidden; background: linear-gradient(165deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035) 42%, rgba(124, 108, 240, .07)); border: 1px solid rgba(236, 232, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 30px 60px -36px rgba(0, 0, 0, .9); transition: flex-grow .62s cubic-bezier(.34, 1.36, .5, 1), flex-basis .62s cubic-bezier(.34, 1.36, .5, 1), border-color .3s, background .3s; }
.plan::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .07) 45%, transparent 60%); }
.plan[data-plan='pro'] { --o1: #e6dcff; --o2: #8b7cf6; --o3: #33289a; border-color: rgba(182, 170, 238, .42); }
.plan[data-plan='max'] { --o1: #ffe4cc; --o2: #ff8a4c; --o3: #8f3110; }
.plan[data-plan='slot'] { --o1: #d8fff4; --o2: #43d6b0; --o3: #11594a; }
.plan[data-plan='credit'] { --o1: #dce8ff; --o2: #6f95ff; --o3: #1f3a86; }
.plan-face { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 1fr; justify-items: start; gap: 6px; width: 100%; padding: 22px 20px 6px; cursor: pointer; color: #f4f2ff; }
.plan-face:focus-visible { outline: 2px solid var(--lilac-hi); outline-offset: -4px; border-radius: 20px; }
/* the mark: project cards in thin lines (generate-pages.mjs MARKS), the plan's colour only on its dots */
.mark { display: block; width: 72px; aspect-ratio: 1; margin: -4px 0 4px -5px; transition: width .62s cubic-bezier(.34, 1.36, .5, 1), margin .62s; }
.mark svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: rgba(236, 232, 255, .82); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mark svg * { vector-effect: non-scaling-stroke; }
.mark .c rect { fill: #1d1f4a; }
.mark .c path { stroke: rgba(236, 232, 255, .42); }
.mark .b1 { opacity: .78; } .mark .b2 { opacity: .56; } .mark .b3 { opacity: .38; }
.mark .dot { fill: var(--o2); stroke: none; filter: drop-shadow(0 0 3px var(--o2)); }
.mark .front .dot { filter: drop-shadow(0 0 5px var(--o2)); }
.mark .cloud { stroke: var(--o2); stroke-dasharray: 2.5 3; }
.mark .people circle { fill: #1d1f4a; }
.mark .people path { stroke: rgba(236, 232, 255, .42); }
.mark .people .dot { fill: var(--o2); stroke: none; }
.mark .c, .mark .people, .mark .cloud { transition: transform .62s cubic-bezier(.34, 1.36, .5, 1); }
/* opened, the stack fans out and the people step apart */
.plan.open .mark .b1 { transform: translate(1.5px, -1.5px); } .plan.open .mark .b2 { transform: translate(3px, -3px); } .plan.open .mark .b3 { transform: translate(4.5px, -4.5px); }
.plan.open .mark .cloud { transform: translate(2px, -2px); }
.plan.open .mark .people { transform: translate(1px, 1px); }
.picker[data-open] .plan.open .mark svg { stroke-width: 1.8; }
.plan-name { font: 800 17px/1.25 var(--sans); letter-spacing: -.01em; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0; font: 800 30px/1.1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan-price .unit { margin-left: 2px; font: 600 13px/1.2 var(--sans); letter-spacing: 0; color: rgba(214, 218, 240, .66); }
.roll { display: inline-flex; overflow: hidden; height: 1.1em; vertical-align: top; }
.roll .ch { display: inline-block; height: 1.1em; }
.roll .col { display: inline-flex; flex-direction: column; transition: transform .7s cubic-bezier(.34, 1.2, .5, 1); }
.roll .col span { display: block; height: 1.1em; }
.plan-body { padding: 8px 20px 22px; }
.feat, .packs { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid rgba(236, 232, 255, .12); display: grid; gap: 8px; }
.feat li { position: relative; padding-left: 18px; font: 500 14px/1.45 var(--sans); color: rgba(232, 232, 248, .86); }
.feat li::before { content: ''; position: absolute; left: 0; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--o2); box-shadow: 0 0 10px var(--o2); }
.packs { margin-top: 12px; gap: 6px; }
.packs li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 10px; background: rgba(5, 6, 26, .35); font: 600 13px/1.3 var(--sans); color: #ecebff; }
.packs b { font-weight: 700; color: #bcd0ff; }
.plan-note { margin: 12px 0 0; font: 500 12.5px/1.45 var(--sans); color: rgba(214, 218, 240, .56); }
.plan .pill-soon { padding: 3px 7px; font-size: 11px; vertical-align: 1px; }
/* one plan open: it takes the room, the others fold into narrow strips with their names turned */
.picker[data-open] .plan { flex: 0 0 66px; cursor: pointer; }
.picker[data-open] .plan.open { flex: 1 1 0; }
.picker[data-open] .plan:not(.open) .plan-face { height: 100%; padding: 16px 0; justify-items: center; align-content: start; }
.picker[data-open] .plan:not(.open) .mark { width: 34px; margin: 0 0 14px; }
.picker[data-open] .plan:not(.open) .plan-name { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 15px; white-space: nowrap; }
.picker[data-open] .plan:not(.open) .plan-price, .picker[data-open] .plan:not(.open) .plan-body { display: none; }
:lang(ko) .picker[data-open] .plan:not(.open) .plan-name { transform: none; letter-spacing: .08em; }
.picker[data-open] .plan.open { display: grid; grid-template-columns: minmax(150px, 34%) 1fr; align-items: center; }
.picker[data-open] .plan.open .plan-face { grid-row: 1 / span 2; padding: 26px; justify-items: center; text-align: center; }
.picker[data-open] .plan.open .mark { width: 150px; margin: 0 0 18px; }
.picker[data-open] .plan.open .plan-name { font-size: 22px; }
.picker[data-open] .plan.open .plan-price { font-size: 40px; justify-content: center; }
.picker[data-open] .plan.open .plan-body { padding: 26px 28px 26px 0; animation: body-in .45s cubic-bezier(.2, .8, .3, 1) both .12s; }
.picker[data-open] .plan.open .feat li { font-size: 15.5px; }
@keyframes body-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.plan-close { display: none; }
.picker[data-open] .plan.open .plan-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(236, 232, 255, .22); background: rgba(5, 6, 26, .45); color: #ecebff; font: 600 18px/1 var(--sans); cursor: pointer; }
.sale { margin: 22px 0 0; font: 700 16px/1.5 var(--sans); color: #ffffff; }

/* ---------- the glass sign-in: a frosted card over a faceted dark wall, a glass panel that slides between halves ---------- */
.login { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: radial-gradient(120% 90% at 30% 20%, #191b33 0%, #0b0c18 55%, #05060c 100%); opacity: 0; transition: opacity .35s ease; }
.login.on { opacity: 1; }
.login-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.login-x { position: absolute; z-index: 3; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(10, 10, 20, .4); color: #fff; font: 500 24px/1 var(--sans); cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.login-card { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; width: min(880px, 100%); min-height: 430px; border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04) 55%, rgba(182, 170, 238, .06)); border: 1px solid rgba(255, 255, 255, .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 50px 120px -40px rgba(0, 0, 0, .95); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); transform: translateY(14px) scale(.985); transition: transform .5s cubic-bezier(.2, .8, .3, 1); }
.login.on .login-card { transform: none; }
.side { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 54px 50px; color: #f6f5ff; transition: opacity .35s ease; }
.side-kicker { margin: 0; font: 700 12px/1 var(--mono); letter-spacing: .2em; color: rgba(236, 232, 255, .55); }
.side h3 { margin: 0; font: 800 34px/1.1 var(--sans); letter-spacing: -.02em; }
.side-sub { margin: 0 0 8px; font: 500 15px/1.55 var(--sans); color: rgba(236, 236, 250, .78); }
.g-btn { display: inline-flex; align-items: center; gap: 12px; padding: 13px 22px 13px 18px; border-radius: 999px; background: #fff; color: #1f1f1f; text-decoration: none; font: 700 15px/1 var(--sans); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .7); transition: transform .2s, box-shadow .2s; }
.g-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .8); }
.g-btn:focus-visible, .text-link:focus-visible, .flip:focus-visible, .login-x:focus-visible { outline: 2px solid var(--lilac-hi); outline-offset: 3px; }
.text-link { font: 600 14px/1.4 var(--sans); color: rgba(236, 232, 255, .82); text-decoration: none; border-bottom: 1px solid rgba(236, 232, 255, .32); padding-bottom: 2px; }
.slider { position: absolute; z-index: 2; top: 0; bottom: 0; left: 50%; width: 50%; background: linear-gradient(150deg, rgba(198, 188, 255, .3), rgba(124, 108, 240, .16) 55%, rgba(255, 255, 255, .07)); border-left: 1px solid rgba(255, 255, 255, .3); box-shadow: inset 1px 0 0 rgba(255, 255, 255, .15), -30px 0 60px -30px rgba(0, 0, 0, .6); backdrop-filter: blur(28px) saturate(1.6) brightness(.92); -webkit-backdrop-filter: blur(28px) saturate(1.6) brightness(.92); clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%); transition: transform .72s cubic-bezier(.72, 0, .2, 1), clip-path .72s cubic-bezier(.72, 0, .2, 1); }
.login-card[data-side='b'] .slider { transform: translateX(-100%); clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%); }
.face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 54px 50px 54px 70px; color: #fff; transition: opacity .3s ease .25s, transform .55s cubic-bezier(.2, .8, .3, 1) .2s; }
.login-card[data-side='b'] .face { padding: 54px 70px 54px 50px; }
.face h4 { margin: 0; font: 800 30px/1.1 var(--sans); letter-spacing: -.02em; text-transform: none; }
.face p { margin: 0 0 10px; font: 500 15px/1.55 var(--sans); color: rgba(255, 255, 255, .82); }
.flip { padding: 11px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); color: #fff; font: 700 14px/1 var(--sans); cursor: pointer; transition: background .2s; }
.flip:hover { background: rgba(255, 255, 255, .16); }
.login-card[data-side='a'] .face.to-a, .login-card[data-side='b'] .face.to-b { opacity: 0; transform: translateX(20px); pointer-events: none; transition-delay: 0s; }
.login-card[data-side='a'] .side.b, .login-card[data-side='b'] .side.a { opacity: 0; }
body.login-open { overflow: hidden; }
@media (max-width: 720px) {
  .login-card { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; min-height: min(640px, 88vh); }
  .side { padding: 34px 26px; gap: 10px; }
  .side h3 { font-size: 28px; }
  .slider { left: 0; top: 50%; width: 100%; height: 50%; bottom: auto; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .3); clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 100%); }
  .login-card[data-side='b'] .slider { transform: translateY(-100%); clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%); }
  .face, .login-card[data-side='b'] .face { padding: 34px 26px; }
  .face h4 { font-size: 24px; }
}
@media (max-width: 900px) {
  .plans { flex-direction: column; min-height: 0; }
  .plan { flex: 0 0 auto; }
  .picker[data-open] .plan { flex: 0 0 auto; }
  .picker[data-open] .plan:not(.open) .plan-face { height: auto; padding: 12px 16px; grid-template-columns: auto 1fr; justify-items: start; align-items: center; column-gap: 12px; }
  .picker[data-open] .plan:not(.open) .mark { width: 30px; margin: 0; }
  .picker[data-open] .plan:not(.open) .plan-name { writing-mode: horizontal-tb; transform: none; }
  .picker[data-open] .plan.open { display: block; flex: 0 0 auto; }
  .picker[data-open] .plan.open .plan-face { padding: 22px 20px 6px; }
  .picker[data-open] .plan.open .mark { width: 96px; }
  .picker[data-open] .plan.open .plan-body { padding: 8px 20px 22px; }
  .picker-top { flex-wrap: wrap; }
  .feat li, .plan-note, .packs li { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .plan, .mark, .mark .c, .mark .people, .mark .cloud, .roll .col, .period::before, .slider, .face, .login, .login-card { transition: none !important; }
  .picker[data-open] .plan.open .plan-body { animation: none; }
}

/* ---------- tablets and phones held upright: the shot and the line take turns, top and bottom ---------- */
@media (max-aspect-ratio: 9/10) {
  :root { --gut: 18px; --core: clamp(26px, 7.2vw, 44px); }
  .panel h2 { white-space: normal; text-wrap: balance; }
  .links, .rail { display: none; }
  .top { padding: 14px 16px; gap: 10px; }
  .lang { margin-left: auto; }
  .panel, .panel[data-place] { left: 18px; right: 18px; width: auto; top: auto; bottom: auto; --by: 0%; }
  .panel[data-place] h2 { --ex: 0px; }
  .panel[data-mplace='top'] h2 { --ey: -16px; }
  .panel[data-mplace='bottom'] h2 { --ey: 18px; }
  .panel[data-mplace='bottom'] { bottom: 70px; }
  .panel[data-mplace='top'] { top: 76px; }
  .panel[data-place] h2 { text-align: left; }
  .panel[data-place='hero'] { bottom: 64px; }
  h1 { font-size: clamp(31px, 8.4vw, 46px); }
  .lede { font-size: 15.5px; margin: 12px 0 14px; }
  .small { font-size: 15px; line-height: 1.5; }
  .chips button { padding: 9px 12px; font-size: 14px; }
  .cue { display: none; }
  .co { padding: 7px 10px; font-size: 15px; }
  .co small { font-size: 12px; }
  /* the approval demo as real buttons in the sheet (the ones on the monitor are too small to tap here) */
  .still-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; pointer-events: auto; }
  .still-actions button { cursor: pointer; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(236, 232, 255, .22); background: rgba(236, 232, 255, .06); font: 600 15px/1 var(--sans); color: #f4f2ff; }
  .still-actions button[data-hot-alt='once'], .still-actions button[data-hot-alt='publish'] { border-color: rgba(255, 138, 76, .6); background: rgba(255, 138, 76, .14); }
}
@media (max-aspect-ratio: 9/10) and (min-width: 700px) {
  :root { --core: 44px; }
  .panel, .panel[data-place] { left: 40px; right: 40px; }
  .panel[data-mplace='bottom'] { bottom: 84px; }
  .panel[data-mplace='top'] { top: 92px; }
  h1 { font-size: 50px; }
  .lede { font-size: 17px; }
}
@media (max-width: 560px) {
  /* a long English accent may wrap on a phone instead of running off the edge */
  h1 em, .pricing h2 em, .pricing h2 .nw { white-space: normal; display: inline; }
}
@media (min-aspect-ratio: 9/10) and (max-width: 1100px) { .links { display: none; } .lang { margin-left: auto; } }

/* ---------- reduced motion: stills, no flight ---------- */
@media (prefers-reduced-motion: reduce) {
  .cue i { animation: none; }
  #stage { transition: none; }
  .panel.in h2, .panel.in h2 em { animation: none; opacity: 1; }
  .panel.out h2 { animation: none; opacity: 0; }
}

/* ---------- no WebGL: a readable page with the real captures ---------- */
.no-gl #stage, .no-gl .veil, .no-gl .callouts, .no-gl .hotspots, .no-gl .loading, .no-gl .rail, .no-gl .cue { display: none; }
.no-gl .ch { height: auto; padding: 120px var(--gut) 40px; }
.no-gl .stick { position: static; height: auto; pointer-events: auto; }
.no-gl .panel, .no-gl .panel[data-place] { position: static; transform: none; visibility: visible; width: auto; max-width: 860px; margin: 0 auto 64px; pointer-events: auto; text-align: left; }
.no-gl .panel h2 { opacity: 1; text-align: left; }
.no-gl .still { display: block; margin: 26px 0 0; }
.no-gl .still img, .no-gl .still canvas { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(196, 200, 240, .16); }
.no-gl .still-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.no-gl .still-actions button { cursor: pointer; padding: 9px 13px; border-radius: 10px; border: 1px solid rgba(236, 232, 255, .22); background: rgba(236, 232, 255, .06); font: 600 14px/1 var(--sans); color: #f4f2ff; }
.no-gl [data-approve-said] { position: static !important; width: auto; height: auto; clip: auto; white-space: normal; margin: 12px 0 0; font: 600 15px/1.5 var(--sans); }
.no-gl .pricing { padding-top: 60px; background: var(--night); }

/* ---------- the site's parts in the 4안 footer: the operator block (Korean e-commerce act art. 10/13) and "Pause motion" ---------- */
.legal { flex-wrap: wrap; row-gap: 12px; }
.legal strong, .operator strong { font-weight: 700; }
.site-footer .operator { display: flex; flex-wrap: wrap; gap: 4px 16px; max-width: 980px; margin: 34px 0 0; padding-top: 22px; border-top: 1px solid rgba(196, 200, 240, .08); font: 450 12px/1.75 var(--sans); color: rgba(214, 218, 240, .5); }
.site-footer .operator a { color: rgba(236, 232, 255, .74); text-decoration: none; border-bottom: 1px solid rgba(236, 232, 255, .22); }
.site-footer .operator a:hover, .legal a:hover { color: #fff; }
.icon { width: 13px; height: 13px; margin-left: 3px; vertical-align: -2px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 22px 0 0; }
.copyright { margin: 0; font: 450 12px/1 var(--sans); color: rgba(214, 218, 240, .42); }
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 4px; border: 0; background: none; color: rgba(214, 218, 240, .62); font: 600 13px/1.2 var(--sans); cursor: pointer; transition: color .2s; }
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { color: #fff; }
.motion-toggle:focus-visible, .legal a:focus-visible, .operator a:focus-visible, .small a:focus-visible, .links a:focus-visible, .signin:focus-visible, .brand:focus-visible, .plan-close:focus-visible, .period button:focus-visible { outline: 2px solid var(--lilac-hi); outline-offset: 3px; }
.motion-switch { position: relative; width: 26px; height: 15px; flex: none; border: 1px solid rgba(236, 232, 255, .28); border-radius: 999px; transition: background-color .2s, border-color .2s; }
.motion-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 9px; height: 9px; border-radius: 50%; background: rgba(214, 218, 240, .62); transition: transform .2s, background-color .2s; }
.motion-toggle[aria-pressed='true'] { color: #f4f2ff; }
.motion-toggle[aria-pressed='true'] .motion-switch { border-color: rgba(182, 170, 238, .6); background: rgba(182, 170, 238, .2); }
.motion-toggle[aria-pressed='true'] .motion-switch::after { transform: translateX(11px); background: var(--lilac); }

/* ---------- the plan picker's generated parts (generate-pages.mjs homePicker) ---------- */
.small .more { margin-left: 6px; color: rgba(236, 232, 255, .8); text-decoration: none; border-bottom: 1px solid rgba(236, 232, 255, .28); white-space: nowrap; }
.small .more:hover { color: #fff; }
/* a plan that is not on sale yet (Max) shows "곧 나와요" / "Soon" where the price would be */
.plan-price-soon { font-size: 24px; letter-spacing: -.01em; color: var(--orange-hi); }
.picker[data-open] .plan.open .plan-price-soon { font-size: 30px; }
/* A price never breaks inside its unit; in an opened card too narrow for the 40 px price it steps down. */
.plan-face { container-type: inline-size; }
.plan-price .unit { white-space: nowrap; }
@container (max-width: 236px) {
  .picker[data-open] .plan.open .plan-price { font-size: 30px; }
}

/* ---------- "Pause motion": the same stills as the reduced-motion setting ---------- */
:root[data-motion='off'] *, :root[data-motion='off'] *::before, :root[data-motion='off'] *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
:root[data-motion='off'] .cue i { animation: none; }
:root[data-motion='off'] .panel.in h2, :root[data-motion='off'] .panel.in h2 em { animation: none; opacity: 1; }
:root[data-motion='off'] .panel.out h2 { animation: none; opacity: 0; }
:root[data-motion='off'] .picker[data-open] .plan.open .plan-body { animation: none; }
