:root {
  color-scheme: dark;
  --ink: #f5f4ed;
  --muted: #a7b7b2;
  --canvas: #061313;
  --panel: #0a2020;
  --line: rgba(188, 225, 211, 0.18);
  --mint: #70dfb7;
  --gold: #d6a453;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", serif;
  --sans: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 84% 5%, rgba(37, 132, 108, 0.2), transparent 30rem),
    linear-gradient(180deg, #071919 0%, var(--canvas) 32rem);
}

a {
  color: inherit;
}

.shell {
  width: min(100% - 40px, 900px);
  min-height: 100vh;
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.brand a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(112, 223, 183, 0.5);
  border-radius: 14px;
  color: var(--mint);
  background: rgba(112, 223, 183, 0.08);
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: -0.08em;
}

.support-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.support-hero {
  align-self: center;
  max-width: 760px;
  padding: 64px 0 110px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.25rem, 10vw, 7.4rem);
  line-height: 0.88;
}

.lede {
  max-width: 680px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
}

.primary-link {
  gap: 12px;
  color: #062019;
  background: var(--mint);
}

.secondary-link {
  border: 1px solid var(--line);
  color: var(--muted);
}

.policy-shell {
  max-width: 820px;
}

.policy {
  padding: 58px 0 96px;
}

.policy-heading {
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.policy-heading h1 {
  font-size: clamp(3.2rem, 9vw, 6.5rem);
}

.updated {
  margin: 18px 0 0;
  color: var(--gold);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plain-summary {
  margin: 42px 0 56px;
  padding: 26px;
  border: 1px solid rgba(112, 223, 183, 0.24);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(112, 223, 183, 0.11), rgba(10, 32, 32, 0.8));
}

.plain-summary strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.plain-summary ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.policy section {
  display: grid;
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr);
  gap: 26px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.policy section h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.policy section p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.policy section p + p {
  margin-top: -10px;
}

.policy section a {
  color: var(--mint);
  text-underline-offset: 0.2em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: #728a84;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer a {
  text-decoration: none;
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 900px);
  }

  .support-hero {
    padding: 48px 0 86px;
  }

  .policy {
    padding-top: 38px;
  }

  .policy section {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .policy section p {
    grid-column: 1;
  }

  .actions a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .support-hero,
  .policy-heading,
  .plain-summary {
    animation: reveal 520ms ease-out both;
  }

  .plain-summary {
    animation-delay: 80ms;
  }

  @keyframes reveal {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
  }
}

@media print {
  :root {
    color-scheme: light;
    --ink: #111;
    --muted: #333;
    --canvas: #fff;
    --line: #ccc;
  }

  body {
    background: #fff;
  }

  .brand-mark,
  .plain-summary {
    border-color: #bbb;
    background: transparent;
  }
}
