/* Hallmark · genre: soft-utility(playful 계열) · theme: custom 형광펜 구성표 · macrostructure: Sticky Order Sheet(Feature Stack 변형)
 * nav: 왼쪽 열 인라인(비고정) · footer: Ft2 Inline · enrichment: none(구성표가 곧 그림)
 * Hallmark · pre-emit critique: P5 H5 E4 S5 R4 V5 */
:root {
  --paper:      oklch(98%   .003 100);
  --surface:    oklch(99.5% .002 100);
  --paper-2:    oklch(95.5% .006 100);
  --line:       oklch(89%   .008 100);
  --control:    oklch(56%   .012 90);
  --ink:        oklch(25%   .022 70);
  --ink-hover:  oklch(34%   .024 70);
  --ink-2:      oklch(43%   .018 70);
  --on-ink:     oklch(98.5% .004 100);
  --sun:        oklch(87.5% .165 95);
  --sun-soft:   oklch(94.5% .095 100);
  --ok:         oklch(42%   .10  155);
  --beta:       oklch(44%   .095 65);
  --made:       oklch(42%   .075 30);
  --err:        oklch(48%   .17  27);
  --scrim:      oklch(25% .022 70 / .45);
  --rule-on-sun: oklch(25% .022 70 / .28);
  --shadow-sheet: 0 10px 28px oklch(25% .022 70 / .10);

  --font: "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --t-h1: clamp(2rem, 1.1rem + 3.4vw, 3.75rem);
  --t-h2: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem);
  --t-l: clamp(1rem, .9rem + .45vw, 1.25rem);
  --t-b: 1rem;
  --t-s: .875rem;
  --gut: clamp(16px, 3vw, 40px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; overflow-anchor: none; scroll-behavior: smooth; scroll-padding-top: 72px; scroll-padding-bottom: 16px; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; padding-bottom: 84px; background: var(--paper); color: var(--ink); font: 400 var(--t-b)/1.6 var(--font); word-break: keep-all; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
b { font-weight: 700; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.nb { display: inline-block; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.vh, .vh-svg { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vh-svg { width: 0; height: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 8px 16px; border-radius: 10px; background: var(--ink); color: var(--on-ink); }
.skip:focus { left: 16px; }

h2 { font-size: var(--t-h2); font-weight: 800; line-height: 1.25; letter-spacing: -.025em; }
.sec-p { max-width: 40em; margin-top: 8px; color: var(--ink-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--ink); color: var(--on-ink); font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 100ms var(--ease-out); }
.btn:hover { border-color: var(--ink-hover); background: var(--ink-hover); }
.btn:active { transform: translateY(1px); }
.btn:disabled { border-color: var(--paper-2); background: var(--paper-2); color: var(--ink-2); cursor: progress; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: var(--t-s); }
.btn[aria-pressed="true"] { background: var(--surface); color: var(--ink); }
.btn[aria-pressed="true"]:hover { border-color: var(--ink); background: var(--paper-2); }

/* 골격 */
.layout { padding-inline: var(--gut); }
.page { min-width: 0; }

/* 머리글 */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; }
.mark { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.logo-tile { fill: var(--sun); }
.logo-glyph { fill: var(--ink); }
.top nav { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.nav-link { display: none; align-items: center; min-height: 44px; padding: 0 8px; text-decoration: none; }
.nav-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { margin-left: 8px; }

/* 첫 화면 */
.hero { margin-top: 8px; }
h1 { font-size: var(--t-h1); font-weight: 800; line-height: 1.16; letter-spacing: -.035em; }
.mark-hl { position: relative; display: inline-block; white-space: nowrap; isolation: isolate; }
.mark-hl::before { content: ""; position: absolute; z-index: -1; left: -.06em; right: -.08em; bottom: .08em; height: .4em; background: var(--sun); border-radius: 2px; transform: rotate(-.6deg); }
.lead { max-width: 36em; margin-top: 12px; font-size: var(--t-l); line-height: 1.5; letter-spacing: -.01em; }
.prompt { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 12px; margin: 16px 0 8px; }
.prompt-q { font-weight: 700; }
.prompt-hint { color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 12px; }
.hero-cta .btn { flex: 1 1 100%; }
.assure { color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }

/* 칸 블록 */
.block { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.cells { display: grid; grid-template-columns: minmax(0, 1fr); margin-bottom: -1px; }
.cells > li { border-bottom: 1px solid var(--line); }

/* 항목 토글 */
.want { position: relative; isolation: isolate; display: grid; width: 100%; height: 100%; align-content: center; padding: 6px 12px 6px 0; border: 0; background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; }
.want::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--sun-soft); opacity: 0; transform: scaleX(0); transform-origin: left; transition: opacity 120ms var(--ease-out), transform 0s linear 120ms; }
.want[aria-pressed="true"]::before { opacity: 1; transform: scaleX(1); transition: transform 240ms var(--ease-out); }
.want:hover { background: var(--paper-2); }
.want:focus-visible { outline-offset: -2px; }
.want[aria-pressed="true"]:hover .item-name { text-decoration: underline; text-underline-offset: 3px; }
.item { grid-template-columns: 44px minmax(0, max-content) minmax(0, 1fr) auto; min-height: 54px; }
.scene { grid-template-columns: 44px minmax(0, 1fr) auto; min-height: 62px; }
.tick { grid-column: 1; grid-row: 1 / 3; display: inline-grid; place-items: center; align-self: center; justify-self: center; width: 24px; height: 24px; border: 1.5px solid var(--control); border-radius: 6px; background: var(--surface); color: var(--on-ink); transition: transform 100ms var(--ease-out); }
.tick svg { opacity: 0; transition: opacity 120ms var(--ease-out); }
.want:active .tick { transform: scale(.92); }
.want[aria-pressed="true"] .tick { border-color: var(--ink); background: var(--ink); }
.want[aria-pressed="true"] .tick svg { opacity: 1; }
.item-name { font-weight: 700; line-height: 22px; }
.item .item-name { grid-column: 2; grid-row: 1; }
.tag { grid-column: 3; grid-row: 1; align-self: center; justify-self: start; margin-left: 6px; padding: 0 6px; border-radius: 4px; background: var(--paper-2); font-size: var(--t-s); font-weight: 700; line-height: 20px; white-space: nowrap; }
.want:hover .tag { background: var(--surface); }
.item-desc { grid-column: 2 / -1; grid-row: 2; color: var(--ink-2); font-size: var(--t-s); line-height: 20px; }
.scene-q { grid-column: 2 / -1; grid-row: 1; color: var(--ink-2); font-size: var(--t-s); line-height: 20px; }
.scene .item-name { grid-column: 2; grid-row: 2; }
.want .st { grid-row: 1; grid-column: -2; justify-self: end; margin-left: 8px; }
.scene .st { grid-row: 2; }
.scenes > li:nth-child(n+5) { display: none; }

.st { display: inline-flex; align-items: center; gap: 4px; font-size: var(--t-s); font-weight: 700; line-height: 22px; white-space: nowrap; }
.st svg { flex: none; }
.st-ok { color: var(--ok); }
.st-beta { color: var(--beta); }
.st-made { color: var(--made); }

/* 카탈로그 */
.catalog { margin-top: 40px; }
.legend { display: grid; gap: 4px; margin-top: 16px; }
.legend li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.legend li > span:last-child { color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }
.bundle { display: grid; gap: 12px; margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--paper-2); }
.bundle h3 { font-size: var(--t-l); font-weight: 800; line-height: 1.5; letter-spacing: -.01em; }
.bundle p { margin-top: 4px; color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }
.chips { position: sticky; top: 0; z-index: 10; display: flex; gap: 8px; margin: 16px calc(var(--gut) * -1) 0; padding: 8px var(--gut); overflow-x: auto; background: var(--paper); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 700; font-size: var(--t-s); white-space: nowrap; cursor: pointer; }
.chip:hover { background: var(--paper-2); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--on-ink); }
.groups { scroll-margin-top: 0; }
#catalog, #process, #price, #pilot { scroll-margin-top: -56px; }
.grp { margin-top: 10px; }
.grp-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-bottom: 4px; }
.grp-h h3 { font-size: var(--t-l); font-weight: 800; line-height: 1.5; letter-spacing: -.01em; }
.grp-h p { color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }

/* 개념도 */
.dia-hint { margin-top: 8px; color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }
.cells > li { position: relative; }
.item { --cell-h: 54px; height: auto; align-self: start; padding-right: 48px; }
.dia-s { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 44px; height: var(--dia-h, 54px); list-style: none; color: var(--ink-2); cursor: pointer; }
.dia-s::-webkit-details-marker { display: none; }
.dia-s::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.dia-s:hover { background: var(--paper-2); color: var(--ink); }
.dia-s:focus-visible { outline-offset: -2px; }
.dia-s svg { transform: rotate(180deg); transition: transform 200ms var(--ease-out); }
.dia[open] > .dia-s svg { transform: none; }
.dia-b { margin: 0; padding: 8px 12px 12px; border-top: 1px dashed var(--line); }
.dia-b figcaption { margin-bottom: 4px; color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }
.dg { display: block; width: 100%; max-width: 320px; height: auto; }
.dg text { font-family: var(--font); fill: var(--ink-2); }
.dg .dl { font-size: 12px; }
.dg .ds { font-size: 13px; font-weight: 700; fill: var(--ink); }
.dg .on-ink { fill: var(--on-ink); }
.f-surface { fill: var(--surface); } .f-paper { fill: var(--paper-2); } .f-soft { fill: var(--sun-soft); } .f-sun { fill: var(--sun); } .f-ink { fill: var(--ink); } .f-none { fill: none; }
.s-line { stroke: var(--line); } .s-ctl { stroke: var(--control); stroke-width: 1.25; } .s-ink { stroke: var(--ink); stroke-width: 1.5; } .s-ref { stroke: var(--control); stroke-width: 1; }
.dash { stroke-dasharray: 3 3; }

/* 전체 스택 */
.stack-sec, .syn-sec { margin-top: 24px; }
.stack-sec > h3, .syn-sec > h3 { font-size: var(--t-l); font-weight: 800; line-height: 1.5; letter-spacing: -.01em; }
.stack-sec > p:not(.stack-key), .syn-sec > p { color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }
.stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin-top: 8px; }
.lay { grid-column: 1 / -1; padding: 8px 12px; border: 1px solid var(--line); border-bottom: 5px solid var(--line); border-radius: 10px; background: var(--surface); font-size: var(--t-s); line-height: 1.45; }
.lay b { margin-right: 8px; font-weight: 800; }
.lay ul, .pil ul { display: inline; }
.lay li, .pil li { display: inline-block; margin-right: 4px; white-space: nowrap; }
.lay li:not(:last-child)::after, .pil li:not(:last-child)::after { content: " ·"; }
.lay-2 { border-color: var(--paper-2); border-bottom-color: var(--control); background: var(--paper-2); }
.lay-1 { border-color: var(--ink); border-bottom-color: var(--ink-hover); background: var(--ink); color: var(--on-ink); }
.pil { order: -1; padding: 8px; border: 1.5px dashed var(--control); border-radius: 10px; background: var(--surface); font-size: var(--t-s); line-height: 1.45; }
.pil b { display: block; font-weight: 800; }
.pil > span { display: block; color: var(--ink-2); }
.pil ul { margin-top: 4px; }
[data-stack-id] svg { margin-left: 2px; vertical-align: -2px; }
[data-stack-id].on { padding: 0 4px; border-radius: 4px; background: var(--sun-soft); color: var(--ink); font-weight: 700; }
.stack-key { margin-top: 8px; color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }
.stack-key svg { vertical-align: -2px; }

/* 시너지 */
.syn-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 8px; }
.syn { padding: 4px 12px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.syn header { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; }
.syn h4 { margin: 0; font-size: 1rem; font-weight: 800; line-height: 1.4; }
.syn-why { margin-bottom: 4px; color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }
.syn-body { display: grid; grid-template-columns: 88px minmax(0, 1fr); }
.syn-post { padding: 6px; border-radius: 8px; background: var(--paper-2); font-size: var(--t-s); line-height: 1.45; }
.syn-post b { display: block; font-weight: 800; }
.syn-post .st { flex-wrap: wrap; white-space: normal; }
.syn-body li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 4px; min-height: 40px; color: var(--ink-2); }
.syn-body li > svg { margin-top: 5px; color: var(--control); }
.syn-names { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.syn-n { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 4px; color: var(--ink); font-size: var(--t-s); line-height: 1.45; }
.syn-n b { font-weight: 700; }
.syn-n .st { line-height: 20px; }
.syn-in { flex: none; color: var(--control); }
.syn-gain { display: block; font-size: var(--t-s); line-height: 1.45; }
.syn-rise { display: none; }
.syn-door { background: var(--paper-2); }
.syn-door .syn-post { background: var(--surface); }
.btn-line { border-color: var(--ink); background: var(--surface); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); background: var(--paper-2); }
.btn-line[aria-pressed="true"], .btn-line[aria-pressed="true"]:hover { background: var(--sun-soft); }

/* 진행 방식 */
.process { margin-top: 48px; }
.proc { margin-top: 16px; }
.lanes { display: none; }
.step { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.num { font-size: var(--t-l); font-weight: 800; font-variant-numeric: tabular-nums; }
.step h3 { font-size: var(--t-l); font-weight: 800; letter-spacing: -.01em; line-height: 1.5; }
.step p { grid-column: 2 / -1; color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }
.who { padding: 0 8px; border-radius: 4px; font-size: var(--t-s); font-weight: 700; white-space: nowrap; }
.who-b { background: var(--sun-soft); }
.proc-note { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); font-size: var(--t-s); line-height: 1.45; }
.proc-note span { color: var(--ink-2); }

/* 가격 */
.price { margin-top: 40px; }
.safe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; font-weight: 700; }
.safe li { display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; }
.safe svg { flex: none; margin-top: 2px; }
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
.plan { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.plan-a { display: grid; gap: 12px; border: 1.5px solid var(--ink); }
.plan h3 { font-size: var(--t-l); font-weight: 800; letter-spacing: -.01em; line-height: 1.5; }
.amt { margin-top: 4px; font-size: var(--t-h2); font-weight: 800; line-height: 1.25; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.note { margin-top: 4px; color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }
.plan ul { margin-top: 12px; }
.plan li { line-height: 1.45; }
.plan-a ul { margin-top: 0; }
.plan-a .btn { width: 100%; margin-top: 12px; }
.why { margin-top: 24px; }
.why h3 { font-size: var(--t-l); font-weight: 800; letter-spacing: -.01em; line-height: 1.5; }
.why ul { margin-top: 12px; }
.why li { display: grid; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line); }
.why span { color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }

/* 파일럿 */
.pilot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 40px; padding: 20px; border-radius: 20px; background: var(--sun); }
.pill { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: var(--t-s); font-weight: 700; line-height: 1.45; }
.pilot h2 { margin-top: 12px; }
.benefit { margin-top: 8px; font-size: var(--t-h2); font-weight: 800; line-height: 1.25; letter-spacing: -.025em; }
.pilot dl { margin-top: 16px; }
.pilot dl > div { padding: 8px 0; border-top: 1px solid var(--rule-on-sun); }
.pilot dt { font-size: var(--t-s); font-weight: 700; line-height: 1.45; }
.form { display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: 14px; background: var(--surface); }
.form label { display: grid; gap: 4px; font-size: var(--t-s); font-weight: 700; line-height: 1.45; }
input:not([type=checkbox]), select, textarea { width: 100%; min-height: 48px; padding: 8px 12px; border: 1.5px solid var(--control); border-radius: 10px; background: var(--surface); font-size: 1rem; font-weight: 400; }
textarea { display: block; height: 72px; resize: vertical; }
input[aria-invalid="true"] { border-color: var(--err); }
.hp { position: absolute; left: -9999px; }
.picked { padding: 12px; border-radius: 10px; background: var(--paper-2); color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }
.form .agree { display: flex; align-items: flex-start; gap: 8px; min-height: 44px; font-weight: 400; cursor: pointer; }
.agree input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--ink); }
.agree input[aria-invalid="true"] { outline: 2px solid var(--err); outline-offset: 2px; }
.form > .btn { width: 100%; }
.msg { min-height: 1.45em; font-size: var(--t-s); font-weight: 700; line-height: 1.45; }
.msg:empty { min-height: 0; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--err); }

/* 푸터 */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; margin-top: 24px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }
.foot b { color: var(--ink); }

/* 구성표: 공통 */
.sheet { display: flex; flex-direction: column; background: var(--surface); box-shadow: var(--shadow-sheet); }
.sheet:focus-visible { outline-offset: -2px; }
.sheet-bar { display: flex; flex: none; align-items: center; gap: 12px; }
.sheet-toggle { flex: 1; min-width: 0; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; }
.count { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--sun); font-weight: 800; font-variant-numeric: tabular-nums; }
.sheet-title { font-weight: 700; }
.chev { transition: transform 240ms var(--ease-out); }
.sheet-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.sheet-empty > p { color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }
.lines { margin-top: 8px; }
.lines li { height: 44px; border-bottom: 1px solid var(--line); }
.sheet-cat { margin-top: 12px; color: var(--ink-2); font-size: var(--t-s); font-weight: 700; line-height: 1.45; }
.sheet-cat:first-child { margin-top: 0; }
.sheet-row { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.sheet-name { font-weight: 700; line-height: 1.375; }
.sheet-x { display: inline-grid; flex: none; place-items: center; width: 44px; height: 44px; margin-left: auto; margin-right: -12px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--ink-2); cursor: pointer; }
.sheet-x:hover { background: var(--paper-2); color: var(--ink); }
.sheet-x:focus-visible { outline-offset: -2px; }
.enter { animation: row-in 200ms var(--ease-out); }
@keyframes row-in { from { opacity: 0; transform: translateY(6px); } }
.sheet-foot { flex: none; padding-top: 16px; border-top: 1.5px dashed var(--line); }
.sheet-foot p { color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }
.sheet-foot .btn { width: 100%; margin-top: 12px; }
.scrim { position: fixed; inset: 0; z-index: 25; background: var(--scrim); opacity: 0; pointer-events: none; touch-action: none; transition: opacity 200ms var(--ease-out); }
.scrim.is-on { opacity: 1; pointer-events: auto; }

/* 구성표: 1080 미만 하단 트레이 */
@media (max-width: 1079.98px) {
  html { scroll-padding-bottom: 80px; }
  .sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; max-height: 72dvh; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line); border-radius: 16px 16px 0 0; transform: translateY(calc(100% - 64px - env(safe-area-inset-bottom))); transition: transform 240ms var(--ease-out); }
  .sheet.is-open { transform: translateY(0); }
  .sheet.is-away { transform: translateY(100%); transition-duration: 200ms; }
  .sheet-bar { height: 64px; padding-inline: 16px; }
  .sheet-toggle { display: grid; grid-template-columns: 32px minmax(0, 1fr) 16px; grid-template-rows: auto auto; column-gap: 12px; align-content: center; align-items: center; min-height: 64px; cursor: pointer; }
  .sheet-toggle:disabled { cursor: default; }
  .count { grid-column: 1; grid-row: 1 / 3; }
  .sheet-title { grid-column: 2; grid-row: 1; font-size: var(--t-s); line-height: 20px; }
  .sheet-names { grid-column: 2; grid-row: 2; overflow: hidden; color: var(--ink-2); font-size: var(--t-s); line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
  .sheet-toggle:disabled .sheet-title, .sheet-toggle:disabled .chev { display: none; }
  .sheet-toggle:disabled .sheet-names { grid-row: 1 / 3; }
  .chev { grid-column: 3; grid-row: 1 / 3; }
  .sheet.is-open .chev { transform: rotate(180deg); }
  .sheet.is-open .sheet-go { display: none; }
  .sheet-body { padding: 8px 16px 16px; }
  .sheet-foot { margin-inline: 16px; padding-bottom: 16px; }
}

@media (min-width: 480px) {
  .nav-link { display: inline-flex; }
  .scenes > li:nth-child(n+5) { display: block; }
  .hero-cta .btn { flex: none; }
  .legend { display: flex; flex-wrap: wrap; gap: 4px 24px; }
}

@media (max-width: 479.98px) {
  .bundle .btn { width: 100%; }
}

@media (max-width: 359.98px) {
  .tag { display: none; }
}

@media (min-width: 768px) {
  .cells:not(.scenes), .scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cells > li:nth-child(odd) { border-right: 1px solid var(--line); }
  .item { --cell-h: 66px; min-height: 66px; }
  .dia-s { --dia-h: 66px; }
  .dia-b { padding-left: 44px; }
  .stack-sec, .syn-sec { margin-top: 48px; }
  .stack { grid-template-columns: minmax(0, 1fr) 96px 96px; grid-template-rows: repeat(4, auto); }
  .lay { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-column: 1; padding: 12px; }
  .lay b { margin-right: 0; }
  .lay ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }
  .lay li, .pil li { display: block; margin-right: 0; white-space: normal; }
  .lay li:not(:last-child)::after, .pil li:not(:last-child)::after { content: none; }
  .pil ul { display: block; }
  .lay-4 { grid-row: 1; } .lay-3 { grid-row: 2; } .lay-2 { grid-row: 3; } .lay-1 { grid-row: 4; }
  .pil { order: 0; grid-row: 1 / 5; }
  .pil-dev { grid-column: 2; } .pil-data { grid-column: 3; }
  .syn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .syn-rise { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); justify-items: center; height: 24px; margin: -4px 0; color: var(--control); }
  .syn-door { grid-column: 1 / -1; }
  .scene { min-height: 72px; }
  .bundle { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 20px; }
  .why li { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; padding: 12px 0; }
  .plan { padding: 20px; }
  .plan-a { gap: 16px; }
  .why { margin-top: 32px; }
  textarea { height: auto; }
  .grp { margin-top: 32px; }
  .grp-h { margin-bottom: 8px; }
}

/* 구성표: 1080 이상 오른쪽 레일 */
@media (min-width: 1080px) {
  body { padding-bottom: 0; }
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 40px; max-width: 1360px; margin-inline: auto; }
  .nav-cta { display: none; }
  .top { min-height: 72px; }
  .hero { margin-top: 16px; }
  .lead { margin-top: 14px; }
  .prompt { margin: 24px 0 8px; }
  .hero-cta { margin-top: 20px; }
  .catalog { margin-top: 48px; }
  .process { margin-top: 96px; }
  .price { margin-top: 72px; }
  .pilot { margin-top: 64px; padding: 32px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-a { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .chips { margin-inline: 0; padding-inline: 0; }
  .foot { margin-top: 48px; padding: 24px 0 32px; }

  .sheet { position: sticky; top: 16px; align-self: start; margin-top: 16px; max-height: calc(100dvh - 32px); padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
  .sheet-bar { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
  .sheet-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
  .sheet-title { font-size: var(--t-l); font-weight: 800; letter-spacing: -.01em; line-height: 1.5; }
  .count { order: 2; }
  .sheet-names, .chev, .sheet-go { display: none; }
  .sheet-foot { margin-top: 12px; }
  .scrim { display: none; }
}

/* 진행 레인·파일럿 2열·안심 4열 */
@media (min-width: 1280px) {
  .safe { grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: var(--t-l); font-weight: 800; letter-spacing: -.01em; }
  .safe svg { margin-top: 5px; }
  .pilot { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .pilot-l { display: flex; flex-direction: column; align-items: flex-start; }
  .benefit { margin-bottom: 24px; }
  .pilot dl { align-self: stretch; margin-top: auto; }
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form > * { grid-column: 1 / -1; }
  .form > label:nth-of-type(-n+4) { grid-column: auto; align-content: start; }

  .proc { display: grid; grid-template-columns: 72px repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 12px; margin-top: 24px; }
  .proc::before { content: ""; grid-column: 1 / -1; grid-row: 2; border-radius: 14px; background: var(--paper-2); }
  .lanes, .steps { display: contents; }
  .lane { padding: 16px 0 0 8px; font-size: var(--t-s); font-weight: 700; line-height: 1.45; color: var(--ink-2); }
  .lane-a { grid-column: 1; grid-row: 1; }
  .lane-b { grid-column: 1; grid-row: 2; }
  .step { position: relative; display: block; padding: 16px; border: 0; }
  .step-1 { grid-column: 2; grid-row: 1; }
  .step-2 { grid-column: 3; grid-row: 1 / 3; display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; align-items: baseline; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
  .step-2 p { grid-column: 1 / -1; }
  .step-3 { grid-column: 4; grid-row: 2; }
  .step-4 { grid-column: 5; grid-row: 2; }
  .step h3 { display: inline; margin-left: 8px; }
  .step p { margin-top: 8px; }
  .who { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  .proc-note { grid-column: 4 / 6; grid-row: 1; align-self: center; padding: 16px; border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .want::before, .want[aria-pressed="true"]::before, .tick, .tick svg, .btn, .chev, .dia-s svg, .sheet, .scrim { transition: none; }
  .want:active .tick, .btn:active { transform: none; }
  .enter { animation: none; }
}
