:root {
  color-scheme: light;
  --ink: #18231f;
  --muted: #66736c;
  --line: #dce4df;
  --soft: #f4f7f3;
  --paper: #ffffff;
  --mist: #e8f0ec;
  --green: #176445;
  --green-dark: #0e432f;
  --gold: #d9a33a;
  --red: #b5473d;
  --teal: #2e7771;
  --shadow: 0 18px 60px rgba(24, 35, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfa;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--green);
  color: white;
  border-radius: 8px;
  font-weight: 800;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  color: #35443e;
  font-size: 14px;
  white-space: nowrap;
}

.top-nav a {
  padding: 10px 0;
}

.top-nav a:hover {
  color: var(--green);
}

.top-nav a[aria-current="page"] {
  color: var(--green);
  font-weight: 850;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn,
.icon-btn,
.text-btn {
  border: 0;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.btn.primary {
  color: #fff;
  background: var(--green);
}

.btn.secondary {
  color: #13251e;
  background: var(--gold);
}

.btn.ghost {
  color: var(--green-dark);
  background: #eef5f0;
  border: 1px solid #d6e3db;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--green-dark);
  background: #eef5f0;
  border: 1px solid #d6e3db;
  border-radius: 8px;
  font-size: 18px;
}

.text-btn {
  padding: 0;
  color: var(--green);
  background: transparent;
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: calc(100vh - 71px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(120% 90% at 88% 8%, #fbfaf5 0%, #f6f3eb 55%);
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 6vw, 80px) clamp(20px, 7vw, 120px);
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green-dark) 0 33%, var(--gold) 33% 38%, transparent 38%);
  opacity: 0.9;
}

.hero-seal {
  position: absolute;
  top: -160px;
  right: -160px;
  width: 560px;
  height: 560px;
  pointer-events: none;
  opacity: 0.5;
}

.hero-seal circle {
  fill: none;
  stroke: var(--gold);
}

.ring-1 {
  stroke-width: 1.5;
  opacity: 0.22;
}

.ring-2 {
  stroke-width: 1;
  opacity: 0.16;
  stroke-dasharray: 2 7;
}

.ring-3 {
  stroke-width: 1;
  opacity: 0.12;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1080px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(20px, 3.5vw, 34px);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  color: var(--green);
  background: #fbfaf5;
  border: 1px solid #dcd5c6;
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-amharic {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 600;
}

.hero h1 {
  max-width: 16ch;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 7.2vw, 86px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--green);
  font-style: italic;
  font-weight: 500;
}

.hero-lede {
  max-width: 52ch;
  margin: clamp(18px, 2.4vw, 26px) 0 clamp(30px, 4vw, 42px);
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.55;
}

.hero-search {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 680px;
  background: #fbfaf5;
  border: 1.5px solid #dcd5c6;
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(22, 32, 26, 0.02), 0 18px 40px -28px rgba(17, 64, 44, 0.35);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.hero-search:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(181, 130, 42, 0.18), 0 18px 44px -26px rgba(17, 64, 44, 0.45);
}

.hero-field {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  padding-left: 18px;
}

.hero-glass {
  flex: none;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 1.8;
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 18px 8px 18px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: none;
  font-size: clamp(15px, 1.3vw, 17px);
}

.hero-ghost {
  position: absolute;
  left: 50px;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #9aa093;
  font-size: clamp(15px, 1.3vw, 17px);
  white-space: nowrap;
  overflow: hidden;
}

.hero-ghost.hidden {
  opacity: 0;
}

.hero-caret {
  display: inline-block;
  width: 1px;
  margin-left: 1px;
  border-right: 2px solid var(--gold);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-search button {
  flex: none;
  margin: 6px;
  padding: 0 clamp(18px, 2.4vw, 30px);
  color: #fdfbf4;
  background: var(--green-dark);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.16s ease, transform 0.12s ease;
}

.hero-search button:hover {
  background: var(--green);
}

.hero-search button:active {
  transform: translateY(1px);
}

.hero-popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: clamp(20px, 2.6vw, 26px);
}

.hero-popular > span {
  margin-right: 4px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.chip {
  padding: 7px 14px;
  color: var(--green);
  background: transparent;
  border: 1px solid #dcd5c6;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.chip:hover,
.chip:focus-visible {
  color: #fdfbf4;
  background: var(--green-dark);
  border-color: var(--green-dark);
  outline: none;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  max-width: 680px;
  margin-top: clamp(34px, 5vw, 52px);
  padding-top: clamp(18px, 2.4vw, 24px);
  border-top: 1px solid #dcd5c6;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.hero-trust i {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.d1 {
  animation-delay: 0.05s;
}

.d2 {
  animation-delay: 0.15s;
}

.d3 {
  animation-delay: 0.25s;
}

.d4 {
  animation-delay: 0.35s;
}

.d5 {
  animation-delay: 0.45s;
}

.d6 {
  animation-delay: 0.55s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.quick-search-section {
  position: relative;
  z-index: 2;
  background: white;
  border-bottom: 1px solid var(--line);
}

.quick-search-inner {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(320px, 1fr);
  gap: 22px;
  align-items: center;
  padding: 24px 0;
}

.quick-search-inner h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
}

.quick-search {
  max-width: none;
}

.section-inner {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
  padding: 78px 0;
}

.section-band {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.workflow .section-inner {
  padding: 34px 0;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.workflow article {
  padding: 18px 0;
}

.workflow span {
  color: var(--gold);
  font-weight: 900;
}

.workflow h2 {
  margin: 6px 0;
  font-size: 22px;
}

.workflow p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  padding: 74px clamp(18px, 4vw, 54px) 54px;
  color: white;
  background:
    linear-gradient(90deg, rgba(13, 43, 31, 0.94), rgba(19, 76, 59, 0.82)),
    url("assets/hero-ethiopia-policy.png");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
}

.search-hero {
  padding-block: 42px 38px;
}

.search-hero h1 {
  max-width: 760px;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.06;
}

.search-hero p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 14px;
  font-size: 17px;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.decision-grid article {
  min-height: 210px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(24, 35, 31, 0.055);
}

.decision-grid h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.decision-grid p {
  margin: 0;
  color: var(--muted);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.news-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(24, 35, 31, 0.055);
}

.news-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.15;
}

.news-card p {
  margin: 0;
  color: var(--muted);
}

.newsletter-box {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 22px;
  background: #10251d;
  color: white;
  border-radius: 8px;
}

.newsletter-box h3,
.newsletter-box p {
  margin: 0;
}

.newsletter-box h3 {
  font-size: 26px;
}

.newsletter-box p:not(.eyebrow) {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
}

.newsletter-fields {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto;
  gap: 10px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

select,
input,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  border: 1px solid #d3ded7;
  border-radius: 8px;
  outline-color: var(--teal);
}

textarea {
  min-height: 116px;
  padding-top: 12px;
  resize: vertical;
}

.search-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(24, 35, 31, 0.06);
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-head h3 {
  margin: 0;
}

.filters label {
  display: grid;
  gap: 7px;
  color: #4f5e57;
  font-size: 13px;
  font-weight: 750;
}

.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.results-panel {
  min-width: 0;
}

.results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--muted);
}

.results-grid {
  display: grid;
  gap: 14px;
}

.document-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(24, 35, 31, 0.055);
  cursor: pointer;
}

.document-card:hover {
  border-color: #aac8b8;
}

.document-card:focus-visible {
  outline: 3px solid rgba(46, 119, 113, 0.35);
  outline-offset: 3px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  color: #315045;
  background: #edf5f0;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
}

.tag.gold {
  color: #5b4211;
  background: #f8edce;
}

.tag.red {
  color: #7c2d25;
  background: #f9e6e3;
}

.document-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.document-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 122px;
}

.browse-tabs,
.reader-tabs,
.library-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tab,
.reader-tabs button,
.library-tabs button,
.segmented button {
  min-height: 38px;
  padding: 0 13px;
  color: var(--green-dark);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.tab.active,
.reader-tabs button.active,
.library-tabs button.active,
.segmented button.active {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.browse-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.browse-card {
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.browse-card strong {
  display: block;
  margin-bottom: 8px;
}

.browse-card span {
  color: var(--muted);
}

.reader-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}

.reader-main,
.reader-sidebar,
.assistant-card,
.price-card,
.contact-form,
.modal {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 42px rgba(24, 35, 31, 0.07);
}

.reader-main {
  min-width: 0;
  padding: 20px;
}

.reader-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.reader-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.segmented {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  background: #eef5f0;
  border-radius: 10px;
}

.reader-meta {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.reader-meta h3 {
  margin: 0;
  font-size: 28px;
}

.reader-body {
  color: #27342f;
  font-size: 16px;
}

.reader-body h4 {
  margin: 0 0 8px;
  font-size: 20px;
}

.reader-body p {
  margin: 0 0 14px;
}

.version-list {
  display: grid;
  gap: 10px;
}

.version-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reader-sidebar {
  position: sticky;
  top: 88px;
  padding: 18px;
}

.reader-sidebar h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.graph-group {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.graph-item,
.related-item,
.library-item {
  padding: 11px 12px;
  background: #f7faf8;
  border: 1px solid #dfe8e3;
  border-radius: 8px;
  color: #40534b;
  font-size: 14px;
}

.assistant-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: center;
}

.assistant-grid h2 {
  max-width: 620px;
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.assistant-grid p {
  color: var(--muted);
}

.notice {
  margin-top: 18px;
  padding: 14px;
  color: #5b4211;
  background: #fbf2d7;
  border: 1px solid #ead493;
  border-radius: 8px;
  font-weight: 750;
}

.assistant-card {
  padding: 16px;
}

.assistant-messages {
  min-height: 230px;
  max-height: 300px;
  overflow: auto;
  padding: 14px;
  background: #f8faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.assistant-message {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #dfe8e3;
}

.assistant-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 12px;
}

.insights-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.insight-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: white;
  background:
    linear-gradient(145deg, rgba(23, 100, 69, 0.92), rgba(46, 119, 113, 0.88)),
    url("assets/hero-ethiopia-policy.png");
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.insight-card p,
.insight-card h3 {
  margin: 0;
}

.insight-card h3 {
  font-size: 22px;
}

.insight-card span {
  color: rgba(255, 255, 255, 0.82);
}

.blog-list {
  display: grid;
  gap: 18px;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  min-height: 280px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(24, 35, 31, 0.07);
  overflow: hidden;
}

.blog-image {
  min-height: 280px;
  background:
    linear-gradient(90deg, rgba(11, 74, 104, 0.24), rgba(11, 74, 104, 0.05)),
    url("assets/hero-ethiopia-policy.png");
  background-size: cover;
}

.blog-image-one {
  background-position: 40% center;
}

.blog-image-two {
  background-position: 58% center;
  filter: saturate(0.92);
}

.blog-image-three {
  background-position: 72% center;
  filter: sepia(0.08) saturate(0.86);
}

.blog-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 34px 72px 34px 34px;
}

.blog-content time {
  color: #40506a;
  font-size: 14px;
}

.blog-content h3 {
  margin: 18px 0 14px;
  color: #034c96;
  font-size: 20px;
  line-height: 1.25;
}

.blog-content p {
  max-width: 720px;
  margin: 0 0 28px;
  color: #44516a;
}

.blog-content .btn {
  margin-top: auto;
  color: #034c96;
  background: white;
  border-color: #0a61b6;
}

.bookmark-btn {
  position: absolute;
  top: 32px;
  right: 32px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #1f2d3d;
  background: white;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.admin-hero {
  background:
    linear-gradient(90deg, rgba(17, 64, 44, 0.94), rgba(23, 100, 69, 0.82)),
    url("assets/hero-ethiopia-policy.png");
  background-size: cover;
  background-position: center;
}

.admin-section {
  padding-top: 38px;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.admin-metrics article,
.admin-panel,
.admin-sidebar {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(24, 35, 31, 0.055);
}

.admin-metrics article {
  padding: 18px;
}

.admin-metrics span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-metrics strong {
  display: block;
  margin-top: 6px;
  font-size: 32px;
  line-height: 1;
}

.admin-metrics p {
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 6px;
  padding: 12px;
}

.admin-sidebar a {
  padding: 11px 12px;
  color: var(--green-dark);
  border-radius: 8px;
  font-weight: 800;
}

.admin-sidebar a:hover {
  background: #eef5f0;
}

.admin-panels {
  display: grid;
  gap: 18px;
}

.admin-panel {
  padding: 20px;
}

.admin-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-panel-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.admin-table-wrap {
  overflow: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.admin-table th,
.admin-table td {
  padding: 13px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.admin-table td span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.status-pill.green {
  color: #17513a;
  background: #e6f4ed;
}

.status-pill.gold {
  color: #6b4c12;
  background: #f7eac7;
}

.status-pill.red {
  color: #7c2d25;
  background: #f9e6e3;
}

.inquiry-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.inquiry-board article {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-height: 230px;
  padding: 16px;
  background: #f8faf8;
  border: 1px solid #dfe8e3;
  border-radius: 8px;
}

.inquiry-board h3 {
  margin: 14px 0 8px;
  font-size: 18px;
  line-height: 1.2;
}

.inquiry-board p {
  margin: 0 0 16px;
  color: var(--muted);
}

.inquiry-board .btn {
  margin-top: auto;
}

.upload-form {
  display: grid;
  gap: 14px;
}

.upload-form label {
  display: grid;
  gap: 7px;
  color: #4f5e57;
  font-size: 13px;
  font-weight: 750;
}

.upload-drop {
  place-items: center;
  min-height: 150px;
  padding: 22px;
  color: var(--green-dark);
  background: #f7faf8;
  border: 1.5px dashed #b9cec2;
  border-radius: 8px;
  text-align: center;
}

.upload-drop span {
  color: var(--muted);
  font-weight: 600;
}

.upload-drop input {
  max-width: 260px;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
}

.price-card.featured {
  border-color: var(--gold);
  box-shadow: 0 18px 54px rgba(217, 163, 58, 0.2);
}

.price-card h3,
.price-card p {
  margin: 0;
}

.price {
  font-size: 24px;
  font-weight: 850;
}

.price-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.price-card .btn {
  margin-top: auto;
}

.support-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.support-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.support-copy p:not(.eyebrow) {
  color: var(--muted);
}

.contact-form,
.modal-form {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 54px);
  color: #dbe6df;
  background: #11241d;
}

.site-footer p {
  margin: 4px 0 0;
  color: #aebdb6;
}

.modal {
  width: min(720px, calc(100% - 28px));
  padding: 0;
}

.modal::backdrop {
  background: rgba(9, 23, 18, 0.52);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  margin: 0;
}

.library-tabs {
  padding: 16px 18px 0;
}

.library-items {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
}

@media (max-width: 1020px) {
  .top-nav {
    display: none;
  }

  .search-layout,
  .reader-shell,
  .assistant-grid,
  .support-section,
  .admin-layout,
  .quick-search-inner {
    grid-template-columns: 1fr;
  }

  .filters,
  .reader-sidebar,
  .admin-sidebar {
    position: static;
  }

  .browse-grid,
  .admin-metrics,
  .inquiry-board {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: start;
    flex-direction: column;
  }

  .brand {
    min-width: 0;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .header-actions .btn {
    flex: 1;
  }

  .hero {
    min-height: auto;
    padding: 36px 20px 44px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-eyebrow {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

  .hero-field {
    padding: 4px 14px;
  }

  .hero-ghost {
    left: 46px;
  }

  .hero-search button {
    min-height: 46px;
    margin: 8px;
  }

  .assistant-form,
  .document-card {
    grid-template-columns: 1fr;
  }

  .card-actions {
    flex-direction: row;
  }

  .workflow-grid,
  .decision-grid,
  .news-grid,
  .blog-card,
  .insights-grid,
  .pricing-grid,
  .browse-grid,
  .admin-metrics,
  .inquiry-board {
    grid-template-columns: 1fr;
  }

  .admin-panel-head {
    align-items: start;
    flex-direction: column;
  }

  .blog-content {
    padding: 24px;
  }

  .bookmark-btn {
    top: 20px;
    right: 20px;
  }

  .newsletter-box,
  .newsletter-fields {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .results-meta,
  .site-footer {
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-caret {
    animation: none;
  }
}
