/* Meetzen — Help / About / Contact / Privacy / Terms shared styles */

/* Search input on help page */
.doc-search {
  max-width: 520px; margin: 0 auto var(--s-7);
}
.doc-search .input {
  width: 100%; padding: 14px 18px; font-size: var(--fs-md);
  border-radius: var(--r-pill); border: 1.5px solid var(--c-line);
  background: var(--c-surface);
}
.doc-search .input:focus { outline: 2px solid var(--c-brand-500); outline-offset: 2px; }

/* Category cards (help landing) */
.doc-cat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4); margin-bottom: var(--s-9);
}
@media (max-width: 700px) { .doc-cat-grid { grid-template-columns: 1fr; } }
.doc-cat {
  display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-5); border-radius: var(--r-lg);
  background: var(--c-surface); border: 1px solid var(--c-line);
  color: inherit; text-decoration: none;
  transition: border-color .15s, transform .12s;
}
.doc-cat:hover { border-color: var(--c-brand-500); transform: translateY(-2px); }
.doc-cat-ico {
  width: 48px; height: 48px; border-radius: var(--r-lg);
  display: grid; place-items: center; color: #fff; font-size: 22px;
  flex: 0 0 auto;
}

/* Sections (FAQ style or prose) */
.doc-section {
  margin: var(--s-8) 0;
  padding-top: var(--s-7); border-top: 1px solid var(--c-line-soft);
}
.doc-section:first-of-type { border-top: 0; padding-top: 0; }
.doc-section h3 {
  font-size: var(--fs-xl); font-weight: 700;
  margin-bottom: var(--s-5);
}
.doc-section h4 {
  font-size: var(--fs-md); font-weight: 700;
  margin: var(--s-5) 0 var(--s-2);
}
.doc-section p,
.doc-section li {
  font-size: var(--fs-md); line-height: 1.7;
  color: var(--c-text-soft);
}
.doc-section p { margin-bottom: var(--s-3); }
.doc-section ul, .doc-section ol { margin: var(--s-3) 0; padding-left: var(--s-6); }
.doc-section li { margin-bottom: var(--s-2); }
.doc-section a { color: var(--c-brand-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.doc-section a:hover { color: var(--c-brand-700); }

/* Accordion-style details */
.doc-section details {
  border: 1px solid var(--c-line-soft); border-radius: var(--r-md);
  padding: var(--s-3) var(--s-5); margin-bottom: var(--s-3);
  background: var(--c-surface);
  transition: border-color .15s, background .15s;
}
.doc-section details[open] { border-color: var(--c-brand-300); background: var(--c-surface); }
.doc-section details summary {
  cursor: pointer; font-weight: 600; color: var(--c-text);
  list-style: none; position: relative;
  padding-right: var(--s-6);
}
.doc-section details summary::-webkit-details-marker { display: none; }
.doc-section details summary::after {
  content: "+"; position: absolute; right: 0; top: 0;
  font-size: 20px; font-weight: 400; line-height: 1;
  color: var(--c-text-mute); transition: transform .2s;
}
.doc-section details[open] summary::after { content: "−"; transform: rotate(0deg); }
.doc-section details p { margin: var(--s-3) 0 0; }

/* CTA box */
.doc-cta {
  margin-top: var(--s-10);
  padding: var(--s-7); border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--c-brand-50), var(--c-surface));
  border: 1px solid var(--c-brand-100);
  text-align: center;
}
.doc-cta h3 { font-size: var(--fs-xl); margin-bottom: var(--s-2); }
.doc-cta p  { color: var(--c-text-mute); margin-bottom: var(--s-4); }

/* Contact form */
.contact-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-7);
  align-items: start;
}
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-form {
  padding: var(--s-6); border-radius: var(--r-xl);
  background: var(--c-surface); border: 1px solid var(--c-line);
}
.contact-form .field { margin-bottom: var(--s-4); }
.contact-form .field label { display: block; font-weight: 600; margin-bottom: var(--s-2); font-size: var(--fs-sm); }
.contact-form .input,
.contact-form .textarea,
.contact-form .select {
  width: 100%;
}

.contact-side {
  padding: var(--s-6); border-radius: var(--r-xl);
  background: var(--c-bg-soft); border: 1px solid var(--c-line-soft);
}
.contact-side .ci-row {
  display: flex; gap: var(--s-3); align-items: flex-start;
  padding: var(--s-3) 0; border-top: 1px solid var(--c-line-soft);
}
.contact-side .ci-row:first-of-type { border-top: 0; }
.contact-side .ci-ico {
  width: 36px; height: 36px; border-radius: var(--r-md);
  background: var(--c-brand-100); color: var(--c-brand-700);
  display: grid; place-items: center; flex: 0 0 auto;
  font-size: 18px;
}
.contact-side .ci-row strong { display: block; margin-bottom: 2px; }
.contact-side .ci-row a { color: inherit; }

/* About page extras */
.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
  margin: var(--s-7) 0;
}
@media (max-width: 700px) { .about-stats { grid-template-columns: repeat(2, 1fr); } }
.about-stat {
  text-align: center; padding: var(--s-5);
  border-radius: var(--r-lg); background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
}
.about-stat .n { font-size: 30px; font-weight: 800; color: var(--c-brand-600); letter-spacing: -.01em; }
.about-stat .l { font-size: var(--fs-sm); color: var(--c-text-mute); margin-top: 4px; }

.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5);
  margin-top: var(--s-6);
}
@media (max-width: 820px){ .values-grid { grid-template-columns: 1fr; } }
.value {
  padding: var(--s-5); border-radius: var(--r-lg);
  background: var(--c-surface); border: 1px solid var(--c-line-soft);
}
.value .em { font-size: 28px; margin-bottom: var(--s-3); }
.value h4 { font-size: var(--fs-md); margin-bottom: var(--s-2); }
.value p  { font-size: var(--fs-sm); color: var(--c-text-mute); line-height: 1.6; }

/* Legal pages — table of contents */
.legal-toc {
  background: var(--c-bg-soft); border: 1px solid var(--c-line-soft);
  border-radius: var(--r-lg); padding: var(--s-5);
  margin-bottom: var(--s-8);
}
.legal-toc h4 { font-size: var(--fs-sm); font-weight: 700; color: var(--c-text-mute); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--s-3); }
.legal-toc ol { columns: 2; column-gap: var(--s-6); padding-left: var(--s-5); margin: 0; }
@media (max-width: 700px){ .legal-toc ol { columns: 1; } }
.legal-toc li { font-size: var(--fs-sm); margin-bottom: 4px; }
.legal-meta {
  font-size: var(--fs-sm); color: var(--c-text-mute); margin-bottom: var(--s-6);
}

/* Footer */
.doc-footer {
  padding: var(--s-9) 0 var(--s-7);
  background: var(--c-bg-soft); border-top: 1px solid var(--c-line-soft);
  margin-top: var(--s-10);
}
.doc-foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-7);
}
@media (max-width: 820px){ .doc-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .doc-foot-grid { grid-template-columns: 1fr; } }
.doc-foot-grid h4 { font-size: var(--fs-sm); font-weight: 700; margin-bottom: var(--s-3); }
.doc-foot-grid a { display: block; color: var(--c-text-mute); padding: 4px 0; font-size: var(--fs-sm); }
.doc-foot-grid a:hover { color: var(--c-text); }
.doc-foot-bottom {
  text-align: center; font-size: var(--fs-sm);
  margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px solid var(--c-line-soft);
}
