/* =============================================================
   PropertyManage.Pro — legal document pages
   Shared by privacy-policy.html and terms-of-service.html.

   Deliberately standalone: it borrows the home page's colour
   tokens, type scale and footer treatment, but carries none of
   index.html's animation, React or scroll machinery. Pair it
   with assets/pmp-fonts.css for the brand webfaces.
   ============================================================= */

:root {
  --ink: #11242A;
  --ink-deep: #0C1B20;
  --vapor: #E8F0F1;
  --card: #F7FBFB;
  --teal: #15707E;
  --teal-deep: #0F5560;
  --aqua: #1FA39B;
  --aqua-deep: #15807A;
  --aqua-soft: #6FC2CB;
  --slate: #5E6B6E;
  --line: #CFDFE1;
  --mist: #DCE7E8;
  --white: #FFFFFF;
  --radius-lg: 30px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --pmp-font-display: "Sora", sans-serif;
  --pmp-font-body: "Hanken Grotesk", sans-serif;
  --pmp-font-label: "JetBrains Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--pmp-font-body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* --------------------------------------------------------------
   HEADER — mirrors the home page bar, minus the hero machinery
   -------------------------------------------------------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(14px, 2vh, 20px) clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  transform: skewX(-10deg);
}

.brand-mark span {
  width: 6px;
  border-radius: 1px;
  background: var(--teal);
}

.brand-mark span:nth-child(1) { height: 12px; }
.brand-mark span:nth-child(2) { height: 19px; }
.brand-mark span:nth-child(3) { height: 26px; }

.brand-name {
  color: var(--ink);
  font-family: var(--pmp-font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.header-back {
  color: var(--teal);
  font-family: var(--pmp-font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 180ms ease;
}

.header-back:hover,
.header-back:focus-visible {
  color: var(--aqua);
  outline: none;
}

/* --------------------------------------------------------------
   DOCUMENT
   -------------------------------------------------------------- */
.legal-hero {
  padding: clamp(56px, 8vw, 96px) 5vw clamp(28px, 4vw, 44px);
  background:
    radial-gradient(circle at 82% 18%, rgba(31, 163, 155, 0.09), transparent 42%),
    var(--card);
  border-bottom: 1px solid var(--line);
}

.legal-hero-shell {
  width: min(100%, 820px);
  margin: 0 auto;
}

.legal-eyebrow {
  margin: 0 0 14px;
  color: var(--aqua-deep);
  font-family: var(--pmp-font-label);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--pmp-font-display);
  font-size: clamp(34px, 5.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.legal-effective {
  margin: 18px 0 0;
  color: var(--slate);
  font-size: 15.5px;
}

/* content-box so the 5vw gutter sits outside the 820px measure, matching
   how .legal-hero pads its own inner shell. Keeps the document body
   flush-left with the page title above it. */
.legal-shell {
  box-sizing: content-box;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) 5vw clamp(64px, 8vw, 96px);
}

.legal-section {
  padding-top: clamp(30px, 4vw, 42px);
}

.legal-section + .legal-section {
  margin-top: clamp(30px, 4vw, 42px);
  border-top: 1px solid var(--mist);
}

.legal-section h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--pmp-font-display);
  font-size: clamp(21px, 2.6vw, 25px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.legal-section h2 .legal-num {
  margin-right: 10px;
  color: var(--aqua);
  font-family: var(--pmp-font-label);
  font-size: 0.72em;
  font-weight: 600;
}

.legal-section p {
  margin: 0 0 16px;
  color: var(--slate);
  font-size: 16.5px;
  line-height: 1.7;
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.legal-section li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 26px;
  color: var(--slate);
  font-size: 16.5px;
  line-height: 1.7;
}

.legal-section li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--aqua);
  transform: skewX(-10deg);
}

.legal-section li:last-child {
  margin-bottom: 0;
}

.legal-section li strong,
.legal-section p strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-section a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 180ms ease;
}

.legal-section a:hover,
.legal-section a:focus-visible {
  color: var(--aqua);
  outline: none;
}

/* Prominent disclosure block. Used for the Google API Services User Data
   Policy / Limited Use statement, which reviewers expect to find plainly
   set out rather than buried in body copy. */
.legal-callout {
  margin: 0 0 20px;
  padding: 24px 26px;
  border: 1px solid var(--teal-tint);
  border-left: 3px solid var(--aqua);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.legal-callout p {
  margin: 0;
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.68;
}

.legal-callout p + p {
  margin-top: 14px;
}

/* Scope disclosure table. */
.legal-table-wrap {
  margin: 0 0 20px;
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}

.legal-table th,
.legal-table td {
  padding: 13px 16px 13px 0;
  border-bottom: 1px solid var(--mist);
  color: var(--slate);
  line-height: 1.6;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--ink);
  font-family: var(--pmp-font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.legal-table td:first-child {
  padding-right: 24px;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.legal-table code {
  font-family: var(--pmp-font-label);
  font-size: 13px;
  font-weight: 400;
  color: var(--teal-deep);
  white-space: nowrap;
}

/* Cross-link between the two legal documents. */
.legal-crosslink {
  margin-top: clamp(40px, 5vw, 56px);
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  color: var(--slate);
  font-size: 16px;
  line-height: 1.65;
}

.legal-crosslink a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-crosslink a:hover,
.legal-crosslink a:focus-visible {
  color: var(--aqua);
  outline: none;
}

/* --------------------------------------------------------------
   FOOTER — matches index.html
   -------------------------------------------------------------- */
.pmp-footer {
  color: #DCE9EA;
  background:
    radial-gradient(circle at 78% 5%, rgba(31, 163, 155, 0.12), transparent 30%),
    #08171C;
}

.pmp-footer-shell {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: clamp(68px, 7vw, 96px) 5vw clamp(54px, 6vw, 76px);
  display: grid;
  grid-template-columns: minmax(300px, 1.25fr) minmax(180px, 0.55fr) minmax(210px, 0.6fr);
  gap: clamp(44px, 7vw, 96px);
}

.pmp-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #F7FBFB;
  text-decoration: none;
}

.pmp-footer-mark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  transform: skewX(-10deg);
}

.pmp-footer-mark span {
  width: 7px;
  border-radius: 1px;
  background: var(--aqua);
}

.pmp-footer-mark span:nth-child(1) { height: 15px; }
.pmp-footer-mark span:nth-child(2) { height: 23px; }
.pmp-footer-mark span:nth-child(3) { height: 31px; }

.pmp-footer-name {
  font-family: var(--pmp-font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.pmp-footer-brand p {
  max-width: 510px;
  margin: 22px 0 0;
  color: #A9BCBF;
  font-size: 16px;
  line-height: 1.62;
}

.pmp-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.pmp-footer-column h2 {
  margin: 0 0 8px;
  color: var(--aqua-soft);
  font-family: var(--pmp-font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pmp-footer-column a,
.pmp-footer-column span {
  color: #DCE9EA;
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
}

.pmp-footer-column a {
  transition: color 180ms ease, transform 180ms ease;
}

.pmp-footer-column a:hover,
.pmp-footer-column a:focus-visible {
  color: var(--aqua-soft);
  transform: translateX(3px);
  outline: none;
}

.pmp-footer-bottom {
  width: min(90%, 1320px);
  margin: 0 auto;
  padding: 22px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(207, 223, 225, 0.12);
  color: #7F9599;
  font-family: var(--pmp-font-label);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pmp-footer-bottom a {
  color: #A9BCBF;
  text-decoration: none;
  transition: color 180ms ease;
}

.pmp-footer-bottom a:hover,
.pmp-footer-bottom a:focus-visible {
  color: var(--aqua-soft);
  outline: none;
}

@media (max-width: 980px) {
  .pmp-footer-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .legal-section li {
    padding-left: 22px;
  }

  .pmp-footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}
