/* AI Leadership Playbook — light, squared, on-brand. */
.pb-body { background: var(--panel-2); }

/* ---- $1 gate ---- */
.gate { min-height: calc(100dvh - 64px); display: grid; place-items: center; padding: 40px 24px; }
.gate-card { width: 100%; max-width: 460px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow-md); padding: clamp(28px, 5vw, 44px); }
.gate-card .cover { width: 116px; height: 150px; margin: 0 auto 24px; background: linear-gradient(160deg, #2a2a2e, var(--dark-2)); display: flex; flex-direction: column; justify-content: space-between; padding: 15px 14px; }
.gate-card .cover .ct { font-size: .82rem; font-weight: 700; line-height: 1.2; color: #fff; letter-spacing: -.01em; }
.gate-card .cover .cb { font-size: .55rem; color: var(--brand); letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.gate-card h1 { font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; text-align: center; }
.gate-card .sub { color: var(--ink-2); font-size: .95rem; text-align: center; margin: 8px 0 22px; }
.price-tag { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 22px; }
.price-tag .amt { font-size: 2.6rem; font-weight: 700; letter-spacing: -.03em; }
.price-tag .was { font-size: 1rem; color: var(--muted); text-decoration: line-through; }
.gate form { display: grid; gap: 12px; }
.gate label { font-size: .76rem; font-weight: 600; letter-spacing: .03em; color: var(--ink-2); margin-bottom: -5px; }
.gate input { height: 50px; padding: 0 15px; background: var(--panel); border: 1px solid var(--line-2); color: var(--ink); font: inherit; font-size: .98rem; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.gate input::placeholder { color: var(--muted); }
.gate input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.gate .btn { width: 100%; margin-top: 6px; }
.gate .fine { font-size: .76rem; color: var(--muted); line-height: 1.5; margin-top: 14px; text-align: center; }
.gate .trust { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 18px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gate .trust svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---- document ---- */
.doc-toolbar { position: sticky; top: 64px; z-index: 50; background: rgba(245,245,247,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.doc-toolbar .inner { max-width: 860px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px; }
.doc-toolbar .tt { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.dt-actions { display: flex; gap: 8px; }
.tbtn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; background: var(--panel); border: 1px solid var(--line-2); color: var(--ink); font-size: .82rem; font-weight: 600; transition: border-color .15s var(--ease), background .15s var(--ease); }
.tbtn:hover { border-color: var(--ink-2); }
.tbtn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.doc-shell { padding: 36px 16px 90px; }
.paper { max-width: 860px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.paper-inner { padding: clamp(32px, 7vw, 80px); }

.doc-cover { text-align: center; padding-bottom: 40px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.doc-cover .kicker2 { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-press); margin-bottom: 22px; display: block; }
.doc-cover h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 700; line-height: 1.06; letter-spacing: -.025em; margin-bottom: 18px; }
.doc-cover .tagline { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--ink-2); max-width: 460px; margin: 0 auto 24px; line-height: 1.45; }
.doc-cover .authors { font-size: .9rem; letter-spacing: .03em; color: var(--muted); }
.doc-cover .authors strong { color: var(--ink); font-weight: 600; }

.doc h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 700; line-height: 1.12; letter-spacing: -.022em; margin-bottom: 10px; }
.doc h2 .em { color: var(--accent); }
.doc .lead { font-size: 1.18rem; line-height: 1.5; color: var(--ink); margin-bottom: 20px; font-weight: 500; }
.doc p { font-size: 1.02rem; line-height: 1.7; color: var(--ink-2); margin-bottom: 16px; }
.doc p strong { color: var(--ink); font-weight: 600; }
.doc .callout { font-size: 1.3rem; line-height: 1.4; color: var(--ink); font-weight: 600; border-left: 3px solid var(--brand); padding: 4px 0 4px 22px; margin: 26px 0; letter-spacing: -.01em; }

.conv { margin-top: 60px; }
.conv-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.conv-num { flex: 0 0 auto; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-press); }
.conv-rule { flex: 1; height: 1px; background: var(--line-2); }

.list { margin-bottom: 18px; }
.list li { position: relative; padding-left: 24px; margin-bottom: 8px; font-size: 1rem; line-height: 1.6; color: var(--ink-2); }
.list li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; background: var(--accent); }

.prompt { background: var(--dark-2); border: 1px solid #2a2a2e; margin: 22px 0; }
.prompt-bar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: #202022; border-bottom: 1px solid #2a2a2e; }
.prompt-bar .lbl { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7dd3fc; }
.prompt-bar .cp { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #e8e8ea; font-size: .74rem; font-weight: 600; padding: 6px 12px; transition: background .15s var(--ease), border-color .15s var(--ease); }
.prompt-bar .cp:hover { background: var(--accent); border-color: var(--accent); }
.prompt-bar .cp svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prompt pre { margin: 0; padding: 18px 20px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .82rem; line-height: 1.7; white-space: pre-wrap; color: #d4d4d8; }

.fieldblock { margin: 22px 0; }
.fieldblock .fl { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .02em; color: var(--ink); margin-bottom: 8px; }
.fieldblock textarea, .fieldblock input.f { width: 100%; font: inherit; font-size: .98rem; color: var(--ink); background: var(--panel-2); border: 1px solid var(--line-2); padding: 13px 15px; resize: vertical; line-height: 1.6; transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease); }
.fieldblock textarea { min-height: 92px; }
.fieldblock input.f { height: 48px; }
.fieldblock textarea:focus, .fieldblock input.f:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--panel); }

.rlist { display: grid; gap: 10px; margin: 14px 0 4px; }
.rrow { display: flex; align-items: center; gap: 10px; }
.rrow .rnum { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); }
.rrow input.f { flex: 1; }
.addrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; background: none; border: none; color: var(--accent); font-size: .85rem; font-weight: 600; padding: 4px 0; }
.addrow svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 22px; margin: 14px 0 6px; }
@media (max-width: 600px) { .checklist { grid-template-columns: 1fr; } }
.chk { display: flex; align-items: center; gap: 11px; font-size: .98rem; color: var(--ink-2); cursor: pointer; user-select: none; }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk .box { flex: 0 0 auto; width: 22px; height: 22px; border: 1.5px solid var(--line-2); background: var(--panel-2); display: grid; place-items: center; transition: background .15s var(--ease), border-color .15s var(--ease); }
.chk .box svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.chk input:checked + .box { background: var(--accent); border-color: var(--accent); }
.chk input:checked + .box svg { opacity: 1; }

.final { margin-top: 64px; padding: 44px; background: var(--panel-2); border: 1px solid var(--line); text-align: center; }
.final h2 { margin-bottom: 14px; }
.final p { font-size: 1.05rem; max-width: 520px; margin: 0 auto 12px; }
.final .closer { font-weight: 700; font-size: 1.35rem; color: var(--ink); margin-top: 22px; letter-spacing: -.02em; }

.savehint { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; font-size: .82rem; font-weight: 600; padding: 10px 18px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .24s var(--ease), transform .24s var(--ease); z-index: 60; }
.savehint.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media print {
  .site-header, .doc-toolbar, .savehint, .site-footer, .addrow { display: none !important; }
  .pb-body { background: #fff; }
  .doc-shell { padding: 0; }
  .paper { box-shadow: none; max-width: none; border: none; }
  .prompt { break-inside: avoid; }
  .conv { break-inside: avoid; }
}
