/* Externalized from inline <style> + style= attributes (CSP style-src 'self'). */

:root {
      --ink:      #060E16;
      --navy:     #091624;
      --slate:    #0D2038;
      --steel:    #122840;
      --rule:     #1A3A52;
      --dim:      #4A83A0;
      --muted:    #4A87A3;
      --ghost:    #6AACC0;
      --light:    #A8D4E0;
      --white:    #FFFFFF;
      --accent:   #0098BE;
      --accent2:  #00C8E8;
    }
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { font-family: 'Crimson Pro', Georgia, serif; background: var(--ink); color: var(--light); font-size: 20px; line-height: 1.7; overflow-x: hidden; }

    nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 56px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(26,58,82,0.6); background: rgba(6,14,22,0.95); backdrop-filter: blur(12px); }
    .nav-brand { font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; font-weight: 900; letter-spacing: 0.2em; color: var(--white); text-decoration: none; text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
    .nav-brand img { width: 48px; height: 48px; object-fit: contain; }
    .nav-brand span { color: var(--accent2); }
    .nav-links { display: flex; gap: 28px; list-style: none; }
    .nav-links a { font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s; }
    .nav-links a:hover { color: var(--white); }
    .nav-cta { font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); background: var(--accent); padding: 9px 20px; text-decoration: none; transition: background 0.2s; }
    .nav-cta:hover { background: var(--accent2); }
    .nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
    .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--light); transition: transform 0.3s, opacity 0.3s; }
    .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .page-wrap { max-width: 800px; margin: 0 auto; padding: 140px 40px 100px; }
    .breadcrumb { font-family: 'JetBrains Mono', monospace; font-size: 0.95rem; letter-spacing: 0.15em; color: var(--dim); text-transform: uppercase; display: flex; align-items: center; gap: 10px; margin-bottom: 40px; }
    .breadcrumb a { color: var(--dim); text-decoration: none; transition: color 0.2s; }
    .breadcrumb a:hover { color: var(--muted); }
    .page-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; letter-spacing: 0.22em; color: var(--accent); text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
    .page-eyebrow::before { content: ''; display: inline-block; width: 24px; height: 2px; background: var(--accent); }
    .page-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 900; text-transform: uppercase; letter-spacing: 0.01em; color: var(--white); line-height: 0.95; margin-bottom: 12px; }
    .page-meta { font-family: 'JetBrains Mono', monospace; font-size: 0.95rem; letter-spacing: 0.15em; color: var(--dim); text-transform: uppercase; margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--rule); }

    .prose h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--white); margin: 48px 0 14px; padding-top: 48px; border-top: 1px solid var(--rule); line-height: 1.1; }
    .prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
    .prose p { font-size: 1rem; font-weight: 300; color: var(--ghost); line-height: 1.85; margin-bottom: 18px; }
    .prose p strong { color: var(--light); font-weight: 600; }
    .prose a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(0,152,190,0.3); transition: color 0.2s, border-color 0.2s; }
    .prose a:hover { color: var(--accent2); border-color: var(--accent2); }
    .prose ul { list-style: none; margin: 16px 0 20px; display: flex; flex-direction: column; gap: 8px; }
    .prose ul li { font-size: 0.95rem; font-weight: 300; color: var(--ghost); line-height: 1.7; display: flex; gap: 12px; align-items: flex-start; }
    .prose ul li::before { content: '→'; font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; color: var(--accent); margin-top: 5px; flex-shrink: 0; }
    .prose ul li strong { color: var(--light); font-weight: 600; }
    .contact-block { background: var(--navy); border: 1px solid var(--rule); border-left: 3px solid var(--accent); padding: 24px 24px; margin-top: 16px; }
    .contact-block p { margin-bottom: 6px; font-size: 0.92rem; }
    .contact-block p:last-child { margin-bottom: 0; }

    footer { background: var(--navy); border-top: 1px solid var(--rule); padding: 36px 56px; display: flex; justify-content: space-between; align-items: center; }
    .footer-brand { font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; font-weight: 900; letter-spacing: 0.2em; color: var(--white); text-decoration: none; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
    .footer-brand img { width: 48px; height: 48px; object-fit: contain; }
    .footer-brand span { color: var(--accent2); }
    .footer-links { display: flex; gap: 20px; list-style: none; flex-wrap: wrap; justify-content: center; }
    .footer-links a { font-family: 'JetBrains Mono', monospace; font-size: 0.95rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s; }
    .footer-links a:hover { color: var(--white); }
    .footer-copy { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--dim); }
    a:focus-visible, button:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }

    @media (max-width: 768px) {
      nav { padding: 14px 20px; }
      .nav-toggle { display: flex; }
      .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(6,14,22,0.98); flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid var(--rule); }
      .nav-links.open { display: flex; }
      .nav-cta { padding: 8px 16px; }
      footer { padding: 40px 20px; }
      .footer-links { gap: 14px; }
    }
  
    /* a11y: skip link + focus */
    .skip-link{position:absolute;left:-9999px;top:0;z-index:1000;background:#0098BE;color:#fff;padding:10px 18px;font-family:'JetBrains Mono',monospace;font-size:0.85rem;letter-spacing:0.1em;text-transform:uppercase;text-decoration:none;}
    .skip-link:focus{left:8px;top:8px;}
    a:focus-visible,button:focus-visible,[tabindex]:focus-visible{outline:2px solid #00C8E8;outline-offset:3px;}

/* ---- inline style= attributes, externalized (loaded last to preserve precedence) ---- */
.qt1{color:var(--rule);}
.qt2{font-style: normal; margin-top: 8px;}
.qt3{color: inherit;}
.qt4{margin-top: 10px; opacity: 0.7;}
