/* Blue Pencil Home · brief 19. Built from 18, reordered by four questions:
   what (hero, intro, queue) > who (for) > trust (the blue-pencil rule, the Playbook) > next (the demo).
   Ground rhythm: desk > paper > desk > white|paper > paper|desk > white > paper > desk.
   No two neighbours share a ground. Spacing steps: 8 16 24 32 48 64 96 144 192. */
:root{--bone:#ECE9E2;--canvas:#EFEFED;--brule:#D6D2C8;--pbg:#F7F7F5;--m:64px;--s3:32px;--s4:48px;--s5:64px;--s6:96px;--s7:144px;--s8:192px}
@media (max-width:1279px){:root{--m:48px}}
@media (max-width:1023px){:root{--m:20px;--s5:48px;--s6:64px;--s7:96px;--s8:112px}}
body{background:var(--desk);color:var(--ink)}
.wrap{padding-left:var(--m);padding-right:var(--m)}
.lab{color:var(--dim)}
.btn{background:var(--ink);color:var(--desk)}
.btn:hover{background:#fff}
a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.h2{font-size:clamp(44px,5vw,88px);text-wrap:balance}
.sub{font-size:clamp(17px,1.3vw,20px);color:var(--soft);max-width:28em;text-wrap:pretty}
.grid12{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px}

/* grounds: text colours follow the ground */
.g-bone{--pdim:#625F5B;background:var(--bone);color:var(--graphite)}
.g-white{background:var(--paper);color:var(--graphite)}
.g-bone .lab,.g-white .lab{color:var(--pdim)}
.g-bone .sub,.g-white .sub{color:var(--pdim)}
.g-bone .btn,.g-white .btn{background:var(--graphite);color:var(--ink)}
.g-bone .btn:hover,.g-white .btn:hover{background:#000}
.ctr{text-align:center;margin-left:auto;margin-right:auto}

/* nav */
.nav{height:88px;display:flex;align-items:center;font-size:15px;position:relative;z-index:2}
.nav .wm{color:var(--ink)}
.nav nav{margin-left:96px;display:flex;gap:40px;color:var(--soft)}
.nav a:hover{color:var(--ink)}

/* 1 · hero: headline and line on the desk, the reviewed Word file on a textured field below */
.hero{padding-top:var(--s4)}
.hero-top{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:end}
.hero h1{grid-column:1 / 9;font-size:clamp(56px,6.7vw,128px);padding-top:.55em}
.hero-aside{grid-column:9 / 13;padding-bottom:.6em}
.hero .sub{font-size:clamp(18px,1.4vw,22px);margin-bottom:28px}
.hfield{position:relative;overflow:hidden;margin:var(--s5) var(--m) 0;height:clamp(560px,50vw,760px)}
.win{position:absolute;left:50%;top:clamp(48px,5vw,80px);transform:translateX(-50%);width:min(1100px,86%);background:var(--paper);color:var(--ptext);box-shadow:0 48px 96px -48px rgba(0,0,0,.7)}
.win-bar{display:flex;align-items:center;gap:12px;height:44px;padding:0 20px;background:var(--pbg);border-bottom:1px solid var(--prule);font-size:13px;color:var(--graphite)}
.win-bar .doc-ic{width:14px;height:17px}
.win-t{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.win-s{margin-left:auto;color:var(--blue2);font-size:11px;white-space:nowrap}
.win-c{display:flex;gap:18px;margin-left:28px;align-items:center}
.win-c i{display:block;width:10px;height:10px;border:1px solid var(--pdim)}
.win-c i:first-child{height:0;border-width:1px 0 0}
.win-c i:last-child{border:0;background:linear-gradient(45deg,transparent 45%,var(--pdim) 45% 55%,transparent 55%),linear-gradient(-45deg,transparent 45%,var(--pdim) 45% 55%,transparent 55%)}
.win-tabs{display:flex;gap:28px;height:40px;padding:0 20px;font-size:13px;color:var(--pdim);border-bottom:1px solid var(--prule)}
.win-tabs span{display:flex;align-items:center}
.win-tabs .on{color:var(--graphite);font-weight:500;box-shadow:inset 0 -2px var(--graphite)}
.canvas{background:var(--bone);padding:40px 40px 0}
.page{display:grid;grid-template-columns:minmax(0,1fr) 236px;column-gap:28px;padding:44px 0 56px 76px;font-size:16px;line-height:1.8;
  background:linear-gradient(90deg,var(--paper) calc(100% - 264px),transparent 0)}
.page > p,.page > h3,.wc > p{grid-column:1;padding-right:72px}
.pg-head{display:flex;justify-content:space-between;gap:24px;font-size:12px;color:var(--pdim);padding-bottom:14px;border-bottom:1px solid var(--prule);margin-bottom:32px}
.pg-h{font-family:var(--sans);font-weight:500;font-size:17px;color:var(--graphite);margin-bottom:16px}
.wc{display:contents}
.wc > p{position:relative;margin-bottom:24px}
.wc > p .tk{position:absolute;left:-30px;top:.55em;width:13px;height:12px}
.w82 > p{color:var(--graphite)}
.w82 .mk{margin-top:.75em}
.cmt{grid-column:2;align-self:start;margin-bottom:24px;padding:10px 14px;border-left:2px solid var(--brule);background:var(--paper);font-size:13px;line-height:1.45;color:var(--pdim)}
.cmt .lab{display:block;font-size:11px;margin-bottom:4px;color:inherit}
.cmt.need{border-left-color:var(--blue2);color:var(--blue2);margin-top:1.1em;box-shadow:0 12px 28px -18px rgba(0,0,0,.45)}
.dacts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;font-size:13px;font-weight:500}
.dacts span{padding:5px 10px;border:1px solid var(--graphite);color:var(--graphite);white-space:nowrap}
.dacts span:first-child{background:var(--graphite);color:var(--paper)}
.pg-more{color:var(--pdim)}

/* 2 · intro on paper: the problem in one scene, then the outcome */
.intro{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;padding-top:var(--s7);padding-bottom:var(--s7)}
.intro .lab{grid-column:1 / -1;margin-bottom:40px}
.intro h2{grid-column:1 / 11;font-size:clamp(44px,5.6vw,104px);line-height:1.05;text-wrap:balance}
.ring{position:relative;display:inline-block;white-space:nowrap}
.ring svg{position:absolute;left:-.24em;top:-.06em;width:calc(100% + .48em);height:1.18em;pointer-events:none}
.ring .art{stroke-width:.04em}
.in-b{grid-column:7 / 12;margin-top:var(--s5);font-size:clamp(20px,1.8vw,28px);line-height:1.35;text-wrap:pretty}

/* 3 · the queue: heading on the desk, the app on a sheet running off the right edge */
.sheet{background:var(--paper);color:var(--ptext)}
.queue{padding-top:var(--s7);padding-bottom:var(--s7)}
.sec-head{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:end}
.sec-head .lab{grid-column:1 / -1;margin-bottom:24px}
.sec-head .h2{grid-column:1 / 8}
.sec-head .sub{grid-column:9 / 13}
.app{margin:var(--s5) 0 0 var(--m);padding:40px var(--m) 24px 48px}
.app-top{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding-bottom:28px}
.app-top h3{font-family:var(--sans);font-weight:500;font-size:24px;color:var(--graphite)}
.app-top p{color:var(--pdim);font-size:15px;text-wrap:balance}
.dial{display:flex;align-items:center;gap:16px;font-size:14px}
.dial .lab{color:var(--pdim)}
.seg{display:flex;border:1px solid var(--prule)}
.seg span{padding:10px 16px;color:var(--pdim)}
.seg .on{background:var(--graphite);color:var(--ink)}
.q-head,.q-row{display:grid;grid-template-columns:40px minmax(0,1.3fr) minmax(0,.9fr) minmax(0,.6fr) minmax(0,1.6fr);column-gap:24px;align-items:start}
.q-head{color:var(--pdim);padding:12px 0;border-top:1px solid var(--prule);border-bottom:1px solid var(--prule)}
.q-row{padding:28px 0;border-bottom:1px solid var(--prule);font-size:16px}
.q-row:last-child{border-bottom:0}
.q-row b{display:block;font-weight:500;color:var(--graphite)}
.q-row i{font-style:normal;color:var(--pdim);font-size:14px}
.q-row .meta{display:contents}
.st .lab{display:block;color:var(--pdim);margin-bottom:4px}
.st.need,.st.need .lab{color:var(--blue2)}
.ic{width:20px;height:20px;margin-top:2px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.ic-need{color:var(--blue2)}
.ic-fix{color:var(--graphite)}
.q-row .tk{margin:5px 0 0 3px}
.doc-ic{width:20px;height:24px;flex:none;color:var(--graphite);stroke-width:1.2;stroke-linejoin:round;overflow:visible}

/* 4 · for: the statement on white, this morning's inbox on paper */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.half{padding:var(--s7) var(--m)}
.half.solid{display:flex;flex-direction:column;justify-content:center}
.for .h2{max-width:9em;margin-top:24px}
.for .solid .sub{margin-top:40px}
.half.field{display:flex;flex-direction:column;justify-content:center;align-items:center}
.inbox{display:grid;gap:16px;width:100%;max-width:520px}
.inbox-lab{width:100%;max-width:520px;margin-bottom:20px}
.msg-card{background:var(--paper);color:var(--graphite);padding:28px;display:grid;gap:20px;border:1px solid var(--brule);box-shadow:0 24px 48px -32px rgba(20,20,19,.35)}
.msg{font-size:17px}
.person{display:flex;align-items:center;gap:12px;font-size:14px;color:var(--pdim)}
.person b{display:block;font-weight:500;font-size:16px;color:var(--graphite)}
.av{width:40px;height:40px;flex:none;border-radius:50%;background:var(--bone);font-size:13px;font-weight:500;display:grid;place-items:center}
.file{display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid var(--prule);font-size:14px;min-width:0}
.file b{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}




/* 7 · what happens next, on paper */
.nextstep{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:end;padding-top:var(--s7);padding-bottom:var(--s7)}
.nextstep h2{grid-column:1 / 9;font-size:clamp(52px,6.4vw,120px);text-wrap:balance}
.ns-aside{grid-column:9 / 13;padding-bottom:.5em}
.ns-aside .sub{margin-bottom:28px}

/* footer: the wordmark, contained */
.foot{padding-top:var(--s6);padding-bottom:40px}
.foot-in{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:end}
.foot .big{grid-column:1 / 7;display:block;width:100%;height:auto;color:var(--ink)}
.foot-side{grid-column:9 / 13;display:grid;gap:20px;justify-items:end;text-align:right;font-size:15px;color:var(--soft)}
.foot-side nav{display:flex;gap:32px}
.foot-side a:hover{color:var(--ink)}
.fine{margin-top:var(--s5);padding-top:24px;border-top:1px solid var(--rule);font-size:14px;color:var(--dim);display:flex;justify-content:space-between;gap:24px}
.fine a{text-decoration:underline;text-underline-offset:3px}

/* 1024 to 1279 */
@media (max-width:1279px){
  .page{grid-template-columns:minmax(0,1fr) 200px;padding-left:56px;background:linear-gradient(90deg,var(--paper) calc(100% - 228px),transparent 0)}
  .page > p,.page > h3,.wc > p{padding-right:48px}
  .msg-card{padding:24px}
}

/* phone and tablet */
@media (max-width:1023px){
  .nav{height:64px}.nav nav{margin-left:auto;gap:24px}
  .hero{padding-top:24px}
  .hero-top{display:block}
  .hero-aside{padding:0;margin-top:32px}
  .hero .sub{margin-bottom:20px}
  .hfield{margin:var(--s5) 0 0;height:auto;max-height:720px;padding:40px var(--m) 0}
  .win{position:relative;left:auto;top:auto;transform:none;width:100%}
  .win-c,.win-tabs span:nth-child(3),.win-tabs span:nth-child(4){display:none}
  .win-bar{padding:0 14px}.win-tabs{padding:0 14px;gap:20px}
  .canvas{padding:20px 16px 0}
  .page{display:block;padding:28px 24px 40px 44px;background:var(--paper)}
  .page > p,.page > h3,.wc > p{padding-right:0}
  .pg-head span:last-child{display:none}
  .cmt{margin:-8px 0 24px}
  .cmt.need{margin-top:0}
  .intro{display:block}
  .intro .lab{margin-bottom:28px}
  .in-b{margin-top:32px;max-width:22em}
  .sec-head{display:block}.sec-head .sub{margin-top:20px}
  .app{padding:24px 20px 8px 22px}
  .app-top{display:block}.dial{margin-top:20px}
  .q-head{display:none}
  .q-row{grid-template-columns:28px minmax(0,1fr);row-gap:6px;padding:22px 0}
  .q-row .c,.q-row .meta,.q-row .st{grid-column:2}
  .q-row .meta{display:flex;gap:12px;font-size:14px}
  .q-row .st{margin-top:8px}
  .split{display:block}
  .half{padding:var(--s7) var(--m)}
  .half.field{padding:var(--s5) var(--m)}
  .msg-card{padding:20px}
  .pb::before{left:8px}
  .pb-head{display:none}
  .pb-row{grid-template-columns:1fr;row-gap:6px;padding:24px var(--m)}
  .nextstep{display:block}
  .ns-aside{margin-top:32px;padding:0}
  .foot-in{display:block}
  .foot-side{justify-items:start;text-align:left;margin-top:40px}
  .fine{flex-direction:column}
}
@media (max-width:599px){.q-row.more{display:none}}
.ring{margin:0 .12em 0 .2em}
@media (max-width:1023px){
  .hfield{max-height:none;padding-bottom:0}
  .wc:nth-of-type(3),.pg-more{display:none}
}
/* comments sit in the pane beside their clause, as in Word; the page keeps its own rhythm */
@media (min-width:1024px){
  .page{display:block;width:calc(100% - 264px);background:var(--paper);padding:44px 72px 56px 76px}
  .page > p,.page > h3,.wc > p{padding-right:0}
  .wc{display:block;position:relative}
  .cmt{position:absolute;top:0;left:calc(100% + 100px);width:236px;margin:0}
  .cmt.need{top:1.1em}
}
@media (min-width:1024px) and (max-width:1279px){
  .page{width:calc(100% - 228px);padding:40px 48px 48px 56px}
  .cmt{left:calc(100% + 76px);width:200px}
}
@media (min-width:1024px){
  .page{min-height:820px}
  .w82 .mk .ins{left:auto;right:-.05em}
}
.ring svg{width:calc(100% + .62em)}
@media (min-width:1024px) and (max-width:1279px){.hfield{height:700px}}
@media (max-width:599px){.win-s{display:none}}
.ring{margin:0 .34em 0 .24em}
.ring svg{left:-.26em;top:-.16em;width:calc(100% + .66em);height:1.4em}
.ring{margin:0 .22em 0 .24em}
.ring svg{width:calc(100% + .74em)}
.ring{margin-right:.4em}

/* ===== brief 20 ===== */
/* Boska Medium for section headings; the hero h1 stays Regular */
.h2,.intro h2,.nextstep h2{font-weight:500;letter-spacing:-.03em}

/* radius: the product UI reads as software, not as a diagram */
.hfield{border-radius:16px}
.win{border-radius:12px;overflow:hidden}
.page{box-shadow:0 1px 2px rgba(20,20,19,.08),0 8px 24px -12px rgba(20,20,19,.18)}
.cmt{border-radius:6px}
.dacts span,.file,.seg{border-radius:6px}
.seg{overflow:hidden}
.app{border-radius:12px 0 0 12px}
.msg-card{border-radius:12px}
.av{border-radius:50%}
.btn{border-radius:8px}

/* the canvas is a neutral off-white, not the warm paper */
.canvas{background:var(--canvas)}

/* the field: the rest of the contract, set large on the desk, under a fine paper grain */
.hfield{background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .925 0 0 0 0 .914 0 0 0 0 .886 .22 0 0 0 -.06'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 240px 240px,
    var(--graphite)}
.hf-text{position:absolute;inset:-.2em -2% auto -1%;font-family:var(--serif);font-size:clamp(56px,6.2vw,104px);line-height:1.12;letter-spacing:-.02em;color:var(--ink);opacity:.07;pointer-events:none;user-select:none}

@media (max-width:1023px){.hfield{border-radius:0}.hf-text{font-size:44px}}
/* comment cards: a straight inset bar, so the radius never bends the stripe */
.cmt{border-left:0;box-shadow:inset 3px 0 var(--brule)}
.cmt.need{box-shadow:inset 3px 0 var(--blue2),0 12px 28px -18px rgba(0,0,0,.45)}
@media (max-width:599px){.hf-text{display:none}}

/* ===== brief 21 · Playbook as an index =====
   Boska only for the heading and the five values. Clause names in General Sans, the value
   pushed right on a shared baseline, the contract it was read in underneath.
   Shown dark, on the desk. */
.pbi{padding-top:var(--s7);padding-bottom:var(--s7)}
.g12{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px}
.pbi-top{grid-column:1/-1;padding-top:16px;border-top:1px solid var(--graphite)}
.pbi-top .lab{color:var(--graphite)}
.pbi-head{grid-column:1/5;margin-top:var(--s5)}
.pbi-head .sub{margin-top:28px;max-width:17em}
.pbi-head .coda{margin-top:var(--s5);padding-top:20px;border-top:1px solid var(--prule);font-size:15px;line-height:1.55;color:var(--pdim);max-width:22em}
.pbi b{font-weight:500}
.pbi-head .coda b,.coda-m b{color:var(--graphite)}
.coda-m{display:none;grid-column:1/-1;margin-top:var(--s5);font-size:15px;line-height:1.55;color:var(--pdim);max-width:30em}

.idx{grid-column:6/13;margin-top:var(--s5);counter-reset:i}
.idx li{counter-increment:i;padding:30px 0 28px;border-bottom:1px solid var(--prule)}
.idx li:first-child{padding-top:6px}
.row{display:flex;align-items:baseline;gap:16px}
.row::before{content:counter(i,decimal-leading-zero);flex:none;width:40px;font-family:var(--mono);font-size:12px;letter-spacing:.1em;color:var(--pdim)}
.nm{flex:none;font-size:19px;color:var(--graphite)}
.dots{flex:1 1 auto;min-width:24px}
.vl{flex:none;font-family:var(--serif);font-weight:500;letter-spacing:-.025em;font-size:clamp(30px,2.6vw,44px);line-height:1;color:var(--graphite)}
.rd{display:flex;gap:16px;margin-top:10px;padding-left:56px;font-size:14px;color:var(--pdim)}
.rd i{font-style:normal;font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--graphite);padding-top:2px}
.rd i.need{color:var(--blue2)}
.rd i.need::before{content:"";display:inline-block;width:6px;height:6px;margin:0 8px 0 0;vertical-align:.1em;border-radius:50%;background:currentColor}

/* dark: the Playbook on the desk */
.pbi.dark{background:var(--desk);color:var(--ink);--pdim:#9C9A95;--prule:#2A2A28;--graphite:#F1F0EE;--blue2:#3F8CFF}
.pbi.dark .lab{color:var(--dim)}
.pbi.dark .pbi-top{border-top-color:#3A3A38}
.pbi.dark .pbi-top .lab{color:var(--ink)}
.pbi.dark .h2{color:var(--ink)}
.pbi.dark .sub{color:var(--soft)}


@media (max-width:1279px){.pbi-head{grid-column:1/6}.idx{grid-column:7/13}.nm{font-size:17px}}
@media (max-width:1023px){
  .pbi-head,.idx{grid-column:1/-1}
  .pbi-head .coda{display:none}
  .coda-m{display:block}
}
@media (max-width:599px){
  .row{flex-wrap:wrap;row-gap:10px}
  .row::before{width:32px}
  .dots{display:none}
  .vl{flex-basis:100%;padding-left:48px;font-size:34px}
  .rd{padding-left:48px;flex-direction:column;gap:4px}
}
/* second-AI check, brief 21 */
.rd i{font-size:12px;letter-spacing:.14em}
@media (max-width:1023px){.pbi.dark .pbi-top{border-top-color:#4A4946}}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* brief 23 · Instinct review: values are data (General Sans), evidence readable on black, quieter inbox, phone queue says it is a preview */
.vl{font-family:var(--sans);font-weight:500;letter-spacing:-.01em;font-size:clamp(21px,1.6vw,26px);line-height:1.25}
.rd{font-size:15px}
.pbi.dark .rd span{color:#BDBAB4}
.msg-card{box-shadow:0 1px 2px rgba(20,20,19,.06);border-color:var(--brule)}
.q-all{display:none}
@media (max-width:599px){
  .vl{font-size:21px;padding-left:48px}
  .q-all{display:block;padding:18px 0 4px;font-family:var(--mono);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--blue2)}
}
.q-all{color:var(--pdim)!important}

/* brief 26 · hero mockup: the window stops short of the field's bottom edge by the same gap as the top (Adam) */
@media (min-width:1024px){.win{bottom:clamp(48px,5vw,80px)}}
@media (max-width:1023px){.hfield{padding-bottom:40px}}
@media (min-width:1280px){.hfield{height:clamp(640px,55vw,860px)}}
@media (min-width:1024px) and (max-width:1279px){.hfield{height:820px}}


/* QA pass · the 8.2 edit is right-aligned to its word, so the word never starts a line: the edit stays on the page at every desktop width */
@media (min-width:1024px){.nb{white-space:nowrap}}
/* QA pass · from 1280 the field kept 55vw, which cut the "Fixed" comment off at 1280 to 1312. A floor keeps all three comments inside the window; 1440 and up are unchanged */
@media (min-width:1280px){.hfield{height:clamp(780px,55vw,860px)}}
/* QA pass · the focus ring took the button's text colour, which matches the ground it sits on, so it was invisible. Ring in the ground's text colour instead */
.btn:focus-visible{outline-color:var(--ink)}
.g-bone .btn:focus-visible,.g-white .btn:focus-visible{outline-color:var(--graphite)}
/* QA pass · the "3 of 6 shown" line made the last row stop being :last-child, so a divider hung under it on tablet and desktop */
.q-row:last-of-type{border-bottom:0}
/* concept pass · "Book a demo" is a button now (it opens the note, it goes nowhere), so it drops the browser button chrome and keeps the link look */
button.btn{border:0;margin:0;cursor:pointer;line-height:inherit;letter-spacing:inherit;-webkit-tap-highlight-color:transparent}
.btn:focus-visible{outline-style:solid;outline-width:2px;outline-offset:3px}
/* the demo note: a paper card on the desk, like the product windows */
.note{padding:0;border:0;border-radius:12px;width:min(440px,calc(100% - 40px));max-width:none;background:var(--paper);color:var(--graphite);box-shadow:0 48px 96px -48px rgba(0,0,0,.7)}
.note::backdrop{background:rgba(15,15,14,.72)}
.note-in{display:flex;align-items:flex-start;gap:16px;padding:28px 20px 28px 32px}
.note p{flex:1;font-size:17px;line-height:1.5;padding-top:10px;text-wrap:pretty}
.note-x{flex:none;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:8px;background:none;color:var(--graphite);cursor:pointer}
.note-x svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.note-x:hover{background:var(--bone)}
.note-x:focus-visible{outline:2px solid var(--graphite);outline-offset:2px}
@media (max-width:599px){.note-in{padding:20px 12px 24px 24px}}

/* ===== refinement · Phase 1: tighten the look, no motion ===== */
/* art direction: the hero field is grain only; the cropped contract text behind the window read as fragments */
.hf-text{display:none}
/* the For section sits on one bone ground, both columns from the top, inbox to the right margin */
.for .half{justify-content:flex-start}
.for .half.field{align-items:flex-end}
.for .h2{margin-top:24px}
.inbox,.inbox-lab{max-width:560px}
@media (max-width:1023px){.for .half.field{padding-top:0;align-items:stretch}.inbox,.inbox-lab{max-width:none}}
/* type: three display steps. Hero leads; the two statements (intro, close) sit at about 78% of it; section headings below */
.hero h1{font-size:clamp(56px,7vw,132px)}
.intro h2,.nextstep h2{font-size:clamp(44px,5.4vw,96px)}
.h2{font-size:clamp(40px,4.2vw,76px)}
/* marketing text below 20px: 14, 16 or 19 only */
.sub,.hero .sub{font-size:19px}
@media (max-width:1023px){.sub{font-size:16px}.hero .sub{font-size:19px}}
.nav,.foot-side,.pbi-head .coda,.coda-m,.rd,.note p{font-size:16px}
@media (max-width:1279px){.nm{font-size:16px}}
/* the close: the button carries the decision at the headline's weight */
/* UI behaves like UI: rows and cards answer the pointer, quietly */
@media (hover:hover){
  .q-row,.msg-card,.idx li{transition:background-color .15s,border-color .15s,box-shadow .15s}
  .q-row:hover{background:var(--pbg);box-shadow:-16px 0 0 var(--pbg),16px 0 0 var(--pbg)}
  .msg-card:hover{border-color:#BEB9AE}
  .idx li:hover{border-bottom-color:#5A5955}
}
@media (prefers-reduced-motion:reduce){.q-row,.msg-card,.idx li{transition:none}}

/* v33 · intro: the line under the statement is secondary text, set at the 19px marketing size */
.intro .in-b{font-size:19px;line-height:1.5;color:var(--pdim)}
/* v33 · the closing button is the hero button inverted: same size, desk fill with ink text on the bone ground */
.nextstep .btn{background:var(--desk);color:var(--ink)}
.nextstep .btn:hover{background:#000}

/* ===== v39 · hero split: copy left, the document runs off the right edge ===== */
@media (min-width:1280px){
  .hero{display:grid;grid-template-columns:minmax(380px,36%) minmax(0,1fr);align-items:center;padding-top:0;min-height:min(880px,100vh)}
  .hero .hero-top{display:block;width:auto;max-width:none;margin:0;padding:0 24px 0 var(--m)}
  .hero h1{padding-top:0;font-size:clamp(64px,5.4vw,104px)}
  .hero h1 br{display:none}
  .hero .hmk{display:block;width:fit-content;margin-top:.62em}
  .hero .hmk .car{left:-.1em}
  .hero .hero-aside{padding:0;margin-top:36px}
  .hero .sub{margin-bottom:28px;max-width:30ch}
  .hfield{margin:0;height:min(880px,100vh);border-radius:16px 0 0 16px}
  .hfield .win{left:32px;top:96px;bottom:auto;transform:none;width:calc(100% - 64px)}
}
