/* If Possible 4.0: Newsletter. Scoped under .hp, homepage tokens only. */
/* ---- Shared page parts (same pattern on every utility page) ---- */
.hp .pg-sec{padding-block:112px}
.hp .pg-hero{padding-block:88px 104px}
.hp .pg-head{display:flex;flex-direction:column;gap:20px;max-width:860px;margin-bottom:56px}
.hp .pg-head.c{align-items:center;text-align:center;margin-inline:auto}
.hp .pg-head.c .eb{justify-content:center}
.hp .pg-head .lead{max-width:700px}
.hp .pg-head p{margin:0}
.hp .pg-acts{display:flex;flex-wrap:wrap;gap:14px 18px;align-items:center}
.hp .pg-acts.c{justify-content:center}
.hp .pg-fine{font-family:var(--f-mono);font-size:14px;line-height:1.6;color:var(--ink2);max-width:760px;margin:0}
.hp .sg-dark .pg-fine{color:var(--ink2D)}
.hp .pg-meta{display:flex;flex-wrap:wrap;gap:10px 0;font-family:var(--f-mono);font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink2);margin:0}
.hp .pg-meta>span{display:inline-flex;align-items:center}
.hp .pg-meta>span+span::before{content:"";width:4px;height:4px;border-radius:50%;background:var(--acc);margin:0 14px;opacity:.75}
.hp .sg-dark .pg-meta{color:var(--ink2D)}
.hp .sg-dark .pg-meta>span+span::before{background:var(--accD)}
.hp .pg-meta strong{font-weight:700;color:var(--ink)}
.hp .sg-dark .pg-meta strong{color:var(--inkD)}
.hp .btn{cursor:pointer;border:0;font-family:inherit;text-decoration:none}
.hp a.btn{text-decoration:none}

/* framed portraits, the Cohort page treatment */
.hp .pg-frame{background:var(--frame,#fff);padding:8px;box-shadow:var(--frame-sh);border-radius:var(--rad-card);margin:0}
.hp .pg-frame img{display:block;width:100%;height:100%;object-fit:cover;border-radius:4px;filter:url(#gu-duo-navy)}
.hp .pg-sig{display:flex;align-items:center;gap:26px}
.hp .pg-sig .ph{display:flex;flex:none}
.hp .pg-sig .pg-frame{width:92px;height:114px}
.hp .pg-sig .pg-frame:first-child{transform:rotate(-2deg);position:relative;z-index:1}
.hp .pg-sig .pg-frame+.pg-frame{margin-left:-16px;margin-top:22px;transform:rotate(2deg)}
.hp .pg-sig .nm{font-stretch:var(--fs);font-weight:800;text-transform:uppercase;font-size:22px;line-height:1.05;letter-spacing:.005em}
.hp .pg-sig .wc{display:block;margin-top:10px;color:var(--ink2)}
.hp .sg-dark .pg-sig .wc{color:var(--ink2D)}

/* signup form card */
.hp .pg-form{background:var(--card,#fff);color:var(--ink);padding:36px 34px 30px;box-shadow:var(--card-sh);border-radius:var(--rad-card);display:flex;flex-direction:column;gap:14px;position:relative;min-width:0}
.hp .pg-form form{display:flex;flex-direction:column;gap:14px;margin:0}
.hp .pg-form .field{display:flex;flex-direction:column;gap:7px}
.hp .pg-form label{font-stretch:120%;font-weight:600;font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink2)}
.hp .pg-form input[type=text],.hp .pg-form input[type=email]{width:100%;box-sizing:border-box;font:inherit;font-size:16px;color:var(--ink);background:var(--g);border:1px solid var(--line);border-radius:var(--rad,6px);padding:14px 15px}
.hp .pg-form input::placeholder{color:var(--ink2);opacity:.7}
.hp .pg-form input:focus-visible{outline:2px solid var(--acc);outline-offset:1px;border-color:transparent}
.hp .pg-form button[type=submit]{width:100%;justify-content:center;margin-top:6px}
.hp .pg-form .pf-eb{font-family:var(--f-mono);font-size:12.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--acc)}
.hp .pg-form .pf-t{font-stretch:var(--fs);font-weight:850;text-transform:uppercase;font-size:34px;line-height:.98;letter-spacing:-.005em;margin:0}
.hp .pg-form .pf-l{margin:0 0 6px;font-size:16px;line-height:1.5;color:var(--ink2)}
.hp .pg-form .pf-foot{margin:2px 0 0;font-family:var(--f-mono);font-size:12.5px;color:var(--ink2);text-align:center}

@container (max-width:700px){
  .hp .pg-sec{padding-block:72px}
  .hp .pg-hero{padding-block:44px 64px}
  .hp .pg-head{margin-bottom:36px;gap:16px}
  .hp .pg-acts .btn{width:100%;justify-content:center}
  .hp .pg-form{padding:28px 22px 24px}
  .hp .pg-form .pf-t{font-size:28px}
  .hp .pg-sig .pg-frame{width:74px;height:92px}
  .hp .pg-sig .nm{font-size:18px}
}
@container (max-width:700px){.hp .pg-meta{gap:8px 20px}.hp .pg-meta>span::before,.hp .pg-meta>span+span::before{content:"";width:4px;height:4px;border-radius:50%;background:var(--acc);margin:0 10px 0 0;opacity:.75}.hp .sg-dark .pg-meta>span::before{background:var(--accD)}}

/* ---- Hero: the promise beside the signup card ---- */
.hp .nw-hero-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.85fr);gap:72px;align-items:center}
.hp .nw-copy{display:flex;flex-direction:column;gap:28px}
.hp .nw-copy .h1{font-size:clamp(40px,5.8cqw,76px)}
.hp .form-card{max-width:470px;width:100%;justify-self:end}
.hp .form-grid{display:flex;flex-direction:column;gap:14px}
/* signup swaps to the confirmation (the page script sets these) */
.hp .form-card[data-state="confirmed"]>*:not(.confirm){display:none}
.hp .confirm{display:none;flex-direction:column;align-items:center;gap:14px;text-align:center;padding:6px 0}
.hp .confirm[data-visible="true"]{display:flex}
.hp .confirm__mark{width:52px;height:52px;border-radius:50%;background:var(--tint);color:var(--acc);display:grid;place-items:center}
.hp .confirm .pf-l{margin:0}
.hp .nw-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:88px}
.hp .nw-stats .num{margin:0;font-size:64px}
.hp .nw-stats .wc{display:block}

/* ---- What you get: four recurring sections ---- */
.hp .nw-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:1080px;margin-inline:auto}
.hp .nw-get{background:var(--card,#fff);box-shadow:var(--card-sh);border-radius:var(--rad-card);padding:36px 36px 34px;display:flex;flex-direction:column;gap:14px}
.hp .nw-n{font-family:var(--f-mono);font-size:13px;letter-spacing:.08em;color:var(--acc)}
.hp .nw-t{font-stretch:var(--fs);font-weight:850;text-transform:uppercase;font-size:32px;line-height:1;margin:0;letter-spacing:-.005em;padding-bottom:16px;border-bottom:1px solid var(--line)}
.hp .nw-get .body{margin:0}
.hp .nw-jump{display:flex;justify-content:center;margin-top:44px}
.hp #newsletterCard{scroll-margin-top:110px}

/* ---- From the senders ---- */
.hp .nw-split{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:84px;align-items:center}
.hp .nw-scopy{display:flex;flex-direction:column;gap:22px;max-width:620px}
.hp .nw-scopy .body{margin:0;font-size:18px}
.hp .nw-people{display:flex;flex-direction:column;gap:26px;align-items:center}
.hp .nw-pair{display:flex;justify-content:center;width:100%;max-width:440px}
.hp .nw-pair .pg-frame{width:52%;aspect-ratio:4/5;padding:10px}
.hp .nw-pair .c{transform:rotate(-1.6deg);position:relative;z-index:1}
.hp .nw-pair .s{transform:rotate(1.4deg);margin-left:-6%;margin-top:14%}
.hp .nw-names{text-align:center}
.hp .nw-names .nm{font-stretch:var(--fs);font-weight:800;text-transform:uppercase;font-size:22px;line-height:1.05}
.hp .nw-names .wc{display:block;margin-top:10px;color:var(--ink2)}

/* ---- Closer: the second signup on midnight ---- */
.hp .nw-closer{padding-block:136px}
.hp .nw-cgrid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:72px;align-items:center}
.hp .nw-ccopy{display:flex;flex-direction:column;gap:26px}
.hp .nw-ccopy .lead{color:var(--ink2D)}
.hp .nw-closer .pg-form .btn{background:var(--btn);color:var(--btnInk)}

@container (max-width:980px){
  .hp .nw-hero-grid,.hp .nw-split,.hp .nw-cgrid{grid-template-columns:minmax(0,1fr);gap:48px}
  .hp .form-card{justify-self:start;max-width:560px}
}
@container (max-width:700px){
  .hp .nw-stats{margin-top:56px}
  .hp .nw-stats .num{font-size:34px}
  .hp .nw-grid{grid-template-columns:minmax(0,1fr);gap:18px}
  .hp .nw-get{padding:28px 22px 26px}
  .hp .nw-t{font-size:26px}
  .hp .nw-closer{padding-block:80px}
  .hp .nw-pair{max-width:320px}
}

/* ---- QA pass: laptop and tablet fit (701 to 1140 wide) ---- */
@container (min-width:701px) and (max-width:1140px){
  .hp.t-stack .h1{font-size:clamp(52px,7.6cqw,104px)}
  .hp.t-stack .h2{font-size:clamp(36px,5.2cqw,70px)}
}

/* ---- QA pass: ledger numbers fit their cells (701 to 1140 wide) ---- */
@container (min-width:701px) and (max-width:1140px){
  .hp .stats .num{font-size:clamp(38px,4.8cqw,64px)}
  .hp .stats .wc{letter-spacing:.14em}
}
