/* Lectern: the set-up guide, laid out like the front page. A hero with the AI prompt on
   a glass card over the binder's sheets; the three steps as coloured dividers with folder
   tabs, each with its drawing under a numbered sticker and its list on glass; the chat
   apps as three glass cards on the third divider; then the reference sections on paper.
   The shared pieces (the bands, the tabs, the glass, the sheets, the sticker) are in
   lectern.css. */

.guide main { padding-top: 40px; }
.guide h2 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }

/* ── hero ── */
.guide-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; padding: 32px 0 24px; }
.guide-hero .title { font-size: clamp(3.6rem, 6.4vw, 6rem); }
.guide-hero .lede { margin-top: 18px; font-size: 1.2rem; }
.guide-actions { margin-top: 28px; gap: 22px; }
.guide-ai { position: relative; padding: 26px 30px 30px 24px; }
.guide-ai .sheets-bg span:nth-child(1) { --t: rotate(-2.4deg); inset: 4px 34% 24px -4px; }
.guide-ai .sheets-bg span:nth-child(2) { --t: rotate(2.2deg); inset: -2px -2px 26px 30%; }
.guide-ai .sheets-bg span:nth-child(3) { --t: rotate(1deg); inset: 40% 14% 0 10%; }
.guide-ai .ai-box { --g-r: 26px; --g-fill: 0.6; --g-blur: 30px; padding: 30px 32px 32px; display: flex; flex-direction: column; gap: 12px; }
.guide-ai .ai-title { font-size: 1.7rem; letter-spacing: -0.02em; }
.guide-ai .ai-box p { margin: 0; color: var(--ink-2); }
.guide-ai .copy { margin-top: 8px; }
.guide-ai .copy .input { background: rgba(255, 255, 255, 0.72); }

/* ── requirements ── */
.guide-req { margin-top: 64px; }
.req-cards { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.req-cards .card { display: flex; flex-direction: column; gap: 18px; padding: 24px 26px 26px; }
.req-cards p { margin: 0; color: var(--ink-2); }
.req-g { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: var(--ink); color: var(--hi); }
.req-g svg { width: 23px; height: 23px; }
.req-logos { width: auto; padding: 0 12px; gap: 10px; grid-auto-flow: column; background: var(--hi-soft); color: var(--ink); }
.req-logos .logo { width: 22px; height: 22px; }

/* ── the step dividers ── */
.band-step { padding-top: 118px; }
.band-add { --bc: var(--c-yellow); margin-top: 150px; background: var(--c-yellow); }
.band-connect { --bc: var(--c-pink); background: var(--c-pink); }
.band-apps { --bc: var(--c-sky); background: var(--c-sky); padding-bottom: 96px; }
.step-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.step-copy h2 { max-width: 12em; }
.step-copy .lede { margin-top: 18px; }
.steps { --g-r: 26px; --g-fill: 0.46; --g-blur: 22px; margin: 30px 0 0; padding: 22px 26px 24px 52px; display: flex; flex-direction: column; gap: 14px; color: var(--ink); font-size: 1.04rem; line-height: 1.5; counter-reset: step; }
.steps li { position: relative; padding-left: 6px; list-style: none; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: -34px; top: 1px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 0.86rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.steps a { text-decoration-color: rgba(22, 19, 14, 0.4); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.steps b { color: var(--ink); }
.step-art { position: sticky; top: 100px; display: grid; place-items: start center; }
.step-card { position: relative; width: min(540px, 100%); padding: 28px; border-radius: 30px; background: var(--card); box-shadow: 0 0 0 1px rgba(22, 19, 14, 0.06), 0 50px 90px -46px rgba(22, 19, 14, 0.5); transform: rotate(var(--hr, -1.2deg)); }
.band-connect .step-card { --hr: 1.4deg; }
.band-apps .step-card { --hr: -1deg; }
.step-card .sticker { left: -30px; top: -30px; }
.band-add .sticker { color: var(--c-yellow); }
.band-connect .sticker { color: var(--c-pink); }
.band-apps .sticker { color: var(--c-sky); }
.step-draw svg { display: block; width: 100%; height: auto; }

/* ── the chat apps ── */
.apps-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.step-art.small { position: static; }
.step-art.small .step-card { width: min(420px, 100%); }
.apps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.app { --g-r: 28px; --g-fill: 0.5; --g-blur: 26px; padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 16px; color: var(--ink); }
.app-head { display: flex; align-items: center; gap: 14px; }
.app-logo { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: var(--card); box-shadow: 0 0 0 1px rgba(22, 19, 14, 0.08); }
.app-logo .logo { width: 26px; height: 26px; }
.app h3 { font-size: 1.7rem; letter-spacing: -0.02em; }
.app-plans { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.app ol { margin: 4px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.app ol li::marker { font-weight: 700; }
.app-enter { margin: auto 0 0; padding-top: 16px; border-top: 1px solid rgba(22, 19, 14, 0.12); color: var(--ink-2); font-size: 0.95rem; }
.app code { font-family: var(--sans); font-weight: 600; background: rgba(255, 255, 255, 0.85); color: var(--ink); padding: 1px 7px; border-radius: 6px; }
.app a { text-decoration-color: rgba(22, 19, 14, 0.4); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.app-other { margin-top: 16px; flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 8px 28px; padding: 22px 28px; }
.app-other h3 { font-size: 1.3rem; }
.app-other p { margin: 0; flex: 1; min-width: 20em; color: var(--ink-2); }

/* ── what it reads ── */
.guide-reads { margin-top: 96px; }
.guide-reads .lede { margin-top: 18px; max-width: 52em; }
.read-chips { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.read-chips li { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 7px; border-radius: 999px; background: var(--card); box-shadow: var(--hair); font-weight: 600; font-size: 0.95rem; }
.read-chips i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--tab); }
.read-chips i svg { width: 17px; height: 17px; }

/* ── troubleshooting, managing, the assistant note ── */
.guide-trouble, .guide-manage, .guide-assist { margin-top: 96px; }
.trouble-list { margin-top: 26px; }
.trouble-list details p { margin: 0; color: var(--ink-2); }
.manage-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.manage-cards .card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.manage-cards .card p { margin: 0; color: var(--ink-2); }
.guide-assist.prose { width: min(var(--wrap-max), calc(100% - var(--wrap-pad))); }
.guide-assist h2 { margin-top: 0; font-size: 2rem; max-width: 20em; }
.guide-assist h2::before { display: none; }
.guide-assist p { margin-top: 14px; max-width: 760px; }

@media (max-width: 1060px) {
  .guide-hero, .step-grid, .apps-head { grid-template-columns: 1fr; }
  .step-art { position: static; }
  .req-cards, .apps-grid, .manage-cards { grid-template-columns: 1fr; }
}
