/* SlimSet auxiliary pages — privacy, terms, contact, support, refund */

:root {
  --milk:          #F7F4EE;
  --milk-haze:     #FBF8F3;
  --white:         #FFFFFF;
  --plum:          #2A2140;
  --plum-deeper:   #1E1830;
  --plum-shadow:   #5E2850;
  --orchid:        #8C3A6B;
  --violet:        #6B5F8C;
  --lavender:      #A79BC2;
  --lavender-soft: #EFEBF6;
  --teal:          #2FA98C;
  --ink:           #2A2140;
  --muted:         #6E6580;
  --line:          #E6E0F0;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Nunito Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

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

/* ===== BRAND BAR ===== */
.brand-bar {
  background: linear-gradient(135deg, var(--plum), var(--plum-shadow));
  padding: 16px 24px;
  text-align: center;
}
.brand-bar h1 {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .5px;
  color: #fff;
}
.brand-bar h1 .brand-slim { color: #fff; font-weight: 600; }
.brand-bar h1 .brand-set { color: #6ED9BC; font-weight: 400; }

/* ===== PAGE HERO ===== */
.page-hero { padding: 60px 24px 30px; text-align: center; }
.page-hero h2 {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(36px, 5.6vw, 58px);
  font-weight: 600;
  color: var(--plum);
  line-height: 1.05;
}
.page-hero .page-sub { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

/* ===== LEGAL / LONG-FORM BODY ===== */
main.legal {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 40px 60px;
}
main.legal p { text-align: justify; margin: 0 0 16px; }
main.legal p > b:first-child,
main.legal p > strong:first-child {
  display: block;
  margin-top: 28px;
  margin-bottom: 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--plum);
}
main.legal h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--plum);
  margin: 30px 0 10px;
}
main.legal ul, main.legal ol { margin: 0 0 16px 24px; }
main.legal li { margin-bottom: 6px; }
main.legal a { color: var(--orchid); font-weight: 600; }

.legal-note {
  background: var(--lavender-soft);
  border-left: 5px solid var(--violet);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 24px 0;
}
.legal-note p { margin: 0; text-align: left; font-size: 15px; }

/* ===== CONTACT TABLE ===== */
.contact-table {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 40px;
}
.contact-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.contact-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.contact-table tr:nth-child(odd) td { background: var(--milk-haze); }
.contact-table tr:last-child td { border-bottom: none; }
.contact-table .label { width: 40%; font-weight: 700; color: var(--plum); }
.contact-table .label small {
  display: block; margin-top: 2px;
  color: var(--muted); font-weight: 400; font-size: 14px;
}
.contact-table .value { font-weight: 700; color: var(--plum); }
.contact-table .value a { color: var(--orchid); }

/* ===== CONTACT FORM ===== */
.contact-form-wrap { max-width: 1100px; margin: 0 auto 50px; padding: 0 40px; }
.contact-form {
  background: var(--milk-haze);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 32px;
}
.contact-form h3 {
  font-family: 'Oswald', sans-serif; font-size: 24px; font-weight: 600;
  color: var(--plum); margin: 0 0 6px;
}
.contact-form .form-hint { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: 'Oswald', sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: .8px; text-transform: uppercase; color: var(--plum-shadow);
}
.form-field label .req { color: var(--orchid); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: 'Nunito Sans', Arial, sans-serif;
  font-size: 15.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(107,95,140,.16);
}
.form-submit {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 20px; padding: 15px 34px;
  font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: #fff; background: var(--orchid);
  border: none; border-radius: 10px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(140,58,107,.28);
  transition: background .2s, transform .15s;
}
.form-submit:hover { background: var(--plum-shadow); transform: translateY(-1px); }
.form-status { margin-top: 14px; font-size: 14.5px; font-weight: 600; color: var(--teal); }

/* ===== TABS (support hub) ===== */
.tabs {
  max-width: 1100px;
  margin: 30px auto 0;
  padding: 0 40px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  border-bottom: 3px solid var(--plum);
  gap: 0;
}
.tab {
  background: none;
  border: 3px solid transparent;
  border-bottom: 0;
  padding: 14px 36px;
  font-family: 'Oswald', sans-serif;
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  margin-bottom: -3px;
  transition: color .15s;
}
.tab:hover { color: var(--orchid); }
.tab.active {
  color: var(--plum);
  border-color: var(--plum);
  border-bottom: 3px solid #fff;
  background: #fff;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-title {
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 600;
  color: var(--plum);
  margin: 40px 0 24px;
}

/* ===== FAQ ACCORDION ===== */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 20px 40px 20px 0;
  font-family: 'Nunito Sans', Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--plum);
  cursor: pointer;
  position: relative;
}
.faq-question::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--violet);
  border-bottom: 2px solid var(--violet);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s;
}
.faq-item.open .faq-question::after { transform: translateY(-30%) rotate(-135deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0;
}
.faq-item.open .faq-answer { max-height: 800px; padding: 0 0 20px; }
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ===== FOOTER ===== */
.bg-footer {
  background-color: var(--plum-deeper);
  color: #fff;
  padding: 3rem 1.5rem;
  margin-top: 60px;
  overflow-x: hidden;
}
.bg-footer__container { max-width: 960px; margin: 0 auto; overflow-x: hidden; }
.bg-footer__links {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
  text-align: center;
}
.bg-footer__links a { color: #fff; font-size: .95rem; font-weight: 600; text-decoration: none; }
.bg-footer__links a:hover { color: var(--lavender); text-decoration: underline; }
.bg-footer__disclaimer {
  color: rgba(255,255,255,.78);
  text-align: justify;
  font-size: .78rem;
  line-height: 1.45;
  margin: 0 0 1rem;
}
.bg-footer #disclaimer,
.bg-footer #disclaimer * { color: #fff !important; }

#disclaimer { display: block; width: 100%; max-width: 820px; margin: 0 auto; overflow: hidden; }
#disclaimer * { max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
#disclaimer img { height: auto !important; }

@media (max-width: 767px) {
  .page-hero { padding: 40px 20px 20px; }
  main.legal,
  .contact-table,
  .contact-form-wrap,
  .tabs { padding-left: 20px; padding-right: 20px; }
  .tab { padding: 12px 18px; font-size: 17px; }

  /* The contact table cannot shrink past its content on a phone — a 40% label plus
     an unbreakable support@… address pushed the page ~32px wide. Each row becomes
     a block instead: label above value, full width, no horizontal pressure. */
  .contact-table table { display: block; }
  .contact-table tbody,
  .contact-table tr { display: block; }
  .contact-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }
  .contact-table tr:last-child { border-bottom: none; }
  .contact-table tr:nth-child(odd) { background: var(--milk-haze); }
  .contact-table tr:nth-child(odd) td { background: none; }
  .contact-table td {
    display: block; width: auto;
    padding: 0; border-bottom: none;
  }
  .contact-table .label { width: auto; margin-bottom: 4px; }
  .contact-table .value,
  .contact-table .value a { overflow-wrap: anywhere; }
  .contact-form { padding: 22px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .bg-footer { padding: 2rem 1rem; }
  .bg-footer__links { gap: .5rem 1rem; }
  #disclaimer table,
  #disclaimer tbody,
  #disclaimer tr,
  #disclaimer td,
  #disclaimer div { width: 100% !important; display: block !important; }
  #disclaimer td { padding: 8px !important; }
  #disclaimer img { display: block !important; margin: 0 auto 8px !important; }
}
