/* Gimbal pages — extends ../styles.css
   Inter is self-hosted on purpose: these pages make no third-party
   requests, so the privacy claim on them is literally true. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Gimbal wears the purple accent so it reads as its own product
   without leaving the muzo.dev shell. */
body.gimbal .logo-mark {
  background: var(--purple);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.45);
}

body.gimbal .section-title::before {
  background: var(--purple);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.45);
}

body.gimbal .legal-page h2 .num { color: var(--purple); }
body.gimbal .legal-page a:hover { text-decoration-color: var(--purple); }
body.gimbal .back-link:hover { color: var(--purple); }
body.gimbal .hero::before {
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.09), transparent 70%);
}
body.gimbal .stack-grid li:hover::after { background: var(--purple); }

.logo-sub {
  color: var(--fg-dim);
  font-weight: 400;
  font-size: 13px;
  margin-left: 2px;
}

/* Callouts. .notice is neutral, .notice-warn is the medical one —
   it appears on every page, so it must not look like decoration. */
.notice {
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--purple);
  background: var(--bg-soft);
  padding: 20px 24px;
  border-radius: var(--radius);
  margin: 28px 0;
}

.notice-warn { border-left-color: var(--red); }

.notice p:last-child,
.notice ul:last-child { margin-bottom: 0; }

.notice .notice-title {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-dim);
  margin-bottom: 10px;
  font-weight: 500;
}

/* Feature and test grids on the overview page */
.feature-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-grid li {
  background: var(--bg-soft);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-grid b {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.005em;
}

.feature-grid span {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* Free vs Pro */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.plan {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: var(--bg-soft);
}

.plan.pro { border-color: rgba(139, 92, 246, 0.35); }

.plan h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--fg-dim);
  margin-bottom: 6px;
}

.plan .plan-note {
  font-size: 13px;
  color: var(--fg-dim);
  margin-bottom: 18px;
  display: block;
}

.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan li {
  font-size: 14px;
  color: var(--fg-mid);
  line-height: 1.6;
  padding: 8px 0 8px 20px;
  position: relative;
  border-top: 1px solid var(--line);
}

.plan li:first-child { border-top: 0; }

.plan li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 7px;
  height: 1px;
  background: var(--fg-mute);
}

.plan.pro li::before { background: var(--purple); }

/* Quick links block shared by the overview and the legal footer */
.doc-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
}

.doc-links li { background: var(--bg-soft); }

.doc-links a {
  display: block;
  padding: 22px 24px;
  text-decoration: none;
  color: var(--fg);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.25s ease;
}

.doc-links a:hover { background: var(--bg-elev); }

.doc-links small {
  display: block;
  color: var(--fg-dim);
  font-size: 12.5px;
  font-weight: 400;
  margin-top: 5px;
  line-height: 1.55;
}

/* Data tables used by the privacy and data pages */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 20px 0 26px;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 460px;
}

table.data th,
table.data td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--fg-mid);
  vertical-align: top;
  line-height: 1.6;
}

table.data th {
  color: var(--fg-dim);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: var(--bg-soft);
}

table.data tr:last-child td { border-bottom: 0; }

.availability {
  font-size: 13px;
  color: var(--fg-dim);
  margin-top: 26px;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .plan { padding: 24px 20px; }
  .notice { padding: 18px 20px; }
}

/* Sub-headings inside legal pages (Terms §5.x, Support FAQ) */
.legal-page h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin: 28px 0 10px;
  letter-spacing: -0.005em;
}
