@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/DMSans-latin.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KMR Waldenburg';
  src: url('/fonts/KMRWaldenburg-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KMR Waldenburg';
  src: url('/fonts/KMRWaldenburg-Medium.woff2') format('woff2');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KMR Waldenburg';
  src: url('/fonts/KMRWaldenburg-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KMR Waldenburg SemiCond';
  src: url('/fonts/KMRWaldenburg-SemiCondensed.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --off-white: #fbfaf5;
  --footer-cream: #fffcf0;
  --foreground: #353535;
  --heading: #000;
  --dark-green: #2a3f38;
  --grey: #737373;
  --warm-grey: #e5e4dd;
  --border: #e5e5e5;
  --table-border: #d8d8d3;
  --shadow-md:
    0 8px 30px 16px rgba(0, 0, 0, 0.07),
    0 4px 60px 32px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--off-white);
  color: var(--foreground);
  font-family: 'KMR Waldenburg', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--footer-cream);
}

a {
  color: var(--heading);
}

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

.page-sheet {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  background: var(--off-white);
  border-radius: 0 0 80px 80px;
  box-shadow: var(--shadow-md);
}

.blog-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 245, 0.35);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}

.blog-header.is-scrolled {
  border-bottom-color: var(--border);
}

.site-nav {
  width: 100%;
  max-width: 1440px;
  height: 54px;
  margin-inline: auto;
  padding-inline: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: 145.087px;
  height: 24px;
  display: flex;
  align-items: center;
  gap: 4.844px;
  color: #000;
}

.brand-symbol {
  position: relative;
  width: 23.752px;
  height: 24px;
  flex: 0 0 23.752px;
  display: grid;
  place-items: center;
}

.brand-symbol::before {
  content: '';
  position: absolute;
  inset: -4.17px -4.3px;
  border-radius: 8.5px;
  background: #244032;
  opacity: 0;
  transition: opacity 260ms ease;
}

.brand-glyph {
  display: block;
  position: relative;
  z-index: 1;
  width: 23.752px;
  height: 24px;
  transform: rotate(var(--logo-rotation, 0deg));
  transform-origin: center;
  transition: color 260ms ease, transform 560ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.brand-wordmark {
  display: block;
  width: 116.491px;
  height: 20.378px;
  flex: 0 0 116.491px;
  object-fit: fill;
  opacity: 1;
  transform: translateY(1.561px);
  transition: opacity 200ms ease, transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.brand-symbol:hover::before,
.brand:focus-visible .brand-symbol::before {
  opacity: 1;
}

.brand-symbol:hover .brand-glyph,
.brand:focus-visible .brand-glyph {
  color: #b5eec5;
}

.brand-symbol:hover ~ .brand-wordmark,
.brand:focus-visible .brand-wordmark {
  opacity: 0;
  transform: translateY(-4.439px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font: 400 14px/1 'DM Sans', sans-serif;
  color: var(--foreground);
}

.nav-links a {
  color: inherit;
  text-decoration: none;
  transition: opacity 200ms ease;
}

.nav-links a:hover {
  opacity: 0.58;
}

main {
  flex: 1;
}

.policy-article {
  max-width: 1152px;
  margin-inline: auto;
  padding: 56px 64px;
}

.policy-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 896px;
  margin-inline: auto;
  scroll-margin-top: 86px;
}

.policy-title {
  margin: 0;
  font-family: 'KMR Waldenburg SemiCond', 'KMR Waldenburg', system-ui, sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.018em;
  color: var(--foreground);
  text-wrap: balance;
}

.policy-subtitle {
  margin: 0;
  font-family: 'KMR Waldenburg SemiCond', 'KMR Waldenburg', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--grey);
}

.policy-layout {
  width: 100%;
  max-width: 896px;
  margin: 64px auto 0;
}

.policy-content {
  color: var(--foreground);
  line-height: 1.4;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.policy-content > * + * {
  margin-block-start: 1.4em;
}

.policy-content .section-title {
  font-family: 'KMR Waldenburg SemiCond', 'KMR Waldenburg', system-ui, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin-block: 48px 0;
  text-wrap: balance;
  scroll-margin-top: 86px;
}

.policy-content > .section-title:first-child {
  margin-top: 0;
}

.policy-content .section-title strong,
.policy-content .section-title.doc-list-item .doc-marker {
  font-weight: inherit;
}

.policy-content h2:not(.section-title) {
  font-family: 'KMR Waldenburg', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--heading);
  background: none;
  padding: 0;
  border-radius: 0;
  margin-block: 24px 0;
  text-wrap: balance;
  scroll-margin-top: 86px;
}

.policy-content p {
  text-wrap: pretty;
}

.policy-content strong,
.policy-content b {
  color: inherit;
  font-weight: 600;
}

.policy-content em,
.policy-content i {
  font-style: italic;
}

.policy-content u {
  text-decoration-thickness: 0.8px;
  text-underline-offset: 2px;
}

.policy-content a {
  color: var(--heading);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 0.8px;
  text-underline-offset: 3px;
  transition: opacity 200ms ease;
}

.policy-content a:hover {
  opacity: 0.58;
}

.policy-content table {
  width: 100%;
  border: 1px solid var(--table-border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  margin-block: 1.4em 0;
}

.policy-content th,
.policy-content td {
  border: 0;
  border-top: 1px solid var(--table-border);
  border-left: 1px solid var(--table-border);
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: top;
}

.policy-content thead:first-child tr:first-child > * {
  border-top: 0;
}

.policy-content tr > :first-child {
  border-left: 0;
}

.policy-content th {
  color: var(--heading);
  font-weight: 700;
}

.policy-content td p,
.policy-content th p {
  margin: 0;
}

.policy-content .doc-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.policy-content .doc-list-item .doc-marker {
  min-width: 3.1rem;
  color: var(--heading);
  font-weight: 600;
  text-align: right;
  padding-right: 0.18rem;
  flex: 0 0 auto;
  letter-spacing: 0;
}

.policy-content .doc-list-item .doc-item-text {
  flex: 1 1 auto;
  min-width: 0;
}

.policy-content .doc-list-item.level-1 { margin-left: 1.6rem; }
.policy-content .doc-list-item.level-2 { margin-left: 3.2rem; }
.policy-content .doc-list-item.level-3 { margin-left: 4.8rem; }
.policy-content .doc-list-item.level-4 { margin-left: 6.4rem; }

.policy-content .doc-list-item.fmt-bullet .doc-marker {
  font-size: 1.05em;
  line-height: 1.2;
}

.policy-content h2.doc-list-item.level-1 {
  margin-left: 0;
}

.policy-content h2.doc-list-item .doc-marker {
  min-width: 0;
  padding-right: 0;
  text-align: left;
}

.policy-content h2:not(.section-title),
.policy-content h2:not(.section-title) strong,
.policy-content h2:not(.section-title) .doc-marker {
  font-weight: 400;
}

.site-footer {
  position: static;
  z-index: auto;
}

.site-footer .inner {
  max-width: 1440px;
  margin-inline: auto;
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.footer-top {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.footer-logo,
.footer-logo img {
  display: block;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 23.441px;
}

.footer-badge {
  position: relative;
  display: block;
  flex: none;
}

.footer-badge img {
  position: absolute;
  display: block;
}

.badge-hipaa { width: 40.905px; height: 39.37px; }
.badge-hipaa .mark-main { left: 0; bottom: 0; width: 40.905px; height: 28.978px; }
.badge-hipaa .mark-type { left: 8.49px; top: 0; width: 23.196px; height: 6.874px; }
.badge-gdpr { width: 42.023px; height: 42.023px; }
.badge-gdpr img { inset: 0; width: 100%; height: 100%; }
.badge-iso { width: 49.855px; height: 35.513px; }
.badge-iso .mark-main { left: 9.276px; top: 0; width: 31.304px; height: 35.51px; }
.badge-iso .mark-type { left: 0; top: 13.938px; width: 49.855px; height: 7.97px; }
.badge-soc { width: 40.894px; height: 28.417px; }
.badge-soc img { inset: 0; width: 100%; height: 100%; }

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 60px;
  margin-left: auto;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-column h2 {
  margin: 0 0 4px;
  color: var(--foreground);
  font: 500 14px/1.2 'DM Sans', sans-serif;
}

.footer-column a {
  position: relative;
  color: var(--foreground);
  font: 400 14px/1.2 'DM Sans', sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.footer-column a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.footer-column a:hover::after,
.footer-column a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-column a:focus-visible {
  outline: none;
}

.footer-copyright {
  margin: 0;
  font: 400 12px/1.2 'KMR Waldenburg', system-ui, sans-serif;
  color: var(--grey);
}

.footer-socials {
  display: flex;
  gap: 40px;
  font: 400 14px/1 'DM Sans', sans-serif;
}

.footer-socials a {
  color: var(--foreground);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

.footer-socials a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.footer-socials a:hover::after,
.footer-socials a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-socials a:focus-visible {
  outline: none;
}

@media (max-width: 60rem) {
  .page-sheet {
    border-radius: 0 0 40px 40px;
  }

  .site-nav {
    padding-left: 24px;
    padding-right: 18px;
  }

  .policy-article {
    padding-inline: 20px;
  }

  .site-footer .inner {
    padding: 48px 20px;
    gap: 32px;
  }

  .footer-socials {
    gap: 28px;
  }
}

@media (max-width: 40rem) {
  .site-nav {
    height: auto;
    min-height: 54px;
    padding-block: 14px;
    gap: 16px;
  }

  .brand {
    width: 126px;
    flex: 0 0 126px;
  }

  .brand-wordmark {
    width: 100px;
    flex: 0 0 100px;
  }

  .nav-links {
    gap: 14px;
    font-size: 12px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-columns {
    width: 100%;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .footer-column {
    width: 100%;
    min-width: 0;
  }

  .footer-column a {
    white-space: normal;
  }

  .footer-copyright {
    max-width: 28rem;
  }

  .policy-article {
    padding-block: 32px;
  }

  .policy-content table {
    display: block;
    overflow-x: auto;
  }

  .policy-content .doc-list-item.level-1,
  .policy-content .doc-list-item.level-2,
  .policy-content .doc-list-item.level-3,
  .policy-content .doc-list-item.level-4 {
    margin-left: 0;
  }
}
