/* ===========================================================================
   BreakSphere public compliance pages — shared stylesheet
   Brand: dark surface (#0F0F0F) + gold accent (#F4C430), system sans.
   Standalone static pages served at /pricing, /refund-policy, /contact,
   /privacy on breaksphere.app. No external fonts, no toolchain.
   =========================================================================== */

:root {
  --bg: #0f0f0f;
  --bg-alt: #0a0a0a;
  --surface: #141414;
  --border: #222222;
  --border-strong: #333333;
  --gold: #f4c430;
  --gold-soft: rgba(244, 196, 48, 0.12);
  --text: #f5f5f5;
  --text-muted: #a0a0a0;
  --text-dim: #6b6b6b;
  --maxw: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, "Segoe UI", system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #000;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

/* ------------------------------- Nav ----------------------------------- */
.site-nav {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  font-weight: bold;
  font-size: 0.95rem;
}
.brand-word .accent {
  color: var(--gold);
}
.nav-back {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.nav-back:hover {
  color: var(--gold);
  text-decoration: none;
}

/* ------------------------------ Content -------------------------------- */
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 24px 24px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: bold;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.25rem;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.02rem;
  margin: 26px 0 8px;
  color: var(--text);
}

p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.lede {
  font-size: 1.08rem;
  color: var(--text);
}

.page > p,
.page li {
  color: var(--text-muted);
}

strong {
  color: var(--text);
}

ul,
ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
li {
  margin-bottom: 8px;
}

.meta {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 36px 0;
}

/* Highlight / callout box */
.callout {
  background: var(--gold-soft);
  border: 1px solid rgba(244, 196, 48, 0.4);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 0 0 24px;
}
.callout p:last-child {
  margin-bottom: 0;
}

.note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 0 0 24px;
}
.note p:last-child {
  margin-bottom: 0;
}

/* ------------------------------ Table ---------------------------------- */
.table-wrap {
  overflow-x: auto;
  margin: 0 0 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  font-size: 0.95rem;
}
caption {
  caption-side: top;
  text-align: left;
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 12px 16px 0;
}
th,
td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
thead th {
  background: var(--bg-alt);
  color: var(--gold);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody td:first-child {
  color: var(--text);
  font-weight: bold;
}

/* ------------------------------ Contact -------------------------------- */
.contact-email {
  display: inline-block;
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  font-weight: bold;
  color: var(--gold);
  border-bottom: 2px solid transparent;
  margin: 8px 0 24px;
}
.contact-email:hover {
  border-color: var(--gold);
  text-decoration: none;
}

/* ------------------------------ Footer --------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 56px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 24px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-legal {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin: 0;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
