/* Scouting Analyst: landing page (/welcome, and / for a visitor without a session).
   Loaded after style.css and built on it: the same colour variables (light / dark follows the system), the same
   type, and the real card classes for the product example. Rules here are scoped under .landing, .demo or lp-*.
   The page asks nothing of other hosts: fonts come from /static/fonts (SIL Open Font License 1.1). */
@font-face{font-family:Fraunces;font-style:normal;font-weight:100 900;font-display:swap;
  src:url(/static/fonts/fraunces-latin-opsz-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:100 700;font-display:swap;
  src:url(/static/fonts/ibm-plex-sans-latin-wght-normal.woff2) format("woff2")}

html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
.landing{font-size:17px;line-height:1.6}
/* zero-specificity reset, so the card and bubble rules of style.css keep their own margins */
:where(.landing) :where(h1,h2,h3,p,ul,ol,dl,dd,figure,pre){margin:0}
:where(.landing) :where(ul,ol){padding:0;list-style:none}
.landing a{text-underline-offset:3px}
.landing a.btn{display:inline-block;text-decoration:none}
.landing .lp-big{font-size:16px;padding:12px 26px;border-radius:10px}
.landing code{font:500 .86em/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:var(--soft);
  color:var(--ink);padding:1px 5px;border-radius:5px;overflow-wrap:anywhere}
.lp-wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 24px}
.lp-skip{position:absolute;left:16px;top:-48px;z-index:20;background:var(--panel);color:var(--ink);padding:8px 14px;
  border:1px solid var(--line);border-radius:8px;font-size:14px}
.lp-skip:focus{top:12px}

/* top bar */
.lp-top{display:flex;align-items:center;gap:28px;padding-top:18px;padding-bottom:18px}
.lp-top nav{display:flex;gap:26px;margin-left:auto;font-size:14px}
.lp-top nav a{color:var(--muted);text-decoration:none}
.lp-top nav a:hover{color:var(--ink);text-decoration:underline}

/* hero: the headline on the left, the standfirst and the way in on the right, sharing a baseline */
.lp-hero{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:28px 56px;align-items:end;
  padding:clamp(32px,5vw,64px) 0 clamp(36px,4.4vw,56px)}
.lp-hero h1{font:500 clamp(2.625rem,7.2vw,6.5rem)/.97 var(--serif);letter-spacing:-.026em}
.lp-intro{justify-self:end;max-width:19.5em;padding-bottom:.5em}
.lp-lede{font-size:clamp(1.0625rem,1.3vw,1.125rem);line-height:1.5}
.lp-note{margin-top:16px;font-size:14px;line-height:1.45;color:var(--muted)}

/* the product example: app markup at app sizes */
.demo{font-size:15px;line-height:1.5}
.lp-caption{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 24px;font-size:13px;color:var(--muted);
  border-top:1px solid var(--line);padding-top:12px;margin-bottom:22px}
.demo .answer{max-width:47em}
.demo .answer p{margin:0 0 8px}
.demo .answer ul{margin:0;padding-left:20px;list-style:disc}
.demo .answer li{margin:3px 0}
.demo .source details{margin-top:2px}
.lp-trace{margin:8px 0 0;padding-left:20px;list-style:decimal;color:var(--ink);font-size:13px;line-height:1.6;max-width:52em}
.lp-trace li{margin:4px 0}
.lp-legend{font-size:12px;color:var(--muted);margin-top:18px;max-width:64em}

/* sections: the visitor's question in the app's question bubble (h2.q), then the answer */
.lp-sec{display:flex;flex-direction:column;padding-top:clamp(76px,9.5vw,136px);
  scroll-margin-top:calc(32px - clamp(76px,9.5vw,136px))}  /* a link from the top bar lands on the question */
.lp-sec>h2.q{font:500 17px/1.45 var(--sans);margin-bottom:clamp(22px,3vw,36px)}
.lp-lead{font:500 clamp(1.75rem,3.5vw,2.875rem)/1.1 var(--serif);letter-spacing:-.016em;max-width:19em;text-wrap:balance}
.lp-head{margin-bottom:clamp(30px,3.8vw,52px)}
.lp-steps h3,.lp-points h3{font:600 17px/1.3 var(--sans);margin-bottom:6px}
.lp-steps p,.lp-points p{font-size:15px;line-height:1.55;color:var(--muted)}

/* how it works: a real sequence, so it is numbered */
.lp-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 32px;counter-reset:step}
.lp-steps>li{counter-increment:step;border-top:1px solid var(--ink);padding-top:16px}
.lp-steps>li::before{content:counter(step);display:block;font:500 2rem/1 var(--serif);margin-bottom:22px}
.lp-tools{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}

/* trust: what the model sends, what the server builds from it */
.lp-anatomy{display:grid;grid-template-columns:minmax(0,23fr) 40px minmax(0,21fr) minmax(0,15fr);align-items:stretch;
  font-size:15px;line-height:1.5;margin-bottom:clamp(40px,4.6vw,64px)}
.lp-sends,.lp-builds{display:flex;flex-direction:column;min-width:0}
.lp-sends pre{flex:1}
.lp-tag{font-size:13px;color:var(--muted);margin-bottom:8px}
.lp-anatomy pre{font:12.5px/1.7 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:var(--soft);
  border-radius:14px;padding:16px 18px;white-space:pre-wrap;overflow-wrap:anywhere}
.lp-anatomy pre mark{display:block;background:var(--blue-soft);color:inherit;border-radius:8px;margin:3px -8px;padding:3px 8px}
.lp-anatomy pre .dim{color:var(--muted)}
.lp-link{align-self:center;height:1px;background:var(--grey);margin-top:28px}
.lp-anatomy figcaption{color:var(--muted);padding:28px 0 0 40px}
.lp-points{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 32px}
.lp-points>li{border-top:1px solid var(--line);padding-top:16px}

/* coverage */
.lp-figures{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 32px}
.lp-figures>div{display:flex;flex-direction:column-reverse;justify-content:flex-end;border-top:1px solid var(--ink);padding-top:14px}
.lp-figures>div[hidden]{display:none}
.lp-figures dd{font:500 clamp(2.5rem,5.4vw,4.5rem)/1 var(--serif);letter-spacing:-.02em;white-space:nowrap}
.lp-figures dt{font-size:15px;line-height:1.4;color:var(--muted);margin-top:10px}
.lp-fresh{margin-top:18px;font-size:15px;color:var(--muted)}
.lp-spec{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 32px;margin-top:clamp(40px,4.6vw,64px)}
.lp-spec>div{border-top:1px solid var(--line);padding-top:16px}
.lp-spec dt{font:600 17px/1.3 var(--sans);margin-bottom:6px}
.lp-spec dd{font-size:15px;line-height:1.55;color:var(--muted)}

/* who built it */
.lp-credits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 32px}
.lp-credits>div{border-top:1px solid var(--ink);padding-top:14px}
.lp-credits dt{font-size:13px;color:var(--muted)}
.lp-credits .who{font:600 22px/1.2 var(--serif);margin:6px 0 8px}
.lp-credits dd p:last-child{font-size:15px;line-height:1.55;color:var(--muted)}

/* access and footer */
.lp-access .lp-head{margin-bottom:14px}
.lp-access .lp-text{max-width:31em;margin-bottom:26px}
.lp-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;font-size:15px}
.lp-foot{margin-top:clamp(76px,9.5vw,136px);border-top:1px solid var(--line);padding:22px 0 44px;
  font-size:13px;line-height:1.5;color:var(--muted);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 32px;align-items:baseline}
.lp-foot .brand{font-size:16px;color:var(--ink)}
.lp-foot .fine{grid-column:1/-1;max-width:60em}

@media (max-width:1000px){
  .lp-hero{grid-template-columns:minmax(0,1fr)}
  .lp-hero h1{font-size:clamp(2rem,calc(11.4vw - 4px),5.5rem)}  /* the longer line always fits: two lines down to 320 px */
  .lp-intro{justify-self:start;max-width:34em;padding-bottom:0}
  .lp-steps,.lp-credits,.lp-points,.lp-spec,.lp-figures{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lp-anatomy{grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr)}
  .lp-anatomy figcaption{grid-column:1/-1;padding:16px 0 0;max-width:44em}
}
@media (max-width:860px){  /* the figure reads top to bottom: what is sent, then what is built */
  .lp-anatomy{grid-template-columns:minmax(0,1fr)}
  .lp-sends,.lp-builds{max-width:460px}
  .lp-link{width:1px;height:28px;margin:0 0 0 28px}
  .lp-builds .lp-tag{margin-top:8px}
}
@media (max-width:700px){
  .lp-wrap{padding:0 16px}
  .lp-top nav{display:none}
  .lp-top .btn{margin-left:auto}
  .lp-steps,.lp-credits,.lp-points,.lp-spec{grid-template-columns:minmax(0,1fr)}
  .lp-steps{gap:28px}
  .lp-steps>li::before{margin-bottom:12px}
  .lp-foot{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:400px){.lp-anatomy pre{font-size:11.5px;padding:14px}}

/* one moment of motion: the example answer arrives and its percentile bars fill */
@media (prefers-reduced-motion:no-preference){
  .demo .q,.demo .ref,.demo .actions,.demo .grid .card,.demo .answer,.demo .source{animation:lp-arrive .55s cubic-bezier(.2,.7,.2,1) both}
  .demo .q{animation-delay:.15s}
  .demo .ref{animation-delay:.6s}
  .demo .actions{animation-delay:.8s}
  .demo .grid .card:nth-child(1){animation-delay:.9s}
  .demo .grid .card:nth-child(2){animation-delay:1s}
  .demo .grid .card:nth-child(3){animation-delay:1.1s}
  .demo .answer{animation-delay:1.35s}
  .demo .source{animation-delay:1.45s}
  .demo .ref .fill,.demo .grid .fill{transform-origin:left center;animation:lp-fill .9s cubic-bezier(.2,.7,.2,1) both;animation-delay:.9s}
  .demo .grid .card:nth-child(1) .fill{animation-delay:1.15s}
  .demo .grid .card:nth-child(2) .fill{animation-delay:1.25s}
  .demo .grid .card:nth-child(3) .fill{animation-delay:1.35s}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@keyframes lp-arrive{from{opacity:0;transform:translateY(8px)}}
@keyframes lp-fill{from{transform:scaleX(0)}}
