:root {
  color-scheme: light;
  --paper: #f3eadc;
  --paper-soft: #fff9ef;
  --ink: #201916;
  --muted: #776d61;
  --line: #ded2bf;
  --gold: #b78a38;
  --red: #9d2f20;
  --shadow: 0 24px 70px rgba(46, 33, 20, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #1f1916;
}

body {
  min-height: 100%;
  margin: 0;
  padding: 48px 22px 64px;
  background:
    radial-gradient(circle at 12% 6%, rgba(183, 138, 56, 0.22), transparent 34rem),
    linear-gradient(135deg, rgba(157, 47, 32, 0.13), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Trebuchet MS", Verdana, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(32, 25, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 25, 22, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
}

body > h1 {
  display: none;
}

body > table,
.perskit-hero,
.perskit-foot {
  position: relative;
  width: min(1040px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.perskit-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
  padding: 0 2px 22px;
  border-bottom: 1px solid rgba(32, 25, 22, 0.18);
}

.perskit-kicker {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.perskit-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.92;
}

.perskit-logo-heading {
  line-height: 0;
}

.perskit-logo {
  display: block;
  width: min(228px, 30%);
  height: auto;
  margin: -6px 0 0 -5px;
  filter: drop-shadow(0 18px 34px rgba(36, 41, 119, 0.28));
}

.perskit-copy {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.perskit-badge {
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32, 25, 22, 0.2);
  border-radius: 50%;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

table {
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 249, 239, 0.92);
  border: 1px solid rgba(32, 25, 22, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

th {
  padding: 16px 18px;
  background: #211a16;
  color: #f9edda;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

th a {
  color: #f9edda;
}

td {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  vertical-align: middle;
}

tr:hover td {
  background: #fff3df;
}

tr:nth-child(3) {
  display: none;
}

.indexcolicon {
  display: none;
}

td:nth-child(2) {
  min-width: 360px;
  color: var(--ink);
  font-weight: 800;
}

td:nth-child(3),
td:nth-child(4) {
  white-space: nowrap;
}

td:nth-child(4) {
  color: var(--red);
  font-weight: 800;
}

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

td:nth-child(2) a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

td:nth-child(2) a::before {
  content: "";
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background: var(--ink);
  -webkit-mask: url("/perskit/_icon-doc.svg") center / contain no-repeat;
  mask: url("/perskit/_icon-doc.svg") center / contain no-repeat;
}

td:nth-child(2) a[href$=".pdf" i]::before {
  -webkit-mask-image: url("/perskit/_icon-pdf.svg");
  mask-image: url("/perskit/_icon-pdf.svg");
}

td:nth-child(2) a[href$=".docx" i]::before,
td:nth-child(2) a[href$=".doc" i]::before {
  -webkit-mask-image: url("/perskit/_icon-doc.svg");
  mask-image: url("/perskit/_icon-doc.svg");
}

td:nth-child(2) a[href$=".jpg" i]::before,
td:nth-child(2) a[href$=".jpeg" i]::before,
td:nth-child(2) a[href$=".png" i]::before {
  -webkit-mask-image: url("/perskit/_icon-img.svg");
  mask-image: url("/perskit/_icon-img.svg");
}

td:nth-child(2) a[href$=".zip" i]::before {
  -webkit-mask-image: url("/perskit/_icon-zip.svg");
  mask-image: url("/perskit/_icon-zip.svg");
}

td:nth-child(2) a::after {
  content: "Download";
  padding: 4px 9px;
  border: 1px solid rgba(157, 47, 32, 0.22);
  border-radius: 999px;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

a:hover {
  color: var(--red);
}

img {
  opacity: 0.72;
}

hr {
  display: none;
}

.perskit-foot {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  body {
    padding: 32px 12px 44px;
  }

  .perskit-hero {
    display: block;
  }

  .perskit-logo {
    width: min(156px, 42%);
    max-width: 42%;
    margin: -4px 0 0 -4px;
  }

  .perskit-badge {
    width: auto;
    height: auto;
    display: inline-block;
    margin-top: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    transform: none;
  }

  table {
    display: block;
    overflow-x: auto;
  }

  td:nth-child(2) {
    min-width: 280px;
  }
}
