/* হরকরা — the document pages.
 *
 * Same world as the landing page: jute ground, two inks, bilingual signboard
 * headings. Different job. A policy is read, not scanned, so the page is one
 * sheet of postcard paper laid on the mat, set at a comfortable measure, with
 * the block-print flourishes kept to the edges where they cannot get between
 * a reader and a sentence they may need to rely on.
 */
:root {
  --jute: #d6c39c;
  --jute-3: #b79f70;
  --ink: #2a2114;
  --ink-2: #5a4a33;
  --terra: #9b3a21;
  --indigo: #1f3556;
  --indigo-2: #16263f;
  --postcard: #efe3c6;
  --paper: #f7f0e1;
  --bn-display: "Galada", "Hind Siliguri", serif;
  --en-display: "Zilla Slab", Georgia, serif;
  --body: "Hind Siliguri", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  background:
    repeating-linear-gradient(0deg, rgba(60, 40, 10, 0.06) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(60, 40, 10, 0.06) 0 1px, transparent 1px 4px),
    var(--jute);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--terra); }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }

.gamcha {
  height: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(247, 240, 225, 0.55) 0 7px, transparent 7px 14px),
    repeating-linear-gradient(0deg, rgba(247, 240, 225, 0.35) 0 3px, transparent 3px 7px),
    #b23323;
}

nav {
  max-width: 780px;
  margin: 0 auto;
  padding: 22px clamp(18px, 4vw, 40px) 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 0.6rem; }
.brand .bn { font-family: var(--bn-display); font-size: 2rem; color: var(--terra); line-height: 1; }
.brand .en {
  font-family: var(--en-display); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
nav .back {
  font-family: var(--en-display); font-weight: 600; font-size: 0.9rem;
  text-decoration: none; color: var(--ink-2);
}
nav .back:hover { color: var(--indigo); }

/* the sheet */
main {
  max-width: 780px;
  margin: 0 auto clamp(40px, 7vw, 80px);
  padding: clamp(26px, 4vw, 46px) clamp(22px, 5vw, 56px) clamp(30px, 5vw, 52px);
  background: var(--postcard);
  border: 1px solid #e3d3ae;
  border-radius: 3px;
  box-shadow: 0 14px 30px -18px rgba(40, 25, 5, 0.55);
}

/* bilingual signboard: Bangla big, English small underneath */
.sign { margin: 0 0 0.4rem; }
.sign .bn {
  font-family: var(--bn-display); font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15; color: var(--indigo); display: block; text-wrap: balance;
}
.sign .en {
  font-family: var(--en-display); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--terra);
  display: block; margin-top: 0.1rem;
}
.dated {
  font-family: var(--en-display); font-size: 0.85rem; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink-2); margin: 0 0 1.6rem;
}

/* nakshi kantha running stitch, used as the rule between sections */
.stitch { display: block; width: 100%; height: 16px; overflow: visible; margin: 2.2rem 0 1.4rem; }
.stitch line { stroke: var(--terra); stroke-width: 2.2; stroke-dasharray: 9 7; stroke-linecap: round; }

main h2 {
  font-family: var(--en-display);
  font-size: 1.35rem; font-weight: 600; color: var(--indigo);
  margin: 0 0 0.5rem; text-wrap: balance;
}
main h2 .bn { font-family: var(--bn-display); color: var(--terra); font-weight: 400; margin-inline-end: 0.5rem; }

main p, main li { max-width: 68ch; }
main p { margin: 0 0 1rem; }
main ul { margin: 0 0 1rem; padding-inline-start: 1.1rem; }
main li { margin-bottom: 0.35rem; }
main strong { color: var(--indigo-2); }

/* a notice that must not be missed, stamped rather than boxed in grey */
.notice {
  border: 2px dashed var(--terra);
  border-radius: 3px;
  padding: 0.9rem 1.1rem;
  margin: 0 0 1.4rem;
  background: rgba(155, 58, 33, 0.05);
}
.notice p { margin: 0; }
.notice p + p { margin-top: 0.6rem; }

footer {
  max-width: 780px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px) 26px;
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; align-items: baseline;
  font-size: 0.9rem; color: var(--ink-2);
}
footer .bn { font-family: var(--bn-display); font-size: 1.4rem; color: var(--terra); }
