/* Native reproduction of the Unicorn-rendered Tree Testing homepage (Dendropad.html).
 * Every value below was measured from the live rendered page or transcribed from the
 * effective rules of the Unicorn bundle + marketing-text-size.css page overrides,
 * with the final computed values baked in (no !important cascade needed).
 * Component class names intentionally match the original page vocabulary
 * (nav-02, header-23, features-02, steps-01, cta_button-12, footer-02) so the two
 * implementations can be compared selector-for-selector.
 */

/* ---------- Reset & base ---------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
}

body {
  background-color: white;
  -webkit-font-smoothing: antialiased;
  color: #3d3d3d;
  font-size: 16px;
  line-height: 1.15;
  font-family: 'Lato', Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  margin-top: 0.5em;
  font-weight: 700;
  line-height: 1.3;
  color: #303030;
}

/* Fixed pixel typography (from marketing-text-size.css page overrides — same at every width) */
h1 { font-size: 34.2px; }
h2 { font-size: 26.2px; }

img, video { border: 0; }

a { color: inherit; }

/* ---------- Containers (38px page inset baked in) ---------- */

.container {
  margin-right: auto;
  margin-left: auto;
  padding: 0 38px;
  max-width: 1080px;
}

.container--small { max-width: 550px; }
.container--large { max-width: 1200px; }
/* .container--xxl has no width rule of its own — behaves as .container */

/* ---------- Buttons ---------- */

.button {
  overflow: hidden;
  display: inline-block;
  position: relative;
  padding: 12px 20px 12px;
  min-width: 120px;
  border: 2px solid transparent;
  min-height: 44px;
  border-radius: 4px;
  box-shadow: 0 2px 4px 0 rgba(136, 144, 195, 0.2), 0 5px 15px 0 rgba(37, 44, 97, 0.15);
  font-size: 0;
  line-height: 1.2;
  font-weight: 700;
  user-select: none;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: none;
  color: inherit;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px 0 rgba(136, 144, 195, 0.22), 0 8px 15px 0 rgba(37, 44, 97, 0.17);
}

.button:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px 0 rgba(136, 144, 195, 0.2), 0 5px 15px 0 rgba(37, 44, 97, 0.15);
  outline: none;
}

button.button { padding-top: 11px; padding-bottom: 11px; }

.button__text {
  vertical-align: middle;
  font-size: 14px;
}

.button--accent-bg { background-color: #643995; color: white; }
.button--accent-bg:hover { background-color: #583283; }
.button--accent-bg .button__text { font-size: 13px; }

/* True brand hot pink per owner decision (2026-07-11). Known trade-off: 3.97:1
 * on white at 14px bold is below WCAG AA 4.5:1 — accepted for brand fidelity,
 * revisit at the accessibility launch pass. */
.button--alt-accent-outline {
  background-color: transparent;
  border-color: #F90473;
  color: #F90473;
}

.button--black-outline {
  background-color: transparent;
  border-color: #303030;
  color: #303030;
}

.button--empty {
  min-width: auto;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.button--empty:hover { box-shadow: none !important; }

.button--has-dropdown { overflow: visible; }
.button--has-dropdown.state-opened-dropdown { z-index: 10; }

.button--has-arrow:after {
  content: '';
  vertical-align: middle;
  margin-left: 8px;
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 5px 0 5px;
  border-color: #303030 transparent transparent transparent;
  transition: .2s ease transform;
}

.button--has-arrow.state-opened-dropdown:after { transform: rotateZ(90deg); }

/* ---------- Buttons set (hero CTA group) ---------- */

.buttons-set__list {
  padding: 0;
  margin: 0;
  list-style: none;
  margin-left: -7px;
}

.buttons-set__item {
  display: inline-block;
  vertical-align: middle;
  margin-left: 7px;
  margin-right: 7px;
  padding-bottom: 14px;
  font-size: 0;
}

@media (max-width: 500px) {
  .buttons-set__list { margin-left: 0; }
  .buttons-set__item { width: 100%; margin-left: 0; margin-right: 0; }
  .buttons-set__item .button { width: 100%; }
}

/* Approved contrast fix: #828282 was 3.85:1 at this size; #6d6d6d is 5.17:1 */
.content_box.cta_bottom_info { font-size: 11.8px; color: #6d6d6d; }

/* ---------- Dropdown ---------- */

.dropdown {
  position: absolute;
  top: 44px;
  right: 0;
  visibility: hidden;
  border-radius: 4px;
  box-shadow: 0 12px 44px 0 rgba(0, 0, 0, 0.1);
  background-color: white;
  width: max-content;
  max-width: 200px;
  text-align: left;
}

.state-opened-dropdown .dropdown { visibility: visible; }

.dropdown::before {
  content: "";
  position: absolute;
  width: 100%;
  background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
  left: 0;
  bottom: 0;
  right: 0;
  height: 20px;
  z-index: 100;
  border-radius: 0 0 4px 4px;
  pointer-events: none;
}

.dropdown__list {
  padding: 0;
  margin: 0;
  list-style: none;
  max-height: 70vh;
  overflow: auto;
  padding-bottom: 10px;
}

.dropdown__item {
  transform: translateY(5px);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown__item:nth-child(1) { transition-delay: 60ms; }
.dropdown__item:nth-child(2) { transition-delay: 90ms; }
.dropdown__item:nth-child(3) { transition-delay: 120ms; }
.dropdown__item:nth-child(4) { transition-delay: 150ms; }
.dropdown__item:nth-child(5) { transition-delay: 180ms; }

.state-opened-dropdown .dropdown__item { opacity: 1; transform: none; }

.dropdown__item a { width: 100%; }
.dropdown__item .button__text { line-height: 1.4; word-break: break-word; }

/* ---------- Navigation ---------- */

.nav-02 {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0px 1px 20px rgba(0, 0, 0, 0.07);
}

.nav-02__box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-02__logo { position: relative; z-index: 250; }

.nav-02__link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  vertical-align: middle;
  transition: opacity 0.25s ease;
}

.nav-02__link:hover { color: inherit; opacity: 0.7; }

.nav-02__logo_img { margin-right: 10px; vertical-align: middle; }

.nav-02__logo_text {
  padding-right: 25px;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 16px;
  white-space: nowrap;
}

.nav-02__list { padding: 0; margin: 0; list-style: none; }

.nav-02__item {
  display: inline-block;
  vertical-align: middle;
  font-size: 0;
  margin-right: 15px;
}

.nav-02__item:last-child { margin-right: 0; }

.nav-02__list--mobile { display: none; }

.nav-02 .buttons-set__item { padding-bottom: 0; }

.nav-02 .buttons-set__list {
  display: flex;
  flex-direction: row-reverse;
  margin-right: -7px;
}

.nav-02__burger { display: none; }

@media (max-width: 1100px) {
  .nav-02__list--desktop .nav-02__item > .button--black-outline.button--empty {
    padding-left: 5px;
    padding-right: 5px;
  }
}

@media (max-width: 900px) {
  .nav-02__logo { padding: 5px 15px 5px 0; }

  .nav-02__list_wrapper {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    overflow: auto;
    background-color: white;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .state-opened-menu .nav-02__list_wrapper { visibility: visible; opacity: 1; }

  .nav-02__list--desktop { display: none; }

  .nav-02__list--mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 90px 15px 40px 15px;
  }

  .nav-02__item {
    transform: translateY(5px);
    opacity: 0;
    margin-right: 0;
    margin-bottom: 10px;
    text-align: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-02__item:nth-child(1) { transition-delay: 500ms; }
  .nav-02__item:nth-child(2) { transition-delay: 450ms; }
  .nav-02__item:nth-child(3) { transition-delay: 400ms; }
  .nav-02__item:nth-child(4) { transition-delay: 350ms; }

  .state-opened-menu .nav-02__item { opacity: 1; transform: none; }

  .nav-02 .buttons-set__item { padding-bottom: 15px; }
  .nav-02 .buttons-set__list { flex-direction: column-reverse; margin-right: auto; }

  .nav-02__burger { display: block; position: relative; z-index: 250; }
}

/* Burger icon */

.burger {
  display: inline-block;
  position: relative;
  padding: 15px 15px;
  border: 2px solid transparent; /* matches the UA button border the original never resets */
  border-radius: 50%;
  font-size: 0;
  cursor: pointer;
  background: none;
  box-shadow: 0 2px 4px 0 rgba(136, 144, 195, 0.2), 0 5px 15px 0 rgba(37, 44, 97, 0.15);
}

.burger:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
  border-radius: 9999px;
  width: 40px;
  height: 40px;
  background-color: white;
}

.burger__box {
  width: 12px;
  height: 14px;
  display: inline-block;
  position: relative;
}

.burger__inner {
  display: block;
  top: 50%;
  margin-top: -1px;
  transition-duration: 0.075s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.burger__inner,
.burger__inner::before,
.burger__inner::after {
  width: 12px;
  height: 2px;
  background-color: #303030;
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.burger__inner::before,
.burger__inner::after { content: ""; display: block; }
.burger__inner::before { top: -6px; transition: top 0.2s 0.12s ease, opacity 0.075s ease; }
.burger__inner::after { bottom: -6px; transition: bottom 0.2s 0.12s ease, transform 0.08s cubic-bezier(0.55, 0.055, 0.675, 0.19); }

.state-active-burger .burger__inner {
  transform: rotate(45deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.state-active-burger .burger__inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.08s ease, opacity 0.08s 0.12s ease;
}

.state-active-burger .burger__inner::after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom 0.08s ease, transform 0.08s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* ---------- Section shells ---------- */

.page-component__bg_image_box { position: relative; }

.page-component__bg_overlay_box {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}

.bg-white-color > .page-component__bg_overlay_box { background-color: white; }
.page-component__wrapper { position: relative; }

.bg-black-color .footer-02 { background-color: #303030; }
.text-white { color: white; }

/* ---------- content_box ---------- */

.content_box { line-height: 1.6; font-size: 15px; }

.content_box p,
.content_box ul,
.content_box ol {
  margin-bottom: 1em;
  margin-top: 1em;
  line-height: 1.6;
}

.content_box p:first-child { margin-top: 0; }
.content_box p:last-child { margin-bottom: 0; }

.content_box ul { list-style: none; padding-left: 0; }
.content_box ul li { position: relative; margin-left: 0; }

.content_box ul li:before {
  content: "";
  height: 3px;
  border-radius: 50%;
  width: 3px;
  vertical-align: middle;
  display: inline-block;
  margin-right: 0.7em;
  background-color: #643995;
  box-shadow: 0 1px 6px 0 #943bdc;
}

.content_box a { text-decoration: underline; color: #643995; }

/* ---------- Hero (header-23) ---------- */

.header-23 { position: relative; }

.header-23__wrapper { padding-top: 70px; padding-bottom: 70px; z-index: 11; }

.header-23__container {
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-23__left {
  position: relative;
  z-index: 20;
  width: 550px;
  max-width: 550px;
}

.header-23__left_content { padding-right: 55px; }

.header-23__text { max-width: 400px; font-size: 15px; }

.header-23__cta_box { margin-top: 45px; max-width: 400px; }

.header-23__right { width: calc(100% - 550px); text-align: center; }

video.header-23__img {
  position: relative;
  z-index: 10;
  max-height: 500px;
  width: 110%;
  height: auto;
  max-width: none;
  margin-left: -58px;
}

@media (max-width: 1020px) {
  .header-23__container { display: block; }

  .header-23__left {
    width: 100%;
    padding-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .header-23__left_content { padding-right: 0; }
  .header-23__text { margin-left: auto; margin-right: auto; }
  .header-23__cta_box { margin-left: auto; margin-right: auto; }

  .header-23__right {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 600px) {
  video.header-23__img { max-height: 300px; }
}

/* ---------- Title box ---------- */

.title-box { margin-bottom: 50px; max-width: 700px; }

.title-box--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Features (features-02) ---------- */

.features-02__wrapper { padding-top: 30px; padding-bottom: 50px; }

.features-02__items {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: -40px;
}

.features-02__item {
  width: 33%;
  padding: 0 15px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .features-02__item { width: 100%; padding: 0; }
}

.features-02__item_box { max-width: 300px; margin: auto; }

.features-05__item_title {
  margin: 0 0 20px 0;
  position: relative;
  padding-bottom: 10px;
  font-size: 17.6px;
}

.features-05__item_title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: black;
}

.features-02__description {
  margin-top: 50px;
  max-width: 400px;
}

.features-02__number {
  position: relative;
  font-size: 48px;
  font-weight: 700;
  color: #3d3d3d;
}

.features-02__number:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  height: 2px;
  width: 30px;
  background-color: #643995;
}

.features-02__word {
  vertical-align: baseline;
  margin-left: 5px;
  font-size: 15px;
  font-weight: 400;
}

/* ---------- Steps (steps-01) ---------- */

.steps-01__wrapper { padding-top: 50px; padding-bottom: 70px; }

.steps-01__list {
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  margin-top: 70px;
}

.steps-01__list:before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  top: 0;
  left: 50%;
  bottom: 0;
  background-color: #eee;
}

.steps-01__item { position: relative; padding-bottom: 120px; }
.steps-01__item:nth-child(odd) { text-align: right; }
.steps-01__item:nth-child(odd) .steps-01__text_box { padding-left: 40px; text-align: left; }
.steps-01__item:nth-child(odd) .steps-01__img_box { padding-right: 40px; text-align: right; }
.steps-01__item:nth-child(odd) .steps-01__content { flex-direction: row-reverse; }
.steps-01__item:last-child { padding-bottom: 50px; }

.steps-01__content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.steps-01__text_box {
  width: 50%;
  padding-right: 40px;
  text-align: right;
}

.steps-01__heading { margin-top: 0; font-size: 23px; }

.steps-01__text { font-size: 15px; }

.steps-01__img_box { width: 50%; padding-left: 40px; }

.steps-01__img { padding-top: 30px; max-width: 100%; width: 90%; height: auto; }

/* The original's step-1 image has a fixed 360px width and no max-width. It renders
 * at 360px at every viewport — below ~440px that bleeds 63px past the canvas.
 * Reproduced identically, except capped to container width only under 440px to
 * remove that pre-existing horizontal overflow (deliberate, documented fix). */
@media (max-width: 440px) {
  .steps-01__img_box > img:not(.steps-01__img) { max-width: 100%; }
}

.steps-01__number {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 50%;
  height: 30px;
  padding-left: 4px;
  padding-right: 4px;
  min-width: 30px;
  transform: translateX(-50%);
  border-radius: 999px;
  border: 1px solid #eee;
  background-color: white;
  font-size: 16px;
  color: #643995;
}

.steps-01__last_bubble {
  position: relative;
  z-index: 20;
  padding: 5px;
  text-align: center;
}

.steps-01__last_bubble_img { max-height: 30px; }

@media (max-width: 760px) {
  .steps-01__list:before { left: 5px; }
  .steps-01__list { padding-left: 40px; }
  .steps-01__content { flex-direction: column !important; }

  .steps-01__text_box {
    padding: 0 !important;
    width: 100%;
    max-width: 400px;
    text-align: left;
  }

  .steps-01__img_box {
    padding: 0 !important;
    width: 100%;
    text-align: left !important;
  }

  .steps-01__number { left: -34px; }
  .steps-01__last_bubble { left: -15px; text-align: left; }
}

/* ---------- CTA card (cta_button-12) ---------- */

.cta_button-12 { position: relative; }
.cta_button-12__content { position: relative; z-index: 10; }

.cta_button-12__wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 80px;
  margin-bottom: -60px;
}

.cta_button-12__box {
  position: relative;
  padding: 30px 20px 25px;
  width: calc(50% - 30px);
  min-width: 280px;
  margin-right: 15px;
  margin-left: 15px;
  margin-bottom: 60px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 12px 44px 0 rgba(0, 0, 0, 0.1);
  text-align: center;
}

.cta_button-12__box h2 { font-size: 23px; }

.cta_button-12__emoji {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
  transform: translateY(-50%);
  max-height: 50px;
  width: auto;
}

.cta_button-12__text {
  margin-bottom: 25px;
  margin-left: auto;
  margin-right: auto;
  max-width: 320px;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .cta_button-12__wrapper { flex-direction: column; align-items: center; }
  .cta_button-12__box { margin-right: 0; margin-left: 0; }
  .cta_button-12__box:last-child { margin-bottom: 0; }
}

@media (max-width: 500px) {
  .cta_button-12__box { width: 100%; min-width: 100%; }
}

.bottom_cta { text-align: center; }

/* ---------- Footer (footer-02) ---------- */

.footer-02 { padding: 40px 0; }

.footer-02__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-02__text { max-width: 600px; opacity: 0.85; }

.footer-02__text.content_box p { margin: 0; }
.footer-02__text.content_box p:first-child { display: inline; }

.footer-02 a { text-decoration: none; color: inherit; }

.footer-02__text.content_box a {
  text-decoration: underline;
  color: inherit;
  transition: all .2s ease;
}

@media (max-width: 750px) {
  .footer-02__wrapper { display: block; }
  .footer-02__text { margin-bottom: 20px; }
}

/* ---------- Minimal lightbox (replaces PhotoSwipe for the single zoomable image) ---------- */

.lightbox-overlay {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox-overlay.is-open { display: flex; }

.lightbox-overlay img {
  max-width: 92vw;
  max-height: 92vh;
}

.js-lightbox-single-image { cursor: zoom-in; }

/* ---------- Approved refinement layer (owner-approved 2026-07-11) ----------
 * Hero-animation framing plus accessibility-only additions. No layout,
 * spacing, or typography changes relative to the parity reproduction. */

/* Subtle frame around the hero animation (box-sizing keeps size/position unchanged) */
video.header-23__img {
  border: 1px solid #e3dedd;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 1px 2px rgba(37, 44, 97, 0.06), 0 12px 32px rgba(37, 44, 97, 0.06);
}

/* Visible keyboard focus (no visual change until focused via keyboard) */
.nav-02 a:focus-visible,
.nav-02 button:focus-visible,
.button:focus-visible {
  outline: 2px solid #643995;
  outline-offset: 2px;
}

.bg-black-color .footer-02 a:focus-visible {
  outline: 2px solid #fcdffe;
  outline-offset: 2px;
}

.js-lightbox-single-image:focus-visible,
canvas.js-lightbox-frozen:focus-visible {
  outline: 2px solid #643995;
  outline-offset: 3px;
}

/* Reduced motion: no transitions (GIF/video freezing lives in home-parity.js) */
@media (prefers-reduced-motion: reduce) {
  .button,
  .nav-02__list_wrapper,
  .nav-02__item,
  .dropdown__item,
  .burger__inner,
  .burger__inner::before,
  .burger__inner::after {
    transition: none !important;
  }
}
