@font-face {
  font-family: 'Source Serif 4 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/fonts/source-serif-4-cyrillic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* source-serif-4-greek-wght-normal */
@font-face {
  font-family: 'Source Serif 4 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/fonts/source-serif-4-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* source-serif-4-latin-wght-normal */
@font-face {
  font-family: 'Source Serif 4 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/fonts/source-serif-4-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-cyrillic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* inter-greek-ext-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* inter-latin-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Noto Naskh Arabic Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/assets/fonts/noto-naskh-arabic-arabic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}

/* noto-naskh-arabic-math-wght-normal */
@font-face {
  font-family: 'Noto Naskh Arabic Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/assets/fonts/noto-naskh-arabic-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* Theme: "Belge" (open letter). Change the tokens to restyle the whole site. */
:root {
  --paper: #f7f4ee; --card: #ffffff; --ink: #1b1a17; --ink-2: #3d3934; --ink-3: #55504a;
  --line: #d9d3c7; --line-2: #e6e0d5; --accent: #9f1d1d; --accent-ink: #ffffff; --ok: #1f5f3f; --tint: #efe9dd;
  /* Kurdistan colours for the three signing modes: kesk, sor, zer */
  --kesk-bg: #e2f1e6; --kesk: #1d7a3e; --sor-bg: #f9e0de; --sor: #b3261e; --zer-bg: #fbf1cc; --zer: #9a7300;
  --serif: 'Source Serif 4 Variable', Georgia, 'Times New Roman', serif;
  --sans: 'Inter Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --arab: 'Noto Naskh Arabic Variable', 'Noto Naskh Arabic', 'Geeza Pro', serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #15140f; --card: #1e1c17; --ink: #efe9df; --ink-2: #d6cfc3; --ink-3: #b3ab9e;
    --line: #3a362e; --line-2: #2c2923; --accent: #e0645c; --accent-ink: #15140f; --ok: #6cc497; --tint: #26231c;
    --kesk-bg: #17301f; --kesk: #6cc497; --sor-bg: #3a1a18; --sor: #f08a82; --zer-bg: #362d10; --zer: #e8c04a; color-scheme: dark; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
[dir="rtl"] body, body[dir="rtl"], html[dir="rtl"] body { font-family: var(--arab), var(--sans); }
a { color: var(--accent); text-underline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 760px; padding-block: 40px 72px; }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; background: var(--card); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.top { border-bottom: 1px solid var(--line); }
.top-in { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding-block: 12px; }
.brand { font: 700 22px/1 var(--serif); letter-spacing: .04em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.brand img { background: #fff; border-radius: 8px; padding: 2px; width: 48px; height: 56px; object-fit: contain; }
.langs { display: flex; flex-wrap: wrap; gap: 2px; font-size: 15px; }
.langs a { padding: 10px; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-3); text-decoration: none; border-bottom: 2px solid transparent; }
.langs a[aria-current] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }

.hero { margin: 24px auto 0; }
.hero img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.hero + .layout { padding-top: 32px; }
.layout { display: flex; flex-wrap: wrap; gap: 48px; padding-block: 48px 72px; align-items: flex-start; }
.col-main { flex: 999 1 560px; min-width: 0; }
.signbox { flex: 1 1 360px; min-width: 0; position: sticky; top: 16px; }
@media (max-width: 960px) { .signbox { position: static; } }

.statement { font: 20px/1.75 var(--serif); }
[dir="rtl"] .statement { font-family: var(--arab); font-size: 21px; line-height: 1.95; }
.statement p { margin: 0 0 18px; }
.kicker { font: 600 13px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px !important; }
.statement h1 { font: 700 clamp(32px, 5vw, 48px)/1.12 var(--serif); margin: 0 0 28px; }
[dir="rtl"] .statement h1 { font-family: var(--arab); line-height: 1.4; }
.today { font-weight: 700; font-size: 26px; margin: 26px 0 !important; }
.demands { padding-inline-start: 22px; margin: 0 0 18px; }
.demands li { margin-bottom: 8px; }

.card { background: var(--card); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.card h2 { font: 700 26px/1.2 var(--serif); margin: 0; }
[dir="rtl"] .card h2 { font-family: var(--arab); }
.card h3 { font-size: 16px; margin: 8px 0 0; }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.mode { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); cursor: pointer; }
.m-named { background: var(--kesk-bg); border-color: var(--kesk); border-inline-start: 6px solid var(--kesk); }
.m-initials { background: var(--sor-bg); border-color: var(--sor); border-inline-start: 6px solid var(--sor); }
.m-anon { background: var(--zer-bg); border-color: var(--zer); border-inline-start: 6px solid var(--zer); }
.mode:has(input:checked) { border-width: 2px 2px 2px 6px; padding: 11px; box-shadow: 0 0 0 2px var(--ink) inset; }
[dir="rtl"] .mode:has(input:checked) { border-width: 2px 6px 2px 2px; }
.m-named input { accent-color: var(--kesk); } .m-initials input { accent-color: var(--sor); } .m-anon input { accent-color: var(--zer); }
.mode input { margin-top: 4px; }
.mode small { display: block; color: var(--ink-3); font-size: 14px; line-height: 1.45; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field small { color: var(--ink-3); font-size: 14px; }
input[type="text"], select, textarea { font: inherit; color: var(--ink); background: var(--card); border: 1px solid #8f887d; padding: 11px 12px; min-height: 46px; width: 100%; border-radius: 0; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 420px) { .grid2 { grid-template-columns: 1fr; } }
.consents { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.consents label { display: flex; gap: 10px; align-items: flex-start; }
.consents input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
button { font: inherit; cursor: pointer; min-height: 48px; padding: 12px 18px; border-radius: 0; }
button[disabled] { opacity: .6; cursor: progress; }
.primary { background: var(--accent); color: var(--accent-ink); border: 0; font-weight: 700; font-size: 18px; }
.secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.secondary small { display: block; font-size: 13px; color: var(--ink-3); }
.dark { background: var(--ink); color: var(--paper); border: 0; font-weight: 600; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.share a { padding: 12px 16px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); min-height: 48px; display: inline-flex; align-items: center; }
.note { font-size: 14px; color: var(--ink-3); margin: 0; }
.error { color: var(--accent); font-weight: 600; margin: 0; }
.ok { color: var(--ok); font-weight: 600; margin: 0; }
.warn { margin-top: 16px; padding: 16px; background: var(--tint); font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.code { border: 2px solid var(--ink); background: var(--paper); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.code-value { font: 600 22px/1.3 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: .05em; word-break: break-all; margin: 0; direction: ltr; text-align: start; }

.signers { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 28px; }
.signers h2 { font: 700 28px/1.2 var(--serif); margin: 0 0 16px; }
.counts { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-bottom: 8px; }
.counts > div { flex: 1 1 150px; max-width: 220px; }
.counts b { display: block; font: 700 40px/1.1 var(--serif); }
.counts span { font-size: 14px; color: var(--ink-3); }
.list { list-style: none; margin: 20px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
@media (max-width: 640px) { .list { grid-template-columns: 1fr; } }
.list li { padding: 12px 0; border-bottom: 1px solid var(--line-2); display: flex; gap: 8px; justify-content: space-between; align-items: baseline; }
.list .meta { display: block; font-size: 14px; color: var(--ink-3); }
.list .badge { font-size: 13px; color: var(--ok); font-weight: 600; margin-inline-start: 6px; }
.list .rep { font-size: 13px; color: var(--ink-3); flex: none; padding: 8px 0; }

.legal h1 { font: 700 36px/1.2 var(--serif); }
.legal h2 { font: 700 22px/1.3 var(--serif); margin-top: 32px; }
.table { overflow-x: auto; border: 1px solid var(--line); }
table { border-collapse: collapse; font-size: 14px; min-width: 640px; }
th, td { border-bottom: 1px solid var(--line-2); padding: 8px 10px; text-align: start; vertical-align: top; }

.foot { border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-block: 20px; font-size: 14px; color: var(--ink-3); }
dialog { border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 24px; max-width: min(92vw, 380px); text-align: center; }
dialog::backdrop { background: rgb(0 0 0 / .45); }
dialog h2 { font: 700 22px/1.25 var(--serif); margin: 0 0 8px; }
#wc-qr { display: block; margin: 12px auto; background: #fff; }
.wc-link { display: inline-block; padding: 14px 18px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; }
.stores { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 14px; color: var(--ink-3); margin: 0; }
.stores a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
dialog .stores { justify-content: center; margin-bottom: 12px; }
[hidden] { display: none !important; }
