/* Shared styling for the RepoBoss legal pages (eula.html, refund.html).
 *
 * The palette and typeface are lifted from the RepoBoss help page and the app
 * itself: graphite rather than pure black, JetBrains Mono with a system
 * fallback so nothing depends on a webfont loading, and exactly two accent
 * hues — green for safe, red for at risk. Kept in one file so a restyle of the
 * legal pages happens in one place rather than twice.
 */

:root {
  --bg: #0a0b0c;
  --panel: #131415;
  --card: #191a1c;
  --line: #232527;
  --line-strong: #303336;
  --text: #e6e8ea;
  --text-bright: #f4f6f7;
  --muted: #a4a9ad;
  --faint: #767b7f;
  --ok: #5fcf8d;
  --ok-bg: #5fcf8d16;
  --ok-line: #2c5f43;
  --danger: #f0736c;
  --danger-bg: #f0736c16;
  --danger-line: #5f3230;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* --- chrome ------------------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 11, 12, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 28px;
  height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text-bright); }
.brand span { font-weight: 600; font-size: 15px; letter-spacing: 0.06em; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 1px solid var(--line-strong);
  color: var(--muted); font-size: 13px; text-decoration: none;
}
.back-link:hover { color: var(--text-bright); border-color: var(--muted); text-decoration: none; }

main { max-width: 820px; margin: 0 auto; padding: 64px 28px 110px; }

/* --- type --------------------------------------------------------------- */

.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--faint); margin: 0 0 16px;
}
h1 {
  font-weight: 600; font-size: clamp(28px, 4vw, 40px); line-height: 1.15;
  letter-spacing: -0.02em; margin: 0 0 14px; color: var(--text-bright);
}
.updated { margin: 0 0 18px; font-size: 13px; color: var(--faint); }
.lede { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--text-bright); }

.rule { height: 1px; background: var(--line); border: 0; margin: 40px 0; }

h2 {
  font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em;
  color: var(--text-bright); margin: 48px 0 14px;
  display: flex; align-items: baseline; gap: 12px;
}
h2 .num { font-size: 13px; font-weight: 600; color: var(--ok); flex: none; min-width: 26px; }

p, li { font-size: 15px; line-height: 1.8; color: var(--text); }
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 22px; }
li { margin: 0 0 9px; }
li::marker { color: var(--ok); }
strong { color: var(--text-bright); font-weight: 600; }

/* --- emphasis blocks ---------------------------------------------------- */

/* A neutral aside. */
.callout {
  border: 1px solid var(--line-strong); background: var(--panel);
  padding: 18px 22px; margin: 26px 0;
}
.callout p:last-child { margin-bottom: 0; }

/* Something the reader must not miss before they buy. Red, because on this
   product the thing they must not miss is that a refund takes the whole team
   offline, not just the buyer. */
.warn {
  border: 1px solid var(--danger-line); background: var(--danger-bg);
  padding: 18px 22px; margin: 26px 0;
}
.warn p:last-child { margin-bottom: 0; }
.warn strong { color: var(--danger); }

/* The conventional all-caps legal blocks. Kept visually distinct so they read
   as the formal statement they are rather than as shouting in body copy. */
.conspicuous {
  border: 1px solid var(--line-strong); background: var(--panel);
  padding: 18px 22px; margin: 22px 0;
}
.conspicuous p { font-size: 13px; line-height: 1.7; color: var(--muted); margin-bottom: 12px; }
.conspicuous p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 20px 0 24px; }
th, td {
  text-align: left; padding: 11px 12px; font-size: 13.5px;
  border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.6;
}
th { color: var(--faint); font-weight: 600; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
td { color: var(--text); }

/* A paragraph that answers the one above it rather than opening a new
   point, set off by space instead of a heading. */
.follow-on { margin-top: 16px; }

.contact { border-left: 2px solid var(--ok); padding: 4px 0 4px 20px; margin: 20px 0; }
.contact .name { color: var(--text-bright); font-weight: 600; margin-bottom: 8px; }
.contact p { margin-bottom: 6px; font-size: 14px; }

/* --- footer ------------------------------------------------------------- */

footer { border-top: 1px solid var(--line); }
.foot-inner {
  max-width: 1100px; margin: 0 auto; padding: 26px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--faint);
}
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }

@media (max-width: 640px) {
  main { padding: 40px 20px 80px; }
  .nav-inner, .foot-inner { padding-left: 20px; padding-right: 20px; }
  h2 { font-size: 18px; }
}
