:root {
  --bg-deep: #081119;
  --bg-mid: #0f1f2e;
  --bg-soft: #18364f;
  --card: rgba(8, 17, 25, 0.68);
  --card-border: rgba(190, 223, 247, 0.22);
  --text-main: #e6f3ff;
  --text-muted: #a7bdd0;
  --heading: #f2f8ff;
  --accent: #8ddf9f;
  --accent-strong: #74cf88;
  --focus: rgba(141, 223, 159, 0.45);
}

@font-face {
  font-family: "Satoshi";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/public/fonts/Satoshi-Variable.woff2") format("woff2");
}

@font-face {
  font-family: "Satoshi";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("/public/fonts/Satoshi-VariableItalic.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(1200px 1200px at -10% 120%, rgba(34, 119, 156, 0.24), transparent 58%),
    radial-gradient(1000px 1000px at 110% -10%, rgba(116, 207, 136, 0.17), transparent 58%),
    linear-gradient(155deg, var(--bg-deep) 0%, var(--bg-mid) 42%, var(--bg-soft) 100%);
}

.legal-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px 56px;
}

.legal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.brand-link,
.home-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
}

.brand-link:hover,
.home-link:hover {
  text-decoration: underline;
}

.legal-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: clamp(20px, 4vw, 36px);
  backdrop-filter: blur(12px);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.support-shell {
  max-width: 860px;
}

.support-card {
  overflow: hidden;
}

.support-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 3vw, 24px);
  align-items: center;
  margin-bottom: 28px;
}

.support-icon {
  display: block;
  width: clamp(70px, 12vw, 96px);
  height: clamp(70px, 12vw, 96px);
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.support-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 10px;
  color: color-mix(in srgb, var(--text-main) 74%, transparent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.support-contact {
  margin-top: 0;
}

.support-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 4px 0 8px;
  color: var(--accent);
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  font-weight: 750;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.support-email:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.response-time {
  margin-top: 6px;
  font-size: 0.95rem;
}

.support-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
}

.support-list li {
  position: relative;
  margin: 0;
  padding-left: 24px;
}

.support-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(141, 223, 159, 0.45);
}

.support-note {
  text-align: center;
}

h1 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.subtitle {
  margin: 12px 0 24px;
  color: var(--text-muted);
}

.toc {
  margin: 0 0 26px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(8, 17, 25, 0.45);
  border: 1px solid rgba(190, 223, 247, 0.16);
}

.toc h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.toc ul {
  margin: 0;
  padding-left: 18px;
}

.toc li {
  margin: 4px 0;
}

.toc a {
  color: var(--text-main);
}

section {
  margin: 24px 0;
}

section h2 {
  margin: 0 0 10px;
  color: var(--heading);
  font-size: 1.25rem;
  line-height: 1.2;
}

p,
li {
  color: var(--text-muted);
  line-height: 1.6;
}

ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

li {
  margin: 6px 0;
}

strong {
  color: var(--text-main);
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-strong);
}

.notice {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  background: rgba(141, 223, 159, 0.08);
  border-radius: 8px;
}

.notice + .toc {
  margin-top: 28px;
}

.policy-footer {
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid rgba(190, 223, 247, 0.2);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.back-top {
  display: inline-block;
  margin-top: 6px;
}

@media (max-width: 640px) {
  .legal-shell {
    padding: 16px 14px 40px;
  }

  .legal-card {
    border-radius: 18px;
    padding: 18px;
  }

  .support-header {
    grid-template-columns: 1fr;
  }
}
