/* S3 Sensitivity Science — resources subdomain.
   Palette, typography and house rules from progetti/s3-creative/visual.md (source of truth).
   Structure matched to the live Journal page, read 2026-09-10. */

:root{
  --ash:#6E7884;          /* body copy, structure */
  --ash-2:#9198A1;        /* secondary text */
  --offwhite:#F4F7FF;     /* PRIMARY background. Never pure white. */
  --palegrey:#DFEAF1;     /* secondary background / chips */
  --white:#FFFFFF;
  --teal:#2DCDB6;         /* CALM  — calm content only */
  --violet:#B28AFF;       /* STRENGTHEN */
  --blue:#58C2F6;         /* PROTECT */
  --rule:#E3E9F3;
  --col:640px;            /* text column */
  --wide:1100px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--offwhite);color:var(--ash);
  font-family:'Circular','Circular Std',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
  font-weight:400;font-size:18px;line-height:1.62;
  -webkit-font-smoothing:antialiased;
}
@font-face{font-family:'Circular';src:url('https://cdn.shopify.com/s/files/1/0613/4140/1185/files/DEV-Circular-Light.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Circular';src:url('https://cdn.shopify.com/s/files/1/0613/4140/1185/files/DEV-Circular-Book.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Decimal';src:url('https://cdn.shopify.com/s/files/1/0613/4140/1185/files/DEV-Decimal-Book.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Decimal';src:url('https://cdn.shopify.com/s/files/1/0613/4140/1185/files/DEV-Decimal-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}

.deci{font-family:'Decimal','Circular',sans-serif;text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:500}

/* header */
.site-head{position:sticky;top:0;z-index:20;background:rgba(244,247,255,.92);backdrop-filter:saturate(140%) blur(8px);border-bottom:1px solid var(--rule)}
.site-head .in{max-width:var(--wide);margin:0 auto;padding:14px 24px;display:flex;align-items:center;gap:28px}
.logo{font-family:'Decimal','Circular',sans-serif;font-weight:500;font-size:26px;letter-spacing:-.02em;color:var(--ash);text-decoration:none}
.site-head nav a{color:var(--ash);text-decoration:none;margin-right:22px}
.site-head nav a:hover{color:#4c5563}
.spacer{flex:1}

/* article */
main{max-width:var(--wide);margin:0 auto;padding:0 24px}
.wrap{max-width:var(--col);margin:0 auto}
.pill{display:inline-flex;align-items:center;gap:8px;background:var(--palegrey);border-radius:999px;padding:7px 16px;color:var(--ash);margin:56px 0 26px}
.pill i{width:7px;height:7px;border-radius:50%;background:var(--teal);display:block}
.pill.strengthen i{background:var(--violet)} .pill.protect i{background:var(--blue)}
h1{font-weight:400;font-size:46px;line-height:1.14;letter-spacing:-.015em;margin:0 0 22px;color:var(--ash)}
.deck{font-size:20px;line-height:1.55;color:var(--ash-2);margin:0 0 32px}
.byline{display:flex;flex-wrap:wrap;gap:34px;padding:22px 0 0;border-top:1px solid var(--rule);margin-bottom:54px}
.byline div{display:flex;flex-direction:column;gap:4px}
.byline .k{color:var(--ash-2)}
.byline .v{font-size:15px}

h2{font-weight:400;font-size:31px;line-height:1.24;letter-spacing:-.01em;margin:56px 0 18px;color:var(--ash)}
h3{font-weight:500;font-size:20px;line-height:1.35;margin:34px 0 10px;color:var(--ash)}
p{margin:0 0 20px}
a{color:var(--ash);text-decoration:underline;text-underline-offset:3px;text-decoration-color:#c3ccd8}
a:hover{text-decoration-color:var(--teal)}
strong{font-weight:500;color:#5c6673}
ul,ol{margin:0 0 20px;padding-left:22px}
li{margin-bottom:10px}

/* superscript citation markers */
sup.cite a{font-size:11px;color:var(--teal);text-decoration:none;padding-left:1px}
sup.cite a:hover{text-decoration:underline}

/* key points */
.keypoints{background:var(--white);border:1px solid var(--rule);border-radius:18px;padding:28px 30px 8px;margin:0 0 44px}
.keypoints .deci{color:var(--ash-2);display:block;margin-bottom:14px}
.keypoints ul{padding-left:20px;margin-bottom:20px}
.keypoints li{font-size:17px}

/* tables scroll on their own, never the page */
.tw{overflow-x:auto;margin:0 0 26px;border:1px solid var(--rule);border-radius:14px;background:var(--white)}
table{border-collapse:collapse;width:100%;font-size:15px;min-width:560px}
th,td{text-align:left;padding:13px 16px;border-bottom:1px solid var(--rule);vertical-align:top}
th{font-family:'Decimal','Circular',sans-serif;text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:500;color:var(--ash-2);background:var(--offwhite)}
tr:last-child td{border-bottom:none}

/* verdict box */
.verdict{background:linear-gradient(180deg,#EAF9F6 0%,var(--offwhite) 100%);border:1px solid #CFEDE7;border-radius:18px;padding:26px 30px;margin:48px 0}
.verdict h3{margin-top:0}

/* entity */
.entity{border-top:1px solid var(--rule);padding-top:26px;margin-top:48px;font-size:16px;color:var(--ash-2)}

/* references */
.refs{border-top:1px solid var(--rule);margin-top:56px;padding-top:30px}
.refs h2{font-size:22px;margin:0 0 22px;display:flex;align-items:baseline;gap:14px}
.refs h2 span{color:var(--ash-2)}
.ref{display:flex;gap:14px;margin-bottom:16px;font-size:15px;line-height:1.55}
.ref .n{flex:0 0 26px;height:26px;border-radius:50%;border:1px solid #CFEDE7;color:var(--teal);display:flex;align-items:center;justify-content:center;font-size:12px;font-family:'Decimal','Circular',sans-serif}
.ref em{font-style:italic}
.ref .note{color:var(--ash-2)}

/* CTA */
.cta{background:var(--white);border:1px solid var(--rule);border-radius:18px;padding:28px 30px;margin:52px 0;display:flex;gap:22px;align-items:center;flex-wrap:wrap}
.cta p{margin:0;flex:1;min-width:240px}
.cta a.btn{background:var(--ash);color:var(--offwhite);text-decoration:none;border-radius:999px;padding:13px 26px;font-size:15px;white-space:nowrap}
.cta a.btn:hover{background:#5c6673}

footer{background:var(--offwhite);border-top:1px solid var(--rule);margin-top:80px;padding:52px 24px 70px}
footer .in{max-width:var(--wide);margin:0 auto;display:flex;gap:56px;flex-wrap:wrap}
footer .col{min-width:190px}
footer h4{font-weight:500;font-size:17px;margin:0 0 14px;color:var(--ash)}
footer a{display:block;text-decoration:none;color:var(--ash-2);margin-bottom:9px}
footer a:hover{color:var(--ash)}
footer .small{color:var(--ash-2);font-size:14px;max-width:420px}

@media (max-width:760px){
  h1{font-size:34px} h2{font-size:26px} body{font-size:17px}
  .pill{margin-top:34px} .byline{gap:22px}
}

/* what was checked — the method strip under the byline */
.method{font-size:15px;color:var(--ash-2);background:var(--white);border:1px solid var(--rule);
        border-radius:14px;padding:16px 20px;margin:-30px 0 44px}
.method .deci{display:block;color:var(--ash-2);margin-bottom:6px}
