/* AI Espresso landing (newsletter.html), round 4. Linked last in <head>.
   Hero: copy and form on the left; on the right a colour block that bleeds off the screen edge with a slanted left edge
   and the issues as an index: day, topic and title, one row per issue. The 30 June row is open and lists its three items;
   the others open on click and show their summary. All text is copied word for word from section.nli and section.nla.
   Dark: olive block, lime day numbers. Light: #4D5C00 block. Rows are native <details>, so they work without JS. */

.nlh{padding-bottom:72px}
.nlh__ph{position:relative;margin:0;isolation:isolate;padding:8px 0 0 40px}
.nlh__ph::before{
  content:"";position:absolute;z-index:-1;
  top:-300px;bottom:-300px;left:-56px;right:-200px;
  clip-path:polygon(64px 0,100% 0,100% 100%,0 100%);
  background:
    radial-gradient(70% 50% at 90% 10%,rgb(210 255 0/.2),transparent 65%),
    linear-gradient(165deg,#434E14 0%,#232908 100%);
}
html[data-mode="light"] .nlh__ph::before{
  background:
    radial-gradient(70% 50% at 90% 10%,rgb(210 255 0/.3),transparent 65%),
    linear-gradient(165deg,#5A6D06 0%,#4D5C00 70%);
}

.nlx{--dw:clamp(84px,9vw,132px);color:#F4F4ED}
.nlx__h{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:6px;font:700 13px/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:#D2FF00}
.nlx__h a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#D2FF00;text-decoration:none}
.nlx__h a:hover{text-decoration:underline;text-underline-offset:4px}

.nlx__r{border-top:1px solid rgb(244 244 237/.26)}
.nlx__r summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:var(--dw) minmax(0,1fr) 28px;column-gap:18px;align-items:center;min-height:44px;padding:14px 0}
.nlx__r summary::-webkit-details-marker{display:none}
.nlx__r summary::after{content:"+";justify-self:end;font:300 34px/1 var(--sans);color:#D2FF00;transition:rotate .35s cubic-bezier(.2,.7,.1,1)}
.nlx__r[open] summary::after{rotate:45deg}
.nlx__d{display:grid;justify-items:start;gap:6px;color:#D2FF00}
.nlx__d b{font:800 clamp(58px,6.6vw,100px)/.8 var(--sans);font-stretch:75%;letter-spacing:-.02em}
.nlx__d small{font:700 12px/1 var(--sans);letter-spacing:.1em;text-transform:uppercase}
.nlx__m{display:grid;gap:8px;min-width:0}
.nlx__m i{font:700 12px/1.25 var(--sans);font-style:normal;letter-spacing:.1em;text-transform:uppercase;color:#D2FF00}
.nlx__m b{font:800 clamp(22px,2.2vw,32px)/1 var(--sans);font-stretch:75%;text-transform:uppercase;letter-spacing:-.01em;color:#F4F4ED}
.nlx__r:not([open]) .nlx__m b{font-size:clamp(19px,1.8vw,26px)}
.nlx__b{padding:0 46px 18px calc(var(--dw) + 18px);color:rgb(244 244 237/.86)}
.nlx__b p{margin:0;font:400 15px/1.5 var(--sans)}
.nlx__p{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.nlx__p li{display:grid;gap:3px}
.nlx__p span{font:700 12px/1 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:#D2FF00}
.nlx__p b{font:700 16px/1.25 var(--sans);color:#F4F4ED}
.nlx__r summary:hover .nlx__m b{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px;text-decoration-color:#D2FF00}

/* entry: rows wipe in one after another (only with JS and when motion is allowed) */
.rv-on .nlh__ph .nlx__r{opacity:0;clip-path:inset(0 0 100% 0);translate:0 22px}
.rv-on .nlh__ph.rv-in .nlx__r{
  opacity:1;clip-path:inset(0 0 0 0);translate:0 0;
  transition:opacity .5s ease,clip-path .9s cubic-bezier(.2,.7,.1,1),translate .9s cubic-bezier(.2,.7,.1,1);
  transition-delay:calc(.25s + var(--i) * .14s);
}
@media (prefers-reduced-motion:reduce){
  .rv-on .nlh__ph .nlx__r{opacity:1;clip-path:none;translate:none;transition:none}
  .nlx__r summary::after{transition:none}
}

@media (min-width:768px){
  .nlh{padding-top:104px;padding-bottom:72px}
}
@media (max-width:767px){
  .nlh{padding-bottom:64px}
  .nlh__ph{margin-top:48px;padding:0 0 8px}
  .nlh__ph::before{top:-40px;bottom:-300px;left:-100px;right:-100px;clip-path:none}
  .nlx{--dw:72px}
  .nlx__r summary{column-gap:14px;padding:12px 0}
  .nlx__d b{font-size:60px}
  .nlx__m b{font-size:22px}
  .nlx__r:not([open]) .nlx__m b{font-size:19px}
  .nlx__b{padding:0 0 16px calc(var(--dw) + 14px)}
}

/* ---------- bottom sign-up band ---------- */
/* The inline style of this page still carries rules from an older layout (.nlb__l, .nlb__ph, padding:0) that no markup uses
   any more; they stripped the padding of the card. This block sets the band again, whole. */
.nlb{padding:72px var(--gut) 64px;background:#D2FF00}
.nlb__in{
  position:relative;isolation:isolate;overflow:hidden;
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  grid-template-areas:"cup fm" "tx fm";grid-template-rows:auto 1fr;
  column-gap:64px;row-gap:56px;align-items:end;
  min-height:0;max-width:1280px;padding:56px 64px;border-radius:32px;
  background:linear-gradient(160deg,#1c1f16 0%,#0f110b 100%);
  box-shadow:0 40px 70px -46px rgb(28 31 22/.75);
}
.nlb__in::before{
  content:"3" / "";position:absolute;z-index:-1;right:-1%;top:-14%;
  font:500 clamp(320px,38vw,560px)/1 var(--serif);color:transparent;
  -webkit-text-stroke:2px rgb(210 255 0/.28);pointer-events:none;
}
.nlb__in::after{display:block;right:-120px;top:auto;bottom:-220px;width:560px;height:560px;z-index:-1}
.nlb__cup{grid-area:cup;width:84px;height:84px;border-radius:22px}
.nlb__cup svg{width:50px;height:50px}
.nlb__tx{grid-area:tx;align-self:end}
.nlb__tx h2{margin:0 0 14px;max-width:14em;font:500 clamp(44px,5vw,76px)/1 var(--serif);text-transform:none;letter-spacing:-.02em}
.nlb__tx p{font-size:18px;color:rgb(244 244 237/.78)}
.nlb__fm{grid-area:fm;align-self:end;justify-self:end;width:100%;max-width:520px}

@media (max-width:767px){
  .nlb{padding:40px 12px 28px}
  .nlb__in{
    grid-template-columns:minmax(0,1fr);grid-template-areas:"cup" "tx" "fm";grid-template-rows:none;
    row-gap:22px;padding:26px 22px 28px;border-radius:24px;
  }
  .nlb__in::before{right:-14px;top:-24px;font-size:300px}
  .nlb__cup{width:64px;height:64px;border-radius:17px}
  .nlb__cup svg{width:38px;height:38px}
  .nlb__tx h2{font-size:clamp(34px,9.4vw,44px);margin-bottom:10px}
  .nlb__tx p{font-size:16px}
  .nlb__fm{justify-self:stretch;max-width:none}
}
