/* ------------------------------------------------------------------
   Prioquity — ported 1:1 from the principal's Claude Design exports
   (prioquity-landing.html + llm-weather-channel.html).
   Palette                     Type
   ink       #292b31           UI + headline-1: Inter 400/500/600/700
   ink soft  #3f424d           headline-2 / laws: Georgia italic
   muted     #75798c           handwriting: Caveat 600
   hairline  #e1e4ef           records: IBM Plex Mono
   surface   #fcfdff
   ground    #f7f8fc
   accent    #5d5294  (light #b5abfc · mid #968ae0 · dark #423a6a)
   seal      #d2cefd
   badge     #b8e8b0
   map wash  #2ecc40 → #b8e8b0 → #f7c3dc → #ff4fa8 at 50%
   ------------------------------------------------------------------ */
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0;background:#f7f8fc;color:#292b31;font-family:Inter,system-ui,sans-serif;font-size:15px;line-height:1.55}
a{color:#5d5294;text-decoration:none}
a:hover{color:#423a6a}
.wrap{max-width:1060px;margin:0 auto;padding:0 22px}
section{padding:64px 0}

/* nav — wordmark per the landing spec */
nav{position:sticky;top:0;z-index:50;background:color-mix(in srgb,#f7f8fc 88%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid #e1e4ef}
nav .wrap{display:flex;align-items:center;gap:26px;height:58px}
.wordmark{font-size:15px;font-weight:600;letter-spacing:.28em;text-transform:uppercase;color:#292b31}
.wordmark span{color:#5d5294}
nav a.lnk{font-size:13px;font-weight:500;color:#75798c;margin-left:auto}
nav a.lnk ~ a.lnk{margin-left:0}
nav a.lnk:hover{color:#292b31}

/* ------------------------------------------------------------- HERO
   The principal's locked composition, verbatim: the .hero box has a
   fixed aspect ratio; every dimension inside is in cqw (1% of the
   hero's own width), so headline, seal and handwriting keep the same
   relationship at any window size. */
#hero{padding:0}
#hero .stage{position:relative;overflow:hidden;max-width:1060px;margin:0 auto;padding:64px 22px 20px;container-type:inline-size}
.hero{position:relative;width:100%;aspect-ratio:100/47.5;margin:0 auto;container-type:inline-size}
.seal,.seal-text{position:absolute;left:63.4%;top:10.1cqw;width:36.6%;aspect-ratio:1}
.seal{z-index:0}
.seal svg{width:100%;height:100%;display:block}
.seal-text{z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;
  font-family:Caveat,cursive;font-size:4.17cqw;font-weight:600;line-height:1.05;text-align:center;color:#292b31;
  transform:rotate(10deg);pointer-events:none;white-space:nowrap}
.headline{position:absolute;left:0;top:27.6cqw;z-index:1}
.headline-1{font-size:6.48cqw;font-weight:700;line-height:.95;letter-spacing:-.035em;text-transform:uppercase;white-space:nowrap;color:#292b31;transform:scaleX(.94);transform-origin:left center}
.headline-2{font-size:8.16cqw;font-family:Georgia,"Times New Roman",serif;font-style:italic;font-weight:400;line-height:1.08;text-transform:uppercase;white-space:nowrap;margin-top:.7cqw;color:#3f424d}

/* section headline device = the hero device at section scale */
.kick{font-size:11px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:#5d5294;margin-bottom:16px}
:is(h1.page-title,h2){margin:0 0 14px}
:is(h1.page-title,h2) .h1x{display:block;font-size:clamp(26px,3.6vw,40px);font-weight:700;line-height:1;letter-spacing:-.035em;text-transform:uppercase;transform:scaleX(.94);transform-origin:left center}
:is(h1.page-title,h2) .h2x{display:block;font-size:clamp(30px,4.2vw,48px);font-family:Georgia,"Times New Roman",serif;font-style:italic;font-weight:400;line-height:1.12;text-transform:uppercase;color:#3f424d}
.lede{color:#75798c;font-size:15.5px;line-height:1.75;max-width:640px;text-wrap:pretty}
.lede b{color:#292b31;font-weight:500}

/* cards — weather-channel card spec */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-top:36px}
@media(max-width:860px){.cards{grid-template-columns:1fr}}
.card{background:#fcfdff;border-radius:8px;box-shadow:0 0 0 1px #e1e4ef;padding:20px 18px;display:flex;flex-direction:column;gap:6px}
.card .k{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#5d5294}
.card :is(h2,h3){margin:2px 0 2px;font-size:17px;font-weight:600;letter-spacing:-.01em}
.card p{margin:0;font-size:14px;color:#75798c;line-height:1.6}
.card .law{margin-top:auto;padding-top:10px;font-family:Georgia,serif;font-style:italic;font-size:15.5px;color:#3f424d}

/* pull quotes */
.pull{font-family:Georgia,serif;font-style:italic;font-size:clamp(20px,2.6vw,27px);line-height:1.35;max-width:740px;margin:52px auto 0;text-align:center;color:#3f424d}
.pull b{font-weight:400;font-style:italic}

/* pre-seller */
.ps-lead{font-size:clamp(19px,2vw,23px);font-weight:600;letter-spacing:-.01em;color:#292b31;margin:0 0 14px}
.preseller{font-size:16.5px;line-height:1.75;color:#3f424d;max-width:640px;text-wrap:pretty;margin:0}
.preseller + .preseller{margin-top:16px}

/* the three fates — one correction, shown clean */
.fates{background:#fcfdff;border-radius:8px;box-shadow:0 0 0 1px #e1e4ef;padding:6px 22px;margin-top:36px;max-width:820px}
.fate{display:grid;grid-template-columns:96px 1fr;gap:16px;padding:16px 0;border-top:1px solid #e1e4ef;align-items:baseline}
.fate:first-child{border-top:0}
.fate .tag{font-size:10.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.fate.said .tag{color:#75798c}.fate.drift .tag{color:#ff4fa8}.fate.gov .tag{color:#2ecc40}
.fate p{margin:0;font-size:14.5px;line-height:1.65;color:#292b31}
.fate p .q{color:#3f424d;font-family:Georgia,serif;font-style:italic}
.fate p small{display:block;margin-top:3px;font-size:12.5px;color:#75798c}
.fates .note{padding:12px 0 14px;font-family:Caveat,cursive;font-weight:600;font-size:26px;color:#5d5294}

/* rungs */
.rungs{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-top:36px;counter-reset:r}
@media(max-width:960px){.rungs{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.rungs{grid-template-columns:1fr}}
.rung{background:#fcfdff;border-radius:8px;box-shadow:0 0 0 1px #e1e4ef;padding:18px 16px;position:relative}
.rung::before{counter-increment:r;content:"0" counter(r);position:absolute;top:12px;right:14px;font-size:24px;font-weight:700;color:#e1e4ef;letter-spacing:-.03em}
.rung :is(h2,h3){margin:0;font-size:15.5px;font-weight:600}
.rung .m{display:block;font:500 11px 'IBM Plex Mono',monospace;color:#75798c;margin:2px 0 8px}
.rung p{margin:0;font-size:13.5px;color:#75798c;line-height:1.6}
.buynote{margin-top:24px;font-size:14.5px;color:#75798c;max-width:640px}
.buynote b{color:#292b31;font-weight:500}

/* station — masthead per the weather-channel spec */
#station{background:#fcfdff;border-top:1px solid #e1e4ef;border-bottom:1px solid #e1e4ef}
.masthead{display:flex;gap:17px;align-items:flex-start;margin-bottom:8px}
.masthead .mh{font-size:clamp(30px,4.4vw,44px);font-weight:400;line-height:1.08;letter-spacing:-.01em;text-transform:uppercase;margin:0}
.masthead .mh .llm{font-weight:600;color:#5d5294;letter-spacing:.02em}
.masthead .mh .rest{color:#75798c}
.badge{margin-left:auto;align-self:flex-start;display:inline-flex;align-items:center;padding:3px 10px;border-radius:6px;background:#b8e8b0;color:#292b31;font-size:11px;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}
.intro{display:flex;flex-direction:column;gap:17px;margin-top:22px;max-width:720px}
.intro p{margin:0;font-size:15.5px;line-height:1.75;text-wrap:pretty}
.intro .muted{color:#75798c}
.chips{display:flex;gap:6px;flex-wrap:wrap;margin:22px 0 0}
.chip{display:inline-flex;align-items:center;padding:3px 10px;border-radius:6px;font-size:11px;letter-spacing:.08em;border:1px solid #5d5294;color:#5d5294;text-transform:uppercase}
.chip.selected{background:#423a6a;border-color:#423a6a;color:#f5f4ff}
#station-live{margin-top:22px}
.preview{margin:22px 0 0;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#75798c}
.footnote{margin-top:22px;padding-top:11px;border-top:1px solid rgba(41,43,49,.14);font-size:12.5px;color:#75798c;text-wrap:pretty;max-width:720px}


/* station live block — weather-channel spec verbatim */
.gauges{display:grid;grid-template-columns:repeat(5,1fr);gap:11px;margin:11px 0}
@media(max-width:900px){.gauges{grid-template-columns:repeat(2,1fr)}}
.gauge{align-items:center;text-align:center;padding:17px 11px 11px}
.gauge svg{width:100%;max-width:150px;display:block;margin:0 auto}
.gauge .value{font-size:24px;font-weight:500;font-variant-numeric:tabular-nums;color:#5d5294}
.gauge .value small{font-size:12px;font-weight:400;color:#75798c}
.gauge .name{font-size:13px;font-weight:500;line-height:1.2}
.gauge .note{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#75798c}
.map{padding:22px}
.map h2, .map .maph{font-size:20px;font-weight:500;margin:0;text-transform:uppercase;letter-spacing:-.01em;color:#5d5294}
.map .sub{font-size:13px;color:#75798c;margin-bottom:11px;text-wrap:pretty}
.map svg{width:100%;display:block}
.legend{display:flex;gap:22px;flex-wrap:wrap;margin-top:8px}
.legend span{display:flex;align-items:center;gap:6px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#75798c}
.dot{width:8px;height:8px;border-radius:50%;display:inline-block;background:#292b31}
.dot.selected{background:#5d5294;box-shadow:0 0 0 2.5px #fcfdff,0 0 0 3.5px #968ae0}
.bar{width:22px;border-top:1.25px solid #9397ab;display:inline-block}

/* contact */
#contact .proof{font-family:Georgia,serif;font-style:italic;font-size:clamp(20px,2.7vw,26px);max-width:720px;margin:0 0 30px;color:#3f424d}
#contact .proof b{font-weight:400}
.mail{display:inline-block;font-size:clamp(19px,2.6vw,26px);font-weight:600;letter-spacing:-.01em;color:#292b31;border-bottom:3px solid #d2cefd}
.mail:hover{color:#5d5294}
#contact .three{margin-top:24px;font-size:14.5px;color:#75798c;max-width:620px}
#contact .three b{color:#292b31;font-weight:500}

/* footer */
footer{border-top:1px solid #e1e4ef;padding:30px 0 40px;font-size:12.5px;color:#75798c}
footer .research{margin-bottom:8px}
footer .research a{font-weight:500}
footer .tag{font-family:Georgia,serif;font-style:italic}

/* nav — single source of truth, all states pinned */
.nl{font-size:11.5px;font-weight:600;letter-spacing:.14em;color:#75798c;text-decoration:none}
.nl:link,.nl:visited{color:#75798c}
.nl:hover{color:#292b31}
.nl-on,.nl-on:link,.nl-on:visited{color:#292b31}
.nl-dot{color:#cfd3e5;font-size:11px;user-select:none}
.nl-first{margin-left:auto}
.wm{font-size:15px;font-weight:600;letter-spacing:.28em;text-transform:uppercase;color:#292b31;text-decoration:none}
.wm:link,.wm:visited{color:#292b31}
.wm span{color:#5d5294}

html{overflow-y:scroll}
