/* IndigiTrail Terms & Conditions and registration consent */
body.it-auth-page .it-auth-terms-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 4px 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(31, 90, 58, .15);
  border-radius: 14px;
  background: rgba(31, 90, 58, .045);
  color: #4f554f;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}
body.it-auth-page .it-auth-terms-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #1f633f;
  cursor: pointer;
}
body.it-auth-page .it-auth-terms-consent a,
body.it-auth-page .it-auth-legal-links a {
  color: #1d623f;
  font-weight: 800;
  text-decoration: none;
}
body.it-auth-page .it-auth-terms-consent a:hover,
body.it-auth-page .it-auth-legal-links a:hover { text-decoration: underline; }
body.it-auth-page .it-auth-legal-links {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
}

body.it-terms-page {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 4%, rgba(35, 104, 67, .08), transparent 24%),
    radial-gradient(circle at 88% 96%, rgba(151, 101, 46, .08), transparent 24%),
    #f8f3ea;
  color: #332c25;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.it-terms-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(118, 83, 48, .12);
  background: rgba(248, 243, 234, .94);
  backdrop-filter: blur(14px);
}
.it-terms-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.it-terms-brand img { width: 46px; height: 46px; object-fit: contain; }
.it-terms-brand strong { color: #174b32; font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
.it-terms-back {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(31, 90, 58, .18);
  border-radius: 999px;
  color: #194f35;
  background: #fffdf8;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(69, 51, 31, .05);
}
.it-terms-back:hover { background: #f2f7f2; }
.it-terms-main { width: min(100% - 32px, 980px); margin: 0 auto; padding: 44px 0 64px; }
.it-terms-hero { margin-bottom: 24px; }
.it-terms-kicker { margin: 0 0 8px; color: #8c633d; font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.it-terms-hero h1 { margin: 0; color: #12442d; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 6vw, 62px); line-height: 1; letter-spacing: -.025em; }
.it-terms-updated { margin: 12px 0 0; color: #746d65; font-size: 13px; }
.it-terms-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(130, 93, 54, .16);
  border-radius: 24px;
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 20px 48px rgba(76, 54, 29, .08);
}
.it-terms-intro {
  margin: 0 0 26px;
  padding: 16px 18px;
  border-left: 4px solid #246b45;
  border-radius: 0 14px 14px 0;
  background: rgba(31, 99, 63, .055);
  color: #455149;
  line-height: 1.65;
}
.it-terms-section + .it-terms-section { margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(121, 91, 58, .12); }
.it-terms-section h2 { margin: 0 0 10px; color: #174b32; font-size: 19px; }
.it-terms-section p { margin: 0 0 10px; color: #514b45; line-height: 1.72; }
.it-terms-section ul { margin: 10px 0 0; padding-left: 22px; color: #514b45; line-height: 1.72; }
.it-terms-section li + li { margin-top: 6px; }
.it-terms-note {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f3eadc;
  color: #5e5144;
  font-size: 13px;
  line-height: 1.6;
}
.it-terms-footer { padding: 0 20px 32px; color: #797168; text-align: center; font-size: 12px; }
@media (max-width: 640px) {
  .it-terms-header { padding: 12px 16px; }
  .it-terms-brand strong { font-size: 18px; }
  .it-terms-back { padding: 0 12px; }
  .it-terms-main { width: min(100% - 22px, 980px); padding-top: 28px; }
  .it-terms-card { border-radius: 19px; }
}
