/* Plan Connection US — planconnectionus.com */

:root {
  --navy: #16263f;
  --navy-soft: #22375a;
  --green: #2f6b4a;
  --green-bright: #3d8a60;
  --green-soft: #eef5f0;
  --ink: #1a2331;
  --body: #4a5563;
  --muted: #74808e;
  --line: #e3e8ee;
  --line-soft: #eef1f5;
  --bg: #ffffff;
  --bg-alt: #f7f9fb;
  --wrap: 1080px;
  --shadow-sm: 0 1px 2px rgba(22, 38, 63, 0.05);
  --shadow-md: 0 4px 16px rgba(22, 38, 63, 0.07);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(100% - 44px, var(--wrap));
  margin-inline: auto;
}

a {
  color: var(--green);
  text-underline-offset: 2px;
}

a:hover {
  color: var(--green-bright);
}

:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.015em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(140deg, var(--green-bright), var(--green));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: var(--shadow-sm);
}

.brand > span:not(.brand-mark) {
  color: var(--green);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 15px;
}

.site-nav a {
  padding: 6px 11px;
  border-radius: 7px;
  color: var(--body);
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease;
}

.site-nav a:hover {
  background: var(--green-soft);
  color: var(--green);
}

.site-nav a[aria-current="page"] {
  background: var(--green-soft);
  color: var(--green);
  font-weight: 600;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 64px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 88% -10%, rgba(61, 138, 96, 0.10), transparent 60%),
    radial-gradient(90% 70% at 0% 0%, rgba(34, 55, 90, 0.07), transparent 55%),
    var(--bg-alt);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 5px 13px 5px 9px;
  border: 1px solid #d5e2da;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-sm);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
}

.hero h1 {
  margin: 0 0 18px;
  max-width: 17ch;
  font-size: clamp(34px, 5.4vw, 54px);
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero .lede {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.6;
  color: var(--body);
}

.notice-strip {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  max-width: 760px;
  margin-top: 30px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.notice-strip svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--green);
}

/* ---------- Content ---------- */

main {
  padding: 60px 0 8px;
}

.section-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.page-title {
  margin: 0 0 6px;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.updated {
  margin: 0 0 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

h2 {
  margin: 44px 0 12px;
  font-size: 23px;
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: -0.02em;
  font-weight: 700;
}

main > .wrap > h2:first-of-type {
  margin-top: 0;
}

h3 {
  margin: 26px 0 8px;
  font-size: 17px;
  color: var(--ink);
  font-weight: 700;
}

p {
  margin: 0 0 17px;
}

ul,
ol {
  margin: 0 0 17px;
  padding-left: 20px;
}

li {
  margin-bottom: 9px;
  padding-left: 3px;
}

li::marker {
  color: var(--green);
}

.legal-body {
  max-width: 760px;
}

.legal-body h2 {
  padding-top: 8px;
}

strong {
  color: var(--ink);
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 20px;
  margin: 30px 0 10px;
}

.card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
}

.card-icon svg {
  width: 21px;
  height: 21px;
}

.card h3 {
  margin: 0 0 7px;
  font-size: 17px;
  color: var(--navy);
}

.card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* Do / don't list */

.check-list {
  margin: 22px 0 8px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 32px;
  font-size: 16px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fdecec no-repeat center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0392b' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
  background-size: 11px 11px;
}

.callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 34px 0;
  padding: 24px 26px;
  border: 1px solid #d6e4dc;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f4faf6, var(--green-soft));
  font-size: 15.5px;
}

.callout svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 4px;
  color: var(--green);
}

.callout h3 {
  margin: 0 0 7px;
  color: var(--green);
  font-size: 17px;
}

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

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 70px;
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  color: #57626f;
  font-size: 13px;
  line-height: 1.68;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 6px;
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.footer-nav a {
  padding: 5px 12px;
  border-radius: 7px;
  color: var(--navy);
  text-decoration: none;
}

.footer-nav a:hover {
  background: #fff;
  color: var(--green);
}

.footer-identity {
  max-width: 660px;
  margin: 0 auto 26px;
  text-align: center;
}

.footer-identity p {
  margin: 0 0 5px;
  font-size: 14px;
}

.footer-identity p:first-child {
  margin-bottom: 9px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  max-width: 100%;
  margin: 18px auto 0;
  padding: 14px 22px;
  border: 1px solid #cfdcd4;
  border-radius: var(--radius);
  background: #fff;
  color: var(--green);
  text-align: left;
  text-decoration: none;
  line-height: 1.35;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

.cert-badge:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  color: var(--green);
}

.cert-badge-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
}

.cert-badge-text {
  font-size: 14px;
  color: #55606d;
}

.cert-badge-text strong {
  display: block;
  font-size: 17px;
  color: var(--green);
  letter-spacing: -0.01em;
}

.footer-disclosures {
  max-width: 880px;
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: #616c79;
  text-align: left;
}

.footer-disclosures h2 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  text-align: center;
}

.footer-disclosures p {
  margin: 0 0 13px;
}

.footer-copyright {
  max-width: 880px;
  margin: 26px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Responsive ---------- */

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

  .wrap {
    width: min(100% - 32px, var(--wrap));
  }

  .site-header {
    position: static;
  }

  .site-header .wrap {
    justify-content: flex-start;
  }

  .site-nav {
    gap: 2px;
    font-size: 14px;
  }

  .site-nav a {
    padding: 5px 9px;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 36px);
    max-width: none;
  }

  main {
    padding-top: 44px;
  }

  h2 {
    margin-top: 36px;
    font-size: 21px;
  }

  .callout,
  .notice-strip {
    padding: 18px;
  }

  .cert-badge {
    gap: 11px;
    padding: 13px 15px;
  }

  .cert-badge-icon {
    width: 32px;
    height: 32px;
  }

  .cert-badge-text {
    font-size: 13px;
  }

  .cert-badge-text strong {
    font-size: 15px;
  }

  .footer-disclosures {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
