/* Secure Supplies Fleet+ / Free DEF Membership
   Page-scoped styles. Global tokens, buttons, grids, tables, forms and the
   header/footer shell come from styles.css — only the pieces that do not
   already exist there are defined here. */

.fp-gold { color: #d9a93a; }

.fp-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Hero ---------- */
.fp-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.fp-hero__grid > div { min-width: 0; }
.fp-hero h1 { font-size: clamp(2.15rem, 4.4vw, 3.75rem); max-width: 15ch; }
.fp-hero h1 strong { color: #8fdcff; display: block; }
.fp-hero__visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 26px 46px rgba(2, 10, 24, .55));
}
.fp-notice {
  margin-top: 22px;
  border: 1px solid rgba(217, 169, 58, .55);
  border-left-width: 4px;
  border-radius: 14px;
  background: rgba(6, 20, 42, .42);
  padding: 14px 18px;
  color: #e6eefb;
  font-size: .92rem;
  line-height: 1.55;
  max-width: 640px;
}
.fp-notice strong { color: #f0c860; }

/* ---------- Membership tiers ---------- */
.fp-tiers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.fp-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 26px 22px 24px;
  box-shadow: 0 10px 26px rgba(7, 20, 44, .06);
}
.fp-tier h3 { font-size: 1.18rem; color: var(--navy); margin: 0; }
.fp-tier__price {
  font-size: 1.75rem;
  font-weight: 950;
  color: var(--navy);
  letter-spacing: -.03em;
  line-height: 1.05;
}
.fp-tier__price small { font-size: .82rem; font-weight: 750; color: var(--muted); letter-spacing: 0; }
.fp-tier__rate {
  align-self: flex-start;
  background: #eaf4ff;
  color: var(--navy-2);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .82rem;
  font-weight: 850;
}
.fp-tier__fit { color: var(--muted); font-size: .92rem; margin: 0; }
.fp-tier__example {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: #364154;
}
.fp-tier__example strong { color: var(--navy); }
.fp-tier--featured {
  background: linear-gradient(165deg, #082e63 0%, #061326 100%);
  border-color: rgba(217, 169, 58, .5);
  color: #fff;
  box-shadow: var(--shadow);
}
.fp-tier--featured h3,
.fp-tier--featured .fp-tier__price { color: #fff; }
.fp-tier--featured .fp-tier__price small,
.fp-tier--featured .fp-tier__fit { color: #b7cdea; }
.fp-tier--featured .fp-tier__rate { background: rgba(143, 220, 255, .16); color: #8fdcff; }
.fp-tier--featured .fp-tier__example { border-top-color: rgba(255, 255, 255, .16); color: #d8e6f8; }
.fp-tier--featured .fp-tier__example strong { color: #f0c860; }
.fp-tier__badge {
  position: absolute;
  top: -11px;
  left: 22px;
  background: linear-gradient(135deg, #d9a93a, #f0c860);
  color: #22190a;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .14em;
  padding: 4px 11px;
  border-radius: 999px;
}

/* ---------- Calculator ---------- */
.fp-calc {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 24px;
  align-items: start;
}
.fp-calc > * { min-width: 0; }
.fp-calc__form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
.fp-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
}
.fp-quick > span { color: var(--muted); font-weight: 800; font-size: .8rem; }
.fp-quick button {
  border: 1px solid #cbd8e8;
  background: #f5f8fc;
  color: var(--navy);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 850;
  font-size: .85rem;
  cursor: pointer;
}
.fp-quick button:hover { background: #eaf4ff; border-color: var(--navy-3); }
.fp-quick button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.fp-quick button:focus-visible,
.fp-faq summary:focus-visible {
  outline: 3px solid rgba(12, 95, 180, .35);
  outline-offset: 2px;
}
.fp-calc__results {
  border-radius: var(--radius);
  padding: 26px;
  color: #fff;
  background: linear-gradient(165deg, #082e63 0%, #061326 100%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow);
}
.fp-calc__results h3 { color: #fff; margin-bottom: 16px; }
.fp-results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fp-result {
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .07);
  border-radius: 16px;
  padding: 14px 16px;
}
.fp-result span { display: block; color: #b7cdea; font-weight: 750; font-size: .78rem; margin-bottom: 6px; }
.fp-result b { font-size: 1.32rem; font-weight: 950; letter-spacing: -.02em; }
.fp-result--hero {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, rgba(217, 169, 58, .22), rgba(143, 220, 255, .14));
  border-color: rgba(217, 169, 58, .5);
}
.fp-result--hero b { font-size: 1.85rem; color: #f0c860; }
.fp-disclaimer {
  font-size: .8rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 14px 0 0;
}
.fp-calc__results .fp-disclaimer { color: #9fbada; }

/* ---------- Industry card gallery ---------- */
.fp-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.fp-gallery figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.fp-gallery img {
  width: 100%;
  aspect-ratio: 640 / 404;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(7, 20, 44, .18);
}
.fp-gallery figcaption {
  margin-top: 14px;
  color: var(--navy);
  font-weight: 900;
  font-size: .98rem;
}
.fp-gallery p { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }

/* ---------- Program controls ---------- */
.fp-terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fp-terms li {
  position: relative;
  padding-left: 30px;
  color: #364154;
  font-size: .96rem;
}
.fp-terms li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 14px;
  height: 3px;
  border-radius: 3px;
  background: #d9a93a;
}

/* ---------- FAQ ---------- */
.fp-faq { display: grid; gap: 12px; }
.fp-faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0 20px;
}
.fp-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 0;
  font-weight: 850;
  color: var(--navy);
  position: relative;
}
.fp-faq summary::-webkit-details-marker { display: none; }
.fp-faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-3);
}
.fp-faq details[open] summary::after { content: "\2212"; }
.fp-faq details p { margin: 0 0 18px; color: #364154; }

/* ---------- Enrollment ---------- */
.fp-enroll {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 34px;
  align-items: start;
}
.fp-enroll > * { min-width: 0; }
.fp-enroll__copy h2 { color: #fff; }
.fp-enroll__copy p { color: #d8e6f8; }
.fp-enroll__copy a { color: #8fdcff; font-weight: 800; }
.fp-contact-block {
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .07);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.fp-contact-block strong { display: block; color: #fff; font-size: 1.06rem; }
.fp-contact-block span { display: block; color: #b7cdea; font-size: .88rem; margin-bottom: 10px; }

/* ---------- Comparison ---------- */
.fp-compare-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fp-compare-list li { position: relative; padding-left: 26px; color: #364154; font-size: .96rem; }
.fp-compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--navy-3);
}
.card.dark .fp-compare-list li { color: #c6d6eb; }
.card.dark .fp-compare-list li::before { border-color: #8fdcff; }

/* ---------- Responsive ---------- */
/* In the five-across layout the longer tier names and the "/year/site" suffix
   wrap, which knocks the rate pills and prices out of alignment. Reserve two
   lines for both so the row reads as one clean price band. */
@media (min-width: 1051px) {
  .fp-tier h3 { min-height: 2.5rem; }
  .fp-tier__price { min-height: 3.7rem; }
}

@media (max-width: 1050px) {
  .fp-hero__grid { grid-template-columns: 1fr; }
  .fp-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-calc { grid-template-columns: 1fr; }
  .fp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-enroll { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .fp-tiers,
  .fp-gallery,
  .fp-results-grid { grid-template-columns: 1fr; }
  .fp-calc__form,
  .fp-calc__results { padding: 20px; }
  .fp-notice { margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .fp-quick button,
  .fp-faq summary { transition: none; }
}
