/* ASAP Consulting - legal pages and the 404 page. Colours come only from base.css. */

.legal-head{padding:calc(var(--nav-h) + clamp(48px,7vw,88px)) 0 0}
.legal-head h1{font-size:clamp(2.1rem,5vw,3.3rem);line-height:1.04;letter-spacing:-.022em}
.updated{font-family:var(--mono);font-size:12.5px;letter-spacing:.04em;color:var(--grey-dark);margin-top:20px}
.legal{padding:8px 0 clamp(64px,9vw,110px);max-width:74ch}
.legal .lede{font-family:var(--display);font-size:clamp(1.04rem,2vw,1.2rem);font-weight:450;color:var(--grey-dark);
  margin:26px 0 8px;line-height:1.55}
.legal h2{font-size:clamp(1.3rem,2.6vw,1.62rem);line-height:1.22;letter-spacing:-.01em;margin:48px 0 14px}
.legal h3{font-size:1.06rem;margin:28px 0 8px}
.legal ul{margin:0 0 1.1em;padding-left:0;list-style:none}
.legal li{position:relative;padding-left:22px;margin-bottom:9px}
.legal li::before{content:"";position:absolute;left:0;top:13px;width:9px;height:2px;background:var(--red)}
.legal a{color:var(--red);text-underline-offset:3px}
.legal a:hover{color:var(--ink)}
.legal table{width:100%;border-collapse:collapse;margin:0 0 1.4em;font-size:15.5px;table-layout:fixed}
/* Long e-mail addresses and cookie names would otherwise push the table
   wider than a phone screen and make the page scroll sideways. */
.legal th,.legal td{text-align:left;vertical-align:top;padding:11px 14px;border-bottom:1px solid var(--grey-light);overflow-wrap:anywhere}
.legal th{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;
  color:var(--grey-dark);border-bottom-color:var(--grey-dark)}
.legal table.details th{width:36%;font-family:var(--mono);text-transform:none;letter-spacing:.02em;font-size:13px;
  border-bottom-color:var(--grey-light)}
.legal table.cookies th:nth-child(1),.legal table.cookies td:nth-child(1){width:24%}
.legal table.cookies th:nth-child(2),.legal table.cookies td:nth-child(2){width:18%}
.legal table.cookies th:nth-child(3),.legal table.cookies td:nth-child(3){width:40%}
.legal table.cookies th:nth-child(4),.legal table.cookies td:nth-child(4){width:18%}
.legal table.data th:nth-child(1),.legal table.data td:nth-child(1){width:28%}
.legal table.data th:nth-child(2),.legal table.data td:nth-child(2){width:26%}
.legal table.data th:nth-child(3),.legal table.data td:nth-child(3){width:46%}
@media(max-width:620px){
  .legal table.cookies th,.legal table.cookies td,
  .legal table.data th,.legal table.data td{width:auto}
  .legal table{font-size:14.5px}
  .legal th,.legal td{padding:10px 8px}
  .legal table.details th{width:40%}
}
.callout{border:1px solid var(--grey-light);border-left:3px solid var(--red);border-radius:3px;
  padding:20px 22px;margin:0 0 1.3em;background:var(--paper)}
.callout p{font-size:16px}

/* ---------- 404 ---------- */
.nf{padding:calc(var(--nav-h) + clamp(56px,9vw,120px)) 0 clamp(72px,10vw,130px)}
.nf-code{font-family:var(--mono);font-size:13px;letter-spacing:.14em;color:var(--red);margin:0 0 18px}
.nf h1{font-size:clamp(2.2rem,6vw,4rem);line-height:1.03;letter-spacing:-.025em;margin-bottom:22px}
.nf p{max-width:52ch;color:var(--grey-dark)}
.nf-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.nf-alt{margin-top:56px;padding-top:28px;border-top:1px solid var(--grey-light)}
.nf-alt h2{font-size:1.3rem;margin-bottom:10px}
@media(max-width:520px){.nf-actions .btn{flex:1 1 100%}}
.legal .linklike{background:none;border:0;padding:0;font:inherit;color:var(--red);text-decoration:underline;
  text-underline-offset:3px;cursor:pointer}
.legal .linklike:hover{color:var(--ink)}
