/* SLOX AX home v4: additions to the live design, adapted from the supplied reference. */
/* A quiet second way out for the other audience: closes the popup and goes to that section. */
.sx-popup__alt { display: flex; align-items: center; gap: var(--space-2); width: 100%; min-height: 44px; margin-top: var(--space-2); padding: 0 var(--space-1); border-radius: var(--radius-sm); color: var(--muted); font: 500 15px/22px var(--font-sans); letter-spacing: -0.01em; text-decoration: none; }
.sx-popup__alt .sx-new { flex: none; margin-left: 0; vertical-align: 0; }
.sx-popup__alt strong { color: var(--green); font-weight: 650; }
.sx-popup__alt svg { flex: none; width: 18px; height: 18px; margin-left: auto; color: var(--green); transition: transform .15s ease; }
.sx-popup__alt:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.sx-popup__alt:hover svg { transform: translate3d(4px, 0, 0); }
.sx-popup__alt:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.sx-popup__foot { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 var(--space-5); border-top: 1px solid var(--line); background: var(--white); }
.sx-popup__footbtn { min-height: 44px; padding: 0 var(--space-1); border: 0; background: none; color: var(--muted); font: 400 14px/22px var(--font-sans); letter-spacing: -0.005em; cursor: pointer; }
.sx-popup__footbtn--close { color: var(--ink); font-weight: 650; }
.sx-popup__footbtn:hover { text-decoration: underline; text-underline-offset: 4px; }
.sx-popup__footbtn:focus-visible { outline: 2px solid transparent; border-radius: 2px; box-shadow: var(--focus-ring); }


/* ---------- 13c. Home v3: two ways in + AI office (1인 사업자용) ---------- */
.sx-new { display: inline-block; margin-left: 2px; padding: 0 6px; border-radius: var(--radius-sm); background: var(--lime); color: var(--ink); font: 700 11px/18px var(--font-sans); letter-spacing: .06em; vertical-align: 2px; }
.sx-tag svg { flex: none; width: 14px; height: 14px; }
.sx-section--tight { padding-block: var(--space-9); }
.sx-tabs--center { max-width: 640px; margin-inline: auto; }
.sx-tab .sx-new { margin-left: 0; vertical-align: 0; }

/* Two ways in: one card per audience. The whole card is one link (the 「… 보기」 line, stretched over the card by ::after),
   and the 「영상 보기」 button on the photo sits above it. A <button> may not sit inside an <a>, so the card is an <article>. */
.sx-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.sx-door { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .2s ease; }
.sx-door__photo { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sage); }
.sx-door__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sx-door__photo .sx-door__img--right { object-position: 82% 62%; }
.sx-door__tags { position: absolute; left: var(--space-4); top: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.sx-door__body { display: grid; grid-template-rows: auto 1fr auto; gap: var(--space-3); padding: var(--space-6); }
.sx-door__title { display: block; margin: 0; }
.sx-door__text { margin: 0; color: var(--muted); }
.sx-door__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-top: var(--space-3); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.sx-door__meta { color: var(--muted); }
.sx-door__go { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--green); font: 650 16px/24px var(--font-sans); letter-spacing: -0.01em; white-space: nowrap; }
.sx-door__go svg { width: 18px; height: 18px; transition: transform .15s ease; }
.sx-door__go { text-decoration: none; }
.sx-door__go::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sx-door__go:focus-visible { outline: none; }
.sx-door:has(.sx-door__go:focus-visible) { box-shadow: var(--focus-ring); }
.sx-door__play { position: absolute; z-index: 2; left: var(--space-4); bottom: var(--space-4); }
.sx-door__foot { min-height: calc(var(--space-5) + 44px); }  /* room for two short lines, so the two cards' foot lines meet side by side */
.sx-door__status { display: grid; gap: 2px; }
.sx-door__status b { margin-right: var(--space-2); color: var(--green); font-weight: 650; }
@media (hover: hover) {
  .sx-door:hover { border-color: var(--green); }
  .sx-door:hover .sx-door__photo img { transform: scale(1.03); }
  .sx-door:hover .sx-door__go svg { transform: translate3d(4px, 0, 0); }
}

/* Starter box: a CSS 3D box, two 도사 cards behind it and the install-code ticket in front. Sized in em off the panel width. */
.sx-boxstage, .sx-setupstage { container-type: inline-size; display: grid; place-items: center; }
.sx-boxart { position: relative; width: 30em; height: 27em; font-size: min(16px, 3.33cqi); line-height: 1.4; letter-spacing: -0.01em; text-align: left; perspective: 90em; perspective-origin: 50% 35%; }
.sx-boxart__shadow { position: absolute; left: .8em; top: 22.9em; width: 21em; height: 3.2em; border-radius: 50%; background: radial-gradient(closest-side, var(--backdrop), transparent); }
.sx-box { position: absolute; left: 3.2em; top: 4.6em; width: 14em; height: 19em; transform-style: preserve-3d; transform: rotateX(-7deg) rotateY(-27deg); }
.sx-box__front, .sx-box__side, .sx-box__top { position: absolute; outline: 1px solid transparent; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.sx-box__front { inset: 0; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; border-radius: .3em; background: linear-gradient(150deg, var(--photo-tint) 0%, var(--green) 55%, var(--ink) 100%); color: var(--on-green); box-shadow: inset 0 0 0 1px var(--glass-line); transform: translateZ(1.8em); }
.sx-box__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(112deg, transparent 38%, var(--glass-line) 50%, transparent 62%); opacity: .45; pointer-events: none; }
.sx-box__side { top: 0; left: calc(50% - 1.8em); width: 3.6em; height: 100%; display: grid; place-items: center; overflow: hidden; border-radius: .2em; background: var(--ink); color: var(--on-green-muted); transform: rotateY(90deg) translateZ(7em); }
.sx-box__side::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2.3em; background: var(--lime); }
.sx-box__side::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2.3em; background: var(--glass); }
.sx-box__side span { writing-mode: vertical-rl; font-size: .66em; font-weight: 700; letter-spacing: .16em; white-space: nowrap; }
.sx-box__top { left: 0; top: calc(50% - 1.8em); width: 100%; height: 3.6em; border-radius: .2em; background: var(--photo-tint); transform: rotateX(90deg) translateZ(9.5em); }
.sx-box__band { display: flex; align-items: center; justify-content: space-between; gap: .6em; height: 2.3em; padding: 0 1em; background: var(--lime); color: var(--ink); }
.sx-box__band b { font-size: .7em; font-weight: 800; letter-spacing: .16em; }
.sx-box__band i { font-size: .62em; font-style: normal; font-weight: 700; }
.sx-box__main { display: grid; align-content: end; gap: .3em; padding: 1.1em 1.1em 1.3em; }
.sx-box__logo { width: 4.8em; height: 3.8em; margin-bottom: .5em; background: var(--lime); -webkit-mask: var(--sx-logo) left center / contain no-repeat; mask: var(--sx-logo) left center / contain no-repeat; }
.sx-box__name { font-size: 2.15em; line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; }
.sx-box__line { color: var(--on-green-muted); font-size: .78em; }
.sx-box__foot { display: flex; align-items: center; justify-content: space-between; gap: .6em; padding: .75em 1.1em; border-top: 1px solid var(--glass-line); }
.sx-box__foot b { font-size: .68em; font-weight: 800; letter-spacing: .1em; }
.sx-box__foot i { color: var(--on-green-muted); font-size: .6em; font-style: normal; }
.sx-box__seal { position: absolute; right: .9em; top: 3.3em; width: 6.6em; height: 6.6em; display: grid; place-items: center; border-radius: var(--radius-full); background: var(--lime); color: var(--ink); font-size: .66em; line-height: 1.3; font-weight: 800; text-align: center; transform: rotate(12deg); }
.sx-boxart__card { position: absolute; width: 8.2em; height: 11.2em; display: grid; grid-template-rows: auto auto 1fr; padding: .85em; border: 1px solid var(--line); border-radius: .8em; background: var(--white); color: var(--ink); box-shadow: var(--shadow-md); transition: transform .8s cubic-bezier(.2, .8, .2, 1) var(--sx-card-delay, .25s), opacity .45s ease var(--sx-card-delay, .25s); }
.sx-boxart__card small { color: var(--green); font-size: .66em; font-weight: 650; }
.sx-boxart__card b { font-size: 1.02em; font-weight: 700; }
.sx-boxart__card i { display: grid; place-items: center; margin-top: .6em; border-radius: .5em; background: var(--sage); color: var(--green); }
.sx-boxart__card svg { width: 2.6em; height: 2.6em; }
.sx-boxart__card--a { left: 17em; top: 6.6em; transform: rotate(-4deg); --sx-card-delay: .4s; }
.sx-boxart__card--b { left: 22em; top: 2.2em; transform: rotate(9deg); }
.sx-boxart__ticket { position: absolute; left: 15em; top: 21em; display: flex; align-items: center; gap: .8em; min-width: 13.2em; padding: .8em 1.1em; border: 1px solid var(--line); border-radius: .7em; background: var(--white); color: var(--ink); box-shadow: var(--shadow-md); transform: rotate(-4deg); transition: transform .8s cubic-bezier(.2, .8, .2, 1) .55s, opacity .45s ease .55s; }
.sx-boxart__ticket svg { flex: none; width: 2.4em; height: 2.4em; padding: .5em; border-radius: var(--radius-full); background: var(--green); color: var(--lime); }
.sx-boxart__ticket small { display: block; color: var(--muted); font-size: .7em; font-weight: 600; }
.sx-boxart__ticket b { display: block; font-size: 1em; font-weight: 700; letter-spacing: .05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sx-js .sx-reveal:not(.is-in) .sx-boxart__card { opacity: 0; transform: translate3d(-8em, 4em, 0) rotate(0deg) scale(.9); }
.sx-js .sx-reveal:not(.is-in) .sx-boxart__ticket { opacity: 0; transform: translate3d(-8em, -3em, 0) rotate(0deg) scale(.9); }

/* In a narrow panel (phones) the composition tightens so the box can be drawn larger. */
@container (max-width: 420px) {
  .sx-boxart { width: 24.6em; height: 26.4em; font-size: min(16px, 4.06cqi); }
  .sx-boxart__shadow { left: -1.2em; }
  .sx-box { left: 1.2em; }
  .sx-boxart__card--a { left: 15.2em; top: 7.2em; }
  .sx-boxart__card--b { left: 16.8em; top: 1.8em; }
  .sx-boxart__ticket { left: 9.6em; }
}

/* Install window: what the buyer fills in, and what gets seated. */
.sx-setup { width: 100%; max-width: 30em; font-size: clamp(12px, 3.5cqi, 15px); line-height: 1.5; letter-spacing: -0.01em; text-align: left; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); color: var(--ink); box-shadow: var(--shadow-md); overflow: hidden; }
.sx-setup__bar { display: flex; align-items: center; gap: .7em; height: 3.5em; padding: 0 1.3em; background: var(--paper); border-bottom: 1px solid var(--line); }
.sx-setup__bar img { width: 1.9em; height: auto; }
.sx-setup__bar b { font-weight: 700; }
.sx-setup__bar span { margin-left: auto; color: var(--muted); font-size: .85em; font-weight: 600; font-variant-numeric: tabular-nums; }
.sx-setup__body { display: grid; gap: 1.3em; padding: 1.4em 1.4em 1.5em; }
.sx-setup__spec { display: grid; gap: .7em; }
.sx-setup__row { display: grid; grid-template-columns: 4.4em minmax(0, 1fr); gap: .8em; align-items: center; }
.sx-setup__row > span:first-child { color: var(--muted); font-size: .88em; }
.sx-setup__chips { display: flex; flex-wrap: wrap; gap: .4em; }
.sx-setup__chip { padding: .3em .75em; border-radius: var(--radius-sm); background: var(--sage); color: var(--green); font-size: .88em; font-style: normal; font-weight: 600; }
.sx-setup__meter { display: grid; gap: .5em; }
.sx-setup__track { display: block; height: .55em; border-radius: var(--radius-full); background: var(--paper); overflow: hidden; }
.sx-setup__track i { display: block; height: 100%; border-radius: inherit; background: var(--green); transform-origin: left center; transition: transform 1.3s cubic-bezier(.3, .7, .2, 1) .35s; }
.sx-setup__status { display: flex; justify-content: space-between; gap: 1em; font-size: .84em; }
.sx-setup__status b { font-weight: 650; }
.sx-setup__status span { color: var(--muted); font-variant-numeric: tabular-nums; }
.sx-setup__list { display: grid; gap: .5em; }
.sx-setup__item { display: grid; grid-template-columns: 1.7em minmax(0, 1fr) auto; gap: .8em; align-items: center; padding: .65em .9em; border: 1px solid var(--line); border-radius: var(--radius-md); transition: opacity .4s ease, transform .4s ease; }
.sx-setup__item:nth-child(1) { transition-delay: .8s; }
.sx-setup__item:nth-child(2) { transition-delay: 1.05s; }
.sx-setup__item:nth-child(3) { transition-delay: 1.3s; }
.sx-setup__item svg { width: 1.7em; height: 1.7em; padding: .35em; border-radius: var(--radius-full); background: var(--green); color: var(--on-green); }
.sx-setup__item b { display: block; font-weight: 650; }
.sx-setup__item small { display: block; color: var(--muted); font-size: .82em; }
.sx-setup__item em { color: var(--green); font-size: .8em; font-style: normal; font-weight: 650; white-space: nowrap; }
.sx-setup__item--wait { border-style: dashed; border-color: var(--line-strong); }
.sx-setup__item--wait svg { background: var(--paper); color: var(--muted); }
.sx-setup__item--wait em { color: var(--muted); }
.sx-setup__go { display: flex; align-items: center; justify-content: center; gap: .5em; height: 3.1em; border-radius: var(--radius-md); background: var(--lime); color: var(--ink); font-weight: 700; }
.sx-setup__go svg { width: 1.2em; height: 1.2em; }
.sx-js .sx-reveal:not(.is-in) .sx-setup__track i { transform: scaleX(0); }
.sx-js .sx-reveal:not(.is-in) .sx-setup__item { opacity: 0; transform: translate3d(0, .6em, 0); }

/* Numbered steps beside the install window. */
.sx-stepslist { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: var(--space-4); counter-reset: sx-st; }
.sx-stepslist li { counter-increment: sx-st; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--space-4); align-items: start; }
.sx-stepslist li::before { content: counter(sx-st, decimal-leading-zero); grid-row: 1 / span 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--green); color: var(--on-green); font: 700 14px/1 var(--font-sans); letter-spacing: .04em; }
.sx-stepslist strong { font-weight: 650; }
.sx-stepslist span { color: var(--muted); }

/* A small centered heading inside a section, above a card row. */
.sx-subhead { display: grid; gap: var(--space-2); justify-items: center; margin-top: var(--space-9); text-align: center; }
.sx-subhead p { margin: 0; color: var(--sx-fg-muted); }
.sx-subhead + * { margin-top: var(--space-6); }

/* 도사 card: who takes which job in the office. */
.sx-dosa { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: var(--space-2); padding: var(--space-6); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); color: var(--ink); }
.sx-dosa__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); }
.sx-dosa__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--sage); color: var(--green); }
.sx-dosa__icon svg { width: 28px; height: 28px; }
.sx-dosa__role { margin: 0; color: var(--green); font-weight: 650; }
.sx-dosa__text { margin: 0; color: var(--muted); }
.sx-dosa__meta { margin: var(--space-3) 0 0; padding-top: var(--space-4); border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; }

/* Pre-order band: copy on green, the form on a white island. */
.sx-apply { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; margin-top: var(--space-9); padding: var(--space-8); border-radius: var(--radius-xl); scroll-margin-top: calc(var(--nav-height) + var(--space-5)); }
.sx-apply__copy { display: grid; gap: var(--space-4); justify-items: start; }
.sx-apply__copy p { margin: 0; color: var(--sx-fg-muted); }
.sx-apply__form { display: grid; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-lg); }

/* ---------- 13d. Home v4: video player, solo hint, 도사 cards, box band, choice chips, video window ---------- */
/* One quiet line in the hero for solo visitors. It sits under the lead and never competes with the main CTA. */
.sx-hero__solo { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: var(--space-1); padding: 6px 0; border-bottom: 1px solid var(--glass-line); color: var(--on-green-muted); font: 500 15px/22px var(--font-sans); letter-spacing: -0.01em; text-decoration: none; transition: color .15s ease, border-color .15s ease; }
.sx-hero__solo strong { color: var(--on-green); font-weight: 650; }
.sx-hero__solo svg { width: 16px; height: 16px; flex: none; color: var(--lime); transition: transform .15s ease; }
.sx-hero__solo:hover { color: var(--on-green); border-bottom-color: var(--on-green-muted); }
.sx-hero__solo:hover svg { transform: translate3d(3px, 0, 0); }
.sx-hero__solo:focus-visible { outline: 2px solid transparent; border-radius: 2px; box-shadow: var(--focus-ring-on-green); }

/* Video player. The box has a fixed ratio, so nothing below it moves when the poster or the video arrives.
   data-state: playing | paused | idle (reduced motion, not started) | nofile (no video file: poster only).
   data-variant="m": the portrait phone version (set before first paint by the small script after the player). */
.sx-player { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: var(--ink); }
.sx-player[data-variant="m"] { aspect-ratio: 9 / 16; width: min(100%, calc(70vh * 9 / 16)); margin-inline: auto; }
@supports (height: 1svh) { .sx-player[data-variant="m"] { width: min(100%, calc(70svh * 9 / 16)); } }
.sx-player__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.sx-player--frame { border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--sage); }
.sx-player__toggle { position: absolute; z-index: 2; right: 12px; bottom: 12px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--glass-line); border-radius: var(--radius-full); background: var(--glass-strong); color: var(--on-green); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .15s ease, transform .2s ease; }
.sx-player__toggle span { display: grid; place-items: center; }
.sx-player__toggle svg { width: 14px; height: 14px; }
.sx-player__i-play { display: none !important; }
.sx-player:not([data-state="playing"]) .sx-player__i-play { display: grid !important; }
.sx-player:not([data-state="playing"]) .sx-player__i-pause { display: none !important; }
.sx-player__toggle:hover { background: var(--green); }
.sx-player__toggle:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-on-green); }
.sx-player[data-state="idle"] .sx-player__toggle { right: 50%; bottom: 50%; width: 76px; height: 76px; border-color: transparent; background: var(--lime); color: var(--ink); box-shadow: var(--shadow-md); transform: translate3d(50%, 50%, 0); }
.sx-player[data-state="idle"] .sx-player__toggle svg { width: 28px; height: 28px; }
.sx-player[data-state="nofile"] .sx-player__toggle { display: none; }
/* Hero: one control at a time, never two (12/4 저녁).
   - Moving: the top-right 「화면 움직임 멈춤」 button stops and restarts the photos and the video together; the video's own button stays hidden.
   - The loop stopped by itself (autoplay refused, battery saver, the tab came back paused): the script stops the photos too
     (html.sx-motion-off.sx-motion-held), hides the top button and shows one large play button on the video. Pressing it restarts both.
   - Reduced motion: the top button is hidden, so the video's own button is the one control (large while idle, small in the corner while playing). */
@media (prefers-reduced-motion: no-preference) {
  .sx-hero .sx-player__toggle { display: none; }
  .sx-motion-held .sx-motionbtn { display: none; }
  .sx-motion-held .sx-hero .sx-player[data-state="paused"] .sx-player__toggle { display: grid; }
}
.sx-hero .sx-player[data-state="paused"] .sx-player__toggle { right: 50%; bottom: 50%; width: 76px; height: 76px; border-color: transparent; background: var(--lime); color: var(--ink); box-shadow: var(--shadow-md); transform: translate3d(50%, 50%, 0); }
.sx-hero .sx-player[data-state="paused"] .sx-player__toggle svg { width: 28px; height: 28px; }

/* Hero: the player sits where the ERP mock was, without the laptop frame, over a one-line caption and the full-video button.
   On wide screens the copy column is narrow (it only holds a two-line headline). The nav and the hero share one wider,
   centred container (1200px up to 1360px), so the video stays large and the two side margins stay equal. */
.sx-hero__media { gap: var(--space-4); }
.sx-hero__media > .sx-player { box-shadow: var(--shadow-lg); }
@media (min-width: 961px) {
  .sx-hero--stage { padding-top: var(--space-8); }
  .sx-hero--stage .sx-hero__grid, .sx-hero--stage .sx-hero__bar { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: var(--space-6); }
  .sx-nav, .sx-hero--stage { --container: clamp(1200px, calc(var(--sx-viewport, 100vw) - 240px), 1360px); }
}
.sx-player__cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); }
.sx-player__cap .caption { padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm); background: var(--glass-strong); color: var(--on-green); }
.sx-playbtn { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-4) 0 6px; border: 1px solid var(--glass-line); border-radius: var(--radius-full); background: var(--glass-strong); color: var(--on-green); font: 650 15px/22px var(--font-sans); letter-spacing: -0.01em; white-space: nowrap; cursor: pointer; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: border-color .15s ease; }
.sx-playbtn__icon { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--radius-full); background: var(--lime); color: var(--ink); }
.sx-playbtn__icon svg { width: 13px; height: 13px; margin-left: 2px; }
.sx-playbtn small { color: var(--on-green-muted); font: 500 13px/20px var(--font-sans); letter-spacing: 0; }
.sx-playbtn:hover { border-color: var(--lime); }
.sx-playbtn:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-on-green); }

/* 도사 cards: the two that do the recurring work side by side, the free basic one as a slim row under them. */
.sx-dosa-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.sx-dosa--main { display: flex; flex-direction: column; gap: var(--space-2); }
.sx-dosa--main .sx-dosa__top { align-items: flex-start; }
.sx-dosa__tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-2); }
.sx-dosa__list { flex: 1; display: grid; gap: var(--space-2); align-content: start; margin: var(--space-3) 0 0; padding: var(--space-4) 0 0; list-style: none; border-top: 1px solid var(--line); color: var(--ink); }
.sx-dosa__list li { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--space-2); min-height: 24px; padding-left: 32px; }
.sx-dosa__list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: var(--radius-full); background: var(--green); }
.sx-dosa__list li::after { content: ""; position: absolute; left: 5px; top: 6px; width: 12px; height: 12px; background: var(--on-green); -webkit-mask: var(--sx-icon-check) center / contain no-repeat; mask: var(--sx-icon-check) center / contain no-repeat; }
.sx-dosa__list li.is-soon { color: var(--muted); }
.sx-dosa__list li.is-soon::before { background: var(--white); border: 1.5px dashed var(--line-strong); }
.sx-dosa__list li.is-soon::after { display: none; }
.sx-dosa__soon { flex: none; padding: 0 6px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--muted); font: 700 11px/18px var(--font-sans); letter-spacing: .04em; }
.sx-dosa--main .sx-dosa__meta { margin-top: var(--space-2); padding: var(--space-3) var(--space-4); border-top: 0; border-radius: var(--radius-md); background: var(--paper); font-weight: 650; }
.sx-dosa__go { align-self: flex-start; margin-top: var(--space-3); }
.sx-dosa--basic { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: none; gap: var(--space-5); align-items: center; margin-top: var(--space-5); padding: var(--space-5) var(--space-6); border-style: dashed; border-color: var(--line-strong); background: transparent; }
.sx-dosa--basic .sx-dosa__icon { width: 48px; height: 48px; }
.sx-dosa--basic .sx-dosa__icon svg { width: 24px; height: 24px; }
.sx-dosa__basic { display: grid; gap: 4px; }
.sx-dosa__basic h4 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.sx-office__install { margin-top: var(--space-9); }

/* Choice chips in the sign-up form: optional, one answer per question, keyboard works like any radio group. */
.sx-choice { min-width: 0; margin: 0; padding: 0; border: 0; }
.sx-choice > legend { padding: 0; margin: 0 0 var(--space-2); }
.sx-choice__opt { margin-left: 4px; color: var(--muted); font-weight: 500; }
.sx-choice__row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.sx-chip { position: relative; display: inline-flex; }
.sx-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sx-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-full); background: var(--white); color: var(--ink); font: 500 15px/22px var(--font-sans); letter-spacing: -0.01em; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.sx-chip:hover span { border-color: var(--green); }
.sx-chip input:checked + span { border-color: var(--green); background: var(--green); color: var(--on-green); font-weight: 650; }
.sx-chip input:focus-visible + span { box-shadow: var(--sx-ring); }
.sx-apply__small { font-size: 14px; line-height: 22px; }

/* Box band: a small closing note about the limited gift box. */
.sx-boxband { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: var(--space-7); align-items: center; margin-top: var(--space-8); padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--white); }
.sx-boxband .sx-media { padding: var(--space-5); border-radius: var(--radius-lg); }
.sx-boxband .sx-boxart { font-size: min(16px, 3.05cqi); }
.sx-boxband .sx-figure figcaption { padding-inline: var(--space-2); }
.sx-boxband__copy { display: grid; gap: var(--space-3); justify-items: start; padding-right: var(--space-6); }
.sx-boxband__copy > * { margin: 0; }
.sx-boxband__copy p { color: var(--muted); }

/* Full video window: the popup component with a 16:9 player inside. */
.sx-popup--video .sx-popup__box { width: min(1120px, 100%, calc((100vh - 170px) * 16 / 9)); }
.sx-vmodal__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 56px; padding: var(--space-2) var(--space-4) var(--space-2) var(--space-5); border-bottom: 1px solid var(--line); }
.sx-vmodal__title { margin: 0; word-break: keep-all; }
.sx-vmodal__title small { margin-left: var(--space-2); color: var(--muted); font: 500 14px/22px var(--font-sans); letter-spacing: 0; }
.sx-vmodal__frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.sx-vmodal__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; background: var(--ink); }
.sx-vmodal__video:focus-visible { outline: 2px solid transparent; box-shadow: inset 0 0 0 3px var(--lime); }
.sx-vmodal__note { margin: 0; padding: var(--space-3) var(--space-5); color: var(--muted); }

/* 도사 buttons: one, or two side by side (증빙도사: the web app and the App Store). */
.sx-dosa__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.sx-dosa__actions .sx-dosa__go { margin-top: 0; }

/* AI office: the solo loop under the section head. The same player as the hero, but further down the page (data-sx-lazy):
   its video and poster load only when it comes near the screen, it plays while on screen and pauses off it.
   Its own button is the one control there (the hero's top button is out of sight). The demo label is inside the video. */
.sx-office__media { max-width: 960px; margin: var(--space-7) auto 0; justify-items: center; }
.sx-office__media > .sx-player:not([data-variant="m"]) { width: 100%; }
.sx-office__more { display: flex; justify-content: center; }
.sx-playbtn--light { border-color: var(--line-strong); background: var(--white); color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.sx-playbtn--light small { color: var(--muted); }
.sx-playbtn--light:hover { border-color: var(--green); }
.sx-playbtn--light:focus-visible { box-shadow: var(--focus-ring); }

@media (max-width: 960px) {
  .sx-dosa-pair, .sx-boxband { grid-template-columns: minmax(0, 1fr); }
  .sx-boxband { gap: var(--space-5); }
  .sx-boxband__copy { padding: 0 var(--space-2) var(--space-2); }
  .sx-office__install { margin-top: var(--space-8); }
}
@media (max-width: 600px) {
  .sx-player__cap { justify-content: center; }
  .sx-dosa--basic { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); padding: var(--space-5); }
  .sx-dosa__go { align-self: stretch; }
  .sx-boxband { padding: var(--space-3); }
  .sx-dosa__actions { display: grid; }
}
/* The video windows sit at the end of <body>, outside the page container, so a container query never reaches them.
   On a phone the title keeps one line and 「75초 · 소리 있음」 moves to a second line. */
@media (max-width: 600px) {
  .sx-vmodal__head { padding-left: var(--space-4); }
  .sx-vmodal__title small { display: block; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-hero__solo, .sx-hero__solo svg, .sx-player__toggle, .sx-playbtn, .sx-chip span { transition: none; }
}

/* ---------- 14. Smaller screens ---------- */
@media (max-width: 960px) {
  .display { font-size: 44px; line-height: 56px; }
  .title-lg { font-size: 34px; line-height: 46px; }
  .price { font-size: 34px; line-height: 44px; }
  .sx-section { padding-block: var(--space-9); }
  .sx-hero { padding-block: var(--space-8); }
  .sx-hero__grid, .sx-hero--stage .sx-hero__grid, .sx-hero__bar, .sx-feature, .sx-contact { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
  .sx-hero--stage { min-height: 0; }
  .sx-hero--stage::before { -webkit-mask-image: none; mask-image: none; }
  .sx-hero__bar { gap: var(--space-4); }
  .sx-cta { max-width: none; }
  .sx-feature--reverse > :first-child { order: 0; }
  .sx-cards, .sx-prices, .sx-notes { grid-template-columns: minmax(0, 1fr); }
  .sx-doors, .sx-apply { grid-template-columns: minmax(0, 1fr); }
  .sx-apply { gap: var(--space-6); padding: var(--space-7) var(--space-6); }
  .sx-subhead { margin-top: var(--space-8); }
  .sx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-nav__links { display: none; }
  .sx-nav__actions { margin-left: auto; padding-left: 0; border-left: 0; }
  .sx-photo-bg { background-image: linear-gradient(180deg, var(--scrim) 0%, transparent 100%), var(--sx-photo, none); }
}
@media (max-width: 600px) {
  .display { font-size: 36px; line-height: 46px; }
  .title-lg { font-size: 28px; line-height: 38px; }
  .title-md { font-size: 22px; line-height: 32px; }
  .lead { font-size: 16px; line-height: 26px; }
  .stat { font-size: 22px; line-height: 30px; }
  .sx-section { padding-block: var(--space-8); }
  .sx-media, .sx-card { padding: var(--space-5); }
  .sx-fact { padding: var(--space-4) var(--space-2); }
  .sx-form { grid-template-columns: minmax(0, 1fr); }
  .sx-tab { height: 44px; padding: 0 var(--space-2); font-size: 14px; }
  .sx-nav__actions .sx-btn--outline { display: none; }
  .sx-faq__a { padding-right: var(--space-5); }
  .sx-laptop { margin: 0; padding: 0; background: none; box-shadow: none; }
  .sx-laptop::before, .sx-laptop::after { display: none; }
  .sx-laptop > .sx-frame { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
  .sx-marquee__item { height: 56px; padding: 0 var(--space-4); font-size: 15px; }
  .sx-collage > * { grid-area: auto; }
  .sx-collage > .sx-snippet { margin: 0; font-size: 12px; }
  .sx-collage > .sx-helper--card { margin: calc(var(--space-4) * -1) 0 0 var(--space-5); font-size: 13px; }
  .sx-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .sx-aiswitch:not(.sx-aiswitch--sm) { display: grid; width: 100%; }
  .sx-receipt { padding: var(--space-5); }
  .sx-hide-sm { display: none; }
  .sx-door__body { padding: var(--space-5); }
  .sx-dosa { padding: var(--space-5); }
  .sx-apply { margin-top: var(--space-8); padding: var(--space-6) var(--space-5); }
}
@media (prefers-reduced-motion: reduce) {
  .sx-btn, .sx-tab, .sx-faq__toggle, .sx-nav__link::after, .sx-input, .sx-select, .sx-textarea, .sx-cta > svg, .sx-popup, .sx-popup__dim, .sx-popup__box { transition: none; }
  .sx-popup__box { transform: none; }
  .sx-motionbtn { display: none; }
  .sx-stage__shot, .sx-stage--still .sx-stage__shot { animation: none; opacity: 0; transform: none; }
  .sx-stage__shot:first-child { opacity: 1; }
  .sx-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .sx-marquee__track { animation: none; }
  .sx-marquee__track[aria-hidden="true"] { display: none; }
  .sx-js .sx-reveal { opacity: 1; transform: none; transition: none; }
  .sx-aiswitch, .sx-aiswitch__track, .sx-aiswitch__word, .sx-aiswitch__knob, .sx-frame__dock, .sx-frame__dock > .sx-helper, .sx-frame__ext, .sx-frame__ext img,
  .sx-hero[data-sx-ai] .sx-mark, .sx-hero[data-sx-ai] > .sx-stage, .sx-hero[data-sx-ai] > .sx-stage::after, .sx-pwin__ext, .sx-pwin__ext img { transition: none; }
  [data-sx-ai="off"] .sx-aiswitch__track::after, [data-sx-ai-live][data-sx-ai="on"] .sx-frame__dock > .sx-helper,
  [data-sx-ai-live] .sx-pdock, [data-sx-ai-live] .sx-pdock__chip, [data-sx-ai-live] .sx-pdock__panel, [data-sx-ai-live] .sx-pdock__dots i, [data-sx-ai-live] .sx-pdock__sum, [data-sx-ai-live] .sx-pdock__card { animation: none; }
  .sx-popup__alt svg, .sx-door, .sx-door__photo img, .sx-door__go svg, .sx-boxart__card, .sx-boxart__ticket, .sx-setup__track i, .sx-setup__item { transition: none; }
}

/* ---------- 13e. Home v4 fix 20261204b: phone facts as rows ---------- */
/* Three columns were too narrow on phones: "월 3만 원부터" broke into two lines. One fact per row: value left, label right. */
@media (max-width: 600px) {
  .sx-hero__bar > .sx-facts { grid-template-columns: minmax(0, 1fr); }
  .sx-hero__bar > .sx-facts .sx-fact { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: var(--space-4); padding: var(--space-3) var(--space-4); text-align: left; }
  .sx-hero__bar > .sx-facts .sx-fact + .sx-fact { border-left: 0; border-top: 1px solid var(--glass-line); }
  .sx-hero__bar > .sx-facts .sx-fact__label { text-align: right; }
}

/* ---------- 13f. Home v4 hero story 20261204c: chapter buttons under the hero video ---------- */
/* The hero video is the 53 s story now (question, without AI, with AI, result). Four buttons in the caption row show
   where the story is and jump to a chapter. They sit left of the note and the full-video button and are as tall as that
   button (44px), so the hero keeps its height. Phones play the portrait cut, which has other timings: no buttons there. */
.sx-chapters { display: inline-flex; gap: 2px; margin-right: auto; padding: 3px; border: 1px solid var(--glass-line); border-radius: var(--radius-md); background: var(--glass-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.sx-chapters__btn { position: relative; min-height: 36px; padding: 7px 14px 9px; border: 0; border-radius: 5px; background: transparent; color: var(--on-green-muted); font: 500 13px/20px var(--font-sans); letter-spacing: 0; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sx-chapters__btn::before, .sx-chapters__btn::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; border-radius: 2px; }
.sx-chapters__btn::before { background: var(--glass-line); }
.sx-chapters__btn::after { background: var(--lime); transform-origin: left center; transform: scaleX(var(--sx-chapter, 0)); transition: transform .25s linear; }
.sx-chapters__btn:hover, .sx-chapters__btn.is-done, .sx-chapters__btn[aria-current="true"] { color: var(--on-green); }
.sx-chapters__btn[aria-current="true"] { background: rgba(255, 255, 255, .1); }
.sx-chapters__btn:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-on-green); }
.sx-player[data-variant="m"] + .sx-player__cap .sx-chapters, .sx-player[data-state="nofile"] + .sx-player__cap .sx-chapters { display: none; }
/* 961px to 1119px wide: the video is too narrow for all three on one line. The buttons take the first line; the note
   and the full-video button share the second, as they do today. */
@media (min-width: 961px) and (max-width: 1119px) {
  .sx-player:not([data-variant="m"]):not([data-state="nofile"]) + .sx-player__cap:has(.sx-chapters)::before { content: ""; order: 1; flex: 0 0 100%; height: 0; }
  .sx-player:not([data-variant="m"]):not([data-state="nofile"]) + .sx-player__cap:has(.sx-chapters) > :not(.sx-chapters) { order: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-chapters__btn::after { transition: none; }
}

/* 13g. Hero sound: one discoverable control at the video's lower-right corner. */
.sx-player__sound { position: absolute; z-index: 3; right: 12px; bottom: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 112px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--glass-line); border-radius: var(--radius-full); background: var(--green); color: var(--on-green); font: 600 13px/20px var(--font-sans); cursor: pointer; }
.sx-player__sound svg { flex: 0 0 18px; width: 18px; height: 18px; }
.sx-player__sound:hover { background: var(--ink); }
.sx-player__sound:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-on-green); }
.sx-player__sound[hidden], .sx-player[data-state="nofile"] .sx-player__sound, .sx-player__sound .sx-sound-on { display: none; }
.sx-player__sound[aria-pressed="true"] .sx-sound-on { display: block; }
.sx-player__sound[aria-pressed="true"] .sx-sound-off { display: none; }
@media (prefers-reduced-motion: reduce) {
  #hero-player[data-state="playing"] .sx-player__toggle { right: 136px; }
}
