/* Shared styling for the legal / support pages — matches the main site's Apple-ish light theme. */

:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --bg: #ffffff;
  --group: #f5f5f7;
  --line: #e8e8ed;
  --accent: #0095F6;
  --navy: #1F3868;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
        "Noto Sans SC", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.wrap { max-width: 720px; margin: 0 auto; padding: 26px 22px 72px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--navy);
  padding: 8px 0 18px;
}
.back:hover { text-decoration: none; opacity: .75; }
.back img { width: 24px; height: 24px; }

h1 { font-size: 32px; line-height: 1.15; letter-spacing: -0.02em; margin: 6px 0 4px; }
.eff { color: var(--faint); font-size: 14px; margin-bottom: 22px; }

h2 {
  font-size: 20px; letter-spacing: -0.01em; margin: 34px 0 8px;
  border-top: 1px solid var(--line); padding-top: 26px;
}
h3 { font-size: 16.5px; margin: 22px 0 4px; }

p { margin: 10px 0; }
ul { padding-left: 20px; margin: 10px 0; }
li { margin: 7px 0; }
strong { font-weight: 600; }

.callout {
  background: var(--group); border-radius: 14px; padding: 16px 18px;
  margin: 20px 0 4px; font-size: 15px; line-height: 1.65;
}

.price-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.price-table th, .price-table td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line); }
.price-table th { color: var(--muted); font-weight: 500; font-size: 14px; }
.price-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.contact {
  background: var(--group); border-radius: 14px;
  padding: 18px 20px; margin-top: 26px; font-size: 15px; line-height: 1.7;
}

details { border-bottom: 1px solid var(--line); }
details summary {
  cursor: pointer; padding: 15px 26px 15px 2px; font-weight: 550; font-size: 16px;
  list-style: none; position: relative;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; margin-top: -5px;
  width: 8px; height: 8px; border-right: 1.5px solid var(--faint);
  border-bottom: 1.5px solid var(--faint); transform: rotate(45deg); transition: transform .15s;
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -1px; }
details .body { padding: 0 2px 16px; color: var(--muted); font-size: 15px; }
details .body p:first-child { margin-top: 0; }

footer {
  margin-top: 44px; color: var(--faint); font-size: 13px; line-height: 1.7;
  border-top: 1px solid var(--line); padding-top: 20px;
}
footer a { color: var(--muted); }
