/* PAII Website V2 (2026-10-08): information architecture only. Every color, type and spacing
   value comes from the tokens in style.css. No new palette, no gradients, no new fonts. */

/* ---------- Header: seven destinations, one visually distinct CTA, one mobile menu ---------- */
.site-header nav { align-items: center; }
.site-header nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--orange); }
.site-header nav a.nav-cta {
  background: var(--orange-dark); color: var(--white); border: 0;
  padding: 0.45rem 1rem; border-radius: 999px; font-weight: 700;
}
.site-header nav a.nav-cta:hover, .site-header nav a.nav-cta:focus-visible { background: #9c4419; }
.nav-toggle {
  display: none; background: transparent; color: var(--off-white);
  border: 2px solid var(--gray); border-radius: 999px; padding: 0.4rem 1rem;
  font: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer; min-height: 44px;
}
.brand-logo { height: 64px; }

@media (max-width: 1060px) {
  .site-header nav { gap: var(--space-2); }
  .site-header nav a { font-size: 0.9rem; }
}
/* Below 900px the menu collapses behind one button -- but only once JS is running, so a
   reader without JS still gets every link. */
@media (max-width: 900px) {
  .js .nav-toggle { display: inline-block; }
  .js .header-inner { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .js .site-header nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0 0.75rem; }
  .js .site-header nav.is-open { display: flex; }
  .js .site-header nav a { font-size: 1.05rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .js .site-header nav a.nav-cta { margin-top: 0.75rem; text-align: center; padding: 0.75rem 1rem; border: 0; }
  .brand-logo { height: 56px; }
}

/* ---------- Homepage hero: text first, a device-neutral brief card beside it ---------- */
.v2-hero { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.v2-hero-grid { display: grid; gap: var(--space-3); align-items: center; max-width: var(--max-width); }
@media (min-width: 960px) { .v2-hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--space-4); } }
.v2-eyebrow {
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.82rem; font-weight: 700;
  color: var(--gray-light); margin-bottom: var(--space-1);
}
.v2-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.v2-hero .lede { color: var(--gray-light); }
.v2-status-line { margin: var(--space-2) 0 0; display: grid; gap: 0.35rem; }
.v2-status-line div { display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; }
.v2-status-line dt { font-weight: 700; color: var(--white); }
.v2-status-line dt::after { content: ":"; }
.v2-status-line dd { margin: 0; color: var(--gray-light); }
.v2-brief-card {
  background: var(--white); color: var(--navy); border-radius: var(--radius);
  padding: var(--space-3); border-top: 4px solid var(--orange); box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.v2-brief-k { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.09em; font-weight: 700; color: var(--gray-on-light); margin-bottom: 0.4rem; }
.v2-brief-q { font-weight: 700; font-size: 1.1rem; line-height: 1.3; margin-bottom: var(--space-2); }
.v2-brief-l { list-style: none; margin: 0 0 var(--space-2); padding: 0; display: grid; gap: 0.6rem; }
.v2-brief-l li { display: grid; grid-template-columns: 7.2rem 1fr; gap: 0.6rem; font-size: 0.92rem; line-height: 1.35; align-items: start; }
.v2-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.15rem 0.45rem; border-radius: 4px; text-align: center; }
.v2-tag-ok  { background: rgba(47,111,107,0.14); color: var(--teal); }
.v2-tag-unk { background: rgba(138,100,32,0.14); color: var(--gold); }
.v2-tag-trd { background: rgba(92,58,82,0.12); color: var(--plum); }
.v2-tag-hum { background: rgba(184,79,31,0.12); color: var(--orange-dark); }
.v2-brief-next { font-size: 0.92rem; margin: 0; padding-top: 0.75rem; border-top: 1px solid var(--gray-light); color: var(--slate); }
@media (max-width: 480px) {
  .v2-brief-l li { grid-template-columns: 1fr; gap: 0.2rem; }
  .v2-tag { justify-self: start; }
}

/* ---------- Generic V2 sections ---------- */
.v2-section { padding: var(--space-4) 0; background: var(--off-white); }
.v2-section--alt { background: var(--white); }
.v2-section h2 { max-width: 24em; }
.v2-h-sm { font-size: 1.3rem; margin-top: var(--space-4); }
.v2-page-hero { background: var(--navy); color: var(--off-white); padding: var(--space-4) 0 var(--space-3); }
.v2-page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 20em; }
.v2-page-hero .lede { color: var(--gray-light); }
.v2-page-hero .kicker { color: var(--orange); }
.v2-status {
  display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange-dark); background: rgba(217,98,42,0.10); border: 1px solid rgba(184,79,31,0.35);
  padding: 0.2rem 0.6rem; border-radius: 999px; margin-bottom: var(--space-1);
}
.v2-page-hero .v2-status { color: var(--white); background: rgba(217,98,42,0.22); border-color: rgba(242,100,35,0.6); }

/* Offering cards */
.v2-card-grid { display: grid; gap: var(--space-2); grid-template-columns: 1fr; margin-top: var(--space-3); }
@media (min-width: 700px) { .v2-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .v2-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .v2-card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .v2-card-grid--paths { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v2-card {
  background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius);
  padding: var(--space-3) var(--space-2); display: flex; flex-direction: column; gap: 0.25rem;
}
.v2-section--alt .v2-card { background: var(--off-white); }
.v2-card.is-available { border-top: 4px solid var(--orange); }
.v2-card.is-developing { border-top: 4px solid var(--gray); }
.v2-card.is-developing .v2-status { color: var(--slate); background: var(--off-white); border-color: var(--gray-light); }
.v2-card h3, .v2-h-card { font-size: 1.25rem; margin-bottom: 0.4rem; }
.v2-card p { font-size: 0.97rem; }
.v2-for { color: var(--slate); font-size: 0.92rem; }
.v2-card-link { margin-top: auto; font-weight: 700; color: var(--orange-dark); text-decoration: none; }
.v2-card-link:hover, .v2-card-link:focus-visible { text-decoration: underline; }
.v2-card .btn { margin-top: auto; align-self: flex-start; }
.v2-card--wide { max-width: 46rem; margin-top: var(--space-2); }
.v2-support { margin-top: var(--space-3); color: var(--slate); }
.v2-support a, .v2-text-link { color: var(--orange-dark); font-weight: 700; }
.v2-text-link { align-self: center; text-decoration: none; }
.v2-text-link:hover { text-decoration: underline; }

/* One example */
.v2-example { display: grid; gap: var(--space-2); margin: var(--space-3) 0 0; max-width: 52rem; }
.v2-example div { display: grid; gap: 0.2rem; padding-left: var(--space-2); border-left: 3px solid var(--gray-light); }
@media (min-width: 700px) { .v2-example div { grid-template-columns: 13rem 1fr; gap: var(--space-2); } }
.v2-example dt { font-weight: 700; }
.v2-example dd { margin: 0; color: var(--slate); }

/* Method + trust */
.v2-method { counter-reset: s; list-style: none; padding: 0; margin: var(--space-3) 0; display: grid; gap: var(--space-2); max-width: 52rem; }
@media (min-width: 900px) { #how .v2-method { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; } }
.v2-method li { counter-increment: s; position: relative; padding-left: 2.8rem; color: var(--slate); }
.v2-method li strong { color: var(--navy); display: block; }
.v2-method li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--navy); color: var(--white); font-weight: 700; display: grid; place-items: center; font-size: 0.95rem;
}
.v2-trust { font-size: 1.1rem; max-width: 44rem; }
.v2-cred { list-style: none; padding: 0; margin: 0 0 var(--space-3); display: flex; flex-wrap: wrap; gap: 0.5rem; }
.v2-cred li { background: var(--white); border: 1px solid var(--gray-light); border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.9rem; color: var(--slate); }
.v2-btn-dark { color: var(--navy); }
.v2-btn-dark:hover, .v2-btn-dark:focus-visible { background: rgba(11,26,43,0.06); }

/* Work With PAII: five-stage progressive disclosure */
.v2-steps { display: grid; gap: 0.5rem; margin: var(--space-3) 0; max-width: 52rem; }
.v2-step { background: var(--off-white); border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 0; }
.v2-step summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1rem; font-weight: 700; min-height: 44px; }
.v2-step summary::-webkit-details-marker { display: none; }
.v2-step summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; color: var(--orange-dark); }
.v2-step[open] summary::after { content: "\2212"; }
.v2-step p { padding: 0 1rem 1rem 3.6rem; margin: 0; color: var(--slate); }
.v2-step-n { width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--orange-dark); color: var(--white); display: grid; place-items: center; font-size: 0.9rem; flex: 0 0 auto; }

/* Lists, definitions, CTA band */
.v2-list { padding-left: 1.2rem; max-width: 52rem; display: grid; gap: 0.6rem; }
.v2-list a { color: var(--orange-dark); }
.v2-defs { display: grid; gap: 0.6rem; max-width: 46rem; }
.v2-defs div { display: grid; grid-template-columns: 11rem 1fr; gap: var(--space-2); }
.v2-defs dt { font-weight: 700; }
.v2-defs dd { margin: 0; color: var(--slate); }
@media (max-width: 480px) { .v2-defs div { grid-template-columns: 1fr; gap: 0; } }
.v2-cta-band { background: var(--navy); color: var(--off-white); padding: var(--space-4) 0; }
.v2-cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); }
.v2-cta-text { font-size: 1.25rem; font-weight: 700; margin: 0; max-width: 32em; }
.v2-big { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; }
.v2-four { margin-top: var(--space-2); }
.v2-anchor { display: block; position: relative; top: -110px; visibility: hidden; }
.v2-closing-wrap { padding: 0; }
.panel.is-open { display: block; }
.rail--links .scard { text-decoration: none; color: inherit; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; padding-bottom: var(--space-3); font-size: 0.88rem; }
.footer-nav a { color: var(--gray-light); text-decoration: none; }
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--white); text-decoration: underline; }
:target { scroll-margin-top: 110px; }
[id] { scroll-margin-top: 110px; }

/* Phones: style.css shrinks .btn to ~37px tall at <=480px; V2 CTAs keep a 44px touch target. */
@media (max-width: 480px) {
  .v2-hero .btn, .v2-section .btn, .v2-cta-band .btn, .v2-card .btn { padding: 0.75rem 1.4rem; min-height: 44px; }
}
