/* PlayLearn legal / support pages — shared visual language.
 *
 * All static HTML pages under /legal and /delete-account inline this
 * stylesheet via <link rel="stylesheet" href="/legal/_shared.css">.
 * Keep the file tiny: no fonts loaded (system stack), no images,
 * no external dependencies.  Play Store's automated reviewer opens
 * these pages once and any slow paint counts against submission.
 */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: #14171B;
  line-height: 1.55;
  background: #F5F7FA;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: #008D9F; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Brand strip at the top — peach/coral diagonal that matches the
 * app's login "Welcome Back" background (light peach → coral → deep
 * coral). Tuned to feel like the same product surface, not a separate
 * marketing page. */
.brand {
  background: linear-gradient(135deg, #F5B79A 0%, #EE8C74 55%, #D96D5A 100%);
  color: #fff;
  padding: 14px 24px;
}
.brand-inner {
  /* Matches the PlayLearn app's main-content max width (Documents,
   * Reports, gestion pages all use 1400px). Under 900px viewports
   * the app drops to full-width; the legal pages do the same via
   * the media query below. */
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand a.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.brand a.wordmark img {
  display: block;
  height: 44px;
  width: auto;
}
.brand nav a {
  color: #fff;
  margin-left: 18px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.brand nav a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 640px) {
  .brand { padding: 12px 16px; }
  .brand a.wordmark img { height: 35px; }
}

/* Card container that content sits inside. Matches the PlayLearn
 * app's main-content max width (1400px on desktop, full-width under
 * 900px). Body copy still reads comfortably because the article's
 * padding + line-height give it its own inner column. */
main {
  max-width: 1400px;
  margin: 32px auto 64px;
  padding: 0 20px;
}
@media (max-width: 900px) {
  main { max-width: 100%; padding: 0 16px; }
}
.card {
  background: #fff;
  border-radius: 14px;
  padding: 36px 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}
@media (max-width: 640px) {
  .card { padding: 24px 20px; border-radius: 12px; }
  main { margin: 20px auto 40px; padding: 0 12px; }
}

h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #14171B;
}
h1 + .lede {
  margin: 0 0 28px;
  color: #7C8694;
  font-size: 15px;
}
h2 {
  margin: 32px 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #14171B;
  letter-spacing: -0.1px;
}
p, li { font-size: 15px; color: #2C3441; }
ul { padding-left: 22px; }
ul li { margin-bottom: 6px; }

.meta {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #EEF1F4;
  color: #7C8694;
  font-size: 13px;
}

/* "Sections list" — used on the hub page. */
.sections { list-style: none; padding: 0; margin: 24px 0 0; }
.sections li {
  padding: 16px 18px;
  border: 1px solid #EEF1F4;
  border-radius: 10px;
  margin-bottom: 10px;
  background: #FAFBFC;
}
.sections a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #14171B;
}
.sections small {
  display: block;
  font-weight: 500;
  font-size: 13px;
  color: #7C8694;
  margin-top: 2px;
}

/* Contact / callout block for delete-account.html */
.callout {
  background: #FFEDE4;
  border: 1px solid #F58B78;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 20px 0;
}
.callout strong { color: #8A2A2A; }

/* Simple form for the delete-account request. */
form.request {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}
form.request label {
  font-size: 13px;
  font-weight: 600;
  color: #14171B;
}
form.request input,
form.request textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #DDE1E7;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #14171B;
  background: #fff;
}
form.request textarea { min-height: 100px; resize: vertical; }
form.request button {
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  background: #008D9F;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  justify-self: start;
}
form.request button:hover { background: #00707E; }

footer {
  text-align: center;
  color: #7C8694;
  font-size: 12.5px;
  padding: 20px 12px 32px;
}
footer a { color: #7C8694; margin: 0 6px; }
