:root {
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, sans-serif;
  --font-mono: "SF Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --font-arabic: "SF Arabic", "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif;

  --wrap: 1200px;
  --header-h: 84px;

  --r-xs: 10px;
  --r-sm: 14px;
  --r: 18px;
  --r-lg: 24px;
  --r-xl: 30px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.32, .72, 0, 1);
  --overshoot: cubic-bezier(.34, 1.35, .4, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;

  --bg: #07080a;
  --bg-2: #0b0d11;
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .07);
  --glass-3: rgba(255, 255, 255, .1);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);

  --text: #f5f5f7;
  --muted: #a1a1a6;
  --faint: #6e6e73;
  --headline-a: #ffffff;
  --headline-b: rgba(245, 245, 247, .88);

  --accent: #0a84ff;
  --accent-strong: #409cff;
  --accent-2: #5e5ce6;
  --accent-soft: rgba(10, 132, 255, .14);
  --accent-line: rgba(10, 132, 255, .36);
  --accent-ink: #ffffff;
  --ok: #30d158;
  --danger: #ff453a;

  --glow-a: rgba(10, 132, 255, .2);
  --glow-b: rgba(94, 92, 230, .16);
  --grid-line: rgba(255, 255, 255, .028);

  --nav-bg: rgba(9, 11, 15, .66);
  --toolbar-bg: rgba(9, 11, 15, .72);
  --cover-a: #0d1f36;
  --cover-b: #05080d;
  --viewer-bg: #0b0d11;

  --shadow-nav: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 18px 44px -28px rgba(0, 0, 0, .9);
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px -18px rgba(0, 0, 0, .8);
  --shadow-md: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 26px 64px -34px rgba(0, 0, 0, .9);
  --shadow-lg: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 46px 110px -46px rgba(0, 0, 0, .95);
}

html[data-theme="light"] {
  color-scheme: light;

  --bg: #f5f5f7;
  --bg-2: #fbfbfd;
  --glass: rgba(255, 255, 255, .62);
  --glass-2: rgba(255, 255, 255, .82);
  --glass-3: rgba(0, 0, 0, .045);
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .14);

  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --headline-a: #1d1d1f;
  --headline-b: rgba(29, 29, 31, .78);

  --accent: #0071e3;
  --accent-strong: #0077ed;
  --accent-2: #5856d6;
  --accent-soft: rgba(0, 113, 227, .1);
  --accent-line: rgba(0, 113, 227, .32);
  --accent-ink: #ffffff;
  --ok: #1d9a4b;
  --danger: #b42318;

  --glow-a: rgba(0, 113, 227, .09);
  --glow-b: rgba(88, 86, 214, .07);
  --grid-line: rgba(0, 0, 0, .03);

  --nav-bg: rgba(250, 250, 252, .72);
  --toolbar-bg: rgba(250, 250, 252, .8);
  --cover-a: #eef4fc;
  --cover-b: #dbe7f7;
  --viewer-bg: #ffffff;

  --shadow-nav: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 44px -30px rgba(0, 0, 0, .28);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px -20px rgba(0, 0, 0, .22);
  --shadow-md: 0 1px 2px rgba(0, 0, 0, .05), 0 26px 64px -36px rgba(0, 0, 0, .28);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .05), 0 46px 110px -48px rgba(0, 0, 0, .32);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-block-start: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -.011em;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 720px at 82% -14%, var(--glow-a), transparent 62%),
    radial-gradient(900px 640px at -6% 16%, var(--glow-b), transparent 66%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 68%);
  mask-image: linear-gradient(to bottom, #000, transparent 68%);
}

html[lang="ar"] body {
  font-family: var(--font-arabic);
  line-height: 1.8;
  letter-spacing: 0;
}

main,
.site-footer { position: relative; z-index: 1; }

img,
svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button,
input,
select { font: inherit; color: inherit; }

a,
button,
input,
select,
textarea { -webkit-tap-highlight-color: transparent; }

button,
select { touch-action: manipulation; }

button { cursor: pointer; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }

h1, h2, h3, h4 { overflow-wrap: break-word; }

ul, ol { padding: 0; }

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] { display: none !important; }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform .24s var(--ease);
}

.skip-link:focus { transform: none; }

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

.ico {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(48, 209, 88, .16), 0 0 12px rgba(48, 209, 88, .55);
  flex: none;
}

html[data-theme="light"] .dot {
  box-shadow: 0 0 0 3px rgba(29, 154, 75, .14);
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  padding-block: 14px 0;
  background: linear-gradient(to bottom, var(--bg) 12%, rgba(7, 8, 10, .45) 62%, transparent);
}

html[data-theme="light"] .site-header {
  background: linear-gradient(to bottom, var(--bg) 12%, rgba(245, 245, 247, .45) 62%, transparent);
}

.header-inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--shadow-nav);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.site-header.is-stuck .header-inner {
  border-color: var(--line-2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #3ea0ff, #0a84ff 46%, #5e5ce6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .34),
    0 8px 20px -10px rgba(10, 132, 255, .9);
  flex: none;
}

html[data-theme="light"] .brand-mark {
  background: linear-gradient(145deg, #3ea0ff, #0071e3 46%, #5856d6);
}

.brand-mark span {
  font-family: var(--font-display);
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .06em;
  transform: translateX(.03em);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.016em;
  line-height: 1.28;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
}

.brand-text span {
  margin-block-start: 2px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .115em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline-start: auto;
}

.nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -.005em;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}

.nav a:hover {
  color: var(--text);
  background: var(--glass);
}

.nav a[aria-current="true"] {
  color: var(--text);
  background: var(--glass-2);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.lang-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding-inline: 10px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}

.lang-wrap:hover,
.lang-wrap:focus-within {
  background: var(--glass);
  border-color: var(--line);
}

.lang-ico {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
  opacity: .8;
}

.select {
  appearance: none;
  -webkit-appearance: none;
  height: 100%;
  max-width: 104px;
  padding: 0 18px 0 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a6' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
}

html[data-theme="light"] .select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

html[dir="rtl"] .lang-wrap { padding-inline: 8px 10px; }
html[dir="rtl"] .select {
  padding: 0 0 0 18px;
  background-position: left center;
}

.select option {
  background: var(--bg-2);
  color: var(--text);
}

.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}

.icon-btn:hover {
  color: var(--text);
  border-color: var(--line);
  background: var(--glass);
}

.icon-btn:active { transform: scale(.94); }

.icon-btn .ico { width: 17px; height: 17px; }

.theme-btn .ico-sun { display: block; }
.theme-btn .ico-moon { display: none; }
html[data-theme="light"] .theme-btn .ico-sun { display: none; }
html[data-theme="light"] .theme-btn .ico-moon { display: block; }

.menu-btn { display: none; }

.menu-btn .ico-close { display: none; }

.menu-btn[aria-expanded="true"] .ico-menu { display: none; }

.menu-btn[aria-expanded="true"] .ico-close { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -.008em;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform .2s var(--ease),
    background .2s var(--ease),
    border-color .2s var(--ease),
    color .2s var(--ease),
    box-shadow .2s var(--ease),
    filter .2s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }

.btn-primary {
  background: linear-gradient(180deg, #3ea0ff, #0a84ff);
  color: var(--accent-ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .3),
    0 10px 26px -12px rgba(10, 132, 255, .85);
}

html[data-theme="light"] .btn-primary {
  background: linear-gradient(180deg, #2b93f5, #0071e3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    0 10px 24px -12px rgba(0, 113, 227, .65);
}

.btn-primary:hover { filter: brightness(1.06); }

.btn-ghost {
  border-color: var(--line-2);
  background: var(--glass);
  color: var(--text);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.btn-ghost:hover {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.btn-soft {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.btn-soft:hover {
  background: rgba(10, 132, 255, .2);
  border-color: var(--accent);
}

html[data-theme="light"] .btn-soft:hover {
  background: rgba(0, 113, 227, .15);
}

.btn-block { width: 100%; }

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 12px;
  border-radius: 999px;
}

.btn .ico {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.link-btn {
  border: 0;
  background: none;
  padding: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--accent-line);
  transition: color .2s var(--ease);
}

.link-btn:hover { color: var(--accent-strong); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .09em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  flex: none;
}

.section {
  padding-block: clamp(72px, 9vw, 124px);
}

.section-alt {
  background: linear-gradient(180deg, var(--glass), transparent 42%);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-block-end: clamp(34px, 4.4vw, 56px);
}

.section-head h2 {
  margin-block-start: 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.04em;
  color: var(--text);
  text-wrap: balance;
}

.section-lead {
  margin-block-start: 16px;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.66;
  color: var(--muted);
}

.hero {
  position: relative;
  padding-block: clamp(52px, 7vw, 92px) clamp(64px, 8vw, 104px);
  overflow: hidden;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(62px);
  will-change: transform;
}

.orb-a {
  width: min(680px, 78vw);
  height: min(680px, 78vw);
  inset-block-start: -34%;
  inset-inline-end: -10%;
  background: radial-gradient(circle at center, var(--glow-a), transparent 66%);
}

.orb-b {
  width: min(560px, 64vw);
  height: min(560px, 64vw);
  inset-block-start: 18%;
  inset-inline-start: -18%;
  background: radial-gradient(circle at center, var(--glow-b), transparent 68%);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 18%, #000 10%, transparent 76%);
  mask-image: radial-gradient(ellipse 72% 62% at 50% 18%, #000 10%, transparent 76%);
  opacity: .7;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hero-copy { min-width: 0; }

.hero-kicker {
  border-color: var(--line);
  color: var(--muted);
}

.hero-kicker::before {
  animation: pulse-dot 2.8s var(--ease-soft) infinite;
}

.hero-title {
  margin-block-start: 24px;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 5vw, 4.15rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero-acronym {
  display: flex;
  width: fit-content;
  align-items: center;
  margin-block-end: 20px;
  padding: 7px 13px;
  border: 1px solid var(--accent-line);
  border-radius: 9px;
  background: var(--accent-soft);
  font-family: var(--font-text);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .26em;
  line-height: 1;
  color: var(--accent-strong);
  transform: translateX(.13em);
}

.hero-title-mask {
  display: block;
  overflow: hidden;
  padding-block: .1em;
  margin-block: -.1em;
}

.hero-title-mask #hero-name {
  display: block;
  background: linear-gradient(180deg, var(--headline-a) 12%, var(--headline-b) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-lead {
  margin-block-start: 24px;
  max-width: 54ch;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.68;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 16px;
  margin-block-start: 28px;
  list-style: none;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.chips li + li {
  padding-inline-start: 16px;
  border-inline-start: 1px solid var(--line);
}

.chips li > span:first-child {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}

.chips .chip-open {
  color: var(--text);
}

.chips .chip-open > span:first-child {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -.005em;
  text-transform: none;
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 34px;
}

.issue-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  justify-self: end;
  padding: 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--glass-2), var(--glass));
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  box-shadow: var(--shadow-lg);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.issue-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
  pointer-events: none;
}

.issue-card:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg), 0 0 60px -30px var(--accent);
}

.issue-card-top {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-inline: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}

.issue-card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  flex: none;
}

.issue-card-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.issue-cover {
  position: relative;
  margin-block: 16px;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--accent-line);
  border-radius: 18px;
  background:
    radial-gradient(120% 110% at 16% 0%, var(--cover-a), var(--cover-b) 72%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    inset 0 0 60px rgba(0, 0, 0, .35),
    0 26px 50px -30px rgba(0, 0, 0, .9);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.issue-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .07) 46%, transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(255, 255, 255, .022) 10px 11px);
  pointer-events: none;
}

.issue-cover::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  pointer-events: none;
}

.issue-cover-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 20px;
  text-align: center;
}

.issue-cover-journal {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .52em;
  color: var(--accent-strong);
  transform: translateX(.26em);
}

.issue-cover-no {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.045em;
  color: var(--text);
}

html[data-theme="dark"] .issue-cover-no {
  background: linear-gradient(180deg, #ffffff 30%, rgba(245, 245, 247, .55));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.issue-cover-rule {
  width: 38px;
  height: 1px;
  background: var(--accent-line);
  margin-block: 5px;
}

.issue-cover-text {
  font-family: var(--font-text);
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
}

.issue-cover-spine {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 7px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .35), transparent);
  pointer-events: none;
}

.issue-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-block-end: 15px;
  font-size: 12px;
  color: var(--muted);
}

.meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--faint);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-block-start: clamp(44px, 5.6vw, 68px);
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 9px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}

.stat:hover {
  border-color: var(--line-2);
  background: var(--glass-2);
  transform: translateY(-2px);
}

.stat dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

.stat dd {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.prose { min-width: 0; }

.prose p {
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
}

.prose p + p { margin-block-start: 18px; }

.prose p:first-child {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -.02em;
  color: var(--text);
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}

.panel::before {
  content: "";
  position: absolute;
  inset-block-start: -40%;
  inset-inline-end: -20%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 68%);
  pointer-events: none;
}

.panel h3,
.docs-head h3,
.template-card h3 {
  position: relative;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--text);
}

.panel-lead,
.docs-head p,
.template-card p {
  position: relative;
  margin-block-start: 7px;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--muted);
}

.pill-list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-block-start: 20px;
  list-style: none;
}

.pill-list li {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--muted);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.pill-list li:hover {
  color: var(--text);
  border-color: var(--line-2);
  background: var(--glass-2);
}

.docs-block { margin-block-start: clamp(48px, 6vw, 80px); }

.docs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-block-end: 18px;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 10px;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--glass);
  transition: border-color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease);
}

.doc-card:hover {
  border-color: var(--accent-line);
  background: var(--glass-2);
  transform: translateY(-2px);
}

.doc-ico {
  width: 36px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent-line);
  border-radius: 9px;
  background: linear-gradient(180deg, var(--accent-soft), rgba(94, 92, 230, .1));
  font-family: var(--font-text);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--accent-strong);
  flex: none;
}

.doc-card strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.doc-card small {
  display: block;
  margin-block-start: 2px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}

.doc-arrow {
  margin-inline-start: auto;
  color: var(--faint);
  transition: color .2s var(--ease), transform .2s var(--ease);
}

.doc-arrow .ico { width: 15px; height: 15px; }

.doc-card:hover .doc-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.toolbar {
  position: sticky;
  inset-block-start: calc(var(--header-h) + 6px);
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px;
  margin-block-end: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--toolbar-bg);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  box-shadow: var(--shadow-sm);
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 300px;
  height: 44px;
  padding-inline: 13px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--glass);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}

.search-field:focus-within {
  border-color: var(--accent-line);
  background: var(--glass-2);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-ico {
  width: 16px;
  height: 16px;
  margin-inline-end: 9px;
  color: var(--faint);
}

.search-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13.5px;
  letter-spacing: -.01em;
}

.search-field input::placeholder { color: var(--faint); }

.search-field input::-webkit-search-cancel-button { filter: grayscale(1); }

.search-kbd {
  flex: none;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--faint);
  background: var(--glass);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.chip-btn {
  height: 36px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}

.chip-btn:hover {
  color: var(--text);
  background: var(--glass);
}

.chip-btn:active { transform: scale(.97); }

.chip-btn[aria-pressed="true"] {
  border-color: transparent;
  background: var(--text);
  color: var(--bg);
}

.toolbar-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline-start: auto;
  padding-inline: 6px;
}

.results-count {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.volumes { display: grid; gap: 12px; }

.volume {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s var(--ease);
}

.volume:hover { border-color: var(--line-2); }

.volume-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  background: linear-gradient(180deg, var(--glass), transparent);
}

.volume-no {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--accent-strong);
  flex: none;
  font-variant-numeric: tabular-nums;
}

.volume-titles { min-width: 0; }

.volume-titles h3 {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.022em;
}

.volume-titles p {
  margin-block-start: 2px;
  font-size: 11.5px;
  color: var(--muted);
}

.volume-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

.volume-actions .btn-sm {
  height: 32px;
  padding: 0 12px;
  font-size: 11.5px;
}

.volume-toggle {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), transform .28s var(--ease);
}

.volume-toggle .ico { width: 15px; height: 15px; }

.volume-toggle:hover {
  color: var(--text);
  border-color: var(--line-2);
  background: var(--glass);
}

.volume-toggle[aria-expanded="true"] {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
  transform: rotate(180deg);
}

.volume-body { border-block-start: 1px solid var(--line); }

.articles { list-style: none; }

.article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 22px 18px;
  border-block-start: 1px solid var(--line);
  transition: background .2s var(--ease);
}

.article:first-child { border-block-start: 0; }

.article:hover { background: var(--glass); }

.article-main { min-width: 0; }

.article h4 { font-weight: 400; }

.article-idx {
  padding-block-start: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-align: center;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-block-end: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}

.tag-lang {
  color: var(--accent-strong);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.tag-soon {
  color: var(--danger);
  border-color: rgba(255, 69, 58, .28);
  background: rgba(255, 69, 58, .08);
}

html[data-theme="light"] .tag-soon {
  border-color: rgba(180, 35, 24, .25);
  background: rgba(180, 35, 24, .06);
}

.article-title {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: start;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.022em;
  color: var(--text);
  transition: color .18s var(--ease);
}

.article-title:hover { color: var(--accent-strong); }

.article-sub {
  margin-block-start: 3px;
  font-size: 12.5px;
  font-style: italic;
  line-height: 1.5;
  color: var(--faint);
}

.article-meta {
  margin-block-start: 7px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

.article-authors {
  color: var(--text);
  font-weight: 500;
}

.article-abstract {
  margin-block-start: 8px;
  max-width: 74ch;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-keywords {
  margin-block-start: 7px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--faint);
}

.article-unavailable {
  margin-block-start: 8px;
  font-size: 12px;
  color: var(--danger);
}

.article-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-self: start;
  padding-block-start: 2px;
}

.article-actions .btn {
  min-width: 112px;
  height: 36px;
  padding: 0 14px;
  font-size: 12px;
}

.empty {
  margin-block-start: 12px;
  padding: 60px 24px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
  background: var(--glass);
  text-align: center;
  color: var(--muted);
}

.empty .ico {
  width: 26px;
  height: 26px;
  margin-inline: auto;
  color: var(--faint);
}

.empty p {
  margin-block-start: 12px;
  font-size: 15px;
  color: var(--text);
}

.empty .empty-hint {
  margin-block-start: 4px;
  font-size: 13px;
  color: var(--muted);
}

.empty .btn { margin-block-start: 18px; }

.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
}

.committee-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 198px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  transition: border-color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease);
}

.committee-card:hover {
  border-color: var(--line-2);
  background: var(--glass-2);
  transform: translateY(-3px);
}

.committee-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-block-end: 16px;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-soft), rgba(94, 92, 230, .12));
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--accent-strong);
}

.committee-role {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--accent);
}

.committee-name {
  margin-block-start: 7px;
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.028em;
  color: var(--text);
}

.committee-aff {
  margin-block-start: 5px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.committee-mail {
  margin-block-start: auto;
  padding-block-start: 16px;
  font-size: 12px;
  color: var(--accent);
  overflow-wrap: anywhere;
  transition: color .18s var(--ease);
}

.committee-mail:hover {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.submit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.guide-list {
  list-style: none;
  counter-reset: guide;
}

.guide-list li {
  counter-increment: guide;
  position: relative;
  padding: 19px 0 19px 54px;
  border-block-end: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

html[dir="rtl"] .guide-list li {
  padding: 19px 54px 19px 0;
}

.guide-list li::before {
  content: counter(guide, decimal-leading-zero);
  position: absolute;
  inset-block-start: 18px;
  inset-inline-start: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--glass);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--accent-strong);
  font-variant-numeric: tabular-nums;
}

.submit-aside {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.mini-stats { margin-block-end: 20px; }

.mini-stats > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
  border-block-end: 1px solid var(--line);
}

.mini-stats > div:first-child { padding-block-start: 0; }

.mini-stats dt {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

.mini-stats dd {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.035em;
  color: var(--text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.mini-stats dd span {
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -.005em;
  color: var(--muted);
}

.template-card {
  margin-block-start: 18px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, .14);
}

html[data-theme="light"] .template-card {
  background: rgba(0, 0, 0, .025);
}

.template-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-block-start: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 10px;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 160px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

.contact-card--link {
  transition: border-color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease);
}

.contact-card--link:hover {
  border-color: var(--accent-line);
  background: var(--glass-2);
  transform: translateY(-3px);
}

.contact-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--faint);
}

.contact-value {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--text);
  overflow-wrap: anywhere;
}

.contact-value--sm {
  font-family: var(--font-text);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -.01em;
  color: var(--muted);
}

.contact-sub {
  font-size: 12px;
  color: var(--muted);
}

.contact-arrow {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--glass);
  color: var(--muted);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.contact-arrow .ico { width: 13px; height: 13px; }

.contact-card--link:hover .contact-arrow {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.site-footer {
  padding-block: 64px 28px;
  border-block-start: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, var(--glass));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr) minmax(0, .7fr);
  gap: 48px;
}

.brand--footer .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.brand--footer .brand-text strong {
  white-space: normal;
  max-width: none;
  font-size: 12.5px;
}

.brand--footer .brand-text span {
  display: block;
  margin-block-start: 3px;
  max-width: none;
  font-size: 11px;
  letter-spacing: .01em;
  line-height: 1.55;
  text-transform: none;
  white-space: normal;
}

.footer-issn {
  margin-block-start: 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .02em;
  color: var(--muted);
}

.footer-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-start: 10px;
  font-size: 11.5px;
  color: var(--muted);
}

.footer-col h4 {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--faint);
}

.footer-col a {
  display: block;
  margin-block-start: 11px;
  font-size: 12.5px;
  color: var(--muted);
  transition: color .18s var(--ease);
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-block-start: 48px;
  padding-block-start: 20px;
  border-block-start: 1px solid var(--line);
  font-size: 11px;
  color: var(--faint);
}

.viewer {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .64);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
}

.viewer-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1280px, 100%);
  height: min(92vh, 980px);
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--viewer-bg);
  box-shadow: var(--shadow-lg);
  animation: viewer-in .42s var(--ease);
}

@keyframes viewer-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 16px;
  border-block-end: 1px solid var(--line);
  background: var(--viewer-bg);
}

.viewer-info {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
}

.tag-pdf {
  margin-block-start: 2px;
  color: var(--accent-strong);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.viewer-info h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.viewer-info p {
  margin-block-start: 2px;
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.viewer-tools {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
}

.viewer-stage {
  flex: 1;
  min-height: 0;
  background: #26282d;
}

html[data-theme="light"] .viewer-stage {
  background: #e6e6eb;
}

.viewer-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: inherit;
}

body.no-scroll { overflow: hidden; }

html[dir="rtl"] .kicker::before { order: 2; }

html[dir="rtl"] .article-title,
html[dir="rtl"] .article-sub,
html[dir="rtl"] .article-meta,
html[dir="rtl"] .article-abstract,
html[dir="rtl"] .article-keywords {
  text-align: right;
}

html[dir="rtl"] .article-title,
html[dir="rtl"] .article-sub,
html[dir="rtl"] .article-meta,
html[dir="rtl"] .article-abstract {
  direction: ltr;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
  will-change: auto;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--accent); }
  50% { opacity: .55; box-shadow: 0 0 18px var(--accent); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); filter: blur(7px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes mask-up {
  from { transform: translateY(108%); }
  to { transform: none; }
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-acronym { animation: rise-in .7s var(--ease) .04s both; }
  .hero-kicker { animation: rise-in .8s var(--ease) .1s both; }
  .hero-title-mask #hero-name { animation: mask-up 1.05s var(--ease) .16s both; }
  .hero-lead { animation: rise-in .9s var(--ease) .3s both; }
  .chips { animation: rise-in .9s var(--ease) .4s both; }
  .hero-actions { animation: rise-in .9s var(--ease) .5s both; }
  .issue-card { animation: card-in 1s var(--ease) .32s both; }

  .orb-a { animation: orb-drift-a 22s var(--ease-soft) infinite alternate; }
  .orb-b { animation: orb-drift-b 26s var(--ease-soft) infinite alternate; }
}

@keyframes orb-drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-4%, 5%, 0) scale(1.08); }
}

@keyframes orb-drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.04); }
  to { transform: translate3d(5%, -4%, 0) scale(1); }
}

@media (max-width: 1100px) {
  .header-inner { position: relative; }

  .nav {
    position: absolute;
    inset-block-start: calc(100% + 10px);
    inset-inline-end: 0;
    z-index: 90;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: min(300px, calc(100vw - 48px));
    margin: 0;
    padding: 8px;
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    background: var(--bg-2);
    box-shadow: var(--shadow-md);
  }

  .nav.is-open { display: flex; }

  .nav {
    max-height: calc(100dvh - var(--header-h) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 11px;
    font-size: 13px;
  }

  body:has(.nav.is-open)::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(0, 0, 0, .42);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }

  .nav a:hover,
  .nav a[aria-current="true"] { background: var(--glass-2); }

  .header-controls { margin-inline-start: auto; }

  .menu-btn { display: grid; }

  .brand-text strong,
  .brand-text span { max-width: 320px; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 46px; }

  .issue-card {
    justify-self: start;
    max-width: 440px;
  }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about-grid { grid-template-columns: minmax(0, 1fr); }

  .submit-grid { grid-template-columns: minmax(0, 1fr); }

  .submit-aside { max-width: 620px; }

  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .hero-title { font-size: clamp(2.35rem, 7.4vw, 3.6rem); }

  .section-head h2 { font-size: clamp(1.85rem, 5.8vw, 2.7rem); }

  .committee-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

  .contact-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

@media (max-width: 760px) {
  :root { --header-h: 78px; }

  .wrap { width: min(100% - 32px, var(--wrap)); }

  body::before { display: none; }

  .site-header { padding-block-start: max(10px, env(safe-area-inset-top)); }

  .header-inner {
    min-height: 56px;
    padding: 7px 7px 7px 11px;
    border-radius: 16px;
    gap: 8px;
  }

  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }

  .brand-text strong { max-width: 252px; font-size: 12px; }

  .brand-text span { max-width: 252px; font-size: 9px; letter-spacing: .075em; }

  .nav {
    inset-inline: 0;
    width: auto;
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
  }

  .lang-wrap { height: 36px; padding-inline: 9px 7px; }

  .select { max-width: 106px; font-size: 16px; }

  html[dir="rtl"] .select { max-width: 106px; }

  .icon-btn { width: 38px; height: 38px; }

  .hero { padding-block: 44px 68px; }

  .hero-title {
    margin-block-start: 20px;
    font-size: clamp(2.2rem, 8.6vw, 3.2rem);
    letter-spacing: -.042em;
  }

  .hero-acronym { margin-block-end: 16px; }

  .hero-lead { margin-block-start: 20px; font-size: 15px; }

  .hero-kicker {
    align-items: flex-start;
    padding-block: 9px;
    line-height: 1.5;
  }

  .hero-kicker::before { margin-block-start: .35em; }

  .chips { gap: 8px; margin-block-start: 24px; }

  .chips li {
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--glass);
    font-size: 11.5px;
  }

  .chips li + li {
    padding-inline-start: 10px;
    border-inline-start: 1px solid var(--line);
  }

  .chips .chip-open > span:first-child { font-size: 11.5px; }

  .hero-actions { margin-block-start: 28px; }

  .issue-card { max-width: none; padding: 15px; border-radius: 24px; }

  .issue-cover { aspect-ratio: 4 / 3; }

  .stats { gap: 8px; margin-block-start: 34px; }

  .stat { padding: 16px; border-radius: 15px; }

  .stat dd { font-size: 1.75rem; }

  .section { padding-block: 68px; }

  .section-head { margin-block-end: 32px; }

  .section-head h2 { margin-block-start: 15px; }

  .section-lead { font-size: 14.5px; }

  .panel { padding: 22px; border-radius: 20px; }

  .prose p { font-size: 15px; line-height: 1.75; }

  .prose p:first-child { font-size: 17px; }

  .docs-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

  .toolbar {
    position: static;
    padding: 7px;
    border-radius: 16px;
  }

  .search-field { flex-basis: 100%; height: 46px; }

  .search-field input { font-size: 16px; }

  .search-kbd { display: none; }

  .filters {
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    padding-block-end: 2px;
    scrollbar-width: none;
    scroll-padding-inline: 4px 20px;
    scroll-snap-type: inline proximity;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 22px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 22px), transparent);
  }

  html[dir="rtl"] .filters {
    -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 22px), transparent);
    mask-image: linear-gradient(to left, #000 calc(100% - 22px), transparent);
  }

  .filters::-webkit-scrollbar { display: none; }

  .chip-btn {
    flex: none;
    height: 40px;
    padding-inline: 15px;
    scroll-snap-align: start;
  }

  .toolbar-meta {
    width: 100%;
    margin-inline-start: 0;
    justify-content: space-between;
    padding: 2px 4px;
  }

  .volume-head {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px;
  }

  .volume-no { width: 38px; height: 38px; font-size: 11px; }

  .volume-titles h3 { font-size: 14.5px; }

  .volume-actions {
    width: 100%;
    margin-inline-start: 0;
    justify-content: flex-end;
  }

  .volume-actions .btn-sm { height: 38px; padding-inline: 15px; font-size: 12px; }

  .volume-toggle { width: 38px; height: 38px; }

  .article {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 18px 16px;
  }

  .article-idx { display: none; }

  .article-title { font-size: 16px; }

  .article-abstract { -webkit-line-clamp: 3; }

  .article-actions {
    flex-direction: row;
    flex-wrap: wrap;
    margin-block-start: 6px;
  }

  .article-actions .btn { flex: 1; min-width: 0; }

  .committee-grid { gap: 8px; }

  .committee-card { min-height: 186px; padding: 20px; }

  .guide-list li { padding: 17px 0 17px 48px; font-size: 14px; }

  html[dir="rtl"] .guide-list li { padding: 17px 48px 17px 0; }

  .guide-list li::before { width: 30px; height: 30px; inset-block-start: 16px; }

  .submit-aside { padding: 22px; }

  .contact-grid { grid-template-columns: minmax(0, 1fr); }

  .contact-card { min-height: 0; padding: 20px; }

  .contact-card--link { padding-inline-end: 58px; }

  .footer-col a { padding-block: 5px; }

  .viewer { padding: 0; }

  .viewer-panel {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .viewer-bar {
    flex-wrap: wrap;
    padding: 10px 12px;
    padding-block-start: max(10px, env(safe-area-inset-top));
    gap: 10px;
  }

  .viewer-tools { width: 100%; justify-content: flex-end; }

  .viewer-tools .btn-ghost { display: none; }

  .site-footer { padding-block: 52px calc(24px + env(safe-area-inset-bottom)); }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .footer-brand { grid-column: auto; }

  .footer-bottom { margin-block-start: 36px; }
}

@media (max-width: 560px) {
  .brand-text { display: none; }

  .brand { gap: 0; }

  .hero-actions { flex-direction: column; align-items: stretch; }

  .hero-actions .btn { width: 100%; }

  .issue-card-top {
    flex-wrap: wrap;
    gap: 7px;
    font-size: 9px;
  }

  .issue-card-line { display: none; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .stat { padding: 14px 15px; }

  .stat dt { font-size: 9px; letter-spacing: .08em; }

  .stat dd { font-size: 1.6rem; }

  .docs-grid { grid-template-columns: minmax(0, 1fr); }

  .template-links { align-items: stretch; }

  .template-links .btn { width: 100%; }

  .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 420px) {
  .wrap { width: min(100% - 24px, var(--wrap)); }

  .lang-ico { display: none; }

  .lang-wrap { padding-inline: 8px; }

  .select { max-width: 96px; padding-inline-end: 16px; }

  .hero { padding-block-start: 38px; }

  .hero-title { font-size: clamp(2rem, 9.6vw, 2.55rem); }

  .hero-acronym { font-size: 9.5px; padding: 6px 10px; }

  .chips li { font-size: 11px; padding: 5px 9px; }

  .hero-lead { font-size: 14.5px; }

  .issue-cover { aspect-ratio: 1 / 1; }

  .stats { gap: 7px; }

  .stat { padding: 13px 14px; }

  .stat dd { font-size: 1.5rem; }

  .article-actions { flex-direction: column; }

  .article-actions .btn { width: 100%; }

  .volume-actions .btn-sm { height: 38px; }

  .viewer-info h3 { font-size: 13px; }

  .viewer-tools .btn-sm { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
