/* Medusa support and privacy pages. Colors come from docs/design-system/tokens.json. */
:root {
  --background: #0B0C10;
  --surface: #15171D;
  --surface-raised: #2A2C33;
  --text: #F4F5F7;
  --text-secondary: #CFD1D8;
  --text-muted: #A3A7B5;
  --accent: #FA320A;
  --line: rgba(255, 255, 255, 0.14);
  --gutter: 16px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px var(--gutter) 64px;
}

header.site {
  border-bottom: 1px solid var(--line);
}

header.site .inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.lang a, nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 16px;
}

.lang a[aria-current="true"], nav a[aria-current="true"] {
  color: var(--text);
}

h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0 0 12px;
}

h2 {
  font-size: 1.35rem;
  margin: 40px 0 12px;
}

h3 {
  font-size: 1.05rem;
  margin: 24px 0 8px;
}

p, li { color: var(--text-secondary); }

.lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
}

.card p:first-child, .card ul:first-child { margin-top: 0; }

.faq dt {
  color: var(--text);
  font-weight: 600;
  margin-top: 24px;
}

.faq dd {
  margin: 6px 0 0;
  color: var(--text-secondary);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--text-muted);
  font-weight: 600;
  background: var(--surface);
}

td { color: var(--text-secondary); }

.note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer.site {
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer.site .inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px var(--gutter);
}

/* Narrow screens: tables scroll inside their own box, the page never scrolls sideways. */
@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 1.7rem; }
  main { padding-top: 32px; }
  table { display: block; overflow-x: auto; }
  .lang a, nav a { margin-left: 12px; }
}
