/* Prometheus Ember — static site (no build step).
   Home: the original Next.js home (작업물/사이트/src) redrawn by hand — same light start, neural canvas,
   light→dark scroll, fonts, easing. Sub pages: design A (dark) / B (light) from 작업물/emberprep/디자인/고른-안.md,
   on the home's type and spacing. */
:root {
  --font-sans: "Outfit", ui-sans-serif, sans-serif;
  --font-serif: "Fraunces", "Noto Serif KR", ui-serif, Georgia, serif;
  --ember: #F97316;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --noise: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAGFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/OqR+AAAACHRSTlMAERIyZnd+iMUl8QAAA1ZJREFUOMtt1U+TGjEMB+D0V6y92mN2/wAA2c219/Z6L92B9gC0R7A9lO1Qtmfffs6f2Y/Z29vLh40kxZJ8J1v+97/115Z/b+1v+Wfb/vbXX2/ff219/WPb/v29ffm/x9e/tjx/b/n9Y8tvH1u+fN/y9cOW/a/Hlqc/tvz2vuXrhy2/fd/y+7ctv3zY8tuHLV9/bPn6vuXbjy3ffGz5+vuWLz+2fP2+5dtfW77+2PLtzy3ffm759mPL1z+3fPu55euPLd9+bPn6Y8s3H1u+fN/yzceWLz+2fPmx5euPLd98bPn2Y8vXH1u+/tjy9fOWbz+2fPmx5dufW77+2PLtzy3ffGz5+mPLV2+w2P8h28N+v1/u9vv9H+92u19+2O/3v/1wu93u97vdbr/77Xa7/bDb7X7/w+12e9gfdofDbreH3YfdYfffbrfb7X/uDrvDbjf8frvd7oY/t7t/uRvsDodh9+fucBjuB7vd7g/7wW64OxyGO+6GQ+8Ou8EPh90fh+Hj8O92O+z/uTvs9/u/7ge7we4P+/1ut9sNuz+O/+1ueNjtdv/c7Ybb/363+4fdH8PDcDe8G3Z/H3/bDQ/Dn7vDD4fd3+x2wx2H3XD/6W64OxyH++HuD4ffw/v9cMeH3e64u9vvDrud+/thtzscdvvDcPjDbvecHnaD3XB3d//+cBgP++GO+2G/fzgcDoOP/9vv94fdcPdvd4eHweEPu+Hh4X6/Gx6GQ+9hONxxuB8eh7vH3W433A+HI92/OxwOhz/uDkPvYfeH/R/Du+HDcHjY3R0OP9/td4dh9263+/vhDofhw/B+ONzxcNh9vt/tjgf3h8Nhv9/9cBh8w92HOx4Oh92n+93u+ONx+PjD4XD8sPv8w+FweNj/Ybf7fBjuuP9wPxwOp8H9sPvj8MfD/R+Hv3eHv8f9cPwY7obD8MPDYffrD7vh4fMw9OF+ONwdhjse3D8cDj/d7b5/uOM4HH4a7jgcDoOP/+1uuOMHw+H46w/HH+8O/zh+Ohx/PBx+PBx/PBx/PBw+DHcchuPPw58//jjc+zD4OBwOn4e7Hx8Ohw8fDo/Hw+H44XB4uD8cDofDh8Pj8cOPwu/DcHj8+HD4cBgOPwx3Px4Oxw+PD/8bTif+A8V+b5X6g859AAAAAElFTkSuQmCC");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font-sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overscroll-behavior-y: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.container { width: 100%; margin: 0 auto; padding: 0 24px; }

/* ---------- header (home and sub pages) ---------- */
.blend { position: fixed; top: 0; left: 0; width: 500px; height: 128px; z-index: 40; pointer-events: none;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  mask-image: radial-gradient(circle at top left, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at top left, black 0%, transparent 70%); transition: opacity 75ms ease-in-out; }
.blend.light { background: radial-gradient(circle at top left, rgba(248,249,250,.8) 0%, rgba(255,255,255,0) 70%); }
.blend.dark { background: radial-gradient(circle at top left, rgba(15,23,42,.8) 0%, rgba(255,255,255,0) 70%); opacity: 0; }
body.is-dark .blend.light { opacity: 0; }
body.is-dark .blend.dark { opacity: 1; }
.logo { position: fixed; top: 24px; left: 24px; z-index: 50; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo:hover { opacity: .8; }
.logo img { width: 28px; height: 28px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.15)); }
.logo span { font: 700 20px/1 var(--font-serif); letter-spacing: -0.01em; color: #0f172a; transition: color 75ms ease-in-out; }
.topnav { position: fixed; top: 24px; right: 24px; z-index: 50; display: flex; gap: 24px; font-size: 16px; font-weight: 300; }
.topnav a { text-decoration: none; color: #334155; transition: color 75ms ease-in-out; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.topnav a:hover, .topnav a[aria-current] { border-bottom-color: var(--ember); }
.news-note { position: absolute; z-index: 20; top: 62px; right: 24px; max-width: min(34rem, 70vw);
  margin: 0; padding: 8px 12px; border-left: 2px solid var(--ember); color: #334155; font-size: 14px; }
body.is-dark .news-note { color: #fff; }
body.is-dark .logo span, body.is-dark .topnav a { color: #fff; }

/* ---------- home ---------- */
.home .base { position: fixed; inset: 0; background: #0A0A0A; z-index: -20; }
.home .neural { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  mask-image: radial-gradient(circle at center, black 10%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at center, black 10%, transparent 90%); }
.home .neural canvas { display: block; width: 100%; height: 100%; }
.light-part { position: relative; color: #0f172a; padding-bottom: 128px; }
.light-part > .bg { position: absolute; inset: 0; background: #F8F9FA; box-shadow: 0 20px 60px rgba(0,0,0,.15); z-index: -10; }
.noise { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: .5; background-image: var(--noise); background-repeat: repeat; }
.light-part > .glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at top right, rgba(255,255,255,.8), transparent 50%, rgba(0,0,0,.05)); }

.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.home > main > p.foot { position: relative; z-index: 10; margin: 0; padding: 88px 24px 0; color: #64748b; background: #F8F9FA; }
.hero .halo { position: absolute; top: 50%; left: 50%; width: 600px; height: 600px; transform: translate(-50%, -50%);
  background: rgba(254,215,170,.2); border-radius: 50%; filter: blur(120px); pointer-events: none; }
.hero .inner { position: relative; z-index: 10; max-width: 1024px; text-align: center; color: #1e293b; padding-top: 80px; will-change: opacity, transform; }
.hero .rise { opacity: 0; transform: translateY(30px); animation: rise .8s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero h1 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1;
  font-size: clamp(2.75rem, 6.4vw, 5.5rem); margin: 0 0 48px; }
.grad { background: linear-gradient(to right, #FCD34D, #F97316, #DC2626); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-weight: 300; font-size: clamp(1.25rem, 2.2vw, 1.875rem); line-height: 1.625; opacity: .8; max-width: 42rem; margin: 0 auto 64px; }
.cta { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 500; text-decoration: none; transition: color .3s; }
.cta span { border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .3s; }
.cta svg { transition: transform .3s; }
.cta:hover { color: #ea580c; }
.cta:hover span { border-bottom-color: #ea580c; }
.cta:hover svg { transform: translateX(4px); }

.feature { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 96px 0; z-index: 10; overflow: hidden; }
.feature .container { max-width: 1152px; }
.feature .row { display: flex; align-items: center; gap: 64px; }
.feature.flip .row { flex-direction: row-reverse; }
.feature .copy { flex: 1; position: relative; z-index: 10; }
.feature h2 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.025em; font-size: clamp(2.25rem, 4.5vw, 3.75rem); margin: 0 0 24px; line-height: 1.1; }
.feature p.say { font-weight: 300; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.625; max-width: 32rem; margin: 0 0 32px; }
.feature p.foot { font-weight: 300; font-size: 18px; margin: 16px 0 0; }
.light-part .feature p.say, .light-part .feature p.foot { color: #64748b; }
.dark-part .feature p.say, .dark-part .feature p.foot { color: #94a3b8; }
.feature .visual { flex: 1; position: relative; min-height: 400px; width: 100%; display: flex; align-items: center; justify-content: center; }
.feature .visual::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at center, rgba(255,255,255,.7) 0%, transparent 70%);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%); -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 70%); }
.dark-part .feature .visual::before { background: radial-gradient(circle at center, rgba(15,23,42,.6) 0%, transparent 70%); }

/* Mobile-width crops from the real app; image text stays at UI size. */
.shot { width: 100%; max-width: 580px; height: auto; border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0; background: #fff;
  aspect-ratio: auto;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); transform: translateY(0); animation: float 12s ease-in-out infinite; }
.dark-part .shot { border-color: rgba(255,255,255,.1); background: #0d0b0a; box-shadow: 0 12px 40px rgba(249,115,22,.15); }
.shot figcaption { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; padding: 12px 16px; border-top: 1px solid #e2e8f0; }
.shot figcaption::after { content: " · Click image to view full size ↗"; font-weight: 400; letter-spacing: 0; text-transform: none; }
html[lang="ko"] .shot figcaption::after,
html[lang="ko"] .screens figcaption::after { content: " · 누르면 원본 크기로 봅니다 ↗"; }
.shot-link { display: block; position: relative; cursor: zoom-in; }
.shot-link img { display: block; width: 100%; height: auto; }
.scene-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.scene-grid article { padding: 18px; border-left: 3px solid var(--ember); border-radius: 0 8px 8px 0; background: rgba(127, 127, 127, .07); transition: background .2s ease; }
.scene-grid article:hover { background: rgba(127, 127, 127, .12); }
.scene-grid h3 { margin: 0 0 8px; font: 500 18px/1.3 var(--font-serif); }
.scene-grid h4 { margin: 0 0 8px; font: 500 17px/1.35 var(--font-serif); }
.scene-grid p { margin: 0; font-size: 14px; line-height: 1.6; }
.dark-part .scene-grid article { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-left: 3px solid var(--ember); color: #efe6da; }
.dark-part .scene-grid article:hover { background: rgba(255, 255, 255, .09); }
.dark-part .scene-grid article p { color: #a8968a; }
@media (max-width: 620px) { .scene-grid { grid-template-columns: 1fr; } }
.image-preview { width: min(96vw, 1200px); max-width: none; max-height: 94vh; padding: 48px 12px 12px; border: 1px solid #64748b; border-radius: 12px; background: #0d0b0a; position: relative; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .8); }
.image-preview::backdrop { background: rgba(3, 7, 18, .82); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.image-preview img { display: block; max-width: 100%; max-height: calc(94vh - 72px); margin: 0 auto; object-fit: contain; }
.preview-close { position: absolute; top: 10px; right: 12px; border: 1px solid #64748b; border-radius: 6px; padding: 6px 14px; color: #fff; background: #1e293b; font: 500 13px/1.4 var(--font-sans); cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.preview-close:hover, .preview-close:focus-visible { background: #334155; border-color: #94a3b8; }
.shot-link::after { content: "View full size ↗"; position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; border-radius: 4px;
  color: #fff; background: rgba(15,23,42,.84); font: 500 12px/1.4 var(--font-sans); opacity: 0; transition: opacity .2s ease; }
html[lang="ko"] .shot-link::after { content: "원본 보기 ↗"; }
.shot-link:hover::after, .shot-link:focus-visible::after { opacity: 1; }
.dark-part .shot figcaption { border-top-color: rgba(255,255,255,.1); color: #a8968a; }
.shot { margin: 0; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* "paste one line" card — right-click -> paste animation with relaxed pace */
.paste { width: 100%; max-width: 480px; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.paste .card { width: 100%; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); position: relative; }
.paste .label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; margin-bottom: 16px; }
.paste .label.hot { color: #fb923c; text-align: center; }
.paste .input-box { position: relative; }
.paste .ctx-menu { position: absolute; top: 12px; left: 16px; background: #ffffff; border: 1px solid #cbd5e1; border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,.16), 0 4px 6px -4px rgba(0,0,0,.08); padding: 5px; z-index: 25; min-width: 130px;
  font-size: 13px; opacity: 0; transform: scale(0.95); transition: opacity .15s ease, transform .15s ease; pointer-events: none; }
.paste .ctx-menu.open { opacity: 1; transform: scale(1); }
.paste .ctx-item { padding: 6px 12px; border-radius: 4px; display: flex; justify-content: space-between; align-items: center; color: #64748b; font-family: var(--font-sans); }
.paste .ctx-item.disabled { opacity: 0.45; }
.paste .ctx-item.active { background: var(--ember); color: #fff; font-weight: 500; }
.paste .cursor-ptr { position: absolute; width: 22px; height: 22px; z-index: 30; pointer-events: none; opacity: 0;
  transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1), opacity .2s; }
.paste .cursor-ptr.show { opacity: 1; }
.paste .cursor-ptr.clicked { transform: scale(0.85); }
.paste .typed { background: #f1f5f9; border-radius: 12px; padding: 16px; font: 14px/1.6 ui-monospace, Consolas, monospace; color: #334155;
  min-height: 92px; white-space: pre-wrap; word-break: break-word; transition: opacity .3s ease, transform .3s ease; }
.paste .typed.cur::after { content: "\258D"; color: var(--ember); }
.paste .typed.pasting { opacity: 0; transform: translateX(-4px); }
.paste .typed.pasted { opacity: 1; transform: translateX(0); }
.paste .arrow { color: var(--ember); filter: drop-shadow(0 0 6px rgba(249,115,22,.5)); opacity: 0; transform: translateY(-8px); transition: opacity .6s, transform .6s var(--ease); }
.paste.arrow-ready .arrow { opacity: 1; transform: translateY(0); }
.paste .out { width: 100%; max-width: 380px; background: #fff; border: 1px solid #fed7aa; border-radius: 16px; padding: 20px;
  opacity: 0; transition: opacity .6s, box-shadow .6s; }
.paste.done .out { opacity: 1; }
.paste.done .out { box-shadow: 0 12px 40px rgba(249,115,22,.15); }
.paste .out ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; color: #334155; }
.paste .out li { display: flex; gap: 10px; align-items: baseline; }
.paste .out li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 8px rgba(249,115,22,.5); transform: translateY(-1px); }

/* fixes-only line (dark) */
.versions { width: 100%; max-width: 420px; display: grid; gap: 12px; }
.versions div { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); font-size: 17px; }
.versions b { font-family: ui-monospace, Consolas, monospace; font-weight: 600; }
.versions .yes { color: #FCD34D; }
.versions .no { color: #64748b; }
.versions .yes span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ember);
  box-shadow: 0 0 14px 4px rgba(249,115,22,.45); margin-right: 10px; }

.turn { position: relative; }
.turn .fade { position: relative; height: 30vh; margin-top: -1px; }
.turn .fade::before { content: ""; position: absolute; inset: 0; z-index: -10; background: linear-gradient(to bottom, #F8F9FA, #0A0A0A); }
#dark-trigger { position: absolute; top: 7.5vh; bottom: 0; width: 100%; pointer-events: none; z-index: -20; }
.dark-part { position: relative; background: rgba(10,10,10,.45); color: #fff; padding-top: 64px; }
.dark-part .noise { opacity: .3; }
.dark-part > .glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at top, rgba(255,255,255,.1), transparent 60%); }

.story { padding: 128px 0; position: relative; z-index: 10; display: flex; justify-content: center; }
.story .container { max-width: 896px; text-align: left; }
.story h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(3rem, 5vw, 3.75rem); letter-spacing: -0.025em; line-height: 1.25; margin: 0 0 32px; text-align: center; }
.story p { max-width: 64ch; font-weight: 300; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.625; opacity: .8; margin: 0 auto 8px; }
.story p.soon { font-size: 18px; opacity: .55; margin-top: 32px; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

footer.site { position: relative; z-index: 10; color: #94a3b8; padding: 48px 0; border-top: 1px solid rgba(255,255,255,.1); }
footer.site .container { max-width: 1280px; }
footer.site .row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
footer.site .brand { font-size: 24px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
footer.site .brand img { width: 28px; height: 28px; filter: drop-shadow(0 0 8px rgba(249,115,22,.6)); }
footer.site .tag { font-weight: 300; opacity: .6; margin: 0; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 32px; font-weight: 300; opacity: .8; }
footer.site nav a { text-decoration: none; }
footer.site nav a:hover { color: #fff; }
footer.site .copy { margin-top: 48px; text-align: center; font-size: 12px; opacity: .4; font-weight: 300; }

@media (max-width: 768px) {
  .feature .row, .feature.flip .row { flex-direction: column; gap: 16px; }
  .topnav { gap: 14px; font-size: 14px; top: 64px; left: 24px; right: auto; }
  .blend { width: 200px; height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .rise, .reveal { animation: none; opacity: 1; transform: none; transition: none; }
  .shot { animation: none; }
}

/* ---------- sub pages: design A (dark) / B (light) ---------- */
body.page { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); transition: background .7s ease-in-out, color .7s ease-in-out; }
body.page.theme-a { --bg:#0d0b0a; --bg2:#15110f; --line:#2a221d; --text:#efe6da; --muted:#a8968a; --accent:#ff8a3d; --on-accent:#160c06; --dim:rgba(255,138,61,.35);
  --card-border: rgba(239, 230, 218, 0.12);
  --card-shadow: 0 1px 3px rgba(0,0,0,.5), 0 16px 40px -8px rgba(0,0,0,.65);
  --card-highlight: inset 0 1px 0 rgba(255,255,255,.08); }
body.page.theme-b { --bg:#f4efe7; --bg2:#ebe4d8; --line:#d6ccbc; --text:#1f1a16; --muted:#6b5f55; --accent:#c4511a; --on-accent:#fdf8f1; --dim:rgba(196,81,26,.30);
  --card-border: rgba(31, 26, 22, 0.09);
  --card-shadow: 0 1px 3px rgba(0,0,0,.04), 0 16px 36px -8px rgba(0,0,0,.08);
  --card-highlight: inset 0 1px 0 rgba(255,255,255,.75); }
body.page .noise { position: fixed; z-index: 60; }
body.page.theme-a .logo span, body.page.theme-a .topnav a { color: #efe6da; }
body.page.theme-b .logo span, body.page.theme-b .topnav a { color: #1f1a16; }
body.page .topnav a[aria-current], body.page .topnav a:hover { border-bottom-color: var(--accent); }
body.page.theme-a .blend.light { opacity: 0; } body.page.theme-a .blend.dark { opacity: 1; }
.themes { background: none; border: 1px solid var(--line); color: var(--muted); font: inherit; font-size: 14px; border-radius: 4px; padding: 2px 8px; cursor: pointer; }
.themes:hover { color: var(--text); }
body.page main { flex: 1; width: 100%; max-width: 960px; margin: 0 auto; padding: 160px 24px 96px; }
body.page h1 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.025em; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin: 0 0 24px; max-width: 18ch; }
body.page h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.015em; margin: 0 0 16px; }
body.page p { font-weight: 300; font-size: 19px; line-height: 1.65; max-width: 64ch; margin: 0 0 16px; }
  body.page p.lead { font-size: clamp(1.25rem, 1.8vw, 1.5rem); color: var(--muted); max-width: 72ch; margin-bottom: 64px; }
body.page .muted { color: var(--muted); }
body.page section { margin: 0 0 64px; }
body.page .spark { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px 4px var(--dim); display: inline-block; vertical-align: middle; margin-right: 12px; }
.btn { display: inline-block; padding: 12px 24px; border-radius: 4px; background: var(--accent); color: var(--on-accent); font: 500 17px/1.2 var(--font-sans);
  text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: none; color: var(--text); border: 1px solid var(--line); }
.plan { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start;
  border: 1px solid var(--card-border, var(--line)); border-radius: 8px; padding: 44px 40px;
  background: var(--bg2); box-shadow: var(--card-shadow, none), var(--card-highlight, none); }
.plan .price { font: 500 64px/1 var(--font-serif); letter-spacing: -0.02em; margin: 20px 0 10px; }
.plan .price small { font: 300 16px var(--font-sans); color: var(--muted); margin-left: 6px; }
.plan ul, .list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.plan li, .list li { font-weight: 300; font-size: 17px; line-height: 1.55; padding-left: 24px; position: relative; }
.plan li::before, .list li::before { content: ""; position: absolute; left: 0; top: .55em;
  width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg); }
.list.no li::before { background: none; border: 1px solid var(--muted); }
.slot { font-family: ui-monospace, Consolas, monospace; font-size: .8em; color: var(--muted); border: 1px dashed var(--line); padding: 0 8px; border-radius: 4px; }
table.ag { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 17px; }
table.ag th, table.ag td { text-align: left; padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 300; }
table.ag th { font-weight: 500; color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
table.ag td b { font-weight: 500; }
.screens { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0 0; }
.screens figure { margin: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--bg2); }
.screens figcaption { padding: 12px 16px; font-size: 15px; line-height: 1.5; color: var(--muted); border-top: 1px solid var(--line); }
.screens figcaption::after { content: " · Click image to view full size ↗"; }
.mail { font: 400 clamp(1.25rem, 2.4vw, 1.75rem) var(--font-serif); color: var(--accent); }
footer.page-foot { border-top: 1px solid var(--line); padding: 32px 24px; text-align: center; color: var(--muted); font-size: 14px; font-weight: 300;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; line-height: 1.6; }
footer.page-foot a { text-decoration: none; margin: 0; }
footer.page-foot a:hover { color: var(--text); }
@media (max-width: 768px) {
  .plan, .screens { grid-template-columns: 1fr; }
  .plan { padding: 32px 20px; }
  .plan .price { font-size: 44px; }
  table.ag { table-layout: fixed; font-size: 15px; }
  table.ag th, table.ag td { padding: 12px 8px; overflow-wrap: anywhere; }
  body.page main { padding-top: 120px; }
}

/* 쓰임새 넷 — 코딩 밖에도 쓴다(1.1) */
.uses { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.uses li { padding-left: 16px; border-left: 2px solid var(--accent); line-height: 1.55; }
.uses b { font-weight: 600; }

/* No commands. Buttons. — contrast graphic */
.btn-vs-cmd { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 18px; }
.btn-vs-cmd .term-window { background: #141210; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,.4); }
.btn-vs-cmd .term-bar { background: #201b17; padding: 8px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 12px; color: #8a7d72; }
.btn-vs-cmd .term-dots { display: flex; gap: 6px; }
.btn-vs-cmd .term-dots span { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.btn-vs-cmd .term-dots .d1 { background: #ef4444; }
.btn-vs-cmd .term-dots .d2 { background: #f59e0b; }
.btn-vs-cmd .term-dots .d3 { background: #10b981; }
.btn-vs-cmd .term-body { padding: 16px; font: 13px/1.6 ui-monospace, Consolas, monospace; color: #94a3b8; }
.btn-vs-cmd .term-line { text-decoration: line-through; text-decoration-color: #ef4444; opacity: .7; word-break: break-all; }
.btn-vs-cmd .badge-no { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600; color: #ef4444; background: rgba(239,68,68,.12); padding: 3px 8px; border-radius: 4px; letter-spacing: .02em; }
.btn-vs-cmd .folder-window { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.btn-vs-cmd .folder-head { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ember); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.btn-vs-cmd .btn-grid { display: grid; gap: 9px; }
.btn-vs-cmd .btn-card { display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; border-radius: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: 15px; font-weight: 500; color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: border-color .2s; }
.btn-vs-cmd .btn-card .tag { font-size: 12px; font-weight: 400; color: #FCD34D; background: rgba(245,158,11,.15); padding: 2px 7px; border-radius: 4px; }
.btn-vs-cmd .badge-yes { display: inline-block; font-size: 12px; font-weight: 600; color: #10b981; background: rgba(16,185,129,.12); padding: 2px 7px; border-radius: 4px; }

/* Not only code — context flow graphic */
.uses-flow { width: 100%; max-width: 440px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 22px; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.uses-flow .flow-head { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; margin-bottom: 12px; }
.uses-flow .pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.uses-flow .pill { font-size: 13px; padding: 5px 12px; border-radius: 16px; background: rgba(255,255,255,.08); color: #efe6da; }
.uses-flow .flow-arrow { text-align: center; color: var(--ember); margin-bottom: 12px; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; }
.uses-flow .flow-box { background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 14px 16px; }
.uses-flow .flow-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: #efe6da; }
.uses-flow .flow-box li { display: flex; align-items: baseline; gap: 10px; }
.uses-flow .flow-box li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); flex: none; }
.uses-flow .flow-box code { font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: #FCD34D; }
.uses-flow .flow-desc { font-size: 12px; color: #a8968a; margin-top: 12px; line-height: 1.5; }

/* Long policy URLs stay readable on narrow screens. */
.screens figure { align-self: start; }
.screens img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; }
.table-wrap { width: 100%; overflow-x: auto; }
table.compat { width: 100%; table-layout: fixed; border-collapse: collapse; }
table.compat th:nth-child(1) { width: 22%; }
table.compat th:nth-child(2) { width: 25%; }
table.compat th:nth-child(3) { width: 53%; }
table.compat th, table.compat td { padding: 12px 14px; vertical-align: top; text-align: left; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.page main p { line-height: 1.65; margin-bottom: 20px; }
table.compat { font-size: 15px; }
table.compat th { color: var(--muted); font-size: 13px; letter-spacing: .04em; }
@media (max-width: 620px) {
  table.compat { display: block; table-layout: auto; }
  table.compat thead { display: none; }
  table.compat tbody, table.compat tr { display: block; width: 100%; }
  table.compat tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  table.compat td { display: flex; gap: 12px; padding: 5px 0; border: 0; overflow-wrap: anywhere; word-break: normal; }
  table.compat td:first-child { display: block; font: 600 17px/1.4 var(--font-serif); }
  table.compat td:nth-child(2)::before { content: "Version · date"; }
  table.compat td:nth-child(3)::before { content: "Result"; }
  table.compat td:nth-child(2)::before, table.compat td:nth-child(3)::before { flex: 0 0 94px; color: var(--muted); font-size: 13px; }
}
@media (max-width: 620px) {
  table.harness-compare, table.harness-compare tbody { display: block; width: 100%; }
  table.harness-compare tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  table.harness-compare tr:first-child { display: none; }
  table.harness-compare td { display: grid; grid-template-columns: minmax(96px, 30%) minmax(0, 1fr); gap: 10px; padding: 7px 0; border: 0; overflow-wrap: anywhere; }
  table.harness-compare td:first-child { display: block; padding: 4px 0 10px; font: 600 19px/1.35 var(--font-serif); }
  table.harness-compare td:not(:first-child)::before { content: attr(data-label); color: var(--muted); font-size: 12px; line-height: 1.45; }
}

/* Seller details: align labels and values without leaving the definition list unstyled. */
.seller-details { display: grid; grid-template-columns: minmax(190px, 28%) minmax(0, 1fr); column-gap: 24px; row-gap: 14px; margin: 32px 0 0; max-width: 880px; line-height: 1.55; }
.seller-details dt { color: var(--muted); font-size: 15px; font-weight: 500; }
.seller-details dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
@media (max-width: 620px) { .seller-details { grid-template-columns: 1fr; row-gap: 4px; } .seller-details dt { margin-top: 12px; } .seller-details dt:first-child { margin-top: 0; } .seller-details dd { margin-bottom: 6px; } }

/* Six-step design flow: content only, with a compact responsive list. */
.design-flow { position: relative; z-index: 10; padding: 96px 0; color: #efe6da; background: transparent; }
.design-flow-copy { max-width: 760px; margin-bottom: 30px; }
.design-flow .eyebrow { color: #ffad70; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.design-flow h2 { margin: 0 0 16px; font: 500 clamp(1.8rem, 3.4vw, 2.8rem)/1.12 var(--font-serif); }
.design-flow-copy > p:not(.eyebrow):not(.flow-note) { max-width: 68ch; color: #d3c3b5; font-size: 17px; line-height: 1.65; margin: 0 0 12px; }
.design-flow .flow-note { color: #b5a294; font-size: 13px; line-height: 1.5; margin: 0; }
.design-flow-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.design-flow-steps li { min-width: 0; min-height: 112px; display: grid; align-content: start; gap: 8px; padding: 16px; border: 1px solid rgba(239,230,218,.2); border-radius: 8px; background: rgba(255,255,255,.025); overflow-wrap: anywhere; }
.design-flow-steps li > span { color: #ff8a3d; font-size: 12px; letter-spacing: .08em; }
.design-flow-steps b { color: #fff8f0; font-size: 17px; font-weight: 500; }
.design-flow-steps small { color: #b5a294; font-size: 13px; line-height: 1.45; }
@media (max-width: 760px) { .design-flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Saved sub-page theme is available to CSS before body is parsed, avoiding a flash. */
html[data-site-theme="b"] body.page.theme-a { --bg:#f4efe7; --bg2:#ebe4d8; --line:#d6ccbc; --text:#1f1a16; --muted:#6b5f55; --accent:#c4511a; --on-accent:#fdf8f1; --dim:rgba(196,81,26,.30); --card-border:rgba(31,26,22,.09); --card-shadow:0 1px 3px rgba(0,0,0,.04),0 16px 36px -8px rgba(0,0,0,.08); --card-highlight:inset 0 1px 0 rgba(255,255,255,.75); }
html[data-site-theme="b"] body.page.theme-a .blend.light { opacity: 1; } html[data-site-theme="b"] body.page.theme-a .blend.dark { opacity: 0; }
html[data-site-theme="b"] body.page.theme-a .logo span, html[data-site-theme="b"] body.page.theme-a .topnav a { color: #1f1a16; }
html[data-site-theme="a"] body.page.theme-b { --bg:#0d0b0a; --bg2:#15110f; --line:#2a221d; --text:#efe6da; --muted:#a8968a; --accent:#ff8a3d; --on-accent:#160c06; --dim:rgba(255,138,61,.35); --card-border:rgba(239,230,218,.12); --card-shadow:0 1px 3px rgba(0,0,0,.5),0 16px 40px -8px rgba(0,0,0,.65); --card-highlight:inset 0 1px 0 rgba(255,255,255,.08); }
html[data-site-theme="a"] body.page.theme-b .blend.light { opacity: 0; } html[data-site-theme="a"] body.page.theme-b .blend.dark { opacity: 1; }
html[data-site-theme="a"] body.page.theme-b .logo span, html[data-site-theme="a"] body.page.theme-b .topnav a { color: #efe6da; }
.topnav .themes { color: currentColor; white-space: nowrap; }

/* 12-01 판매자 줄·에스크로 배지·언어 버튼 */
footer.site .seller-line{font-size:12px;opacity:.7;margin-top:14px;line-height:1.6}
footer.site .escrow{display:flex;align-items:center;gap:10px;margin-top:10px;font-size:12px;opacity:.85}
footer.site .escrow img{width:56px;height:56px}
.topnav a.lang{border:1px solid currentColor;border-radius:999px;padding:2px 10px}


