/* Shared public-site identity: calm hierarchy, compact copy, geology-first navigation. */
.public-page { --max: 1200px; }
.public-page [hidden] { display: none !important; }
.public-page .brand .label { display: none; }
.public-page .nav .links { gap: 20px; }
.public-page .nav a[aria-current="page"] { color: var(--accent); }
.public-page .btn.primary { background: var(--accent); color: #101a20; border-color: var(--accent); }
.public-page .btn.primary:hover { background: #8de0cb; }
.public-page .btn { min-height: 42px; }
.public-page:not(.geology-home) > .hero,
.public-page:not(.geology-home) > section:first-of-type { padding-top: 64px; }
.public-page:not(.geology-home) h1 { font-size: clamp(32px,4vw,48px) !important; font-weight: 550; letter-spacing: -.05em; line-height: 1.18; max-width: 940px; margin: 14px 0 22px; }
.public-page:not(.geology-home) h2 { font-size: clamp(24px,3vw,30px); font-weight: 500; letter-spacing: -.035em; line-height: 1.3; }
.public-page .lead { color: var(--muted); font-size: 14px; line-height: 1.85; max-width: 780px; }
.public-page .doc { max-width: 900px; }
.public-page .doc > p, .public-page .doc > ul, .public-page .doc > ol { font-size: 13px; line-height: 1.9; color: var(--body); }
.public-page .doc h2 { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); }
.public-page .doc h3 { font-size: 15px; margin-top: 24px; line-height: 1.5; }
.public-page .doc table { font-size: 12px; }
.public-page .doc th,.public-page .doc td { padding: 12px; }
.public-page .toc { background: var(--panel); border: 1px solid var(--line); padding: 18px; border-radius: 8px; gap: 10px 20px; font-size: 11px; }
.public-page .toc a { line-height: 1.8; }
.public-page .plan,.public-page .checkout,.public-page .card { border-radius: 10px; padding: 24px; }
.public-page .plan.hi { background: linear-gradient(145deg,#1c302e,var(--panel) 50%); box-shadow: none; }
.public-page .plan li { font-size: 12px; line-height: 1.8; margin: 9px 0; }
.public-page .card p,.public-page .flow .step { font-size: 12px; line-height: 1.85; }
.public-page .card h3 { font-size: 16px; line-height: 1.5; }
.public-page .flow .step { padding-left: 52px; }
.public-page .faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 7px; padding: 16px 20px; margin: 10px 0; }
.public-page .faq summary { font-size: 13px; line-height: 1.7; }
.public-page .faq p { font-size: 12px; line-height: 1.9; }
.public-page .addon .bl { font-size: 12px; line-height: 1.75; }
.public-page .checkout h3 { font-size: 18px; line-height: 1.4; }
.public-page footer { margin-top: 20px; }
.public-page .skip-link { position: absolute; left: 16px; top: -80px; z-index: 50; background: var(--panel); padding: 12px; }
.public-page .skip-link:focus { top: 12px; }
.public-page section[id],.public-page aside[id] { scroll-margin-top: 85px; }
@media(max-width:1050px) { .public-page .nav .links { gap:12px; }.public-page .nav a.lnk { font-size:11px; }.public-page .nav .btn { padding:9px 12px; } }
@media(max-width:600px) {
  .public-page:not(.geology-home) > .hero,.public-page:not(.geology-home) > section:first-of-type { padding-top:36px; }
  .public-page:not(.geology-home) h1 { font-size:32px !important; }
  .public-page .plan,.public-page .checkout,.public-page .card { padding:18px; }
  .public-page .flow { grid-template-columns:1fr !important; }
  .public-page .doc > p { font-size:12px; }
  .public-page .btn.big { white-space:normal; text-align:center; }
  .public-page .faq details { padding:12px 15px; }
}

/* Signal wordmark: tightly framed for navigation, retaining the original outlined artwork. */
.public-page .brand .bw-wordmark { display:block; width:182px; height:auto; flex:0 0 auto; }
@media(max-width:600px) { .public-page .brand .bw-wordmark { width:159px; } }

/* links inside running text are underlined, so they do not rely on colour alone (WCAG 1.4.1) */
.public-page p a:not(.btn):not(.text-link), .public-page li a:not(.btn), .public-page td a:not(.btn) { text-decoration: underline; text-decoration-color: #53c6aa80; text-underline-offset: 3px; }
.public-page p a:not(.btn):not(.text-link):hover, .public-page li a:not(.btn):hover { text-decoration-color: currentColor; }

/* security page: data residency audit (scripts/render_audit.py) */
table.audit td:last-child { white-space: nowrap; }
.pass, .fail, .warn { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.pass { background: rgba(62, 198, 184, 0.16); color: #3ec6b8; }
.fail { background: rgba(224, 122, 106, 0.18); color: #e07a6a; }
.warn { background: rgba(242, 199, 92, 0.16); color: #c99a2e; }

/* tutorial video (scripts/video/make_video.py) */
.tut-video { margin: 18px 0 22px; max-width: 900px; }
.tut-video video { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--line, #2a3a40); background: #0b1317; }
.tut-video figcaption { font-size: 13px; color: var(--muted, #9aabb0); margin-top: 6px; }

/* /start: get the installer link again (replaces the download page) */
.relink { margin-top: 14px; border-top: 1px solid var(--line2); padding-top: 12px; }
.relink summary { cursor: pointer; font-size: 12px; color: var(--accent-t, var(--accent)); padding: 6px 0; }
.relink[open] summary { margin-bottom: 10px; }
.relink .chk { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--body); }
.relink label.chk { display: flex !important; justify-content: flex-start; text-align: left; }
.relink .chk input { width: auto !important; flex: none; margin: 0; height: auto; }
