@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,700;12..96,800&display=swap');

:root{
  --blue:#001CFD;
  --blue-deep:#0010A0;
  --lime:#DFFC17;
  --white:#FFFFFF;
  --gutter:clamp(16px,4vw,48px);
  --max:1200px;
  --font:'Bricolage Grotesque',system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{font-family:var(--font);font-weight:400;background:var(--lime);color:var(--blue);font-size:18px;line-height:1.55;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
:focus-visible{outline:3px solid currentColor;outline-offset:4px}

/* Blocks */
.block{padding:clamp(64px,10vw,140px) var(--gutter)}
.block--lime{background:var(--lime);color:var(--blue)}
.block--blue{background:var(--blue);color:var(--lime)}
.wrap{max-width:var(--max);margin:0 auto}
.narrow{max-width:680px}

/* Top bar */
.bar{display:flex;justify-content:space-between;align-items:center;padding:18px var(--gutter);font-weight:700;font-size:15px;letter-spacing:.01em}
.bar a{text-decoration:none}
.bar .buy-link{border-bottom:2px solid currentColor;padding-bottom:1px}

/* Hero: the cover, as type */
.hero{padding:8px var(--gutter) clamp(40px,6vw,72px)}
.stack{font-weight:800;font-size:clamp(76px,24vw,330px);line-height:.84;letter-spacing:-.045em;text-transform:uppercase;font-variation-settings:'opsz' 96}
.stack span{display:block;position:relative}
.stack span:nth-child(2){z-index:1}
.hero-foot{display:grid;grid-template-columns:1fr auto;gap:32px;align-items:end;margin-top:clamp(28px,4vw,48px)}
.hero--home{display:flex;flex-direction:column}
.hero--home .hero-img{order:2}
.hero--home .hero-foot{order:3}
.hero-img{display:block;margin:clamp(20px,4vw,40px) 0 0;border-radius:18px;overflow:hidden;box-shadow:0 30px 60px -30px rgba(0,16,160,.45)}
.hero-img img{display:block;width:100%;height:auto}
@media (min-width:1000px){
  .hero--home{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"title img" "foot img";gap:0 clamp(40px,5vw,80px);align-items:end;min-height:calc(100svh - 60px);max-width:1600px;margin:0 auto}
  .hero--home .stack{grid-area:title}
  .hero--home .hero-foot{grid-area:foot}
  .hero--home .hero-img{grid-area:img;align-self:center;margin:0;max-height:calc(100svh - 140px)}
  .hero--home .hero-img img{max-height:calc(100svh - 140px);object-fit:cover;object-position:left center}
  .hero--home .stack{font-size:min(13vw,14.5svh,240px)}
  .hero--home .hero-foot{grid-template-columns:1fr;margin:0;gap:28px;padding-bottom:1.2vh}
  .hero--home .hero-sub{font-size:clamp(26px,2.2vw,38px)}
}
.hero-sub{font-weight:700;font-size:clamp(20px,2.3vw,28px);line-height:1.15;max-width:22ch}
.hero-by{font-weight:500;font-size:16px;margin-top:12px}

@media (prefers-reduced-motion:no-preference){
  .stack span{animation:slam .42s cubic-bezier(.2,1.4,.4,1) both}
  .stack span:nth-child(1){animation-delay:.05s}
  .stack span:nth-child(2){animation-delay:.22s}
  .stack span:nth-child(3){animation-delay:.39s}
  .stack span:nth-child(4){animation-delay:.56s}
  .stack span:nth-child(5){animation-delay:.73s}
  @keyframes slam{from{opacity:0;transform:scale(1.35) translateY(-4%)}to{opacity:1;transform:none}}
}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;font:800 20px/1 var(--font);padding:22px 30px;border:0;cursor:pointer;text-decoration:none;border-radius:999px;transition:transform .12s,background .12s}
.btn:active{transform:scale(.97)}
.btn--blue{background:var(--blue);color:var(--lime)}
.btn--blue:hover{background:var(--blue-deep)}
.btn--lime{background:var(--lime);color:var(--blue)}
.btn--lime:hover{background:var(--white)}
.btn .price{font-weight:500;opacity:.85}
.btn[disabled]{opacity:.6;cursor:wait}
.small{font-size:14px;font-weight:500;margin-top:12px}

/* Big line */
.big{font-weight:800;font-size:clamp(40px,6.4vw,92px);line-height:.95;letter-spacing:-.03em;max-width:15ch}
.lede{font-size:clamp(19px,1.7vw,22px);max-width:56ch;margin-top:32px}
.lede + .lede{margin-top:16px}

/* Seven thoughts */
.part{display:grid;grid-template-columns:minmax(200px,1fr) 2fr;gap:24px 48px;padding:36px 0;border-top:3px solid currentColor}
.part:last-of-type{border-bottom:3px solid currentColor}
.part h3{font-weight:800;font-size:clamp(26px,2.6vw,34px);line-height:1}
.part h3 small{display:block;font-weight:500;font-size:16px;margin-top:10px;line-height:1.4;max-width:24ch}
.thoughts{list-style:none;counter-reset:t var(--start,0)}
.thoughts li{counter-increment:t;display:grid;grid-template-columns:72px 1fr;align-items:baseline;padding:14px 0;font-weight:700;font-size:clamp(22px,2.4vw,32px);line-height:1.1}
.thoughts li::before{content:counter(t);font-weight:800;font-size:clamp(34px,3.4vw,48px);line-height:.8}
.section-head{font-weight:800;font-size:clamp(40px,6.4vw,92px);line-height:.95;letter-spacing:-.03em;margin-bottom:clamp(32px,5vw,64px)}

/* Free chapter */
.free{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(32px,6vw,96px);align-items:center}
.form{display:grid;gap:12px}
.form label{font-weight:700;font-size:15px}
.field{width:100%;font:500 20px var(--font);padding:20px 24px;border:3px solid var(--lime);background:transparent;color:var(--lime);border-radius:999px}
.field::placeholder{color:var(--lime);opacity:.55}
.field:focus{outline:none;background:rgba(223,252,23,.12)}
.hp{position:absolute;left:-9999px}
.msg{min-height:1.5em;font-weight:700;font-size:16px}

/* About */
.about{display:grid;grid-template-columns:1fr 2fr;gap:clamp(24px,5vw,80px)}
.about h2{font-weight:800;font-size:clamp(34px,4vw,56px);line-height:1;letter-spacing:-.02em}
.about p{font-size:clamp(18px,1.6vw,21px);max-width:58ch}
.about p + p{margin-top:16px}

/* Buy */
.buy{display:grid;grid-template-columns:minmax(220px,380px) 1fr;gap:clamp(32px,6vw,96px);align-items:center}
.buy img{width:100%}
.buy h2{font-weight:800;font-size:clamp(44px,6vw,88px);line-height:.92;letter-spacing:-.03em}
.get{list-style:none;margin:28px 0 36px;font-size:clamp(18px,1.6vw,21px)}
.get li{padding:10px 0;border-bottom:2px solid currentColor}
.get li:first-child{border-top:2px solid currentColor}

footer{padding:40px var(--gutter);font-size:14px;background:var(--blue);color:var(--lime);border-top:2px solid var(--lime)}
footer .wrap{display:flex;flex-wrap:wrap;gap:12px 32px;justify-content:space-between}
footer p{max-width:70ch}

/* Reading pages */
.read{background:var(--white);color:#0A0F3D;padding:clamp(48px,8vw,96px) var(--gutter)}
.read article{max-width:640px;margin:0 auto;font-size:19px;line-height:1.7}
.read h1,.read h2{color:var(--blue);font-weight:800;letter-spacing:-.02em;line-height:1.02}
.read h1{font-size:clamp(40px,6vw,64px);margin:0 0 24px}
.read h2{font-size:clamp(30px,4vw,44px);margin:72px 0 20px}
.read h3{color:var(--blue);font-size:24px;font-weight:800;margin:44px 0 12px}
.read p{margin:0 0 20px}
.read em{font-style:italic}
.read strong{font-weight:700}
.read .pull{font-weight:800;font-size:clamp(22px,2.4vw,27px);line-height:1.25;color:var(--blue);background:var(--lime);padding:20px 24px;margin:32px 0}
.read .epigraph{font-size:21px;font-style:italic;color:var(--blue)}

@media (max-width:820px){
  .hero-foot{grid-template-columns:1fr}
  .hero-foot .btn{width:100%}
  .part,.free,.about,.buy{grid-template-columns:1fr}
  .buy img{max-width:260px}
  .thoughts li{grid-template-columns:52px 1fr}
  .btn{width:100%}
}

.about .signoff{margin-top:32px}.about .signoff img{display:block;width:min(100%,300px);height:auto}

/* Photo hero: the image is the first screen */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hero--photo{padding:0;margin:0}
.hero--photo picture{display:block}
.hero-frame{position:relative}
.hero--photo .hero-bg{aspect-ratio:1/1;object-fit:cover;object-position:40% 50%}
.hero-cta{position:absolute;right:var(--gutter);bottom:12px;width:auto!important;padding:14px 20px;font-size:16px;box-shadow:0 12px 30px -10px rgba(0,16,160,.5)}
.hero--photo .hero-copy-btn{display:none}
.hero-bg{display:block;width:100%;height:auto}
.hero--photo .hero-copy{padding:24px var(--gutter) clamp(40px,6vw,64px)}
.hero--photo .hero-sub{font-size:clamp(24px,6.4vw,34px);max-width:16ch}
.hero--photo .hero-by{margin:12px 0 0}
.hero--photo .btn{width:100%}
.hero--photo .small{margin-top:10px}
@media (min-width:1000px){
  .hero--photo{position:relative;min-height:calc(100svh - 60px);display:flex;align-items:flex-end;justify-content:flex-end}
  .hero--photo .hero-frame,.hero--photo picture,.hero--photo .hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:38% 55%;aspect-ratio:auto}
  .hero-cta{display:none}
  .hero--photo .hero-copy-btn{display:inline-block}
  .hero--photo .hero-by{margin:12px 0 22px}
  .hero--photo .small{margin-top:14px}
  .hero--photo .hero-copy{position:relative;z-index:1;padding:0 var(--gutter) clamp(40px,6vw,72px) 0;max-width:30ch}
  .hero--photo .hero-sub{font-size:clamp(28px,2.6vw,42px);max-width:14ch}
  .hero--photo .btn{width:auto}
}

.brand{display:inline-flex;align-items:center;gap:.45em;text-decoration:none}
.brand .wm{height:2.3em;width:auto;display:block}
.brand .xx{height:1.15em;width:auto;display:block;transform:translateY(.25em)}

footer .also{flex-basis:100%;max-width:none;font-size:16px;padding-bottom:18px;margin-bottom:6px;border-bottom:1px solid rgba(223,252,23,.35)}
footer .also a{color:var(--lime);font-weight:800;text-decoration:underline;text-underline-offset:3px}

.quote{margin:clamp(40px,6vw,64px) 0 8px;padding:0 0 0 clamp(18px,3vw,28px);border-left:4px solid var(--lime)}
.quote p{font-weight:800;font-size:clamp(24px,3.2vw,38px);line-height:1.15;letter-spacing:-.02em;margin:0;max-width:22ch}
.quote cite{display:block;font-style:normal;font-weight:600;font-size:16px;margin-top:14px;opacity:.85}

.about-side h2{margin-bottom:22px}.about-side{align-self:start}
.about-photo{display:block;max-width:360px}
.about-photo img{display:block;width:100%;height:auto;border-radius:6px;transform:rotate(-1.5deg);box-shadow:0 18px 40px rgba(0,28,253,.18)}
.about .more{margin-top:16px}
.about .more summary{list-style:none;cursor:pointer;display:inline-block;font-weight:800;font-size:clamp(17px,1.4vw,19px);color:var(--blue);border-bottom:3px solid var(--blue);padding-bottom:2px;user-select:none}
.about .more summary::-webkit-details-marker{display:none}
.about .more summary .s-close{display:none}
.about .more[open] summary .s-open{display:none}
.about .more[open] summary .s-close{display:inline}
.about .more > p:first-of-type{margin-top:16px}
@media(max-width:760px){.about-photo{max-width:260px;margin:0 auto 8px}}
