/* =========================================================
   10thCup — Legal / Help pages shared stylesheet
   ========================================================= */

:root {
  --orange: #CA9954;
  --orange-deep: #a87c3e;
  --orange-soft: #F3E8D4;
  --cream: #F8F7F6;
  --ink: #1E2D32;
  --ink-soft: #4F6563;
  --muted: #799191;
  --line: #E2E8F0;
  --green: #2F8F6E;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(30,45,50,0.06);
  --shadow-md: 0 10px 30px rgba(30,45,50,0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Nav ──────────────────────────────────────────────── */
nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
}
.brand img { width: 32px; height: 32px; object-fit: contain; border-radius: 8px; }

.back-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.15s;
}
.back-link:hover { color: var(--orange); }

/* ── Main ─────────────────────────────────────────────── */
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

/* ── Page header ──────────────────────────────────────── */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
}
.page-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  color: var(--orange);
}
.page-icon svg { width: 100%; height: 100%; }
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.page-sub {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 auto;
}
.page-date {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── Cards ────────────────────────────────────────────── */
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

/* ── Help page specific ───────────────────────────────── */
.contact-card {
  text-align: center;
}
.contact-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  color: var(--orange);
}
.contact-icon svg { width: 100%; height: 100%; }
.contact-card h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.contact-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 420px;
  margin: 0 auto 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.6rem;
  background: var(--orange);
  color: white;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(202,153,84,0.3);
  transition: background 0.15s, transform 0.15s;
  text-decoration: none;
}
.btn:hover { background: var(--orange-deep); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
  box-shadow: none;
}
.btn-outline:hover { background: var(--orange-soft); transform: none; }

.topics { margin-bottom: 2rem; }
.topics h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 640px) {
  .topics-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .topics-grid { grid-template-columns: 1fr; }
}
.topic-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.topic-icon {
  width: 28px;
  height: 28px;
  color: var(--orange);
  margin-bottom: 0.6rem;
}
.topic-icon svg { width: 100%; height: 100%; }
.topic-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.topic-card p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.cta-card {
  text-align: center;
  background: var(--orange-soft);
  border-color: transparent;
}
.cta-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

/* ── Legal body ───────────────────────────────────────── */
.legal-body {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.section {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}
.section h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.section p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}
.section p:last-child { margin-bottom: 0; }
.section a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.section ul {
  padding-left: 1.2rem;
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.section ul li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ── Footer ───────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: white;
  padding: 3rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.8rem; }
.footer-brand img { width: 36px; height: 36px; border-radius: 10px; }
.footer-name { font-weight: 800; font-size: 2rem; line-height: 1; }
.footer-tag { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 0.2rem; }
.footer-cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-cols > div { display: flex; flex-direction: column; gap: 0.5rem; }
.fc-title { font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.4); margin-bottom: 0.3rem; }
.footer-cols a { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.footer-cols a:hover { color: white; }
.footer-base {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.2rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
}
