@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ===== Zamok Genie — Language Support — page styles ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --shell: #EDEFF1; --card: #ffffff; --ink: #1B2733; --ink-soft: #3a4754;
    --line: #E5E7EA; --slate: #aebccb; --slate-text: #6B7785;
    --amber: #FBB014; --orange: #F26309; --orange-ink: #C9700A;
    --cream: #FDF3E1; --cream-line: #F5D9A8; --tint: #F6F8FA;
  }
  html { scroll-behavior: smooth; }
  body { font-family: 'Open Sans', 'Segoe UI', system-ui, sans-serif; background: var(--shell); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }

  .layout { max-width: 1040px; margin: 0 auto; padding: 40px 20px 64px; }
  .doc { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 1px 3px rgba(27,39,51,.04), 0 12px 40px rgba(27,39,51,.06); }

  /* HERO */
  .hero { background: var(--ink); color: #fff; padding: 44px 48px 40px; position: relative; overflow: hidden; }
  .hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 300px; height: 300px; background: radial-gradient(circle at center, rgba(242,99,9,.16) 0%, transparent 62%); pointer-events: none; }
  .brand-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; position: relative; z-index: 1; flex-wrap: wrap; gap: 12px; }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
  .brand .mark { width: 26px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, var(--orange), var(--amber)); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; font-weight: 800; }
  .pill-tag { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); border: 1px solid rgba(255,255,255,.18); padding: 6px 12px; border-radius: 999px; }
  .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; position: relative; z-index: 1; }
  .hero h1 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 34px; line-height: 1.14; letter-spacing: -.01em; margin-bottom: 14px; max-width: 26ch; position: relative; z-index: 1; }
  .hero .lede { font-size: 15.5px; color: var(--slate); max-width: 68ch; position: relative; z-index: 1; }
  .hero .lede a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); }
  .hero .lede a:hover { text-decoration-color: #fff; }
  .back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--slate); text-decoration: none; margin-top: 22px; position: relative; z-index: 1; }
  .back-link:hover { color: #fff; }
  .back-link i { font-size: 15px; }

  /* BODY */
  .body { padding: 40px 48px 48px; }

  /* STATS */
  .lang-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
  .stat { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
  .stat .big { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 32px; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
  .stat .cap-l { font-size: 12.5px; color: var(--slate-text); margin-top: 8px; line-height: 1.4; }
  .stat .cap-l b { color: var(--ink); font-weight: 600; }

  /* DISTINCTION NOTE */
  .pull { background: var(--cream); border: 1px solid var(--cream-line); border-left: 6px solid var(--orange); border-radius: 0 12px 12px 0; padding: 16px 20px; margin-bottom: 26px; }
  .pull .label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 6px; }
  .pull p { color: #7a5418; margin: 0; font-size: 14px; line-height: 1.6; }
  .pull code { background: rgba(255,255,255,.55); padding: 2px 6px; border-radius: 6px; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: #5e3f10; }

  /* TOOLBAR */
  .toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
  .toolbar input, .toolbar select { padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--tint); font: inherit; font-size: 14px; color: var(--ink); }
  .toolbar input { flex: 1 1 280px; }
  .toolbar input:focus, .toolbar select:focus { outline: none; border-color: var(--orange); background: #fff; }

  /* TABLE */
  table { width: 100%; border-collapse: collapse; font-size: 13.5px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  thead th { background: var(--ink); color: #fff; text-align: left; padding: 12px 15px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
  tbody td { padding: 11px 15px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
  tbody tr:last-child td { border-bottom: none; }
  tbody tr:nth-child(even) { background: var(--tint); }
  code { background: var(--tint); padding: 2px 6px; border-radius: 6px; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--ink-soft); }
  .pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
  .all { background: var(--orange); color: #fff; }
  .zamok-web { background: var(--cream); color: var(--orange-ink); }
  .zamok { background: var(--tint); color: var(--ink-soft); }
  .web { background: var(--shell); color: var(--slate-text); }
  .yes { color: #2d6a45; font-weight: 700; }
  .no { color: var(--slate); }
  .small { color: var(--slate-text); font-size: 11.5px; margin-top: 3px; max-width: 260px; }

  .footnote-src { padding: 20px 48px; font-size: 12px; color: var(--slate-text); font-style: italic; background: var(--tint); border-top: 1px solid var(--line); }
  .footnote-src a { color: var(--orange-ink); font-weight: 600; text-decoration: none; font-style: normal; }
  .footnote-src a:hover { text-decoration: underline; }

  @media (max-width: 720px) {
    .hero { padding: 32px 24px 28px; } .hero h1 { font-size: 26px; }
    .body { padding: 32px 24px 36px; } .footnote-src { padding: 18px 24px; }
    .lang-row { grid-template-columns: 1fr 1fr; }
    th:nth-child(5), td:nth-child(5), th:nth-child(6), td:nth-child(6) { display: none; }
  }
  @media (max-width: 460px) { .lang-row { grid-template-columns: 1fr; } }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
