:root {
  color-scheme: light;
  --ink: #101821;
  --muted: #5d6f80;
  --line: #cddbe6;
  --paper: #ffffff;
  --soft: #f2f7fa;
  --blue: #0d83c5;
  --green: #8bd63d;
  --gold: #a97711;
  --red: #b42318;
  --dark: #07111a;
  --cyan: #66d8ff;
  --shadow: 0 20px 60px rgba(5, 20, 32, .18);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f3f7fa;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 8px 16px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(4, 11, 18, .99), rgba(8, 28, 44, .98) 52%, rgba(4, 11, 18, .99));
  border-bottom: 1px solid rgba(102,216,255,.22);
  box-shadow: 0 14px 38px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
}
.brand {
  flex: 0 0 205px;
  display: flex;
  align-items: center;
  color: #fff;
}
img.brand-logo {
  display: block;
  width: 200px !important;
  max-width: 200px;
  height: 48px !important;
  object-fit: contain;
  object-position: left center;
  border: 0;
  box-shadow: none;
  background: transparent !important;
  flex: 0 0 auto;
}
.brand strong, .brand em { display: block; line-height: 1.05; }
.brand em { color: rgba(190,230,250,.82); font-style: normal; font-size: 13px; }
.nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: flex-start; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-left: 0; }
.nav a, .icon-link, .button, .upload-form button, .inline-controls button, .bulk-bar button, .admin-filter button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 14px;
  color: var(--ink);
  white-space: nowrap;
}
.site-header .nav a, .site-header .icon-link {
  min-height: 36px;
  border-color: rgba(169,219,242,.22);
  background: rgba(255,255,255,.08);
  color: rgba(244,250,255,.94);
  font-weight: 700;
}
.site-header .nav a:hover, .site-header .icon-link:hover {
  background: rgba(102,216,255,.16);
  border-color: rgba(102,216,255,.48);
}
.nav a:hover, .icon-link:hover, .button:hover { border-color: #9fb3c8; }
.header-actions { flex: 0 0 auto; display: flex; gap: 8px; }
.icon-link:first-child, .button.primary, .upload-form button {
  background: linear-gradient(135deg, var(--blue), #0b5f93);
  border-color: var(--blue);
  color: #fff;
}
.site-header .icon-link:first-child {
  background: linear-gradient(135deg, #8bd63d, #0d83c5);
  border-color: rgba(255,255,255,.2);
  color: #061018;
  font-weight: 900;
}
.ghost { background: var(--soft); }

main { width: 100%; margin: 0; }
.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(280px, 360px);
  justify-content: center;
  gap: 46px;
  align-items: center;
  padding: 78px 24px 72px;
  color: #fff;
  background:
    radial-gradient(circle at 72% 32%, rgba(139,214,61,.24), transparent 250px),
    radial-gradient(circle at 24% 20%, rgba(102,216,255,.18), transparent 330px),
    linear-gradient(90deg, rgba(3,10,17,.92), rgba(7,21,32,.86) 55%, rgba(5,13,20,.94)),
    url("/assets/img/caxess-logo.png") center / cover;
  border-bottom: 1px solid rgba(13,131,197,.22);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, #f3f7fa);
  pointer-events: none;
}
.hero-copy h1, .form-shell h1, .reader-meta h1, .admin-head h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 82px);
  line-height: .94;
  letter-spacing: 0;
  max-width: 780px;
}
.hero-copy h1 {
  background: linear-gradient(90deg, #ffffff, #bfeeff 60%, #9dea4c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 24px 60px rgba(0,0,0,.26);
}
.hero-copy p:not(.eyebrow), .form-shell p, .reader-meta p, .admin-head p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 720px;
}
.hero-copy p:not(.eyebrow) { color: rgba(235,247,255,.82); font-size: 20px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button { height: 44px; font-weight: 700; }
.hero .button {
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.09);
  color: #fff;
}
.hero .button.primary {
  background: linear-gradient(135deg, #9ce94d, #1ba4e8);
  border: 0;
  color: #05111a;
  box-shadow: 0 18px 42px rgba(13,131,197,.32);
}
.hero-panel {
  min-height: 330px;
  padding: 30px;
  border: 1px solid rgba(144,216,249,.26);
  background:
    linear-gradient(180deg, rgba(4,14,22,.42), rgba(2,8,14,.9)),
    url("/assets/img/caxess-logo.png") center / cover;
  box-shadow: var(--shadow);
  border-radius: 8px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(102,216,255,.18));
  pointer-events: none;
}
.hero-panel span, .hero-panel small { color: rgba(255,255,255,.78); display: block; }
.hero-panel strong { display: block; font-size: 112px; line-height: 1; margin: 42px 0 8px; }
.hero-panel-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.hero-panel-tags b {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #dff7ff;
}

.category-strip, .tag-row, .metrics { display: flex; flex-wrap: wrap; gap: 10px; }
.category-strip {
  width: min(1180px, calc(100% - 32px));
  margin: -42px auto 0;
  padding: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(8,25,38,.11);
  position: relative;
  z-index: 2;
}
.category-pill, .tag-row span, .accept-list span {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.category-pill.active { background: #e8f6ff; color: #0b6ea8; border-color: #96d2f2; }

.library-head {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 20px;
  align-items: end;
  padding: 44px 0 20px;
}
.library-head h2, .admin-table h2, .upload-form h2 { margin: 0 0 8px; font-size: 32px; }
.library-head p { color: var(--muted); margin: 0; line-height: 1.5; }
.search-form { display: grid; grid-template-columns: 1fr 130px auto; gap: 8px; }
.search-form input, .search-form select, .search-form button, .upload-form input, .upload-form textarea, .upload-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  color: var(--ink);
}
.search-form button { background: var(--ink); color: #fff; font-weight: 800; }

.doc-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 56px;
}
.doc-card, .empty, .upload-form, .reader-meta, .reader-preview, .metrics article, .admin-table, .admin-note {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(25, 40, 52, .06);
}
.doc-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  overflow: hidden;
}
.doc-card > div:not(.tag-row):not(.card-foot),
.doc-card .tag-row,
.doc-card .card-foot {
  margin-left: 18px;
  margin-right: 18px;
}
.doc-thumb {
  display: block;
  height: 190px;
  padding: 18px;
  background:
    radial-gradient(circle at 82% 16%, rgba(139,214,61,.18), transparent 70px),
    linear-gradient(135deg, #ecf6fb, #f8fbfd);
  border-bottom: 1px solid var(--line);
}
.doc-thumb.image-thumb { padding: 0; background: #07111a; }
.doc-thumb.rendered-thumb {
  padding: 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(139,214,61,.16), transparent 80px),
    linear-gradient(135deg, #eaf5fb, #f7fbfd);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.doc-thumb.rendered-thumb img {
  width: auto;
  height: calc(100% - 28px);
  max-width: calc(100% - 56px);
  display: block;
  object-fit: contain;
  background: #fff;
  border: 1px solid #c8d8e4;
  border-radius: 5px;
  box-shadow: 0 18px 34px rgba(12, 38, 56, .18);
}
.doc-thumb.image-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.thumb-page {
  width: min(148px, 58%);
  height: 100%;
  min-width: 128px;
  margin: 0 auto;
  padding: 15px;
  display: grid;
  align-content: start;
  gap: 8px;
  background: #fff;
  border: 1px solid #c9d9e5;
  border-radius: 5px;
  box-shadow: 0 16px 32px rgba(12, 38, 56, .14);
  position: relative;
  overflow: hidden;
}
.thumb-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--blue);
}
.thumb-ext {
  justify-self: start;
  padding: 5px 7px;
  border-radius: 5px;
  background: #edf8ff;
  color: #0b6ea8;
  font-size: 11px;
  font-weight: 900;
}
.thumb-page strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.12;
  max-height: 52px;
  overflow: hidden;
}
.thumb-page em {
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  line-height: 1.25;
  max-height: 28px;
  overflow: hidden;
}
.thumb-page i,
.preview-lines i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: #dce7ee;
}
.thumb-page i:nth-of-type(2),
.preview-lines i:nth-child(2) { width: 78%; }
.thumb-page i:nth-of-type(3),
.preview-lines i:nth-child(4) { width: 58%; }
.ext-pdf .thumb-page::before { background: #d92d20; }
.ext-pdf .thumb-ext { background: #fff1f0; color: #b42318; }
.ext-doc .thumb-page::before,
.ext-docx .thumb-page::before { background: #1d74d8; }
.ext-doc .thumb-ext,
.ext-docx .thumb-ext { background: #edf5ff; color: #145db8; }
.ext-xls .thumb-page::before,
.ext-xlsx .thumb-page::before,
.ext-csv .thumb-page::before { background: #1f8b4c; }
.ext-xls .thumb-ext,
.ext-xlsx .thumb-ext,
.ext-csv .thumb-ext { background: #ecfdf3; color: #18713e; }
.ext-epub .thumb-page::before,
.ext-mobi .thumb-page::before { background: #a66f00; }
.ext-epub .thumb-ext,
.ext-mobi .thumb-ext { background: #fff7e6; color: #945f00; }
.meta { color: var(--muted); margin: 0 0 8px; font-size: 13px; font-weight: 700; }
.doc-card h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.15; }
.doc-card p { color: var(--muted); line-height: 1.45; margin: 0; }
.card-foot {
  margin-top: auto;
  padding-top: 12px;
  padding-bottom: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
}
.card-foot a { color: var(--blue); font-weight: 800; }
.empty { grid-column: 1 / -1; padding: 36px; text-align: center; }

.form-shell, .reader-shell, .admin-head, .admin-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 18px;
  padding: 54px 0;
  align-items: start;
}
.upload-form { padding: 22px; display: grid; gap: 14px; }
.upload-form label { display: grid; gap: 7px; color: var(--muted); font-weight: 800; }
.upload-form textarea { min-height: 130px; resize: vertical; }
.check { grid-template-columns: auto 1fr; align-items: start; font-weight: 600; }
.check input { width: 18px; min-height: 18px; margin-top: 3px; }
.accept-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.reader-shell { grid-template-columns: 380px 1fr; }
.reader-meta, .reader-preview { padding: 24px; }
.reader-meta h1 { font-size: 42px; line-height: 1.05; }
.reader-meta dl { display: grid; gap: 12px; margin: 24px 0 0; }
.reader-meta dt { color: var(--muted); font-size: 12px; text-transform: uppercase; font-weight: 900; }
.reader-meta dd { margin: 4px 0 0; font-weight: 800; }
.reader-preview { min-height: 680px; padding: 0; overflow: hidden; }
.reader-preview iframe { width: 100%; height: 760px; border: 0; background: #fff; }
.image-preview {
  min-height: 680px;
  display: grid;
  place-items: center;
  background: #07111a;
}
.image-preview img {
  max-width: 100%;
  max-height: 760px;
  display: block;
  object-fit: contain;
}
.preview-placeholder {
  min-height: 680px;
  display: grid;
  place-items: center;
  padding: 34px;
  background:
    linear-gradient(180deg, #eef5f9, #f8fafb);
}
.preview-page {
  width: min(520px, 100%);
  min-height: 620px;
  padding: 72px 62px 44px;
  display: grid;
  align-content: start;
  gap: 18px;
  text-align: left;
  background: #fff;
  border: 1px solid #d8e3ea;
  box-shadow: 0 26px 70px rgba(10, 31, 45, .16);
  position: relative;
}
.preview-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}
.preview-page span {
  color: var(--gold);
  font-size: clamp(54px, 8vw, 88px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
}
.preview-page h2 {
  margin: 34px 0 0;
  font-size: 28px;
  line-height: 1.15;
  text-align: center;
}
.preview-page p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  text-align: center;
}
.preview-lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.preview-page small {
  align-self: end;
  margin-top: 54px;
  color: var(--muted);
  text-align: center;
  font-size: 15px;
}

.admin-head { grid-template-columns: 1fr auto; align-items: center; padding-bottom: 16px; }
.metrics { padding-bottom: 24px; }
.metrics article { min-width: 190px; padding: 18px; }
.metrics strong { display: block; font-size: 36px; }
.metrics span { color: var(--muted); font-weight: 700; }
.admin-grid { grid-template-columns: 1fr 340px; padding-top: 0; }
.admin-table { overflow-x: auto; padding: 18px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; }
td small { display: block; color: var(--muted); margin-top: 5px; }
.inline-controls { display: flex; flex-wrap: wrap; gap: 7px; }
.inline-controls button, .bulk-bar button { min-height: 34px; cursor: pointer; }
.inline-controls .danger, .bulk-bar .danger { color: var(--red); border-color: #ffc9c5; background: #fff7f6; }
.admin-table-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}
.admin-table-head p { margin: 0; color: var(--muted); font-weight: 700; }
.admin-filter {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 190px auto auto;
  gap: 10px;
  align-items: end;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.admin-filter label { display: grid; gap: 6px; color: var(--muted); font-weight: 800; font-size: 12px; text-transform: uppercase; }
.admin-filter input, .admin-filter select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 11px;
  background: #fff;
  color: var(--ink);
  text-transform: none;
  font-size: 14px;
  font-weight: 600;
}
.bulk-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bulk-bar > div { display: flex; flex-wrap: wrap; gap: 8px; }
.select-all { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 800; }
.check-col { width: 58px; text-align: center; }
.check-col input { width: 18px; height: 18px; }
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: capitalize;
}
.status-pill.published { color: #14532d; background: #eaf7ef; border-color: #b6dec6; }
.status-pill.hidden { color: #7a2e0e; background: #fff8e6; border-color: #f4d597; }
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  margin: 12px 0;
}
.pagination span { color: var(--muted); font-weight: 800; }
.pagination a, .pagination strong {
  min-width: 36px;
  min-height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}
.pagination strong { background: var(--ink); color: #fff; border-color: var(--ink); }
.login-shell { width: min(520px, 100%); margin: 64px auto; }
.admin-note { padding: 14px; display: grid; gap: 6px; background: #fff8e6; }
.admin-note code { font-size: 20px; color: var(--gold); }

.flash {
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 13px 16px;
  border-radius: 8px;
  background: #eaf7ef;
  border: 1px solid #b6dec6;
  color: #14532d;
  font-weight: 800;
}
.flash.bad { background: #fff0ef; border-color: #ffc9c5; color: var(--red); }
.support-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 6px auto 34px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(13, 131, 197, .22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 12%, rgba(139,214,61,.18), transparent 150px),
    linear-gradient(135deg, #ffffff, #eef7fc);
  box-shadow: 0 14px 34px rgba(10, 31, 45, .08);
}
.support-gif {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(13, 131, 197, .15);
  box-shadow: 0 12px 24px rgba(10, 31, 45, .08);
}
.support-strip h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.12;
}
.support-strip p:not(.eyebrow) {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.55;
}
.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  filter: drop-shadow(0 12px 22px rgba(169, 119, 17, .18));
}
.support-button img {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}
.footer strong, .footer span { display: block; }
.footer div:last-child { display: flex; gap: 14px; font-weight: 800; }

@media (max-width: 900px) {
  .hero, .library-head, .form-shell, .reader-shell, .admin-head, .admin-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 36px; }
  .doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reader-preview, .preview-placeholder { min-height: 420px; }
  .reader-preview iframe { height: 520px; }
  .preview-page { min-height: 500px; padding: 54px 36px 34px; }
}

@media (max-width: 620px) {
  .site-header { padding: 8px 10px; gap: 8px; }
  .brand { flex-basis: 160px; }
  img.brand-logo { width: 155px !important; max-width: 155px; height: 36px !important; object-fit: contain; object-position: left center; }
  .brand span { display: none; }
  .header-actions { gap: 6px; }
  .icon-link { padding: 0 10px; }
  .hero-copy h1 { font-size: 42px; }
  .search-form { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-thumb { height: 170px; }
  .preview-page { min-height: 460px; padding: 44px 24px 28px; }
  .support-strip { grid-template-columns: 1fr; padding: 20px; }
  .support-gif { width: 64px; height: 64px; }
  .support-button { justify-content: flex-start; }
  .support-button img { width: 210px; }
  .footer { display: grid; padding: 22px 14px; }
}


/* Sales funnel home hero */
.sales-hero {
  min-height: auto;
  grid-template-columns: minmax(0, 690px) minmax(340px, 430px);
  gap: 34px;
  padding: 58px 24px 70px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(3,10,17,.96), rgba(7,24,37,.9) 56%, rgba(4,11,18,.98)),
    url("/assets/img/caxess-logo.png") center / cover;
}
.sales-hero::after {
  height: 74px;
}
.sales-copy h1 {
  max-width: 650px;
  font-size: clamp(42px, 5.7vw, 76px);
}
.sales-copy p:not(.eyebrow) {
  max-width: 700px;
}
.sales-lead {
  font-weight: 800;
}
.seller-note {
  margin-top: 22px;
  max-width: 650px;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(156,233,77,.28);
  border-radius: 8px;
  background: rgba(5,17,26,.72);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.seller-note strong {
  color: #fff;
  font-size: 18px;
}
.seller-note span {
  color: rgba(235,247,255,.8);
  line-height: 1.45;
}
.funnel-card {
  padding: 24px;
  border: 1px solid rgba(144,216,249,.28);
  border-radius: 8px;
  background: rgba(3,12,20,.86);
  box-shadow: 0 24px 60px rgba(0,0,0,.32);
  color: #fff;
}
.funnel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.funnel-head span {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
}
.funnel-head strong {
  color: #dff7ff;
}
.funnel-steps {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.funnel-steps article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
}
.funnel-steps b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #9ce94d, #1ba4e8);
  color: #061018;
  font-weight: 900;
}
.funnel-steps span {
  color: rgba(244,250,255,.92);
  font-weight: 800;
  line-height: 1.25;
}
.buyer-box {
  display: grid;
  gap: 7px;
  padding: 15px;
  border-radius: 8px;
  background: rgba(102,216,255,.12);
  border: 1px solid rgba(102,216,255,.25);
}
.buyer-box strong {
  color: #fff;
}
.buyer-box span {
  color: rgba(235,247,255,.8);
  line-height: 1.45;
}
@media (max-width: 960px) {
  .sales-hero {
    grid-template-columns: 1fr;
    padding: 42px 16px 60px;
  }
  .funnel-card {
    max-width: 720px;
  }
}
@media (max-width: 560px) {
  .sales-copy h1 {
    font-size: 42px;
  }
  .funnel-head {
    display: grid;
  }
  .seller-note,
  .funnel-card {
    padding: 16px;
  }
}


.doc-count-badge {
  width: fit-content;
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(102,216,255,.26);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.doc-count-badge strong {
  font-size: 28px;
  line-height: 1;
}
.doc-count-badge span {
  color: rgba(235,247,255,.78);
  font-weight: 800;
}


.checkout-payments {
  align-items: start;
}
.crypto-methods {
  display: grid;
  gap: 10px;
}
.crypto-method {
  display: grid;
  grid-template-columns: 72px minmax(120px, 180px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.crypto-method strong {
  font-size: 16px;
}
.crypto-method span {
  color: var(--muted);
  font-weight: 700;
}
.crypto-method code {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #31465a;
  font-size: 12px;
  line-height: 1.35;
}
@media (max-width: 620px) {
  .checkout-shell {
    padding-top: 30px;
  }
  .checkout-payments {
    width: min(100% - 24px, 1180px);
    gap: 14px;
  }
  .crypto-card-list,
  .checkout-payments .upload-form {
    padding: 16px;
  }
  .crypto-card-list .admin-table-head h2,
  .checkout-payments .upload-form h2 {
    font-size: 24px;
  }
  .crypto-card-list .admin-table-head p {
    font-size: 14px;
    line-height: 1.35;
  }
  .crypto-method {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 12px;
  }
  .crypto-method code {
    font-size: 11px;
  }
}


.scan-notice {
  width: min(560px, 100%);
  margin: 22px 0 18px;
  padding: 16px 18px;
  display: grid;
  gap: 4px;
  border-radius: 18px;
  border: 1px solid rgba(102,216,255,.34);
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.42)),
    radial-gradient(circle at 12% 10%, rgba(156,233,77,.28), transparent 130px);
  box-shadow: 0 18px 42px rgba(11, 42, 62, .12), inset 0 1px 0 rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}
.scan-notice strong {
  color: #07111a;
  font-size: 18px;
  line-height: 1.2;
}
.scan-notice span {
  color: #365066;
  line-height: 1.35;
  font-weight: 700;
}


.secure-payout-note {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(13,131,197,.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(237,248,255,.78)),
    radial-gradient(circle at 12% 8%, rgba(156,233,77,.18), transparent 120px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 10px 26px rgba(10,31,45,.06);
}
.secure-payout-note strong {
  color: #07111a;
  font-size: 16px;
}
.secure-payout-note span,
.form-help {
  color: var(--muted);
  line-height: 1.4;
  font-weight: 700;
}
.payout-fieldset {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}
.payout-fieldset legend {
  padding: 0 8px;
  color: var(--ink);
  font-weight: 900;
}
.payout-panel {
  display: grid;
  gap: 12px;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.payout-panel[hidden] {
  display: none;
}
@media (max-width: 620px) {
  .field-row {
    grid-template-columns: 1fr;
  }
  .payout-fieldset {
    padding: 14px;
  }
}


.upload-trust-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 14px;
  align-items: center;
  margin: 18px 0;
}
.policy-stamp,
.policy-stamp-card {
  margin: 0;
  border-radius: 999px;
  background: rgba(2, 8, 14, .94);
  box-shadow:
    0 16px 34px rgba(2, 8, 14, .24),
    inset 0 0 0 2px rgba(255,255,255,.18),
    inset 0 0 0 7px rgba(210,20,20,.38);
  overflow: hidden;
}
.policy-stamp img,
.policy-stamp-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 999px;
}
.policy-stamp figcaption,
.policy-stamp-card span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.policy-stamp-card {
  width: 190px;
  height: 190px;
  margin: 16px auto 0;
  padding: 6px;
}
.policy-stamp {
  width: 150px;
  height: 150px;
  padding: 5px;
}
.policy-footer {
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr) auto;
  align-items: center;
}
.footer-brand a {
  display: inline-block;
  margin-top: 8px;
  font-weight: 900;
  color: var(--blue);
}
.footer-policy {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  max-width: 720px;
}
.footer-policy-stamp {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  object-fit: cover;
  background: #03070b;
  box-shadow:
    0 10px 22px rgba(2,8,14,.2),
    inset 0 0 0 2px rgba(255,255,255,.18),
    inset 0 0 0 5px rgba(210,20,20,.34);
}
.footer-policy strong {
  color: var(--ink);
}
.footer-policy span {
  line-height: 1.45;
}
.footer-links {
  display: flex;
  gap: 14px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .policy-footer {
    grid-template-columns: 1fr;
  }
  .footer-policy {
    margin: 8px 0;
  }
}

@media (max-width: 620px) {
  .upload-trust-stack {
    grid-template-columns: 1fr;
  }
  .policy-stamp {
    width: 170px;
    height: 170px;
  }
  .footer-policy {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .footer-policy-stamp {
    width: 72px;
    height: 72px;
  }
}
