/* help.e4l.com (2026-10-06). E4L brand (cream / ink / brass, Cormorant
   Garamond + Hanken Grotesk, as in the dashboard and chat widget), tuned for
   reading: 18px body text, ~68-character lines, generous spacing. Freshdesk's
   own pages used small fixed fonts, which Julien found hard to read. */
:root {
  --bg: #F7F3EA; --panel: #FCFAF4; --surface: #FFFFFF;
  --ink: #1E1C17; --body: #3B3832; --muted: #6A655B; --line: #E6DFCF; --line-strong: #928C80;
  --brass: #EFB52A; --brass-hover: #E0A722; --on-brass: #1E1C17; --link: #176E7E; --link-hover: #0F5260;
  --gen-bg: #F8F0DC; --gen-ink: #7A5B33; --gen-border: #C4A26D;
  --header: #1E1C17; --on-header: #F7F3EA;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1B18; --panel: #24221E; --surface: #2C2A25;
    --ink: #ECE6DA; --body: #D6D0C4; --muted: #A29B8E; --line: #36332D; --line-strong: #7B7569;
    --brass: #D8AA3E; --brass-hover: #E2B655; --link: #7CC6D3; --link-hover: #A5DCE6;
    --gen-bg: #3A3227; --gen-ink: #E3C995; --gen-border: #6E5A3A;
    --header: #121110; --on-header: #ECE6DA;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--sans); font-size: 18px; line-height: 1.65; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }
img, video { max-width: 100%; height: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--on-brass); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 760px; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }

/* Header */
.site-header { background: var(--header); color: var(--on-header); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-block: 14px; }
.wordmark { color: var(--on-header); text-decoration: none; font-weight: 800; letter-spacing: .03em; font-size: 17px; white-space: nowrap; }
.wordmark:hover { color: var(--on-header); }
.wordmark .four { color: var(--brass); }
.wordmark .tagline { font-weight: 400; letter-spacing: 0; font-size: 16px; opacity: .8; margin-left: 4px; }

/* Search */
.search { display: flex; gap: 8px; }
.search input { flex: 1; min-width: 0; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 14px; }
.search button, .btn-primary { font: inherit; font-weight: 700; background: var(--brass); color: var(--on-brass); border: none; border-radius: 10px; padding: 10px 18px; cursor: pointer; }
.search button:hover, .btn-primary:hover { background: var(--brass-hover); }
.search-small { flex: 1 1 280px; max-width: 420px; font-size: 16px; }
.search-small input { padding: 8px 12px; border-color: transparent; }
.search-big { font-size: 19px; margin-top: 18px; }
.search-big input { padding: 14px 18px; }
.search-big button { padding: 14px 22px; }

/* Home */
.hero { background: var(--panel); border-bottom: 1px solid var(--line); padding-block: 48px 40px; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.1rem); line-height: 1.1; margin: 0; }
.hint { color: var(--muted); font-size: 17px; margin: 10px 0 0; }
.topics { padding-block: 36px 48px; }
.section-label { font-family: var(--sans); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 14px; }
.topic-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.topic { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.topic:hover { border-color: var(--gen-border); }
.topic-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.topic-count { font-size: 16px; color: var(--muted); }

/* Lists, search results, topic pages */
main { padding-bottom: 8px; }
.narrow { padding-block: 28px 40px; }
.page-title { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 2.6rem); line-height: 1.15; margin: 6px 0 4px; }
.subtle { color: var(--muted); font-size: 16px; margin: 0; }
.crumbs { font-size: 16px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.topic-group { margin-top: 26px; }
.group-title { font-size: 1rem; margin: 0 0 8px; }
.article-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.article-list li { border-bottom: 1px solid var(--line); }
.article-list a { display: block; padding: 12px 2px; text-decoration: none; font-weight: 600; }
.results { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.results a { font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.result-meta { font-size: 15px; color: var(--muted); margin-top: 2px; }
.results p { margin: 4px 0 0; color: var(--body); font-size: 17px; }
.empty { color: var(--body); }

/* Article */
.article-title { font-family: var(--serif); font-size: clamp(2.1rem, 5vw, 2.8rem); line-height: 1.12; margin: 8px 0 10px; }
.gen-badge { display: inline-block; background: var(--gen-bg); color: var(--gen-ink); border: 1px solid var(--gen-border); border-radius: 999px; padding: 3px 12px; font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.prose { max-width: 68ch; margin-top: 18px; overflow-wrap: anywhere; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: var(--sans); line-height: 1.3; margin: 1.8em 0 .5em; }
.prose h1, .prose h2 { font-size: 1.35rem; }
.prose h3, .prose h4 { font-size: 1.12rem; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose li > p { margin: 0 0 .4em; }
.prose strong { color: var(--ink); }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 2em 0; }
.prose img { border-radius: 8px; border: 1px solid var(--line); margin: .5em 0; }
.prose blockquote { margin: 1em 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--gen-border); color: var(--body); }
.prose code { font-size: .92em; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
.prose table { border-collapse: collapse; font-size: 17px; min-width: 100%; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--panel); color: var(--ink); }
.video { position: relative; aspect-ratio: 16 / 9; max-width: 100%; margin: 1em 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.attachments { max-width: 68ch; margin-top: 10px; }
.video-file video { width: 100%; border-radius: 10px; background: #000; }
figure { margin: 1em 0; }
figcaption { font-size: 15px; color: var(--muted); margin-top: 4px; }
.file-link { font-weight: 600; }
.related { margin-top: 40px; }

/* Still need help */
.ask { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ask-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 26px; }
.ask h2 { font-family: var(--serif); font-size: 1.7rem; margin: 0; }
.ask p { margin: 4px 0 0; max-width: 60ch; }

/* Footer */
.site-footer { font-size: 16px; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px 40px; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-row a { color: var(--muted); }
.footer-row p { margin: 0; }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .search-small { max-width: none; }
  .hero { padding-block: 32px 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .topic, .search button, .btn-primary { transition: border-color .15s, background-color .15s; }
}
