/* Double Beers: long-form pages (privacy, support). Adapted from the drafts' own styles, scoped to .doc. */
.doc-page { position: relative; isolation: isolate; }
.doc-page::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -68px; width: min(1300px, 100%); height: 620px; transform: translateX(-50%);
  background: radial-gradient(52% 64% at 50% 0%, rgba(245, 180, 60, .15), transparent 72%);
  pointer-events: none;
}
.doc-wrap { width: 100%; max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* The page head sits inside <main class="doc">, so it isn't a second banner landmark and Skip to content lands on the title. */
.page-head { padding: clamp(40px, 7vw, 72px) 0 22px; text-align: center; }
.page-head .eyebrow { justify-content: center; margin: 0; }
.page-head h1 { margin: 16px 0 10px; color: var(--cream-hi); font: 830 clamp(40px, 7vw, 64px)/1.02 var(--round); letter-spacing: -0.03em; }
.page-head .dek { max-width: 580px; margin: 0 auto; color: var(--muted); font-size: 19px; line-height: 1.5; }
.page-head .updated { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.tabs { display: inline-flex; gap: 4px; margin: 26px auto 0; padding: 4px; border-radius: 999px; background: rgba(235, 225, 205, .06); box-shadow: inset 0 0 0 1px var(--hair); }
.tabs a { padding: 9px 18px; border-radius: 999px; color: var(--muted); text-decoration: none; font: 650 15px/1 var(--round); }
.tabs a:hover { color: var(--cream-hi); }
.tabs a[aria-current="page"] { background: var(--gold); color: var(--ink); }

.doc { padding: 0 0 64px; }
.doc .card { margin: 22px 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.doc .card.summary, .doc .card.hero {
  border-color: rgba(245, 180, 60, .4);
  background: linear-gradient(180deg, rgba(245, 180, 60, .13), rgba(245, 180, 60, .04));
}
.doc .card.summary h2 { margin-top: 0; }
.doc .card.hero { text-align: center; }
.doc .card.hero p { margin: 6px 0; }
.doc .contact { text-align: center; }
.doc h2 {
  display: flex; align-items: center; gap: 12px; margin: 44px 0 12px; scroll-margin-top: 90px;
  color: var(--cream-hi); font: 760 25px/1.25 var(--round); letter-spacing: -0.01em;
}
.doc h2 .n {
  display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(245, 180, 60, .45); color: var(--gold); font-size: 13.5px; letter-spacing: 0;
}
.doc h2 .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(245, 180, 60, .7); }
.doc .contact h2 { justify-content: center; }
.doc h3 { margin: 24px 0 6px; color: var(--gold); font: 700 18px/1.3 var(--round); }
.doc p { margin: 10px 0; }
.doc ul, .doc ol { margin: 10px 0; padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--gold); }
.doc strong { color: var(--cream-hi); }
.doc .muted { color: var(--muted); }
.doc .toc { columns: 2 240px; column-gap: 28px; margin: 6px 0 0; padding-left: 1.2em; }
.doc .toc li { break-inside: avoid; margin: 4px 0; }
.doc table { width: 100%; margin: 12px 0; border-collapse: collapse; font-size: 15.5px; }
.doc th, .doc td { padding: 10px 12px; border-bottom: 1px solid rgba(235, 225, 205, .1); text-align: left; vertical-align: top; }
.doc th { color: var(--gold); font: 700 13px/1.2 var(--round); letter-spacing: .08em; text-transform: uppercase; }
.doc td:first-child { white-space: nowrap; color: var(--cream-hi); font-weight: 600; }
.doc .scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.doc .button { margin-top: 10px; max-width: 100%; white-space: normal; overflow-wrap: anywhere; line-height: 1.2; }

/* Support: jump links and the FAQ accordion. */
.doc .jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.doc .jump li { margin: 0; }
.doc .jump a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(235, 225, 205, .04); color: var(--cream); text-decoration: none; font: 600 15px/1 var(--round); }
.doc .jump a:hover { border-color: var(--gold); color: var(--gold); }
.doc details { margin: 10px 0; border: 1px solid rgba(235, 225, 205, .1); border-radius: 18px; background: var(--card); scroll-margin-top: 90px; transition: border-color .2s var(--ease); }
.doc details[open] { border-color: var(--line); }
.doc summary { position: relative; padding: 17px 52px 17px 20px; list-style: none; cursor: pointer; color: var(--cream-hi); font: 650 17.5px/1.35 var(--round); }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease);
}
.doc details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.doc summary:hover { color: #fff; }
/* Keyboard focus: a ring inside the card (nothing clips it), or around the whole card where :has() works. */
.doc summary:focus-visible { outline-offset: -3px; border-radius: 17px; }
@supports selector(:has(*)) {
  .doc details:has(> summary:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
  .doc details > summary:focus-visible { outline: none; }
}
.doc .a { padding: 0 20px 16px; color: var(--cream); }
.doc .a p { margin: 8px 0; }
.doc .a ul { margin: 8px 0; }
.doc .a li { margin: 5px 0; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .doc .card { padding: 18px; border-radius: 18px; }
  .doc td:first-child { white-space: normal; }
  .doc summary { padding: 15px 44px 15px 16px; font-size: 16.5px; }
  .doc summary::after { right: 18px; }
  .doc .a { padding: 0 16px 14px; }
  .doc h2 { font-size: 22px; }
}
