/* ==========================================================================
   SpareMe — terms / privacy / support
   Shares the landing design system: same tokens, same type, same rules.
   That system is a violet night with an orange accent, so these pages are
   too — a legal page on white paper would read as a different site.
   ========================================================================== */

:root {
  --font-display: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --font-sans: var(--font-display);
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* "ink" names the page ground here; on this theme that is the violet night. */
  --ink: #150f31;
  --surface: #1c1441;
  --elevated: #241a55;

  --navy: #f4f0ff;
  --coral: #ff9a5c;
  --coral-bright: #ffb178;

  --text: var(--navy);
  --text-dim: #beb4e8;
  --text-faint: #8d83bd;

  --line: rgba(166, 134, 255, 0.17);
  --line-strong: rgba(166, 134, 255, 0.3);
  --coral-line: rgba(255, 122, 60, 0.4);

  --radius: 12px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  min-width: 320px;
  color-scheme: dark;
  background: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  color: var(--text);
  background: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 110% 70% at 88% -12%, rgba(255, 122, 60, 0.17) 0%, transparent 58%),
    radial-gradient(ellipse 80% 60% at 4% 102%, rgba(139, 92, 246, 0.22) 0%, transparent 58%);
}

::selection {
  background: rgba(255, 122, 60, 0.3);
  color: var(--text);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(166, 134, 255, 0.28); }

a {
  color: var(--text);
  text-decoration-color: var(--coral-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s var(--ease);
}

a:hover { color: var(--coral); }

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
}

/* -------------------------------------------------------------- masthead -- */

.masthead {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

/* The markup ships plain "SpareMe" text; render it as the two-tone wordmark. */
.wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0;
  font-weight: 600;
  letter-spacing: -0.022em;
  text-decoration: none;
}

.wordmark::before {
  content: "Spare";
  color: var(--text);
  font-size: 20px;
}

.wordmark::after {
  content: "Me";
  color: var(--coral);
  font-size: 20px;
}

.back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.back::before { content: "←"; }

.back:hover { color: var(--coral); }

/* ------------------------------------------------------------------ body -- */

main {
  padding: clamp(52px, 8vw, 88px) 0 clamp(64px, 9vw, 104px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.eyebrow::before {
  content: "#";
  opacity: 0.6;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--text);
  text-wrap: balance;
}

h1 {
  max-width: 20ch;
  font-size: clamp(38px, 6.4vw, 68px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.034em;
}

h2 {
  margin: 52px 0 14px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.026em;
}

h3 {
  margin: 30px 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.018em;
}

p,
li {
  color: var(--text-dim);
  font-size: 16px;
  text-wrap: pretty;
}

p { margin: 0 0 18px; }

ul { padding-left: 22px; }

li { margin-top: 8px; }

li::marker { color: var(--coral); }

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

.lede {
  max-width: 62ch;
  margin-top: 22px;
  color: var(--text);
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.6;
}

.notice {
  margin: 32px 0 10px;
  padding: 18px 22px;
  border: 1px solid var(--coral-line);
  border-left: 3px solid var(--coral);
  border-radius: var(--radius);
  color: var(--text-dim);
  background: color-mix(in srgb, var(--coral) 11%, transparent);
}

.meta {
  margin-bottom: 0;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

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

footer {
  min-height: 76px;
  padding: 22px 0 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  border-top: 1px solid var(--line);
}

footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text-dim);
  font-size: 14px;
  text-decoration: none;
}

footer a:hover { color: var(--coral); }

/* ---------------------------------------------------------------- mobile -- */

@media (max-width: 560px) {
  .shell { width: min(100% - 32px, 880px); }
  main { padding-top: 44px; }
  h2 { margin-top: 42px; padding-top: 28px; }
  p, li { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
