/* Text of the legal, help, share and transfer pages (web v1.18.0). The shell, colours, font
   and theme come from styles.css, which these pages load first. */

.legal-shell { padding-top: 12px; }
.nav-row { display: flex; height: 44px; align-items: center; }
.back-button { color: var(--acc-ink); font-size: 15px; font-weight: 600; text-decoration: none; }

.legal-shell .eyebrow { margin: 6px 0 2px; text-transform: capitalize; }
.legal-shell h1 { margin: 0 0 6px; font-size: 34px; font-weight: 700; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.legal-shell h2 { margin: 30px 0 8px; font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.legal-shell h3 { margin: 16px 0 4px; font-size: 16px; font-weight: 600; }
.legal-shell p { margin: 0 0 12px; font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.legal-shell ul { margin: 0 0 12px; padding: 0; list-style: none; }
.legal-shell li { position: relative; margin: 0 0 8px; padding-left: 16px; font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.legal-shell li::before { position: absolute; left: 0; color: var(--sub); content: "•"; }
.legal-shell code { font-size: .92em; }
.legal-shell .updated { margin: 0 0 12px; color: var(--sub); font-size: 14px; }
.legal-shell .updated:empty { display: none; }
.legal-shell .lead { margin: 0 0 6px; font-size: 19px; line-height: 1.45; letter-spacing: -.01em; }
.legal-card > h2:first-child { margin-top: 30px; }

.callout { margin: 10px 0 14px; padding: 14px 16px; border: 1px solid var(--acc); border-radius: 16px; background: var(--accbg); }
.callout p { margin: 0; font-size: 15px; line-height: 1.5; }
.callout.warning { border-color: rgba(229, 72, 77, .5); background: rgba(229, 72, 77, .1); }
.definition-list { margin: 0; }
.definition-list dt { margin: 16px 0 2px; font-size: 16px; font-weight: 600; }
.definition-list dd { margin: 0 0 6px; color: var(--sub); font-size: 15px; line-height: 1.55; text-wrap: pretty; }

.legal-actions { display: grid; gap: 8px; margin: 8px 0; }
.button { display: flex; min-height: 50px; align-items: center; justify-content: center; margin: 8px 0; padding: 0 20px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; font-size: 17px; font-weight: 600; text-decoration: none; transition: transform .16s var(--ease); }
.legal-actions .button { margin: 0; }
.button:active { transform: scale(.97); }
.button.primary { background: var(--acc); color: var(--on-acc); }
.button.danger { color: var(--danger); }
.button:disabled { cursor: not-allowed; opacity: .5; }
.legal-shell label { display: block; margin: 14px 0 4px; font-size: 15px; font-weight: 600; }
.confirmation { display: block; width: 100%; height: 44px; margin: 4px 0 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font-size: 16px; }
.confirmation:focus { outline: 2px solid var(--tint); outline-offset: 0; }
.status { min-height: 0; margin: 6px 0 0; color: var(--sub); font-size: 13px; }
.status:empty { display: none; }
.status.error { color: var(--danger); }
.support-address { display: inline-block; margin: 4px 0 12px; color: var(--acc-ink); font-size: 22px; font-weight: 600; overflow-wrap: anywhere; text-decoration: none; }

.legal-footer { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; padding-top: 16px; border-top: .5px solid var(--sep); font-size: 14px; }
.legal-footer a { color: var(--acc-ink); text-decoration: none; }

/* Share viewer and transfer page: brand header, no navigation */
.standalone-body { min-height: 100vh; padding: 0 18px 40px; }
.standalone-header { display: flex; max-width: 960px; height: 56px; margin: 0 auto; align-items: center; border-bottom: 1px solid var(--line); }
.standalone-header a { color: var(--acc-ink); font-size: 19px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.standalone { max-width: 960px; margin: 0 auto; }
.standalone .eyebrow { margin: 14px 0 2px; text-transform: none; }
.standalone h1 { margin: 0 0 4px; }
.standalone .updated { margin: 0 0 16px; }
.surface-card { padding: 6px 18px 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.surface-card .callout { margin-top: 12px; }
.share-turn { display: block; margin: 0; padding: 12px 0; border-bottom: .5px solid var(--sep); font-size: 16px; line-height: 1.5; }
.share-turn b { display: block; color: var(--acc-ink); font-size: 13px; }
#shareDownload { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
#shareDownload.hidden { display: none; }
#shareDownload .button { min-height: 38px; margin: 0; padding: 0 16px; border-radius: 99px; font-size: 15px; }
#shareDownload .button.primary { padding: 0 18px; }
.standalone .legal-footer { gap: 18px; margin-top: 20px; padding-top: 0; border-top: 0; }
.transfer-card { padding: 18px; }
.transfer-card > #transferStatus { margin: 0 0 12px; font-size: 19px; line-height: 1.4; letter-spacing: -.01em; }
.transfer-summary { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--fill); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; line-height: 1.6; white-space: pre-wrap; }
.transfer-card .legal-actions { margin: 0; }
.transfer-card .legal-actions .button { min-height: 50px; margin-top: 14px; }
.transfer-card > p:last-child { margin: 14px 0 0; color: var(--sub); font-size: 14px; line-height: 1.5; }
