:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --ink: #17161a;
  --muted: #6b6f6c;
  --line: #e4e7e2;
  --brand: #0c8f52;
  --accent: #0a8049;
  --accent-ink: #ffffff;
  --accent-soft: #dff5ea;
  --info: #1f5fbf;
  --info-soft: #e3edfb;
  --ok: #12805c;
  --ok-soft: #dff5ec;
  --warn: #9a6200;
  --warn-soft: #fff1d6;
  --bad: #b3261e;
  --bad-soft: #fde7e5;
  --radius: 16px;
  --band: #0b3d2a;
  --band-ink: #eafaf1;
  --shadow: 0 1px 2px rgba(23, 22, 26, 0.04), 0 12px 32px rgba(23, 22, 26, 0.05);
  --ring: 0 0 0 4px var(--accent-soft);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121114;
    --surface: #1c1b20;
    --ink: #f3f1ee;
    --muted: #a09ca8;
    --line: #302e36;
    --brand: #34d399;
    --accent: #34d399;
    --accent-ink: #0b1f16;
    --accent-soft: #12352a;
    --info: #8ab4ff;
    --info-soft: #16233b;
    --ok: #5fd3a8;
    --ok-soft: #173328;
    --warn: #f0b95b;
    --warn-soft: #382b12;
    --bad: #ff8a80;
    --bad-soft: #3a1c1a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
    --ring: 0 0 0 4px rgba(52, 211, 153, 0.25);
    --band: #0f2b20;
    --band-ink: #d6f5e6;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans KR", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
main:focus { outline: none; }

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px max(16px, calc((100vw - 1080px) / 2));
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
}

.brand img { display: block; width: 28px; height: 28px; }

.nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: space-between; min-width: 0; }
.nav-main, .nav-side { display: flex; align-items: center; gap: 2px; }
.nav-main { margin-left: 24px; }
/* A menu entry with a panel of links: products, industries, the member's own pages. */
.nav-group { position: relative; }
.nav-drop { display: inline-flex; align-items: center; gap: 6px; max-width: 160px; padding: 7px 11px; border: 0; border-radius: 999px; background: none;
  color: var(--muted); font: inherit; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.nav-drop::after { content: ""; flex: none; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.nav-group.open .nav-drop::after { transform: translateY(1px) rotate(-135deg); }
.nav-drop:hover, .nav-group.open .nav-drop, .nav-group.current .nav-drop { color: var(--ink); }
.nav-menu { display: none; position: absolute; top: calc(100% + 10px); left: 0; z-index: 10; min-width: 340px; padding: 8px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--surface); box-shadow: 0 18px 44px rgba(0, 0, 0, .14); }
.nav-side .nav-menu { left: auto; right: 0; min-width: 250px; }
.nav-group.open .nav-menu { display: grid; gap: 2px; }
.nav .nav-item { display: grid; gap: 2px; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: inherit; text-align: left;
  text-decoration: none; cursor: pointer; }
.nav .nav-item b { font-size: 15px; font-weight: 700; }
.nav .nav-item span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.nav .nav-item.with-icon { grid-template-columns: 36px 1fr; column-gap: 12px; }
.nav .nav-item.with-icon b { align-self: end; }
.nav .nav-item.with-icon span { grid-column: 2; align-self: start; }
.nav-icon { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); font-style: normal; }
.nav-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
body.landing .nav-icon { background: rgba(61, 220, 151, .12); }
body.landing .nav-icon svg { stroke: var(--lp-accent); }
.nav .nav-item:hover, .nav .nav-item[aria-current="page"] { background: var(--accent-soft); }
.nav a:not(.btn):not(.chip):not(.nav-item), .nav button.link {
  padding: 7px 11px;
  border-radius: 999px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}
.nav a:not(.btn):not(.chip):not(.nav-item):hover, .nav button.link:hover { color: var(--ink); }
.nav a[aria-current="page"]:not(.btn):not(.nav-item) { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.nav .chip { padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; text-decoration: none; }

main { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 32px 16px 64px; }

.foot { padding: 24px 16px 32px; text-align: center; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
.foot p + p { margin-top: 4px; }
.noscript { padding: 24px; text-align: center; }

/* long-form text pages (privacy policy) */
.doc { max-width: 760px; }
.doc h2 { font-size: 19px; margin: 32px 0 10px; }
.doc p, .doc ul, .doc table { margin: 0 0 12px; }
.doc ul { padding-left: 20px; }
.doc li + li { margin-top: 4px; }
.doc table { border: 1px solid var(--line); border-radius: 10px; border-collapse: separate; border-spacing: 0; background: var(--surface); }
.doc th, .doc td { overflow-wrap: anywhere; }  /* a long address (a privacy policy URL) breaks instead of pushing the page sideways on a phone */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.08s ease, filter 0.15s ease;
}
.btn { box-shadow: 0 1px 2px rgba(10, 128, 73, .2), 0 6px 16px rgba(10, 128, 73, .16); transition: transform .12s ease, box-shadow .15s ease, filter .15s ease; }
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(10, 128, 73, .2), 0 10px 22px rgba(10, 128, 73, .2); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(10, 128, 73, .2); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; filter: none; transform: none; box-shadow: none; }
.btn.ghost, .btn.light, .btn.danger { box-shadow: none; }
.btn.ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.btn.small { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.btn.light { background: var(--band-ink); color: var(--band); }
.btn.wide { width: 100%; }
.btn.danger { background: var(--bad-soft); color: var(--bad); }

.card { background: var(--surface); border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
/* an empty page: an icon in a soft circle, a warm line, the one thing to do next */
.card.empty { padding: 48px 24px; text-align: center; }
.card.empty b { display: block; margin-bottom: 6px; font-size: 19px; }
.card.empty p { margin: 0 auto 18px; max-width: 420px; }
.empty-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; background: var(--accent-soft); }
.empty-icon::before { content: ""; width: 30px; height: 30px; background: var(--accent); -webkit-mask: var(--glyph) center / contain no-repeat; mask: var(--glyph) center / contain no-repeat; }
.empty-icon.video { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='M10 9.5v5l4.5-2.5z'/%3E%3C/svg%3E"); }
.empty-icon.canvas { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='8' height='8' rx='2'/%3E%3Crect x='13' y='13' width='8' height='8' rx='2'/%3E%3Cpath d='M11 7h4a2 2 0 0 1 2 2v4'/%3E%3C/svg%3E"); }
.empty-icon.assets { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z'/%3E%3Cpath d='M4 7l2-3h12l2 3'/%3E%3Cpath d='M10 12h4'/%3E%3C/svg%3E"); }
/* the order form's two steps */
.stepper { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.choices.compact { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.choices.compact .box { padding: 10px 12px; text-align: center; }
.choices.compact .box b { font-size: 15px; font-weight: 600; }
.step-foot { gap: 8px; }
.step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  color: var(--muted); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.step b { display: block; color: var(--ink); font-size: 15px; }
.step small { display: block; font-size: 12px; line-height: 1.4; }
.step-no { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 999px; background: var(--bg); color: var(--muted); font-weight: 800; font-size: 14px; }
.step.on { border-color: var(--accent); background: var(--accent-soft); }
.step.on .step-no { background: var(--accent); color: var(--accent-ink); }
.step.done .step-no { background: var(--ok-soft); color: var(--ok); }
.step-panel[hidden] { display: none; }
.step-panel > * + * { margin-top: 16px; }
.step-foot { display: flex; justify-content: flex-end; padding-top: 4px; }
@media (max-width: 480px) { .step small { display: none; } .step { padding: 10px 12px; } }
/* the tab strip the four work pages share */
.work-tabs { display: inline-flex; gap: 2px; margin: 0 0 22px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.work-tabs a { padding: 8px 16px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.work-tabs a:hover { color: var(--ink); }
.work-tabs a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
@media (max-width: 480px) { .work-tabs { display: flex; } .work-tabs a { flex: 1; padding: 8px 10px; text-align: center; font-size: 14px; } }
.stack > * + * { margin-top: 16px; }
.muted { color: var(--muted); }
.note { margin-top: 14px; }
.small { font-size: 14px; }
.num { font-variant-numeric: tabular-nums; }
.page-title { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 6px; }
.page-lead { color: var(--muted); margin-bottom: 22px; line-height: 1.6; }
.section-title { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin: 44px 0 14px; }
.section-eyebrow { display: block; margin-bottom: 4px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }

.notice { padding: 12px 14px; border-radius: 12px; font-size: 15px; background: var(--accent-soft); color: var(--ink); }
.notice.ok { background: var(--ok-soft); }
.notice.bad { background: var(--bad-soft); color: var(--bad); }
.notice.warn { background: var(--warn-soft); }
.notice strong { font-weight: 700; }
.notice .bank { margin-top: 6px; white-space: pre-line; font-weight: 700; }
.warn-row td { background: var(--warn-soft); }
.pay-qr { display: flex; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.pay-qr img { flex: none; border-radius: 8px; background: #fff; }
@media (max-width: 480px) { .pay-qr { flex-direction: column; align-items: flex-start; } }

/* landing */
/* v2 (2026-10-08): two columns, the production flow drawn on the right. On a phone the flow comes under the text. */
.grid.prices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; }
.closing.band { background: var(--band); color: var(--band-ink); border-color: transparent; }
.closing.band p { margin-top: 6px; opacity: 0.85; }
@media (max-width: 820px) { .grid.prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.tiers { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .grid.prices { grid-template-columns: minmax(0, 1fr); } }

.grid { display: grid; gap: 14px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (max-width: 820px) { .grid.strengths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid.strengths { grid-template-columns: minmax(0, 1fr); } }

.step .n { display: inline-block; margin-bottom: 10px; color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 17px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 15px; }

.plan h3 { font-size: 18px; }
.plan .tag { color: var(--muted); font-size: 14px; }
.plan .price { margin-top: 12px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan .desc { margin-top: 6px; color: var(--muted); font-size: 14px; }
.plan.featured { border-color: var(--accent); }
.closing { margin-top: 48px; padding: 36px 20px; text-align: center; }
.closing h2 { font-size: 26px; }
.closing .btn { margin-top: 18px; }

/* forms */
.field { display: block; }
.field > span, .legend { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.field .hint { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="tel"], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input[type="text"]:hover, input[type="email"]:hover, input[type="password"]:hover, input[type="number"]:hover, input[type="tel"]:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--muted) 45%, var(--line)); }
/* a select with the site's own arrow, not the browser's */
select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6f6c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
/* A text box is as tall as its rows ask (at least a few lines); only the script box starts tall. */
textarea { min-height: 6.5em; resize: vertical; line-height: 1.7; }
textarea.script-box { min-height: 300px; }
input[type="file"] { font: inherit; font-size: 14px; color: var(--muted); }
input[type="file"]::file-selector-button { margin-right: 10px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--ink); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
input[type="file"]::file-selector-button:hover { border-color: var(--accent); }
.advanced { border-top: 1px dashed var(--line); padding-top: 10px; }
.advanced > summary { cursor: pointer; color: var(--muted); font-size: 14px; }
input:disabled { background: var(--bg); color: var(--muted); }
.field-bad { display: block; margin-top: 6px; color: var(--bad); font-size: 13px; font-style: normal; font-weight: 400; }
.my-ip { margin-top: 14px; text-align: center; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
/* 알림: the unread count in the menu, and the list. */
.nav .count { display: inline-block; min-width: 18px; margin-left: 5px; padding: 0 5px; border-radius: 999px; background: var(--bad); color: var(--accent-ink); font-size: 12px; font-weight: 700; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.notice-row { color: inherit; text-decoration: none; }
.notice-row.unread { border-color: var(--accent); }
/* 내 정보: what the member registered, as fixed grey boxes. Changing it happens on the 정보 수정 page. */
.fixed-info { display: grid; gap: 14px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fixed-info > div > span { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.fixed-info > div > b { display: block; min-height: 46px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--muted); font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 480px) { .fixed-info { grid-template-columns: minmax(0, 1fr); } }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--accent); box-shadow: var(--ring); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.counter { margin-top: 4px; text-align: right; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

.choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice .box { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; background: var(--surface); }
.choice .box b { display: block; font-size: 16px; }
.choice .box span { display: block; color: var(--muted); font-size: 13px; }
.choice:hover .box { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.choice input:checked + .box { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
/* A tier the member already holds: switched on, and not a choice. The bonus part of a top-up package stands out. */
.choice.held .box { border-color: var(--accent); background: var(--accent-soft); cursor: default; }
.choice .box b .badge { display: inline-block; margin-left: 6px; color: var(--ok); font-size: 12px; vertical-align: middle; }
.choice .box em { font-style: normal; font-weight: 700; color: var(--accent); }
.price-row.pack { grid-template-columns: minmax(0, 2fr) repeat(6, minmax(0, 1fr)); }
@media (max-width: 720px) { .price-row.pack { grid-template-columns: minmax(0, 1fr); } }
.choice input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }

.auth { max-width: 420px; margin: 24px auto 0; }
.social > * + * { margin-top: 10px; }
.social .or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.social .or::before, .social .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.social .kakao { background: #fee500; color: #191600; box-shadow: none; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; }
.check input { width: auto; margin-top: 4px; accent-color: var(--accent); }
.auth .switch { margin-top: 16px; text-align: center; color: var(--muted); font-size: 15px; }

.order { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.summary { position: sticky; top: 76px; }
/* On a phone the order's total and start button ride along at the bottom, so nobody scrolls to the end to start. */
.order-bar { display: none; }
@media (max-width: 820px) {
  .order-bar { display: flex; align-items: center; gap: 12px; position: sticky; bottom: 0; z-index: 4; margin: 16px -16px 0; padding: 12px 16px;
    background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px rgba(0, 0, 0, .06); }
  .order-bar .order-bar-total { flex: 1; min-width: 0; }
  .order-bar .order-bar-total b { display: block; font-size: 20px; }
  .order-bar .order-bar-total span { color: var(--muted); font-size: 12px; }
}
.summary .label { color: var(--muted); font-size: 14px; }
.summary .total { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.summary .total small { font-size: 18px; font-weight: 600; }
.summary dl { margin: 14px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 14px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.summary .rule { grid-column: 1 / -1; height: 1px; background: var(--line); margin: 4px 0; }

@media (max-width: 820px) {
  .order { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  main { padding-top: 24px; }
}

/* Narrow screens: the menu folds behind a menu button and opens as a list under the header, its panels unfolded in place.
   A sideways-scrolling row hid 알림 · 내 정보 · 로그아웃 past the screen edge with nothing to say they were there (2026-10-13). */
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px;
    background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
  .top .nav { display: none; }
  body.menu-open .top .nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 6px;
    padding: 12px 16px 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0, 0, 0, .18); max-height: calc(100dvh - 70px); min-height: calc(100dvh - 70px); overflow-y: auto; }
  .nav-main, .nav-side { flex-direction: column; align-items: stretch; margin: 0; gap: 4px; }
  .nav-side { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
  .nav a:not(.btn):not(.chip):not(.nav-item), .nav button.link, .nav-drop { max-width: none; padding: 14px 12px; border-radius: 12px; font-size: 17px; font-weight: 600; text-align: left; color: var(--ink); }
  .nav a[aria-current="page"]:not(.btn):not(.nav-item) { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
  .nav-drop { justify-content: space-between; width: 100%; color: var(--ink); }
  .nav-menu, .nav-side .nav-menu { position: static; min-width: 0; padding: 0 0 8px 8px; border: 0; box-shadow: none; background: none; }
  .nav .nav-item { padding: 12px; }
  .nav .nav-item b { font-size: 16px; }
  .nav .chip { align-self: flex-start; margin: 4px 12px 8px; font-size: 15px; padding: 8px 14px; }
  .nav-side .btn { margin-top: 10px; min-height: 48px; }
  body.landing .nav-toggle { background: rgba(255, 255, 255, .06); color: var(--lp-text); border-color: var(--lp-line); }
  body.landing.menu-open .top .nav { background: #06110c; border-bottom-color: var(--lp-line); }
  body.landing .nav-drop { color: var(--lp-text); }
  body.landing .nav-side { border-top-color: var(--lp-line); }
}

@media (max-width: 480px) {
}

/* style gallery: landing page and the order form */
.styles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.style-card { display: block; padding: 10px; }
.style-card b { display: block; margin-top: 8px; font-size: 15px; }
.style-card span { display: block; color: var(--muted); font-size: 13px; }
.style-shot { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--line); }
.style-card .style-shot.blank { display: grid; place-items: center; color: var(--muted); font-size: 28px; font-weight: 800; background: linear-gradient(135deg, var(--accent-soft), var(--line)); }
.choice .box.style-card { padding: 10px; }
.pair { display: grid; gap: 12px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
textarea.short { min-height: 0; resize: none; }
@media (max-width: 480px) { .pair { grid-template-columns: minmax(0, 1fr); } }

/* lists */
.rows { display: grid; gap: 10px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.row .main { min-width: 0; flex: 1 1 220px; }
.row .title { font-weight: 700; }
.row .meta { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.row .side { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--line); color: var(--ink); white-space: nowrap; }
.badge.queued, .badge.pending { background: var(--warn-soft); color: var(--warn); }
.badge.running { background: var(--info-soft); color: var(--info); }
.badge.completed, .badge.approved { background: var(--ok-soft); color: var(--ok); }
.badge.failed, .badge.rejected { background: var(--bad-soft); color: var(--bad); }
.badge.running::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.2s ease-in-out infinite; }

@keyframes pulse { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .badge.running::before { animation: none; } .btn { transition: none; } }

.job > * + * { margin-top: 12px; }
.stage { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stage progress { flex: 1 1 160px; height: 8px; accent-color: var(--info); }
.files { display: flex; gap: 8px; flex-wrap: wrap; }

.empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.empty .btn { margin-top: 14px; }

.form-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
[hidden] { display: none !important; }

/* admin */
main > .card + .card, main > .grid + .card, main > .notice + .grid { margin-top: 16px; }
/* cards, forms and lists that follow one another on a page keep the same distance */
main > .card + form.card, main > form.card + .card, main > form.card + form.card, main > .rows + .card, main > .rows + form.card,
main > .notice + .card, main > .notice + form, main > .notice + .notice, main > .page-title + .card, main > p.muted + .card, main > p.muted + form.card { margin-top: 16px; }
main > .card.closing { margin-top: 48px; }
main > .stack + .card, main > .stack + section, main > .notice + p, main > p + .grid, main > .toolbar + .card, main > .card + .table-wrap, main > p + .card { margin-top: 14px; }
.soon { color: var(--warn); font-weight: 700; }
.faq details { padding: 14px 4px; border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 8px; color: var(--muted); }
.first-steps h2 { font-size: 18px; }
/* A button that reads as a link (small actions inside cards): no box of its own, the browser's grey button never shows. */
button.link { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
button.link:hover { color: var(--ink); }
button.link:disabled { opacity: .5; cursor: default; }
button.link.bad, .link.bad { color: var(--bad); }
.link.small { font-size: 13px; }
.sub-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.sub-facts dt { color: var(--muted); }
.sub-facts dd { margin: 0; }
.check.buy-agree { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-weight: 600; }
.buy-rules { margin: 0; padding-left: 18px; }
.lp-calc-note.sub { margin-top: -4px; }
/* Promotions. The owner's strip takes the place of the built-in benefit strip. */
body.has-promo-strip .perk-strip, body.has-promo-strip .lp-perk { display: none; }
.promo-strip { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 44px 9px 16px; position: relative; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; text-align: center; }
.promo-strip-go { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.promo-strip .promo-x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: #fff; }
.promo-x, .promo-fold { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.promo-pip { position: fixed; left: 18px; bottom: 18px; z-index: 60; width: 320px; overflow: hidden; border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: 0 16px 40px rgba(0, 0, 0, .22); border: 1px solid var(--line); }
.promo-pip .promo-tools { position: absolute; top: 6px; right: 6px; z-index: 2; display: flex; gap: 2px; }
.promo-pip .promo-tools button { background: rgba(0, 0, 0, .45); color: #fff; font-size: 16px; }
.promo-media { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.promo-body { display: grid; gap: 10px; padding: 14px 16px 16px; }
.promo-body p { margin: 0; font-weight: 600; line-height: 1.45; }
.promo-go { justify-self: start; padding: 8px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
.promo-pip.folded { width: auto; }
.promo-pip.folded .promo-media, .promo-pip.folded .promo-body .promo-go { display: none; }
.promo-pip.folded .promo-body { padding: 10px 70px 10px 14px; }
.promo-pip.folded .promo-body p { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.promo-pip.big { left: 50%; top: 50%; bottom: auto; width: min(560px, calc(100vw - 48px)); transform: translate(-50%, -50%); z-index: 1001; }
.promo-pip.big .promo-body p { font-size: 18px; }
.promo-veil { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 12, 14, .28); -webkit-backdrop-filter: blur(var(--promo-blur, 5px)); backdrop-filter: blur(var(--promo-blur, 5px)); transition: opacity .45s; }
.promo-veil.plain { background: rgba(10, 12, 14, .62); }
.promo-veil.leaving { opacity: 0; pointer-events: none; }
dialog.promo-popup { width: min(440px, calc(100vw - 32px)); padding: 0; overflow: hidden; border: 0; border-radius: 16px; background: var(--surface); color: var(--ink); }
dialog.promo-popup::backdrop { background: rgba(0, 0, 0, .45); }
.promo-popup-foot { display: flex; justify-content: space-between; padding: 10px 16px 14px; border-top: 1px solid var(--line); }
@media (max-width: 768px) {
  /* On a phone the PIP is a small card along the bottom, clear of the round chat button on the right. */
  .promo-pip { left: 12px; right: 76px; bottom: 12px; width: auto; display: grid; grid-template-columns: 96px 1fr; align-items: center; min-height: 72px; max-height: 92px; }
  .promo-pip .promo-media { height: 100%; aspect-ratio: auto; }
  .promo-pip .promo-body { gap: 4px; padding: 8px 56px 8px 10px; }
  .promo-pip .promo-body p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .promo-pip .promo-go { padding: 4px 10px; font-size: 12px; }
  .promo-pip.folded { grid-template-columns: 1fr; right: auto; }
}
@media (prefers-reduced-motion: reduce) { .promo-veil { transition: none; } }
/* 친구 초대: the heap of credits and the grains under it */
.invite-total { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.invite-total small { margin-left: 4px; font-size: 18px; color: var(--muted); }
.invite-grains { list-style: none; margin: 4px 0 0; padding: 0; }
.invite-grains li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line); }
.invite-grains b { color: var(--ok); font-variant-numeric: tabular-nums; }
/* The phone box and its code: the input takes the room, the button keeps its words on one line. */
.verify-row { display: flex; gap: 8px; align-items: stretch; margin-top: 6px; }
.verify-row[hidden] { display: none; }
.verify-row input { flex: 1 1 auto; min-width: 0; }
.verify-row .btn { flex: 0 0 auto; white-space: nowrap; }
input.verified { border-color: var(--ok); }
input.locked { background: color-mix(in srgb, var(--line) 35%, transparent); color: var(--muted); cursor: default; }
.bad-text { color: var(--bad); }
main > .card + div, main > div + form, main > .first-steps + div { margin-top: 16px; }
.tabs.sub { margin-bottom: 12px; }
.tabs.sub button { padding: 6px 12px; font-size: 14px; }
.memo { margin-top: 4px; padding: 4px 8px; border-radius: 6px; background: var(--warn-soft); color: var(--ink); }
.script-view { min-height: 260px; background: var(--surface); }
.toolbar select { width: auto; padding: 8px 10px; }
.card h2 .badge { margin-left: 8px; vertical-align: middle; }
.site-notice { padding: 10px max(16px, calc((100vw - 1080px) / 2)); background: var(--info-soft); color: var(--info); font-size: 14px; font-weight: 600; text-align: center; }
.badge.cancelled { background: var(--line); color: var(--muted); }
.tile { display: block; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.tile b { display: block; margin-top: 4px; font-size: 24px; font-variant-numeric: tabular-nums; }
.tile:hover { border-color: var(--accent); }
section.card > div > h2 { font-size: 20px; }
section.card > div > h2 + p { margin-top: 2px; }
.setting-grid { display: grid; gap: 14px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.setting-group + .setting-group { padding-top: 16px; border-top: 1px solid var(--line); }
.setting-group h3 { margin-bottom: 10px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.setting p { margin-top: 4px; min-height: 1.6em; }
@media (max-width: 720px) { .setting-grid { grid-template-columns: minmax(0, 1fr); } }
.setting-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.setting-group > p { margin: -6px 0 10px; }
.price-rows { display: grid; gap: 10px; }
.price-row { display: grid; gap: 12px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
.price-row.tier { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); }
.row .plus { color: var(--ok); }
.row .minus { color: var(--muted); }
.pair.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sample video { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #000; }
.sample h3 { margin-top: 10px; }
.invite-code { font-size: 34px; font-weight: 800; letter-spacing: 0.14em; font-variant-numeric: tabular-nums; }
.invite-link { word-break: break-all; }
.usage { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding: 6px 0; }
.usage > span:first-child { flex: 0 0 84px; color: var(--muted); }
.usage .badge { flex: none; }
.usage b { font-variant-numeric: tabular-nums; }
.more summary { margin: 12px 0; color: var(--muted); font-size: 14px; cursor: pointer; }
@media (max-width: 720px) { .setting-grid.three, .price-row, .price-row.tier { grid-template-columns: minmax(0, 1fr); } }
.net-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.net-row b { flex: 0 0 170px; font-variant-numeric: tabular-nums; }
.net-row .muted { flex: 1; min-width: 0; }
dialog.ask { width: min(380px, calc(100vw - 32px)); padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--card, #fff); color: var(--ink); }
dialog.ask h2 { font-size: 19px; }
.once { margin-top: 6px; }
dialog.ask::backdrop { background: rgba(0, 0, 0, 0.35); }
.worker-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.worker-head h2 { font-size: 20px; }
.card.offline { opacity: 0.65; }
.key-list { border-top: 1px solid var(--line); }
.secret { padding: 12px; border-radius: 10px; background: var(--bg); font-family: ui-monospace, Consolas, monospace; font-size: 18px; letter-spacing: 0.06em; text-align: center; overflow-wrap: anywhere; }
.steps { margin: 0; padding-left: 20px; }
.steps li + li { margin-top: 4px; }
.toolbar input[type="text"] { flex: 1 1 220px; width: auto; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font: inherit; font-size: 15px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td .err { color: var(--bad); font-size: 13px; max-width: 36em; }
td .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .tabs { margin-bottom: 0; }
.grid.perks { margin: 14px 0; }

/* ── landing v3 (2026-10-08): the dark cinematic front, the looping production run, the gallery, the reveals ── */
.btn.big { min-height: 52px; padding: 12px 26px; font-size: 17px; }
.btn.ghost.dark { background: rgba(255, 255, 255, .06); color: #eaf7ef; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn.ghost.dark:hover { background: rgba(255, 255, 255, .12); filter: none; }

/* a quiet strip of what one order yields */

/* gallery */
.works { display: grid; gap: 14px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-auto-flow: dense; }
.work { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.work img, .work video { display: block; width: 100%; height: 100%; object-fit: cover; }
.work img { transition: transform 6s ease; transform: scale(1.02); }
.work:hover img { transform: scale(1.12); }
.work figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78)); color: #fff; pointer-events: none; }
.work figcaption b { display: block; font-size: 16px; }
.work figcaption span { display: block; margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.work.video figcaption { pointer-events: none; padding-bottom: 54px; }
.works .work:first-child { grid-row: span 2; }
@media (max-width: 820px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } .works .work:first-child { grid-row: auto; grid-column: span 2; } }
@media (max-width: 520px) { .works { grid-template-columns: minmax(0, 1fr); } .works .work:first-child { grid-column: auto; } }

/* reveals: things come up as the page is scrolled; without an observer, or with reduced motion, they are simply there */
.reveal { opacity: 0; translate: 0 18px; transition: opacity .6s ease, translate .6s ease; transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; translate: 0 0; transition: none; } }
.card.step { transition: transform .2s ease, box-shadow .2s ease, opacity .6s ease, translate .6s ease; }
.card.step:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(23, 22, 26, .10); }
body { overflow-x: clip; }

.section-title.big { font-size: clamp(28px, 4.4vw, 44px); font-weight: 900; letter-spacing: -.035em; margin-top: 64px; }
.section-title.big .section-eyebrow { font-size: 12px; letter-spacing: .2em; }

/* ── 요금 page (2026-10-08) ── */
.price-hero { padding: 24px 0 8px; text-align: center; }
.price-hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 900; letter-spacing: -.04em; line-height: 1.12; }
.price-hero h1 em { font-style: normal; color: var(--accent); }
.price-hero .lead { max-width: 40em; margin: 14px auto 0; color: var(--muted); font-size: 17px; }
.price-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 36px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 24px 20px 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.price-card.best { border: 2px solid var(--accent); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 45%); }
.ribbon { position: absolute; top: -12px; left: 20px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; }
.price-name { font-size: 15px; font-weight: 800; color: var(--muted); letter-spacing: .02em; }
.price-credits { margin-top: 8px; font-size: 40px; font-weight: 900; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-credits small, .price-won small { margin-left: 2px; font-size: 16px; font-weight: 700; }
.price-bonus { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--accent); }
.price-won { margin-top: 18px; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.price-rate { color: var(--muted); font-size: 13px; }
.price-buys { flex: 1; margin: 16px 0 18px; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 8px; align-content: start; font-size: 14px; color: var(--muted); }
.price-buys li::before { content: '✓'; margin-right: 8px; color: var(--accent); font-weight: 900; }
.price-buys b { color: var(--ink); }
.recommend { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); margin-top: 48px; padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.recommend h2 { font-size: 24px; font-weight: 900; letter-spacing: -.03em; margin-bottom: 8px; }
.rec-step { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; font-weight: 700; }
.rec-step span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 12px; }
.rec-step b { margin-left: auto; color: var(--accent); font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.chip-btn.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.recommend input[type="range"] { width: 100%; accent-color: var(--accent); }
.rec-result { padding: 22px; border-radius: 18px; background: linear-gradient(160deg, #0b3d2a, #07150f); color: #eaf7ef; display: flex; flex-direction: column; gap: 10px; }
.rec-label { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: #7ee3b0; }
.rec-main { font-size: 26px; font-weight: 900; letter-spacing: -.03em; }
.rec-main span { color: rgba(234, 247, 239, .5); }
.rec-result dl { margin: 4px 0 6px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.rec-result dt { color: rgba(234, 247, 239, .6); }
.rec-result dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.rec-result dd b { font-size: 20px; color: #fff; }
.rec-result .muted { color: rgba(234, 247, 239, .55); }
.tier-table th.top { color: var(--accent); }
.tier-table tbody th { color: var(--muted); font-weight: 600; text-align: left; }
.tier-table td { font-weight: 700; }
@media (max-width: 900px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .recommend { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }

/* sign-up benefits strip */
.perk-strip { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin: -32px calc(50% - 50vw) 0; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-size: 15px; }
.perk-strip + .price-hero { margin-top: 0; }
.perk-strip + .price-hero { padding-top: 40px; }
.perk-tag { padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.perk-go { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.price-first { margin-top: 6px; display: inline-block; align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-size: 12px; font-weight: 800; }

/* the works: a clip behind the hero, an 8-card showcase */
@media (max-width: 900px) { .showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ════ landing v5 (2026-10-08): one dark page, one type scale, one radius ════ */
body.landing { --lp-bg: #06110c; --lp-surface: #0c1a13; --lp-line: rgba(255, 255, 255, .09); --lp-text: #eef6f1; --lp-muted: rgba(238, 246, 241, .62); --lp-accent: #3ddc97; --lp-radius: 18px;
  background: var(--lp-bg); color: var(--lp-text); }
body.landing .top { background: rgba(6, 17, 12, .72); border-bottom-color: var(--lp-line); }
body.landing .brand { color: var(--lp-text); }
body.landing .nav a:not(.btn):not(.chip):not(.nav-item), body.landing .nav button.link, body.landing .nav-drop { color: var(--lp-muted); }
body.landing .nav a:not(.btn):not(.chip):not(.nav-item):hover, body.landing .nav-drop:hover, body.landing .nav-group.open .nav-drop { color: var(--lp-text); }
body.landing .nav a[aria-current="page"]:not(.btn):not(.nav-item) { background: rgba(255, 255, 255, .06); box-shadow: none; color: var(--lp-text); }
body.landing .nav-menu { background: var(--lp-surface); border-color: var(--lp-line); box-shadow: 0 18px 44px rgba(0, 0, 0, .5); }
body.landing .nav .nav-item { color: var(--lp-text); }
body.landing .nav .nav-item span { color: var(--lp-muted); }
body.landing .nav .nav-item:hover, body.landing .nav .nav-item[aria-current="page"] { background: rgba(61, 220, 151, .12); }
body.landing main { max-width: none; padding: 0; }
body.landing .foot { border-top-color: var(--lp-line); color: var(--lp-muted); }
body.landing .site-notice { background: #0c2a1d; color: #bff0d8; }
.lp-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.lp-narrow { max-width: 820px; }
.lp-hero { position: relative; display: flex; align-items: flex-end; min-height: min(86vh, 820px); overflow: hidden; }
.lp-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 17, 12, .35) 0%, rgba(6, 17, 12, .25) 40%, rgba(6, 17, 12, .92) 88%, var(--lp-bg) 100%), linear-gradient(90deg, rgba(6, 17, 12, .7), transparent 65%); }
.lp-hero-body { position: relative; padding-top: 120px; padding-bottom: 72px; }
.lp-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--lp-line); color: var(--lp-text); text-decoration: none; font-size: 14px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lp-pill span { padding: 3px 10px; border-radius: 999px; background: var(--lp-accent); color: #04140c; font-size: 12px; font-weight: 700; }
.lp-pill i { font-style: normal; color: var(--lp-muted); transition: transform .2s; }
.lp-pill:hover i { transform: translateX(3px); }
.lp-hero h1 { margin-top: 22px; font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; }
.lp-hero h1 em { font-style: normal; color: var(--lp-accent); }
.lp-lead { margin-top: 20px; max-width: 34em; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--lp-muted); }
.lp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); color: var(--lp-text); font-weight: 700; font-size: 16px; text-decoration: none; transition: background .2s, transform .2s; }
.lp-btn:hover { background: rgba(255, 255, 255, .08); }
.lp-btn.primary { background: var(--lp-accent); border-color: transparent; color: #04140c; }
.lp-btn.primary:hover { background: #63e8ad; transform: translateY(-1px); }
.lp-section { padding: 112px 0 0; }
.lp-head { max-width: 640px; margin-bottom: 40px; }
.lp-kicker { color: var(--lp-accent); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lp-head h2 { margin-top: 10px; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.lp-head p:not(.lp-kicker) { margin-top: 14px; color: var(--lp-muted); font-size: 17px; }
.lp-works { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; }
.lp-work { position: relative; margin: 0; border-radius: var(--lp-radius); overflow: hidden; background: var(--lp-surface); }
.lp-work.lead { grid-column: span 2; grid-row: span 2; }
.lp-work img, .lp-work video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-work img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.lp-work video { opacity: 0; transition: opacity .35s; }
.lp-work:hover img { transform: scale(1.06); }
.lp-work:hover video, .lp-work video[autoplay] { opacity: 1; }
.lp-work figcaption { position: absolute; left: 14px; bottom: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(6, 17, 12, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--lp-text); font-size: 13px; font-weight: 600; }
.lp-split { display: grid; gap: 56px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
.lp-steps { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.lp-steps li { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--lp-line); }
.lp-steps li:last-child { border-bottom: 1px solid var(--lp-line); }
.lp-steps li > span { flex: 0 0 2.2em; white-space: nowrap; color: var(--lp-accent); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; padding-top: 3px; }
.lp-steps b { font-size: 19px; font-weight: 700; }
.lp-steps p { margin-top: 4px; color: var(--lp-muted); font-size: 15px; }
.lp-reasons { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-card { padding: 28px; border-radius: var(--lp-radius); background: var(--lp-surface); border: 1px solid var(--lp-line); }
.lp-card b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.lp-card p { margin-top: 10px; color: var(--lp-muted); font-size: 15px; line-height: 1.65; }
.lp-prices { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-price { position: relative; display: flex; flex-direction: column; gap: 4px; color: var(--lp-text); text-decoration: none; transition: border-color .2s, transform .2s; }
.lp-price:hover { border-color: rgba(61, 220, 151, .5); transform: translateY(-2px); }
.lp-price.on { border-color: var(--lp-accent); }
.lp-badge { position: absolute; top: 18px; right: 18px; padding: 3px 10px; border-radius: 999px; background: var(--lp-accent); color: #04140c; font-size: 12px; font-weight: 700; }
.lp-price-name { color: var(--lp-muted); font-size: 14px; font-weight: 600; }
.lp-price b { margin-top: 10px; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lp-price b small { margin-left: 2px; font-size: 16px; color: var(--lp-muted); }
.lp-price-won { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lp-price-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--lp-line); color: var(--lp-muted); font-size: 13px; }
.lp-more { margin-top: 22px; }
.lp-more a { color: var(--lp-accent); font-weight: 600; text-decoration: none; }
.lp-faq details { padding: 22px 4px; border-top: 1px solid var(--lp-line); }
.lp-faq details:last-child { border-bottom: 1px solid var(--lp-line); }
.lp-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 600; cursor: pointer; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; color: var(--lp-muted); font-size: 22px; line-height: 1; transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq p { margin-top: 12px; color: var(--lp-muted); line-height: 1.7; }
.lp-cta { position: relative; margin-top: 128px; padding: 120px 0; overflow: hidden; text-align: center; }
.lp-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.lp-cta::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--lp-bg), rgba(6, 17, 12, .4) 40%, var(--lp-bg)); }
.lp-cta-body { position: relative; z-index: 2; }
.lp-cta h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -0.035em; }
.lp-cta p { margin: 14px 0 30px; color: var(--lp-muted); font-size: 18px; }
@media (max-width: 960px) { .lp-split { grid-template-columns: minmax(0, 1fr); gap: 40px; } .lp-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-works { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; } }
@media (max-width: 640px) { .lp-reasons { grid-template-columns: minmax(0, 1fr); } .lp-section { padding-top: 80px; } .lp-hero-body { padding-top: 96px; padding-bottom: 48px; } .lp-works { grid-auto-rows: 140px; } .lp-wrap { padding: 0 16px; } }
/* eight works fill the grid: the big one, six, and a wide one at the end */
@media (max-width: 420px) { .lp-price { padding: 18px; } .lp-price b { font-size: 24px; } .lp-badge { top: 12px; right: 12px; } }

@media (max-width: 640px) {
  .lp-hero { min-height: 88svh; }
  .lp-hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .lp-actions .lp-btn { flex: 1 1 140px; }
  .lp-head { margin-bottom: 28px; }
  .lp-work.lead { grid-column: span 2; grid-row: span 1; }
  .lp-card { padding: 22px; }
  .lp-price b { font-size: 28px; }
  .lp-cta { margin-top: 88px; padding: 88px 0; }
}

/* footer v2 (2026-10-08) */
.foot { padding: 56px 0 36px; text-align: left; font-size: 13px; }
.foot-in { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.foot-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 17px; font-weight: 800; letter-spacing: .04em; text-decoration: none; }
.foot-logo img { display: block; }
.foot-brand p { margin-top: 10px; }
.foot-links { display: flex; gap: 56px; }
.foot-links div { display: flex; flex-direction: column; gap: 10px; }
.foot-links b { color: inherit; opacity: .75; font-size: 12px; letter-spacing: .08em; }
.foot-links a { color: inherit; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-links strong { font-weight: 700; }
.price-note { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.price-refund { margin-top: 20px; }
.price-refund h2 { font-size: 17px; margin-bottom: 8px; }
.price-refund ul { padding-left: 18px; margin-bottom: 8px; }
.price-refund li + li { margin-top: 4px; }
.foot-biz { margin: 24px 0 0; font-size: 12.5px; line-height: 1.7; }
.foot-biz:empty { display: none; }
.foot-biz-list { display: flex; flex-wrap: wrap; gap: 2px 18px; margin: 0; }
.foot-biz-list div { display: flex; gap: 6px; min-width: 0; }
.foot-biz-list dt { flex: none; font-weight: 600; }
.foot-biz-list dd { margin: 0; min-width: 0; word-break: keep-all; overflow-wrap: anywhere; }
.foot-biz-list a { margin-left: 6px; color: inherit; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.foot-copy { margin-top: 18px; opacity: .7; }
body.landing .foot-top { border-bottom-color: var(--lp-line); }
body.landing .foot-logo, body.landing .foot-links strong { color: var(--lp-text); }
.foot-links strong { color: var(--ink); }
.lp-work.lead ~ .lp-work:last-child:nth-child(4n) { grid-column: span 2; }
@media (max-width: 640px) {
  .foot { padding: 40px 0 28px; }
  .foot-in { padding: 0 16px; }
  .foot-links { gap: 40px; }
  .foot-biz-list { flex-direction: column; gap: 2px; }
}
/* how it works: the real pages, recorded */
.lp-howto { border-radius: var(--lp-radius); overflow: hidden; background: var(--lp-surface); border: 1px solid var(--lp-line); box-shadow: 0 40px 100px rgba(0, 0, 0, .5); }
.lp-howto video { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
@media (max-width: 640px) { .lp-howto { box-shadow: 0 20px 50px rgba(0, 0, 0, .45); } }
/* first-purchase price: the regular price, struck, beside the real first price */
.price-was, .lp-price-was { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.price-was del, .lp-price-was del { color: var(--muted); }
body.landing .lp-price-was del { color: var(--lp-muted); }
.price-was em, .lp-price-was em, .first-off { font-style: normal; font-weight: 700; color: #d9480f; }
body.landing .lp-price-was em { color: #ff8a5c; }
.lp-price-was { margin-top: 6px; font-size: 13px; }
/* package badges: green (the brand) and red */
.ribbon.tone-red, .lp-badge.tone-red { background: #e5484d; color: #fff; }

/* hero with the result reel (2026-10-08) */
.lp-hero-split { align-items: center; min-height: auto; background: radial-gradient(900px 520px at 75% 10%, rgba(61, 220, 151, .16), transparent 65%), var(--lp-bg); }
.lp-split-hero { display: grid; gap: 48px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; padding-top: 96px; padding-bottom: 72px; }
.lp-hero-split h1 { font-size: clamp(36px, 4.8vw, 62px); }
.lp-reel { margin: 0; }
.lp-reel-frame { border-radius: 20px; overflow: hidden; background: #000; border: 1px solid var(--lp-line); box-shadow: 0 40px 120px rgba(0, 0, 0, .55), 0 0 0 6px rgba(255, 255, 255, .03); }
.lp-reel-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lp-reel figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--lp-muted); }
.lp-reel figcaption b { margin-right: 4px; color: var(--lp-text); font-weight: 700; }
.lp-reel figcaption span { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--lp-line); }
@media (max-width: 960px) {
  .lp-split-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 72px; padding-bottom: 48px; }
  .lp-hero-copy { display: contents; }
  .lp-hero-split .lp-pill { order: 0; justify-self: start; }
  .lp-hero-split h1 { order: 1; margin-top: 0; }
  .lp-reel { order: 2; }
  .lp-hero-split .lp-lead { order: 3; margin-top: 0; }
  .lp-hero-split .lp-actions { order: 4; margin-top: 0; }
}
/* a package with a red badge gets a red box (2026-10-09) */
.price-card.red { border: 2px solid #e5484d; background: linear-gradient(180deg, #fdecec, var(--surface) 45%); }
.lp-price.red { border-color: #e5484d; background: linear-gradient(180deg, rgba(229, 72, 77, .12), var(--lp-surface) 55%); }
.lp-price.red:hover { border-color: #ff6b70; }
/* the free-trial switch on the order page */
.trial-switch { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--accent); background: var(--accent-soft); cursor: pointer; }
.trial-switch input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); }
.trial-switch b { display: block; font-size: 16px; }
.trial-switch span span { color: var(--muted); font-size: 14px; }
/* 미리보기 on 내 작업 */
.preview-wrap { margin-top: 10px; }
.preview:not(:empty) { display: grid; gap: 12px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); margin-top: 12px; }
.preview video { display: block; width: 100%; border-radius: 12px; background: #000; }
.preview-side { display: grid; gap: 10px; align-content: start; }
.preview figure { margin: 0; }
.preview figure img { display: block; width: 100%; border-radius: 10px; }
.preview figure.short video { aspect-ratio: 9 / 16; max-height: 320px; object-fit: contain; }
.preview figcaption { margin-top: 4px; color: var(--muted); font-size: 13px; }
@media (max-width: 720px) { .preview:not(:empty) { grid-template-columns: minmax(0, 1fr); } }
/* reviews */
.review { margin-top: 10px; }
.review-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.review-form input[type=text] { flex: 1 1 220px; }
.stars-pick { display: inline-flex; gap: 2px; }
.star { padding: 0 2px; border: 0; background: none; color: var(--line); font-size: 22px; line-height: 1; cursor: pointer; }
.star.on, .stars { color: #f5a524; }
.lp-reviews { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-review { margin: 0; }
.lp-review blockquote { margin: 12px 0 0; color: var(--lp-text); font-size: 16px; line-height: 1.65; }
.lp-review figcaption { margin-top: 14px; color: var(--lp-muted); font-size: 13px; }
@media (max-width: 860px) { .lp-reviews { grid-template-columns: minmax(0, 1fr); } }
/* the floating 상담 button */
.support-fab { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: inline-flex; align-items: center; gap: 6px; padding: 12px 16px; border-radius: 999px;
  background: #fee500; color: #191600; font-weight: 800; font-size: 15px; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.support-fab:hover { transform: translateY(-1px); }
@media (max-width: 640px) {
  /* on a phone the button is a small round chat bubble, so it does not cover the buttons beneath it */
  .support-fab { right: 12px; bottom: 12px; width: 52px; height: 52px; padding: 0; justify-content: center; font-size: 0; }
  .support-fab span { font-size: 22px; }
}
/* the benefit pill: its tag never breaks in two */
.lp-pill span { flex-shrink: 0; white-space: nowrap; }
/* AI로 대본 쓰기 */
.draft-panel { border: 1px dashed var(--accent); border-radius: 14px; padding: 12px 14px; background: var(--accent-soft); }
.draft-panel summary { cursor: pointer; }
.draft-body { display: grid; gap: 12px; margin-top: 12px; }
.draft-body .btn { justify-self: start; }
/* admin: the funnel */
.funnel { display: grid; gap: 10px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.funnel-step { display: grid; gap: 4px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.funnel-step b { font-size: 22px; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* templates */
.lp-templates { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* The calculator: the plan picked as chips, the result dimmed while it is being priced, its workings folded. */
.lp-calc-plans > div { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.lp-calc-in .lp-calc-plan, .lp-calc-plan { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--lp-line); border-radius: 999px; cursor: pointer; font-size: 14px; }
.lp-calc-plan:has(input:checked) { border-color: var(--lp-accent); background: rgba(61, 220, 151, .12); }
.lp-calc-plan input { accent-color: var(--lp-accent); }
.lp-calc-out.busy { opacity: .55; transition: opacity .15s; }
.lp-calc-detail { font-size: 13px; color: var(--lp-muted); }
.lp-calc-detail summary { cursor: pointer; }
.lp-calc-detail ul { margin: 8px 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.lp-calc-detail li { display: flex; justify-content: space-between; gap: 12px; }
.lp-calc-detail p { margin: 6px 0 0; }
.lp-template video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
/* The three products on the front page. */
.lp-products { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-product { display: grid; gap: 10px; align-content: start; padding: 26px 24px; border-radius: var(--lp-radius); border: 1px solid var(--lp-line);
  background: linear-gradient(160deg, rgba(61, 220, 151, .08), transparent 60%), var(--lp-surface); color: var(--lp-text); text-decoration: none; transition: border-color .2s, transform .2s; }
.lp-product:hover { border-color: var(--lp-accent); transform: translateY(-2px); }
.lp-product .lp-template-tag { justify-self: start; }
.lp-product-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(61, 220, 151, .12); }
.lp-product-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--lp-accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lp-product b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; }
.lp-product-desc { color: var(--lp-muted); font-size: 15px; }
@media (max-width: 820px) { .lp-products { grid-template-columns: minmax(0, 1fr); } }
.lp-template { display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: var(--lp-radius); border: 1px solid var(--lp-line); background: var(--lp-surface); color: var(--lp-text); text-align: left; font: inherit; cursor: pointer; text-decoration: none; transition: border-color .2s, transform .2s; }
.lp-template:hover { border-color: var(--lp-accent); transform: translateY(-2px); }
.lp-template img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.lp-template-body { display: grid; gap: 6px; padding: 16px; }
.lp-template-tag { justify-self: start; padding: 2px 9px; border-radius: 999px; background: rgba(61, 220, 151, .14); color: var(--lp-accent); font-size: 12px; font-weight: 700; }
.lp-template b { font-size: 17px; }
.lp-template-topic { color: var(--lp-muted); font-size: 14px; line-height: 1.5; }
.lp-template-go { margin-top: 6px; color: var(--lp-accent); font-size: 14px; font-weight: 700; }
/* before / after */
.lp-ba { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lp-ba-col { padding: 24px; border-radius: var(--lp-radius); border: 1px solid var(--lp-line); background: var(--lp-surface); }
.lp-ba-col.after { border-color: rgba(61, 220, 151, .45); background: linear-gradient(180deg, rgba(61, 220, 151, .1), var(--lp-surface) 60%); }
.lp-ba-head { margin-bottom: 12px; font-weight: 800; font-size: 17px; }
.lp-ba ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lp-ba li { padding-left: 26px; position: relative; color: var(--lp-muted); line-height: 1.5; }
.lp-ba .before li::before { content: '✕'; position: absolute; left: 0; color: #ff8a8a; font-weight: 800; }
.lp-ba .after li { color: var(--lp-text); }
.lp-ba .after li::before { content: '✓'; position: absolute; left: 0; color: var(--lp-accent); font-weight: 800; }
/* calculator */
.lp-calc { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.lp-calc-in { display: grid; gap: 18px; }
.lp-calc-in label { display: grid; gap: 8px; color: var(--lp-muted); font-size: 14px; }
.lp-calc-in input[type=range] { width: 100%; accent-color: var(--lp-accent); }
.lp-calc-in input[type=number], .lp-calc-in select { min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--lp-line); background: rgba(255, 255, 255, .04); color: var(--lp-text); font: inherit; }
.lp-calc-count { color: var(--lp-text); font-size: 22px; }
.lp-calc-out { display: grid; gap: 10px; }
.lp-calc-row { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--lp-line); color: var(--lp-muted); }
.lp-calc-row b { color: var(--lp-text); font-variant-numeric: tabular-nums; }
.lp-calc-row.big b { color: var(--lp-accent); font-size: 26px; }
.lp-calc-save { margin: 6px 0 4px; font-size: 17px; }
.lp-calc-save b { color: var(--lp-accent); }
.lp-calc-note { color: var(--lp-muted); font-size: 12px; line-height: 1.6; }
/* peace of mind */
.lp-trust { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-trust-item { display: grid; gap: 6px; padding: 20px; border-radius: var(--lp-radius); border: 1px solid var(--lp-line); }
.lp-trust-item b { font-size: 16px; }
.lp-trust-item span { color: var(--lp-muted); font-size: 14px; line-height: 1.5; }
/* the count in the hero */
.lp-made { margin: 0 0 10px; color: var(--lp-muted); font-size: 14px; }
.lp-made b { color: var(--lp-accent); }
/* the bottom bar */
.lp-sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; align-items: center; justify-content: center; min-height: 52px; border-radius: 999px; background: #3ddc97; color: #04140c; font-weight: 800; font-size: 16px; text-decoration: none; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); transform: translateY(140%); transition: transform .3s; }
.lp-sticky.show { transform: translateY(0); }
@media (max-width: 960px) {
  .lp-templates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-calc { grid-template-columns: minmax(0, 1fr); }
  .lp-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-sticky { display: flex; right: 76px; }
}
@media (max-width: 640px) {
  .lp-ba { grid-template-columns: minmax(0, 1fr); }
  .lp-template-body { padding: 12px; }
  .lp-template b { font-size: 15px; }
}
/* the calculator sits in a card whose bold text is a block elsewhere: here it runs inline */
.lp-calc .lp-calc-row b, .lp-calc .lp-calc-save b { display: inline; margin: 0; }
@media (max-width: 960px) { body.landing .foot { padding-bottom: 96px; } }
/* real output */
.lp-real { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-real-card { margin: 0; overflow: hidden; border-radius: var(--lp-radius); border: 1px solid var(--lp-line); background: var(--lp-surface); cursor: pointer; }
.lp-real-card video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.lp-real-card figcaption { display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px; font-size: 14px; }
.lp-real-card figcaption span { color: var(--lp-muted); font-size: 13px; }
@media (max-width: 960px) { .lp-real { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lp-real { grid-template-columns: minmax(0, 1fr); } }

/* ---------- canvas ---------- */
.cv-list-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.cv-list-head .page-title { margin-bottom: 4px; }
.cv-boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cv-board-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.cv-board-cover { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--accent-soft); color: var(--accent); font-size: 32px; text-decoration: none; overflow: hidden; }
.cv-board-cover img { width: 100%; height: 100%; object-fit: cover; }
.cv-board-meta { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 4px; }
.cv-board-meta a { color: var(--ink); text-decoration: none; }
.cv-board-card > .link { align-self: flex-end; margin: 0 10px 8px; }
.cv-empty { text-align: center; padding: 40px 16px; }

body.canvas-open { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
body.canvas-open main { max-width: none; padding: 0; display: flex; min-height: 0; }
body.canvas-open .foot { display: none; }
.cv { display: flex; flex-direction: column; width: 100%; flex: 1; min-height: 0; }
.cv-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.cv-title { font: inherit; font-weight: 700; font-size: 16px; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 8px; padding: 6px 8px; min-width: 0; width: 220px; max-width: 40vw; }
.cv-title:hover, .cv-title:focus { border-color: var(--line); outline: none; background: var(--bg); }
.cv-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cv-zoom { min-width: 44px; text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; }
.cv-status { margin-left: auto; }
.cv-closed { margin: 8px 16px 0; }
.cv-hint { padding: 6px 16px 10px; margin: 0; border-top: 1px solid var(--line); background: var(--surface); }
.cv-view { position: relative; flex: 1; overflow: hidden; touch-action: none; cursor: grab; outline: none;
  background-color: var(--bg); background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 22px 22px; }
.cv-view.panning { cursor: grabbing; }
.cv-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.cv-links { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; }
.cv-link { fill: none; stroke: var(--accent); stroke-width: 2.5; opacity: 0.75; pointer-events: none; }
.cv-link.drafting { stroke-dasharray: 6 6; }
.cv-link-hit { fill: none; stroke: transparent; stroke-width: 16; cursor: pointer; pointer-events: stroke; }
.cv-link-hit:hover + .cv-link, .cv-link-hit:hover { stroke: var(--bad); }
.cv-node { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); cursor: default; }
.cv-node.selected { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.cv-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 6px 14px; font-size: 12px; font-weight: 700; color: var(--muted); cursor: move; user-select: none; }
.cv-x { border: 0; background: transparent; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.cv-x:hover { background: var(--bad-soft); color: var(--bad); }
.cv-text { display: block; width: calc(100% - 20px); margin: 0 10px; min-height: 96px; resize: vertical; font: inherit; font-size: 14px; line-height: 1.5; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.cv-text:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.cv-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px 10px; }
.cv-foot .btn { margin-left: auto; }
.cv-makes { padding-top: 0; justify-content: flex-end; }
.cv-opts { padding-top: 0; padding-bottom: 4px; gap: 6px; }
/* The note's choices sit side by side, not one per line (the page-wide rule makes every select full width). */
.cv-opts select.cv-aspect { width: auto; min-width: 0; max-width: 100%; flex: 1 1 auto; }
.cv-opts .cv-opt-label { flex: 0 0 100%; }
.cv-opt-label { min-width: 26px; }
.cv-check { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.cv-preset { flex: 1; min-width: 0; }

/* ---------- company accounts ---------- */
.team-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.team-credits { display: flex; flex-direction: column; align-items: flex-end; }
.team-credits b { font-size: 24px; }
.team-limit { width: 110px; font: inherit; padding: 4px 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
.nav .chip.team { background: var(--info-soft); color: var(--info); }

/* ---------- share links ---------- */
.share-box summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--accent); }
.share-list { display: flex; flex-direction: column; gap: 8px; }
.share-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share-row input { flex: 1; min-width: 200px; font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }

/* ---------- lecture videos ---------- */
.lecture-new textarea, .lecture-slide textarea { width: 100%; box-sizing: border-box; font: inherit; }
.lecture-slide textarea { min-height: 120px; }
.lecture-new textarea { min-height: 96px; }
.cv-starts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
/* AI assistant connections on the account page. */
.mcp-code { width: 100%; box-sizing: border-box; font-family: ui-monospace, Consolas, monospace; font-size: 13px; line-height: 1.5; min-height: 0; resize: vertical; }
.mcp-code-head { display: flex; align-items: center; gap: 8px; }
.mcp-cap { width: 90px; }
.mcp-cap-line { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
/* Words on a canvas picture. */
.cv-letter { width: min(960px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 22px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); color: var(--ink); box-sizing: border-box; }
.cv-letter::backdrop { background: rgba(0, 0, 0, .55); }
.cv-letter h2 { margin: 0 0 4px; }
.cv-letter-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; margin: 14px 0; align-items: start; }
.cv-letter-canvas { display: block; width: 100%; height: auto; max-height: 60dvh; object-fit: contain; border-radius: 10px; background: #000; }
@media (max-width: 720px) { .cv-letter-body { grid-template-columns: minmax(0, 1fr); } }
.lecture-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lecture-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lecture-list li a { color: var(--ink); text-decoration: none; }
.lecture-list li .link { margin-left: auto; }
.lecture-title { width: 100%; box-sizing: border-box; font: inherit; font-size: 26px; font-weight: 800; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 10px; padding: 6px 8px; margin: 4px 0 12px; }
.lecture-title:hover, .lecture-title:focus { border-color: var(--line); outline: none; background: var(--surface); }
.lecture-slides { display: flex; flex-direction: column; gap: 12px; margin: 12px 0; }
.lecture-slide-head { display: flex; justify-content: space-between; align-items: center; }
.lecture-slide-tools { display: flex; gap: 6px; }
.lecture-make { position: sticky; bottom: 12px; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; box-shadow: var(--shadow); }
.lecture-video { width: 100%; border-radius: 12px; background: #000; aspect-ratio: 16 / 9; }
.lecture-pic { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px; border: 1px dashed var(--line); border-radius: 12px; }
.lecture-pic img { width: 160px; height: 110px; object-fit: cover; border-radius: 8px; display: block; }
.lecture-pic.waiting { min-height: 60px; }
.lecture-pic-empty { width: 160px; height: 60px; display: grid; place-items: center; background: var(--bg); border-radius: 8px; }
.lecture-pic-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- industry pages ---------- */
.ind-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.ind-tabs a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 14px; }
.ind-tabs a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); border-color: transparent; font-weight: 700; }
.ind-hero { margin-bottom: 28px; }
.ind-kicker { color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.ind-hero .page-lead { max-width: 640px; margin: 8px 0 16px; }
.ind-block { margin: 32px 0; }
.ind-block h2 { font-size: 20px; margin-bottom: 12px; }
.ind-samples { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
/* A product's page for visitors. */
.intro-points { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.intro-point { display: grid; gap: 6px; align-content: start; }
.intro-point b { font-size: 16px; }
.intro-point p { margin: 0; }
.intro-price h2 { margin-top: 0; }
/* The lecture page's sample slide, drawn in HTML in the navy deck theme. */
.intro-deck { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.intro-slide { position: relative; aspect-ratio: 16 / 9; padding: 5% 6%; border-radius: 16px; overflow: hidden; box-sizing: border-box;
  background: radial-gradient(circle at 15% 15%, #1d3461 0%, #0f1b33 65%); color: #e6ecf7; box-shadow: var(--shadow); }
.intro-slide-kicker { margin: 0 0 6px; color: #38bdf8; font-size: clamp(11px, 1.3vw, 15px); font-weight: 700; }
.intro-slide h3 { margin: 0 0 4%; padding-left: 12px; border-left: 5px solid #38bdf8; color: #fff; font-size: clamp(18px, 2.6vw, 32px); font-weight: 900; letter-spacing: -0.02em; }
.intro-slide ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.intro-slide li { position: relative; padding-left: 20px; font-size: clamp(12px, 1.5vw, 18px); }
.intro-slide li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 3px; background: #38bdf8; }
.intro-slide-sub { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); margin: 0; padding: 4px 12px; border-radius: 6px; background: rgba(0, 0, 0, .6);
  color: #fff; font-size: clamp(10px, 1.2vw, 14px); white-space: nowrap; }
.intro-slide-page { position: absolute; right: 4%; top: 6%; color: #7d8bad; font-size: clamp(10px, 1.1vw, 13px); }
.intro-files { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.intro-files ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.intro-files li { position: relative; padding-left: 26px; }
.intro-files li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
@media (max-width: 720px) { .intro-deck { grid-template-columns: minmax(0, 1fr); } }
.ind-sample { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ind-sample img, .ind-sample video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #000; }
.ind-sample figcaption { padding: 10px 12px; font-size: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ind-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; }
.ind-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; padding: 0; list-style: none; }
.ind-cases li { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.ind-presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ind-preset { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }

.cv-makes .btn { margin-left: 0; }
.cv-pic video { width: 100%; height: 100%; display: block; background: #000; }
.cv-pic iframe.cv-3d { width: 100%; height: 100%; border: 0; display: block; background: #e9e7e2; }
.cv-aspect { font: inherit; font-size: 13px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 4px 6px; }
.cv-refs.bad { color: var(--bad); }
.cv-pic { margin: 0 10px; border-radius: 10px; overflow: hidden; background: var(--bg); display: grid; place-items: center; }
.cv-pic img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; }
.cv-pic-note { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; text-align: center; font-size: 13px; color: var(--muted); }
.cv-pic-note.bad { color: var(--bad); }
.cv-spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: cv-spin 0.9s linear infinite; }
@keyframes cv-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cv-spin { animation-duration: 3s; } }
.cv-port { position: absolute; top: 50px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.cv-port.in { left: -8px; pointer-events: none; opacity: 0.6; }
.cv-port.out { right: -8px; cursor: crosshair; }
.cv-port.out:hover { background: var(--accent); transform: scale(1.25); }
@media (max-width: 640px) {
  .cv-bar { padding: 8px 12px; gap: 6px; }
  .cv-title { width: 140px; }
  .cv-status { width: 100%; margin-left: 0; }
  .cv-hint { display: none; }
  .cv-port { width: 20px; height: 20px; }
  .cv-port.out { right: -11px; }
}

/* The site's own short messages (in place of the browser's alert box). */
#toasts { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 1000; display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 14px; line-height: 1.5; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); cursor: pointer; animation: toast-in .18s ease-out; transition: opacity .35s, transform .35s; }
.toast.leaving { opacity: 0; transform: translateY(6px); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; transition: none; } }

/* Prices never break inside a number ("38,900" above, "원" alone below); on a phone the old price and the offer stack. */
.price-was del, .lp-price-was del, .price-was em, .lp-price-was em, .first-off, .lp-price-won { white-space: nowrap; }
@media (max-width: 420px) { .lp-price-was { flex-wrap: wrap; gap: 2px 8px; font-size: 12px; } }

/* Help and pricing questions open with the same + as the front page, not the browser's triangle. */
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: 0 0 auto; color: var(--muted); font-size: 22px; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
/* On a phone the round chat button sits over the page's last lines; the page ends a little higher. */
@media (max-width: 640px) { #app { padding-bottom: 72px; } }

/* Five points on a wide screen: three over two, each row full, instead of four and one left alone. */
@media (min-width: 821px) {
  .intro-points:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .intro-points:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
  .intro-points:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3; }
}

/* Consent: the "all" box stands apart; the optional offers sit in one quiet group with their channels side by side. */
.check.all-agree { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.consent-group { display: grid; gap: 8px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--line) 22%, transparent); }
.consent-channels { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-left: 26px; }
.consent-perk { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 12px; font-weight: 700; }

/* 요금: 등급 + 크레딧 = 이번 달 영상 */
.price-explain { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 12px; margin: 8px 0 28px; }
.pe-box { display: grid; gap: 4px; align-content: start; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.pe-box b { font-size: 17px; }
.pe-box p { margin: 0; color: var(--ink); font-size: 14px; }
.pe-tag { justify-self: start; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--ok-soft); color: var(--ok); }
.pe-box.credit .pe-tag { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.pe-box.result { border-color: var(--ok); }
.pe-note { color: var(--muted); font-size: 12px; }
.pe-op { align-self: center; font-size: 24px; font-weight: 800; color: var(--muted); }
@media (max-width: 760px) { .price-explain { grid-template-columns: 1fr; } .pe-op { justify-self: center; line-height: 1; } }
.contact-list { list-style: none; padding: 0; display: grid; gap: 8px; }

.btn.kakao-chat { background: #fee500; color: #191600; border-color: #fee500; }
.btn.kakao-chat:hover { background: #f5dc00; }

/* The credits chip says where it leads. */
.chip .chip-go { margin-left: 6px; padding-left: 6px; border-left: 1px solid currentColor; font-weight: 700; opacity: .85; }

/* the owner's 화풍 cards */
.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.style-card label > span:first-child { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.style-card textarea { width: 100%; font: inherit; font-size: 13px; }
.style-pic { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--bg); display: grid; place-items: center; }
.style-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.style-none { color: var(--muted); font-size: 13px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* 그림 검토 on 내 작업: the scene pictures with a pick and a note each */
.scenes-review { display: grid; gap: 12px; padding-top: 4px; }
.scene-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.scene-card { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); cursor: pointer; }
.scene-card:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.scene-card.stock { cursor: default; opacity: .85; }
.scene-card:has(input:disabled:not(:checked)) { cursor: default; opacity: .6; }  /* 장면 다시 만들기: the most a request may name are picked */
.scene-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.scene-none { aspect-ratio: 16 / 9; display: grid; place-items: center; color: var(--muted); font-size: 13px; background: var(--bg); }
.scene-body { padding: 10px 12px; display: grid; gap: 6px; }
.scene-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.check-pick { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.scene-body input[type=text] { width: 100%; font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; }

/* 쿠폰 on 충전, 서비스 상태 tiles, 업데이트 */
.coupon-card { display: grid; gap: 6px; }
.coupon-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.coupon-row input { flex: 1 1 160px; min-width: 0; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; text-transform: uppercase; }
.card.tile { display: grid; gap: 4px; align-content: start; }
.card.tile b { font-size: 24px; }
.provider-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.provider-list .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; background: var(--muted); vertical-align: middle; }
.provider-list .dot.ok { background: var(--ok); }
.provider-list .dot.warn { background: #e0a100; }
.provider-list .dot.bad { background: var(--bad, #d33); }
.updates { display: grid; gap: 12px; }
.update h2 { margin: 2px 0 6px; font-size: 18px; }
.update-body p { margin: 0 0 4px; }

/* ---- the studio shell: a member's pages get a left rail from 1024px; the top bar keeps the brand, the balance, the account ---- */
#side { display: none; }
@media (min-width: 1024px) {
  body.studio { display: grid; grid-template-columns: 252px minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; align-items: start; }
  body.studio > .top { grid-column: 1 / -1; padding-left: 20px; padding-right: 24px; }
  body.studio > .top .nav-main { display: none; }
  body.studio > .site-notice { grid-column: 2; }
  body.studio > #side { display: flex; grid-column: 1; grid-row: 2 / 4; }
  body.studio > main { grid-column: 2; width: 100%; max-width: 1180px; margin: 0; padding: 28px 36px 72px; justify-self: start; }
  body.studio > main { min-height: calc(100vh - 61px); }  /* the rail's foot (the balance) always has room */
  /* an open canvas board takes the whole window as before: the rail steps aside */
  body.studio.canvas-open { display: flex; }
  body.studio.canvas-open > #side { display: none; }
  body.studio > .foot { grid-column: 1 / -1; }
  body.studio > :not(.top):not(.site-notice):not(.side):not(main):not(.foot) { grid-column: 1 / -1; }
}
#side { position: sticky; top: 61px; height: calc(100vh - 61px); overflow-y: auto; flex-direction: column; gap: 10px; padding: 14px 14px 14px;
  border-right: 1px solid var(--line); background: var(--surface); }
.side-group { display: grid; gap: 2px; }
.side-group h4 { margin: 0 0 4px 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
#side a:not(.btn) { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px;
  transition: background .12s ease, color .12s ease; }
#side a:not(.btn):hover { background: var(--bg); color: var(--ink); }
#side a:not(.btn)[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
#side a:not(.btn) > span { flex: 1; min-width: 0; }
.side-ic { display: grid; place-items: center; width: 22px; height: 22px; flex: none; }
.side-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#side .count { display: inline-block; min-width: 18px; padding: 0 6px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 12px; font-weight: 700; line-height: 18px; text-align: center; }
.side-credits { margin-top: auto; display: grid; gap: 6px; padding: 14px; border-radius: 14px; background: var(--band); color: var(--band-ink); }
.side-credits span { font-size: 12px; opacity: .8; }
.side-credits b { font-size: 24px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.side-credits .btn { margin-top: 4px; justify-content: center; }
.side-user { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 10px 0; font-size: 13px; color: var(--muted); }
.side-user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (prefers-color-scheme: dark) { #side { background: color-mix(in srgb, var(--surface) 70%, var(--bg)); } }

/* polish: choice cards and fields answer the pointer */
.choice .box { transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease; }
.choice:hover .box { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.choice input:focus-visible + .box { box-shadow: var(--ring); }

/* the total above the pay button; the 문제 신고 row on a finished video */
.pay-total { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: var(--bg); }
.pay-total b { font-size: 22px; font-variant-numeric: tabular-nums; }
.issue { display: grid; gap: 6px; }
.issue-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.issue-row select { flex: 0 0 auto; width: auto; }
.issue-row input { flex: 1 1 180px; min-width: 0; }

/* the promise strip on 요금 and 충전; the quick genre pick; the partner row on the admin member page */
.promise-strip { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 0; padding: 0; }
.promise-strip li { padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; }
main > .promise-strip { justify-content: flex-start; margin: 0 0 16px; }
.quick-pick { padding: 14px 16px; border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 14px; background: color-mix(in srgb, var(--accent-soft) 40%, transparent); }
.quick-pick .chips { margin-top: 4px; }
.partner-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.partner-row input { width: 80px; }

/* 목소리 as a grid of small cards with a ▶ sample */
.voice-picker { display: grid; gap: 10px; }
.voice-filters { display: grid; gap: 6px; }
.voice-filters .chips { gap: 6px; }
.chip-btn.small { padding: 4px 10px; font-size: 13px; }
.voice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; max-height: 360px; overflow-y: auto; padding: 2px; }
.voice-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  cursor: pointer; transition: border-color .12s ease, box-shadow .12s ease; }
.voice-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.voice-card.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface)); }
.voice-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.voice-text { display: grid; min-width: 0; }
.voice-text b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.voice-text span { font-size: 12px; color: var(--muted); }
.voice-text .voice-uses { color: var(--accent); font-weight: 700; }
.voice-play { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--accent-soft); cursor: pointer; position: relative; }
.voice-play::before { content: ""; position: absolute; left: 12px; top: 9px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--accent); }
.voice-play.playing::before { left: 11px; top: 10px; width: 10px; height: 12px; border: 0; border-left: 3px solid var(--accent); border-right: 3px solid var(--accent); box-sizing: border-box; }
.voice-card { align-items: flex-start; }
.voice-play { margin-top: 2px; }
.voice-text { flex: 1; }
.voice-text .voice-note { color: var(--ink); opacity: .8; line-height: 1.4; white-space: normal; }
.voice-fav { flex: none; border: 0; background: none; font-size: 18px; line-height: 1; color: var(--muted); cursor: pointer; padding: 2px; }
.voice-fav.on { color: #e0a100; }
.voice-filters input[type=search] { width: 100%; font: inherit; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.voice-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); max-height: 420px; }

/* (?) marks: the explanation on hover, focus or tap */
.tip { position: relative; display: inline-flex; vertical-align: middle; margin-left: 6px; font-weight: 400; }
.tip-btn { display: inline-grid; place-items: center; width: 18px; height: 18px; padding: 0; border: 1px solid color-mix(in srgb, var(--muted) 60%, transparent); border-radius: 50%;
  background: var(--surface); color: var(--muted); font: 700 11px/1 inherit; cursor: help; }
.tip-btn:hover, .tip.open .tip-btn { border-color: var(--accent); color: var(--accent); }
.tip-text { display: none; position: absolute; z-index: 30; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); width: max-content; max-width: min(280px, 80vw);
  padding: 9px 12px; border-radius: 10px; background: var(--ink); color: var(--surface); font-size: 13px; font-weight: 400; line-height: 1.5; text-align: left;
  white-space: normal; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); pointer-events: none; }
.tip-text::before { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; background: var(--ink); transform: translateX(-50%) rotate(45deg); }
.tip:hover .tip-text, .tip:focus-within .tip-text, .tip.open .tip-text { display: block; }
.voice-text b { display: block; overflow: visible; white-space: normal; overflow-wrap: anywhere; line-height: 1.35; }
/* card rules style every span inside a choice; the (?) keeps its own look there */
.choice .box .tip, .voice-text .tip { display: inline-flex !important; }
.tip > .tip-text { display: none !important; color: var(--surface) !important; font-size: 13px !important; font-weight: 400 !important; }
.tip:hover > .tip-text, .tip:focus-within > .tip-text, .tip.open > .tip-text { display: block !important; }
.voice-grid { overflow-y: auto; }
.choice .box b .tip, .voice-text .tip { margin-left: 4px; }
.voice-try { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.voice-try input { flex: 1 1 240px; min-width: 0; }
/* 주문 바로 결제: the shortfall paid from the order page */
.order-pay .chips { gap: 6px; }
.order-pay .chip-check { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 14px; cursor: pointer; }
.order-pay .chip-check:has(input:checked) { border-color: var(--accent); color: var(--accent); }
/* an anchor (/terms#refund) lands below the sticky header, not under it */
[id] { scroll-margin-top: 84px; }
.buy-refund { margin: 4px 0 8px; }
.buy-refund .buy-rules { margin-top: 4px; }
/* the plain pages (terms, privacy, guide): their own small menu, visible on a phone too */
.top .legal-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; font-size: 15px; }
.top .legal-nav a:not(.btn) { color: var(--muted); text-decoration: none; }
.top .legal-nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 640px) { .top .legal-nav { gap: 12px; font-size: 14px; } .top .legal-nav .wide-only, .top .legal-nav .btn { display: none; } }

/* channel template cards: the example's length on the clip */
.lp-template-media { position: relative; display: block; }
.lp-template-len { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .62); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.6; }
/* the order page on a phone: the plans one per row, the looks two by two */
@media (max-width: 560px) {
  .plan-choices { grid-template-columns: 1fr; }
  .styles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .style-card b { font-size: 14px; margin-top: 6px; }
  .choice .box.style-card { padding: 6px; }
}

/* industry pages (2026-10-25): hero with a sample, troubles, products, steps, a month priced, FAQ, a closing call */
@media (max-width: 900px) { .ind-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; } }
.ind-tabs::-webkit-scrollbar { display: none; }
.ind-tabs a { flex: 0 0 auto; white-space: nowrap; }
.ind-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.ind-hero .page-title { font-size: clamp(26px, 4vw, 40px); line-height: 1.25; }
.ind-who { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.ind-who b { color: var(--ink); }
.ind-hero-media { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.ind-hero-media video, .ind-hero-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ind-hero-media figcaption { padding: 8px 12px; font-size: 13px; color: var(--muted); background: var(--surface); }
.ind-num { display: inline-grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 14px; }
.ind-pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ind-pain { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.ind-pain p { margin: 2px 0 0; line-height: 1.55; }
.ind-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ind-product { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.ind-product:hover { border-color: var(--accent); transform: translateY(-2px); }
.ind-product b { font-size: 17px; }
.ind-product p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; flex: 1; }
.ind-more { color: var(--accent); font-weight: 700; font-size: 14px; }
.ind-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.ind-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 12px; border: 1px dashed var(--line); }
.ind-steps p { margin: 2px 0 0; line-height: 1.55; }
.ind-month { display: grid; gap: 14px; }
.ind-month-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ind-month-table th, .ind-month-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.ind-month-table th:nth-child(n+2), .ind-month-table td:nth-child(n+2) { text-align: right; white-space: nowrap; }
.ind-month-table th { color: var(--muted); font-size: 13px; font-weight: 600; }
.ind-month-total { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ind-month-total > div { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); }
.ind-month-total b { font-size: 22px; color: var(--ink); }
.ind-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.ind-faq summary { cursor: pointer; font-weight: 700; list-style-position: outside; }
.ind-faq details p { margin: 10px 0 0; color: var(--muted); line-height: 1.65; }
.ind-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 40px 0 24px; padding: 24px 28px; border-radius: 16px; background: var(--accent-soft); }
.ind-cta b { font-size: 20px; }
.ind-cta p { margin: 6px 0 0; color: var(--muted); }
.ind-cta .actions { flex: 0 0 auto; }
.ind-others { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 8px 0 32px; font-size: 14px; }
.ind-others a { color: var(--muted); }
@media (max-width: 900px) {
  .ind-hero { grid-template-columns: 1fr; gap: 20px; }
  .ind-hero-media { order: -1; }
  .ind-pains, .ind-products, .ind-steps { grid-template-columns: 1fr; }
  .ind-cta { flex-direction: column; align-items: flex-start; padding: 20px; }
}
@media (max-width: 560px) {
  .ind-block { margin: 26px 0; }
  .ind-samples { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ind-sample figcaption { font-size: 13px; padding: 8px; }
  .ind-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ind-month-total { grid-template-columns: 1fr; }
  .ind-month-table { font-size: 14px; }
  .ind-cta .actions, .ind-cta .actions .btn { width: 100%; }
  .ind-hero .actions .btn { flex: 1 1 auto; }
}

/* the front page's industry cards: ten, so smaller */
.lp-templates.lp-industries { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lp-industries .lp-template-body b { font-size: 15px; line-height: 1.4; }
@media (max-width: 1100px) { .lp-templates.lp-industries { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lp-templates.lp-industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-industries .lp-template-body b { font-size: 14px; } }

/* 카드뉴스 */
.card-howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.card-howto > div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 2px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.card-howto .ind-num { grid-row: span 2; }
.card-accents { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0; }
.card-accent { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.card-accent.on { border-color: var(--surface); box-shadow: 0 0 0 2px var(--ink); }
.card-editor-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.card-editor-head .lecture-title { flex: 1; min-width: 0; }
.card-editor { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.card-editor-main { display: grid; gap: 16px; min-width: 0; }
.card-editor-side { position: sticky; top: 80px; }
.card-side-box .btn { width: 100%; }
.card-preview { position: relative; width: 100%; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: #0d0d0f; }
.card-preview.fmt-1x1 { aspect-ratio: 1 / 1; }
.card-preview.fmt-4x5 { aspect-ratio: 4 / 5; }
.card-preview-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.card-pic img { aspect-ratio: 1 / 1; object-fit: cover; max-height: 220px; }
.card-done { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (max-width: 960px) {
  .card-editor { grid-template-columns: 1fr; }
  .card-editor-side { position: static; order: -1; }
  .card-preview { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 640px) { .card-howto { grid-template-columns: 1fr; } }
.card-preview.fmt-3x4 { aspect-ratio: 3 / 4; }

/* ===== responsive pass (2026-10-25): from 320px phones to 1280px desktops ===== */
/* the order page's step tabs: no word split letter by letter */
.step b { white-space: nowrap; }
@media (max-width: 480px) {
  .step { flex-direction: column; gap: 4px; padding: 8px 4px; text-align: center; }
  .step small { display: none; }
  .step-no { width: 24px; height: 24px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  body.studio .step small { display: none; }
  body.studio .order { grid-template-columns: minmax(0, 1fr) 280px; }
}
/* the chat button never sits on a bottom bar, an open menu or the canvas */
@media (max-width: 820px) { body:has(.order-bar) .support-fab { bottom: 96px; } }
body:has(.lecture-make) .support-fab { bottom: 110px; }
body.menu-open .support-fab, body.canvas-open .support-fab { display: none; }
@media (min-width: 641px) and (max-width: 768px) {
  .support-fab { right: 12px; bottom: 12px; width: 52px; height: 52px; padding: 0; justify-content: center; font-size: 0; }
  .support-fab span { font-size: 22px; }
}
/* tables that would widen the page scroll inside themselves */
.doc table, .card.stack > table { display: block; max-width: 100%; overflow-x: auto; }
.table-wrap table { min-width: 720px; }
.table-wrap td .actions .btn { white-space: nowrap; }
/* a picture-less PIP banner uses the whole width; it never covers the front page's bottom button */
.promo-pip:not(:has(.promo-media)) { grid-template-columns: 1fr; }
body:has(.promo-pip:not(.folded)) .lp-sticky { display: none; }
/* the studio rail stops above the footer */
@media (min-width: 1024px) { body.studio > .foot { position: relative; z-index: 6; background: var(--bg); } }
/* 320-400px phones: the front page's two-column cards go to one, numbers stay on one line */
.lp-price b, .lp-calc-row b, .lp-template-go { white-space: nowrap; }
@media (max-width: 380px) {
  .lp-prices, .lp-templates:not(.lp-industries) { grid-template-columns: 1fr; }
}
@media (max-width: 400px) { .lp-trust { grid-template-columns: 1fr; } }
/* no zoom-in on iPhone when an input gets focus (16px) */
.lp-calc-in input, .lp-calc-in select { font-size: 16px; }
@media (max-width: 768px) { .cv-text, .cv-aspect { font-size: 16px; } }
label.field input, label.field select, label.field textarea { font-size: max(16px, 1em); }
/* footer links on narrow phones */
@media (max-width: 420px) {
  .foot-links { gap: 20px 28px; flex-wrap: wrap; }
  .foot-links a { white-space: nowrap; padding: 6px 0; display: inline-block; }
}
/* three small choices stay on one row */
.choices.compact { grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); }
/* fingers: tap targets of 40px on touch screens */
@media (pointer: coarse) {
  .btn.small, .chip-btn.small { min-height: 40px; }
  .tip-btn { width: 28px; height: 28px; }
  .voice-fav, .star, .voice-play { min-width: 40px; min-height: 40px; }
  .link.small { padding: 10px 4px; }
  details > summary { padding-block: 10px; }
  input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; }
}
/* the canvas toolbar on a phone: one line that scrolls */
@media (max-width: 640px) { .cv-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .cv-bar::-webkit-scrollbar { display: none; } }
/* lone last cards in grids */
.lp-industries > :last-child:nth-child(3n+1) { grid-column: auto; }
@media (min-width: 641px) and (max-width: 1100px) { .lp-templates.lp-industries { grid-template-columns: repeat(5, minmax(0, 1fr)); } .lp-industries .lp-template-body b { font-size: 13px; } }
@media (min-width: 640px) and (max-width: 820px) { .lp-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* the voice list scrolls with the page on a phone, not inside itself */
@media (max-width: 640px) { .voice-grid { max-height: none; } }

/* four products on the front page: four across, two on a tablet, one on a phone */
.lp-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .lp-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lp-products { grid-template-columns: minmax(0, 1fr); } }
.lp-section select { font-size: 16px; }

/* pricing: the plans side by side and every feature's credits */
.price-tables { display: grid; gap: 16px; margin: 16px 0; }
.plan-compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.plan-col { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.plan-col .plan-price { margin: 6px 0; font-size: 22px; font-weight: 800; }
.plan-col ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table th, .price-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table .num { text-align: right; white-space: nowrap; }
.table-wrap .price-table { min-width: 640px; }
@media (max-width: 640px) { .plan-compare { grid-template-columns: 1fr; } }

.ind-hero.solo { grid-template-columns: 1fr; }
.ind-hero-media.tall { max-width: 340px; justify-self: center; }
.ind-hero-media.tall img { aspect-ratio: 4 / 5; }
.ind-sample.tall img { aspect-ratio: 4 / 5; }

/* the front page's voices */
.lp-voices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lp-voice { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--lp-radius, 16px); border: 1px solid var(--lp-line, var(--line)); background: var(--lp-surface, var(--surface)); }
.lp-voice b { display: block; font-size: 16px; }
.lp-voice span { display: block; font-size: 13px; opacity: .75; }
.lp-voice small { display: block; margin-top: 2px; font-size: 12px; opacity: .6; line-height: 1.4; }
.lp-voice-play { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--lp-accent, var(--accent)); color: #04130b; font-size: 15px; font-weight: 900; cursor: pointer; }
@media (max-width: 1000px) { .lp-voices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .lp-voices { grid-template-columns: minmax(0, 1fr); } }

/* 등장인물 on the order page */
.cast-pick { display: grid; gap: 8px; margin: 4px 0 12px; }
.cast-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.cast-item { display: flex; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--surface); }
.cast-item:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.cast-item img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.cast-item b { display: block; font-size: 14px; }
.cast-item small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* social sign-in: the provider's mark; Kakao's own yellow */
.social .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.social-mark { display: inline-grid; place-items: center; }
.social .btn.kakao { background: #FEE500; color: #191919; border-color: #FEE500; }
.team-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.team-perks .card { padding: 14px; }
.team-perks p { margin: 4px 0 0; }
@media (max-width: 640px) { .team-perks { grid-template-columns: 1fr; } }

/* 자막 고치기 */
.sub-edit { margin-top: 8px; }
.sub-edit summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.sub-lines { display: grid; gap: 6px; max-height: 420px; overflow-y: auto; padding-right: 4px; }
.sub-line { display: grid; grid-template-columns: 48px 1fr; gap: 8px; align-items: center; }
.sub-line input { width: 100%; }

/* 내 정보: five tabs */
.acct-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 4px 0 16px; padding-bottom: 2px; }
.acct-tabs::-webkit-scrollbar { display: none; }
.acct-tabs button { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 40px; }
.acct-tabs button.on { background: var(--accent-soft); color: var(--accent); border-color: transparent; }

.help-search { margin: 4px 0 12px; }
.help-search input { width: 100%; }

/* the lecture editor's own preview */
.lecture-preview { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0d0d0f; }
.lecture-preview-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lecture-preview-box { max-width: 760px; }
.cv-more > summary { cursor: pointer; padding: 6px 2px; }
.cv-more[open] > summary { margin-bottom: 4px; }

/* 결과물 예시: the chips under the reel open what that script came out as */
.lp-reel figcaption .lp-reel-chip { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--lp-line); background: transparent; color: inherit; font: inherit; cursor: pointer; }
.lp-reel figcaption .lp-reel-chip:hover, .lp-reel figcaption .lp-reel-chip:focus-visible { border-color: var(--lp-text); color: var(--lp-text); }
dialog.reel-view { width: min(860px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); overflow: auto; }
dialog.reel-view::backdrop { background: rgba(0, 0, 0, 0.6); }
.rv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.rv-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.rv-tabs button { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: inherit; font: inherit; font-size: 14px; cursor: pointer; }
.rv-tabs button[aria-selected="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.rv-wide { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #000; object-fit: contain; }
.rv-short { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 18px; align-items: start; }
.rv-short video { width: 100%; aspect-ratio: 9 / 16; border-radius: 10px; background: #000; }
.rv-srt { margin: 0; padding: 14px; font-family: inherit; font-variant-numeric: tabular-nums; border-radius: 10px; background: var(--bg); font-size: 13px; line-height: 1.6; white-space: pre-wrap; max-height: 50vh; overflow: auto; }
@media (max-width: 600px) { .rv-short { grid-template-columns: minmax(0, 1fr); } .rv-short video { max-height: 60vh; width: auto; margin: 0 auto; display: block; } }
/* 서비스 상태: six queues, three across (two on a phone) */
.grid.three.status-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .grid.three.status-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* @ 멘션: the list under a script or note box */
.mention-wrap { position: relative; }
.mention-wrap > textarea { width: 100%; }
.mention-list { position: absolute; left: 0; top: calc(100% + 4px); width: min(280px, 100%); z-index: 30; max-height: 280px; overflow: auto; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.mention-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.mention-item.on, .mention-item:hover { background: var(--accent-soft); }
.mention-item img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex: none; }
.mention-item span { display: flex; flex-direction: column; min-width: 0; }
.mention-item small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mention-dot { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; flex: none; }

/* launch fixes: the pricing tables stay inside a phone (the wide table scrolls in its own box) */
.price-tables { grid-template-columns: minmax(0, 1fr); }
.price-tables > * { min-width: 0; }
/* the canvas toolbar on a phone: one row that scrolls sideways, buttons keep their size */
@media (max-width: 640px) {
  .cv-bar .cv-tools { flex-wrap: nowrap; }
  .cv-bar .cv-tools > *, .cv-bar > * { flex-shrink: 0; }
}
/* the help search box looks like the site's other fields (and is 16px so a phone does not zoom in) */
.help-search input[type="search"], input[type="search"] { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; }
input[type="search"]:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.badge.cancelled { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
/* the order form on a phone: the 26 voices scroll in their own box instead of stretching the page */
@media (max-width: 640px) { .voice-grid, .voice-list { max-height: 360px; overflow: auto; } }
/* the 상담 button stays out of the way: smaller on a phone, gone while the member types (the keyboard is up), above the lecture bar */
@media (max-width: 820px) {
  .support-fab { width: 44px; height: 44px; }
  .support-fab span { font-size: 19px; }
  body:has(input:focus, textarea:focus, select:focus) .support-fab { display: none; }
}
body:has(.lecture-make) .support-fab { bottom: 124px; }
/* 배경음악: a listen button under each track's name */
.bgm-choices .box { display: flex; flex-direction: column; gap: 2px; }
.bgm-play { position: relative; z-index: 2; align-self: flex-start; padding: 0; font-size: 12px; }  /* above the radio that covers the choice */
/* 영상 형태 (가로 롱폼 / 세로 쇼츠) above the order steps, and 자막 글꼴 with the sample line in each font, as on a video */
.choices.format-choices, .choices.font-choices { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.format-choices .box, .font-choices .box { display: flex; flex-direction: column; gap: 4px; }
.format-choices .box small, .font-choices .box small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.font-sample { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 4px; padding: 6px 8px; border-radius: 8px;
  background: linear-gradient(135deg, #2b3a4a, #46566a); color: #fff; font-size: 19px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 0 3px #000; }
.font-sample img { display: block; height: 24px; width: auto; max-width: 100%; }
/* a vertical video plays upright, not stretched across the card */
.preview.vertical > video { justify-self: center; width: auto; max-width: 100%; max-height: 70vh; aspect-ratio: 9 / 16; object-fit: contain; }

/* 관리자: a grouped side menu beside the page, the tab's name as a heading, an index of long tabs' sections */
body.admin-page main { max-width: 1360px; }
.adm-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; }
.adm-side { position: sticky; top: 84px; display: grid; gap: 18px; }
.adm-side-group { display: grid; gap: 2px; }
.adm-side-title { padding: 0 12px 4px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.adm-side-item { padding: 9px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.adm-side-item:hover { background: var(--accent-soft); }
.adm-side-item.on { background: var(--ink); color: var(--surface); font-weight: 700; }
.adm-main { display: grid; gap: 16px; min-width: 0; }
.adm-main > * { margin: 0; }
.adm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.adm-title { font-size: 26px; margin: 0; }
.adm-index { position: sticky; top: 64px; z-index: 5; display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0; background: var(--bg); }
.adm-main .card[id^="adm-sec-"] { scroll-margin-top: 130px; }
.adm-group { display: grid; gap: 10px; }
.adm-group-title { font-size: 15px; color: var(--muted); margin: 6px 0 0; }
.card.tile.adm-warn { border-color: var(--warn); background: var(--warn-soft); }
.card.tile.adm-warn b { color: var(--warn); }
.card.tile.adm-bad { border-color: var(--bad); background: var(--bad-soft); }
.card.tile.adm-bad b { color: var(--bad); }
/* tables: dates and e-mails stay on one line, the e-mail shortened with the whole of it on hover */
body.admin-page td { overflow-wrap: normal; word-break: keep-all; }
body.admin-page td:first-child { white-space: nowrap; }
body.admin-page td .actions { flex-wrap: wrap; min-width: 150px; }  /* several buttons go on to a second line inside their cell */
/* 연결: the notice names get their own column */
.adm-usage { display: grid; grid-template-columns: minmax(180px, 240px) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.adm-usage-name { font-weight: 600; }
@media (max-width: 900px) {
  .adm-layout { grid-template-columns: minmax(0, 1fr); }
  .adm-side { position: static; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
  .adm-side-group { display: flex; gap: 4px; flex-shrink: 0; }
  .adm-side-title { display: none; }
  .adm-side-item { white-space: nowrap; border: 1px solid var(--line); }
  .adm-usage { grid-template-columns: minmax(0, 1fr) auto; }
  .adm-usage > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .adm-main { overflow-x: auto; }  /* a wide admin table or form scrolls inside the page on a phone */
  body.admin-page .funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* the admin header lines up with the wider admin page */
body.admin-page .top { padding-left: max(16px, calc((100vw - 1360px) / 2 + 16px)); padding-right: max(16px, calc((100vw - 1360px) / 2 + 16px)); }
.foot-biz-resp { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
