/* legal.css - shared look of the public REOS pages (privacy policy, terms). CRM theme: #1a73e8 / #0d47a1. */
:root {
  --brand: #1a73e8;
  --brand-dark: #0d47a1;
  --ink: #1f2937;
  --body: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --tint: #f3f6fb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--body);
  background: #f7f9fc;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* --- header ------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-head .inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

/* the Mecntec wordmark is wide (1000x260): fix its height and let the width follow, so it is never squashed */
.brand img { height: 30px; width: auto; display: block; }

.brand-sep { width: 1px; height: 26px; background: var(--line); }

.brand-txt { font-weight: 700; font-size: 16px; line-height: 1.15; letter-spacing: -0.2px; }

.brand-txt small { display: block; font-weight: 500; font-size: 10px; color: var(--muted); letter-spacing: 1.2px; }

.nav { margin-left: auto; display: flex; gap: 8px; }

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  padding: 7px 13px;
  border-radius: 8px;
}

.nav a:hover { background: var(--tint); color: var(--brand); }

.nav a[aria-current="page"] { background: #e8f0fe; color: var(--brand-dark); font-weight: 600; }

/* --- hero --------------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 48px 20px 56px;
  text-align: center;
}

.hero h1 { margin: 0 0 10px; font-size: 34px; font-weight: 700; letter-spacing: -0.5px; }

.hero p { margin: 0 auto; max-width: 620px; color: #dbe7fb; font-size: 15px; }

.stamp {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 500;
}

/* --- content ------------------------------------------------------ */
main { max-width: 960px; margin: -28px auto 56px; padding: 0 20px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 6px 24px rgba(16, 24, 40, 0.06);
}

h2 {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin: 34px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--brand);
  line-height: 1.35;
}

h2:first-of-type { margin-top: 0; }

h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin: 20px 0 8px; }

p { margin: 0 0 14px; }

ul { margin: 0 0 14px; padding-left: 22px; }

li { margin-bottom: 8px; }

a { color: var(--brand); }

strong, b { color: var(--ink); font-weight: 600; }

.note {
  background: var(--tint);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 16px 0;
}

.note p:last-child { margin-bottom: 0; }

/* --- permission table --------------------------------------------- */
/* --- contact ------------------------------------------------------ */
.contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }

.contact a {
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
}

.contact a:hover { border-color: var(--brand); background: var(--tint); }

.contact .ic {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  background: #e8f0fe;
  font-size: 17px;
}

/* both are spans inside one span: without display:block the label and the value run together on one line */
.contact .lbl { display: block; font-size: 12px; color: var(--muted); font-weight: 500; line-height: 1.4; }

.contact .val { display: block; font-weight: 600; font-size: 14px; line-height: 1.4; word-break: break-word; }

/* --- the registered company behind REOS ----------------------------- */
.entity {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--tint);
}

.entity h3 { margin: 0 0 6px; font-size: 15px; }

.entity address { font-style: normal; margin: 0 0 12px; color: var(--body); }

.entity .ids { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; }

.entity .ids div { min-width: 0; }

.entity .ids dt { font-size: 11px; letter-spacing: 0.4px; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.entity .ids dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); font-size: 14px; word-break: break-all; }

/* --- footer ------------------------------------------------------- */
footer { border-top: 1px solid var(--line); background: #fff; }

footer .inner {
  max-width: 960px; margin: 0 auto; padding: 22px 20px;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  font-size: 13px; color: var(--muted);
}

footer a { color: var(--muted); text-decoration: none; }

footer a:hover { color: var(--brand); }

footer .right { margin-left: auto; display: flex; gap: 16px; }

@media (max-width: 640px) {
  /* "BY MECNTEC SOLUTIONS PVT LTD" is a long label beside a wide logo: shrink it so the header
     does not overflow on a phone. */
  .brand img { height: 24px; }
  .brand-txt { font-size: 14px; }
  .brand-txt small { font-size: 8px; letter-spacing: 0.2px; }
  .hero { padding: 36px 16px 48px; }
  .hero h1 { font-size: 26px; }
  .card { padding: 22px 18px; }
  footer .right { margin-left: 0; }
}
