/* TrustCredit — shared styles for Legal & Support pages */
:root {
  --blue: #2317e6;
  --blue-600: #1f12d6;
  --ink: #0b0b12;
  --muted: #5b5f6e;
  --muted-2: #8b8f9c;
  --bg: #ffffff;
  --surface: #f6f6fb;
  --line: #ececf3;
  --green: #16a34a;
  --radius: 18px;
  --maxw: 1160px;
  --dot: #e9e9f2;
}

* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none }
img { max-width: 100%; display: block }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px }

/* NAV */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line)
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; max-width: var(--maxw); margin: 0 auto }
.brand { display: flex; align-items: center; gap: 10px }
.brand-logo { height: 30px; width: auto; display: block }
.nav-links { display: flex; gap: 28px; font-weight: 600; color: var(--muted); font-size: 15px }
.nav-links a:hover { color: var(--ink) }
.nav-right { display: flex; align-items: center; gap: 14px }
.lang { display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14px }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border-radius: 12px; cursor: pointer; border: 0; transition: .18s ease; font-family: inherit }
.btn-primary { background: var(--blue); color: #fff; padding: 12px 20px; font-size: 15px; box-shadow: 0 8px 22px rgba(35, 23, 230, .28) }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-1px) }
.nav-cta { padding: 10px 18px }

/* PAGE HERO */
.page-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(900px 400px at 50% -20%, #efeefc 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(#fbfbfe, #fff);
  border-bottom: 1px solid var(--line)
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.2px);
  background-size: 26px 26px; opacity: .55; mask-image: linear-gradient(#000, transparent 90%)
}
.page-hero .wrap { position: relative; padding: 56px 20px 46px; text-align: center }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); color: var(--blue); font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; box-shadow: 0 6px 18px rgba(20, 20, 60, .05) }
.page-hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; margin: 22px auto 0; max-width: 20ch }
.page-hero p { color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); font-weight: 500; max-width: 54ch; margin: 16px auto 0 }
.updated { display: inline-block; margin-top: 20px; color: var(--muted-2); font-weight: 600; font-size: 14px; background: var(--surface); border: 1px solid var(--line); padding: 6px 16px; border-radius: 999px }

/* CONTENT */
.page-body { padding: 56px 20px 80px }
.page-body .wrap { max-width: 820px }
.prose h2 { font-size: clamp(22px, 3vw, 28px); letter-spacing: -.02em; font-weight: 800; margin: 40px 0 14px }
.prose h2:first-child { margin-top: 0 }
.prose h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin: 26px 0 10px }
.prose p { color: #30333f; font-weight: 450; margin: 0 0 14px }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px }
.prose li { color: #30333f; margin: 0 0 8px }
.prose a { color: var(--blue); font-weight: 600 }
.prose a:hover { text-decoration: underline }
.prose strong { font-weight: 700 }
.note {
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--blue);
  border-radius: 12px; padding: 16px 20px; margin: 20px 0; color: var(--muted); font-size: 15px
}
.placeholder { color: var(--blue); font-weight: 700 }

/* CARD GRIDS (help / status / security) */
.cardgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px }
.cardgrid.two { grid-template-columns: repeat(2, 1fr) }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .18s ease }
.pcard:hover { box-shadow: 0 14px 34px rgba(20, 20, 60, .07); transform: translateY(-3px) }
.pcard .ic { width: 52px; height: 52px; border-radius: 14px; background: #efeefc; color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 18px }
.pcard h3 { font-size: 19px; letter-spacing: -.01em; margin-bottom: 8px }
.pcard p { color: var(--muted); font-weight: 500; font-size: 15px; margin: 0 }

/* STATUS */
.status-banner { display: flex; align-items: center; gap: 14px; background: #ecfdf3; border: 1px solid #c7f0d8; color: #0f7a3d; font-weight: 700; border-radius: var(--radius); padding: 20px 24px; font-size: 18px }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, .18) }
.status-list { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden }
.status-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; background: #fff; border-top: 1px solid var(--line) }
.status-row:first-child { border-top: 0 }
.status-row .svc { font-weight: 600 }
.status-row .ok { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 700; font-size: 14px }

/* CONTACT FORM */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start }
.field { margin-bottom: 16px }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: .15s ease
}
.field textarea { min-height: 130px; resize: vertical }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(35, 23, 230, .12) }
.contact-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px }
.contact-side h3 { font-size: 18px; margin-bottom: 14px }
.contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px }
.contact-item .ci { width: 40px; height: 40px; border-radius: 10px; background: #efeefc; color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0 }
.contact-item b { display: block; font-size: 15px }
.contact-item span { color: var(--muted); font-size: 14px }

/* FOOTER */
footer { border-top: 1px solid var(--line); background: #fff }
.foot-top { max-width: var(--maxw); margin: 0 auto; padding: 56px 20px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px }
.foot-brand .brand { margin-bottom: 16px }
.foot-brand p { color: var(--muted); font-weight: 500; max-width: 34ch }
.fcol h5 { font-size: 15px; font-weight: 800; margin-bottom: 16px; letter-spacing: -.01em }
.fcol a { display: block; color: var(--muted); font-weight: 500; font-size: 15px; margin-bottom: 12px }
.fcol a:hover { color: var(--blue) }
.foot-bottom { border-top: 1px solid var(--line); background: var(--surface) }
.foot-bottom .wrap { padding: 36px 20px 52px; text-align: center }
.copy { color: var(--muted); font-weight: 600; font-size: 17px; margin-bottom: 16px }
.legal { color: var(--muted-2); font-size: 13px; line-height: 1.7; max-width: 74ch; margin: 0 auto }

@media(max-width:920px) {
  .nav-links { display: none }
  .cardgrid, .cardgrid.two { grid-template-columns: repeat(2, 1fr) }
  .contact-grid { grid-template-columns: 1fr }
  .foot-top { grid-template-columns: 1fr 1fr }
}
@media(max-width:600px) {
  .cardgrid, .cardgrid.two { grid-template-columns: 1fr }
  .lang { display: none }
  .nav-cta { padding: 9px 14px; font-size: 14px }
}
