/* Guide pages: a free guide read on the web, one white sheet per section. The same page prints to the PDF download,
   one sheet per 1080 x 1440 page. Builds on styles.css (paper, Geist, pastel grain panels). */
.gwrap { max-width: 1080px; margin: 0 auto; padding: 84px 20px 40px; }
.sheet { position: relative; border-radius: 22px; padding: 60px 64px 52px; margin-bottom: 18px;
  box-shadow: 0 0 0 1px rgba(17,17,17,.06), 0 24px 50px -36px rgba(17,17,17,.3); }
.sheet:not(.grain) { background: var(--white); }
.sheet .pnum { position: absolute; top: 30px; right: 34px; }
.sheet .kicker { display: block; margin-bottom: 18px; }
.sheet h2 { font-size: clamp(32px, 4.3vw, 50px); line-height: 1.04; letter-spacing: -.05em; max-width: 840px; }
.sheet h2 em { font-style: normal; color: var(--ink-3); }
.sheet h3, .sheet h4 { margin: 0; font-weight: 500; }
.sheet .lede { max-width: 700px; margin-top: 18px; }
.sheet p { margin: 0 0 14px; }
.grid { display: grid; gap: 12px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); }
.sec { margin-top: 34px; }
.card { background: var(--paper); border-radius: 16px; padding: 22px 22px 20px; box-shadow: 0 0 0 1px rgba(17,17,17,.05); }
.card h3 { font-size: 21px; line-height: 1.15; letter-spacing: -.035em; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 14.5px; margin: 0; }
.ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; font-size: 20px; }
.eg { font-size: 13.5px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.eg b { color: var(--mint-ink); font-weight: 500; }
.tag { display: inline-block; font: 500 12px var(--sans); padding: 4px 10px; border-radius: 999px; background: var(--mint); color: var(--mint-ink); margin: 0 6px 6px 0; }
.tag.a { background: var(--peach); color: var(--peach-ink); } .tag.r { background: #F7CFC8; color: #B33A22; }
.note { background: var(--mint); border-radius: 14px; padding: 16px 20px; font-size: 15px; margin-top: 22px; }
.note.warn { background: var(--butter); }
.src { color: var(--ink-3); font-size: 12px; margin-top: 18px; } .src a { color: var(--ink-2); }
.mono { font: 500 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

/* hero sheet */
.sheet.ghero { padding: 64px 64px 54px; box-shadow: none; min-height: 700px; display: flex; flex-direction: column; justify-content: space-between; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: center; }
.sheet.ghero h1 { margin-top: 18px; }
.sheet.ghero .lede { max-width: 500px; }
.ghero .hero-ctas { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; justify-content: flex-start; }
.orbit { width: 100%; max-width: 420px; justify-self: end; }
.meta { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 34px; color: var(--ink-2); font-size: 13.5px; }
.meta b { display: block; color: var(--ink); font: 400 28px/1.1 var(--sans); letter-spacing: -.04em; }
.toc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; margin-top: 30px; }
.toc a { color: var(--ink-2); text-decoration: none; display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(17,17,17,.1); font-size: 14.5px; }
.toc a:hover { color: var(--ink); } .toc a span { font: 500 12px var(--mono); color: var(--ink-3); padding-top: 3px; }

/* 02 chatbot / workflow / agent */
.flow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 14px 0 12px; font: 500 12px var(--sans); }
.flow span { padding: 6px 10px; border-radius: 8px; background: var(--white); box-shadow: 0 0 0 1px rgba(17,17,17,.08); }
.flow i { color: var(--ink-3); font-style: normal; }
.cmp .card.dark { background: var(--ink); color: #fff; box-shadow: none; }
.cmp .card.dark p { color: rgba(255,255,255,.66); }
.cmp .card.dark .flow span { background: #262626; box-shadow: none; }
.cmp .card.dark .eg { border-color: #333; } .cmp .card.dark .eg b { color: #9FE3BD; }
.loop-panel { padding: 22px; }
.blocks { grid-template-columns: repeat(3, 1fr); } .blocks .card { min-height: 186px; }

/* 04 scorecard */
.score { width: 100%; border-collapse: separate; border-spacing: 0 8px; font-size: 15px; }
.score th { text-align: left; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 0 14px; }
.score td { background: var(--paper); padding: 14px; vertical-align: top; }
.score td:first-child { border-radius: 12px 0 0 12px; font-weight: 500; width: 32%; }
.score td:last-child { border-radius: 0 12px 12px 0; }
.score td small { display: block; color: var(--ink-3); font-weight: 400; margin-top: 2px; font-size: 13px; }
.dots { white-space: nowrap; }
.dots i { display: inline-block; width: 16px; height: 16px; border-radius: 50%; margin-right: 6px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-2); cursor: pointer; }
.dots i.on { background: var(--mint-ink); box-shadow: none; }
.total { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 18px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-size: 14.5px; }
.total b { font: 400 28px var(--sans); letter-spacing: -.04em; color: var(--ink); white-space: nowrap; }
.pick { border-radius: 16px; padding: 22px; }
.pick h3 { font-size: 20px; letter-spacing: -.03em; margin-bottom: 8px; } .pick p { font-size: 14.5px; margin: 0; }

/* 05 ladder */
.ladder { display: grid; gap: 10px; }
.rung { display: grid; grid-template-columns: 60px 1.1fr 1.6fr 120px; gap: 20px; align-items: center; padding: 18px 22px; border-radius: 14px; background: var(--paper); }
.rung .n { font: 400 40px/1 var(--sans); letter-spacing: -.05em; color: var(--ink-3); }
.rung h3 { font-size: 19px; letter-spacing: -.03em; } .rung p { color: var(--ink-2); font-size: 14px; margin: 4px 0 0; }
.rung .tools { font-size: 14px; color: var(--ink-2); } .rung .tools b { color: var(--ink); font-weight: 500; }
.lvl { text-align: right; font: 500 11px var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.lvl .bar { height: 6px; border-radius: 9px; background: var(--white); margin-top: 7px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.lvl .bar i { display: block; height: 100%; background: linear-gradient(90deg, #9FDDB9, #B9A6F2); }
.rung.side { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }

/* 06/07 steps, prompt, test board */
.steps { counter-reset: s; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.step::before { counter-increment: s; content: counter(s); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 500 15px var(--mono); color: #fff; background: var(--ink); }
.step h4 { font-size: 16.5px; letter-spacing: -.02em; margin: 2px 0 4px; } .step p { color: var(--ink-2); font-size: 14.5px; margin: 0; } .step b { color: var(--ink); font-weight: 500; }
.prompt { font: 400 13px/1.7 var(--mono); background: var(--ink); border-radius: 16px; padding: 22px 24px; color: #EDEBE7; white-space: pre-wrap; }
.prompt .k { color: #9FE3BD; } .prompt .c { color: #8F8C85; }
.board { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; margin: 14px 0 8px; }
.board i { aspect-ratio: 1; border-radius: 5px; background: #A9DFC0; } .board i.f { background: #F4B59A; } .board i.w { background: #E5533D; }
.formula { font: 400 21px/1.3 var(--sans); letter-spacing: -.03em; padding: 18px 20px; border-radius: 14px; background: var(--paper); text-align: center; }
.formula small { display: block; font-size: 13px; letter-spacing: 0; color: var(--ink-2); margin-top: 6px; }

/* 08 safety */
.venn-panel { padding: 18px; }
.venn { width: 100%; max-width: 400px; display: block; margin: 0 auto; }
.lights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.light { padding: 18px 20px; border-radius: 14px; }
.light.g { background: var(--mint); } .light.y { background: var(--butter); } .light.r { background: var(--peach); }
.light h4 { font-size: 15.5px; display: flex; gap: 9px; align-items: center; margin-bottom: 8px; }
.light h4::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--mint-ink); }
.light.y h4::before { background: #B98A00; } .light.r h4::before { background: var(--peach-ink); }
.light ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; } .light li { margin: 4px 0; }
.fail .yr { margin-bottom: 8px; }

/* 09 recipes, 10 checklist */
.recipe { display: flex; flex-direction: column; }
.recipe .who { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } .recipe .who .ico { margin: 0; flex: none; }
.recipe h3 { margin: 0; font-size: 19px; }
.recipe .what { font-weight: 500; font-size: 14.5px; margin-bottom: 6px; }
.recipe .how { color: var(--ink-2); font-size: 14px; flex: 1; }
.recipe .ev { font-size: 12.5px; color: var(--ink-3); margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.check li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: var(--paper); font-size: 14.5px; }
.check li::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.sources { columns: 2; column-gap: 34px; font-size: 12.5px; color: var(--ink-2); padding-left: 18px; margin: 0; }
.sources li { break-inside: avoid; margin-bottom: 7px; } .sources a { color: var(--ink-2); word-break: break-word; }

/* floating download pill, shown once the hero has scrolled away */
.dl-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; box-shadow: 0 10px 30px -8px rgba(17,17,17,.45); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s; }
.dl-float.on { opacity: 1; transform: none; pointer-events: auto; }

@media screen and (max-width: 860px) {
  .gwrap { padding-top: 76px; }
  .sheet, .sheet.ghero { padding: 40px 22px 32px; border-radius: 18px; min-height: 0; }
  .hero-grid, .g2, .g3, .blocks, .lights, .toc { grid-template-columns: 1fr; }
  .orbit { justify-self: center; max-width: 320px; }
  .rung { grid-template-columns: 40px 1fr; } .rung .tools, .rung .lvl { grid-column: 2; text-align: left; }
  .sources { columns: 1; } .score td:first-child { width: auto; } .total { flex-direction: column; align-items: flex-start; }
  .sheet .pnum { display: none; }
}
@media print {
  @page { size: 1080px 1760px; margin: 0; }
  body { background: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #nav, #foot, .dl-float, .hero-ctas, .total, .modal-wrap { display: none !important; }
  .gwrap { padding: 0; max-width: none; }
  .sheet { width: 1080px; height: 1760px; margin: 0; border-radius: 0; box-shadow: none; break-after: page; break-inside: avoid; overflow: hidden; }
  .sheet.ghero { min-height: 0; justify-content: center; gap: 80px; }
  .grain::after { display: none; }   /* the blend-mode grain prints as a grey wash */
}

/* added sections: instructions, tool table, builds 2-3, measuring, brief library, FAQ and glossary */
.g4 { grid-template-columns: repeat(4, 1fr); }
.sub { font-size: 20px; line-height: 1.2; letter-spacing: -.03em; margin-bottom: 12px !important; }
.rules .card { padding: 16px 16px 14px; } .rules .card b { font-weight: 500; font-size: 15px; letter-spacing: -.02em; } .rules .card p { font-size: 13.5px; margin-top: 6px; }
.tblwrap { overflow-x: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--white); }
.tbl th { text-align: left; font: 500 11px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); padding: 12px 14px; background: var(--paper); }
.tbl td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.tbl td b { color: var(--ink); font-weight: 500; }
.tbl.small { font-size: 13px; } .tbl.small td { padding: 9px 12px; } .tbl .tag { margin: 0; }
.ticks, .nums { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.ticks li { position: relative; padding-left: 22px; } .ticks li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--mint-ink); border-bottom: 2px solid var(--mint-ink); transform: rotate(-45deg); }
.ticks b { color: var(--ink); font-weight: 500; }
.nums { counter-reset: n; } .nums li { counter-increment: n; position: relative; padding-left: 26px; } .nums li::before { content: counter(n); position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 6px; background: var(--ink); color: #fff; font: 500 11px/18px var(--mono); text-align: center; }
.weeks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.wk { padding: 18px 18px 16px; border-radius: 16px; } .wk h4 { font-size: 17px; letter-spacing: -.02em; margin: 10px 0 6px; } .wk p { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.prompt.sm { font-size: 12.5px; padding: 18px 20px; min-height: 168px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; } .faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 500; letter-spacing: -.02em; font-size: 16px; list-style: none; } .faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--ink-3); } .faq details[open] summary::after { content: '−'; }
.faq p { color: var(--ink-2); font-size: 14.5px; margin: 8px 0 0; }
.gloss { display: grid; grid-template-columns: 150px 1fr; gap: 0; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); font-size: 14px; }
.gloss dt, .gloss dd { margin: 0; padding: 10px 14px; border-top: 1px solid var(--line); } .gloss dt:first-of-type, .gloss dd:first-of-type { border-top: 0; }
.gloss dt { background: var(--paper); font-weight: 500; } .gloss dd { color: var(--ink-2); background: var(--white); }
@media screen and (max-width: 860px) {
  .g4, .weeks { grid-template-columns: 1fr 1fr; } .gloss { grid-template-columns: 1fr; } .gloss dd { border-top: 0; padding-top: 0; }
}
@media print {
  /* long sections may run over several pages; cards and tables stay whole */
  .sheet { height: 1760px; overflow: hidden; }
  .card, .tblwrap, .prompt, .step, .wk, .light, .faq details, .rung, .score tr, .check li { break-inside: avoid; }
}
@media screen and (max-width: 860px) {
  /* briefs are column-aligned: scroll sideways on phones rather than re-wrap */
  .prompt { white-space: pre; overflow-x: auto; font-size: 12px; padding: 18px; }
  .prompt.sm { min-height: 0; }
}
.test-grid { grid-template-columns: 1.35fr 1fr !important; }
@media screen and (max-width: 860px) { .test-grid { grid-template-columns: 1fr !important; } }
.rules { align-items: start; }
.sheet .card { min-height: 0; display: block; }   /* styles.css sizes .card for course tiles */
.sheet .blocks .card { min-height: 186px; } .sheet .recipe { display: flex; }

/* sign-up gate shown in place of the guide until the visitor has an access cookie (site/guide-access.html) */
.gate-page .gwrap { padding-top: 92px; }
.gate-hero { border-radius: 26px; padding: 56px; margin-bottom: 18px; }
.gate-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.gate-copy h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -.05em; margin: 18px 0 0; }
.gate-copy h1 .soft, .gate-sec h2 .soft { color: var(--ink-3); }
.gate-copy .lede { margin-top: 20px; max-width: 470px; }
.gate-stats { list-style: none; padding: 0; margin: 34px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.gate-stats li { background: rgba(255,255,255,.62); border-radius: 12px; padding: 10px 14px; font-size: 13px; color: var(--ink-2); box-shadow: 0 0 0 1px rgba(17,17,17,.05); }
.gate-stats b { display: block; font: 400 24px/1.1 var(--sans); letter-spacing: -.04em; color: var(--ink); }
.gate-form { position: relative; background: var(--white); border-radius: 20px; padding: 30px 28px 24px; box-shadow: 0 0 0 1px rgba(17,17,17,.06), 0 40px 80px -40px rgba(40,20,90,.45); }
.gf-head { display: flex; align-items: center; gap: 8px; }
.gf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint-ink); box-shadow: 0 0 0 4px var(--mint); }
.gate-form h2 { font-size: 28px; letter-spacing: -.045em; line-height: 1.1; margin: 14px 0 6px; font-weight: 400; }
.gf-sub { color: var(--ink-2); font-size: 14.5px; margin: 0 0 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.field input { width: 100%; font: 400 16px var(--sans); padding: 13px 14px; border-radius: 11px; border: 0; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s, background .15s; -webkit-appearance: none; appearance: none; }
.field input::placeholder { color: #B5B1A9; }
.field input:focus { outline: none; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(122,85,224,.12); }
.gate-form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); margin: 4px 0 14px; cursor: pointer; line-height: 1.45; }
.gate-form .check input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--ink); }
.gate-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.gate-form .err { color: #B33A22; font-size: 13.5px; min-height: 0; margin-bottom: 8px; }
.gate-form .err:empty { margin: 0; }
.gate-form .btn { width: 100%; justify-content: center; padding: 15px 18px; font-size: 15px; border-radius: 12px; }
.gate-form .fine { font-size: 12.5px; color: var(--ink-3); text-align: center; margin: 14px 0 0; }
.gate-form .fine a { color: var(--ink-2); }

.gate-sec { background: var(--white); border-radius: 26px; padding: 52px 56px; margin-bottom: 18px; box-shadow: 0 0 0 1px rgba(17,17,17,.06); }
.gate-sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.05; letter-spacing: -.045em; margin: 14px 0 30px; font-weight: 400; }
.peek { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.peek figure { margin: 0; border-radius: 16px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px rgba(17,17,17,.07), 0 24px 40px -28px rgba(17,17,17,.35); position: relative; transition: transform .3s; }
.peek figure:hover { transform: translateY(-4px); }
.peek img { width: 100%; height: 300px; object-fit: cover; object-position: top; display: block; filter: saturate(.95); }
.peek figure::after { content: ''; position: absolute; left: 0; right: 0; bottom: 44px; height: 90px; background: linear-gradient(transparent, var(--white)); pointer-events: none; }
.peek figcaption { background: var(--white); padding: 12px 16px; font-size: 14px; display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--line); }
.peek figcaption span, .locked .n { font: 500 11.5px var(--mono); color: var(--ink-3); }
.locked { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.locked li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--paper); font-size: 14.5px; }
.locked .t { flex: 1; }
.locked li::after { content: ''; width: 14px; height: 14px; flex: none; opacity: .35; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='3' y='7' width='10' height='7' rx='2' fill='%23111'/%3E%3Cpath d='M5.5 7V5a2.5 2.5 0 015 0v2' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E"); }
.gate-cta { margin-top: 26px; border-radius: 18px; padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gate-cta h3 { font-size: 22px; letter-spacing: -.035em; font-weight: 400; margin: 0 0 4px; } .gate-cta p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

@media screen and (max-width: 900px) {
  .gate-page .gwrap { padding: 80px 12px 30px; }
  .gate-hero { padding: 30px 20px 20px; border-radius: 22px; }
  .gate-grid { grid-template-columns: 1fr; gap: 28px; }
  .gate-copy h1 { font-size: 38px; }
  .gate-copy .lede { font-size: 16px; }
  .gate-stats { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .gate-stats li { padding: 9px 8px; font-size: 11.5px; text-align: center; } .gate-stats b { font-size: 20px; }
  .gate-form { padding: 24px 18px 18px; border-radius: 18px; }
  .gate-form h2 { font-size: 24px; }
  .gate-sec { padding: 30px 18px; border-radius: 22px; }
  .peek { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -18px; padding: 0 18px 8px; scrollbar-width: none; }
  .peek::-webkit-scrollbar { display: none; }
  .peek figure { flex: 0 0 78%; scroll-snap-align: center; }
  .peek img { height: 260px; }
  .locked { grid-template-columns: 1fr; }
  .gate-cta { flex-direction: column; align-items: stretch; text-align: left; padding: 22px 20px; }
  .gate-cta .btn { justify-content: center; }
}

/* phone reading: most visitors read the guide on a phone */
.grid > *, .steps > *, .step > div { min-width: 0; }   /* a wide brief must not stretch its grid column past the screen */
.prompt { position: relative; } .prompt.has-copy { padding-top: 46px; }
.copy-btn { position: absolute; top: 10px; right: 10px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #EDEBE7; background: rgba(255,255,255,.1); border: 0; border-radius: 8px; padding: 7px 11px; cursor: pointer; transition: background .2s; }
.copy-btn:hover { background: rgba(255,255,255,.18); } .copy-btn.done { background: #9FE3BD; color: var(--ink); }
.prompt.has-copy::before { content: 'Brief'; position: absolute; top: 16px; left: 22px; font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8F8C85; }
@media print { .copy-btn { display: none; } .prompt.has-copy { padding-top: 22px; } .prompt.has-copy::before { display: none; } }
@media screen and (max-width: 860px) {
  .gwrap { padding: 76px 10px 24px; }
  .sheet { padding: 32px 18px 26px; border-radius: 20px; margin-bottom: 12px; }
  .sheet.ghero { padding: 34px 18px 26px; }
  .sheet h2 { font-size: 30px; line-height: 1.08; }
  .sheet .lede { font-size: 16px; margin-top: 12px; }
  .sec { margin-top: 26px; }
  .sub { font-size: 18px; }
  .card { padding: 18px; }
  .prompt, .prompt.sm { white-space: pre-wrap; overflow-wrap: anywhere; overflow-x: visible; font-size: 12.5px; line-height: 1.6; padding: 16px; border-radius: 14px; }
  .prompt.has-copy { padding-top: 44px; } .prompt.has-copy::before { left: 16px; }
  .meta { gap: 18px 24px; } .meta b { font-size: 24px; }
  .toc { margin-top: 22px; } .toc a { padding: 12px 0; }
  .ghero .hero-ctas .btn { flex: 1; justify-content: center; }
  /* scorecard: one tappable row per question */
  .score thead { display: none; }
  .score, .score tbody { display: block; }
  .score tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: start; background: var(--paper); border-radius: 12px; padding: 14px; margin-bottom: 8px; }
  .score td { background: none; padding: 0; border-radius: 0 !important; width: auto !important; }
  .score td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; color: var(--ink-2); font-size: 14px; }
  .score td.dots { grid-column: 2; grid-row: 1; }
  .dots i { width: 22px; height: 22px; margin-right: 8px; }
  /* wide tables become stacked cards */
  .tblwrap { overflow: visible; box-shadow: none; border-radius: 0; }
  .tbl.stack, .tbl.stack tbody, .tbl.stack tr, .tbl.stack td { display: block; background: none; }
  .tbl.stack tr:first-child { display: none; }
  .tbl.stack tr { background: var(--paper); border-radius: 12px; padding: 14px 16px; margin-bottom: 8px; }
  .tbl.stack td { border: 0; padding: 4px 0; font-size: 14px; }
  .tbl.stack td::before { content: attr(data-label); display: block; font: 500 10.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
  .tbl.stack td:first-child { font-size: 17px; color: var(--ink); padding-bottom: 6px; } .tbl.stack td:first-child::before { display: none; }
  .tbl:not(.stack) th, .tbl:not(.stack) td { padding: 10px 12px; }
  .rung { padding: 16px; gap: 6px 14px; } .rung .n { font-size: 30px; }
  .weeks { grid-template-columns: 1fr; }
  .lights { gap: 8px; }
  .dl-float { left: 12px; right: 12px; bottom: 12px; justify-content: center; padding: 15px; border-radius: 12px; }
}
