/* BankValidation.com — shared styles */
@import url('assets/colors_and_type.css');

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--vfi-bg);
  color: var(--fg2);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-sans);
}

/* ---------- Header ---------- */
.site-header {
  padding: 28px 24px 24px;
  border-bottom: 1px solid var(--vfi-line);
  background: var(--vfi-bg);
  text-align: center;
}

.brand-lockup {
  display: inline-block;
  text-decoration: none;
  border: 0;
}

.brand-lockup:hover { border: 0; }

.brand-lockup img {
  height: 40px;
  width: auto;
  display: block;
}

/* ---------- Main ---------- */
.site-main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 96px 24px 120px;
}

.hero {
  max-width: 720px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pill {
  display: inline-block;
  background: var(--vfi-light-green);
  color: var(--vfi-dark-blue);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  margin-bottom: 32px;
  letter-spacing: 0;
  text-transform: none;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: var(--fw-bold);
  color: var(--vfi-dark-blue);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}

.hero-title .accent {
  color: var(--vfi-green);
}

.hero-body {
  font-size: 18px;
  font-weight: var(--fw-regular);
  color: var(--vfi-iron);
  line-height: 1.55;
  max-width: 560px;
  margin: 0 0 20px;
}

.hero-body:last-of-type {
  margin-bottom: 40px;
}

/* ---------- Button ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--vfi-spruce-blue);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: var(--fw-semibold);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 0;
  transition: background 150ms ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: #054e66;
  border: 0;
}

.btn-primary:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

.hero-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--vfi-iron);
  font-weight: var(--fw-regular);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--vfi-bg-dark);
  color: #fff;
  padding: 28px 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: var(--fw-regular);
}

.footer-inner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  border: 0;
}

.footer-inner a:hover {
  color: var(--vfi-green);
  border: 0;
}

/* ---------- Privacy Policy page ---------- */
.policy-main {
  flex: 1;
  padding: 80px 24px 120px;
  display: flex;
  justify-content: center;
}

.policy-wrap {
  max-width: 880px;
  width: 100%;
}

.policy-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: var(--fw-bold);
  color: var(--vfi-dark-blue);
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 72px;
}

.policy-content {
  font-size: 17px;
  font-weight: var(--fw-regular);
  color: var(--vfi-iron);
  line-height: 1.6;
}

.policy-content p {
  font-size: 17px;
  font-weight: var(--fw-regular);
  color: var(--vfi-iron);
  margin: 0 0 24px;
  line-height: 1.6;
}

.policy-content p strong {
  color: var(--vfi-dark-blue);
  font-weight: var(--fw-bold);
}

.policy-content h3 {
  font-size: 17px;
  font-weight: var(--fw-bold);
  font-style: italic;
  color: var(--vfi-dark-blue);
  margin: 36px 0 20px;
  line-height: 1.4;
}

.policy-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.policy-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  line-height: 1.6;
}

.policy-content ul li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vfi-iron);
}

.policy-content .ellipsis {
  color: var(--vfi-iron);
  font-size: 17px;
  margin-top: 28px;
  letter-spacing: 0.1em;
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .site-header {
    padding: 22px 20px 18px;
  }
  .brand-wordmark {
    font-size: 22px;
  }
  .brand-poweredby-label {
    font-size: 10px;
  }
  .brand-poweredby img {
    height: 14px;
  }
  .site-main {
    padding: 56px 20px 72px;
  }
  .pill {
    font-size: 13px;
    padding: 8px 18px;
    margin-bottom: 24px;
  }
  .hero-title {
    margin-bottom: 24px;
  }
  .hero-body {
    font-size: 16px;
  }
  .btn-primary {
    padding: 14px 24px;
    font-size: 15px;
  }
  .site-footer {
    padding: 22px 20px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    font-size: 14px;
  }
  .policy-main {
    padding: 48px 20px 72px;
  }
  .policy-title {
    margin-bottom: 48px;
  }
  .policy-content,
  .policy-content p,
  .policy-content h3 {
    font-size: 16px;
  }
}

/* ---------- Policy tables ---------- */
.policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 15px;
}

.policy-content table td,
.policy-content table th {
  border: 1px solid var(--vfi-line);
  padding: 10px 14px;
  text-align: left;
  line-height: 1.5;
}

.policy-content table tr:first-child td {
  background: var(--vfi-bg-alt);
  font-weight: var(--fw-semibold);
  color: var(--vfi-dark-blue);
}

.policy-content a {
  color: var(--vfi-spruce-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-content a:hover {
  color: var(--vfi-green);
}
