/* Shared styling for the legal pages and the upgrade page.
   Deliberately independent of styles.css: those pages carry no ambient canvas,
   no reveal animations and no hero layout, and pulling in the whole landing
   stylesheet would load a lot of unused CSS on a checkout page. */

:root {
  --void: #000000;
  --white: #ffffff;
  --ash: #9a9a9a;
  --silver: #bdbdbd;
  --iris: #2fa06f;
  --iris-soft: rgba(47, 160, 111, 0.14);
  --verdant: #15846e;
  --line: rgba(255, 255, 255, 0.1);
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--white);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px clamp(20px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.topbar .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.crumb-sep { color: var(--ash); }
.crumb { color: var(--silver); }

.shell {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 72px) clamp(20px, 5vw, 32px) 96px;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.updated {
  margin: 0 0 40px;
  color: var(--ash);
  font-size: 14px;
}

h2 {
  margin: 40px 0 10px;
  font-size: 20px;
  letter-spacing: -0.015em;
  font-weight: 600;
}

p, li { color: var(--silver); }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 7px; }

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

strong { color: var(--white); font-weight: 600; }

.callout {
  margin: 0 0 32px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--iris);
  border-radius: 10px;
  background: var(--iris-soft);
}

.callout p:last-child { margin-bottom: 0; }

/* Unfilled legal detail. Loud on purpose: a half-completed legal page must be
   impossible to miss in review, and Paddle rejects mismatched entity details. */
.fill {
  padding: 1px 7px;
  border-radius: 4px;
  background: #ffb829;
  color: #000;
  font-weight: 600;
  white-space: nowrap;
}

.footer {
  padding: 28px clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--ash);
  font-size: 14px;
}

.footer a { color: var(--silver); }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 10px; }

/* --- upgrade page --- */

.plan {
  margin: 0 0 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.plan h2 { margin-top: 0; }

.plan ul { margin-top: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--iris), var(--verdant));
  color: var(--white);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; filter: none; }

.status {
  margin-top: 18px;
  min-height: 22px;
  color: var(--ash);
  font-size: 14px;
}

.status[data-kind="error"] { color: #ff9a9a; }
.status[data-kind="ok"] { color: var(--iris); }
