/* Static GlyScan.AI page styling. Kept external so Cloudflare CSP style-src 'self' allows it. */
:root {
      color-scheme: light;
      --ink: #0f172a;
      --muted: #64748b;
      --faint: #94a3b8;
      --line: #e2e8f0;
      --soft: #eff6ff;
      --soft-line: #dbeafe;
      --accent: #2563eb;
      --panel: #ffffff;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background: #ffffff;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }
    a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
    .site-header {
      position: sticky;
      top: 0;
      z-index: 20;
      border-bottom: 1px solid #f1f5f9;
      background: rgba(255, 255, 255, 0.86);
      backdrop-filter: blur(16px);
    }
    .topbar {
      max-width: 1280px;
      min-height: 80px;
      margin: 0 auto;
      padding: 0 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }
    .brand {
      color: var(--ink);
      text-decoration: none;
      font-size: 18px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: -0.02em;
      white-space: nowrap;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 40px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .nav-links a {
      color: #475569;
      text-decoration: none;
      transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
    }
    .nav-links a:hover { color: var(--accent); }
    .nav-links .contact {
      padding: 9px 18px;
      border: 1px solid var(--ink);
      color: var(--ink);
    }
    .nav-links .contact:hover { color: #ffffff; background: var(--ink); }
    main { overflow: hidden; }
    .hero {
      position: relative;
      overflow: hidden;
      border-bottom: 1px solid #f1f5f9;
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 256px;
      background: #eff6ff;
      border-bottom: 1px solid var(--soft-line);
      z-index: 0;
    }
    .hero-inner {
      position: relative;
      z-index: 1;
      max-width: 1280px;
      margin: 0 auto;
      padding: 136px 48px 92px;
    }
    .eyebrow {
      display: inline-block;
      margin-bottom: 24px;
      border: 1px solid rgba(37, 99, 235, 0.22);
      background: #eff6ff;
      color: var(--accent);
      padding: 5px 13px;
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.2em;
    }
    h1 {
      max-width: 980px;
      margin: 0;
      font-size: clamp(48px, 8vw, 96px);
      line-height: 1.05;
      letter-spacing: -0.04em;
      font-weight: 800;
    }
    .home-lead {
      max-width: 760px;
      color: var(--muted);
      font-size: 22px;
      line-height: 1.7;
      margin-top: 28px;
    }
    article {
      max-width: 920px;
      margin: 0 auto;
      padding: 72px 48px 104px;
    }
    article nav {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 0 0 40px;
      padding-bottom: 28px;
      border-bottom: 1px solid var(--line);
    }
    article nav a {
      display: inline-flex;
      align-items: center;
      min-height: 38px;
      padding: 9px 12px;
      border: 1px solid var(--line);
      color: #475569;
      background: #ffffff;
      text-decoration: none;
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
    }
    article nav a:hover {
      color: var(--accent);
      border-color: var(--accent);
      transform: translateY(-1px);
    }
    h2 {
      margin: 48px 0 14px;
      font-size: 30px;
      line-height: 1.2;
      letter-spacing: -0.02em;
      font-weight: 800;
    }
    h3 {
      margin: 28px 0 10px;
      font-size: 20px;
      line-height: 1.3;
      letter-spacing: -0.01em;
      font-weight: 800;
    }
    .feature-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
      margin-top: 28px;
    }
    .feature-card {
      margin: 0;
      padding: 24px;
      border: 1px solid var(--line);
      background: #ffffff;
    }
    .feature-card h3 {
      margin-top: 0;
    }
    .literacy-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
      padding: 0;
      list-style: none;
    }
    .literacy-list li {
      border: 1px solid var(--line);
      background: #f8fafc;
      padding: 18px;
    }
    p, li {
      color: var(--muted);
      font-size: 17px;
      line-height: 1.78;
    }
    p { margin: 0 0 18px; }
    .muted {
      color: var(--muted);
    }
    ul, ol { padding-left: 24px; }
    strong { color: var(--ink); }
    section {
      margin: 38px 0;
      padding: 28px;
      border: 1px solid var(--line);
      background: #ffffff;
    }
    .notice {
      border-color: var(--soft-line);
      background: #eff6ff;
    }
    section:first-of-type {
      border-color: var(--soft-line);
      background: #eff6ff;
    }
    pre {
      max-width: 100%;
      overflow-x: auto;
      padding: 20px;
      border: 1px solid var(--line);
      background: #f8fafc;
      color: #334155;
      font-size: 13px;
      line-height: 1.6;
      white-space: pre-wrap;
    }
    .site-footer {
      border-top: 1px solid #f1f5f9;
      background: #ffffff;
      padding: 96px 48px 48px;
    }
    .footer-inner {
      max-width: 1280px;
      margin: 0 auto;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 48px;
      margin-bottom: 88px;
    }
    .footer-brand {
      margin: 0 0 28px;
      color: var(--ink);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: -0.03em;
    }
    .footer-copy {
      max-width: 360px;
      color: #94a3b8;
      font-size: 14px;
      line-height: 1.7;
    }
    .footer-heading {
      margin: 0 0 22px;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--ink);
    }
    .footer-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 14px;
    }
    .footer-list a {
      color: var(--muted);
      text-decoration: none;
      font-size: 14px;
    }
    .footer-list a:hover { color: var(--accent); }
    .footer-bottom {
      border-top: 1px solid #f1f5f9;
      padding-top: 44px;
      display: flex;
      justify-content: space-between;
      gap: 32px;
      align-items: flex-start;
      color: var(--faint);
      font-size: 11px;
      line-height: 1.7;
      text-transform: uppercase;
      letter-spacing: 0.12em;
    }
    .footer-bottom p { margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
    @media (max-width: 760px) {
      .topbar { min-height: auto; padding: 22px 24px; align-items: flex-start; flex-direction: column; }
      .nav-links { width: 100%; gap: 16px; flex-wrap: wrap; font-size: 12px; }
      .hero-inner { padding: 88px 24px 64px; }
      .feature-grid, .literacy-list { grid-template-columns: 1fr; }
      article { padding: 56px 24px 84px; }
      article nav { display: grid; grid-template-columns: 1fr; }
      .site-footer { padding: 72px 24px 36px; }
      .footer-grid { grid-template-columns: 1fr; margin-bottom: 56px; }
      .footer-bottom { flex-direction: column; }
    }
