/* =====================================================
   TOOLSLIGHT TRUST PAGES
   Loaded only on About, Contact, Privacy, Terms, and Disclaimer.
   ===================================================== */

.tl-trust-page-view #page,
.tl-trust-page-view .site.grid-container,
.tl-trust-page-view .site-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.tl-trust-page-view #primary,
.tl-trust-page-view .content-area,
.tl-trust-page-view .site-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.tl-trust-page-view .inside-article,
.tl-trust-page-view .entry-content {
  margin: 0;
  padding: 0;
  background: transparent;
}

.tl-trust-page-view .entry-header,
.tl-trust-page-view .widget-area {
  display: none;
}

.tl-trust-page {
  min-height: 70vh;
  background: var(--bg-body);
  color: var(--text-primary);
}

.tl-trust-hero {
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.tl-trust-hero-inner {
  padding-top: 28px;
  padding-bottom: 54px;
  text-align: center;
}

.tl-trust-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 38px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}

.tl-trust-breadcrumb a {
  color: var(--text-secondary);
  transition: color .16s ease;
}

.tl-trust-breadcrumb a:hover,
.tl-trust-breadcrumb a:focus-visible {
  color: var(--accent-text);
}

.tl-trust-eyebrow {
  margin: 0 0 10px;
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.tl-trust-hero h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.tl-trust-intro {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.72;
}

.tl-trust-updated {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.tl-trust-content {
  max-width: 900px;
  padding-top: 54px;
  padding-bottom: 76px;
}

.tl-trust-section + .tl-trust-section,
.tl-trust-card-grid + .tl-trust-section,
.tl-trust-summary + .tl-trust-section {
  margin-top: 38px;
}

.tl-trust-section h2,
.tl-trust-callout h2 {
  margin: 0 0 12px;
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.28;
}

.tl-trust-section h3 {
  margin: 24px 0 8px;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.4;
}

.tl-trust-section p,
.tl-trust-section li,
.tl-trust-callout p,
.tl-trust-summary p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.78;
}

.tl-trust-section p + p {
  margin-top: 12px;
}

.tl-trust-section ul,
.tl-trust-section ol {
  margin: 12px 0 0 22px;
}

.tl-trust-section li + li {
  margin-top: 8px;
}

.tl-trust-section strong {
  color: var(--text-primary);
  font-weight: 700;
}

.tl-trust-section a,
.tl-contact-note a {
  color: var(--accent-text);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent-text) 42%, transparent);
  text-underline-offset: 3px;
}

.tl-trust-section a:hover,
.tl-trust-section a:focus-visible,
.tl-contact-note a:hover,
.tl-contact-note a:focus-visible {
  color: var(--accent-text);
  text-decoration-color: currentColor;
}

.tl-trust-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 38px 0;
}

.tl-trust-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.tl-trust-card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 11px;
  background: var(--accent-bg);
  color: var(--accent-text);
  font-size: 20px;
}

.tl-trust-card h2 {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -.015em;
  line-height: 1.35;
}

.tl-trust-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
}

.tl-trust-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 42px;
  padding: 26px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.tl-trust-callout h2 {
  margin-bottom: 6px;
  font-size: 19px;
}

.tl-trust-button,
.tl-trust-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.tl-trust-button:hover,
.tl-trust-button:focus-visible,
.tl-trust-submit:hover,
.tl-trust-submit:focus-visible {
  border-color: var(--accent-hover);
  outline: none;
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.tl-trust-summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--accent-bg);
}

.tl-trust-summary > i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--accent-text);
  font-size: 22px;
}

.tl-trust-summary strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.4;
}

.tl-trust-summary.is-warning {
  background: var(--icon-orange-bg);
}

.tl-trust-summary.is-warning > i {
  color: var(--icon-orange);
}

/* Contact page */
.tl-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 38px;
  align-items: start;
}

.tl-contact-aside {
  min-width: 0;
}

.tl-contact-reasons {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  list-style: none;
}

.tl-contact-reasons li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.tl-contact-reasons i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-bg);
  color: var(--accent-text);
  font-size: 18px;
}

.tl-contact-reasons span {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.6;
}

.tl-contact-reasons strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 750;
}

.tl-contact-note {
  margin: 20px 0 0;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.65;
}

.tl-contact-form {
  position: relative;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.tl-contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tl-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tl-form-field + .tl-form-field,
.tl-form-grid + .tl-form-field,
.tl-form-field + .tl-form-consent {
  margin-top: 18px;
}

.tl-form-grid .tl-form-field + .tl-form-field {
  margin-top: 0;
}

.tl-form-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

.tl-form-field label span {
  color: var(--icon-orange);
}

.tl-form-field input,
.tl-form-field select,
.tl-form-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  background: var(--bg-body);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.5;
  transition: border-color .16s ease, background .16s ease;
}

.tl-form-field input,
.tl-form-field select {
  min-height: 46px;
  padding: 0 13px;
}

.tl-form-field textarea {
  min-height: 164px;
  padding: 12px 13px;
  resize: vertical;
}

.tl-form-field input:focus,
.tl-form-field select:focus,
.tl-form-field textarea:focus {
  border-color: var(--accent);
  background: var(--bg-card);
}

.tl-form-field textarea::placeholder {
  color: var(--text-muted);
}

.tl-form-field small {
  display: block;
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.tl-form-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  cursor: pointer;
}

.tl-form-consent input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.tl-form-consent span {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.58;
}

.tl-trust-submit {
  width: 100%;
  margin-top: 20px;
}

.tl-trust-alert {
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.tl-trust-alert.is-success {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  background: var(--accent-bg);
}

.tl-trust-alert.is-error {
  border-color: color-mix(in srgb, var(--icon-orange) 35%, var(--border));
  background: var(--icon-orange-bg);
}

@media (max-width: 760px) {
  .tl-trust-hero-inner {
    padding-top: 22px;
    padding-bottom: 42px;
  }

  .tl-trust-breadcrumb {
    margin-bottom: 28px;
  }

  .tl-trust-content {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .tl-trust-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tl-trust-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .tl-trust-button {
    width: 100%;
  }

  .tl-contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
}

@media (max-width: 520px) {
  .tl-trust-hero h1 {
    font-size: 32px;
  }

  .tl-trust-intro {
    font-size: 15px;
  }

  .tl-trust-section h2 {
    font-size: 20px;
  }

  .tl-trust-card,
  .tl-trust-callout,
  .tl-contact-form {
    padding: 20px;
  }

  .tl-trust-summary {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }

  .tl-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tl-form-grid .tl-form-field + .tl-form-field {
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tl-trust-breadcrumb a,
  .tl-trust-button,
  .tl-trust-submit,
  .tl-form-field input,
  .tl-form-field select,
  .tl-form-field textarea {
    transition: none;
  }
}

