/* Trust and company pages, blog design system v2 (v2_safety.py, v2_trust.py): the Safety centre
   (1032 column under an ink hero), About and Press (744 prose, blocks bleeding to 1032 and 1320),
   the 404 page (712 narrow column) and the document pages (Editorial policy, Privacy, Terms,
   Cookies: WordPress content in the 744 column). Rendered by inc/v2-trust.php. */

:root { --hc-tr-wash: var(--hc-card-on-band); }
:root[data-theme="dark"] { --hc-tr-wash: var(--hc-alt); }

/* The 404 and the document pages escape Astra's container the way the landings do. */
.error404 .site-content .ast-container,
.hc-doc-page .site-content .ast-container,
.hc-doc-page .ast-article-single {
  max-width: none;
  padding: 0;
  background: transparent;
}
.error404 #primary,
.hc-doc-page #primary { margin: 0; padding: 0; } /* Astra pads it 27px on phones */
.hc-doc-page .entry-content > .hc-doc { margin: 0 auto; }

/* The boards leave line-height at normal wherever they don't set one; every block that sets one
   sets it below. */
.hc-tr,
.hc-doc,
.hc-tr .hc-eyebrow,
.hc-doc .hc-eyebrow { line-height: normal; }
.hc-tr p,
.hc-doc > p { margin: 0; }
.hc-tr a { text-underline-offset: 4px; }

/* ---------------------------------------------------------------- shared pieces */
.hc-tr__h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -1.6px;
  color: var(--hc-text);
  text-wrap: balance;
}
.hc-tr__h1--56 { font-size: 56px; }
.hc-tr__h1--48 { font-size: 48px; }
.hc-tr__sub { max-width: 560px; font-size: 20px; line-height: 1.6; color: var(--hc-body); }
.hc-tr__section { margin: 64px 0 20px !important; }
.hc-tr__grid { display: grid; gap: 16px; }
.hc-tr__grid--3 { grid-template-columns: repeat(3, 1fr); }
.hc-tr__grid--2 { grid-template-columns: repeat(2, 1fr); }
.hc-tr__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 24px;
  border-radius: 20px;
  background: var(--hc-card);
  box-shadow: inset 0 0 0 1px var(--hc-hair);
}
.hc-tr__card--wash { background: var(--hc-tr-wash); }
.hc-tr__card--line { background: transparent; box-shadow: inset 0 0 0 1px var(--hc-line); }
.hc-tr__num { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--hc-accent); }
.hc-tr__title { font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--hc-text); }
.hc-tr__title--17 { font-size: 17px; }
.hc-tr__title-row { display: flex; align-items: center; gap: 10px; }
.hc-tr__desc { font-size: 15px; line-height: 1.6; color: var(--hc-body); }
.hc-tr__pending {
  align-self: flex-start;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px dashed var(--hc-strong);
  font-size: 13px;
  color: var(--hc-muted);
}

/* ---------------------------------------------------------------- Safety */
.hc-tr__col { box-sizing: content-box; max-width: 1032px; margin: 0 auto; padding: 0 24px; }
.hc-tr__hero { padding: 88px 0; background: var(--hc-moment); }
.hc-tr__hero .hc-tr__col { display: flex; flex-direction: column; gap: 20px; }
.hc-tr__hero .hc-eyebrow { color: var(--hc-m-soft); }
.hc-tr__hero .hc-tr__h1 { line-height: 1.1; color: var(--hc-m-text); }
.hc-tr__hero-sub { max-width: 640px; font-size: 20px; line-height: 1.6; color: var(--hc-m-body); }
.hc-tr__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.hc-tr__cta {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.hc-tr__cta--solid,
.hc-tr__cta--solid:hover,
.hc-tr__cta--solid:focus { background: #eef0f4; color: #12151a; }
.hc-tr__cta--ghost,
.hc-tr__cta--ghost:hover,
.hc-tr__cta--ghost:focus { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); color: var(--hc-m-text); }
.hc-tr__cta:hover { opacity: 0.88; }
.hc-tr__stamp { margin-top: 8px !important; font-size: 14px; color: var(--hc-m-muted); }
.hc-tr__stamp a,
.hc-tr__stamp a:hover { color: var(--hc-m-soft); text-decoration: underline; text-underline-offset: 3px; }

.hc-tr__body { padding-top: 56px; padding-bottom: 112px; }
.hc-tr__body [id] { scroll-margin-top: 24px; }
.hc-tr__triage {
  padding: 32px;
  border-radius: 28px;
  background: var(--hc-tr-wash);
  box-shadow: inset 0 0 0 1px var(--hc-hair);
}
.hc-tr__triage-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.hc-tr__triage-head h2,
.hc-tr .hc-tr__deeper-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.4px;
  color: var(--hc-text);
}
.hc-tr__triage-head span { font-size: 16px; color: var(--hc-body); }
.hc-tr__money {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--hc-chip-on-bg);
  box-shadow: inset 0 0 0 1px var(--hc-chip-on-line);
  color: var(--hc-chip-on-fg);
}
.hc-tr__money svg { flex-shrink: 0; margin-top: 1px; }
.hc-tr__money p { font-size: 15px; line-height: 1.6; color: var(--hc-text); }
.hc-tr__money b,
.hc-tr__faq-q,
.hc-tr__quote b { font-weight: 600; }
.hc-tr__money a,
.hc-tr__more a,
.hc-tr__deeper-head a { color: var(--hc-accent); font-weight: 600; text-decoration: underline; }

.hc-tr__anchors { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; }
.hc-tr__anchors > span { margin-right: 6px; font-size: 14px; font-weight: 600; color: var(--hc-muted); }
.hc-tr__anchors .hc-chip { text-decoration: none; }

.hc-tr__head { display: flex; flex-direction: column; gap: 12px; margin: 88px 0 26px; }
.hc-tr__intro { max-width: 744px; font-size: 19px; line-height: 1.6; color: var(--hc-body); }
.hc-tr__quote {
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--hc-card);
  box-shadow: inset 0 0 0 1px var(--hc-hair);
  font-size: 14px;
  line-height: 1.5;
  color: var(--hc-body);
}
.hc-tr__quote b { color: var(--hc-muted); }
.hc-tr__more { margin-top: 18px !important; font-size: 15px; color: var(--hc-body); }

.hc-tr__grid--2 .hc-tr__card { padding: 24px 26px; }
.hc-tr__stance-h { font-size: 18px; font-weight: 600; color: var(--hc-text); }
.hc-tr__stance-h--do { color: var(--hc-accent); }
.hc-tr__list { margin: 4px 0 0; padding: 0; list-style: none; }
.hc-tr__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 12px 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--hc-text);
}
.hc-tr__list li + li { box-shadow: inset 0 1px 0 var(--hc-hair); }
.hc-tr__li-ic { display: block; flex-shrink: 0; margin-top: 2px; }
.hc-tr__list--do .hc-tr__li-ic { color: var(--hc-accent); }
.hc-tr__list--dont .hc-tr__li-ic { color: var(--hc-muted); }

.hc-tr__flow { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.hc-tr__step {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 20px;
  border-radius: 20px;
  background: var(--hc-card);
  box-shadow: inset 0 0 0 1px var(--hc-hair);
}
.hc-tr__arrow { align-self: center; margin: 0; font-size: 20px; color: var(--hc-strong); }
.hc-tr__arrow-d { display: none; }

.hc-tr__disclaimer {
  margin-top: 18px !important;
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--hc-line);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--hc-text);
}

.hc-tr__faq { box-shadow: inset 0 -1px 0 var(--hc-line); }
.hc-tr__faq-item { padding: 20px 0; box-shadow: inset 0 1px 0 var(--hc-line); }
.hc-tr__faq-q { margin-bottom: 8px !important; font-size: 18px; line-height: 1.4; color: var(--hc-text); }
.hc-tr__faq-a { max-width: 744px; font-size: 16px; line-height: 1.65; color: var(--hc-body); }

.hc-tr__deeper-head { display: flex; align-items: baseline; gap: 14px; margin: 88px 0 22px; }
.hc-tr .hc-tr__deeper-head h2 { font-size: 32px; line-height: 1.15; letter-spacing: -0.6px; }
.hc-tr__deeper-head > span { font-size: 15px; color: var(--hc-muted); }
.hc-tr__deeper-head .hc-tr__spacer { flex: 1 1 auto; }
.hc-tr__deeper-head a { font-size: 16px; }
.hc-tr__deeper-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.hc-tr__deeper-card .hc-eyebrow { margin-top: 4px; }
.hc-tr__thumb { display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 16px; background: var(--hc-card-on-band); box-shadow: inset 0 0 0 1px var(--hc-hair); }
.hc-tr__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hc-tr__deeper-t { font-size: 17px; line-height: 1.35; font-weight: 500; color: var(--hc-text); }
.hc-tr__deeper-m { font-size: 14px; color: var(--hc-muted); }

/* ---------------------------------------------------------------- About, Press (744 prose) */
/* Flex columns, as on the boards, so neighbouring margins add up instead of collapsing. */
.hc-tr--prose,
.hc-tr--narrow,
.hc-doc,
.hc-doc__body { display: flex; flex-direction: column; }
.hc-tr--prose,
.hc-doc {
  box-sizing: content-box;
  max-width: 744px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}
.hc-tr__top { display: flex; flex-direction: column; gap: 18px; }
.hc-tr--prose .hc-tr__top:has(.hc-tr__stand) { margin-bottom: 36px; }
.hc-tr__rule { width: 44px; height: 3px; margin-top: 6px; border-radius: 3px; background: var(--hc-brand); }
.hc-tr__stand { font-size: 23px; line-height: 1.45; font-weight: 500; color: var(--hc-text); text-wrap: pretty; }
.hc-tr__p { margin: 0 0 22px !important; font-size: 19px; line-height: 1.7; color: var(--hc-prose-text); }
.hc-tr__bleed--1032 { width: 1032px; margin-left: -144px; }
.hc-tr__bleed--1320 { width: 1320px; margin-left: -288px; }
.hc-tr__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 8px; }
.hc-tr__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 26px;
  border-radius: 20px;
  background: var(--hc-tr-wash);
  box-shadow: inset 0 0 0 1px var(--hc-hair);
}
.hc-tr__stat-n { font-size: 52px; line-height: 1; font-weight: 300; letter-spacing: -1.4px; color: var(--hc-text); }
.hc-tr__stat-d { font-size: 15px; line-height: 1.5; color: var(--hc-body); }
.hc-tr__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.hc-tr__pill,
.hc-tr__pill:hover {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--hc-chip);
  box-shadow: inset 0 0 0 1px var(--hc-chip-line);
  color: var(--hc-text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.hc-tr__pill:hover { box-shadow: inset 0 0 0 1px var(--hc-strong); }

.hc-tr__boiler {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--hc-card);
  box-shadow: inset 0 0 0 1px var(--hc-hair);
}
.hc-tr__boiler-t { font-size: 17px; line-height: 1.65; color: var(--hc-prose-text); }
.hc-tr__facts,
.hc-tr__assets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hc-tr__fact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--hc-tr-wash);
  box-shadow: inset 0 0 0 1px var(--hc-hair);
}
.hc-tr__fact-k { font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--hc-muted); }
.hc-tr__fact-v { font-size: 20px; line-height: 1.3; font-weight: 500; color: var(--hc-text); }
.hc-tr__fact .hc-tr__pending { margin-top: 0; padding: 4px 10px; border-radius: 8px; font-size: 14px; }
.hc-tr__asset { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--hc-hair); }
.hc-tr__asset-art { display: flex; align-items: center; justify-content: center; height: 160px; background: var(--hc-card); color: var(--hc-text); }
.hc-tr__asset-art.is-dark { background: var(--hc-moment); color: #eef0f4; }
.hc-tr__asset-art.is-empty { background: var(--hc-card-on-band); }
.hc-tr__asset-l {
  padding: 14px 16px;
  background: var(--hc-card);
  box-shadow: inset 0 1px 0 var(--hc-hair);
  font-size: 15px;
  font-weight: 600;
  color: var(--hc-text);
}
.hc-tr__wm { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.hc-tr__wm img { display: block; width: 26px; height: 31px; }
.hc-tr__wm span { font-size: 15px; font-weight: 600; letter-spacing: 3.6px; text-transform: uppercase; }
.hc-tr__note { margin-top: 14px !important; font-size: 14px; line-height: 1.55; color: var(--hc-muted); }
.hc-tr__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 64px;
  padding: 24px 28px;
  border-radius: 20px;
  background: var(--hc-tr-wash);
  box-shadow: inset 0 0 0 1px var(--hc-hair);
}
.hc-tr__contact > span { font-size: 15px; color: var(--hc-body); }

/* ---------------------------------------------------------------- 404 (712 narrow column) */
.hc-tr--narrow { box-sizing: content-box; max-width: 712px; margin: 0 auto; padding: 120px 24px 160px; }
.hc-tr__404-actions { display: flex; align-items: center; gap: 24px; margin-top: 16px; }

/* ---------------------------------------------------------------- document pages */
.hc-doc > .hc-eyebrow { margin-bottom: 18px; }
.hc-doc .hc-doc__h1 {
  margin: 0 0 28px;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -1.6px;
  color: var(--hc-text);
  text-wrap: balance;
}
.hc-doc__body { color: var(--hc-prose-text); }
.hc-doc__body > p { margin: 0 0 22px; font-size: 19px; line-height: 1.7; }
.hc-doc__body > :is(h2, h3, h4) { color: var(--hc-text); text-wrap: balance; }
.hc-doc__body > h2 { margin: 48px 0 16px; font-size: 30px; line-height: 1.2; font-weight: 400; letter-spacing: -0.5px; }
.hc-doc__body > h2:first-of-type { margin-top: 40px; }
.hc-doc__body > :is(h3, h4) { margin: 32px 0 12px; font-size: 21px; line-height: 1.3; font-weight: 600; }
.hc-doc__body > :is(ul, ol) { margin: 0 0 22px; padding-left: 22px; }
.hc-doc__body li { margin: 0 0 10px; font-size: 18px; line-height: 1.65; }
.hc-doc__body a { color: var(--hc-accent); text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- phones */
@media (max-width: 1100px) {
  .hc-tr__bleed--1032,
  .hc-tr__bleed--1320 { width: auto; margin-left: 0; }
}
@media (max-width: 900px) {
  .hc-tr__col { padding: 0 20px; }
  .hc-tr__hero { padding: 48px 0 56px; }
  .hc-tr__hero .hc-tr__col { gap: 16px; }
  .hc-tr__h1,
  .hc-tr__h1--56,
  .hc-tr__h1--48,
  .hc-doc .hc-doc__h1 { font-size: 34px; letter-spacing: -1px; }
  .hc-tr__hero-sub,
  .hc-tr__sub { font-size: 18px; }
  .hc-tr__body { padding-top: 32px; padding-bottom: 72px; }
  .hc-tr__triage { padding: 22px 18px; }
  .hc-tr__triage-head h2 { font-size: 24px; }
  .hc-tr__grid--3,
  .hc-tr__grid--2,
  .hc-tr__stats { grid-template-columns: 1fr; }
  .hc-tr__anchors { margin-top: 28px; }
  .hc-tr__head { margin: 56px 0 20px; }
  .hc-tr__intro { font-size: 17px; }
  .hc-tr__flow { flex-direction: column; }
  .hc-tr__arrow-r { display: none; }
  .hc-tr__arrow-d { display: inline; }
  .hc-tr__deeper-head { flex-direction: column; align-items: flex-start; gap: 6px; margin: 56px 0 22px; }
  .hc-tr .hc-tr__deeper-head h2 { font-size: 26px; }

  .hc-tr--prose,
  .hc-doc { padding: 40px 20px 72px; }
  .hc-tr__top { gap: 14px; }
  .hc-tr--prose .hc-tr__top:has(.hc-tr__stand) { margin-bottom: 28px; }
  .hc-tr__stand { font-size: 19px; }
  .hc-tr__p,
  .hc-doc__body > p { font-size: 18px; }
  .hc-tr__stat-n { font-size: 40px; }
  .hc-tr__section { margin: 44px 0 16px !important; }
  .hc-tr__facts,
  .hc-tr__assets { grid-template-columns: 1fr 1fr; }
  .hc-tr__asset-art { height: 120px; }
  .hc-tr__contact { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 44px; padding: 20px 22px; }

  .hc-tr--narrow { padding: 40px 20px 72px; }
  .hc-tr__404-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hc-tr__404-actions .hc-link { align-self: center; }

  .hc-doc > .hc-eyebrow { margin-bottom: 14px; }
  .hc-doc__body > h2 { font-size: 25px; }
  .hc-doc__body > :is(h3, h4) { font-size: 19px; }
  .hc-doc__body li { font-size: 17px; }
}
