/* eskiu-lang.org article pages (case studies): Editorial look shared with the homepage. */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --paper: #fbf8f3; --ink: #1c1830; --ink2: #4a4560; --muted: #6b6580; --faint: #8b8699;
  --rule: #e6e0d6; --purple: #3b2a8c; --lilac: #e9e1f4; --lilac-2: #f1ecf8; --lilac-3: #d9d1f0;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: 24px;
}
@media (min-width: 900px) { :root { --gutter: 48px; } }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink2); font-family: var(--sans); font-size: 17px;
       line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--ink); }
.bar { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(251, 248, 243, 0.94);
       backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--rule); }
.top-in { height: 72px; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 800;
         font-size: 24px; color: var(--ink); }
.brand img { width: 34px; height: 34px; }
.brand .v { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--faint); margin-left: 2px; }
.nav { display: none; gap: 30px; font-weight: 500; font-size: 16px; }
.nav a { color: var(--ink); }
.nav a:hover { color: var(--purple); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { font-size: 15px; font-weight: 500; color: var(--faint); padding: 10px 4px; }
.lang a { color: var(--ink); }
.lang [aria-current] { color: var(--ink); font-weight: 700; }
.btn-install { display: none; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 15px;
               padding: 12px 20px; border-radius: 12px; }
.btn-install:hover { background: var(--purple); color: #fff; }
.menu-btn { width: 48px; height: 48px; border: 1.5px solid var(--ink); background: #fff; border-radius: 14px;
            display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; color: var(--ink); }
.drawer { display: none; border-top: 1px solid var(--rule); padding: 8px var(--gutter) 20px; }
.drawer a { display: block; padding-block: 14px; font-size: 18px; font-weight: 500; color: var(--ink);
            border-bottom: 1px solid var(--rule); }
.top.open .drawer { display: block; }
@media (min-width: 900px) {
  .nav, .btn-install { display: flex; }
  .menu-btn, .drawer, .top.open .drawer { display: none; }
}

/* Article */
.article { max-width: calc(760px + 2 * var(--gutter)); padding-block: 48px 96px; overflow-wrap: break-word; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
           color: var(--purple); margin-bottom: 14px; }
.article h1 { margin: 0 0 32px; font-family: var(--serif); font-weight: 800; font-size: clamp(40px, 6vw, 60px);
              line-height: 1.04; letter-spacing: -0.03em; color: var(--ink); }
.article h2 { margin: 56px 0 14px; font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3vw, 32px);
              line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.article h3 { margin: 36px 0 10px; font-size: 20px; font-weight: 700; color: var(--ink); }
.article p { margin: 0 0 18px; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 1.3em; }
.article li { margin-bottom: 8px; }
.article strong { font-weight: 700; color: var(--ink); }
.article p a, .article li a, .article td a { text-decoration: underline; text-decoration-color: var(--lilac-3);
  text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.article p a:hover, .article li a:hover, .article td a:hover { text-decoration-color: var(--purple); }
.pull { margin: 0 0 40px; background: var(--lilac); border-radius: 20px; padding: 28px 26px;
        font-family: var(--serif); font-size: 21px; line-height: 1.45; color: var(--ink); }
.pull .stat { display: block; margin-top: 18px; padding-top: 16px; border-top: 1.5px solid rgba(59, 42, 140, 0.25);
              font-family: var(--sans); font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--purple); }
figure { margin: 8px 6px 36px 0; }
figure img { width: 100%; height: auto; display: block; border: 1.5px solid var(--ink); border-radius: 18px;
             box-shadow: 6px 6px 0 var(--lilac); }
figcaption { font-family: var(--mono); font-size: 13px; line-height: 1.55; color: var(--muted); margin-top: 14px; }
code { font-family: var(--mono); font-size: 0.88em; color: var(--ink); background: var(--lilac-2);
       padding: 0.12em 0.38em; border-radius: 6px; overflow-wrap: anywhere; }
pre { margin: 0 6px 28px 0; background: #fff; border: 1.5px solid var(--ink); border-radius: 14px; padding: 18px 20px;
      overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.7; color: var(--ink);
      box-shadow: 5px 5px 0 var(--lilac); }
pre code { background: none; padding: 0; font-size: inherit; overflow-wrap: normal; }
.tablewrap { overflow-x: auto; margin: 0 0 28px; background: #fff; border: 1.5px solid var(--ink); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
     color: var(--muted); background: var(--paper); border-bottom: 1.5px solid var(--ink); }
tr:last-child td { border-bottom: none; }
td.n { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 900px) {
  .article { padding-block: 72px 120px; }
  .article p, .article li { font-size: 18px; }
  .pull { padding: 36px 40px; font-size: 24px; }
  pre { font-size: 14px; padding: 20px 24px; }
}

/* Footer */
.foot { border-top: 1.5px solid var(--ink); }
.foot-in { padding-block: 40px 48px; display: flex; flex-direction: column; gap: 22px; font-size: 16px; color: var(--ink2); }
.foot .brand { font-size: 26px; }
.foot-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.foot-links a { color: var(--ink); padding-block: 12px; }
.foot-links a:hover { color: var(--purple); }
@media (min-width: 900px) {
  .foot-in { flex-direction: row; align-items: center; gap: 12px 32px; padding-block: 36px; }
  .foot .brand { font-size: 22px; }
  .foot-links { display: flex; gap: 26px; margin-left: auto; }
}

/* Quickstart extras */
.lede { font-size: 19px; line-height: 1.6; color: var(--ink2); margin: -12px 0 36px; max-width: 640px; }
.btns { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 20px; }
.btn-w { display: flex; align-items: center; min-height: 52px; padding: 10px 18px; background: #fff; color: var(--ink);
         border: 1.5px solid var(--ink); border-radius: 14px; font-weight: 700; font-size: 16px; line-height: 1.3; }
.btn-w:hover { background: var(--ink); color: var(--paper); }
.note { font-size: 15px; line-height: 1.6; color: var(--muted); background: var(--lilac-2); border-radius: 14px; padding: 14px 18px; }
.article p.note { font-size: 15px; }
pre .c { color: var(--faint); }
pre .o { color: var(--purple); }
@media (min-width: 900px) {
  .lede { font-size: 21px; }
  .btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.nav a[aria-current] { color: var(--purple); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
