:root {
  --ink: #26214f;
  --ink-soft: #4e4878;
  --ink-mute: #7d77a3;
  --navy: #1b1745;
  --violet: #7b61ff;
  --cyan: #0f9fbf;
  --line: #e7e0f7;
  --display: "Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;
  --sans: "Nunito", ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { background: #e6f6ff; }
body {
  min-height: 100vh;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: linear-gradient(180deg, #fff7ee 0%, #ffe6d6 18%, #efe9ff 55%, #e6f6ff 100%) no-repeat;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--violet); font-weight: 700; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

.page-header { text-align: center; padding: 40px 20px 10px; }
.back-link { display: inline-block; margin-bottom: 18px; font-size: .92rem; text-decoration: none; color: var(--ink-mute); }
.back-link:hover { text-decoration: underline; color: var(--violet); }
.brand-row { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 16px; text-decoration: none; }
.brand-row img { width: 54px; height: 54px; border-radius: 14px; box-shadow: 0 8px 20px rgba(38,33,79,.22); }
.brand-row .name { text-align: left; font-family: var(--display); font-weight: 600; font-size: 1.1rem; line-height: 1.2; color: var(--navy); }
.brand-row .name small { display: block; font-family: var(--sans); font-weight: 600; font-size: .8rem; color: var(--ink-mute); }
.page-header h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 5vw, 2.7rem); line-height: 1.1; color: var(--navy); text-shadow: 3px 3px 0 #ffd46b; }
.effective { margin-top: 8px; font-size: .9rem; color: var(--ink-mute); }

.content {
  max-width: 740px;
  margin: 22px auto 0;
  padding: 34px 36px 30px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 16px 40px rgba(38,33,79,.07);
}
.content h2 { margin: 28px 0 6px; font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--navy); }
.content p { margin-bottom: 1rem; color: var(--ink-soft); }
.content b { color: var(--ink); font-weight: 800; }
.content ul { margin: 0 0 1rem 1.3rem; color: var(--ink-soft); }
.content li { margin-bottom: .4rem; }
.content .caps { font-size: .9rem; }

.tldr {
  margin-bottom: 8px;
  padding: 16px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e3f8fd, #f4f0ff);
  border: 1.5px dashed #b9e9f5;
  color: var(--ink);
}
.tldr b:first-child { color: var(--cyan); }

footer { max-width: 740px; margin: 0 auto; padding: 26px 20px 44px; text-align: center; font-size: .88rem; color: var(--ink-mute); }

@media (max-width: 620px) {
  body { font-size: 16px; }
  .content { margin: 18px 12px 0; padding: 24px 20px 20px; border-radius: 22px; }
}

/* ===== Support page ===== */
.subtitle { max-width: 560px; margin: 12px auto 0; color: var(--ink-soft); }
.form-card { padding-top: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-weight: 800; color: var(--navy); font-size: .95rem; }
.field label .opt { font-weight: 600; color: var(--ink-mute); }
.field label .req { color: #e8445a; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: 600 1rem var(--sans);
  color: var(--ink);
  background: #faf8ff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(123,97,255,.15); }
.captcha-row { display: flex; align-items: center; gap: 12px; }
.captcha-row .question { font-weight: 800; color: var(--navy); white-space: nowrap; }
.captcha-row input { width: 110px; }
.hint { margin-top: 6px; font-size: .85rem; color: var(--ink-mute); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-btn {
  display: inline-block;
  padding: 13px 30px;
  font: 600 1.1rem var(--display);
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(123,97,255,.3);
  cursor: pointer;
  transition: transform .15s;
}
.submit-btn:hover { transform: translateY(-2px); }
.submit-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.notice { max-width: 740px; margin: 22px auto 0; padding: 16px 20px; border-radius: 18px; }
.notice.success { background: #e3f8ee; border: 1.5px solid #9fe0bf; color: #1d5b3e; text-align: center; }
.notice.error { background: #ffeef1; border: 1.5px solid #f7b8c3; color: #9b2335; margin-bottom: -8px; }
.notice.error + .notice.error { margin-top: 10px; }
.notice strong { display: block; font-family: var(--display); font-size: 1.2rem; }
.faq h2:first-child { margin-top: 0; }
.faq .q { margin: 18px 0 4px; font-weight: 800; color: var(--navy); }
@media (max-width: 620px) {
  .notice { margin-left: 12px; margin-right: 12px; }
}
