/* Shared styles for the standalone static service pages under public/.
   These pages are hand-written HTML (not part of the React app) so that their
   content ships in the initial HTML response — the React homepage is
   client-rendered, which makes its copy weaker for search indexing.
   The colour tokens mirror the ones in src/App.css. */

:root {
  --primary-blue: #2e699b;
  --primary-blue-light: #3d7fb5;
  --primary-blue-dark: #1e4a6d;
  --accent-teal: #00a8a8;
  --neutral-charcoal: #1a1a1a;
  --neutral-grey: #666666;
  --light-grey: #f5f7fa;
  --white: #ffffff;
  --border: rgba(46, 105, 155, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--neutral-charcoal);
  background: var(--light-grey);
  line-height: 1.65;
}

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

.page-header {
  background: var(--white);
  padding: 20px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  color: var(--neutral-charcoal);
  letter-spacing: -0.3px;
}

.brand span { color: var(--primary-blue); }

.brand .tagline {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-grey);
  margin-top: 2px;
}

.header-cta {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  color: var(--white);
  text-decoration: none;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
}

/* Layout ------------------------------------------------------------------ */

main {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 88px;
}

.breadcrumb {
  font-size: 13.5px;
  color: var(--neutral-grey);
  margin: 0 0 28px;
}

.breadcrumb a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover { text-decoration: underline; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary-blue);
  margin: 0 0 12px;
}

h1 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.8px;
  line-height: 1.2;
}

.lead {
  color: var(--neutral-grey);
  font-size: 17px;
  margin: 0 0 40px;
}

h2 {
  font-size: 25px;
  font-weight: 700;
  margin: 48px 0 14px;
  letter-spacing: -0.4px;
  line-height: 1.3;
}

h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}

p { margin: 0 0 16px; }

main ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

main li { margin-bottom: 8px; }

a { color: var(--primary-blue); }

@media (max-width: 600px) {
  h1 { font-size: 28px; }
  h2 { font-size: 21px; }
  .lead { font-size: 16px; }
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0 16px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 12px 34px rgba(26, 26, 26, 0.05);
}

.card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--neutral-grey);
}

.card ul {
  margin: 10px 0 0;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--neutral-grey);
}

/* Tag list (protocols, brands, industries) -------------------------------- */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 16px;
  padding: 0;
  list-style: none;
}

.tag-list li {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 500;
}

/* Numbered process steps -------------------------------------------------- */

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 24px 0 16px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  margin-bottom: 22px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FAQ --------------------------------------------------------------------- */

.faq {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 22px;
  margin: 24px 0 16px;
}

.faq details {
  border-bottom: 1px solid #eef1f4;
  padding: 16px 0;
}

.faq details:last-child { border-bottom: none; }

.faq summary {
  font-weight: 650;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::before {
  content: '+';
  color: var(--primary-blue);
  font-weight: 700;
  margin-right: 10px;
}

.faq details[open] summary::before { content: '\2013'; }

.faq details p {
  margin: 12px 0 0;
  color: var(--neutral-grey);
  font-size: 15px;
}

/* CTA band ---------------------------------------------------------------- */

.cta-band {
  background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
  color: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  margin: 56px 0 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin: 0 0 10px;
  font-size: 24px;
}

.cta-band p {
  margin: 0 0 22px;
  opacity: 0.92;
  font-size: 15.5px;
}

.cta-button {
  display: inline-block;
  background: var(--white);
  color: var(--primary-blue-dark);
  text-decoration: none;
  padding: 14px 34px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
}

/* Related links + footer -------------------------------------------------- */

.related {
  margin-top: 48px;
  font-size: 15px;
}

.related h2 { font-size: 19px; margin-bottom: 10px; }

.related ul { padding-left: 22px; }

.page-footer {
  background: var(--neutral-charcoal);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  padding: 26px 20px;
  font-size: 13.5px;
}

.page-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
}
