/* ============================================================
   PBI Website UI Kit — styles
   ============================================================ */
@import url('colors_and_type.css');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--charcoal); font-family: var(--font-body); }
#root { min-height: 100vh; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
a { color: inherit; text-decoration: none; }

.kit-shell { display: flex; flex-direction: column; min-height: 100vh; }

/* ---------- LOGO ---------- */
.logo {
  --logo-fg: var(--navy);
  --logo-size: 17px;
  display: inline-flex; flex-direction: column; align-items: center;
  gap: 2px; font-family: var(--font-display); font-weight: 800;
  line-height: 0.95; letter-spacing: 0.13em; text-indent: 0.13em;
  color: var(--logo-fg); user-select: none; cursor: pointer;
}
.logo.dark { --logo-fg: #fff; }
.logo__top, .logo__mid, .logo__bot { font-size: var(--logo-size); }
.logo__mid { display: flex; align-items: center; gap: calc(var(--logo-size)*0.34); }
.logo__rule::before { content:""; display:block; height:2px; width: calc(var(--logo-size)*1.4); background: var(--forest); }
.logo__arrow { display:flex; align-items:center; }
.logo__arrow::before { content:""; height:2px; width: calc(var(--logo-size)*1.1); background: var(--forest); }
.logo__arrow::after { content:""; width:0; height:0;
  border-top: calc(var(--logo-size)*0.16) solid transparent;
  border-bottom: calc(var(--logo-size)*0.16) solid transparent;
  border-left: calc(var(--logo-size)*0.2) solid var(--forest); }
.logo__bot { display:flex; align-items:center; gap: calc(var(--logo-size)*0.18); text-indent:0; }
.logo__dot { width: calc(var(--logo-size)*0.32); height: calc(var(--logo-size)*0.32); border-radius:50%; background: var(--olive); flex:none; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 14px 24px; border-radius: 4px; border: 2px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--forest); color: #fff; }
.btn--primary:hover { background: var(--forest-hover); }
.btn--primary:active { background: var(--forest-press); }
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: #fff; }
.btn--onnavy { background: var(--white); color: var(--navy); }
.btn--onnavy:hover { background: var(--off-white); }
.btn--ghost { background: transparent; color: var(--forest); padding-left: 4px; padding-right: 4px; }
.btn--ghost:hover { color: var(--forest-press); }
.btn--sm { font-size: 12.5px; padding: 10px 16px; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--forest-tint); }

/* ---------- LAYOUT ---------- */
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.bg-navy { background: var(--navy); }
.bg-alt { background: var(--light-gray); }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest); margin: 0 0 18px; }
.eyebrow--navy { color: #6FB18C; }
.rule { width: 48px; height: 3px; background: var(--forest); border: 0; margin: 0 0 26px; border-radius: 2px; }

/* ---------- HEADER ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(26,43,74,0.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--hairline-navy); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.hdr__nav { display: flex; align-items: center; gap: 34px; }
.hdr__link { font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: 0.04em; color: var(--off-white); cursor: pointer; padding: 6px 0; position: relative; }
.hdr__link:hover { color: #fff; }
.hdr__link--active { color: #fff; }
.hdr__link--active::after { content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background: var(--forest); }
.hdr__right { display: flex; align-items: center; gap: 22px; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; }
.hero__grid { padding: 104px 0 110px; max-width: 860px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); color: #fff; margin: 0 0 24px; line-height: 1.02; }
.hero__lead { font-size: 20px; line-height: 1.55; color: var(--off-white); max-width: 600px; margin: 0 0 38px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__pattern { position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(76,143,110,0.18) 1.4px, transparent 1.4px);
  background-size: 26px 26px; -webkit-mask-image: linear-gradient(105deg, transparent 45%, #000 100%);
  mask-image: linear-gradient(105deg, transparent 45%, #000 100%); }

/* ---------- STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--hairline-navy); }
.stat { padding: 40px 28px; border-left: 1px solid var(--hairline-navy); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__n { font-family: var(--font-display); font-weight: 800; font-size: 44px; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.stat__l { font-size: 14px; color: var(--off-white); margin-top: 10px; line-height: 1.5; }

/* ---------- PATHWAY CARDS ---------- */
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pcard { background: #fff; border: 1px solid var(--hairline); border-radius: 8px; padding: 36px 34px;
  box-shadow: var(--shadow-sm); transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); display: flex; flex-direction: column; }
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pcard__top { width: 40px; height: 3px; background: var(--forest); margin-bottom: 22px; border-radius: 2px; }
.pcard__num { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; color: var(--forest); text-transform: uppercase; }
.pcard h3 { margin: 8px 0 14px; font-size: 26px; }
.pcard p { font-size: 16px; line-height: 1.6; color: var(--charcoal); margin: 0 0 22px; }
.pcard__list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.pcard__list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--charcoal); line-height: 1.5; }
.pcard__list svg { width: 18px; height: 18px; color: var(--forest); flex: none; margin-top: 1px; }
.pcard__foot { margin-top: auto; }

/* ---------- GENERIC SECTION HEAD ---------- */
.shead { max-width: 720px; margin-bottom: 52px; }
.shead h2 { font-size: clamp(30px, 4vw, 40px); margin: 0 0 18px; }
.shead p { font-size: 18px; line-height: 1.6; color: var(--charcoal); margin: 0; }
.on-navy .shead h2 { color: #fff; }
.on-navy .shead p { color: var(--off-white); }

/* ---------- PROBLEM LIST ---------- */
.plist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pitem h4 { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--navy); margin: 0 0 10px; letter-spacing: -0.01em; }
.pitem p { font-size: 15px; line-height: 1.6; color: var(--charcoal); margin: 0; }
.pitem__bar { width: 34px; height: 3px; background: var(--olive); margin-bottom: 16px; border-radius: 2px; }

/* ---------- CTA BAND ---------- */
.ctaband { text-align: center; }
.ctaband h2 { font-size: clamp(32px, 4.5vw, 46px); color: #fff; margin: 0 auto 22px; max-width: 760px; }
.ctaband p { font-size: 18px; color: var(--off-white); margin: 0 auto 34px; max-width: 540px; }

/* ---------- FORM ---------- */
.form { background: #fff; border: 1px solid var(--hairline); border-radius: 10px; padding: 40px; box-shadow: var(--shadow-md); max-width: 560px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; font-family: var(--font-body); font-size: 15px;
  color: var(--charcoal); padding: 13px 15px; border: 1px solid var(--hairline); border-radius: 6px; background: #fff; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px var(--forest-tint); }
.field textarea { resize: vertical; min-height: 92px; }
.form__success { text-align: center; padding: 20px 10px; }
.form__success svg { width: 52px; height: 52px; color: var(--forest); margin: 0 auto 18px; }
.form__success h3 { font-size: 24px; margin: 0 0 10px; }
.form__success p { color: var(--charcoal); margin: 0; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice__opt { border: 1px solid var(--hairline); border-radius: 6px; padding: 13px 15px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--charcoal); transition: all var(--dur) var(--ease); }
.choice__opt:hover { border-color: var(--gray); }
.choice__opt--on { border-color: var(--forest); background: var(--forest-tint); color: var(--forest-press); font-weight: 600; }

/* ---------- FOOTER ---------- */
.ftr { background: #14223B; color: var(--off-white); padding: 56px 0 32px; margin-top: auto; }
.ftr__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--hairline-navy); }
.ftr__tag { font-size: 14px; color: var(--off-white); max-width: 300px; line-height: 1.6; margin: 18px 0 0; }
.ftr__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.ftr__col h5 { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.ftr__col a { display: block; font-size: 14px; color: var(--off-white); margin-bottom: 11px; cursor: pointer; }
.ftr__col a:hover { color: #fff; }
.ftr__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: var(--gray); }

/* ---------- MOBILE ---------- */
@media (max-width: 860px) {
  .hdr__nav { display: none; }
  .cards2, .plist, .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--hairline-navy); padding-left: 0; }
  .section { padding: 64px 0; }
}
