/* Portside holding page (tools/build_holding.py writes this file - edit it there) */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/newsreader-normal-400-700-opsz12-60-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/ibmplexsans-normal-400-700-latin.woff2) format("woff2"); }
:root { --bg: #FFFFFF; --surface-2: #F6F7F8; --text: #17181C; --text-soft: #363840; --muted: #646872;
  --border: #E5E7EB; --border-strong: #CFD3DA; --accent: #E0603F; --accent-text: #B6482B; --accent-wash: #FBEAE3;
  --navy: #14213D; --link: #B6482B;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); }
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap--text { max-width: calc(78ch + 48px); }
.pt { fill: var(--navy); } .pt-w { fill: var(--accent); } .dot { fill: var(--bg); }

.top { border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; letter-spacing: -.01em; line-height: 1; }
.pill { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text);
  border: 1px solid var(--accent); border-radius: 999px; padding: 6px 12px 5px; white-space: nowrap; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: center; padding: 80px 0 64px; }
.kicker { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text);
  margin: 0 0 14px; }
.kicker::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--accent);
  vertical-align: middle; margin: -2px 10px 0 0; }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.5rem, 6.2vw, 4.4rem); line-height: 1.04;
  letter-spacing: -.02em; margin: 0 0 22px; }
h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: 1.16rem; line-height: 1.6; color: var(--text-soft); max-width: 58ch; margin: 0; text-wrap: pretty; }
p, li { text-wrap: pretty; }
.hero__mark { width: 300px; height: 300px; opacity: .96; }

.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--text); }
.feat { padding: 24px 28px 26px 0; border-bottom: 1px solid var(--border); }
.feat h2 { display: flex; align-items: center; gap: 9px; font-family: var(--serif); font-weight: 600; font-size: 1.3rem;
  line-height: 1.25; margin: 0 0 6px; }
.feat h2 svg { width: 13px; height: 13px; fill: var(--accent); flex: none; }
.feat p { margin: 0; color: var(--text-soft); font-size: .97rem; }

.emails { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; margin: 56px 0 0; padding: 28px 30px;
  background: var(--surface-2); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; }
.emails h2, .contact h2 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1.2; margin: 0; }
.emails p { margin: 0 0 10px; color: var(--text-soft); }
.emails p:last-child { margin: 0; }
.contact { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 40px 30px 64px 33px; }
.contact p { margin: 0; font-size: 1.1rem; }
.contact a { font-weight: 600; }

.foot { border-top: 1px solid var(--border); color: var(--muted); font-size: .86rem; }
.foot .wrap { padding-top: 22px; padding-bottom: 34px; display: flex; flex-wrap: wrap; gap: 8px 28px;
  justify-content: space-between; }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot a { color: inherit; text-decoration-color: var(--border-strong); }
.foot a:hover { color: var(--text); }
.foot .advice { color: var(--text-soft); font-weight: 600; }

/* the legal pages (the site's own text, assets/legal/*.html) */
.back { display: inline-block; margin: 30px 0 18px; font-size: .9rem; text-decoration: none; }
.back:hover { text-decoration: underline; }
.legal { padding-bottom: 56px; }
.legal h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0; line-height: 1.15; }
.legal__kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 700; color: var(--accent-text); margin: 0 0 6px; }
.legal__meta { color: var(--muted); margin: 6px 0 22px; font-size: .9rem; }
.legal__notice { border-left: 3px solid var(--accent); background: var(--surface-2); padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 0 0 26px; }
.legal__notice p { margin: 0; line-height: 1.6; }
.legal__toc { border: 1px solid var(--border); border-radius: 8px; padding: 14px 18px 10px; margin: 0 0 30px; }
.legal__toc h2 { font-size: 1rem; margin: 0 0 8px; }
.legal__toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 28px; font-size: .9rem; line-height: 1.7; }
.legal__toc a { text-decoration: none; }
.legal__toc a:hover { text-decoration: underline; }
.legal section { scroll-margin-top: 20px; margin: 0 0 22px; }
.legal section h2 { font-family: var(--serif); font-size: 1.25rem; margin: 0 0 8px; padding-top: 10px; border-top: 1px solid var(--border); }
.legal section h3 { font-size: 1rem; margin: 14px 0 6px; }
.legal section p, .legal section li { line-height: 1.65; font-size: .95rem; }
.legal section p { margin: 0 0 10px; }
.legal section ul, .legal section ol { margin: 0 0 12px; padding-left: 1.3em; }
.legal section li { margin: 0 0 6px; }
.legal__end { color: var(--muted); font-size: .82rem; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 28px; }
.legal-scroll { overflow-x: auto; margin: 0 0 12px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin: 4px 0 12px; }
.legal-table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
  border-bottom: 1px solid var(--border-strong); padding: 6px 10px 6px 0; }
.legal-table td { border-bottom: 1px solid var(--border); padding: 7px 10px 7px 0; vertical-align: top; line-height: 1.5; }
.legal-table code { font-size: .8rem; white-space: nowrap; }
.legal-note { border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; margin: 4px 0 16px;
  background: var(--surface-2); font-size: .92rem; color: var(--text-soft); }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: 52px 0 44px; }
  .hero__mark { display: none; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .top .wrap { height: 58px; }
  .brand svg { width: 26px; height: 26px; } .brand span { font-size: 1.35rem; }
  .hero { padding: 40px 0 34px; }
  .lede { font-size: 1.06rem; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .feat { padding: 20px 0 22px; }
  .emails, .contact { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .emails { margin-top: 40px; padding: 22px 20px; }
  .contact { padding: 30px 0 48px; }
  .foot .wrap { flex-direction: column; }
  .legal__toc ol { columns: 1; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
