/* ================================================================
   ScopeDue — page-static.css
   Static / Legal / Help pages (Group 6: ~15 pages)
   /help/, /legal/, /company/, /security/, /status/, /pricing/
   ================================================================ */

/* ── Legal document typography ──────────────────────────────────── */
.legal-doc h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin-top: var(--s8);
  padding-top: var(--s5);
  border-top: 1px solid var(--border-subtle);
  counter-increment: lsection;
}
.legal-doc h2::before {
  content: counter(lsection) ". ";
  color: var(--text-subtle);
  font-weight: 400;
  font-size: .95em;
}
.legal-doc { counter-reset: lsection; }
.legal-doc p, .legal-doc li { font-size: .94rem; line-height: 1.75; max-width: var(--prose); }
.legal-doc ul, .legal-doc ol { margin-bottom: var(--s4); }
.legal-meta {
  padding: var(--s3) var(--s4);
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: var(--s6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
}
.legal-meta strong { color: var(--text); }

/* ── Help center layout ─────────────────────────────────────────── */
.help-search {
  display: flex;
  gap: var(--s2);
  max-width: 480px;
  margin: var(--s5) 0;
}
.help-search input {
  flex: 1;
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  padding: .65rem 1rem;
  font-family: var(--f-body);
  font-size: .94rem;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  background: var(--surface);
  color: var(--text);
}
.help-search input:focus { border-color: var(--ink-mid); box-shadow: 0 0 0 3px rgba(79,70,229,.1); }
.help-search button {
  padding: .65rem 1.2rem;
  border-radius: var(--r);
  background: var(--text);
  color: #fff;
  border: none;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  transition: background .15s;
}
.help-search button:hover { background: var(--ink); }

.help-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  margin: var(--s5) 0;
}
.help-category-card {
  padding: var(--s4);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  text-decoration: none;
  display: block;
  transition: border-color .2s, box-shadow .2s;
}
.help-category-card:hover { border-color: var(--ink-border); box-shadow: var(--sh-xs); text-decoration: none; }
.help-category-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--ink-soft);
  border: 1px solid var(--ink-border);
  display: grid;
  place-items: center;
  font-size: .95rem;
  margin-bottom: var(--s3);
}
.help-category-card h3 { font-size: .92rem; color: var(--text); margin-bottom: var(--s2); }
.help-category-card p  { font-size: .82rem; color: var(--text-muted); margin: 0; }

/* ── About page: founder/team block ─────────────────────────────── */
.about-team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  margin: var(--s5) 0;
}
.about-person {
  padding: var(--s4) var(--s5);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
}
.about-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink-soft), var(--ink-border));
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: var(--s3);
}
.about-person-name { font-family: var(--f-display); font-weight: 700; font-size: .95rem; color: var(--text); }
.about-person-role { font-size: .8rem; color: var(--text-muted); margin-bottom: var(--s3); }
.about-person p    { font-size: .88rem; color: var(--text-body); margin: 0; line-height: 1.6; }

/* ── Contact page layout ────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--s6);
  align-items: start;
  margin: 0 0 var(--s8);
}

.contact-info-panel {
  padding: var(--s5);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-tint);
  position: sticky;
  top: calc(var(--nav-h) + var(--s4));
}

.contact-email-pill {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem var(--s4);
  border: 1.5px solid var(--ink-border);
  border-radius: var(--r-sm);
  background: var(--ink-soft);
  color: var(--ink);
  font-weight: 600;
  font-size: .875rem;
  text-decoration: none;
  margin-bottom: var(--s5);
  transition: background .15s, color .15s;
}
.contact-email-pill:hover { background: var(--ink); color: #fff; text-decoration: none; }
.contact-email-pill svg { flex-shrink: 0; }
.contact-address { align-items: flex-start; cursor: default; }
.contact-address:hover { background: var(--ink-soft); color: var(--ink-mid); }

.contact-info-label {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .72rem;
  color: var(--text-muted);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin: 0 0 var(--s2);
}

.contact-quick-links { display: grid; gap: .45rem; margin-top: var(--s5); }
.contact-quick-links a { font-size: .875rem; color: var(--text-muted); font-weight: 500; }
.contact-quick-links a:hover { color: var(--ink); text-decoration: none; }

/* ── Contact form card ──────────────────────────────────────────── */
.contact-form-card {
  padding: var(--s6);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--sh-sm);
  display: grid;
  gap: var(--s5);
}

.contact-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}

.cfield { display: grid; gap: var(--s2); }

.cfield label {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .72rem;
  color: var(--text-muted);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.cfield input,
.cfield select,
.cfield textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-family: var(--f-body);
  font-size: .94rem;
  color: var(--text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.cfield input:focus,
.cfield select:focus,
.cfield textarea:focus {
  border-color: var(--ink-mid);
  box-shadow: 0 0 0 3px rgba(79,70,229,.1);
}
.cfield input::placeholder,
.cfield textarea::placeholder { color: var(--text-subtle); }
.cfield textarea { min-height: 160px; resize: vertical; line-height: 1.65; }
.cfield select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2368687a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.5rem;
}

.contact-form-footer { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }

/* ── FAQ list ───────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 0; margin: var(--s4) 0; }
.faq-list div {
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--border-subtle);
  display: grid;
  gap: var(--s2);
}
.faq-list div:last-child { border-bottom: none; }
.faq-list dt { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--text); }
.faq-list dd { margin: 0; color: var(--text-muted); font-size: .94rem; line-height: 1.65; max-width: var(--prose); }

/* ── Status page ────────────────────────────────────────────────── */
.status-grid {
  display: grid;
  gap: .5rem;
  margin: var(--s5) 0;
}
.status-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: .75rem var(--s4);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
}
.status-row-name { font-weight: 600; font-size: .9rem; color: var(--text); }

/* ── Pricing page ───────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
  margin: var(--s5) 0;
}
.pricing-card {
  padding: var(--s5);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--ink-border);
  background: var(--ink-soft);
  box-shadow: var(--sh-sm);
}
.pricing-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  padding: .2rem .75rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: .7rem;
  font-weight: 700;
  font-family: var(--f-display);
  letter-spacing: .06em;
  white-space: nowrap;
}
.pricing-name { font-family: var(--f-display); font-weight: 800; font-size: 1rem; color: var(--text); }
.pricing-amount {
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.05em;
  line-height: 1;
  margin: var(--s3) 0 var(--s2);
}
.pricing-amount sup { font-size: 1.1rem; vertical-align: top; margin-top: .35rem; font-weight: 700; }
.pricing-amount .per { font-size: .85rem; color: var(--text-muted); font-weight: 400; }
.pricing-desc { font-size: .86rem; color: var(--text-muted); margin-bottom: var(--s4); }
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s5);
  display: grid;
  gap: .45rem;
}
.pricing-features li {
  font-size: .86rem;
  color: var(--text-body);
  padding-left: 1.4rem;
  position: relative;
  margin: 0;
}
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .help-categories { grid-template-columns: repeat(2, 1fr); }
  .about-team { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-panel { position: static; }
}
@media (max-width: 560px) {
  .help-categories { grid-template-columns: 1fr; }
  .contact-row-2 { grid-template-columns: 1fr; }
  .contact-form-card { padding: var(--s4); }
}

/* Extracted inline utilities. */

/* Extracted contact page styles. */
.contact-hero {
  background: var(--bg-tint);
  border-bottom: 1px solid var(--border);
  padding: var(--s8) 0 var(--s7);
}
.contact-hero-inner {
  width: min(100% - 2.5rem, var(--prose));
  margin: 0 auto;
}
.contact-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: var(--s3);
}
.contact-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--s3);
  line-height: 1.1;
}
.contact-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-body {
  padding: var(--s8) 0;
}
.contact-body-inner {
  width: min(100% - 2.5rem, var(--prose));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s7);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  padding: var(--s6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--sh-xs);
  transition: box-shadow .2s, border-color .2s;
}
.contact-card:hover {
  box-shadow: var(--sh-sm);
  border-color: var(--ink-border);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-soft);
  border-radius: var(--r-sm);
  color: var(--ink-mid);
  flex-shrink: 0;
}
.contact-card-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card-content h3 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: var(--s2);
}
.contact-card-content address,
.contact-card-content a {
  font-style: normal;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.55;
  text-decoration: none;
}
.contact-card-content a:hover {
  color: var(--ink-mid);
  text-decoration: underline;
}

.contact-note {
  padding: var(--s5) var(--s6);
  background: var(--surface-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
}
.contact-note p {
  font-size: .9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .contact-cards { grid-template-columns: 1fr; }
}
