:root {
  --ssdc-ink: #171717;
  --ssdc-muted: #666a68;
  --ssdc-line: #dedfdc;
  --ssdc-surface: #f6f6f3;
  --ssdc-surface-2: #eceee8;
  --ssdc-accent: #d7ef53;
  --ssdc-accent-ink: #172000;
  --ssdc-radius: 20px;
  --ssdc-max: 1240px;
}

.ssdc-hub,
.ssdc-single {
  width: min(calc(100% - 40px), var(--ssdc-max));
  margin: 0 auto;
  color: var(--ssdc-ink);
}

.ssdc-hub {
  padding: clamp(56px, 8vw, 110px) 0;
}

.ssdc-hub__header {
  max-width: 780px;
  margin-bottom: 42px;
}

.ssdc-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ssdc-hub h1,
.ssdc-single__header h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 74px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 600;
}

.ssdc-hub__intro {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--ssdc-muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.ssdc-search-wrap {
  margin: 0 0 18px;
}

.ssdc-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--ssdc-line);
  border-radius: 999px;
  background: #fff;
}

.ssdc-search svg,
.ssdc-card svg,
.ssdc-primary-button svg,
.ssdc-download svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ssdc-search svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.ssdc-search input {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ssdc-ink);
  font: inherit;
  box-shadow: none !important;
}

.ssdc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.ssdc-filter {
  appearance: none;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--ssdc-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ssdc-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s ease;
}

.ssdc-filter:hover,
.ssdc-filter.is-active {
  border-color: var(--ssdc-ink);
  background: var(--ssdc-ink);
  color: #fff;
}

.ssdc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ssdc-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--ssdc-line);
  border-radius: var(--ssdc-radius);
  background: #fff;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.ssdc-card:hover {
  transform: translateY(-3px);
  border-color: #bfc1bc;
  box-shadow: 0 18px 48px rgba(0,0,0,.06);
}

.ssdc-card[hidden] {
  display: none !important;
}

.ssdc-card__top,
.ssdc-card__meta,
.ssdc-card__actions,
.ssdc-single__meta-row {
  display: flex;
  align-items: center;
}

.ssdc-card__top {
  justify-content: space-between;
  gap: 20px;
}

.ssdc-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ssdc-surface);
}

.ssdc-card__icon svg {
  width: 23px;
  height: 23px;
}

.ssdc-card__eyebrow {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--ssdc-surface);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.ssdc-card__body {
  margin-top: 48px;
}

.ssdc-card__body h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.ssdc-card__body h2 a {
  color: inherit;
  text-decoration: none;
}

.ssdc-card__body p {
  margin: 0;
  max-width: 56ch;
  color: var(--ssdc-muted);
  font-size: 15px;
  line-height: 1.55;
}

.ssdc-card__meta {
  gap: 8px 14px;
  flex-wrap: wrap;
  margin: auto 0 18px;
  padding-top: 28px;
  color: var(--ssdc-muted);
  font-size: 12px;
}

.ssdc-card__meta span + span::before {
  content: '•';
  margin-right: 14px;
}

.ssdc-card__actions {
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--ssdc-line);
}

.ssdc-link,
.ssdc-download,
.ssdc-back {
  color: var(--ssdc-ink);
  text-decoration: none;
  font-weight: 650;
}

.ssdc-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.ssdc-link span {
  transition: transform .2s ease;
}

.ssdc-link:hover span {
  transform: translateX(4px);
}

.ssdc-download {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}

.ssdc-download svg {
  width: 16px;
  height: 16px;
}

.ssdc-no-results,
.ssdc-empty {
  grid-column: 1 / -1;
  padding: 30px 0;
  color: var(--ssdc-muted);
}

.ssdc-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(54px, 8vw, 100px);
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--ssdc-radius);
  background: var(--ssdc-surface-2);
}

.ssdc-cta h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.ssdc-cta p:not(.ssdc-kicker) {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--ssdc-muted);
  line-height: 1.55;
}

.ssdc-primary-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ssdc-accent);
  color: var(--ssdc-accent-ink);
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease;
}

.ssdc-primary-button:hover {
  transform: translateY(-2px);
  color: var(--ssdc-accent-ink);
}

.ssdc-primary-button svg {
  width: 18px;
  height: 18px;
}

/* Single document */
.ssdc-single {
  padding: clamp(40px, 7vw, 90px) 0 clamp(70px, 9vw, 120px);
}

.ssdc-single__topbar {
  margin-bottom: clamp(40px, 6vw, 72px);
}

.ssdc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.ssdc-single__header {
  max-width: 920px;
  margin-bottom: 38px;
}

.ssdc-single__meta-row {
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 22px 0;
  color: var(--ssdc-muted);
  font-size: 13px;
}

.ssdc-single__meta-row span + span::before {
  content: '•';
  margin-right: 20px;
}

.ssdc-single__document {
  padding-top: 40px;
  border-top: 1px solid var(--ssdc-line);
}

.ssdc-readable-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
}

.ssdc-readable-content h2,
.ssdc-readable-content h3,
.ssdc-readable-content h4 {
  margin-top: 2.2em;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.ssdc-readable-content h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.ssdc-readable-content h3 {
  font-size: 25px;
}

.ssdc-readable-content p,
.ssdc-readable-content li {
  color: #333634;
}

.ssdc-readable-content a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ssdc-pdf-frame {
  width: 100%;
  min-height: 800px;
  overflow: hidden;
  border: 1px solid var(--ssdc-line);
  border-radius: var(--ssdc-radius);
  background: var(--ssdc-surface);
}

.ssdc-pdf-frame object,
.ssdc-pdf-frame iframe {
  width: 100%;
  height: min(82vh, 1040px);
  min-height: 800px;
  border: 0;
}

@media (max-width: 800px) {
  .ssdc-grid {
    grid-template-columns: 1fr;
  }

  .ssdc-card {
    min-height: 310px;
  }

  .ssdc-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .ssdc-primary-button {
    width: 100%;
  }

  .ssdc-pdf-frame,
  .ssdc-pdf-frame object,
  .ssdc-pdf-frame iframe {
    min-height: 620px;
  }
}

@media (max-width: 520px) {
  .ssdc-hub,
  .ssdc-single {
    width: min(calc(100% - 28px), var(--ssdc-max));
  }

  .ssdc-card {
    padding: 22px;
    border-radius: 16px;
  }

  .ssdc-card__actions {
    align-items: flex-start;
  }

  .ssdc-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

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

  .ssdc-filter {
    flex: 0 0 auto;
  }
}
