/* Layout: monochrome masthead built around the PL mark, then a ledger of the three lines of business; one gold accent, used sparingly. */
:root {
  --paper: #f6f6f3;
  --surface: #ffffff;
  --ink: #121212;
  --muted: #5d5d57;
  --line: #d9d9d2;
  --accent: #9a6f1e;
  --accent-soft: #f1e8d5;
  --logo-filter: none;
  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121211; --surface: #1a1a18; --ink: #f1f1ec; --muted: #a3a39b; --line: #31312d;
    --accent: #d8ab55; --accent-soft: #2b2416; --logo-filter: invert(1); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121211; --surface: #1a1a18; --ink: #f1f1ec; --muted: #a3a39b; --line: #31312d;
  --accent: #d8ab55; --accent-soft: #2b2416; --logo-filter: invert(1); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
img.logo { filter: var(--logo-filter); display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* Top bar */
.bar { border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.home { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.home img { width: 34px; height: auto; }
nav.main { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15px; font-weight: 500; }
nav.main a { text-decoration: none; color: var(--muted); }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--ink); }

/* Masthead */
.masthead .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding-block: 72px 64px; }
.masthead .mark { width: 100%; max-width: 420px; height: auto; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.01em; margin: 0; text-transform: uppercase; text-wrap: balance; }
h1 .sub { display: block; font-weight: 600; font-size: 0.42em; letter-spacing: 0.42em; margin-top: 10px; }
.lede { font-size: 20px; line-height: 1.5; margin: 0; max-width: 34ch; text-wrap: pretty; }
.masthead .copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.storefronts { display: flex; flex-wrap: wrap; gap: 8px; }
.storefronts span { font-size: 13px; font-weight: 600; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px 12px; }

/* Sections */
section.block { border-top: 1px solid var(--line); }
section.block > .wrap { padding-block: 64px; display: flex; flex-direction: column; gap: 28px; }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; margin: 0; text-transform: uppercase; letter-spacing: 0.01em; text-wrap: balance; }
h3 { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.2; margin: 0; }
p { margin: 0; max-width: 64ch; }
.muted { color: var(--muted); }

/* Ledger of lines of business */
.ledger { display: flex; flex-direction: column; }
.line { display: grid; grid-template-columns: 220px minmax(0, 1fr) 220px; gap: 32px; padding-block: 28px; border-top: 2px solid var(--ink); }
.line:last-child { border-bottom: 2px solid var(--ink); }
.line .where { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }
.line .what { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.items li:last-child { border-bottom: 0; padding-bottom: 0; }
.items b { font-weight: 700; }
.tag { font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 4px; padding: 1px 8px; white-space: nowrap; }
.line .go { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 15px; padding-top: 4px; }

/* About + contact */
section.block > .wrap.split { display: grid; flex-direction: initial; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.split > div { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card { background: var(--surface); border: 2px solid var(--ink); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; flex-direction: column; gap: 2px; }
.k { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.v { font-weight: 600; font-size: 18px; overflow-wrap: anywhere; }
.copybtn { align-self: flex-start; font: 600 14px var(--body); color: var(--paper); background: var(--ink); border: 0; border-radius: 4px; padding: 7px 14px; cursor: pointer; }
.copybtn:hover { background: var(--accent); }

footer.site { border-top: 1px solid var(--line); }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-block: 28px 36px; font-size: 14px; color: var(--muted); }
footer.site nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* Document pages (support, privacy) */
.doc .wrap { padding-block: 48px 72px; display: flex; flex-direction: column; gap: 40px; }
.doc header.top { display: flex; flex-direction: column; gap: 14px; }
.doc h1 { font-size: clamp(32px, 5vw, 50px); text-transform: none; }
.doc section { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 24px; }
.doc h2 { font-size: 26px; }
.doc ul, .doc ol { margin: 0; padding-left: 22px; max-width: 66ch; display: flex; flex-direction: column; gap: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; font-weight: 600; }
.effective { font-size: 14px; color: var(--muted); }
details { border-top: 1px solid var(--line); padding-block: 14px; max-width: 72ch; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 800; }
details[open] summary::after { content: "\2212"; }
details p { margin-top: 10px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); max-width: 100%; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

@media (max-width: 860px) {
  .masthead .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 44px; }
  .masthead .mark { max-width: 240px; }
  .line { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  section.block > .wrap.split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .card .v { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
