/* ============================================================
   NW Agentic — Static / content page styles
   nwagentic.ai
   ============================================================
   Shared styles for /about/, /contact/, /customers/, /privacy.html,
   /terms.html. Long-form prose, simple layouts, no dense components.

   Depends on: tokens.css, base.css, partials.css.
   See DESIGN.md §5.7, §5.9, §5.10.
   ============================================================ */

@layer components {

  /* ── Generic dark hero (used by about, contact, customers) ── */
  .static-hero {
    background: var(--navy-deep);
    color: var(--text-on-dark);
    padding-block: 9rem 4rem;
    position: relative;
    overflow: hidden;
  }
  .static-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(900px 500px at 90% 10%, rgba(96, 165, 250, 0.18), transparent 60%),
      radial-gradient(700px 500px at 5% 95%, rgba(245, 158, 11, 0.10), transparent 60%);
    pointer-events: none;
  }
  .static-hero__inner { position: relative; z-index: 1; max-width: 720px; }
  .static-hero__chip {
    display: inline-block;
    font-size: var(--fs-eyebrow);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--tr-eyebrow);
    text-transform: uppercase;
    color: var(--blue-bright);
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.3);
    padding: 0.4em 1em;
    border-radius: var(--radius-pill);
    margin-block-end: var(--space-6);
  }
  .static-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: var(--fw-extrabold);
    line-height: var(--lh-display);
    letter-spacing: var(--tr-display);
    color: var(--text-on-dark);
    margin-block-end: var(--space-4);
    text-wrap: balance;
  }
  .static-hero h1 em, .static-hero h1 .accent {
    color: var(--blue-bright);
    font-style: normal;
  }
  .static-hero__sub {
    font-size: var(--fs-body-lg);
    color: var(--text-on-dark-soft);
    line-height: var(--lh-body);
  }

  /* ── Long-form prose container ──────────────────────── */
  .prose {
    max-width: 720px;
    margin-inline: auto;
    color: var(--text-primary);
  }
  .prose h2 {
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    line-height: var(--lh-heading);
    letter-spacing: var(--tr-heading);
    margin-block: var(--space-12) var(--space-4);
    text-wrap: balance;
  }
  .prose h3 {
    font-size: var(--fs-h3);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-tight);
    letter-spacing: var(--tr-tight);
    margin-block: var(--space-8) var(--space-3);
  }
  .prose h2:first-child, .prose h3:first-child { margin-top: 0; }
  .prose p {
    color: var(--text-secondary);
    line-height: var(--lh-body);
    margin-block: 0 var(--space-4);
    font-size: 1.0625rem;
  }
  .prose p strong { color: var(--text-primary); }
  .prose ul, .prose ol {
    margin-block: 0 var(--space-4);
    padding-left: 1.5rem;
    color: var(--text-secondary);
  }
  .prose ul { list-style: disc; }
  .prose ol { list-style: decimal; }
  .prose li { margin-bottom: var(--space-2); line-height: var(--lh-body); }
  .prose a { color: var(--blue); text-decoration: underline; }
  .prose code {
    background: var(--bg-subtle);
    padding: 0.15em 0.45em;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--text-primary);
  }

  /* ── About: founder bio block ────────────────────────── */
  .founder {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--space-6);
    align-items: center;
    padding: var(--space-6);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-block: var(--space-8);
  }
  @media (max-width: 539px) {
    .founder { grid-template-columns: 1fr; text-align: center; }
  }
  .founder__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--brand-gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 2.5rem;
    font-weight: var(--fw-bold);
    border: 2px solid var(--bg-card);
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  @media (max-width: 539px) {
    .founder__avatar { margin-inline: auto; }
  }
  .founder__name {
    font-size: var(--fs-h4);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
  }
  .founder__title {
    font-size: var(--fs-body-sm);
    color: var(--text-tertiary);
    margin-bottom: var(--space-3);
  }
  .founder__body {
    color: var(--text-secondary);
    font-size: var(--fs-body-sm);
    line-height: 1.6;
  }

  /* ── Contact: single Zoom-only card ──────────────────── */
  .contact-card {
    max-width: 640px;
    margin-inline: auto;
    padding: var(--space-12);
    background: var(--navy-deep);
    color: var(--text-on-dark);
    border: 1px solid var(--navy-light);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    position: relative;
    overflow: hidden;
  }
  @media (max-width: 539px) { .contact-card { padding: var(--space-8); } }
  .contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brand-gradient-soft);
    opacity: 0.35;
    pointer-events: none;
  }
  .contact-card > * { position: relative; z-index: 1; }
  .contact-card__chip {
    display: inline-block;
    font-size: var(--fs-eyebrow);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--tr-eyebrow);
    text-transform: uppercase;
    color: var(--blue-bright);
    align-self: flex-start;
  }
  .contact-card h2 {
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    color: var(--text-on-dark);
    margin: 0;
  }
  .contact-card__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin: var(--space-2) 0;
  }
  .contact-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-on-dark-soft);
    font-size: var(--fs-body);
    line-height: 1.55;
  }
  .contact-card__list li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-bright);
    margin-top: 9px;
  }
  .contact-card__note {
    color: var(--text-on-dark-soft);
    font-size: var(--fs-body-sm);
  }
  .contact-card__action { margin-top: var(--space-4); }
  .contact-card__alt {
    color: rgba(255, 255, 255, 0.55);
    font-size: var(--fs-body-sm);
    text-align: center;
    margin-top: var(--space-2);
  }
  .contact-card__alt a {
    color: var(--blue-bright);
    text-decoration: underline;
  }

  /* ── Trust strip below contact ───────────────────────── */
  .contact-trust {
    text-align: center;
    color: var(--text-tertiary);
    font-size: var(--fs-body-sm);
    margin-top: var(--space-12);
  }
  .contact-trust a { color: var(--blue); }

  /* ── Customers / case study ──────────────────────────── */
  .case-study {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-12);
    margin-block: var(--space-8);
  }
  @media (max-width: 767px) { .case-study { padding: var(--space-6); } }
  .case-study__chip {
    display: inline-block;
    font-size: var(--fs-eyebrow);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--tr-eyebrow);
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: var(--space-3);
  }
  .case-study__title {
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    line-height: var(--lh-heading);
    letter-spacing: var(--tr-heading);
    margin-bottom: var(--space-2);
    text-wrap: balance;
  }
  .case-study__sub {
    font-size: var(--fs-body-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
  }
  .case-study__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-6);
    padding-block: var(--space-8);
    border-block: 1px solid var(--border);
    margin-block: var(--space-8);
  }
  @media (max-width: 767px) { .case-study__grid { grid-template-columns: 1fr; } }
  .case-study__metric-value {
    font-size: var(--fs-h2);
    font-weight: var(--fw-extrabold);
    color: var(--text-primary);
    line-height: 1.05;
    letter-spacing: var(--tr-display);
  }
  .case-study__metric-label {
    font-size: var(--fs-body-sm);
    color: var(--text-tertiary);
    margin-top: var(--space-1);
  }
  .case-study__quote {
    border-left: 3px solid var(--blue);
    padding: var(--space-4) var(--space-6);
    margin-block: var(--space-8);
    background: var(--bg-subtle);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: var(--fs-body-lg);
    line-height: 1.55;
    color: var(--text-primary);
    font-style: italic;
  }
  .case-study__quote-attr {
    display: block;
    margin-top: var(--space-3);
    font-style: normal;
    font-size: var(--fs-body-sm);
    color: var(--text-tertiary);
  }
  .case-study__sections h3 { margin-top: var(--space-8); }
  .case-study__sections h3:first-child { margin-top: 0; }
}
