:root{
  --ink:#0E1F35;
  --paper:#F6F5F1;
  --card:#FFFFFF;
  --signal:#134B97;
  --signal-dark:#0E3A76;
  --slate:#6B7685;
  --rule:#D8D4CA;
  --measure:64ch;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:"Libre Franklin",Helvetica,Arial,sans-serif;
  font-size:17px;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;height:auto;display:block}

.wrap{width:100%;max-width:720px;margin:0 auto;padding:0 24px}

/* ---------- referral bar ---------- */

.referral{border-bottom:1px solid var(--rule);background:var(--card)}
.referral .wrap{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:12px;padding-top:14px;padding-bottom:14px;
}
.referral p{margin:0;font-size:14px;color:var(--slate);max-width:none}
.referral strong{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}
.brand{display:flex;align-items:center;gap:10px;flex:0 0 auto;text-decoration:none;color:var(--ink)}
.brand img{height:32px;width:32px}
.brand span{font-size:15px;font-weight:800;letter-spacing:-0.01em;line-height:1.1}
@media (max-width:420px){
  .brand img{height:26px;width:26px}
  .brand span{font-size:14px}
}

/* ---------- sections ---------- */

.band{padding:54px 0;border-bottom:1px solid var(--rule)}
.band:last-of-type{border-bottom:0}

h1,h2,h3{margin:0;font-weight:800;letter-spacing:-0.02em;line-height:1.12}
h2{font-size:clamp(23px,3.6vw,29px);letter-spacing:-0.015em}
h3{font-size:18px;font-weight:600;letter-spacing:0}

p{margin:0 0 1.05em;max-width:var(--measure)}
p:last-child{margin-bottom:0}

a{color:var(--signal)}

/* ---------- hero: masthead ---------- */

.hero{padding-top:52px;text-align:center}

.hero .strip{
  display:block;
  width:100%;
  height:52px;
  object-fit:cover;
  margin:0 0 26px;
  border-radius:2px;
}

.hero h1{
  font-size:clamp(25px,4.05vw,36px);
  line-height:1.22;
  letter-spacing:-0.012em;
  max-width:26ch;
  margin:0 auto;
  padding:28px 0 26px;
  border-top:3px solid var(--ink);
  border-bottom:1px solid var(--ink);
  text-wrap:balance;
}

/* the figure sits on a thin wash of the brand blue - the only flourish on the page */
.hero h1 .amount{
  white-space:nowrap;
  background-image:linear-gradient(to top,
    rgba(19,75,151,.26) 0 0.15em, transparent 0.15em);
  background-repeat:no-repeat;
  background-position:0 100%;
  background-size:100% 100%;
}

.hero .kicker{
  margin:20px auto 0;
  font-size:clamp(17px,2.2vw,20px);
  font-style:italic;
  font-weight:700;
  color:var(--slate);
  letter-spacing:.005em;
}

.hero .lede{
  font-size:19px;
  margin:30px auto 0;
  max-width:56ch;
  text-wrap:pretty;
}

.hero .btn-row{margin-top:30px}
.hero .btn-note{margin-left:auto;margin-right:auto}

@media (max-width:600px){
  .hero{padding-top:40px}
  .hero h1{padding:22px 0 20px;max-width:none}
  .hero .strip{height:40px;margin-bottom:20px}
}

/* ---------- buttons ---------- */

.btn{
  display:inline-block;background:var(--signal);color:#fff;
  font-size:17px;font-weight:600;text-decoration:none;
  padding:15px 34px;border:0;border-radius:3px;cursor:pointer;
  font-family:inherit;line-height:1.3;
}
.btn{
  box-shadow:0 2px 0 rgba(14,31,53,.28);
  transition:background .18s ease, transform .11s ease, box-shadow .11s ease;
}
.btn:hover{
  background:var(--signal-dark);
  transform:translateY(1px);
  box-shadow:0 1px 0 rgba(14,31,53,.28);
}
.btn:active{
  transform:translateY(2px);
  box-shadow:0 0 0 rgba(14,31,53,.28);
}
.btn:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.btn-row{margin-top:28px}
.btn-note{margin:14px 0 0;font-size:14px;color:var(--slate)}

/* ---------- claims ---------- */

.claims{
  margin:30px 0 34px;
  padding:0;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid var(--rule);
  border-bottom:1px solid var(--rule);
}
.claims li{padding:26px 14px 28px;text-align:center}
.claims li + li{border-left:1px solid var(--rule)}
.claims svg{
  display:block;
  width:34px;height:34px;
  margin:0 auto 18px;
  color:var(--ink);
}
.claims span{font-weight:700;font-size:17px;letter-spacing:-0.005em}

@media (max-width:560px){
  .claims{grid-template-columns:1fr}
  .claims li{padding:22px 0}
  .claims li + li{border-left:0;border-top:1px solid var(--rule)}
  .claims svg{width:30px;height:30px;margin-bottom:14px}
}

/* ---------- the URL example ---------- */

.urlexample{
  display:inline-block;
  margin:2px 0 14px;
  padding:10px 14px;
  background:var(--card);
  border:1px solid var(--rule);
  border-radius:3px;
  font-size:17px;
  font-weight:600;
  font-variant-numeric:tabular-nums;
}

/* ---------- figures ---------- */

figure{margin:30px 0 0}
figure img{width:100%;border-radius:3px}
figcaption{
  margin-top:10px;font-size:14px;color:var(--slate);
  max-width:var(--measure);
}

/* ---------- Paul ---------- */

.story{margin-top:20px;padding-left:20px;border-left:1px solid var(--rule)}
.story p{font-size:16px}

.video{margin-top:26px;position:relative;padding-bottom:56.25%;height:0;background:var(--ink)}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ---------- papers ---------- */

.papers{background:var(--card);border:1px solid var(--rule);padding:30px}
.papers h2{font-size:22px}
.papers p{font-size:16px;color:var(--slate);margin-top:10px}
.field{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.field input{
  flex:1 1 240px;min-width:0;font-family:inherit;font-size:17px;color:var(--ink);
  padding:14px 15px;background:var(--paper);border:1px solid var(--rule);border-radius:3px;
}
.field input:focus-visible{outline:3px solid var(--signal);outline-offset:-1px;border-color:var(--signal)}
.form-msg{margin:14px 0 0;font-size:15px;font-weight:600;color:var(--ink)}
.form-msg.error{color:#A3231C}
.downloads{margin:18px 0 0;padding:0;list-style:none}
.downloads li{margin-bottom:8px}
.downloads a{font-weight:600}

[hidden]{display:none !important}

footer{padding:36px 0 56px;font-size:14px;color:var(--slate)}
footer p{margin:0 0 6px;max-width:none}
footer a{color:var(--slate)}

@media (max-width:600px){
  .band{padding:42px 0}
  .papers{padding:24px 20px}
}

/* ---------- inner content pages ---------- */

.page-title{
  font-size:clamp(27px,4.2vw,38px);
  line-height:1.14;
  letter-spacing:-0.02em;
  max-width:24ch;
}
.page-sub{
  margin-top:14px;
  font-size:19px;
  font-style:italic;
  color:var(--slate);
}

.benefit{
  padding:24px 0;
  border-bottom:1px solid var(--rule);
}
.benefit:first-of-type{border-top:1px solid var(--rule)}
.benefit h3{
  font-size:17px;
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
  margin-bottom:8px;
}
.benefit p{margin-bottom:0;color:var(--ink)}
.benefit .value{
  display:inline-block;
  margin-top:10px;
  font-size:14px;
  font-weight:600;
  color:var(--signal);
}

.plainlist{
  margin:16px 0 0;
  padding:0;
  list-style:none;
  columns:2;
  column-gap:34px;
  max-width:var(--measure);
}
.plainlist li{
  break-inside:avoid;
  padding:6px 0 6px 18px;
  position:relative;
  font-size:16px;
}
.plainlist li::before{
  content:"";
  position:absolute;
  left:0;top:15px;
  width:7px;height:1px;
  background:var(--slate);
}
@media (max-width:560px){ .plainlist{columns:1} }

.member{
  padding:26px 0;
  border-bottom:1px solid var(--rule);
}
.member:first-of-type{border-top:1px solid var(--rule)}
.member p:last-child{margin-bottom:0}
.member .figure{
  display:block;
  margin-bottom:10px;
  font-size:22px;
  font-weight:800;
  letter-spacing:-0.02em;
  font-variant-numeric:tabular-nums;
}

.decision{
  margin-top:28px;
  display:grid;
  grid-template-columns:1fr 1fr;
  border:1px solid var(--rule);
  background:var(--card);
}
.decision > div{padding:22px 24px}
.decision > div + div{border-left:1px solid var(--rule)}
.decision h3{
  font-size:14px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--slate);
  margin-bottom:14px;
}
.decision p{font-size:16px;margin-bottom:.8em}
@media (max-width:560px){
  .decision{grid-template-columns:1fr}
  .decision > div + div{border-left:0;border-top:1px solid var(--rule)}
}

.backlink{padding:8px 0 0}
.backlink p{margin:0;font-size:15px}

.cta-block{
  margin-top:34px;
  padding-top:30px;
  border-top:1px solid var(--rule);
}


/* ---------- motion ---------- */
/* Everything here is gated on the visitor not asking for reduced motion.
   Reveal classes are added by JS, so a no-JS visitor sees the page unmoved. */

@media (prefers-reduced-motion: no-preference){

  .reveal{
    opacity:0;
    transform:translateY(16px);
    transition:opacity .75s cubic-bezier(.22,.61,.36,1),
               transform .75s cubic-bezier(.22,.61,.36,1);
    will-change:opacity, transform;
  }
  .reveal.in{opacity:1;transform:none}

  /* hero, in sequence, on load */
  .hero .strip  {opacity:0;animation:ypgFade  .9s cubic-bezier(.22,.61,.36,1) .05s forwards}
  .hero h1      {opacity:0;animation:ypgRise  .8s cubic-bezier(.22,.61,.36,1) .20s forwards}
  .hero .kicker {opacity:0;animation:ypgSlide .8s cubic-bezier(.22,.61,.36,1) .66s forwards}
  .hero .lede   {opacity:0;animation:ypgRise  .8s cubic-bezier(.22,.61,.36,1) .80s forwards}
  .hero .btn-row{opacity:0;animation:ypgRise  .8s cubic-bezier(.22,.61,.36,1) .92s forwards}

  /* the rule under the figure draws left to right, after the headline lands */
  .hero h1 .amount{
    background-size:0% 100%;
    animation:ypgUnderline .9s cubic-bezier(.22,.61,.36,1) 1.0s forwards;
  }

  /* icons drop into place, staggered */
  .claims li svg{opacity:0;transform:translateY(-12px)}
  .claims.in li svg{animation:ypgDrop .5s cubic-bezier(.34,1.3,.64,1) .22s forwards}
  .claims.in li:nth-child(2) svg{animation-delay:.35s}
  .claims.in li:nth-child(3) svg{animation-delay:.48s}
}

@keyframes ypgFade{to{opacity:1}}
@keyframes ypgRise{from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:none}}
@keyframes ypgSlide{from{opacity:0;transform:translateX(-22px)} to{opacity:1;transform:none}}
@keyframes ypgUnderline{to{background-size:100% 100%}}
@keyframes ypgDrop{to{opacity:1;transform:none}}

/* Honeypot. Positioned off-canvas rather than display:none, which bots skip. */
.hp{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;height:1px;
  overflow:hidden;
}
