/* Styling for the Contact, Terms, Refund, and Privacy pages. */
:root {
  --blue-900: #0b0e11;
  --blue-800: #14191e;
  --blue-700: #242d36;
  --blue-600: #485365;
  --blue-500: #788292;
  --blue-300: #b0bccd;
  --blue-100: #f2f4f5;
  --green-700: #243630;
  --green-500: #35d0a0;
  --green-400: #7adabc;

  --background: var(--blue-900);
  --surface: var(--blue-800);
  --border: var(--blue-700);
  --foreground: var(--blue-100);
  --muted-foreground: var(--blue-500);

  --radius: 8px;
  --radius-sm: 6px;
  --maxw: 820px;
  --font-sans: 'Geist', system-ui, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */
.policy-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 17, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.policy-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1120px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}
.back {
  color: var(--blue-300);
  font-size: 0.9375rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}
.back:hover {
  color: var(--foreground);
  background: var(--surface);
}

/* ---- Body ---- */
.policy-main {
  padding: 56px 0 40px;
}
.policy-body h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.policy-body h2 {
  font-size: 1.1875rem;
  font-weight: 600;
  margin: 34px 0 8px;
}
.policy-body h2.section-break {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.policy-body p {
  color: var(--blue-300);
  font-size: 0.9375rem;
  margin: 8px 0 0;
}
.policy-body ul {
  margin: 10px 0 0;
  padding-left: 20px;
}
.policy-body li {
  color: var(--blue-300);
  font-size: 0.9375rem;
  margin-top: 6px;
}
.policy-body a {
  color: var(--green-400);
}
.policy-body a:hover {
  text-decoration: underline;
}
.muted {
  color: var(--muted-foreground);
}
.lede {
  margin-top: 8px;
}

/* ---- Footer ---- */
.policy-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}
.policy-footer .foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.policy-footer .foot-links a {
  color: var(--blue-300);
  font-size: 0.9375rem;
}
.policy-footer .foot-links a:hover {
  color: var(--foreground);
}
.policy-footer p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin: 0;
}

/* ---- Contact form ---- */
form.contact {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 14px;
}
form.contact label {
  font-size: 0.875rem;
  color: var(--blue-300);
  display: grid;
  gap: 6px;
}
form.contact input,
form.contact textarea {
  width: 100%;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--foreground);
  font: inherit;
  font-size: 0.9375rem;
  padding: 11px 12px;
  resize: vertical;
}
form.contact input:focus,
form.contact textarea:focus {
  outline: 2px solid var(--green-500);
  outline-offset: 1px;
  border-color: transparent;
}
.btn-submit {
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--green-500);
  color: var(--blue-900);
  cursor: pointer;
}
.btn-submit:hover {
  background: var(--green-400);
}
.policy-body .form-note {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}
